Click or drag to resize
SoMaterialElement Class

Store in the state the material properties set by some property nodes.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoReplacedElement
        OIV.Inventor.ElementsSoMaterialElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public class SoMaterialElement : SoReplacedElement

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 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

get() methods get value from Inventor state.

Public methodStatic memberGetEmissive
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetMetallic
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 memberGetRoughness
Public methodStatic memberGetShininess
Public methodStatic memberGetSpecular
Public methodStatic memberGetSpecularFactor
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 memberSetMetallic
Public methodStatic memberSetPacked

Public methodStatic memberSetRoughness
Public methodStatic memberSetShininess
Public methodStatic memberSetSpecular
Public methodStatic memberSetSpecularFactor
Public methodStatic memberSetTransparency

Static set method.

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

The values of this element are modified by property nodes that affects the material characteristics such as: OIV.Inventor.Nodes.SoBaseColor, OIV.Inventor.Nodes.SoMaterial, OIV.Inventor.Nodes.SoPhysicalMaterial.

See Also