public static enum LodGenerator.TriangleReductionMethod extends java.lang.Enum<LodGenerator.TriangleReductionMethod>
Enum Constant and Description |
---|
COLLAPSE_COST
Collapses vertices until the cost exceeds the given value.
|
CONSTANT
Number of triangles to be removed from the mesh.
|
PROPORTIONAL
Percentage of triangles to be removed from the mesh.
|
Modifier and Type | Method and Description |
---|---|
static LodGenerator.TriangleReductionMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LodGenerator.TriangleReductionMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LodGenerator.TriangleReductionMethod PROPORTIONAL
public static final LodGenerator.TriangleReductionMethod CONSTANT
public static final LodGenerator.TriangleReductionMethod COLLAPSE_COST
public static LodGenerator.TriangleReductionMethod[] values()
for (LodGenerator.TriangleReductionMethod c : LodGenerator.TriangleReductionMethod.values()) System.out.println(c);
public static LodGenerator.TriangleReductionMethod 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