Skip to main content

Interface: ThreeDVMobjectOptions

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

Options for creating a ThreeDVMobject

Properties

closePath?

optional closePath: boolean

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

Whether this is a closed path. Default: false


color?

optional color: string

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

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


fillOpacity?

optional fillOpacity: number

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

Fill opacity from 0 to 1. Default: 0.5


opacity?

optional opacity: number

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

Opacity from 0 to 1. Default: 1


points?

optional points: number[][]

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

Initial points in 3D space. Default: []


strokeWidth?

optional strokeWidth: number

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

Stroke width. Default: 4