nw::anim::res::ResAnim Class

Syntax

class ResAnim : public nw::ut::ResCommon< ResAnimData >

Description

Class for animation resource.

Bundles ResMemberAnim together as an animation. Has the information for the looped playback setting and the number of loops.

Member Functions

Resource Access
GetHeader Gets the binary information header.
GetRevision Gets the revision.
GetName Gets the name.
GetTargetAnimGroupName Gets the name of the AnimGroup to animate.
GetLoopMode Gets the loop mode.
SetLoopMode Sets the loop mode.
GetFrameSize Gets the length of animation frames.
SetFrameSize Sets the length of animation frames.
GetMemberAnimSetCount Gets the number of member animations.
GetMemberAnimSet Gets a member animation.
GetMemberAnimSetIndex Gets the index number of the member animation in the dictionary.
GetUserDataCount Gets the number of instances of user data.
GetUserData Gets user data.
GetUserDataIndex Gets the index number of user data in the dictionary.
Creating Resources
IsFullBakedAnim Gets whether animation data is fully baked.
S CreateEmptySkeletalAnim Creates an empty skeletal animation resource.
S CreateEmptyMaterialAnim Creates an empty material animation resource.
S CreateEmptyVisibilityAnim Creates an empty visibility animation resource.
S CreateEmptyCameraAnim Creates an empty camera animation resource.
S CreateEmptyLightAnim Creates an empty light animation resource.
Other
ResAnim Constructor.
ref
operator ==
operator!=
Setup Initializes a resource.
Cleanup Cleans up a resource.
ptr Returns a pointer to a binary resource structure. (Derived from ResCommon)
IsValid Determines whether a pointer to a resource is null.(Derived from ResCommonBase.)
S GetClassName

Class Hierarchy

nw::ut::ResCommonBase
  nw::ut::ResCommon
    nw::anim::res::ResAnim


CONFIDENTIAL