Skip to content

ExtrusionPathFrameSample

StructTextStudio.ThreeDTextStudio.3D
public readonly struct ExtrusionPathFrameSample

Additional cross-section controls layered over a path’s sampled frame.

ExtrusionPathFrameSample(float, float, Vector2)

Section titled “ExtrusionPathFrameSample(float, float, Vector2)”
public ExtrusionPathFrameSample(float rollDegrees, float bankDegrees, Vector2 scale)

Creates a frame profile and clamps each cross-section scale axis away from zero.

Parameters

Name Type
rollDegrees System.Single
bankDegrees System.Single
scale UnityEngine.Vector2

public float RollDegrees { get; }

Authored rotation around the path tangent, in degrees.

Returns

System.Single

public float BankDegrees { get; }

Banking rotation around the path tangent, in degrees.

Returns

System.Single

public Vector2 Scale { get; }

Cross-section scale along the sampled frame’s right and up axes.

Returns

UnityEngine.Vector2

public static ExtrusionPathFrameSample Identity { get; }

Returns

TextStudio.ThreeD.ExtrusionPathFrameSample