TextStudioSurfaceGroup
public sealed class TextStudioSurfaceGroup : MonoBehaviourExplicit additional lettering sources for glyph-derived surfaces on this text. The owning style renders the surface once.
Methods
Section titled “Methods”
GetSource(int)
Section titled “GetSource(int)”public TextStudioText GetSource(int index)Returns the source text component at the specified group index.
Parameters
| Name | Type |
|---|---|
index |
System.Int32 |
Returns
TextStudio.TextStudioText
SetSources(params TextStudioText[])
Section titled “SetSources(params TextStudioText[])”public void SetSources(params TextStudioText[] sources)Copies the source array, invalidates the group’s fingerprint, and refreshes subscriptions when enabled.
Parameters
| Name | Type |
|---|---|
sources |
TextStudio.TextStudioText[] |
Constructors
Section titled “Constructors”
TextStudioSurfaceGroup()
Section titled “TextStudioSurfaceGroup()”public TextStudioSurfaceGroup()Properties
Section titled “Properties”
SourceCount
Section titled “SourceCount”public int SourceCount { get; }Returns
System.Int32