Skip to content

class ModelAni extends Object (client-side)

Available since version: 0.3.8.0

This class represents a model animation.

Properties

string aniName

Represents the animation name.


string ascName

Represents the ASC file name used by the animation.


int aniID

Represents the animation identifier.


string aliasName

Represents the alias name of the animation.


int layer

Represents the animation layer.


float blendInSpeed

Represents the animation blend-in speed.


float blendOutSpeed

Represents the animation blend-out speed.


BBox3d& aniBBox3DObjSpace

Represents the animation bounding box in object space.


float collisionVolumeScale

Represents the collision volume scale used by the animation.


string nextAniName

Represents the name of the next animation.


float fpsRate

Represents the current animation frame rate.


float fpsRateSource

Represents the original animation frame rate.


int rootNodeIndex

Represents the index of the animation root node.


float samplePosRangeMin

Represents the minimum position range used when sampling the animation.


float samplePosScaler

Represents the position scale used when sampling the animation.


int aniType

Represents the type of the animation.


Methods

getAniVelocity

Returns the animation velocity.

float getAniVelocity()

Returns float:


getAniTranslation

Returns the animation translation.

Vec3& getAniTranslation()

Returns Vec3&:


Callbacks

No callbacks.