ExtrusionPathFrameSample
public readonly struct ExtrusionPathFrameSampleAdditional cross-section controls layered over a path’s sampled frame.
Constructors
Section titled “Constructors”
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 |
Properties
Section titled “Properties”
RollDegrees
Section titled “RollDegrees”public float RollDegrees { get; }Authored rotation around the path tangent, in degrees.
Returns
System.Single
BankDegrees
Section titled “BankDegrees”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
Identity
Section titled “Identity”public static ExtrusionPathFrameSample Identity { get; }Returns
TextStudio.ThreeD.ExtrusionPathFrameSample