Deprecated: Function split() is deprecated in /home/wiki/public_html/inc/common.php on line 533

Warning: Cannot modify header information - headers already sent by (output started at /home/wiki/public_html/inc/common.php:533) in /home/wiki/public_html/inc/actions.php on line 71
tvscene:createbillboard [TV3DWiki]
 

Wiki > TV3D65 Index > TVScene

CreateBillboard

DESCRIPTION

-Creates a billboard mesh. These meshes are 2d meshes in 3d space that are always oriented towards the camera. They are faster to render, so FPS stays up. Use it for health bars and stuff. They ARE actual meshes, so you can treat it like a TVMesh.

DECLARATION

VB.NET CreateBillboard(iTexture As Integer , fPosX As Single , fPosY As Single , fPosZ As Single , fWidth As Single , fHeight As Single , sBillboardMeshName As String , bRotationAtCenter As Boolean) As TVMesh
C++ cTVMesh CreateBillboard(int iTexture , float fPosX , float fPosY , float fPosZ , float fWidth , float fHeight , char* sBillboardMeshName , bool bRotationAtCenter )

PARAMETERS

NAMEOPTIONALDESCRIPTION
iTextureNoiTexture description
fPosXNofPosX description
fPosYNofPosY description
fPosZNofPosZ description
fWidthNofWidth description
fHeightNofHeight description
sBillboardMeshNameYessBillboardMeshName description
bRotationAtCenterYesbRotationAtCenter description

RETURN VALUE

TVMesh Description of what the return value means.

EXAMPLES

ExampleBasic example.

TIPS

  • Please add any notes or tips for this method.
 
tvscene/createbillboard.txt · Last modified: 2011/01/23 17:22 by 91.148.78.199