コード例 #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);
 }