Bitmap for WPF
ConstrainedBillboard メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX 名前空間 > Matrix4x4 構造体 : ConstrainedBillboard メソッド
The position of the object that the billboard will rotate around.
The position of the camera.
The axis to rotate the billboard around.
The forward vector of the camera.
The forward vector of the object.
Creates a cylindrical billboard that rotates around a specified axis.
シンタックス
'宣言
 
Public Shared Function ConstrainedBillboard( _
   ByVal objectPosition As Vector3, _
   ByVal cameraPosition As Vector3, _
   ByVal rotateAxis As Vector3, _
   ByVal cameraForwardVector As Vector3, _
   ByVal objectForwardVector As Vector3 _
) As Matrix4x4
public static Matrix4x4 ConstrainedBillboard( 
   Vector3 objectPosition,
   Vector3 cameraPosition,
   Vector3 rotateAxis,
   Vector3 cameraForwardVector,
   Vector3 objectForwardVector
)

パラメータ

objectPosition
The position of the object that the billboard will rotate around.
cameraPosition
The position of the camera.
rotateAxis
The axis to rotate the billboard around.
cameraForwardVector
The forward vector of the camera.
objectForwardVector
The forward vector of the object.

戻り値の型

The billboard matrix.
参照

Matrix4x4 構造体
Matrix4x4 メンバ