public static enum SoRenderToTextureProperty.UpdatePolicies extends java.lang.Enum<SoRenderToTextureProperty.UpdatePolicies> implements IntegerValuedEnum
Enum Constant and Description |
---|
EACH_FRAME
The texture is updated at each traversal of the shape it is mapped to.
|
ON_TRIGGER
The texture is updated only if the trigger field is touched.
|
WHEN_NEEDED
Default.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoRenderToTextureProperty.UpdatePolicies |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoRenderToTextureProperty.UpdatePolicies |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoRenderToTextureProperty.UpdatePolicies[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoRenderToTextureProperty.UpdatePolicies EACH_FRAME
public static final SoRenderToTextureProperty.UpdatePolicies WHEN_NEEDED
public static final SoRenderToTextureProperty.UpdatePolicies ON_TRIGGER
public static SoRenderToTextureProperty.UpdatePolicies[] values()
for (SoRenderToTextureProperty.UpdatePolicies c : SoRenderToTextureProperty.UpdatePolicies.values()) System.out.println(c);
public static SoRenderToTextureProperty.UpdatePolicies 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 nullpublic static SoRenderToTextureProperty.UpdatePolicies valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com