World.FromPerceptionAnchor

static Pose FromPerceptionAnchor(Object perceptionSpatialAnchor)

   
Object perceptionSpatialAnchor A valid Windows.Perception.Spatial.SpatialAnchor.
RETURNS: Pose A Pose representing the current orientation of the SpatialAnchor.

Converts a Windows.Perception.Spatial.SpatialAnchor’s pose into SteroKit’s coordinate system. This can be great for interacting with some of the UWP spatial APIs such as WorldAnchors.

This method only works on UWP platforms, check SK.System.perceptionBridgePresent to see if this is available.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!