SlimDX Documentation
Billboard Method (objectPosition, cameraPosition, cameraUpVector, cameraForwardVector)
NamespacesSlimDXMatrixBillboard(Vector3, Vector3, Vector3, Vector3)
Creates a spherical billboard that rotates around a specified object position.
Declaration Syntax
C#
public static Matrix Billboard(
	Vector3 objectPosition,
	Vector3 cameraPosition,
	Vector3 cameraUpVector,
	Vector3 cameraForwardVector
)
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.
Return Value
The created billboard matrix.

Assembly: SlimDX (Module: SlimDX) Version: 2.0.11.43