Script v1_7_1_0
- AI
- Animals
- Collections
- Contracts
- Debug
- Economy
- Elements
- EnvironmentalScore
- Errors
- Events
- GUI
- Handtools
- Hud
- I3d
- Input
- Jobs
- Maps
- Materials
- Misc
- Objects
- Parameters
- Placeables
- Placement
- Player
- Shop
- Sounds
- Specialization
- Specializations
- StateMachine
- Statistics
- Tasks
- Triggers
- Utils
- Vehicles
Engine v1_7_1_0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- general
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- NoteNode
- Overlays
- Particle System
- Physics
- Rendering
- Scenegraph
- Shape
- Sound
- Spline
- String
- Terrain Detail
- Text Rendering
- Tire Track
- VoiceChat
- XML
Foundation Reference
InfoHUDBox
DescriptionInfo boxFunctions
canDraw
DescriptionDefinitioncanDraw()Code
36 | function InfoHUDBox:canDraw() |
37 | return true |
38 | end |
delete
DescriptionDefinitiondelete()Code
27 | function InfoHUDBox:delete() |
28 | end |
draw
DescriptionDefinitiondraw()Code
49 | function InfoHUDBox:draw(posX, posY) |
50 | end |
getDisplayHeight
DescriptionGet this HUD extension's display height.Definition
getDisplayHeight()Return Values
float | Display | height in screen space |
43 | function InfoHUDBox:getDisplayHeight() |
44 | return 0 |
45 | end |
new
DescriptionDefinitionnew()Code
15 | function InfoHUDBox.new(classMt, uiScale) |
16 | local self = setmetatable({}, classMt or InfoHUDBox_mt) |
17 | |
18 | self.uiScale = uiScale |
19 | |
20 | self:setScale(uiScale) |
21 | |
22 | return self |
23 | end |
setScale
DescriptionDefinitionsetScale()Code
58 | function InfoHUDBox:setScale(uiScale) |
59 | end |
storeScaledValues
DescriptionDefinitionstoreScaledValues()Code
63 | function InfoHUDBox:storeScaledValues() |
64 | end |