nw::lyt::Layout::BindAnimationAuto Member Function

Syntax

virtual bool BindAnimationAuto(
     const AnimResource & animRes,
     ResourceAccessor * pResAcsr
);

Arguments

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

Return Values

Returns TRUE if the function was successful and FALSE if it failed.

Description

Creates and binds animations at one time.

Creates animation object(s) (AnimTransform) in accordance with the contents of an animation resource object, and binds the object(s) to the pane.

When the animation file includes animation sharing information, an animation object (AnimTransform) is created for each sharing target pane.

When animation section tags are included and a related group is specified, the panes to which the animation will be bound are limited to the related group.

This function binds animations while they are in the disabled state. (This is the state when IsEnable() is FALSE in AnimationLink, the animation link information.)

See Also

CreateAnimTransform
AnimationLink

Revision History

2009/09/18
Initial version.

CONFIDENTIAL