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.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.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
)
<ObsoleteAttribute("See documentation for more details")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Sub Get (
state As SoState,
<OutAttribute> ByRef ambientIntensity As Single,
<OutAttribute> ByRef ambientColor As SbColor,
<OutAttribute> ByRef attenuation As SbVec3f,
<OutAttribute> ByRef fogType As SoEnvironmentElementFogTypes,
<OutAttribute> ByRef fogColor As SbColor,
<OutAttribute> ByRef fogVisibility As Single
)
public:
[ObsoleteAttribute(L"See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
static void Get(
SoState^ state,
[OutAttribute] float% ambientIntensity,
[OutAttribute] SbColor% ambientColor,
[OutAttribute] SbVec3f% attenuation,
[OutAttribute] SoEnvironmentElementFogTypes% fogType,
[OutAttribute] SbColor% fogColor,
[OutAttribute] float% fogVisibility
)
[<ObsoleteAttribute("See documentation for more details")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member Get :
state : SoState *
ambientIntensity : float32 byref *
ambientColor : SbColor byref *
attenuation : SbVec3f byref *
fogType : SoEnvironmentElementFogTypes byref *
fogColor : SbColor byref *
fogVisibility : float32 byref -> unit
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
RemarksObsoletesince Open Inventor 9900
This method is deprecated. Please use get(SoState *state, EnvironmentParameters& envParams) instead
See Also