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

// @input Component.MeshVisual meshVisual
script.meshVisual.horizontalAlignment = HorizontalAlignment.Left;

Enumeration Members

Enumeration Members

Center: number

The mesh will be centered.

Left: number

The mesh will be aligned to the left side.

Right: number

The mesh will be aligned to the right side.