com.jme3.scene
クラス UserData
java.lang.Object
com.jme3.scene.UserData
- すべての実装されたインタフェース:
- Savable
public final class UserData
- extends java.lang.Object
- implements Savable
UserData
is used to contain user data objects
set on spatials (primarily primitives) that do not implement
the Savable
interface. Note that attempting
to export any models which have non-savable objects
attached to them will fail.
フィールドの概要 |
static java.lang.String |
JME_PHYSICSIGNORE
Boolean type on Geometries to indicate that physics collision
shape generation should ignore them. |
static java.lang.String |
JME_SHAREDMESH
For geometries using shared mesh, this will specify the shared
mesh reference. |
コンストラクタの概要 |
UserData()
|
UserData(byte type,
java.lang.Object value)
Creates a new UserData with the given
type and value. |
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JME_PHYSICSIGNORE
public static final java.lang.String JME_PHYSICSIGNORE
- Boolean type on Geometries to indicate that physics collision
shape generation should ignore them.
- 関連項目:
- 定数フィールド値
JME_SHAREDMESH
public static final java.lang.String JME_SHAREDMESH
- For geometries using shared mesh, this will specify the shared
mesh reference.
- 関連項目:
- 定数フィールド値
UserData
public UserData()
UserData
public UserData(byte type,
java.lang.Object value)
- Creates a new
UserData
with the given
type and value.
- パラメータ:
type
- Type of data, should be between 0 and 4.value
- Value of the data
getValue
public java.lang.Object getValue()
toString
public java.lang.String toString()
- オーバーライド:
- クラス
java.lang.Object
内の toString
getObjectType
public static byte getObjectType(java.lang.Object type)
write
public void write(JmeExporter ex)
throws java.io.IOException
- 定義:
- インタフェース
Savable
内の write
- 例外:
java.io.IOException
read
public void read(JmeImporter im)
throws java.io.IOException
- 定義:
- インタフェース
Savable
内の read
- 例外:
java.io.IOException