org.ogre4j
Interface ISubMesh

All Superinterfaces:
IAllocatedObject<IResourceAllocPolicy>, INativeObject, IResourceAllocatedObject
All Known Implementing Classes:
SubMesh

public interface ISubMesh
extends INativeObject, IResourceAllocatedObject


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

setMaterialName

void setMaterialName(java.lang.String matName)

getMaterialName

java.lang.String getMaterialName()

isMatInitialised

boolean isMatInitialised()
Returns true if a material has been assigned to the submesh, otherwise returns false.


_getRenderOperation

void _getRenderOperation(IRenderOperation rend,
                         int lodIndex)
Returns a structure required to render this mesh.


addBoneAssignment

void addBoneAssignment(IVertexBoneAssignment_s vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation.


clearBoneAssignments

void clearBoneAssignments()
Removes all bone assignments for this mesh.


getBoneAssignmentIterator

void getBoneAssignmentIterator(ISubMesh.IBoneAssignmentIterator returnValue)
Gets an iterator for access all bone assignments.


getBoneAssignments

ISubMesh.IVertexBoneAssignmentList getBoneAssignments()
Gets a const reference to the list of bone assignments


_compileBoneAssignments

void _compileBoneAssignments()
Must be called once to compile bone assignments into geometry buffer.


getAliasTextureIterator

void getAliasTextureIterator(ISubMesh.IAliasTextureIterator returnValue)
Gets an constant iterator to access all texture alias names assigned to this submesh.


addTextureAlias

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.


removeTextureAlias

void removeTextureAlias(java.lang.String aliasName)
Remove a specific texture alias name from the sub mesh


removeAllTextureAliases

void removeAllTextureAliases()
removes all texture aliases from the sub mesh


hasTextureAliases

boolean hasTextureAliases()
returns true if the sub mesh has texture aliases


getTextureAliasCount

int getTextureAliasCount()
Gets the number of texture aliases assigned to the sub mesh.


updateMaterialUsingTextureAliases

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.


getVertexAnimationType

VertexAnimationType getVertexAnimationType()
Get the type of any vertex animation used by dedicated geometry.


generateExtremes

void generateExtremes(int count)
Generate the submesh extremes (


isBuildEdgesEnabled

boolean isBuildEdgesEnabled()
Returns true(by default) if the submesh should be included in the mesh EdgeList, otherwise returns false.


setBuildEdgesEnabled

void setBuildEdgesEnabled(boolean b)

getuseSharedVertices

boolean getuseSharedVertices()

setuseSharedVertices

void setuseSharedVertices(boolean _jni_value_)

getoperationType

RenderOperation.OperationType getoperationType()

setoperationType

void setoperationType(RenderOperation.OperationType _jni_value_)

getvertexData

IVertexData getvertexData()

setvertexData

void setvertexData(IVertexData _jni_value_)

getindexData

IIndexData getindexData()

setindexData

void setindexData(IIndexData _jni_value_)

getblendIndexToBoneIndexMap

void getblendIndexToBoneIndexMap(ISubMesh.IIndexMap returnValue)

setblendIndexToBoneIndexMap

void setblendIndexToBoneIndexMap(ISubMesh.IIndexMap _jni_value_)

getmLodFaceList

void getmLodFaceList(IProgressiveMesh.ILODFaceList returnValue)

setmLodFaceList

void setmLodFaceList(IProgressiveMesh.ILODFaceList _jni_value_)

getextremityPoints

void getextremityPoints(Ivector<IVector3> returnValue)

setextremityPoints

void setextremityPoints(Ivector<IVector3> _jni_value_)

getparent

IMesh getparent()

setparent

void setparent(IMesh _jni_value_)


Copyright © 2007 netAllied GmbH. All Rights Reserved.