Constructor
(private) new MorphTarget(options, deltaPositions, deltaNormalsopt, deltaTangentsopt, nameopt, aabbopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
Object | Object for passing optional arguments. | |
deltaPositions |
Array.<Number> | An array of 3-dimensional vertex position offsets. | |
deltaNormals |
Array.<Number> |
<optional> |
An array of 3-dimensional vertex normal offsets. |
deltaTangents |
Array.<Number> |
<optional> |
An array of 4-dimensional vertex normal tangents. |
options.indices |
Array.<Number> |
<optional> |
A morph target doesn't have to contain a full copy of the original mesh with added deformations. Instead, only deformed vertices can be stored. This array contains indices to the original mesh's vertices and must be of the same size as other arrays. |
name |
String |
<optional> |
Name |
aabb |
pc.BoundingBox |
<optional> |
Bounding box. Will be automatically generated, if undefined. |
- Source: