API reference
API reference
Select your platform
No SDKs available
No versions available

AnchorMeshSelectionMode Enum

Selection mode when choosing from multiple meshes for anchor spawning in MR Utility Kit.
Determines how AnchorMeshSpawner selects a mesh from a list of available meshes (glb/gltf files) when spawning objects at scene anchor locations. Used as a parameter in AnchorMeshSpawner.AnchorMeshGroup. The default selection mode is AnchorMeshSelectionMode.RANDOM.

See Also

Signature

enum AnchorMeshSelectionMode : Enum<AnchorMeshSelectionMode> 

Enumeration Constants

MemberDescription
RANDOM
A random mesh will be chosen.
CLOSEST_SIZE
The mesh with a bounding box that matches the anchor's size as close as possible will be chosen.