Table of Contents

Method EvaluateRotation

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

EvaluateRotation(int, float)

Calculate the rotation at a point along the spline.

public Quaternion EvaluateRotation(int segmentIndex, float t)

Parameters

segmentIndex int

Index of the segment.

t float

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

Returns

Quaternion

The rotation in local space of the spline.