Script v1.4.4.0
Engine v7.0.0.2
- General
- Entity
- Node
- Scenegraph
- Lighting
- Camera
- Shape
- Particle System
- Physics
- Spline
- Animation
- Overlays
- Sound
- Input
- XML
- Network
- Callbacks
- Text Rendering
- getCanRenderUnicode
- getTextHeight
- getTextLength
- getTextLineLength
- getTextWidth
- renderText
- setTextAlignment
- setTextBold
- setTextColor
- setTextLineBounds
- setTextWidthScale
- setTextWidthScale
- setTextWrapWidth
- Terrain Detail
- Tire Track
- Editor
- Rendering
- String
- Math
- I3D
- Fillplanes
Foundation Reference
setTextColor
DescriptionSet the text color to be used for the following renderText callsDefinition
setTextColor(float r, float g, float b, float a)Arguments
float | r | red color component [0, 1] |
float | g | green color component [0, 1] |
float | b | blue color component [0, 1] |
float | a | alpha (opacity) [0, 1] |