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

SceneDecorator Class

Extends MonoBehaviour
This class is used to decorate the scene with objects.

Public Statics

static readonly float PI[Get]

Fields

List< SceneDecoration > sceneDecorations[Get]
Collider[] customColliders[Get]
string[] customTargetTags[Get]
int recursionLimit[Get]
MRUK.RoomFilter DecorateOnStart[Get]

Member Functions

Clears all decorations from the scene by releasing them back to their respective pools.
Decorates all rooms in the scene with scene decorations.
Generates a scene decoration at a specific position on an MRUKAnchor.
Parameters
localPos
The local position of the decoration on the anchor.
localPosNormalized
The normalized local position of the decoration on the anchor.
sceneAnchor
The MRUKAnchor that the decoration will be attached to.
sceneDecoration
The scene decoration to be generated.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon