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

KeepUprightWithSurfaceModifier Class

Extends Modifier
A modifier that keeps the decoration upright with respect to a surface.

Fields

The axis that is used to determine the upright direction.

Member Functions

Applies the modifier to a decoration.
Parameters
decorationGO
The gameobject
sceneAnchor
The SceneAnchor
sceneDecoration
The SceneDecoration
candidate
The candidate
Did you find this page helpful?
Thumbs up icon
Thumbs down icon