This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dragengine:modules:dragonscript:xmlguitheme:parameters [2018/02/27 15:08] – [Font] dragonlord | dragengine:modules:dragonscript:xmlguitheme:parameters [2024/03/14 16:52] (current) – dragonlord | ||
---|---|---|---|
Line 6: | Line 6: | ||
Parameters define a value of a specific type to assign to a parameter by name. The last set values for a particular parameter name is used in the end. The supported types are described here. In general all attributes are optional unless marked otherwise. Not defined attributes use the default value. | Parameters define a value of a specific type to assign to a parameter by name. The last set values for a particular parameter name is used in the end. The supported types are described here. In general all attributes are optional unless marked otherwise. Not defined attributes use the default value. | ||
+ | The loader script tries to set the parameter using the provided type. If the parameter does not understand the provided value an exception is thrown. The loader script prints out such problems to the game console and tries to continue if possible. In some cases it is though not possible to continue without a properly set value. While working with parameters always watch the game console to see if some parameters are not properly understood or invalid. | ||
===== Integer ===== | ===== Integer ===== | ||
Sets an integer value. | Sets an integer value. | ||
Line 125: | Line 126: | ||
===== Border Size ===== | ===== Border Size ===== | ||
- | Sets a BorderSize parameter. | + | Sets a BorderSize parameter. |
<code xml> | <code xml> | ||
Line 136: | Line 137: | ||
===== Point ===== | ===== Point ===== | ||
- | Sets a Point parameter. | + | Sets a Point parameter. |
<code xml> | <code xml> |