Bitbybit Docs
    Preparing search index...

    Class RotateAroundAxisNodeDto (Inputs.BabylonNode)

    Feeds babylon.node.rotateAroundAxisWithPosition: the node, a point and an axis through it, and the angle to orbit by.

    Index

    Constructors

    Properties

    Constructors

    Properties

    node: TransformNode

    The transform node to turn around the axis; its children follow

    position?: Point3

    A point the axis passes through

    [0, 0, 0]
    
    axis?: Vector3

    The direction of the axis, as [x, y, z]; not a zero vector

    [0, 1, 0]
    
    angle?: number

    How far to turn, in degrees; positive follows the right-hand rule around the axis

    0