Partager via


IXRPlaneProjection::SetLocalOffsetX (Compact 2013)

3/28/2014

This method sets the translation distance of the UI object, which an IXRPlaneProjection object moves along the x-axis of the object.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetLocalOffsetX(
    float LocalOffsetX
) = 0;

Parameters

  • LocalOffsetX
    [in] Translation distance of the UI object, which an IXRPlaneProjection object moves along the x-axis of the object.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

To move an object in the three-dimensional space of that object, use three methods: IXRPlaneProjection::SetLocalOffsetX, IXRPlaneProjection::SetLocalOffsetY, and IXRPlaneProjection::SetLocalOffsetZ.

.NET Framework Equivalent

System.Windows.Media.PlaneProjection.LocalOffsetX

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPlaneProjection