com.jme3.scene.plugins.blender.modifiers
Class Modifier
java.lang.Object
com.jme3.scene.plugins.blender.modifiers.Modifier
public abstract class Modifier
- extends java.lang.Object
This class represents an object's modifier. The modifier object can be varied
and the user needs to know what is the type of it for the specified type
name. For example "ArmatureModifierData" type specified in blender is
represented by AnimData object from jMonkeyEngine.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARRAY_MODIFIER_DATA
public static final java.lang.String ARRAY_MODIFIER_DATA
- See Also:
- Constant Field Values
ARMATURE_MODIFIER_DATA
public static final java.lang.String ARMATURE_MODIFIER_DATA
- See Also:
- Constant Field Values
PARTICLE_MODIFIER_DATA
public static final java.lang.String PARTICLE_MODIFIER_DATA
- See Also:
- Constant Field Values
MIRROR_MODIFIER_DATA
public static final java.lang.String MIRROR_MODIFIER_DATA
- See Also:
- Constant Field Values
SUBSURF_MODIFIER_DATA
public static final java.lang.String SUBSURF_MODIFIER_DATA
- See Also:
- Constant Field Values
OBJECT_ANIMATION_MODIFIER_DATA
public static final java.lang.String OBJECT_ANIMATION_MODIFIER_DATA
- See Also:
- Constant Field Values
invalid
protected boolean invalid
- This variable indicates if the modifier is invalid (true) or not (false).
Modifier
public Modifier()
apply
public abstract Node apply(Node node,
BlenderContext blenderContext)
- This method applies the modifier to the given node.
- Parameters:
node
- the node that will have modifier appliedblenderContext
- the blender context
- Returns:
- the node with applied modifier
getType
public abstract java.lang.String getType()
- This method returns blender's type of modifier.
- Returns:
- blender's type of modifier
validate
protected boolean validate(Structure modifierStructure,
BlenderContext blenderContext)