示例#1
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));
 }
示例#2
0
 public override void started(float timelineTime, Clock clock)
 {
     caliper = PropSimObject.getElement(Caliper.BehaviorName) as Caliper;
     caliper.moveToMeasurement(Millimeters, Duration);
 }