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

KeepUprightWithAnchorModifier Class

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

Fields

The axis that is used to determine the upright orientation of a decoration.

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