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

FollowAndCreateAnchorAtHandPositionBuildingBlock Class

Extends MonoBehaviour

Properties

AnchorPrefab : GameObject
[Get][Set]
Signature
GameObject Meta.XR.BuildingBlocks.FollowAndCreateAnchorAtHandPositionBuildingBlock.AnchorPrefab

Methods

CreateSpatialAnchor ( position , rotation )
Create an anchor.
Signature
void Meta.XR.BuildingBlocks.FollowAndCreateAnchorAtHandPositionBuildingBlock.CreateSpatialAnchor(Vector3 position, Quaternion rotation)
Parameters
position: Vector3  Position for the new anchor.
rotation: Quaternion  Orientation of the new anchor
Returns
void
CreateSpatialAnchor ()
Create an anchor at the AnchorPrefab's position.
Signature
void Meta.XR.BuildingBlocks.FollowAndCreateAnchorAtHandPositionBuildingBlock.CreateSpatialAnchor()
Returns
void
LoadAnchorsFromDefaultLocalStorage ()
Loads anchors from local storage.
SpatialAnchorLocalStorageManagerBuildingBlock component is required to load anchors from default local storage
If
Signature
virtual void Meta.XR.BuildingBlocks.FollowAndCreateAnchorAtHandPositionBuildingBlock.LoadAnchorsFromDefaultLocalStorage()
Returns
void
LoadAndInstantiateAnchors ( uuids )
Loads and instantiates anchors from a list of uuids.
If
Signature
virtual void Meta.XR.BuildingBlocks.FollowAndCreateAnchorAtHandPositionBuildingBlock.LoadAndInstantiateAnchors(List< Guid > uuids)
Parameters
uuids: List< Guid >
Returns
void