public class ArmatureDebugAppState extends BaseAppState
Modifier and Type | Field and Description |
---|---|
static float |
CLICK_MAX_DELAY |
Constructor and Description |
---|
ArmatureDebugAppState() |
Modifier and Type | Method and Description |
---|---|
ArmatureDebugger |
addArmatureFrom(Armature armature,
Spatial forSpatial) |
ArmatureDebugger |
addArmatureFrom(SkinningControl skinningControl) |
protected void |
cleanup(Application app)
Called after the app state is detached or during
application shutdown if the state is still attached.
|
Node |
getDebugNode() |
protected void |
initialize(Application app)
Called during initialization once the app state is
attached and before onEnable() is called.
|
protected void |
onDisable()
Called when the state was previously enabled but is
now disabled either because setEnabled(false) was called
or the state is being cleaned up.
|
protected void |
onEnable()
Called when the state is fully enabled, ie: is attached
and isEnabled() is true or when the setEnabled() status
changes after the state is attached.
|
void |
setDebugNode(Node debugNode) |
void |
update(float tpf)
Called to update the
AppState . |
cleanup, getApplication, getId, getState, getState, getStateManager, initialize, isEnabled, isInitialized, postRender, render, setEnabled, setId, stateAttached, stateDetached
public static final float CLICK_MAX_DELAY
protected void initialize(Application app)
BaseAppState
initialize
in class BaseAppState
app
- the applicationprotected void cleanup(Application app)
BaseAppState
cleanup
in class BaseAppState
app
- the applicationprotected void onEnable()
BaseAppState
onEnable
in class BaseAppState
protected void onDisable()
BaseAppState
onDisable
in class BaseAppState
public void update(float tpf)
AppState
AppState
. This method will be called
every render pass if the AppState
is both attached and enabled.update
in interface AppState
update
in class BaseAppState
tpf
- Time since the last call to update(), in seconds.public ArmatureDebugger addArmatureFrom(SkinningControl skinningControl)
public ArmatureDebugger addArmatureFrom(Armature armature, Spatial forSpatial)
public Node getDebugNode()
public void setDebugNode(Node debugNode)