Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • DrawSolidMeshDto

Index

Constructors

Properties

Constructors

constructor

  • new DrawSolidMeshDto<T>(mesh?: any, opacity?: number, colours?: string | string[], updatable?: boolean, hidden?: boolean, jscadMesh?: T): DrawSolidMeshDto<T>
  • Provide options without default values

    Type parameters

    • T

    Parameters

    • Optional mesh: any
    • Optional opacity: number
    • Optional colours: string | string[]
    • Optional updatable: boolean
    • Optional hidden: boolean
    • Optional jscadMesh: T

    Returns DrawSolidMeshDto<T>

Properties

colours

colours: string | string[]

Hex colour string

default

#444444

hidden

hidden: boolean

Hidden

default

false

mesh

mesh: any

Solid Jscad mesh

opacity

opacity: number

Value between 0 and 1

default

1

minimum

0

maximum

1

step

0.1

updatable

updatable: boolean

Indicates wether this solid will be transformed in time

default

false

Generated using TypeDoc