Get Point Guardian Intersection

Returns the intersection result between the Oculus Guardian boundary and a specified UE4 coordinate.

Overview

This Blueprint only works with the Oculus Rift, since it retrieves information related to the Oculus Guardian, which is only meaningful when positional tracking is available, i.e. when 6DOF (six degrees of freedom) support is provided by the product.

This Blueprint returns the intersection result between the Oculus Guardian boundary and a specified UE4 coordinate.

Blueprint

Arguments

  • Point - A specified UE4 coordinate.
  • Boundary Type - An enum representing the type of boundary for which the intersection is requested. It may be set to:
    • “Outer Boundary” - The exact bounds of the Oculus Guardian area.
    • “Play Area” - A rectangle within the Outer Boundary.

Output

  • Return Value - A Guardian Test Result structure that specifies the intersection between the UE4 coordinate and the selected guardian boundary. This structure contains the following fields:
    • Is Triggering - A boolean that indicates whether or not there is a triggering interaction between the specified point and guardian boundary.
    • Device Type - An ETrackedDeviceTypeEnum which is always returned as None by this blueprint.
    • Closest Distance - The distance of the point from the boundary.
    • Closest Point - The closest point to the specified coordinate that resides on the surface of the specified boundary.
    • Closest Point Normal - The geometrical normal vector for the Closest Point, relative to the boundary surface.

Example