Skip to main content

Type Alias: Spline

type Spline = {
type: UInt32;
color: Vec3;
tension: Float;
};

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:1007

Display a spline in the 3d view.

Properties

type

type: UInt32;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:1012

Define the type of the curve.

Default Value

0;

color

color: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:1017

Color of the curve.

Default Value

(1, 1, 1);

tension

tension: Float;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:1022

When type is catmullrom, defines catmullrom's tension.

Default Value

0.5;