Members
-
hasNormals
-
Indicates whether or not vertex normals are provided in the morph target initialisation.
Methods
-
init(meshIndex, positions, normals)
-
Initializes the current MorphTarget object.
Parameters:
Name Type Description meshIndex
number The meshIndex for which to assign the vertices.
positions
Array An Array of 3 floats per vertex (x, y, z), containing the displacement vectors. The size must match the vertex count of the target Mesh.
normals
Array An Array of 3 floats per vertex (x, y, z), containing the normal offset vectors. The size must match the vertex count of the target Mesh.