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
Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodStatic memberGetColorIndex
Public methodStatic memberGetColorIndices

Public methodStatic memberGetColorMaterial
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 memberGetDefaultShininess

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultSpecular

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultTransparency

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDiffuse

get() methods get value from Inventor state.

Public methodStatic memberGetEmissive
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetNumColorIndices

Method to inquire about current colors.

Public methodStatic memberGetNumColorIndices(SoState)

Method to inquire about current colors.

Public methodGetNumDiffuse

Method to inquire about current colors.

Public methodStatic memberGetNumDiffuse(SoState)

Return number of diffuse colors.

Public methodStatic memberGetNumTransparencies

Method to inquire about current colors.

Public methodStatic memberGetPackedColors

Return packed colors if any.

Public methodStatic memberGetShininess
Public methodStatic memberGetSpecular
Public methodStatic memberGetTransparency

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
Public methodStatic memberSetColorIndices

Static set method.

Public methodStatic memberSetColorMaterial
Public methodStatic memberSetDiffuse

Static set method.

Public methodStatic memberSetEmissive
Public methodStatic memberSetPacked

Public methodStatic memberSetShininess
Public methodStatic memberSetSpecular
Public methodStatic memberSetTransparency

Static set method.

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