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

    What to draw: a point, line, polyline, frame, curve, surface, kernel shape, mesh, tag or node, or a list of one of these kinds. Kernel shapes need draw.drawAnyAsync.

    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

    A mesh an earlier draw returned. Kinds drawn with updatable set change in place, a design build only moves its parts, and without options its earlier options apply.

    undefined
    

    true