Open Inventor Reference
|
Field containing a pointer to a engine. More...
#include <Inventor/fields/SoSFEngine.h>
Public Member Functions | |
virtual void | fixCopy (SbBool copyConnections) |
Update a copied field to use the copy of the engine if there is one. | |
virtual SbBool | referencesCopy () const |
Override this to also check the stored engine. | |
Static Public Member Functions | |
static void | initClass () |
This field maintains a pointer to an SoEngine instance, correctly maintaining its reference count.
SoSFEngines are written to file as the engine they are pointing to. For example:
mySoSFEngineField ElapsedTime {}
is an SoSFEngine field named 'mySoSFEngineField', pointing to an SoElapsedTime engine. If the engine is used elsewhere, the regular DEF/USE instancing mechanism applies:
anotherSoSFEngineField USE calculator
is an SoSFEngine field that points to a engine named 'calculator' that was DEF'ed earlier in the scene.
Definition at line 93 of file SoSFEngine.h.
static void SoSFEngine::initClass | ( | ) | [static] |
Reimplemented from SoSField.