LayerSelection3DSpec
public struct LayerSelection3DSpecSelects which visible glyphs receive a layer without changing the layer’s geometry recipe. Selection is evaluated before stacking, so omitted layers consume no depth for that glyph.
Fields
Section titled “Fields”
public LayerSelection3DMode modeReturns
TextStudio.ThreeD.LayerSelection3DMode
startIndex
Section titled “startIndex”public int startIndexReturns
System.Int32
public int countReturns
System.Int32
characters
Section titled “characters”public string charactersReturns
System.String
invert
Section titled “invert”public bool invertReturns
System.Boolean
Methods
Section titled “Methods”
Matches(int, uint)
Section titled “Matches(int, uint)”public bool Matches(int visibleGlyphIndex, uint codepoint)Reports whether a visible glyph identity satisfies the selection mode, range or character set, and inversion flag.
Parameters
| Name | Type |
|---|---|
visibleGlyphIndex |
System.Int32 |
codepoint |
System.UInt32 |
Returns
System.Boolean
VisibleRange(int, int, bool)
Section titled “VisibleRange(int, int, bool)”public static LayerSelection3DSpec VisibleRange(int startIndex, int count, bool invert = false)Selects a consecutive range of visible glyph identities, optionally selecting its complement.
Parameters
| Name | Type |
|---|---|
startIndex |
System.Int32 |
count |
System.Int32 |
invert |
System.Boolean |
Returns
TextStudio.ThreeD.LayerSelection3DSpec
CharacterSet(string, bool)
Section titled “CharacterSet(string, bool)”public static LayerSelection3DSpec CharacterSet(string characters, bool invert = false)Selects visible glyphs whose Unicode scalar appears in the supplied character set, optionally selecting its complement.
Parameters
| Name | Type |
|---|---|
characters |
System.String |
invert |
System.Boolean |
Returns
TextStudio.ThreeD.LayerSelection3DSpec
Properties
Section titled “Properties”
public static LayerSelection3DSpec All { get; }Returns
TextStudio.ThreeD.LayerSelection3DSpec