Table of Contents

Method TRS

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

TRS(int, float)

Calculate the transformation matrix at a point along the spline.

public Matrix4x4 TRS(int segmentIndex, float t)

Parameters

segmentIndex int

Index of the segment.

t float

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

Returns

Matrix4x4

The local to world matrix at that point.