public static enum LodGenerator.TriangleReductionMethod extends java.lang.Enum<LodGenerator.TriangleReductionMethod>
Enum Constant and Description |
---|
COLLAPSE_COST
Reduces the vertices, until the cost is bigger then the given value.
|
CONSTANT
Triangle count 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