Condividi tramite


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

Trasforma l'oggetto BoundingSphere usando i vettori di scalabilità, rotazione e traduzione specificati.

Sintassi

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

Parametri

[out, ref] Out

Oggetto BoundingSphere trasformato.

[in] Scale

Valore da ridimensionare per BoundingSphere.

[in] Rotation

Valore per ruotare l'oggetto BoundingSphere by.

[in] Translation

Valore da tradurre per BoundingSphere.

Valore restituito

Questo metodo non restituisce valori.

Commenti

Requisiti della piattaforma

Microsoft Visual Studio 2010 o Microsoft Visual Studio 2012 con Windows SDK per Windows 8. Supportato per app desktop Win32, app di Windows Store e Windows Phone 8 app.

Requisiti

Requisito Valore
Piattaforma di destinazione Windows
Intestazione directxcollision.h

Vedi anche

Boundingsphere

Riferimento

Trasformare