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:1025

Displays an editor-only spline in the 3D view.

Properties​

type​

type: UInt32;

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

Spline interpolation type.

Default Value​

0;

color​

color: Vec3;

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

Display 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:1040

Catmull-Rom tension (only when type is Catmull-Rom).

Default Value​

0.5;