Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CreatePolygonDto

Index

Constructors

constructor

  • Parameters

    • Optional shape: Vector3[]
    • Optional holes: Vector3[][]
    • Optional depth: number
    • Optional smoothingThreshold: number
    • Optional sideOrientation: sideOrientationEnum
    • Optional wrap: boolean
    • Optional enableShadows: boolean

    Returns CreatePolygonDto

Properties

depth

depth: number

Depth of the polygon

default

0

minimum

0

maximum

Infinity

step

0.1

enableShadows

enableShadows: boolean

Enables shadows for the mesh

default

true

Optional holes

holes: Vector3[][]

Holes of the polygon

optional

true

shape

shape: Vector3[]

Shape of the polygon

sideOrientation

sideOrientation: sideOrientationEnum

Side orientation of the mesh

default

frontside

smoothingThreshold

smoothingThreshold: number

Smoothing threshold of the polygon

default

0.01

minimum

0

maximum

1

step

0.01

wrap

wrap: boolean

Wrap of the polygon

default

false

Generated using TypeDoc