Develop
Develop
Select your platform

Get Point Guardian Intersection

Returns the intersection result between the Guardian boundary and a specified Unreal Engine coordinate.

Overview

This Blueprint only works with the Oculus Rift, since it retrieves information related to 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 Guardian boundary and a specified Unreal Engine coordinate.

Blueprint

Blueprint

Arguments

  • Point - A specified Unreal Engine 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 Guardian area.
    • Play Area - A rectangle within the Outer Boundary.

Output

  • Return Value - A Guardian Test Result structure that specifies the intersection between the Unreal Engine 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

Example of a Get Point Guardian Intersection result
Did you find this page helpful?
Thumbs up icon
Thumbs down icon