Calculate XRCamera Root Transform

Calculate XRCamera Root Transform

Windows
MacOS
Linux

Calculates the transform to be used to align coordinate spaces of connected clients.

The result should be set as the world transform of the parent of the camera component. This function is a BlueprintNativeEvent, override to implement a custom behavior. Default implementation -> inv(inv(AlignmentTransform) * ClientPinTransform) and uses only yaw component in rotation to ensure up vector alignes with gravity. The result is an average of the calculated transforms for each shared pin.

Target is Magic Leap Shared World Game State

Calculate XRCamera Root Transform
Target
Return Value

Inputs

Target
Magic Leap Shared World Game State Object Reference

Outputs

Return Value
Transform

Alignment transform to be applied to the camera component parent.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss