Table of Contents

Method EvaluatePosition

Namespace
Pinwheel.Griffin.SplineTool
Assembly
Pinwheel.Polaris.Runtime.dll

EvaluatePosition(int, float)

Calculate the position at a point along the spline.

public Vector3 EvaluatePosition(int segmentIndex, float t)

Parameters

segmentIndex int

Index of the segment.

t float

Relative position along the segment, in range [0,1]

Returns

Vector3

The position in local space of the spline.