TextStudioRenderPropertyGlyphView
public readonly struct TextStudioRenderPropertyGlyphViewRead-only renderer-property values for one glyph.
Methods
Section titled “Methods”
TryGet(string, out Vector4)
Section titled “TryGet(string, out Vector4)”public bool TryGet(string propertyId, out Vector4 value)Attempts to read a non-unsigned render-property value for this glyph.
Parameters
| Name | Type |
|---|---|
propertyId |
System.String |
value |
UnityEngine.Vector4 |
Returns
System.Boolean
TryGet(string, out Vector4, out TextStudioSurfaceMask)
Section titled “TryGet(string, out Vector4, out TextStudioSurfaceMask)”public bool TryGet(string propertyId, out Vector4 value, out TextStudioSurfaceMask surfaceMask)Attempts to read a non-unsigned render-property value and its surface mask for this glyph.
Parameters
| Name | Type |
|---|---|
propertyId |
System.String |
value |
UnityEngine.Vector4 |
surfaceMask |
TextStudio.TextStudioSurfaceMask |
Returns
System.Boolean
TryGetUInt(string, out uint)
Section titled “TryGetUInt(string, out uint)”public bool TryGetUInt(string propertyId, out uint value)Attempts to read an unsigned integer render-property value for this glyph.
Parameters
| Name | Type |
|---|---|
propertyId |
System.String |
value |
System.UInt32 |
Returns
System.Boolean
Properties
Section titled “Properties”
GlyphIndex
Section titled “GlyphIndex”public int GlyphIndex { get; }Returns
System.Int32
IsEmpty
Section titled “IsEmpty”public bool IsEmpty { get; }Returns
System.Boolean