示例#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;
 }