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

SharedSpatialAnchorCore Class

Properties

OnSharedSpatialAnchorsLoadCompleted : UnityEvent< List< OVRSpatialAnchor >, OVRSpatialAnchor.OperationResult >
[Get][Set]
Signature
UnityEvent<List<OVRSpatialAnchor>, OVRSpatialAnchor.OperationResult> Meta.XR.BuildingBlocks.SharedSpatialAnchorCore.OnSharedSpatialAnchorsLoadCompleted
OnSpatialAnchorsShareCompleted : UnityEvent< List< OVRSpatialAnchor >, OVRSpatialAnchor.OperationResult >
[Get][Set]
Signature
UnityEvent<List<OVRSpatialAnchor>, OVRSpatialAnchor.OperationResult> Meta.XR.BuildingBlocks.SharedSpatialAnchorCore.OnSpatialAnchorsShareCompleted

Methods

InstantiateSpatialAnchor ( prefab , position , rotation )
Signature
async new void Meta.XR.BuildingBlocks.SharedSpatialAnchorCore.InstantiateSpatialAnchor(GameObject prefab, Vector3 position, Quaternion rotation)
Parameters
prefab: GameObject
position: Vector3
rotation: Quaternion
Returns
async new void
LoadAndInstantiateAnchors ( prefab , uuids )
Signature
new void Meta.XR.BuildingBlocks.SharedSpatialAnchorCore.LoadAndInstantiateAnchors(GameObject prefab, List< Guid > uuids)
Parameters
prefab: GameObject
uuids: List< Guid >
Returns
new void
ShareSpatialAnchors ( anchors , users )
Signature
void Meta.XR.BuildingBlocks.SharedSpatialAnchorCore.ShareSpatialAnchors(List< OVRSpatialAnchor > anchors, List< OVRSpaceUser > users)
Parameters
anchors: List< OVRSpatialAnchor >
users: List< OVRSpaceUser >
Returns
void