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.ElementsAssembly: 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
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("See documentation for more details")>
Public Shared Sub Set (
state As SoState,
node As SoNode,
ambientIntensity As Single,
ambientColor As SbColor,
attenuation As SbVec3f,
fogType As SoEnvironmentElement.FogTypes,
fogColor As SbColor,
fogVisibility As Single
)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"See documentation for more details")]
static void Set(
SoState^ state,
SoNode^ node,
float ambientIntensity,
SbColor ambientColor,
SbVec3f attenuation,
SoEnvironmentElement. FogTypes fogType,
SbColor fogColor,
float fogVisibility
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("See documentation for more details")>]
static member Set :
state : SoState *
node : SoNode *
ambientIntensity : float32 *
ambientColor : SbColor *
attenuation : SbVec3f *
fogType : SoEnvironmentElement. FogTypes *
fogColor : SbColor *
fogVisibility : float32 -> unit
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
RemarksObsoletesince Open Inventor 9900
This method is deprecated. Please use set(SoState *state, SoNode *node, const EnvironmentParameters& envParams) instead
See Also