|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISubMesh
| Nested Class Summary | |
|---|---|
static interface |
ISubMesh.IAliasTextureIterator
|
static interface |
ISubMesh.IBoneAssignmentIterator
|
static interface |
ISubMesh.IIndexMap
|
static interface |
ISubMesh.IVertexBoneAssignmentList
|
| Method Summary | |
|---|---|
void |
_compileBoneAssignments()
Must be called once to compile bone assignments into geometry buffer. |
void |
_getRenderOperation(IRenderOperation rend,
int lodIndex)
Returns a structure required to render this mesh. |
void |
addBoneAssignment(IVertexBoneAssignment_s vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation. |
void |
addTextureAlias(java.lang.String aliasName,
java.lang.String textureName)
Adds the alias or replaces an existing one and associates the texture name to it. |
void |
clearBoneAssignments()
Removes all bone assignments for this mesh. |
void |
generateExtremes(int count)
Generate the submesh extremes ( |
void |
getAliasTextureIterator(ISubMesh.IAliasTextureIterator returnValue)
Gets an constant iterator to access all texture alias names assigned to this submesh. |
void |
getblendIndexToBoneIndexMap(ISubMesh.IIndexMap returnValue)
|
void |
getBoneAssignmentIterator(ISubMesh.IBoneAssignmentIterator returnValue)
Gets an iterator for access all bone assignments. |
ISubMesh.IVertexBoneAssignmentList |
getBoneAssignments()
Gets a const reference to the list of bone assignments |
void |
getextremityPoints(Ivector<IVector3> returnValue)
|
IIndexData |
getindexData()
|
java.lang.String |
getMaterialName()
|
void |
getmLodFaceList(IProgressiveMesh.ILODFaceList returnValue)
|
RenderOperation.OperationType |
getoperationType()
|
IMesh |
getparent()
|
int |
getTextureAliasCount()
Gets the number of texture aliases assigned to the sub mesh. |
boolean |
getuseSharedVertices()
|
VertexAnimationType |
getVertexAnimationType()
Get the type of any vertex animation used by dedicated geometry. |
IVertexData |
getvertexData()
|
boolean |
hasTextureAliases()
returns true if the sub mesh has texture aliases |
boolean |
isBuildEdgesEnabled()
Returns true(by default) if the submesh should be included in the mesh EdgeList, otherwise returns false. |
boolean |
isMatInitialised()
Returns true if a material has been assigned to the submesh, otherwise returns false. |
void |
removeAllTextureAliases()
removes all texture aliases from the sub mesh |
void |
removeTextureAlias(java.lang.String aliasName)
Remove a specific texture alias name from the sub mesh |
void |
setblendIndexToBoneIndexMap(ISubMesh.IIndexMap _jni_value_)
|
void |
setBuildEdgesEnabled(boolean b)
|
void |
setextremityPoints(Ivector<IVector3> _jni_value_)
|
void |
setindexData(IIndexData _jni_value_)
|
void |
setMaterialName(java.lang.String matName)
|
void |
setmLodFaceList(IProgressiveMesh.ILODFaceList _jni_value_)
|
void |
setoperationType(RenderOperation.OperationType _jni_value_)
|
void |
setparent(IMesh _jni_value_)
|
void |
setuseSharedVertices(boolean _jni_value_)
|
void |
setvertexData(IVertexData _jni_value_)
|
boolean |
updateMaterialUsingTextureAliases()
The current material used by the submesh is copied into a new material and the submesh's texture aliases are applied if the current texture alias names match those found in the original material. |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void setMaterialName(java.lang.String matName)
java.lang.String getMaterialName()
boolean isMatInitialised()
void _getRenderOperation(IRenderOperation rend,
int lodIndex)
void addBoneAssignment(IVertexBoneAssignment_s vertBoneAssign)
void clearBoneAssignments()
void getBoneAssignmentIterator(ISubMesh.IBoneAssignmentIterator returnValue)
ISubMesh.IVertexBoneAssignmentList getBoneAssignments()
void _compileBoneAssignments()
void getAliasTextureIterator(ISubMesh.IAliasTextureIterator returnValue)
void addTextureAlias(java.lang.String aliasName,
java.lang.String textureName)
void removeTextureAlias(java.lang.String aliasName)
void removeAllTextureAliases()
boolean hasTextureAliases()
int getTextureAliasCount()
boolean updateMaterialUsingTextureAliases()
VertexAnimationType getVertexAnimationType()
void generateExtremes(int count)
boolean isBuildEdgesEnabled()
void setBuildEdgesEnabled(boolean b)
boolean getuseSharedVertices()
void setuseSharedVertices(boolean _jni_value_)
RenderOperation.OperationType getoperationType()
void setoperationType(RenderOperation.OperationType _jni_value_)
IVertexData getvertexData()
void setvertexData(IVertexData _jni_value_)
IIndexData getindexData()
void setindexData(IIndexData _jni_value_)
void getblendIndexToBoneIndexMap(ISubMesh.IIndexMap returnValue)
void setblendIndexToBoneIndexMap(ISubMesh.IIndexMap _jni_value_)
void getmLodFaceList(IProgressiveMesh.ILODFaceList returnValue)
void setmLodFaceList(IProgressiveMesh.ILODFaceList _jni_value_)
void getextremityPoints(Ivector<IVector3> returnValue)
void setextremityPoints(Ivector<IVector3> _jni_value_)
IMesh getparent()
void setparent(IMesh _jni_value_)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||