Share via


IXRPlaneProjection::GetCenterOfRotationZ (Compact 7)

3/12/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE GetCenterOfRotationZ(
    float* pCenterOfRotationZ
) = 0;

Parameters

  • pCenterOfRotationZ
    [out] Pointer to the z-coordinate of the center of rotation of the object to rotate. The range of values is from 0 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