Capítulo 467 de 859

Chapter 467: RotateNode

Core Idea

Applies a rotation to the given position node.

Key Concepts

  • 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 expresse…

Reference Tables

Constructor

Signature
new RotateNode( positionNode : Node, rotationNode : Node )

Properties

PropertyDescription
.positionNode : NodeThe position node.
.rotationNode : NodeRepresents 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

MethodDescription
.generateNodeType( builder : NodeBuilder ) : stringThe type of the RotateNode#positionNode defines the node's type.

Key Takeaways

  1. RotateNode extends: EventDispatcher → Node → TempNode
  2. Most relevant properties: positionNode, rotationNode.
  3. Key methods: generateNodeType.

Connects To