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
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 boolean |
getAmbientOcclusion(SoState state)
Gets the ambient occlusion state (true : activated, otherwise deactivated)
|
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,
SoEnvironmentElement.EnvironmentParameters envParams)
Sets the current environment in the state.
|
getClassStackIndex, pop
dispose, getNativeResourceHandle
public static SoEnvironmentElement.EnvironmentParameters get(SoState state)
public static void set(SoState state, SoNode node, SoEnvironmentElement.EnvironmentParameters envParams)
public void push(SoState state)
@Deprecated public static int getClassStackIndex()
public static SbVec3f getLightAttenuation(SoState state)
public static boolean getAmbientOcclusion(SoState state)
public static float getAmbientIntensity(SoState state)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com