Compartilhar via


IXRPlaneProjection::SetCenterOfRotationZ (Compact 2013)

3/28/2014

This method sets the z-coordinate of the center of rotation of the object to rotate.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetCenterOfRotationZ(
    float CenterOfRotationZ
) = 0;

Parameters

  • CenterOfRotationZ
    [in] Z-coordinate of the newly set center of rotation of the object to rotate. Its values range from 0 (zero) to 1.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

To define the center of rotation for a three-dimensional transformation, use IXRPlaneProjection::SetCenterOfRotationX, IXRPlaneProjection::SetCenterOfRotationY, and IXRPlaneProjection::SetCenterOfRotationZ.

.NET Framework Equivalent

System.Windows.Media.PlaneProjection.CenterOfRotationZ

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPlaneProjection