Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DrawAny

Index

Constructors

Properties

Constructors

constructor

  • new DrawAny(entity?: any, options?: DrawOptions, babylonMesh?: Mesh | LinesMesh): DrawAny
  • Parameters

    • Optional entity: any
    • Optional options: DrawOptions
    • Optional babylonMesh: Mesh | LinesMesh

    Returns DrawAny

Properties

Optional babylonMesh

babylonMesh: Mesh | LinesMesh

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

default

undefined

optional

true

entity

entity: any

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

default

undefined

Optional options

options: DrawOptions

Options that help you control how your drawn objects look like. This property is optional. In order to pick the right option you need to know which entity you are going to draw. For example if you draw points, lines, polylines or jscad meshes you can use basic geometry options, but if you want to draw OCCT shapes, use OCCT options.

default

undefined

optional

true

Generated using TypeDoc