Skip to content

@minecraft/server


@minecraft/server / LinearSpline

Class: LinearSpline ​

Defined in: @minecraft/server/index.d.ts:15533

A spline that linearly interpolates between points.

Constructors ​

Constructor ​

new LinearSpline(): LinearSpline

Returns ​

LinearSpline

Properties ​

controlPoints ​

controlPoints: Vector3[]

Defined in: @minecraft/server/index.d.ts:15541

Remarks ​

Control points for the Linear spline.

This property can't be edited in restricted-execution mode.