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

OVRBounded3D Struct

Extends IEquatable< OVRBounded3D >
Represents a volume described by its Bounds.
This component can be accessed from an OVRAnchor that supports it by calling OVRAnchor.GetComponent<T> from the anchor.

Static Fields

Null : readonly OVRBounded3D
A null representation of an OVRBounded3D.
Use this to compare with another component to determine whether it is null.
Signature
readonly OVRBounded3D OVRBounded3D.Null

Properties

BoundingBox : Bounds
[Get]
Bounding Box.
Signature
Bounds OVRBounded3D.BoundingBox
Handle : ulong IOVRAnchorComponent< OVRBounded3D >.
[Get]
Signature
ulong IOVRAnchorComponent<OVRBounded3D>. OVRBounded3D.Handle
IsEnabled : bool
[Get]
True if this component is enabled and no change to its enabled status is pending.
Signature
bool OVRBounded3D.IsEnabled
IsNull : bool
[Get]
Whether this object represents a valid anchor component.
Signature
bool OVRBounded3D.IsNull
Type : SpaceComponentType IOVRAnchorComponent< OVRBounded3D >.
[Get]
Signature
SpaceComponentType IOVRAnchorComponent<OVRBounded3D>. OVRBounded3D.Type

Methods

Equals ( other )
Compares this component for equality with other .
Signature
bool OVRBounded3D.Equals(OVRBounded3D other)
Parameters
other: OVRBounded3D  The other component to compare with.
Returns
bool  True if both components belong to the same OVRAnchor, otherwise false.
Equals ( obj )
Compares this component for equality with obj .
Signature
override bool OVRBounded3D.Equals(object obj)
Parameters
obj: object  The object to compare with.
Returns
override bool  True if obj is an OVRBounded3D and Equals(OVRBounded3D) is true, otherwise false.
FromAnchor ( anchor )
Signature
OVRBounded3D IOVRAnchorComponent< OVRBounded3D >. OVRBounded3D.FromAnchor(OVRAnchor anchor)
Parameters
anchor: OVRAnchor
GetHashCode ()
Gets a hashcode suitable for use in a Dictionary or HashSet.
Signature
override int OVRBounded3D.GetHashCode()
Returns
override int  A hashcode for this component.
SetEnabledAsync ( enabled , timeout )
Signature
OVRTask< bool > IOVRAnchorComponent< OVRBounded3D >. OVRBounded3D.SetEnabledAsync(bool enabled, double timeout)
Parameters
enabled: bool
timeout: double
ToString ()
Gets a string representation of this component.
Signature
override string OVRBounded3D.ToString()
Returns
override string  A string representation of this component.

Static Methods

operator!= ( lhs , rhs )
Compares two components for inequality.
Signature
static bool OVRBounded3D.operator!=(OVRBounded3D lhs, OVRBounded3D rhs)
Parameters
lhs: OVRBounded3D  The component to compare with rhs .
rhs: OVRBounded3D  The component to compare with lhs .
Returns
bool  True if the components do not belong to the same OVRAnchor, otherwise false.
operator== ( lhs , rhs )
Compares two components for equality.
Signature
static bool OVRBounded3D.operator==(OVRBounded3D lhs, OVRBounded3D rhs)
Parameters
lhs: OVRBounded3D  The component to compare with rhs .
rhs: OVRBounded3D  The component to compare with lhs .
Returns
bool  True if both components belong to the same OVRAnchor, otherwise false.