Partager via


IXRPlaneProjection::SetLocalOffsetZ (Compact 2013)

3/28/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetLocalOffsetZ(
    float LocalOffsetZ
) = 0;

Parameters

  • LocalOffsetZ
    [in] Distance of the translation of the object along the z-axis of the object.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

To move an object along one of the three-dimensional planes relative to that object, use IXRPlaneProjection::SetLocalOffsetX, IXRPlaneProjection::SetLocalOffsetY, and IXRPlaneProjection::SetLocalOffsetZ.

.NET Framework Equivalent

System.Windows.Media.PlaneProjection.LocalOffsetZ

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPlaneProjection