Bitbybit Docs
    Preparing search index...

    Class RotateNodeDto (Inputs.BabylonNode)

    Feeds babylon.node.rotate with a node, an axis through its origin and the angle to turn by.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalnode: TransformNode
      • Optionalaxis: Vector3
      • Optionalangle: number

      Returns RotateNodeDto

    Properties

    node: TransformNode

    The transform node to turn; its children follow

    axis: Vector3

    The axis direction through the node's origin, as [x, y, z]

    angle: number

    How far to turn, in degrees, added to the current rotation