Method TryAddAnchor
TryAddAnchor(Pose, out XRAnchor)
Attempts to create a new anchor at the provided pose.
Declaration
public bool TryAddAnchor(Pose pose, out XRAnchor anchor)
Parameters
| Type | Name | Description |
|---|---|---|
| Pose | pose | The pose, in session space, of the new anchor. |
| XRAnchor | anchor | The new anchor. Only valid if this method returns true. |
Returns
| Type | Description |
|---|---|
| bool |