Esempio n. 1
0
 public override void editing(PropEditController propEditController)
 {
     if (PropSimObject != null)
     {
         caliper = PropSimObject.getElement(Caliper.BehaviorName) as Caliper;
         caliper.setMeasurement(Millimeters);
     }
 }
Esempio n. 2
0
 public override void skipTo(float timelineTime)
 {
     caliper = PropSimObject.getElement(Caliper.BehaviorName) as Caliper;
     caliper.setMeasurement(Millimeters * ((timelineTime - StartTime) / Duration));
     caliper.moveToMeasurement(Millimeters, Duration - (timelineTime - StartTime));
 }