UpdatePathPosition Data Member Function

Gets a position along a Path, specified by a delta time.

Prototype

int32 UpdatePathPosition( double p_dDeltaTime, PathPosition p_oPathPos )

Parameters

Parameter Type Parameter Name Documentation
doublep_dDeltaTimeA value specifying how far to move the p_oPathPos along the path. This value should be between 0.0 and the 'duration' of the Path, which is retrieved using GetDuration.
<PathPosition>p_oPathPosA pointer to a <PathPosition> object which, upon success, will reflect the new position along the path.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.