Click or drag to resize
SoMaterialElement Methods

The SoMaterialElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetAmbient(SoState) Obsolete.
Public methodStatic memberGetAmbient(SoState, SoMaterialElementFaces)
Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodStatic memberGetColorIndex(SoState, Int32) Obsolete.
Public methodStatic memberGetColorIndex(SoState, SoMaterialElementFaces, Int32)
Public methodStatic memberGetColorIndices

Public methodStatic memberGetColorMaterial(SoState) Obsolete.
Public methodStatic memberGetColorMaterial(SoState, SoMaterialElementFaces)
Public methodStatic memberGetDefaultAmbient

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultAmbientIntensity

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultColorIndex

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultDiffuse

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultEmissive

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultMetallic
Public methodStatic memberGetDefaultRoughness
Public methodStatic memberGetDefaultShininess

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultSpecular

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultSpecularFactor
Public methodStatic memberGetDefaultTransparency

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDiffuse(SoState, Int32) Obsolete.
Public methodStatic memberGetDiffuse(SoState, SoMaterialElementFaces, Int32)

get() methods get value from Inventor state.

Public methodStatic memberGetEmissive(SoState) Obsolete.
Public methodStatic memberGetEmissive(SoState, SoMaterialElementFaces)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetMetallic(SoState) Obsolete.
Public methodStatic memberGetMetallic(SoState, SoMaterialElementFaces)
Public methodStatic memberGetNumColorIndices(SoState) Obsolete.
Public methodStatic memberGetNumColorIndices(SoState, SoMaterialElementFaces)

Method to inquire about current colors.

Public methodStatic memberGetNumDiffuse(SoState) Obsolete.
Public methodStatic memberGetNumDiffuse(SoState, SoMaterialElementFaces)

Returns the number of diffuse colors.

Public methodStatic memberGetNumTransparencies(SoState) Obsolete.
Public methodStatic memberGetNumTransparencies(SoState, SoMaterialElementFaces)

Method to inquire about current colors.

Public methodStatic memberGetPackedColors(SoState) Obsolete.
Public methodStatic memberGetPackedColors(SoState, SoMaterialElementFaces)

Return packed colors if any.

Public methodStatic memberGetRoughness(SoState) Obsolete.
Public methodStatic memberGetRoughness(SoState, SoMaterialElementFaces)
Public methodStatic memberGetShininess(SoState) Obsolete.
Public methodStatic memberGetShininess(SoState, SoMaterialElementFaces)
Public methodStatic memberGetSpecular(SoState) Obsolete.
Public methodStatic memberGetSpecular(SoState, SoMaterialElementFaces)
Public methodStatic memberGetSpecularFactor(SoState) Obsolete.
Public methodStatic memberGetSpecularFactor(SoState, SoMaterialElementFaces)
Public methodStatic memberGetTransparency(SoState, Int32) Obsolete.
Public methodStatic memberGetTransparency(SoState, SoMaterialElementFaces, Int32)

get() methods get value from Inventor state.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsTransparent

Method to inquire about current colors.

Public methodPop

Unref buffer object of the popped element.

(Overrides SoElementPop(SoState, SoElement).)
Public methodPush

Copy current material into the pushed element.

(Overrides SoElementPush(SoState).)
Public methodStatic memberSetAmbient(SoState, SoNode, SbColor) Obsolete.
Public methodStatic memberSetAmbient(SoState, SoMaterialElementFaces, SoNode, SbColor)
Public methodStatic memberSetColorIndices(SoState, SoNode, Int32) Obsolete.

Public methodStatic memberSetColorIndices(SoState, SoMaterialElementFaces, SoNode, Int32)

Static set method.

Public methodStatic memberSetColorMaterial(SoState, SoNode, Boolean) Obsolete.
Public methodStatic memberSetColorMaterial(SoState, SoMaterialElementFaces, SoNode, Boolean)
Public methodStatic memberSetDiffuse(SoState, SoNode, SbColor) Obsolete.

Public methodStatic memberSetDiffuse(SoState, SoMaterialElementFaces, SoNode, SbColor)

Static set method.

Public methodStatic memberSetEmissive(SoState, SoNode, SbColor) Obsolete.
Public methodStatic memberSetEmissive(SoState, SoMaterialElementFaces, SoNode, SbColor)
Public methodStatic memberSetMetallic(SoState, SoNode, Single) Obsolete.
Public methodStatic memberSetMetallic(SoState, SoMaterialElementFaces, SoNode, Single)
Public methodStatic memberSetPacked(SoState, SoNode, UInt32) Obsolete.

Public methodStatic memberSetPacked(SoState, SoMaterialElementFaces, SoNode, UInt32)

Public methodStatic memberSetRoughness(SoState, SoNode, Single) Obsolete.
Public methodStatic memberSetRoughness(SoState, SoMaterialElementFaces, SoNode, Single)
Public methodStatic memberSetShininess(SoState, SoNode, Single) Obsolete.
Public methodStatic memberSetShininess(SoState, SoMaterialElementFaces, SoNode, Single)
Public methodStatic memberSetSpecular(SoState, SoNode, SbColor) Obsolete.
Public methodStatic memberSetSpecular(SoState, SoMaterialElementFaces, SoNode, SbColor)
Public methodStatic memberSetSpecularFactor(SoState, SoNode, Single) Obsolete.
Public methodStatic memberSetSpecularFactor(SoState, SoMaterialElementFaces, SoNode, Single)
Public methodStatic memberSetTransparency(SoState, SoNode, Single) Obsolete.

Static set method.

Public methodStatic memberSetTransparency(SoState, SoMaterialElementFaces, SoNode, Single)

Static set method.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also