GeomVertexAnimationSpec

Inheritance:

Methods of GeomVertexAnimationSpec:

getAnimationType
GeomEnums::AnimationType GeomVertexAnimationSpec::get_animation_type(void) const;

Description: Returns the type of animation represented by this spec.

getIndexedTransforms
bool GeomVertexAnimationSpec::get_indexed_transforms(void) const;

Description: This is only meaningful for animation_type AT_hardware. If true, it indicates that the format uses indexed animation tables. It is false if each vertex will reference the first _num_transforms table entries only.

getNumTransforms
int GeomVertexAnimationSpec::get_num_transforms(void) const;

Description: This is only meaningful for animation_type AT_hardware. It specifies the maximum number of transforms that might be simultaneously applied to any one vertex by the data in this format.

operator =
void GeomVertexAnimationSpec::operator =(GeomVertexAnimationSpec const &other);

Description:

output
void GeomVertexAnimationSpec::output(ostream &out) const;

Description:

setHardware
void GeomVertexAnimationSpec::set_hardware(int num_transforms, bool indexed_transforms);

Description: Specifies that vertex animation is to be performed by the graphics hardware (or at least by the graphics backend API, which is actually still free to animate the vertices on the CPU).
This is only legal if the graphics hardware can support the specified limits on number of transforms and/or indexed transforms. Also, no current graphics API's support morphing.

setNone
void GeomVertexAnimationSpec::set_none(void);

Description: Specifies that no vertex animation is represented by this spec.

setPanda
void GeomVertexAnimationSpec::set_panda(void);

Description: Specifies that vertex animation is to be performed by Panda. This is the most general setting and can handle any kind of vertex animation represented.