command
Version:
v0.0.0-...-37710a6
Opens a new window with list of versions in this module.
Published: Mar 8, 2016
License: BSD-2-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
HUD Demo
What does it do?
It demonstrates how one can have Entity
s that aren't affected by the camera movement.
For doing so, it created a green background -- which will be affected, and a violet sidebar, which won't be affected.
What are important aspects of the code?
These lines are key in this demo:
fieldRender.SetPriority(hudBackgroundPriority)
, to make sure the violet sidebar is rendered as HUD;
hudBackgroundPriority = engi.PriorityLevel(engi.HUDGround)
, which defined hudBackgroundPriority
.
- any value between
engi.HUDGround
and engi.HighestGround
is rendered as HUD.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.