bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class DrawComplete

    Hierarchy (View Summary)

    Index

    Constructors

    draw

    • Draws any kind of geometry after all input promises are resolved. Inputs can also be non-promise like.

      Parameters

      • inputs: DrawAny

        Contains options and entities to be drawn

      Returns Promise<any>

      BabylonJS Mesh Promise

      draw anything

      true

    • Draws a grid mesh on the ground plane in 3D space. This helps to orient yourself in the world.

      Parameters

      Returns Mesh

      draw grid

      true

    draw async

    • Draws any kind of geometry and does not return anything

      Parameters

      • inputs: DrawAny

        Contains options and entities to be drawn

      Returns Promise<void>

      draw async void

      true

      true

    draw sync

    • Draws any kind of geometry that does not need asynchronous computing, thus it cant be used with shapes coming from occt or jscad

      Parameters

      • inputs: DrawAny

        Contains options and entities to be drawn

      Returns void

      BabylonJS Mesh

      draw sync void

    • Draws any kind of geometry that does not need asynchronous computing, thus it cant be used with shapes coming from occt or jscad

      Parameters

      • inputs: DrawAny

        Contains options and entities to be drawn

      Returns Mesh

      BabylonJS Mesh

      draw sync

    grid

    • Draws a grid mesh on the ground plane in 3D space. This helps to orient yourself in the world.

      Parameters

      Returns void

      draw grid no return

      true

    material

    • Creates a generic texture that can be used with PBR materials. This method provides a cross-engine compatible way to create textures.

      Parameters

      Returns Texture

      BabylonJS Texture

      create texture

      true

    • Creates a generic PBR (Physically Based Rendering) material. This method provides a cross-engine compatible way to create materials that can be used with draw options for OCCT shapes and other geometry.

      Parameters

      Returns PBRMetallicRoughnessMaterial

      BabylonJS PBRMetallicRoughnessMaterial

      create pbr material

      true

    options