Bitbybit Docs
    Preparing search index...

    Class DrawNodeDto (Inputs.BabylonNode)

    Feeds babylon.node.drawNode with the node to draw axes for, the color of each axis and their length.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalnode: TransformNode
      • OptionalcolorX: string
      • OptionalcolorY: string
      • OptionalcolorZ: string
      • Optionalsize: number

      Returns DrawNodeDto

    Properties

    node: TransformNode

    The transform node the axis lines are parented to

    colorX: string

    Hex color of the line along the node's X axis

    colorY: string

    Hex color of the line along the node's Y axis

    colorZ: string

    Hex color of the line along the node's Z axis

    size: number

    Length of each axis line, in scene units