|
QSDK 1.1 Documentation |
#include <Q/q.h>
Inheritance diagram for Q::FxInstance:

Public Member Functions | |
| FxInstance () | |
| FxInstance (const char *name) | |
| FxSource | fxSource () const |
| float | generationRate () const |
| bool | overrideGenRate () const |
| Utils::Result | setGenerationRate (float) |
| Utils::Result | setOverrideGenRate (bool b) |
Static Public Member Functions | |
| FxInstance | create (const char *name, const FxSource &vs, const Group &group, const Database &db=Database()) |
| FxInstance | find (const char *name) |
| ClassType | classType () |
| FxInstance | cast (const ObjectBase &) |
The FxInstance object is used to bind effects sources into the scene graph. Some of the parameters of the source can be overridden on a per-instance basis.
By default when an FxInstance is created with a valid FxSource the generation rate of the effect will be the rate of the FxSource (i.e. it is not overridden). If the FxInstance is created with a null FxSource the generation rate will be 0.
|
|
Create a null effects instance reference. |
|
|
Search the currently attached databases for an effects instance with the given name. |
|
|
If the object referenced by
Reimplemented from Q::Instance. |
|
|
Return the type for this class. Reimplemented from Q::Instance. |
|
||||||||||||||||||||
|
Create a new effects instance named |
|
|
Search the currently attached databases for an effects instance with the given name and return that object, if it exists. Reimplemented from Q::Instance. |
|
|
Return the source associated with this instance. |
|
|
Return the generation rate for this instance. The source's generation rate can be optionally overridden by the instance. |
|
|
Return |
|
|
Set the generation rate for this instance. This only takes effect if the override generation rate property is set to |
|
|
If |
|
|
|
Qube Software Limited © 2000-2004
|
|