Particle3DAffector is a base class, define interfaces. More...
Inherits Ref.
Inherited by PUAffector.
Public Member Functions | |
virtual void | updateAffector (Particle3D *particle, float deltaTime) |
Update affector(internal method). More... | |
var | updateAffector ( var particle, var deltaTime) |
Update affector(internal method). More... | |
local | updateAffector ( local particle, local deltaTime) |
Update affector(internal method). More... | |
void | setEnabled (bool enabled) |
Set the affector enable or disable. More... | |
bool | isEnabled (void) const |
Get the affector enabled. 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... | |
Particle3DAffector is a base class, define interfaces.
Specific implementation decisions by different affectors. Affector is mainly bound particles behavior after being launch, such as acceleration, rotation, etc. One particle system works well without affector.
|
virtual |
Update affector(internal method).
The current particle. The delta time between two frames.
|
virtual |
Update affector(internal method).
The current particle. The delta time between two frames.
|
virtual |
Update affector(internal method).
The current particle. The delta time between two frames.
|
inline |
Set the affector enable or disable.
Whether the affector enabled.
|
inline |
Set the affector enable or disable.
Whether the affector enabled.
|
inline |
Set the affector enable or disable.
Whether the affector enabled.
|
inline |
Get the affector enabled.
Whether the affector enabled.
|
inline |
Get the affector enabled.
Whether the affector enabled.
|
inline |
Get the affector enabled.
Whether the affector enabled.