Bitbybit Docs
    Preparing search index...

    Class DrawAny<E> (Inputs.Draw)

    Feeds draw.drawAnyAsync and drawAny: the entity to draw, the options for its kind and, when redrawing, the scene object from the previous draw.

    Type Parameters

    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • E extends any = any

      Parameters

      • Optionalentity: E
      • Optionaloptions: DrawOptions
      • OptionalbabylonMesh: any

      Returns DrawAny<E>

    Properties

    entity: E

    Entity to be drawn - can be a single or multiple points, lines, polylines, verb curves, verb surfaces, jscad meshes, jscad polygons, jscad paths, occt shapes, tags, nodes

    undefined
    
    options?: DrawOptions

    How the drawing looks, matched to the entity: basic options for points, lines, polylines and JSCAD meshes, OCCT options for shapes, and so on; left out, defaults are used

    undefined
    

    true

    babylonMesh?: any

    Entity to be used when updating already drawn mesh in the render loop

    undefined
    

    true