public abstract class Modifier
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARMATURE_MODIFIER_DATA |
static java.lang.String |
ARRAY_MODIFIER_DATA |
protected boolean |
invalid
This variable indicates if the modifier is invalid (true) or not (false).
|
static java.lang.String |
MIRROR_MODIFIER_DATA |
protected boolean |
modifying
A variable that tells if the modifier causes modification.
|
static java.lang.String |
OBJECT_ANIMATION_MODIFIER_DATA |
static java.lang.String |
PARTICLE_MODIFIER_DATA |
static java.lang.String |
SUBSURF_MODIFIER_DATA |
Constructor and Description |
---|
Modifier() |
Modifier and Type | Method and Description |
---|---|
abstract void |
apply(Node node,
BlenderContext blenderContext)
This method applies the modifier to the given node.
|
static boolean |
canBeAppliedMultipleTimes(java.lang.String modifierType)
Determines if the modifier can be applied multiple times over one mesh.
|
protected TemporalMesh |
getTemporalMesh(Node node) |
boolean |
isModifying() |
void |
postMeshCreationApply(Node node,
BlenderContext blenderContext)
The method that is called when geometries are already created.
|
protected boolean |
validate(Structure modifierStructure,
BlenderContext blenderContext) |
public static final java.lang.String ARRAY_MODIFIER_DATA
public static final java.lang.String ARMATURE_MODIFIER_DATA
public static final java.lang.String PARTICLE_MODIFIER_DATA
public static final java.lang.String MIRROR_MODIFIER_DATA
public static final java.lang.String SUBSURF_MODIFIER_DATA
public static final java.lang.String OBJECT_ANIMATION_MODIFIER_DATA
protected boolean invalid
protected boolean modifying
public abstract void apply(Node node, BlenderContext blenderContext)
node
- the node that will have modifier appliedblenderContext
- the blender contextpublic void postMeshCreationApply(Node node, BlenderContext blenderContext)
node
- the node that will have the modifier appliedblenderContext
- the blender contextpublic static boolean canBeAppliedMultipleTimes(java.lang.String modifierType)
modifierType
- the type name of the modifierprotected boolean validate(Structure modifierStructure, BlenderContext blenderContext)
public boolean isModifying()
protected TemporalMesh getTemporalMesh(Node node)