com.vodafone.v10.graphics.j3d
Class Figure
java.lang.Object
|
+--com.vodafone.v10.graphics.j3d.Figure
- public class Figure
- extends java.lang.Object
Model class.
To set the drawing scope, use the Graphics clipping function.
Constructor Summary |
Figure(byte[] data)
Figure constructor |
Figure(java.lang.String name)
Figure constructor |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Figure
public Figure(byte[] data)
- Figure constructor
- Parameters:
data
- Model data- Throws:
NullPointerException
- if data is null.RuntimeException
- if creation failed.IllegalStateException
- if called during sprite execution.
Figure
public Figure(java.lang.String name)
throws java.io.IOException
- Figure constructor
- Parameters:
name
- Resource name- Throws:
NullPointerException
- if resource name is null.RuntimeException
- if creation failed.java.io.IOException
- if the resource could not be opened.IllegalStateException
- if called during sprite execution.
setPosture
public void setPosture(ActionTable actTable,
int action,
int frame)
- Sets posture.
- Parameters:
actTable
- Action tableaction
- Action numberframe
- Frame number- Throws:
NullPointerException
- if actTable is null.IllegalArgumentException
- if action number is outside the action table range.IllegalStateException
- if called during sprite execution.
setTexture
public void setTexture(Texture texture)
- Sets texture data.
- Parameters:
texture
- Texture data- Throws:
NullPointerException
- if texture data is null.IllegalArgumentException
- if texture data is not for model use.
Copyright 2002,2003 Aplix Corporation. All rights reserved. Aplix Confidential and Restricted.