|
| static SoType | getClassTypeId () |
| | Returns the type identifier for this class.
|
| |
| static int | getClassStackIndex () |
| | Returns the stack id for this element.
|
| |
| static void | setDiffuse (SoState *state, Face face, SoNode *node, int32_t numColors, const SbColor *colors) |
| | Static set method.
|
| |
| static void | setTransparency (SoState *state, Face face, SoNode *node, int32_t numTransp, const float *transp) |
| | Static set method.
|
| |
| static void | setPacked (SoState *state, Face face, SoNode *node, int32_t numColors, const uint32_t *colors) |
| |
| static void | setColorIndices (SoState *state, Face face, SoNode *node, int32_t numIndices, const int32_t *indices) |
| | Static set method.
|
| |
| static void | setAmbient (SoState *state, Face face, SoNode *node, const SbColor &color) |
| |
| static void | setEmissive (SoState *state, Face face, SoNode *node, const SbColor &color) |
| |
| static void | setSpecular (SoState *state, Face face, SoNode *node, const SbColor &color) |
| |
| static void | setShininess (SoState *state, Face face, SoNode *node, float value) |
| |
| static void | setColorMaterial (SoState *state, Face face, SoNode *node, SbBool value) |
| |
| static void | setSpecularFactor (SoState *state, Face face, SoNode *node, float value) |
| |
| static void | setRoughness (SoState *state, Face face, SoNode *node, float value) |
| |
| static void | setMetallic (SoState *state, Face face, SoNode *node, float value) |
| |
| static SbColor | getDiffuse (SoState *state, Face face, int index) |
| | get() methods get value from Inventor state.
|
| |
| static float | getTransparency (SoState *state, Face face, int index) |
| | get() methods get value from Inventor state.
|
| |
| static SoCpuBufferObject * | getPackedColors (SoState *state, Face face) |
| | Return packed colors if any.
|
| |
| static const int32_t * | getColorIndices (SoState *state, Face face) |
| |
| static int32_t | getColorIndex (SoState *state, Face face, int num) |
| |
| static const SbColor & | getAmbient (SoState *state, Face face) |
| |
| static const SbColor & | getEmissive (SoState *state, Face face) |
| |
| static const SbColor & | getSpecular (SoState *state, Face face) |
| |
| static float | getShininess (SoState *state, Face face) |
| |
| static SbBool | getColorMaterial (SoState *state, Face face) |
| |
| static float | getSpecularFactor (SoState *state, Face face) |
| |
| static float | getRoughness (SoState *state, Face face) |
| |
| static float | getMetallic (SoState *state, Face face) |
| |
| static size_t | getNumDiffuse (SoState *state, Face face) |
| | Returns the number of diffuse colors.
|
| |
| static size_t | getNumColorIndices (SoState *state, Face face) |
| | Method to inquire about current colors.
|
| |
| static int32_t | getNumTransparencies (SoState *state, Face face) |
| | Method to inquire about current colors.
|
| |
| static bool | isTransparent (SoState *state) |
| | Method to inquire about current colors.
|
| |
| static float | getDefaultAmbientIntensity () |
| | Specify Open Inventor defaults for colors, etc.
|
| |
| static SbColor | getDefaultDiffuse () |
| | Specify Open Inventor defaults for colors, etc.
|
| |
| static SbColor | getDefaultAmbient () |
| | Specify Open Inventor defaults for colors, etc.
|
| |
| static SbColor | getDefaultSpecular () |
| | Specify Open Inventor defaults for colors, etc.
|
| |
| static SbColor | getDefaultEmissive () |
| | Specify Open Inventor defaults for colors, etc.
|
| |
| static float | getDefaultShininess () |
| | Specify Open Inventor defaults for colors, etc.
|
| |
| static float | getDefaultSpecularFactor () |
| |
| static float | getDefaultRoughness () |
| |
| static float | getDefaultMetallic () |
| |
| static float | getDefaultTransparency () |
| | Specify Open Inventor defaults for colors, etc.
|
| |
| static int32_t | getDefaultColorIndex () |
| | Specify Open Inventor defaults for colors, etc.
|
| |
| static SoType | getClassTypeId () |
| | Returns the type identifier for this class.
|
| |
| static int | getClassStackIndex () |
| | Returns the stack id for this element.
|
| |
| static SoType | getClassTypeId () |
| | Returns type identifier for SoElement class.
|
| |
| static SoType | getClassTypeId () |
| | Returns the type identifier for this class.
|
| |
|
| static SoDEPRECATED void | setDiffuse (SoState *state, SoNode *node, int32_t numColors, const SbColor *colors) |
| |
| static SoDEPRECATED void | setTransparency (SoState *state, SoNode *node, int32_t numTransp, const float *transp) |
| | Static set method.
|
| |
| static SoDEPRECATED void | setPacked (SoState *state, SoNode *node, int32_t numColors, const uint32_t *colors) |
| |
| static SoDEPRECATED void | setColorIndices (SoState *state, SoNode *node, int32_t numIndices, const int32_t *indices) |
| |
| static SoDEPRECATED void | setAmbient (SoState *state, SoNode *node, const SbColor &color) |
| |
| static SoDEPRECATED void | setEmissive (SoState *state, SoNode *node, const SbColor &color) |
| |
| static SoDEPRECATED void | setSpecular (SoState *state, SoNode *node, const SbColor &color) |
| |
| static SoDEPRECATED void | setShininess (SoState *state, SoNode *node, float value) |
| |
| static SoDEPRECATED void | setColorMaterial (SoState *state, SoNode *node, SbBool value) |
| |
| static SoDEPRECATED void | setSpecularFactor (SoState *state, SoNode *node, float value) |
| |
| static SoDEPRECATED void | setRoughness (SoState *state, SoNode *node, float value) |
| |
| static SoDEPRECATED void | setMetallic (SoState *state, SoNode *node, float value) |
| |
| static SoDEPRECATED SbColor | getDiffuse (SoState *state, int index) |
| |
| static SoDEPRECATED float | getTransparency (SoState *state, int index) |
| |
| static SoDEPRECATED SoCpuBufferObject * | getPackedColors (SoState *state) |
| |
| static SoDEPRECATED const int32_t * | getColorIndices (SoState *state) |
| |
| static SoDEPRECATED int32_t | getColorIndex (SoState *state, int num) |
| |
| static SoDEPRECATED const SbColor & | getAmbient (SoState *state) |
| |
| static SoDEPRECATED const SbColor & | getEmissive (SoState *state) |
| |
| static SoDEPRECATED const SbColor & | getSpecular (SoState *state) |
| |
| static SoDEPRECATED float | getShininess (SoState *state) |
| |
| static SoDEPRECATED SbBool | getColorMaterial (SoState *state) |
| |
| static SoDEPRECATED float | getSpecularFactor (SoState *state) |
| |
| static SoDEPRECATED float | getRoughness (SoState *state) |
| |
| static SoDEPRECATED float | getMetallic (SoState *state) |
| |
| static SoDEPRECATED size_t | getNumDiffuse (SoState *state) |
| |
| static SoDEPRECATED size_t | getNumColorIndices (SoState *state) |
| |
| static SoDEPRECATED int32_t | getNumTransparencies (SoState *state) |
| |
Store in the state the material properties set by some property nodes.
The values of this element are modified by property nodes that affects the material characteristics such as: SoBaseColor, SoMaterial, SoPhysicalMaterial.
SEE ALSO
SoBaseColor, SoPhysicalMaterial, SoMaterial, SoPackedColor, SoVertexProperty
Definition at line 53 of file SoMaterialElement.h.