#include <CCPUDynamicAttribute.h>
Public Member Functions | |
PUDynamicAttributeRandom (void) | |
Constructor. More... | |
PUDynamicAttributeRandom () | |
Constructor. More... | |
PUDynamicAttributeRandom () | |
Constructor. More... | |
PUDynamicAttributeRandom (const PUDynamicAttributeRandom &dynamicAttributeRandom) | |
Copy constructor. More... | |
PUDynamicAttributeRandom ( var dynamicAttributeRandom) | |
Copy constructor. More... | |
PUDynamicAttributeRandom ( local dynamicAttributeRandom) | |
Copy constructor. More... | |
~PUDynamicAttributeRandom (void) | |
Destructor. More... | |
virtual float | getValue (float x=0) override |
Todo. More... | |
void | setMin (float min) |
Todo. More... | |
float | getMin (void) const |
void | setMax (float max) |
float | getMax (void) const |
void | setMinMax (float min, float max) |
virtual PUDynamicAttributeRandom * | clone () override |
local | clone () |
virtual void | copyAttributesTo (PUDynamicAttribute *dynamicAttribute) override |
var | copyAttributesTo ( var dynamicAttribute) |
local | copyAttributesTo ( local dynamicAttribute) |
Public Member Functions inherited from PUDynamicAttribute | |
PUDynamicAttribute (void) | |
Constructor. More... | |
virtual | ~PUDynamicAttribute (void) |
Destructor. More... | |
DynamicAttributeType | getType (void) const |
Todo. More... | |
void | setType (DynamicAttributeType type) |
Todo. 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... | |
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... | |
virtual | ~Ref () |
Destructor. More... | |
Protected Attributes | |
float | _min |
float | _max |
Protected Attributes inherited from PUDynamicAttribute | |
DynamicAttributeType | _type |
bool | _valueChangedExternally |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
local | _referenceCount |
count of references More... | |
Additional Inherited Members | |
Public Types inherited from PUDynamicAttribute | |
enum | DynamicAttributeType { DAT_FIXED, DAT_RANDOM, DAT_CURVED, DAT_OSCILLATE } |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
PUDynamicAttributeRandom | ( | void | ) |
Constructor.
var PUDynamicAttributeRandom | ( | ) |
Constructor.
local PUDynamicAttributeRandom | ( | ) |
Constructor.
PUDynamicAttributeRandom | ( | const PUDynamicAttributeRandom & | dynamicAttributeRandom | ) |
Copy constructor.
var PUDynamicAttributeRandom | ( | var | dynamicAttributeRandom | ) |
Copy constructor.
local PUDynamicAttributeRandom | ( | local | dynamicAttributeRandom | ) |
Copy constructor.
~PUDynamicAttributeRandom | ( | void | ) |
Destructor.
var ~PUDynamicAttributeRandom | ( | ) |
Destructor.
local ~PUDynamicAttributeRandom | ( | ) |
Destructor.
|
overridevirtual |
Implements PUDynamicAttribute.
|
overridevirtual |
Implements PUDynamicAttribute.
|
overridevirtual |
Implements PUDynamicAttribute.
|
overridevirtual |
Implements PUDynamicAttribute.
|
overridevirtual |
Implements PUDynamicAttribute.
|
overridevirtual |
Implements PUDynamicAttribute.
float getMax | ( | void | ) | const |
var getMax | ( | ) |
local getMax | ( | ) |
float getMin | ( | void | ) | const |
var getMin | ( | ) |
local getMin | ( | ) |
|
overridevirtual |
Todo.
Implements PUDynamicAttribute.
|
overridevirtual |
Todo.
Implements PUDynamicAttribute.
|
overridevirtual |
Todo.
Implements PUDynamicAttribute.
void setMax | ( | float | max | ) |
var setMax | ( | var | max | ) |
local setMax | ( | local | max | ) |
void setMin | ( | float | min | ) |
Todo.
var setMin | ( | var | min | ) |
Todo.
local setMin | ( | local | min | ) |
Todo.
void setMinMax | ( | float | min, |
float | max | ||
) |
var setMinMax | ( | var | min, |
var | max | ||
) |
local setMinMax | ( | local | min, |
local | max | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |