public static enum SoGLRenderAction.FastEditSavePolicies extends java.lang.Enum<SoGLRenderAction.FastEditSavePolicies> implements IntegerValuedEnum
SoSeparator
for additional info on fast editing. Separator { Separator { fastEditing # ( != DISABLE to activate ) Translation {} Cube{} } Separator { Translation {} Sphere{} Translation {} Sphere{} Translation {} Sphere{} } }
Enum Constant and Description |
---|
DISABLE
Fast editing is disabled.
|
EACH_FRAME
The fast edit feature is available.
|
WHEN_NEEDED
The fast edit feature is available.
|
Modifier and Type | Method and Description |
---|---|
static SoGLRenderAction.FastEditSavePolicies |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoGLRenderAction.FastEditSavePolicies |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoGLRenderAction.FastEditSavePolicies |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoGLRenderAction.FastEditSavePolicies[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoGLRenderAction.FastEditSavePolicies DISABLE
public static final SoGLRenderAction.FastEditSavePolicies EACH_FRAME
SoSeparator.fastEditing
field) is saved each time the scene graph is redrawn.
We recommend using the EACH_FRAME flag when manipulating a very large main scene graph. In this case, the time used for saving the buffer(s) is insignificant compared to the time to draw the scene. EACH_FRAME is recommended as well when the fast editing sub-scene graph is frequently modified: the user interactivity is better with the fast edit sub-scene graph even though the global scene frame rate may slow down.
public static final SoGLRenderAction.FastEditSavePolicies WHEN_NEEDED
public static SoGLRenderAction.FastEditSavePolicies[] values()
for (SoGLRenderAction.FastEditSavePolicies c : SoGLRenderAction.FastEditSavePolicies.values()) System.out.println(c);
public static SoGLRenderAction.FastEditSavePolicies 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 SoGLRenderAction.FastEditSavePolicies fromValue(int val)
valueOf(int)
instead.public static SoGLRenderAction.FastEditSavePolicies 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