Bitbybit Docs
    Preparing search index...

    Class DrawNodesDto (Inputs.BabylonNode)

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

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalnodes: TransformNode[]
      • OptionalcolorX: string
      • OptionalcolorY: string
      • OptionalcolorZ: string
      • Optionalsize: number

      Returns DrawNodesDto

    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
    
    nodes: TransformNode[]

    The transform nodes, each getting its own set of axis lines