Public Member Functions | |
| DecimatePartsMode (int value) | |
| boolean | equals (java.lang.Object other) |
| int | hashCode () |
| java.lang.String | toString () |
Static Public Member Functions | |
| static DecimatePartsMode | of (int value) |
Public Attributes | |
| final int | value |
Static Public Attributes | |
| static final DecimatePartsMode | PackedMesh = new DecimatePartsMode(0) |
| static final DecimatePartsMode | AABBTree = new DecimatePartsMode(1) |
Defines how decimation finds the parts of the mesh for parallel processing (DecimateSettings.subdivideParts > 1)
The constants are static fields of this class. value holds the underlying value, so this can also hold values that aren't named constants.
| meshlib.DecimatePartsMode.DecimatePartsMode | ( | int | value | ) |
| boolean meshlib.DecimatePartsMode.equals | ( | java.lang.Object | other | ) |
| int meshlib.DecimatePartsMode.hashCode | ( | ) |
|
static |
Returns the named constant with this value, or a new instance if there's none.
| java.lang.String meshlib.DecimatePartsMode.toString | ( | ) |
|
static |
the parts are subtrees of mesh's AABB tree (taken from the mesh if present, otherwise constructed), no packing is needed; the number of parts is rounded up to a power of two
|
static |
the mesh is already packed optimally (e.g. by mesh.packOptimally()), and the parts are ranges of face ids
| final int meshlib.DecimatePartsMode.value |