#include <CCPUDynamicAttribute.h>
Public Types | |
| enum | OscillationType { OSCT_SINE, OSCT_SQUARE } |
Public Types inherited from PUDynamicAttribute | |
| enum | DynamicAttributeType { DAT_FIXED, DAT_RANDOM, DAT_CURVED, DAT_OSCILLATE } |
Public Member Functions | |
| PUDynamicAttributeOscillate (void) | |
| Constructor. More... | |
| PUDynamicAttributeOscillate (const PUDynamicAttributeOscillate &dynamicAttributeOscillate) | |
| Copy constructor. More... | |
| ~PUDynamicAttributeOscillate (void) | |
| Destructor. More... | |
| virtual float | getValue (float x=0) override |
| Todo. More... | |
| var | getValue ( var 0) |
| Todo. More... | |
| local | getValue ( local 0) |
| Todo. More... | |
| OscillationType | getOscillationType (void) const |
| Get and set the OscillationType. More... | |
| local | getOscillationType () |
| Get and set the OscillationType. More... | |
| void | setOscillationType (OscillationType oscillationType) |
| float | getFrequency (void) const |
| Get and set the Frequency. More... | |
| void | setFrequency (float frequency) |
| float | getPhase (void) const |
| Get and set the Phase. More... | |
| void | setPhase (float phase) |
| float | getBase (void) const |
| Get and set the Base. More... | |
| var | getBase () |
| Get and set the Base. More... | |
| local | getBase () |
| Get and set the Base. More... | |
| void | setBase (float base) |
| float | getAmplitude (void) const |
| Get and set the Amplitude. More... | |
| var | getAmplitude () |
| Get and set the Amplitude. More... | |
| local | getAmplitude () |
| Get and set the Amplitude. More... | |
| void | setAmplitude (float amplitude) |
| virtual PUDynamicAttributeOscillate * | 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 | |
| OscillationType | _oscillationType |
| float | _frequency |
| float | _phase |
| float | _base |
| float | _amplitude |
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 | |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
| enum OscillationType |
| var OscillationType |
| local OscillationType |
| PUDynamicAttributeOscillate | ( | void | ) |
Constructor.
| var PUDynamicAttributeOscillate | ( | ) |
Constructor.
| local PUDynamicAttributeOscillate | ( | ) |
Constructor.
| PUDynamicAttributeOscillate | ( | const PUDynamicAttributeOscillate & | dynamicAttributeOscillate | ) |
Copy constructor.
| var PUDynamicAttributeOscillate | ( | var | dynamicAttributeOscillate | ) |
Copy constructor.
| local PUDynamicAttributeOscillate | ( | local | dynamicAttributeOscillate | ) |
Copy constructor.
| ~PUDynamicAttributeOscillate | ( | void | ) |
Destructor.
| var ~PUDynamicAttributeOscillate | ( | ) |
Destructor.
| local ~PUDynamicAttributeOscillate | ( | ) |
Destructor.
|
overridevirtual |
Implements PUDynamicAttribute.
|
overridevirtual |
Implements PUDynamicAttribute.
|
overridevirtual |
Implements PUDynamicAttribute.
|
overridevirtual |
Implements PUDynamicAttribute.
|
overridevirtual |
Implements PUDynamicAttribute.
|
overridevirtual |
Implements PUDynamicAttribute.
| float getAmplitude | ( | void | ) | const |
Get and set the Amplitude.
| var getAmplitude | ( | ) |
Get and set the Amplitude.
| local getAmplitude | ( | ) |
Get and set the Amplitude.
| float getBase | ( | void | ) | const |
Get and set the Base.
| var getBase | ( | ) |
Get and set the Base.
| local getBase | ( | ) |
Get and set the Base.
| float getFrequency | ( | void | ) | const |
Get and set the Frequency.
| var getFrequency | ( | ) |
Get and set the Frequency.
| local getFrequency | ( | ) |
Get and set the Frequency.
| OscillationType getOscillationType | ( | void | ) | const |
Get and set the OscillationType.
| var getOscillationType | ( | ) |
Get and set the OscillationType.
| local getOscillationType | ( | ) |
Get and set the OscillationType.
| float getPhase | ( | void | ) | const |
Get and set the Phase.
| var getPhase | ( | ) |
Get and set the Phase.
| local getPhase | ( | ) |
Get and set the Phase.
|
overridevirtual |
Todo.
Implements PUDynamicAttribute.
|
overridevirtual |
Todo.
Implements PUDynamicAttribute.
|
overridevirtual |
Todo.
Implements PUDynamicAttribute.
| void setAmplitude | ( | float | amplitude | ) |
| var setAmplitude | ( | var | amplitude | ) |
| local setAmplitude | ( | local | amplitude | ) |
| void setBase | ( | float | base | ) |
| var setBase | ( | var | base | ) |
| local setBase | ( | local | base | ) |
| void setFrequency | ( | float | frequency | ) |
| var setFrequency | ( | var | frequency | ) |
| local setFrequency | ( | local | frequency | ) |
| void setOscillationType | ( | OscillationType | oscillationType | ) |
| var setOscillationType | ( | var | oscillationType | ) |
| local setOscillationType | ( | local | oscillationType | ) |
| void setPhase | ( | float | phase | ) |
| var setPhase | ( | var | phase | ) |
| local setPhase | ( | local | phase | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |