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
| NAME | OPTIONAL | DESCRIPTION |
| iTexture | No | iTexture description |
| fPosX | No | fPosX description |
| fPosY | No | fPosY description |
| fPosZ | No | fPosZ description |
| fWidth | No | fWidth description |
| fHeight | No | fHeight description |
| sBillboardMeshName | Yes | sBillboardMeshName description |
| bRotationAtCenter | Yes | bRotationAtCenter description |
RETURN VALUE
| TVMesh | Description of what the return value means. |
EXAMPLES
TIPS
- Please add any notes or tips for this method.