Skip to content

TextStudioAppearanceOccurrence

ClassTextStudioTextStudio
public sealed class TextStudioAppearanceOccurrence

One source invocation. Its immutable program can be shared with other invocations.

public bool ContainsVisibleUnit(int unit)

Returns whether the supplied unit belongs to any visible range of this appearance occurrence.

Parameters

Name Type
unit System.Int32

Returns

System.Boolean

public string Id { get; }

Returns

System.String

public int OccurrenceId { get; }

Returns

System.Int32

public int ParentIndex { get; }

Returns

System.Int32

public int ProgramIndex { get; }

Returns

System.Int32

public int SourceStart { get; }

Returns

System.Int32

public int SourceLength { get; }

Returns

System.Int32

public TextStudioAppearanceRange Domain { get; }

Returns

TextStudio.TextStudioAppearanceRange

public TextStudioAppearanceApplyMode ApplyMode { get; }

Returns

TextStudio.TextStudioAppearanceApplyMode

public TextStudioAppearanceResolution Resolution { get; }

Returns

TextStudio.TextStudioAppearanceResolution

public Color Tint { get; }

Returns

UnityEngine.Color

public float Opacity { get; }

Returns

System.Single

public IReadOnlyList<TextStudioAppearanceRange> VisibleRanges { get; }

Returns

System.Collections.Generic.IReadOnlyList{TextStudio.TextStudioAppearanceRange}

public bool IsActive { get; }

Returns

System.Boolean