Share via


IXRPlaneProjection::GetGlobalOffsetX (Compact 7)

3/12/2014

This method retrieves the translation distance of the object along the x-axis of the screen.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetGlobalOffsetX(
    float* pGlobalOffsetX
) = 0;

Parameters

  • pGlobalOffsetX
    [out] Pointer to the translation distance of the object along the x-axis of the screen.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

To create a transformation that moves an object in three-dimensional space, use IXRPlaneProjection::SetGlobalOffsetX, IXRPlaneProjection::SetGlobalOffsetY, and IXRPlaneProjection::SetGlobalOffsetZ.

.NET Framework Equivalent

System.Windows.Media.PlaneProjection.GlobalOffsetX

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPlaneProjection