PlacementOrientation
public class PlacementOrientationPlacement-agnostic orientation override. Placement Default preserves the strategy-authored rotation while the other policies reinterpret its frame.
Fields
Section titled “Fields”
orientation
Section titled “orientation”public TextStudioPlacementOrientation orientationReturns
TextStudio.TextStudioPlacementOrientation
fineRotation
Section titled “fineRotation”public Vector3 fineRotationReturns
UnityEngine.Vector3
Methods
Section titled “Methods”
Apply(in GlyphPlacement)
Section titled “Apply(in GlyphPlacement)”public Quaternion Apply(in GlyphPlacement placement)Resolves the glyph rotation for the selected orientation policy, then
applies TextStudio.PlacementOrientation.fineRotation as a local Euler adjustment in degrees.
Parameters
| Name | Type |
|---|---|
placement |
TextStudio.GlyphPlacement |
Returns
UnityEngine.Quaternion
Constructors
Section titled “Constructors”
PlacementOrientation()
Section titled “PlacementOrientation()”public PlacementOrientation()Properties
Section titled “Properties”
HasEffect
Section titled “HasEffect”public bool HasEffect { get; }Returns
System.Boolean