Method TryAddAnchor
TryAddAnchor(Pose, out XRAnchor)
Attempts to create a new anchor with the provide 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 |
Returns
Type | Description |
---|---|
bool |
|