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

RoomGuardian Class

Extends MonoBehaviour
This class uses the current MRUKRoom boundaries to draw their visual representation similarly to what the guardian does at a system level to indicate the limit of the physical space defined by the user.

Fields

Material to use for the Guardian effect.
This is how far, in meters, the player must be form a surface for the Guardian to become visible ( in other words, it blends _GuardianFade from 0 to 1).
The position of the user is calculated as a point 0.2m above the ground. This is to catch tripping hazards as well as walls. All MRUKAnchors but the floor and ceiling are considered for this calculation.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon