nw::lyt::Layout::CreateAnimTransform Member Function

Syntax

virtual AnimTransform * CreateAnimTransform(
     const AnimResource & animRes,
     ResourceAccessor * pResAcsr
);

Arguments

Name Description
animRes Animation resource object.
pResAcsr A pointer to the resource accessor.

Return Values

Returns a pointer to animation when its creation succeeds. Otherwise returns NULL.

Description

Creates an animation.

Creates an animation object and binds the specified resource. Fails if the resource format is invalid.

Use BindAnimationAuto when shared animation data is included in the animation resource.

See Also

BindAnimationAuto

Revision History

2009/09/18
Initial version.

CONFIDENTIAL