Table of Contents

Method EvaluateUpVector

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

EvaluateUpVector(int, float)

Calculate the up vector at a point along the spline.

public Vector3 EvaluateUpVector(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 up vector in local space of the spline.