API Reference · Overlays and labels
OverlayAnchor
public enum OverlayAnchorWhich point of a child sits on the world position it is anchored to.
Values
| Value | Description |
|---|---|
Center | The child's middle. The default, and what a marker or a reticle wants. |
Top | The middle of the child's top edge, so the child hangs below the point. |
Bottom | The middle of the child's bottom edge, so the child stands on the point. |
Left | The middle of the child's left edge, so the child extends to the right of the point. |
Right | The middle of the child's right edge, so the child extends to the left of the point. |
TopLeft | The child's top-left corner, so the child extends down and to the right of the point. |
TopRight | The child's top-right corner, so the child extends down and to the left of the point. |
BottomLeft | The child's bottom-left corner, so the child extends up and to the right of the point. |
BottomRight | The child's bottom-right corner, so the child extends up and to the left of the point. |