public static class SoEnvironmentElement.EnvironmentParameters extends Inventor
EnvironmentParameters
packages all the different environment parameters.
By default it has each parameter set at its default value, and provides comparison operators. For more info on the meaning of the struct members, please refer to the SoEnvironment
nodeInventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SbColor |
ambientColor |
SbVec3f |
attenuation |
SbColor |
fogColor |
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
EnvironmentParameters() |
EnvironmentParameters(float ambientIntensity,
SbColor ambientColor,
SbVec3f attenuation,
SoEnvironmentElement.FogTypes fogType,
SbColor fogColor,
float fogStart,
float fogVisibility) |
EnvironmentParameters(SoEnvironmentElement.EnvironmentParameters copyFrom) |
Modifier and Type | Method and Description |
---|---|
void |
setValue(SoEnvironmentElement.EnvironmentParameters copyFrom) |
static SoEnvironmentElement.EnvironmentParameters[] |
toArray(long nativeArray,
long length) |
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SbColor ambientColor
public final SbVec3f attenuation
public final SbColor fogColor
public EnvironmentParameters(SoEnvironmentElement.EnvironmentParameters copyFrom)
public EnvironmentParameters(float ambientIntensity, SbColor ambientColor, SbVec3f attenuation, SoEnvironmentElement.FogTypes fogType, SbColor fogColor, float fogStart, float fogVisibility)
public EnvironmentParameters()
public static SoEnvironmentElement.EnvironmentParameters[] toArray(long nativeArray, long length)
public void setValue(SoEnvironmentElement.EnvironmentParameters copyFrom)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com