次の方法で共有


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

指定したスケール、回転、および平行移動ベクトルを使用して BoundingSphere を変換します。

構文

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

パラメーター

[out, ref] Out

変換された BoundingSphere。

[in] Scale

BoundingSphere をスケーリングする値。

[in] Rotation

BoundingSphere を回転させる値。

[in] Translation

BoundingSphere を変換する値。

戻り値

このメソッドは値を返しません。

解説

プラットフォームの要件

Microsoft Visual Studio 2010 または Microsoft Visual Studio 2012 と Windows SDK for Windows 8。 Win32 デスクトップ アプリ、Windows ストア アプリ、Windows Phone 8 アプリでサポートされます。

要件

要件
対象プラットフォーム Windows
ヘッダー directxcollision.h

こちらもご覧ください

BoundingSphere

リファレンス

変換