Method TryAddAnchor
TryAddAnchor(Pose, out XRAnchor)
Should create a new anchor with the provided pose.
Declaration
public virtual 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. Must be valid only if this method returns |
Returns
| Type | Description |
|---|---|
| bool | Should return |