AnchorPrefab
: GameObject
[Get][Set] |
Signature
GameObject Meta.XR.BuildingBlocks.FollowAndCreateAnchorAtHandPositionBuildingBlock.AnchorPrefab |
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 |