Partager via


IXRPlaneProjection::SetGlobalOffsetZ (Compact 2013)

3/28/2014

This method sets the translation distance of the object along the z-axis of the screen.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetGlobalOffsetZ(
    float GlobalOffsetZ
) = 0;

Parameters

  • GlobalOffsetZ
    [in] Translation distance of the object along the z-axis of the window.

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.GlobalOffsetZ

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPlaneProjection