Class TriangulateModifier
java.lang.Object
team.lodestar.lodestone.systems.model.obj.modifier.ModelModifier<TriangulateSettings>
team.lodestar.lodestone.systems.model.obj.modifier.modifiers.TriangulateModifier
- Direct Known Subclasses:
TriangulateModifier.Ngon,TriangulateModifier.Quad
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsFields inherited from class team.lodestar.lodestone.systems.model.obj.modifier.ModelModifier
settings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(IndexedModel model) Apply the modification to the wholeIndexedModel.voidapply(IndexedModel model, IndexedMesh mesh) Apply the modification to a specificIndexedMeshin anIndexedModel.static TriangulateModifierof(TriangulateSettings.QuadMethod quadMethod, TriangulateSettings.NgonMethod ngonMethod)
-
Field Details
-
newMeshes
-
-
Constructor Details
-
TriangulateModifier
-
TriangulateModifier
public TriangulateModifier()
-
-
Method Details
-
of
public static TriangulateModifier of(TriangulateSettings.QuadMethod quadMethod, TriangulateSettings.NgonMethod ngonMethod) -
apply
Description copied from class:ModelModifierApply the modification to the wholeIndexedModel.- Specified by:
applyin classModelModifier<TriangulateSettings>- Parameters:
model- The model to apply the modification to.
-
apply
Description copied from class:ModelModifierApply the modification to a specificIndexedMeshin anIndexedModel.- Specified by:
applyin classModelModifier<TriangulateSettings>- Parameters:
model- The model that contains the mesh.mesh- The mesh to apply the modification to.
-