Click or drag to resize
UserInterface Properties

The UserInterface type exposes the following members.

Properties
  NameDescription
Public propertyCurrGameTime
Get current game time value.
Public propertyGlobalScale
Scale the entire UI and all the entities in it. This is useful for smaller device screens.
Public propertyRenderTarget
Get the main render target all the UI draws on.
Public propertyRoot
Get the root entity.
Public propertyTargetEntity
The current target entity, eg what cursor points on. Can be null if cursor don't point on any entity.
Public propertyUseRenderTarget
If true, will draw the UI on a render target before drawing on screen. This mode is required for some of the features.
Top
See Also