Bitmap for WPF
ConstrainedBillboardRef メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX 名前空間 > Matrix4x4 構造体 : ConstrainedBillboardRef メソッド
The billboard matrix.
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 Sub ConstrainedBillboardRef( _
   ByRef result As Matrix4x4, _
   ByRef objectPosition As Vector3, _
   ByRef cameraPosition As Vector3, _
   ByRef rotateAxis As Vector3, _
   ByRef cameraForwardVector As Vector3, _
   ByRef objectForwardVector As Vector3 _
) 
public static void ConstrainedBillboardRef( 
   out Matrix4x4 result,
   ref Vector3 objectPosition,
   ref Vector3 cameraPosition,
   ref Vector3 rotateAxis,
   ref Vector3 cameraForwardVector,
   ref Vector3 objectForwardVector
)

パラメータ

result
The billboard matrix.
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.
参照

Matrix4x4 構造体
Matrix4x4 メンバ