SoEnvironmentElementGetDefault Method |
Note: This API is now obsolete.
Returns the default value.
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 GetDefault(
out float ambientIntensity,
out SbColor ambientColor,
out SbVec3f attenuation,
out SoEnvironmentElementFogTypes fogType,
out SbColor fogColor,
out float fogVisibility
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("See documentation for more details")>
Public Shared Sub GetDefault (
<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:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"See documentation for more details")]
static void GetDefault(
[OutAttribute] float% ambientIntensity,
[OutAttribute] SbColor% ambientColor,
[OutAttribute] SbVec3f% attenuation,
[OutAttribute] SoEnvironmentElementFogTypes% fogType,
[OutAttribute] SbColor% fogColor,
[OutAttribute] float% fogVisibility
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("See documentation for more details")>]
static member GetDefault :
ambientIntensity : float32 byref *
ambientColor : SbColor byref *
attenuation : SbVec3f byref *
fogType : SoEnvironmentElementFogTypes byref *
fogColor : SbColor byref *
fogVisibility : float32 byref -> unit
Parameters
- 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 the default constructor of the EnvironmentParameters struct instead
See Also