TextStudioBackendShapedGlyphGeometry
public readonly struct TextStudioBackendShapedGlyphGeometryAdditional font-EM to reference-EM mapping without replacing shaped glyph identity.
Constructors
Section titled “Constructors”
TextStudioBackendShapedGlyphGeometry(Matrix4x4, float, int, int, int, TextStudioGlyphColorQuad)
Section titled “TextStudioBackendShapedGlyphGeometry(Matrix4x4, float, int, int, int, TextStudioGlyphColorQuad)”public TextStudioBackendShapedGlyphGeometry(Matrix4x4 planarTransform, float geometryScale, int sourceStart, int sourceLength, int assemblyId = 0, TextStudioGlyphColorQuad colors = default)Maps one shaped glyph's planar outline into the backend's reference space and source range.
Parameters
| Name | Type |
|---|---|
planarTransform |
UnityEngine.Matrix4x4 |
geometryScale |
System.Single |
sourceStart |
System.Int32 |
sourceLength |
System.Int32 |
assemblyId |
System.Int32 |
colors |
TextStudio.TextStudioGlyphColorQuad |
Properties
Section titled “Properties”
PlanarTransform
Section titled “PlanarTransform”public Matrix4x4 PlanarTransform { get; }Returns
UnityEngine.Matrix4x4
GeometryScale
Section titled “GeometryScale”public float GeometryScale { get; }Returns
System.Single
SourceStart
Section titled “SourceStart”public int SourceStart { get; }Returns
System.Int32
SourceLength
Section titled “SourceLength”public int SourceLength { get; }Returns
System.Int32
AssemblyId
Section titled “AssemblyId”public int AssemblyId { get; }Returns
System.Int32
IsPresent
Section titled “IsPresent”public bool IsPresent { get; }Returns
System.Boolean
Colors
Section titled “Colors”public TextStudioGlyphColorQuad Colors { get; }Returns
TextStudio.TextStudioGlyphColorQuad
IsValid
Section titled “IsValid”public bool IsValid { get; }Returns
System.Boolean