MorphTargetManager

Description

class MorphTargetManager

Constructor

new MorphTargetManager(scene)

Parameters

Name Type Description
optional scene Nullable<Scene>

Members

uniqueId : number

vertexCount : number

supportsNormals : boolean

supportsTangents : boolean

numTargets : number

numInfluencers : number

influences : Float32Array

Methods

getActiveTarget(index) MorphTarget

Parameters

Name Type Description
index number

getTarget(index) MorphTarget

Parameters

Name Type Description
index number

addTarget(target) void

Parameters

Name Type Description
target MorphTarget

removeTarget(target) void

Parameters

Name Type Description
target MorphTarget

serialize() any

Serializes the current manager into a Serialization object.

Returns the serialized object.

static Parse(serializationObject, scene) MorphTargetManager

Parameters

Name Type Description
serializationObject any
scene Scene