Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

MeshAnimation Class Reference

MeshAnimation provides a control interface for skeletal animations embedded within a mesh file. More...

Inheritance diagram for MeshAnimation:

Node Object List of all members.

Detailed Description

MeshAnimation provides a control interface for skeletal animations embedded within a mesh file.

Authoring Interface:

        MeshAnimation {
            field   SFBoolean   enabled     true
            field   SFFloat     weight      1
            field   SFDouble    position    0
            field   SFDouble    length      0
            field   SFBoolean   loop        true
            field   SFString    name        ""
       
            eventOut    SFString    bindStatus  // not implemented in V0.1
        }

Parameters:
enabled enables or disables the node. If TRUE, the named MeshAnimation will be included in the set of active animations, otherwise, this animation is ignored. Default value: true
weight specifies the level of contribution this MeshAnimation makes to the composite animation of the target mesh. Default value: 1.0
position holds the value for the current position relative to the beginning of this animation. For example, position = 1 means this animation is 1 second away from the starting position. Default value: 0.0
length can trim an existing animation to a shorter length. For example an animation can be of length 5.2. If length is specified as 4.0, the last 1.2 seconds of this animation will be trimmed. A length of 0 sets this field to the actual length of the animation. Default value: 0
loop If the named MeshAnimation has a shorter duration than the interval of the Timer controlling the animation, then loop TRUE causes this constituent MeshAnimation to loop within the Timer's longer interval. If loop is FALSE, this constituent MeshAnimation will only playback over the beginning of Timer's interval, and will make a static contribution to the composite animation of the target mesh over the balance of that interval. Default value: true
name specifies the name of a target skeletal animation, to be found embedded within the associated mesh. If the named animation is found, the MeshAnimation controller is used to manage that constituent animation's influence on the target mesh. If the named animation cannot be found within the associated mesh, the MeshAnimation controller has no effect. Default value: ""
bindStatus provides feedback about the attempt to find the named MeshAnimation within the associated mesh. Possible values are "NONE", "REQUESTED", "FAILED", "ABORTED", and "BOUND".

Functionality:

XXX To be written


Generated on Sat Apr 1 06:08:09 2006 for Emma Content Development Kit by  doxygen 1.4.3