|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.scene.plugins.blender.file.DnaBlockData
public class DnaBlockData
The data block containing the description of the file.
Constructor Summary | |
---|---|
DnaBlockData(BlenderInputStream inputStream,
BlenderContext blenderContext)
Constructor. |
Method Summary | |
---|---|
Structure |
getStructure(int index)
This method returns the structure of the given index. |
Structure |
getStructure(java.lang.String name)
This method returns a structure of the given name. |
int |
getStructuresCount()
This method returns the amount of the structures. |
boolean |
hasStructure(java.lang.String name)
This method indicates if the structure of the given name exists. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DnaBlockData(BlenderInputStream inputStream, BlenderContext blenderContext) throws BlenderFileException
inputStream
- the stream we read the block fromblenderContext
- the blender context
BlenderFileException
- this exception is throw if the blend file is invalid or somehow corruptedMethod Detail |
---|
public int getStructuresCount()
public Structure getStructure(int index)
index
- the index of the structure
public Structure getStructure(java.lang.String name)
name
- the name of the structure
public boolean hasStructure(java.lang.String name)
name
- the name of the structure
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |