MeshLib Java Docs
Loading...
Searching...
No Matches

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)

Detailed Description

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.

Constructor & Destructor Documentation

◆ DecimatePartsMode()

meshlib.DecimatePartsMode.DecimatePartsMode ( int value)

Member Function Documentation

◆ equals()

boolean meshlib.DecimatePartsMode.equals ( java.lang.Object other)

◆ hashCode()

int meshlib.DecimatePartsMode.hashCode ( )

◆ of()

DecimatePartsMode meshlib.DecimatePartsMode.of ( int value)
static

Returns the named constant with this value, or a new instance if there's none.

◆ toString()

java.lang.String meshlib.DecimatePartsMode.toString ( )

Member Data Documentation

◆ AABBTree

final DecimatePartsMode meshlib.DecimatePartsMode.AABBTree = new DecimatePartsMode(1)
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

◆ PackedMesh

final DecimatePartsMode meshlib.DecimatePartsMode.PackedMesh = new DecimatePartsMode(0)
static

the mesh is already packed optimally (e.g. by mesh.packOptimally()), and the parts are ranges of face ids

◆ value

final int meshlib.DecimatePartsMode.value

The documentation for this class was generated from the following file: