Trackmania ManiaScript Reference 2024.9.17.1117
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CMlGauge Class Reference

Manialink control. More...

#include <doc.h>

Inheritance diagram for CMlGauge:
[legend]

Public Member Functions

Void SetRatio (Real NewRatio)
 
Void SetClan (Integer NewClan)
 
- Public Member Functions inherited from CMlControl
Boolean HasClass (Text Class)
 
Boolean DataAttributeExists (Text DataName)
 
Text DataAttributeGet (Text DataName)
 
Void DataAttributeSet (Text DataName, Text DataValue)
 
Void Show ()
 
Void Hide ()
 
Void Focus ()
 
Void ScriptEvents_Disable ()
 
Void ScriptEvents_Restore ()
 

Public Attributes

Text Style
 
Real Ratio
 
Real GradingRatio
 
Integer Clan
 
Vec3 Color
 
Boolean DrawBackground
 
Boolean DrawBlockBackground
 
Boolean CenteredBar
 
- Public Attributes inherited from CMlControl
CMlFrame *const Parent
 
Text const ControlId
 
Vec2 Size
 
CMlControl::AlignHorizontal HorizontalAlign
 
CMlControl::AlignVertical VerticalAlign
 
Boolean Visible
 
Vec2 RelativePosition_V3
 
Real ZIndex
 
Real RelativeScale
 
Real RelativeRotation
 
Vec2 const AbsolutePosition_V3
 
Real const AbsoluteScale
 
Real const AbsoluteRotation
 
Text ToolTip
 
Boolean const IsFocused
 
- Public Attributes inherited from CNod
Ident const Id
 

Additional Inherited Members

- Public Types inherited from CMlControl
enum  AlignHorizontal { Left , HCenter , Right , None }
 
enum  AlignVertical {
  Top , VCenter , Bottom , None ,
  VCenter2
}
 

Detailed Description

Manialink control.

Supported declare modes :

  • Local

Member Data Documentation

◆ GradingRatio

Real CMlGauge::GradingRatio

Values in range (0.000000-1.000000)

◆ Ratio

Real CMlGauge::Ratio

Values in range (0.000000-1.000000)


The documentation for this class was generated from the following file: