This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Unity 1.24 Reference Guide

OVRBoundary::BoundaryTestResult Struct Reference

Provides test results of boundary system queries.

Data Fields

bool
Returns true if the queried test would violate and/or trigger the tested boundary types.
float
Returns the distance between the queried test object and the closest tested boundary type.
Vector3
Returns the closest point to the queried test object.
Vector3
Returns the normal of the closest point to the queried test object.

Field Documentation

bool OVRBoundary.BoundaryTestResult.IsTriggering ( )
Returns true if the queried test would violate and/or trigger the tested boundary types.
float OVRBoundary.BoundaryTestResult.ClosestDistance ( )
Returns the distance between the queried test object and the closest tested boundary type.
Vector3 OVRBoundary.BoundaryTestResult.ClosestPoint ( )
Returns the closest point to the queried test object.
Vector3 OVRBoundary.BoundaryTestResult.ClosestPointNormal ( )
Returns the normal of the closest point to the queried test object.
The documentation for this struct was generated from the following file: OVR/Scripts/OVRBoundary.cs