API Reference · Overlays and labels

OverlayBehind

Namespace: Ava3D

public enum OverlayBehind

What to do with a child whose world position is not in front of the near plane.

Values

ValueDescription
Hide

Do not place it. The default, and almost always right: a position behind the camera projects mirrored, so placing it puts the child inside the picture on the wrong side, looking entirely plausible.

Clamp

Place it on the edge of the panel, in the direction the position actually lies — the mirroring undone — and on the bottom edge when it is dead behind. For an arrow that should keep pointing at something once you have turned away from it. Only meaningful together with OverlayOffScreen.ClampToEdge, which is what puts it on the edge; on its own this is the same as OverlayBehind.Hide.

See also