![]() |
Plasma Engine
2.0
|
Public Member Functions | |
plOpenXRSpatialAnchors (plOpenXR *pOpenXR) | |
plXRSpatialAnchorID | CreateAnchor (const plTransform &globalTransform) override |
Creates a spatial anchor at the given world space position. Returns an invalid handle if anchors can't be created right now. Retry next frame. | |
plResult | DestroyAnchor (plXRSpatialAnchorID id) override |
Destroys a previously created anchor. | |
plResult | TryGetAnchorTransform (plXRSpatialAnchorID id, plTransform &out_globalTransform) override |
Tries to resolve the anchor position. Can fail of the anchor is invalid or tracking is currently lost. | |
Friends | |
class | plOpenXR |
|
overridevirtual |
Creates a spatial anchor at the given world space position. Returns an invalid handle if anchors can't be created right now. Retry next frame.
Implements plXRSpatialAnchorsInterface.
|
overridevirtual |
Destroys a previously created anchor.
Implements plXRSpatialAnchorsInterface.
|
overridevirtual |
Tries to resolve the anchor position. Can fail of the anchor is invalid or tracking is currently lost.
Implements plXRSpatialAnchorsInterface.