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