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.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    • Parameters

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

      Returns DrawNodeDto

    Properties

    colorX?: string

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

    #ff0000
    
    colorY?: string

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

    #00ff00
    
    colorZ?: string

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

    #0000ff
    
    size?: number

    Length of each axis line, in scene units

    2
    
    node: TransformNode

    The transform node the axis lines are parented to