| Package | Description |
|---|---|
| com.bonzaiengine.gamekit.util | |
| com.bonzaiengine.material | |
| com.bonzaiengine.model | |
| com.bonzaiengine.model.util | |
| com.bonzaiengine.physics |
| Modifier and Type | Method and Description |
|---|---|
static GeometryData |
PhysicUtil.modelToGeometry(Model model,
int lod)
Convert a
Model into a GeometryDataThe resulting GeometryData isis the merge of all Model's GeometryData
for the specified lod level |
| Modifier and Type | Method and Description |
|---|---|
Shader |
ISurface.getSurfaceShader(GeometryData geometry,
int numLights) |
| Modifier and Type | Method and Description |
|---|---|
GeometryData |
GeometryData.with(FaceData faceData)
Both the original and returned
GeometryData must be destroy when not used anymore
to keep asset reference counter balanced. |
GeometryData |
GeometryData.with(VertexData vertices)
Both the original and returned
GeometryData must be destroy when not used anymore
to keep asset reference counter balanced. |
| Modifier and Type | Method and Description |
|---|---|
Array<GeometryData> |
Mesh.getGeometries() |
Array<GeometryData> |
Mesh.setGeometries(Array<GeometryData> geometries) |
| Modifier and Type | Method and Description |
|---|---|
void |
Mesh.addGeometry(GeometryData geometry) |
IVolume<?>[] |
SkinData.getBoneBvs(Skeleton skeleton,
GeometryData geometry,
VolumeType volType) |
void |
MorphTargets.getHwTargets(GeometryData geometry,
VertexData[] dstTargets,
float[] dstWeights)
Used by renderer
|
void |
MorphTargets.precomputeBoundingVolumes(int bvOptions,
GeometryData geometry) |
void |
MorphData.precomputeBoundingVolumes(int bvOptions,
GeometryData geometry) |
void |
SkinData.precomputeBoundingVolumes(int bvOptions,
Skeleton skeleton,
GeometryData geometry)
Use during the post processing of model reading.
|
boolean |
Mesh.removeGeometry(GeometryData geometry) |
| Modifier and Type | Method and Description |
|---|---|
Array<GeometryData> |
Mesh.setGeometries(Array<GeometryData> geometries) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.HashSet<GeometryData> |
Utils.listGeometryDatas(java.lang.Iterable<Mesh> meshes) |
| Modifier and Type | Method and Description |
|---|---|
static Mesh |
Utils.getMeshParent(Model model,
GeometryData geometry)
Search the parent mesh.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.HashSet<VertexData> |
Utils.listVertexDatas(java.lang.Iterable<GeometryData> geometries) |
| Modifier and Type | Method and Description |
|---|---|
GeometryData |
CollisionShape.getBvhTriangles() |
GeometryData |
CollisionShape.getConvexHullVolume() |
static GeometryData |
PhysicWorld.meshDecimator(GeometryData geometry,
int numTrianglesDecimatedMesh) |
| Modifier and Type | Method and Description |
|---|---|
static ConvexDecomposition |
PhysicWorld.convexDecomposition(GeometryData geometry,
ConvexDecomposition.HACD params)
Convex decomposition using HACD algorithm
|
static ConvexDecomposition |
PhysicWorld.convexDecomposition(GeometryData geometry,
ConvexDecomposition.VHACD params)
Convex decomposition using VHACD algorithm for manifold closed meshes
|
CollisionShape |
PhysicWorld.createBvhTriangleCollisionShape(GeometryData geometry) |
static GeometryData |
PhysicWorld.meshDecimator(GeometryData geometry,
int numTrianglesDecimatedMesh) |
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com