Share via


HolographicQuadLayerUpdateParameters.UpdateExtents(Vector2) Method

Definition

Updates the extents of this quad layer in world coordinates.

public:
 virtual void UpdateExtents(float2 value) = UpdateExtents;
void UpdateExtents(float2 const& value);
public void UpdateExtents(Vector2 value);
function updateExtents(value)
Public Sub UpdateExtents (value As Vector2)

Parameters

value
Vector2 Vector2

float2

The full width and height of the quad layer in meters.

Remarks

You must also call UpdateLocationWithDisplayRelativeMode or UpdateLocationWithStationaryMode to specify the center point for the quad layer. The quad will be displayed centered around that location, with its full width and height specified by these extents.

Note that these extents are distinct from the HolographicQuadLayer's Size property, which defines the pixel size of the texture that backs the quad.

Applies to