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