Skip to content

TextStudio3DSurfaceHit

StructTextStudio.ThreeDTextStudio.3D
public readonly struct TextStudio3DSurfaceHit

Contains the nearest exact hit, including a reusable triangle reference and its current world pose.

public TextStudio3DSurfaceReference Reference { get; }

Returns

TextStudio.ThreeD.TextStudio3DSurfaceReference

public TextStudio3DAttachmentPose Pose { get; }

Returns

TextStudio.ThreeD.TextStudio3DAttachmentPose

public float Distance { get; }

Returns

System.Single

public bool IsBackface { get; }

Returns

System.Boolean

public int GlyphIndex { get; }

Returns

System.Int32

public int LayerIndex { get; }

Returns

System.Int32

public MaterialRegion MaterialRegion { get; }

Returns

TextStudio.ThreeD.MaterialRegion