Bitbybit Docs
    Preparing search index...

    Class NodeTranslationDto (Inputs.BabylonNode)

    Feeds babylon.node.translate with a node, the direction in its own axes and how far to move it.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalnode: TransformNode
      • Optionaldirection: Vector3
      • Optionaldistance: number

      Returns NodeTranslationDto

    Properties

    node: TransformNode

    The transform node to move; its children follow

    direction: Vector3

    The direction to move in, in the node's own local axes

    distance: number

    How far to move along the direction, in scene units