Creates a cylindrical billboard that rotates around a specified axis.
シンタックス
'宣言
Public Shared Sub ConstrainedBillboardRef( _
ByRef As Matrix4x4, _
ByRef As Vector3, _
ByRef As Vector3, _
ByRef As Vector3, _
ByRef As Vector3, _
ByRef As Vector3 _
)
public static void ConstrainedBillboardRef(
out Matrix4x4 ,
ref Vector3 ,
ref Vector3 ,
ref Vector3 ,
ref Vector3 ,
ref Vector3
)
パラメータ
- 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.
参照