Inherits CX3DImporter_NodeElement.
|
enum | EType {
ENET_Group,
ENET_MetaBoolean,
ENET_MetaDouble,
ENET_MetaFloat,
ENET_MetaInteger,
ENET_MetaSet,
ENET_MetaString,
ENET_Arc2D,
ENET_ArcClose2D,
ENET_Circle2D,
ENET_Disk2D,
ENET_Polyline2D,
ENET_Polypoint2D,
ENET_Rectangle2D,
ENET_TriangleSet2D,
ENET_Box,
ENET_Cone,
ENET_Cylinder,
ENET_Sphere,
ENET_ElevationGrid,
ENET_Extrusion,
ENET_Coordinate,
ENET_Normal,
ENET_TextureCoordinate,
ENET_IndexedFaceSet,
ENET_IndexedLineSet,
ENET_IndexedTriangleSet,
ENET_IndexedTriangleFanSet,
ENET_IndexedTriangleStripSet,
ENET_LineSet,
ENET_PointSet,
ENET_TriangleSet,
ENET_TriangleFanSet,
ENET_TriangleStripSet,
ENET_Color,
ENET_ColorRGBA,
ENET_Shape,
ENET_Appearance,
ENET_Material,
ENET_ImageTexture,
ENET_TextureTransform,
ENET_DirectionalLight,
ENET_PointLight,
ENET_SpotLight,
ENET_Invalid
} |
|
| CX3DImporter_NodeElement (const EType pType, CX3DImporter_NodeElement *pParent) |
| In constructor inheritor must set element type. More...
|
|
◆ CX3DImporter_NodeElement_Material()
Constructor.
- Parameters
-
[in] | pParent | - pointer to parent node. |
[in] | pType | - type of geometry object. |
◆ AmbientIntensity
float CX3DImporter_NodeElement_Material::AmbientIntensity |
Specifies how much ambient light from light sources this surface shall reflect.
◆ DiffuseColor
aiColor3D CX3DImporter_NodeElement_Material::DiffuseColor |
Reflects all X3D light sources depending on the angle of the surface with respect to the light source.
◆ EmissiveColor
aiColor3D CX3DImporter_NodeElement_Material::EmissiveColor |
Models "glowing" objects. This can be useful for displaying pre-lit models.
◆ Shininess
float CX3DImporter_NodeElement_Material::Shininess |
Lower shininess values produce soft glows, while higher values result in sharper, smaller highlights.
◆ SpecularColor
aiColor3D CX3DImporter_NodeElement_Material::SpecularColor |
The specularColor and shininess fields determine the specular highlights.
◆ Transparency
float CX3DImporter_NodeElement_Material::Transparency |
Specifies how "clear" an object is, with 1.0 being completely transparent, and 0.0 completely opaque.
The documentation for this class was generated from the following file: