Create a new MorphTarget instance.
Object for passing optional arguments.
Optional
aabb?: BoundingBoxBounding box. Will be automatically generated, if undefined.
Optional
defaultWeight?: numberDefault blend weight to use for this morph target.
Optional
deltaNormals?: ArrayBufferAn array of 3-dimensional vertex normal offsets.
A format to store normal offsets inside VertexBuffer. Defaults to TYPE_FLOAT32 if not provided.
An array of 3-dimensional vertex position offsets.
A format to store position offsets inside VertexBuffer. Defaults to TYPE_FLOAT32 if not provided.
Optional
name?: stringName.
Optional
preserveData?: booleanWhen true, the morph target keeps its data passed using the options, allowing the clone operation.
A used flag. A morph target can be used / owned by the Morph class only one time.
Gets the default weight of the morph target.
Gets the name of the morph target.
Returns an identical copy of the specified morph target. This can only be used if the morph target was created with options.preserveData set to true.
A morph target instance containing the result of the cloning.
A Morph Target (also known as Blend Shape) contains deformation data to apply to existing mesh. Multiple morph targets can be blended together on a mesh. This is useful for effects that are hard to achieve with conventional animation and skinning.