API reference

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

GuardianDistance : float
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.
Signature
float GuardianDistance
GuardianMaterial : Material
Material to use for the Guardian effect.
Signature
Material GuardianMaterial