HolographicQuadLayerUpdateParameters.UpdateLocationWithDisplayRelativeMode Method

Definition

Updates the center location of this quad layer relative to the center of the displays, setting it to remain at that display-relative location in future frames.

public:
 virtual void UpdateLocationWithDisplayRelativeMode(float3 position, quaternion orientation) = UpdateLocationWithDisplayRelativeMode;
void UpdateLocationWithDisplayRelativeMode(float3 const& position, quaternion const& orientation);
public void UpdateLocationWithDisplayRelativeMode(Vector3 position, Quaternion orientation);
function updateLocationWithDisplayRelativeMode(position, orientation)
Public Sub UpdateLocationWithDisplayRelativeMode (position As Vector3, orientation As Quaternion)

Parameters

position
Vector3 Vector3

float3

A point for the center of the quad plane, specified relative to the center of the displays.

orientation
Quaternion Quaternion

quaternion

A rotation for the normal of the quad plane, specified relative to a normal facing the displays.

Remarks

For a display-relative quad, the app calls UpdateLocationWithDisplayRelativeMode to specify the spatial position and orientation in world coordinates relative to the center of the displays.

You must also call UpdateExtents to specify the width and height of the quad layer, centered around this point.

Applies to