Skip to content

ITextStudioReactionNamedAnchorProvider

InterfaceTextStudioTextStudio
public interface ITextStudioReactionNamedAnchorProvider

Optional renderer-defined anchor such as a 3D glyph socket.

TryGetReactionAnchor(int, string, out TextStudioReactionAnchor)

Section titled “TryGetReactionAnchor(int, string, out TextStudioReactionAnchor)”
bool TryGetReactionAnchor(int unitIndex, string anchorKey, out TextStudioReactionAnchor anchor)

Attempts to resolve the named visual anchor for a semantic unit index.

Parameters

Name Type
unitIndex System.Int32
anchorKey System.String
anchor TextStudio.TextStudioReactionAnchor

Returns

System.Boolean