Click or drag to resize
SoEnvironmentElementGet Method (SoState, Single, SbColor, SbVec3f, SoEnvironmentElementFogTypes, SbColor, Single)

Note: This API is now obsolete.

Gets the current environment in the state.

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
[ObsoleteAttribute("See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static void Get(
	SoState state,
	out float ambientIntensity,
	out SbColor ambientColor,
	out SbVec3f attenuation,
	out SoEnvironmentElementFogTypes fogType,
	out SbColor fogColor,
	out float fogVisibility
)

Parameters

state
Type: OIV.Inventor.MiscSoState
ambientIntensity
Type: SystemSingle
ambientColor
Type: OIV.InventorSbColor
attenuation
Type: OIV.InventorSbVec3f
fogType
Type: OIV.Inventor.ElementsSoEnvironmentElementFogTypes
fogColor
Type: OIV.InventorSbColor
fogVisibility
Type: SystemSingle
Remarks

Obsoletesince Open Inventor 9900 This method is deprecated. Please use get(SoState *state, EnvironmentParameters& envParams) instead

See Also