Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Class DrawComplete

Hierarchy

Index

Constructors

constructor

Methods

drawAny

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

    group

    draw sync

    shortname

    draw sync

    Parameters

    • inputs: DrawAny

      Contains options and entities to be drawn

    Returns Mesh

    BabylonJS Mesh

drawAnyAsync

  • drawAnyAsync(inputs: DrawAny): Promise<Mesh>
  • Draws any kind of geometry after all input promises are resolved. Inputs can also be non-promise like.

    group

    draw

    shortname

    draw anything

    disposableoutput

    true

    Parameters

    • inputs: DrawAny

      Contains options and entities to be drawn

    Returns Promise<Mesh>

    BabylonJS Mesh Promise

drawAnyAsyncNoReturn

  • drawAnyAsyncNoReturn(inputs: DrawAny): Promise<void>
  • Draws any kind of geometry and does not return anything

    group

    draw async

    shortname

    draw async void

    disposableoutput

    true

    Parameters

    • inputs: DrawAny

      Contains options and entities to be drawn

    Returns Promise<void>

drawAnyNoReturn

  • drawAnyNoReturn(inputs: DrawAny): void
  • Draws any kind of geometry that does not need asynchronous computing, thus it cant be used with shapes coming from occt or jscad

    group

    draw sync

    shortname

    draw sync void

    Parameters

    • inputs: DrawAny

      Contains options and entities to be drawn

    Returns void

    BabylonJS Mesh

drawGridMesh

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

    group

    draw

    shortname

    draw grid

    disposableoutput

    true

    Parameters

    • inputs: SceneDrawGridMeshDto

      Describes various parameters of the grid mesh like size, colour, etc.

    Returns Mesh

drawGridMeshNoReturn

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

    group

    grid

    shortname

    draw grid no return

    disposableoutput

    true

    Parameters

    • inputs: SceneDrawGridMeshDto

      Describes various parameters of the grid mesh like size, colour, etc.

    Returns void

optionsBabylonNode

optionsOcctShape

optionsOcctShapeMaterial

optionsOcctShapeSimple

optionsSimple

Generated using TypeDoc