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

OVRSpace Struct

Represents a "space" in the Oculus Runtime.
OVRSpace extends IEquatable< OVRSpace >.

Overview

Public Types

enum
StorageLocation {
}
Represents a storage location for an OVRSpace.

Properties

ulong
Handle[Get]
A runtime handle associated with this OVRSpace.
bool
Valid[Get]
Indicates whether this OVRSpace represents a valid space (vs a default constructed OVRSpace).

Public Member Functions

bool
TryGetUuid
( out Guid uuid )
Retrieve the universally unique identifier (UUID) associated with this OVRSpace.
OVRSpace
( ulong handle )
Constructs an OVRSpace object from an existing runtime handle and UUID.
override string
Generates a string representation of this OVRSpace of the form "0xYYYYYYYY" where "Y" are the hexadecimal digits of the Handle.
bool
Equals
( OVRSpace other )
override bool
Equals
( object obj )
override int

Static Public Member Functions

static bool
static bool
static implicit
operator OVRSpace
( ulong handle )
static implicit

Details

Member Enumerations

enum OVRSpace.StorageLocation
Represents a storage location for an OVRSpace.
Enumerator
Local
The storage location is local to the device.
Cloud
The storage location is in the cloud.

Properties

ulong OVRSpace.Handle
A runtime handle associated with this OVRSpace.
This could change between subsequent sessions or apps.
bool OVRSpace.Valid
Indicates whether this OVRSpace represents a valid space (vs a default constructed OVRSpace).

Member Functions

bool OVRSpace.TryGetUuid
( out Guid uuid )
Retrieve the universally unique identifier (UUID) associated with this OVRSpace.
Every space that can be persisted will have a UUID associated with it. UUIDs are consistent across different sessions and apps.
The UUID of a space does not change over time, but not all spaces are guaranteed to have a UUID.
Parameters
uuid
If successful, the uuid associated with this OVRSpace, otherwise, Guid.Empty.
Returns
Returns true if the uuid could be retrieved, otherwise false.
OVRSpace.OVRSpace
( ulong handle )
Constructs an OVRSpace object from an existing runtime handle and UUID.
This constructor does not create a new space. An OVRSpace is a wrapper for low-level functionality in the Oculus Runtime. To create a new spatial anchor, use OVRSpatialAnchor.
Parameters
handle
The runtime handle associated with the space.
override string OVRSpace.ToString ( )
Generates a string representation of this OVRSpace of the form "0xYYYYYYYY" where "Y" are the hexadecimal digits of the Handle.
Returns
Returns a string representation of this OVRSpace.
bool OVRSpace.Equals
( OVRSpace other )
No description available.
override bool OVRSpace.Equals
( object obj )
No description available.
override int OVRSpace.GetHashCode ( )
No description available.

Static Member Functions

static bool OVRSpace.operator==
( OVRSpace lhs,
OVRSpace rhs )
No description available.
static bool OVRSpace.operator!=
( OVRSpace lhs,
OVRSpace rhs )
No description available.
static implicit OVRSpace.operator OVRSpace
( ulong handle )
No description available.
static implicit OVRSpace.operator ulong
( OVRSpace space )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon