This node implements the vertex transformation shader logic which is required for morph target animation.
Constructor
new MorphNode(mesh)| Parameter | Type | Default Value |
|---|---|---|
| mesh | Mesh | — |
Constructs a new morph node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| mesh | Mesh | — | |
| morphBaseInfluence | UniformNode<any> | — | |
| Method | Type | |
|---|---|---|
| setup | (builder: NodeBuilder) => void | |
| update | () => void | |
Extends
NodeTSL function for creating a morph node.
| Parameter | Type | Default Value |
|---|---|---|
| mesh | Mesh | — |
Returns
MorphNode