HorizontalAlignment
EnumUsed by the horizontalAlignment property in MeshVisual.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
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.
Index
Example
// @input Component.MeshVisual meshVisual
script.meshVisual.horizontalAlignment = HorizontalAlignment.Left;
Enumeration Members
Center
Center:
number
The mesh will be centered.
Left
Left:
number
The mesh will be aligned to the left side.
Right
Right:
number
The mesh will be aligned to the right side.