Class BakedVertexAnimationManager
Hierarchy
- BakedVertexAnimationManager
Implements
Index
Constructors
constructor
Creates a new BakedVertexAnimationManager
Parameters
Returns BakedVertexAnimationManager
Properties
animation ParametersSearch playground for animationParameters
The animation parameters for the mesh. See setAnimationParameters()
is EnabledSearch playground for isEnabled
Enable or disable the vertex animation manager
textureSearch playground for texture
The vertex animation texture
timeSearch playground for time
The time counter, to pick the correct animation frame.
Methods
bindSearch playground for bind
Binds to the effect.
Parameters
effect: Effect
The effect to bind to.
Optional useInstances: boolean
True when it's an instance.
Returns void
cloneSearch playground for clone
Clone the current manager
Returns BakedVertexAnimationManager
a new BakedVertexAnimationManager
copy ToSearch playground for copyTo
Makes a duplicate of the current instance into another one.
Parameters
vatMap: BakedVertexAnimationManager
define the instance where to copy the info
Returns void
disposeSearch playground for dispose
Disposes the resources of the manager.
Parameters
Optional forceDisposeTextures: boolean
Forces the disposal of all textures.
Returns void
get Class NameSearch playground for getClassName
Get the current class name useful for serialization or dynamic coding.
Returns string
"BakedVertexAnimationManager"
parseSearch playground for parse
Parses a vertex animation setting from a serialized object.
Parameters
source: any
Serialized object.
scene: Scene
Defines the scene we are parsing for
rootUrl: string
Defines the rootUrl to load from
Returns void
serializeSearch playground for serialize
Serializes this vertex animation instance
Returns any
- An object with the serialized instance.
set Animation ParametersSearch playground for setAnimationParameters
Sets animation parameters.
Parameters
startFrame: number
The first frame of the animation.
endFrame: number
The last frame of the animation.
Optional offset: number
The offset when starting the animation.
Optional speedFramesPerSecond: number
The frame rate.
Returns void
This class is used to animate meshes using a baked vertex animation texture
https://doc.babylonjs.com/divingDeeper/animation/baked_texture_animations
5.0