OVRSpace
(
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.
Signature
OVRSpace.OVRSpace(ulong handle) Parameters handle: ulong
The runtime handle associated with the space.
|
Handle
: ulong
[Get] |
A runtime handle associated with this OVRSpace.
This could change between subsequent sessions or apps.
Signature
ulong OVRSpace.Handle |
Valid
: bool
[Get] |
Equals
(
other
)
| |
Equals
(
obj
)
|
Signature
override bool OVRSpace.Equals(object obj) Parameters obj: objectReturns override bool |
GetHashCode
()
|
Signature
override int OVRSpace.GetHashCode() Returns override int |
ToString
()
| |
TryGetUuid
(
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.
Signature
bool OVRSpace.TryGetUuid(out Guid uuid) Parameters Returns bool
Returns true if the uuid could be retrieved, otherwise false.
|
operator OVRSpace
(
handle
)
|
Signature
static implicit OVRSpace.operator OVRSpace(ulong handle) Parameters handle: ulongReturns implicit |
operator ulong
(
space
)
|
Signature
static implicit OVRSpace.operator ulong(OVRSpace space) Parameters space: OVRSpaceReturns implicit |
operator!=
(
lhs
, rhs
)
| |
operator==
(
lhs
, rhs
)
|
| Member | Description |
|---|---|
Local |
The storage location is local to the device.
|
Cloud |
The storage location is in the cloud.
|