BoundingSphere::Transform(BoundingSphere&,float,FXMVECTOR,FXMVECTOR) function (directxcollision.h)

Transforms the BoundingSphere using the specified scale, rotation and translation vectors.

Syntax

void XM_CALLCONV Transform(
  [out, ref] BoundingSphere & Out,
  [in]       float            Scale,
  [in]       FXMVECTOR        Rotation,
  [in]       FXMVECTOR        Translation
) noexcept;

Parameters

[out, ref] Out

The transformed BoundingSphere.

[in] Scale

The value to scale the BoundingSphere by.

[in] Rotation

The value to rotate the BoundingSphere by.

[in] Translation

The value to translate the BoundingSphere by.

Return value

This method does not return a value.

Remarks

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

Requirements

Requirement Value
Target Platform Windows
Header directxcollision.h

See also

BoundingSphere

Reference

Transform