Applies a rotation to the given position node.
Constructor
new RotateNode(positionNode, rotationNode, order?)| Parameter | Type | Default Value |
|---|---|---|
| positionNode | Node | — |
| rotationNode | Node | — |
| order? | string | XYZ |
Constructs a new rotate node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| positionNode | Node | — | |
| rotationNode | Node | — | |
| _order | string | — | |
| Method | Type | |
|---|---|---|
| customCacheKey | () => number | |
| setOrder | (value: string) => RotateNode | |
| getOrder | () => string | |
| generateNodeType | (builder: NodeBuilder) => string | |
| setup | (builder: any) => any | |
| serialize | (data: any) => void | |
| deserialize | (data: any) => void | |
Extends
TempNodeTSL function for creating a rotate node.
| Parameter | Type | Default Value |
|---|---|---|
| positionNode | Node | — |
| rotationNode | Node | — |
| order? | string | — |
Returns
RotateNode