nw::anim::AnimFrameController::SetUserData Member Function

Syntax

void SetUserData(
     void *userData
);

Arguments

Name Description
in userData The user data to set.

Return Values

None.

Description

Sets the user data.

The user data is passed to the function set by SetPlayPolicy(). If a user-defined function is set, user data can be accessed from within the function. Practical uses include setting a flag once animation playback has ended.


CONFIDENTIAL