Package com.openinventor.inventor.fields
Class SoSFEngine
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.fields.SoField
com.openinventor.inventor.fields.SoSField
com.openinventor.inventor.fields.SoSFEngine
Field containing an engine instance.
This field maintains an
SoEngine
instance.
SoSFEngines are written to file as the engine they are maintaining. For example:
is anmySoSFEngineField ElapsedTime
SoSFEngine
field named 'mySoSFEngineField', containing an SoElapsedTime
engine. If the engine is used elsewhere, the regular DEF/USE instancing mechanism applies:
is ananotherSoSFEngineField USE calculator
SoSFEngine
field that refers to a engine named 'calculator' that was DEF'ed earlier in the scene.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.fields.SoField
SoField.FieldTypes
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
ConstructorsConstructorDescriptionSoSFEngine
(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, SoEngine defaultValue) Default constructor. -
Method Summary
Methods inherited from class com.openinventor.inventor.fields.SoField
appendConnection, appendConnection, connectFrom, connectFrom, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getContainer, getNumConnections, getValueSize, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touch
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
SoSFEngine
public SoSFEngine(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, SoEngine defaultValue) Default constructor.
-
-
Method Details