public static enum SoVolumeRenderingPhysicalQuality.ShadingStyles extends java.lang.Enum<SoVolumeRenderingPhysicalQuality.ShadingStyles> implements IntegerValuedEnum
Enum Constant and Description |
---|
PHONG
Phong shading.
|
PHYSICALLY_BASED
Physically-Based shading.
|
Modifier and Type | Method and Description |
---|---|
static SoVolumeRenderingPhysicalQuality.ShadingStyles |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoVolumeRenderingPhysicalQuality.ShadingStyles |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoVolumeRenderingPhysicalQuality.ShadingStyles |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoVolumeRenderingPhysicalQuality.ShadingStyles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoVolumeRenderingPhysicalQuality.ShadingStyles PHONG
SoVolumeRenderingQuality.deferredLighting
.public static final SoVolumeRenderingPhysicalQuality.ShadingStyles PHYSICALLY_BASED
This shading style can be seen as an enhanced version of the regular deferred lighting. In particular, it shows the same behavior regarding the current SoMaterial
on the state and has the same limitations. See SoVolumeRenderingQuality.deferredLighting
for a detailed list of limitations.
public static SoVolumeRenderingPhysicalQuality.ShadingStyles[] values()
for (SoVolumeRenderingPhysicalQuality.ShadingStyles c : SoVolumeRenderingPhysicalQuality.ShadingStyles.values()) System.out.println(c);
public static SoVolumeRenderingPhysicalQuality.ShadingStyles valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static SoVolumeRenderingPhysicalQuality.ShadingStyles fromValue(int val)
valueOf(int)
instead.public static SoVolumeRenderingPhysicalQuality.ShadingStyles valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com