Drag[en]gine Script Module DragonScript
1.23
|
Floating point value element class property for use with XML loading. More...
Public Member Functions | |
void | copyValue (ElementClass elementClass, ElementClassProperty property) |
Copy value from another element class property of the same type. More... | |
bool | getEnableLimitLower () |
Enable lower limit. More... | |
bool | getEnableLimitUpper () |
Enable upper limit. More... | |
float | getLimitLower () |
Lower limit. More... | |
float | getLimitUpper () |
Upper limit. More... | |
float | getValue () |
Value. More... | |
float | getValue (StubWithProperties stub) |
Floating point value modified by stub property if present. More... | |
ECPFloat | new (String name, float value) |
Create property. More... | |
ECPFloat | new (String name, float value, float lowerLimit) |
Create property. More... | |
ECPFloat | new (String name, float value, float lowerLimit, float upperLimit) |
Create property. More... | |
void | setEnableLimitLower (bool enable) |
Set enable lower limit. More... | |
void | setEnableLimitUpper (bool enable) |
Set enable upper limit. More... | |
void | setLimitLower (float limit) |
Set lower limit. More... | |
void | setLimits (bool enableLower, float limitLower, bool enableUpper, float limitUpper) |
Set limits. More... | |
void | setLimitUpper (float limit) |
Set upper limit. More... | |
void | setValue (Object value) |
Set value of property from XML decoded value. More... | |
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty | |
void | dispose () |
Dispose of element class property to break reference loops. More... | |
String | getName () |
Name. More... | |
bool | logPreloadProblems (ElementClass elementClass, Console console) |
Log preloading problems. More... | |
ElementClassProperty | new (String name) |
Create property. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
Floating point value element class property for use with XML loading.
void Dragengine.Scenery.ECPFloat.copyValue | ( | ElementClass | elementClass, |
ElementClassProperty | property | ||
) |
Copy value from another element class property of the same type.
bool Dragengine.Scenery.ECPFloat.getEnableLimitLower | ( | ) |
Enable lower limit.
bool Dragengine.Scenery.ECPFloat.getEnableLimitUpper | ( | ) |
Enable upper limit.
float Dragengine.Scenery.ECPFloat.getLimitLower | ( | ) |
Lower limit.
float Dragengine.Scenery.ECPFloat.getLimitUpper | ( | ) |
Upper limit.
float Dragengine.Scenery.ECPFloat.getValue | ( | ) |
Value.
float Dragengine.Scenery.ECPFloat.getValue | ( | StubWithProperties | stub | ) |
Floating point value modified by stub property if present.
If named stub property is not present or empty string the stored value is returned. If the named stub property is present it is returned.
ECPFloat Dragengine.Scenery.ECPFloat.new | ( | String | name, |
float | value | ||
) |
Create property.
ECPFloat Dragengine.Scenery.ECPFloat.new | ( | String | name, |
float | value, | ||
float | lowerLimit | ||
) |
Create property.
ECPFloat Dragengine.Scenery.ECPFloat.new | ( | String | name, |
float | value, | ||
float | lowerLimit, | ||
float | upperLimit | ||
) |
Create property.
void Dragengine.Scenery.ECPFloat.setEnableLimitLower | ( | bool | enable | ) |
Set enable lower limit.
void Dragengine.Scenery.ECPFloat.setEnableLimitUpper | ( | bool | enable | ) |
Set enable upper limit.
void Dragengine.Scenery.ECPFloat.setLimitLower | ( | float | limit | ) |
Set lower limit.
void Dragengine.Scenery.ECPFloat.setLimits | ( | bool | enableLower, |
float | limitLower, | ||
bool | enableUpper, | ||
float | limitUpper | ||
) |
Set limits.
void Dragengine.Scenery.ECPFloat.setLimitUpper | ( | float | limit | ) |
Set upper limit.
void Dragengine.Scenery.ECPFloat.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.