This class is an implementation of the DynamicAttribute class in its most simple form. More...
Inherits PUDynamicAttribute.
Public Member Functions | |
PUDynamicAttributeFixed (void) | |
Constructor. | |
PUDynamicAttributeFixed () | |
Constructor. | |
PUDynamicAttributeFixed () | |
Constructor. | |
PUDynamicAttributeFixed (const PUDynamicAttributeFixed &dynamicAttributeFixed) | |
Copy constructor. | |
~PUDynamicAttributeFixed (void) | |
Destructor. | |
virtual float | getValue (float x=0) override |
override | |
virtual void | setValue (float value) |
Set the fixed value. More... | |
local | setValue ( local value) |
Set the fixed value. More... | |
virtual PUDynamicAttributeFixed * | clone () override |
override | |
virtual void | copyAttributesTo (PUDynamicAttribute *dynamicAttribute) override |
override | |
local | copyAttributesTo ( local dynamicAttribute) |
override | |
Public Member Functions inherited from PUDynamicAttribute | |
PUDynamicAttribute (void) | |
Constructor. | |
virtual | ~PUDynamicAttribute (void) |
Destructor. | |
DynamicAttributeType | getType (void) const |
Get the type of dynamic attribute. More... | |
local | getType () |
Get the type of dynamic attribute. More... | |
void | setType (DynamicAttributeType type) |
Set the type of dynamic attribute. More... | |
bool | isValueChangedExternally (void) const |
Returns true if one of the attributes was changed by an external source. More... | |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
local | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
local | getReferenceCount () |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Destructor. | |
Additional Inherited Members | |
Public Attributes inherited from Ref | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
local | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
local | _luaID |
Lua reference id. | |
void * | _scriptObject |
scriptObject, support for swift | |
local | _scriptObject |
scriptObject, support for swift | |
bool | _rooted |
When true, it means that the object was already rooted. | |
local | _rooted |
When true, it means that the object was already rooted. | |
bool | _scriptOwned |
The life of the object is scrolled by the scripting engine. More... | |
local | _scriptOwned |
The life of the object is scrolled by the scripting engine. More... | |
This class is an implementation of the DynamicAttribute class in its most simple form.
It just returns a value that has previously been set.Although use of a regular attribute within the class that needs it is preferred, its benefit is that it makes use of the generic 'getValue' mechanism of a DynamicAttribute.
|
virtual |
Set the fixed value.
The fixed value.
|
virtual |
Set the fixed value.
The fixed value.
|
virtual |
Set the fixed value.
The fixed value.