Camera Path Animator – Animator Component Code

CameraPathAnimator.Play

Method Void Play ( )
Description

Play the path. If path has finished do not play it.

CameraPathAnimator.Stop

Method Void Stop ( )
Description

Stop and reset the animation back to the beginning

CameraPathAnimator.Pause

Method Void Pause ( )
Description

Pause the animation where it is

CameraPathAnimator.Seek

Method Void Seek ( float value )
Description

set the time of the animtion

value : Seek Percent 0-1
CameraPathAnimator.Reverse

Method Void Reverse ( )
Description

Reverse the animation

CameraPathAnimator.GetAnimatedOrientation

Method Quaternion GetAnimatedOrientation ( float percent, bool ignoreNormalisation )
Description

Retrieve the animation orientation at a percent based on the animation mode

percent : Path Percent 0-1
ignoreNormalisation : Should the percetage be normalised
returns: A rotation

Comments are closed.