Bitbybit Docs
    Preparing search index...

    Class DrawNodeOptions (Inputs.Draw)

    Feeds draw.optionsBabylonNode: a node is drawn as three colored lines along its own X, Y and Z axes, each ending in a small arrow tip, and these set their colors and length.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

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

      Returns DrawNodeOptions

    Properties

    colorX?: string

    The color of the line along the node's X axis, as a hex string.

    #ff0000
    
    colorY?: string

    The color of the line along the node's Y axis, as a hex string.

    #00ff00
    
    colorZ?: string

    The color of the line along the node's Z axis, as a hex string.

    #0000ff
    
    size?: number

    The length of each axis line in the node's own space, so a scaled node scales its axes too.

    2
    

    0

    Infinity