SlimDX Documentation
Billboard Method (objectPosition, cameraPosition, cameraUpVector, cameraForwardVector, result)
NamespacesSlimDXMatrixBillboard(Vector3%, Vector3%, Vector3%, Vector3%, Matrix%)
Creates a spherical billboard that rotates around a specified object position.
Declaration Syntax
C#
public static void Billboard(
	ref Vector3 objectPosition,
	ref Vector3 cameraPosition,
	ref Vector3 cameraUpVector,
	ref Vector3 cameraForwardVector,
	out Matrix result
)
Parameters
objectPosition (Vector3%)
The position of the object around which the billboard will rotate.
cameraPosition (Vector3%)
The position of the camera.
cameraUpVector (Vector3%)
The up vector of the camera.
cameraForwardVector (Vector3%)
The forward vector of the camera.
result (Matrix%)
When the method completes, contains the created billboard matrix.

Assembly: SlimDX (Module: SlimDX) Version: 2.0.11.43