Skip to main content

Interface: ConvexHull3DOptions

Defined in: mobjects/three-d/ConvexHull3D.ts:8

Options for creating a ConvexHull3D

Properties

center?

optional center: Vector3Tuple

Defined in: mobjects/three-d/ConvexHull3D.ts:18

Center position [x, y, z]. Default: [0, 0, 0]


color?

optional color: string

Defined in: mobjects/three-d/ConvexHull3D.ts:12

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


opacity?

optional opacity: number

Defined in: mobjects/three-d/ConvexHull3D.ts:14

Opacity from 0 to 1. Default: 0.8


points

points: Vector3Tuple[]

Defined in: mobjects/three-d/ConvexHull3D.ts:10

3D points to compute the convex hull from


wireframe?

optional wireframe: boolean

Defined in: mobjects/three-d/ConvexHull3D.ts:16

Whether to render as wireframe. Default: false