rage game engine free game engine

rglSetDynamicBillboardPropAxis

Sulaco Home
/ News / About Rage 3D / Current Features / Download Rage 3D / License / News Archive / Our Team / Rage 3D Functions / Rage 3D Games / Screen Shots / Tutorials /

Google
 
Web www.rage-game-engine.za.net



Hosting provided by Sulaco New Media Linux Apache Web Hosting - php Website Hosting

 Ads


rglSetDynamicBillboardPropAxis

procedure rglSetDynamicBillboardPropAxis(
const aObjectIndex: Integer;
const aBBCamPosX, aBBCamPosY,aBBCamPosZ : Single;
const aBBCamUpX, aBBCamUpY, aBBCamUpZ : Single;
const aBBAxisX, aBBAxisY, aBBAxisZ : Single );
stdcall;

Set the camera billboard properties of the object and its rotation axis.

Parameters
aObjectIndex - A Reference to one of the previously created dynamic objects
aBBCamPosX, aBBCamPosY,aBBCamPosZ - current position of the camera

aBBCamUpX, aBBCamUpY, aBBCamUpZ - The up vector of the camera.

aAxisX, aAxisY, aAxisZ - the axis that the object should rotate on.

Remark
This flag is implemented for all dynamic objects except animated bone meshes. Only use this when billboard type is RGL-BBT-ARB-AXIS. NB : This is slightly slower than rglSetDynamicBillboardProp and should be avoided if at all possible.



 Ads




SourceForge.net Logo