Package com.openinventor.inventor.fields
Class SoSFMaterial
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.fields.SoField
-
- com.openinventor.inventor.fields.SoSField
-
- com.openinventor.inventor.fields.SoSFFieldContainer
-
- com.openinventor.inventor.fields.SoSFMaterial
-
public class SoSFMaterial extends SoSFFieldContainer
Field containing anSoMaterial
node. This field maintains a pointer to an instance of anSoMaterial
node, correctly maintaining its reference count. The sameSoMaterial
node may be referenced in multipleSoSFMaterial
fields.- See Also:
SoSFNode
,SoVolumeDataDrawStyle
-
-
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
Constructors Constructor Description SoSFMaterial(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SoFieldContainer defaultValue)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoMaterial
getValue()
Return current value.-
Methods inherited from class com.openinventor.inventor.fields.SoSFFieldContainer
equals, setValue
-
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 Detail
-
SoSFMaterial
public SoSFMaterial(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SoFieldContainer defaultValue)
Default constructor.
-
-
Method Detail
-
getValue
public SoMaterial getValue()
Return current value.- Overrides:
getValue
in classSoSFFieldContainer
-
-