Back to Three Js

RotateNode

docs/pages/RotateNode.html

latest1.2 KB
Original Source

Constructor

new RotateNode( positionNode : Node, rotationNode : Node )

Constructs a new rotate node.

| positionNode |

The position node.

| | rotationNode |

Represents the rotation that is applied to the position node. Depending on whether the position data are 2D or 3D, the rotation is expressed a single float value or an Euler value.

|

Properties

.positionNode : Node

The position node.

.rotationNode : Node

Represents the rotation that is applied to the position node. Depending on whether the position data are 2D or 3D, the rotation is expressed a single float value or an Euler value.

Methods

.getNodeType( builder : NodeBuilder ) : string

The type of the RotateNode#positionNode defines the node's type.

| builder |

The current node builder.

|

Overrides: TempNode#getNodeType Returns: The node's type.

Source

src/nodes/utils/RotateNode.js