|
vtlib library
|

Public Member Functions | |
| vtHUD (bool bPixelCoords=true) | |
Public Member Functions inherited from NodeExtension | |
| void | SetEnabled (bool bOn) |
| bool | GetEnabled () const |
| void | SetCastShadow (bool b) |
| Set this node to cast a shadow, if it is under a vtShadow node. Default is false. | |
| bool | GetCastShadow () |
| Get whether this node casts a shadow. | |
| void | GetBoundSphere (FSphere &sphere, bool bGlobal=false) |
| Get the Bounding Sphere of the node. | |
A HUD ("heads-up display") is a group whose whose children are transformed to be drawn in window coordinates, rather than world coordinates.
| vtHUD::vtHUD | ( | bool | bPixelCoords = true | ) |
Create a HUD node. A HUD ("heads-up display") is a group whose whose children are transformed to be drawn in window coordinates, rather than world coordinates.
You should only ever create one HUD node in your scenegraph.
| bPixelCoords | If true, the child transforms should be interpreted as pixel coordinates, from (0,0) in the lower-left of the viewpoint. Otherwise, they are considered in normalized window coordinates, from (0,0) in the lower-left to (1,1) in the upper right. |
1.8.10