Skip to content

TextStudioRenderPropertyGlyphView

StructTextStudioTextStudio
public readonly struct TextStudioRenderPropertyGlyphView

Read-only renderer-property values for one glyph.

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

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

public int GlyphIndex { get; }

Returns

System.Int32

public bool IsEmpty { get; }

Returns

System.Boolean