Пример #1
0
 public PlotEventFollowCamera()
 {
     FollowActorID             = new StringProperty();
     EyeHeightOffset           = new DoubleProperty();
     EyeHeightOffset.Value     = 4;
     EyeHorizontalOffset       = new DoubleProperty();
     EyeHorizontalOffset.Value = 8;
     WithAnimation             = new BoolProperty();
     WithAnimation.Value       = true;
     StayAtStop = new BoolProperty();
 }
Пример #2
0
 public PlotEventSound()
 {
     ActorBindingID           = new StringProperty();
     SoundFileName            = new FilePathProperty();
     SoundLoop                = new BoolProperty();
     SoundLoop.Value          = true;
     SoundGain                = new DoubleProperty();
     SoundGain.Value          = 1.0;
     SoundPitch               = new DoubleProperty();
     SoundPitch.Value         = 1.0;
     ListenerRelative         = new BoolProperty();
     ListenerRelative.Value   = true;
     MaxDistance              = new DoubleProperty();
     MaxDistance.Value        = 100.0;
     SoundRolloffFactor       = new DoubleProperty();
     SoundRolloffFactor.Value = 1.0;
 }