SkinnedMesh Class

Extends SkinnedMesh
Module: Meshes

SkinnedMesh is a Mesh that has a Skeleton attached.

A skeleton contains bones that are used to animate the vertices of the geometry.

Based on SkinnedMesh documentation for the object can be found at https:// threejs.org/docs/index.html#Reference/Objects/SkinnedMesh

Item Index

Methods

Methods

bind

(
  • skeleton
  • bindMatrix
)

Bind a skeleton to this SkinnedMesh. The bindMatrix gets saved to .bindMatrix property and the .bindMatrixInverse gets calculated.

This is called automatically in the constructor, and the skeleton is created from the bones of the Geometry passed in the constructor.

Parameters:

dispose

()

Dispose mesh along with its material and geometry.

Properties

drawMode

Unknown

Determines how the mesh triangles are constructed from the vertices.

Only works when the geometry is a BufferGeometry.

Default: TrianglesDrawMode

geometry

Geometry

Geometry defined the object structure.

material

Material

Material is used to define how the geometry surface is shaded.