Example #1
0
 private void SizeChange(object sender, Variable variable)
 {
     profile.Size = (Double)variable.Value;
 }
Example #2
0
 private void RotationChange(object sender, Variable variable)
 {
     scene.RotationSensitivity = (Double)variable.Value;
 }
Example #3
0
 private void ScaleCorrectChange(object sender, Variable variable)
 {
     options.ScaleCorrection = (Boolean)variable.Value;
 }
Example #4
0
 private void MovementChange(object sender, Variable variable)
 {
     Settings.movementSensitivity = (float)((Double)variable.Value);
 }
Example #5
0
 private void QualityChange(object sender, Variable variable)
 {
     eyeDiffraction.Quality = (RenderQuality)((int)variable.Value);
 }
Example #6
0
 private void GlareChange(object sender, Variable variable)
 {
     profile.Glare = (Double)variable.Value;
 }
Example #7
0
 private void GammaChange(object sender, Variable variable)
 {
     toneMapper.Gamma = (Double)variable.Value;
 }
Example #8
0
 private void FNumberChange(object sender, Variable variable)
 {
     profile.FNumber = (Double)variable.Value;
 }
Example #9
0
 private void FieldOfViewChange(object sender, Variable variable)
 {
     scene.FieldOfView = (float)(Double)variable.Value;
 }
Example #10
0
 private void ExposureChange(object sender, Variable variable)
 {
     toneMapper.Exposure = (Double)variable.Value;
 }