ParticleAffector

From oWiki

Jump to: navigation, search

Contents


Attributes

i

int  ( r )
The index of this ParticleAffector.


Methods

getType()

Return: string

Returns the name of the type of affector.

getParameters()

Return: object

Retrieves a list of parameters valid for this object.

getParameter( name )

name: string
Return: object

Retrieves a parameter by name.
Call this method with the name of a parameter to retrieve a string-format value of the parameter in question. If in doubt, check the parameter definition in the list returned from getParameters for the type of this parameter.

setParameter( name, value )

name: string
value: string or object

Sets a parameter by name.
Call this method with the name of a parameter and a string version of the value to set. The implementor will convert the string to a native type internally.
Personal tools