Пример #1
0
 public PlotEventActorCreate()
 {
     ActorBindingID = new StringProperty();
     ActorResource  = new FilePathProperty();
     ActorStatus    = new StringProperty();
     ActorPosition  = new VdsVec3d();
     ActorRotation  = new VdsVec3d();
 }
 public PlotEventLoadingWidget()
 {
     BackgroundImage               = new FilePathProperty();
     BackgroundImage.Value         = "loading/background.tga";
     ProgressBackgroundImage       = new FilePathProperty();
     ProgressBackgroundImage.Value = "loading/progressbackground.tga";
     ProgressText.Value            = "加载中...";
 }
Пример #3
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;
 }