---
UID: NF:directxcollision.BoundingSphere.Transform
title: BoundingSphere::Transform
description: Transforms the BoundingSphere.
ms.date: 04/22/19
ms.keywords: BoundingSphere::Transform
f1_keywords:
- directxcollision/BoundingSphere::Transform
dev_langs:
- c++
targetos: Windows
req.assembly: 
req.construct-type: function
req.ddi-compliance: 
req.dll: 
req.header: directxcollision.h
req.idl: 
req.include-header: 
req.irql: 
req.kmdf-ver: 
req.lib: 
req.max-support: 
req.namespace: 
req.redist: 
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.target-type: 
req.type-library: 
req.umdf-ver: 
req.unicode-ansi: 
topic_type:
- apiref
api_type:
- 
api_location:
- directxcollision.h
api_name:
- BoundingSphere::Transform
---

# BoundingSphere.Transform(BoundingSphere&, XMMATRIX) method

## -description

Transforms the **BoundingSphere**.

## -parameters

### -param Out

The transformed **BoundingSphere**.

### -param M

The transformation matrix.

## -returns

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.

## -see-also

[BoundingSphere](ns-directxcollision-boundingsphere.md)
