Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

  • M

Hierarchy

  • DrawManifoldOrCrossSectionDto

Index

Constructors

constructor

  • new DrawManifoldOrCrossSectionDto<T, M>(manifoldOrCrossSection?: T, faceOpacity?: number, faceMaterial?: M, faceColour?: string, crossSectionColour?: string, crossSectionWidth?: number, crossSectionOpacity?: number, computeNormals?: boolean): DrawManifoldOrCrossSectionDto<T, M>
  • Provide options without default values

    Type parameters

    • T

    • M

    Parameters

    • Optional manifoldOrCrossSection: T
    • Optional faceOpacity: number
    • Optional faceMaterial: M
    • Optional faceColour: string
    • Optional crossSectionColour: string
    • Optional crossSectionWidth: number
    • Optional crossSectionOpacity: number
    • Optional computeNormals: boolean

    Returns DrawManifoldOrCrossSectionDto<T, M>

Properties

computeNormals

computeNormals: boolean

Compute normals for the shape

default

false

crossSectionColour

crossSectionColour: string

Hex colour string for cross section drawing

default

#ff00ff

crossSectionOpacity

crossSectionOpacity: number

Cross section opacity value between 0 and 1

default

1

minimum

0

maximum

1

step

0.1

crossSectionWidth

crossSectionWidth: number

Width of cross section lines

default

2

faceColour

faceColour: string

Hex colour string for face colour

default

#ff0000

Optional faceMaterial

faceMaterial: M

Face material

default

undefined

optional

true

faceOpacity

faceOpacity: number

Face opacity value between 0 and 1

default

1

minimum

0

maximum

1

step

0.1

Optional manifoldOrCrossSection

manifoldOrCrossSection: T

Manifold geometry

default

undefined

Generated using TypeDoc