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