Specifies the material, texture, textureTransform fillProperties, and lineProperties nodes. More...
#include <Inventor/VRMLnodes/SoVRMLAppearance.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLAppearance () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFNode | material |
SoSFNode | texture |
SoSFNode | textureTransform |
SoSFNode | fillProperties |
SoSFNode | lineProperties |
Friends | |
class | SoPath |
The SoVRMLAppearance node specifies the visual properties of geometry by defining the material and texture nodes. The value for each of the fields in this node can be NULL. However, if the field is non-NULL, it must contain one node of the appropriate type.
NOTE: This class does not exist in Open Inventor 10.0 and later.This section may reference portions of the VRML97 specification that are not present in this help file. The complete VRML97 spec is available at http://www.web3d.org .
The SoVRMLAppearance node specifies the visual properties of geometry by defining the material and texture nodes. The value for each of the fields in this node can be NULL. However, if the field is non-NULL, it must contain one node of the appropriate type.
material | NULL |
texture | NULL |
textureTransform | NULL |
fillProperties | NULL |
lineProperties | NULL |
metadata | NULL |
SoSFNode | set_material |
SoSFNode | set_texture |
SoSFNode | set_textureTransform |
SoSFNode | set_fillProperties (Note: Not implemented) |
SoSFNode | set_lineProperties |
SoSFNode | set_metadata |
SoSFNode | material_changed |
SoSFNode | texture_changed |
SoSFNode | textureTransform_changed |
SoSFNode | fillProperties_changed (Note: Not implemented) |
SoSFNode | lineProperties_changed |
SoSFNode | metadata_changed |
SoVRMLAppearance::SoVRMLAppearance | ( | ) |
Constructor.
static SoType SoVRMLAppearance::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLNode.
virtual SoType SoVRMLAppearance::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLNode.
friend class SoPath [friend] |
(Note: Not implemented) The fillProperties field, if specified, must contain an SoVRMLFillProperties node.
If the fillProperties field is NULL or unspecified, the fillProperties field has no effect.
NOTE: field available since Open Inventor 5.0NOTE 2: This field is not compatible with VRML97. If you specify a non-default value for this field, when this node is written to a VRML file, the file will contain this incompatible field and standard VRML97 file readers will not be able to read it.
The lineProperties field, if specified, must contain an SoVRMLLineProperties node.
If the lineProperties field is NULL or unspecified, the lineProperties field has no effect.
NOTE: field available since Open Inventor 5.0NOTE 2: This field is not compatible with VRML97. If you specify a non-default value for this field, when this node is written to a VRML file, the file will contain this incompatible field and standard VRML97 file readers will not be able to read it.
The material field, if specified, must contain an SoVRMLMaterial node.
If the material field is NULL or unspecified, lighting is off (all lights are ignored during rendering of the object that references this SoVRMLAppearance node) and the unlit object color is (0, 0, 0). See SoVRMLLightfor details of the VRML lighting model.
The texture field, if specified, must contain one of the various types of texture nodes (SoVRMLImageTexture, SoVRMLMovieTexture, or SoVRMLPixelTexture).
If the texture node is NULL or unspecified, the object that references this SoVRMLAppearance is not textured.
The textureTransform field, if specified, must contain an SoVRMLTextureTransform node.
If the texture field is NULL or unspecified, or if the textureTransform is NULL or unspecified, the textureTransform field has no effect.