abstract fun makeCroppedAnimation(anim: Animation!, beginTime: Long!, endTime: Long!): Animation!
Create a new Animation object on the robot, by cropping an existing animation.
anim
- Animation!: the original animation.
beginTime
- Long!: the begin time of the cropped animation. Shall be non-negative. A zero value will preserve the beginning of the animation.
endTime
- Long!: the end time of the cropped animation. Any value greater than anim.duration()-beginTime will preserve the end of the animation.
Return
Animation!: An Animation object, result of the cropping from beginTime to endTime.
Since
1