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

SceneDecorator Namespace

Enumeration Types

Enumeration ConstraintModeCheck

Define how the constraints are checked, by value or boolean.
Value
No description available
Bool
No description available

Enumeration Axes

Which axis to use.
X
= 0x1
Y
The X axis.
Z
The Y axis.

Enumeration DistributionType

Which distribution to use.
GRID
= 0x0
SIMPLEX
= 0x1
STAGGERED_CONCENTRIC
= 0x2
RANDOM
= 0x3

Enumeration Placement

Which placement to use.
LOCAL_PLANAR
No description available
WORLD_PLANAR
The object will be spawned in the local space.
SPHERICAL
The object will be spawned in the world space.

Enumeration SpawnHierarchy

Which hierarchy to use for the spawned object.
ROOT
No description available
SCENE_DECORATOR_CHILD
The object will be spawned in the root of the scene.
ANCHOR_CHILD
The object will be spawned as a child of the scene decorator.
TARGET_CHILD
The object will be spawned as a child of the anchor.
TARGET_COLLIDER_CHILD
The object will be spawned as a child of the target.

Enumeration Target

Which target to use for the spawned object.
GLOBAL_MESH
= 1 << 0
RESERVED_MESH
The object will be spawned on a hit on the global mesh.
PHYSICS_LAYERS
Not suppoerted yet, same as GLOBAL_MESH.
CUSTOM_COLLIDERS
All physics layers defined will help determine the position.
CUSTOM_TAGS
Use a custom collider to determine the position.
SCENE_ANCHORS
use only gameobjects with custom tag, needs a collider

See Also

Did you find this page helpful?
Thumbs up icon
Thumbs down icon