public enum MappingMode extends java.lang.Enum<MappingMode>
MappingMode
defined how VertexElement
is mapped to the surface of geometry.Enum Constant and Description |
---|
ALL_SAME
One data mapped to the whole surface.
|
CONTROL_POINT
Each data is mapped to the control point of the geometry.
|
EDGE
The data is mapped to the edge.
|
POLYGON
The data is mapped to the polygon.
|
POLYGON_VERTEX
The data is mapped to the polygon's vertex
When a control point is shared by multiple polygons, and the data is mapped as
POLYGON_VERTEX , the control point as different polygon vertex will have their own data |
Modifier and Type | Method and Description |
---|---|
static MappingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MappingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingMode CONTROL_POINT
public static final MappingMode POLYGON_VERTEX
POLYGON_VERTEX
, the control point as different polygon vertex will have their own datapublic static final MappingMode POLYGON
POLYGON
.public static final MappingMode EDGE
EDGE
.public static final MappingMode ALL_SAME
ALL_SAME
.public static MappingMode[] values()
for (MappingMode c : MappingMode.values()) System.out.println(c);
public static MappingMode 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