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

OVRBounded3D Struct

Represents a volume described by its Bounds.
OVRBounded3D extends IOVRAnchorComponent< OVRBounded3D >.
OVRBounded3D extends IEquatable< OVRBounded3D >.

Overview

Properties

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

Static Fields

static readonly OVRBounded3D
Null[Get]
A null representation of an OVRBounded3D.

Public Member Functions

FromAnchor
( OVRAnchor anchor )
SetEnabledAsync
( bool enabled,
double timeout )
bool
Equals
( OVRBounded3D other )
Compares this component for equality with other .
override bool
Equals
( object obj )
Compares this component for equality with obj .
override int
Gets a hashcode suitable for use in a Dictionary or HashSet.
override string
Gets a string representation of this component.

Static Public Member Functions

static bool
Compares two components for equality.
static bool
Compares two components for inequality.

Details

Detailed Description

This component can be accessed from an OVRAnchor that supports it by calling OVRAnchor.GetComponent<T> from the anchor.
See Also:

Properties

SpaceComponentType IOVRAnchorComponent<OVRBounded3D>. OVRBounded3D.Type
No description available.
ulong IOVRAnchorComponent<OVRBounded3D>. OVRBounded3D.Handle
No description available.
bool OVRBounded3D.IsNull
Whether this object represents a valid anchor component.
bool OVRBounded3D.IsEnabled
True if this component is enabled and no change to its enabled status is pending.
SpaceComponentType OVRBounded3D.Type
No description available.
ulong OVRBounded3D.Handle
No description available.
Bounds OVRBounded3D.BoundingBox
Bounding Box.
Returns
Bounds representing the 3D Bounding Box of the Anchor this component is attached to.
Exceptions
InvalidOperationException
If it fails to retrieve the Bounding Box.

Public Statics

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

Member Functions

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

Static Member Functions

static bool OVRBounded3D.operator==
( OVRBounded3D lhs,
Compares two components for equality.
Parameters
lhs
The component to compare with rhs .
rhs
The component to compare with lhs .
Returns
True if both components belong to the same OVRAnchor, otherwise false.
static bool OVRBounded3D.operator!=
( OVRBounded3D lhs,
Compares two components for inequality.
Parameters
lhs
The component to compare with rhs .
rhs
The component to compare with lhs .
Returns
True if the components do not belong to the same OVRAnchor, otherwise false.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon