Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • DrawSurfacesColoursDto

Index

Constructors

constructor

  • new DrawSurfacesColoursDto<T>(surfaces?: any[], colours?: string[], opacity?: number, updatable?: boolean, hidden?: boolean, surfacesMesh?: T): DrawSurfacesColoursDto<T>
  • Provide options without default values

    Type parameters

    • T

    Parameters

    • Optional surfaces: any[]
    • Optional colours: string[]
    • Optional opacity: number
    • Optional updatable: boolean
    • Optional hidden: boolean
    • Optional surfacesMesh: T

    Returns DrawSurfacesColoursDto<T>

Properties

colours

colours: string | string[]

Hex colour strings, there has to be a colour for every single surface and lengths of arrays need to match

hidden

hidden: boolean

Indicates if surface should be hidden

opacity

opacity: number

Value between 0 and 1

surfaces

surfaces: any[]

Nurbs surfaces

Optional surfacesMesh

surfacesMesh: T

Surfaces mesh variable in case it already exists and needs updating

updatable

updatable: boolean

Indicates wether the position of these surfaces will change in time

Generated using TypeDoc