|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used for accessing to a Mesh3D.
IFace3D
,
IVertex3D
,
IMesh3DGenerator
Method Summary | |
void |
build()
Build this Mesh3D. |
void |
buildFaceId()
Build id for all Face3D of this Mesh3D. |
void |
buildFacesNormals()
Build Vertex3D and Face3D normals for this Mesh3D. |
void |
buildMesh3DOctree()
Build an internal Mesh3DOctree. |
void |
buildSphereBoxAndCenter()
Build this Mesh3D spherebox. |
void |
buildVertexId()
Build id for all Vertex3D of this Mesh3D. |
void |
flipNormals()
Flip all Face3D normal by reversing vertices order. |
boolean |
getCastShadow()
Gets castShadowFlag flag if set to true and renderer is able to render shadow this object will be used as a Shadow caster |
IFace3D |
getFace3D(int num)
Gets a Face3D of this Mesh3D. |
IFace3D[] |
getFaces3D()
Gets Face3D array used by this mesh. |
IMesh3DCollisionGenerator |
getMesh3DCollisionGenerator()
Gets IMesh3DCollisionGenerator for this Mesh3D. |
IMesh3DOctree |
getMesh3DOctree()
Gets Mesh3DOctree of this Mesh3D |
IMesh3DViewGenerator |
getMesh3DViewGenerator()
Gets IMesh3DViewGenerator for this Mesh3D. |
int |
getNbFace3D()
Gets number of Face3D used by this Mesh3D. |
int |
getNbVertex3D()
Gets number of Vertex3D used by this Mesh3D. |
boolean |
getRecvShadow()
Gets recvShadowFlag flag if this flag is set to true and renderer is able to render shadow this object will be used as a Shadow recevier |
IVertex3D[] |
getVertex3D()
Gets Vertex3D array used by this mesh. |
void |
removeDuplicateVertices()
Remove duplicated vertice. |
void |
setCastShadow(boolean castShadowFlag)
Sets castShadowFlag flag if set to true and renderer is able to render shadow this object will be used as a Shadow caster |
void |
setMaterial(IMaterial material)
Sets this Mesh3D material. |
void |
setMesh3DCollisionGenerator(IMesh3DCollisionGenerator collisionGenerator)
Sets IMesh3DCollisionGenerator for this Mesh3D. |
void |
setMesh3DViewGenerator(IMesh3DViewGenerator viewGenerator)
Sets IMesh3DViewGenerator for this Mesh3D. |
void |
setRecvShadow(boolean recvShadowFlag)
Sets recvShadowFlag flag if this flag is set to true and renderer is able to render shadow this object will be used as a Shadow recevier |
Methods inherited from interface net.dzzd.access.ISceneObject |
clearProperties, copy, getBuild, getId, getName, getProperty, getScene, setBuild, setId, setName, setProperty |
Methods inherited from interface net.dzzd.access.IMonitoredSceneObject |
copy |
Methods inherited from interface net.dzzd.access.IRender3DMode |
disableRender3DMode, enableRender3DMode, getRender3DMode, getRender3DModeFlags, setRender3DModeFlags |
Method Detail |
public int getNbFace3D()
public int getNbVertex3D()
public IFace3D getFace3D(int num)
num
- face id to return
public IFace3D[] getFaces3D()
public IVertex3D[] getVertex3D()
public void flipNormals()
public IMesh3DViewGenerator getMesh3DViewGenerator()
public void setMesh3DViewGenerator(IMesh3DViewGenerator viewGenerator)
viewGenerator
- new Mesh3DViewGenerator or null to remove.public IMesh3DCollisionGenerator getMesh3DCollisionGenerator()
public void setMesh3DCollisionGenerator(IMesh3DCollisionGenerator collisionGenerator)
collisionGenerator
- new Mesh3DCollisionGenerator or null to remove.public void buildMesh3DOctree()
public void buildFacesNormals()
buildVertexId
if some vertices have been removed
before returning this method will call buildFacesId
if some faces have been removed
public void removeDuplicateVertices()
public void buildFaceId()
public void buildVertexId()
public void build()
build
in interface ISceneObject
public void buildSphereBoxAndCenter()
public void setMaterial(IMaterial material)
material
- new material or null to removepublic void setCastShadow(boolean castShadowFlag)
castShadowFlag
- true if this Mesh3D may cast shadowpublic boolean getCastShadow()
public void setRecvShadow(boolean recvShadowFlag)
public boolean getRecvShadow()
public IMesh3DOctree getMesh3DOctree()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |