public static enum Voronoi.VoronoiType extends java.lang.Enum<Voronoi.VoronoiType>
| Enum Constant and Description |
|---|
DISTANCE
Worley D1 equivalent
|
DISTANCE_INV |
DISTANCE_SQRT |
DISTANCE_SQRT_INV |
RANDOM |
| Modifier and Type | Method and Description |
|---|---|
static Voronoi.VoronoiType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Voronoi.VoronoiType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Voronoi.VoronoiType RANDOM
public static final Voronoi.VoronoiType DISTANCE
public static final Voronoi.VoronoiType DISTANCE_INV
public static final Voronoi.VoronoiType DISTANCE_SQRT
public static final Voronoi.VoronoiType DISTANCE_SQRT_INV
public static Voronoi.VoronoiType[] values()
for (Voronoi.VoronoiType c : Voronoi.VoronoiType.values()) System.out.println(c);
public static Voronoi.VoronoiType 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 nullBonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com