com.azalient.api.b.display
Enum IShape.RenderNormals
java.lang.Object
java.lang.Enum<IShape.RenderNormals>
com.azalient.api.b.display.IShape.RenderNormals
- All Implemented Interfaces:
- Serializable, Comparable<IShape.RenderNormals>
- Enclosing interface:
- IShape
public static enum IShape.RenderNormals
- extends Enum<IShape.RenderNormals>
NoTexture
public static final IShape.RenderNormals NoTexture
None
public static final IShape.RenderNormals None
Face
public static final IShape.RenderNormals Face
Vertex
public static final IShape.RenderNormals Vertex
values
public static IShape.RenderNormals[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (IShape.RenderNormals c : IShape.RenderNormals.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IShape.RenderNormals valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
parse
public static IShape.RenderNormals parse(String s)
calculateNormals
public static boolean calculateNormals(IShape.RenderNormals state)