TextStudio3DSurfaceHit
public readonly struct TextStudio3DSurfaceHitContains the nearest exact hit, including a reusable triangle reference and its current world pose.
Properties
Section titled “Properties”
Reference
Section titled “Reference”public TextStudio3DSurfaceReference Reference { get; }Returns
TextStudio.ThreeD.TextStudio3DSurfaceReference
public TextStudio3DAttachmentPose Pose { get; }Returns
TextStudio.ThreeD.TextStudio3DAttachmentPose
Distance
Section titled “Distance”public float Distance { get; }Returns
System.Single
IsBackface
Section titled “IsBackface”public bool IsBackface { get; }Returns
System.Boolean
GlyphIndex
Section titled “GlyphIndex”public int GlyphIndex { get; }Returns
System.Int32
LayerIndex
Section titled “LayerIndex”public int LayerIndex { get; }Returns
System.Int32
MaterialRegion
Section titled “MaterialRegion”public MaterialRegion MaterialRegion { get; }Returns
TextStudio.ThreeD.MaterialRegion