Click or drag to resize
SoEnvironmentElement Class

Stores the current environment.

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

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.1.0 (10.16.1.0)
Syntax
public class SoEnvironmentElement : SoReplacedElement

The SoEnvironmentElement 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 memberGet

Gets the current environment in the state.

Public methodStatic memberGetAmbientColor

Gets the ambient color.

Public methodStatic memberGetAmbientIntensity

Gets the ambient intensity.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetLightAttenuation

Gets the light attenuation.

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

Pops element.

(Inherited from SoElement.)
Public methodPush

Pushes element.

(Overrides SoElementPush(SoState).)
Public methodStatic memberSet

Sets the current environment in the state.

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

This element stores the current environment.

See Also