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

Note: This API is now obsolete.

Sets 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 Set(
	SoState state,
	SoNode node,
	float ambientIntensity,
	SbColor ambientColor,
	SbVec3f attenuation,
	SoEnvironmentElementFogTypes fogType,
	SbColor fogColor,
	float fogVisibility
)

Parameters

state
Type: OIV.Inventor.MiscSoState
node
Type: OIV.Inventor.NodesSoNode
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 set(SoState *state, SoNode *node, const EnvironmentParameters& envParams) instead

See Also