public class SoEnvironmentElement extends SoReplacedElement
Modifier and Type | Class and Description |
---|---|
static class |
SoEnvironmentElement.EnvironmentParameters
EnvironmentParameters packages all the different environment parameters. |
static class |
SoEnvironmentElement.FogTypes
Fog type.
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
FOG
Deprecated.
Use
SoEnvironmentElement.FogTypes.FOG instead. |
static int |
HAZE
Deprecated.
Use
SoEnvironmentElement.FogTypes.HAZE instead. |
static int |
NONE
Deprecated.
Use
SoEnvironmentElement.FogTypes.NONE instead. |
static int |
SMOKE
Deprecated.
Use
SoEnvironmentElement.FogTypes.SMOKE instead. |
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static SoEnvironmentElement.EnvironmentParameters |
get(SoState state)
Gets the current environment in the state.
|
static SbColor |
getAmbientColor(SoState state)
Gets the ambient color.
|
static float |
getAmbientIntensity(SoState state)
Gets the ambient intensity.
|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
static SbVec3f |
getLightAttenuation(SoState state)
Gets the light attenuation.
|
void |
push(SoState state)
Pushes element.
|
static void |
set(SoState state,
SoNode node,
float ambientIntensity,
SbColor ambientColor,
SbVec3f attenuation,
SoEnvironmentElement.FogTypes fogType,
SbColor fogColor,
float fogVisibility)
Deprecated.
As of Open Inventor 9900 See documentation for more details
|
static void |
set(SoState state,
SoNode node,
SoEnvironmentElement.EnvironmentParameters envParams)
Sets the current environment in the state.
|
getClassStackIndex, pop
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int NONE
SoEnvironmentElement.FogTypes.NONE
instead.@Deprecated public static final int HAZE
SoEnvironmentElement.FogTypes.HAZE
instead.@Deprecated public static final int FOG
SoEnvironmentElement.FogTypes.FOG
instead.@Deprecated public static final int SMOKE
SoEnvironmentElement.FogTypes.SMOKE
instead.public static float getAmbientIntensity(SoState state)
public static SbVec3f getLightAttenuation(SoState state)
public static SoEnvironmentElement.EnvironmentParameters get(SoState state)
public static void set(SoState state, SoNode node, SoEnvironmentElement.EnvironmentParameters envParams)
@Deprecated public static int getClassStackIndex()
public void push(SoState state)
@Deprecated public static void set(SoState state, SoNode node, float ambientIntensity, SbColor ambientColor, SbVec3f attenuation, SoEnvironmentElement.FogTypes fogType, SbColor fogColor, float fogVisibility)
set(SoState *state, SoNode *node, const EnvironmentParameters& envParams)
instead Generated on August 20, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com