Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.ECPFloat Class Reference

Floating point value element class property for use with XML loading. More...

Inheritance diagram for Dragengine.Scenery.ECPFloat:
Dragengine.Scenery.ElementClassProperty

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...
 

Detailed Description

Floating point value element class property for use with XML loading.

Member Function Documentation

◆ copyValue()

void Dragengine.Scenery.ECPFloat.copyValue ( ElementClass  elementClass,
ElementClassProperty  property 
)

Copy value from another element class property of the same type.

Version
1.17

◆ getEnableLimitLower()

bool Dragengine.Scenery.ECPFloat.getEnableLimitLower ( )

Enable lower limit.

◆ getEnableLimitUpper()

bool Dragengine.Scenery.ECPFloat.getEnableLimitUpper ( )

Enable upper limit.

◆ getLimitLower()

float Dragengine.Scenery.ECPFloat.getLimitLower ( )

Lower limit.

◆ getLimitUpper()

float Dragengine.Scenery.ECPFloat.getLimitUpper ( )

Upper limit.

◆ getValue() [1/2]

float Dragengine.Scenery.ECPFloat.getValue ( )

Value.

◆ getValue() [2/2]

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.

◆ new() [1/3]

ECPFloat Dragengine.Scenery.ECPFloat.new ( String  name,
float  value 
)

Create property.

◆ new() [2/3]

ECPFloat Dragengine.Scenery.ECPFloat.new ( String  name,
float  value,
float  lowerLimit 
)

Create property.

◆ new() [3/3]

ECPFloat Dragengine.Scenery.ECPFloat.new ( String  name,
float  value,
float  lowerLimit,
float  upperLimit 
)

Create property.

◆ setEnableLimitLower()

void Dragengine.Scenery.ECPFloat.setEnableLimitLower ( bool  enable)

Set enable lower limit.

◆ setEnableLimitUpper()

void Dragengine.Scenery.ECPFloat.setEnableLimitUpper ( bool  enable)

Set enable upper limit.

◆ setLimitLower()

void Dragengine.Scenery.ECPFloat.setLimitLower ( float  limit)

Set lower limit.

◆ setLimits()

void Dragengine.Scenery.ECPFloat.setLimits ( bool  enableLower,
float  limitLower,
bool  enableUpper,
float  limitUpper 
)

Set limits.

◆ setLimitUpper()

void Dragengine.Scenery.ECPFloat.setLimitUpper ( float  limit)

Set upper limit.

◆ setValue()

void Dragengine.Scenery.ECPFloat.setValue ( Object  value)

Set value of property from XML decoded value.

Reimplemented from Dragengine.Scenery.ElementClassProperty.


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