nw::gfx::AnimGroup Class

Syntax

class AnimGroup : public nw::gfx::GfxObject

Description

This class abstracts animation targets.

It stores pointers to animation target members. The term "target member" refers to things like bone transforms and diffuse colors for materials.

It also stores the original values (values at the time the instance was created) of target members.

Classes

nw::gfx::AnimGroup::Builder Class for building animation groups.

typedef Definitions

PreEvaluateCallback Definition of the pre-evaluation callback function. Returns true if the target object needs to be evaluated.

Member Functions

Set/Get
GetResAnimGroup Gets the animation group resources.
GetResGraphicsAnimGroup Gets the graphics animation group resources.
GetResAnimGroupMember Gets the animation group member resources.
GetResAnimGroupMemberIndex Gets the index of an animation group member resource.
GetName Gets the name.
GetMemberCount Gets the number of animation group members.
GetBlendOperationInGroup Gets the blend operation within the animation group.
SetBlendOperationInGroup Sets the blend operation within the animation group.
GetBlendOperation Gets the blend operation of a member.
GetSceneNode Gets the scene node associated with the target object.
GetTargetObjectIndex Gets the index of the target object.
SetTargetObjectIndex Sets the index of the target object.
GetTargetObject Gets the pointer to the target object.
SetTargetObject Sets the pointer to the target object.
GetTargetPtr Gets the pointer to the target member.
SetTargetPtr Sets the pointer to the target member.
HasOriginalValue Gets whether the member has the original value.
GetOriginalValue Gets the member's original value.
SetOriginalValue Sets the member's original value.
GetPreEvaluateCallback Gets the pre-evaluation callback function.
SetPreEvaluateCallback Sets the pre-evaluation callback function.
Reset Resets all members to their original values.
Create/Destroy
Destroy Destroys an object.(Derived from GfxObject.)

Class Hierarchy

nw::gfx::GfxObject
  nw::gfx::AnimGroup


CONFIDENTIAL