Click or drag to resize
SoEnvironmentElement.Set Method (SoState, SoNode, Single, SbColor, SbVec3f, SoEnvironmentElement.FogTypes, 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.13.0 (9.9.13.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("See documentation for more details")]
public static void Set(
	SoState state,
	SoNode node,
	float ambientIntensity,
	SbColor ambientColor,
	SbVec3f attenuation,
	SoEnvironmentElement. FogTypes fogType,
	SbColor fogColor,
	float fogVisibility
)

Parameters

state
Type: OIV.Inventor.Misc.SoState
node
Type: OIV.Inventor.Nodes.SoNode
ambientIntensity
Type: System.Single
ambientColor
Type: OIV.Inventor.SbColor
attenuation
Type: OIV.Inventor.SbVec3f
fogType
Type: OIV.Inventor.Elements.SoEnvironmentElement.FogTypes
fogColor
Type: OIV.Inventor.SbColor
fogVisibility
Type: System.Single
Remarks

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

See Also