|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mascotcapsule.micro3d.v3.ActionTable
This class maintains action data that represents the movement of a 3D model. The pose of the 3D model can be changed by setting an action in the figure object. Animation can be displayed by continually changing the pose.
Constructor Summary | |
ActionTable(byte[] b)
Action data table objects are generated from meta action data. |
|
ActionTable(java.lang.String name)
The action data table object is generated from the meta action data specified by the resource name. |
Method Summary | |
void |
dispose()
Disposes of action data being maintained. |
int |
getNumAction()
Deprecated. Method to be eliminated in the near future. |
int |
getNumActions()
Gets the number of actions defined in the action table. |
int |
getNumFrame(int idx)
Deprecated. Method to be eliminated in the near future. |
int |
getNumFrames(int idx)
Gets the maximum frame value of actions specified in the action table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionTable(byte[] b)
b
- Data byte column
java.lang.NullPointerException
- When the argument is null.
java.lang.RuntimeException
- Object generation failure, such as when the data is false.public ActionTable(java.lang.String name) throws java.io.IOException
name
- Resource file name
java.lang.NullPointerException
- When the argument name is null.
java.lang.RuntimeException
- Object generation failure, such as when the data is false.
java.io.IOException
- I/O error on reading data.Method Detail |
public final void dispose()
public final int getNumAction()
getNumActions()
public final int getNumActions()
public final int getNumFrame(int idx)
getNumFrames(int)
public final int getNumFrames(int idx)
idx
- Action index value.
Specifies a value higher than 0 and smaller than
the return value of the getNumActions() method.
java.lang.IllegalArgumentException
- When argument idx is false.getNumActions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |