Method TryAttachReferencePoint
TryAttachReferencePoint(TrackableId, Pose, out XRReferencePoint)
Should create a new reference attached to the trackable with id trackableToAffix
.
The behavior of the reference point depends on the type of trackable to which this reference point is attached and
can be implemenation-defined.
Declaration
public virtual bool TryAttachReferencePoint(TrackableId trackableToAffix, Pose pose, out XRReferencePoint referencePoint)
Parameters
Type | Name | Description |
---|---|---|
TrackableId | trackableToAffix | The id of the trackable to which to attach. |
Pose | pose | The pose, in session space, of the reference point to create. |
XRReferencePoint | referencePoint | The new reference point. Must be valid only if this method returns |
Returns
Type | Description |
---|---|
bool |
|