Used by the verticalAlignment property in MeshVisual. When a ScreenTransform is attached to the same SceneObject, this determines how the mesh will be positioned vertically.

// @input Component.MeshVisual meshVisual
script.meshVisual.verticalAlignment = VerticalAlignment.Top;

Enumeration Members

Enumeration Members

Bottom: number

The mesh will be aligned to the bottom side.

Center: number

The mesh will be centered.

Top: number

The mesh will be aligned to the top side.