Skip to main content

Interface: ThreeDVMobjectOptions

Defined in: mobjects/three-d/ThreeDExtensions.ts:546

Options for creating a ThreeDVMobject

Properties

closePath?

optional closePath: boolean

Defined in: mobjects/three-d/ThreeDExtensions.ts:558

Whether this is a closed path. Default: false


color?

optional color: string

Defined in: mobjects/three-d/ThreeDExtensions.ts:550

Color as CSS color string. Default: '#ffffff'


fillOpacity?

optional fillOpacity: number

Defined in: mobjects/three-d/ThreeDExtensions.ts:554

Fill opacity from 0 to 1. Default: 0.5


opacity?

optional opacity: number

Defined in: mobjects/three-d/ThreeDExtensions.ts:552

Opacity from 0 to 1. Default: 1


points?

optional points: number[][]

Defined in: mobjects/three-d/ThreeDExtensions.ts:548

Initial points in 3D space. Default: []


strokeWidth?

optional strokeWidth: number

Defined in: mobjects/three-d/ThreeDExtensions.ts:556

Stroke width. Default: 4