|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjme3tools.optimize.GeometryBatchFactory
public class GeometryBatchFactory
| コンストラクタの概要 | |
|---|---|
GeometryBatchFactory()
|
|
| メソッドの概要 | |
|---|---|
static void |
main(java.lang.String[] args)
|
static java.util.List<Geometry> |
makeBatches(java.util.Collection<Geometry> geometries)
|
static java.util.List<Geometry> |
makeBatches(java.util.Collection<Geometry> geometries,
boolean useLods)
Batches a collection of Geometries so that all with the same material get combined. |
static void |
makeLods(java.util.Collection<Geometry> geometries,
Mesh outMesh)
|
static void |
mergeGeometries(java.util.Collection<Geometry> geometries,
Mesh outMesh)
Merges all geometries in the collection into the output mesh. |
static Spatial |
optimize(Node scene)
Optimizes a scene by combining Geometry with the same material. |
static Node |
optimize(Node scene,
boolean useLods)
Optimizes a scene by combining Geometry with the same material. |
static void |
printMesh(Mesh mesh)
|
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public GeometryBatchFactory()
| メソッドの詳細 |
|---|
public static void mergeGeometries(java.util.Collection<Geometry> geometries,
Mesh outMesh)
geometries - outMesh -
public static void makeLods(java.util.Collection<Geometry> geometries,
Mesh outMesh)
public static java.util.List<Geometry> makeBatches(java.util.Collection<Geometry> geometries)
public static java.util.List<Geometry> makeBatches(java.util.Collection<Geometry> geometries,
boolean useLods)
geometries - The Geometries to combine
public static Spatial optimize(Node scene)
scene - The scene to optimize
public static Node optimize(Node scene,
boolean useLods)
scene - The scene to optimizeuseLods - true if you want the resulting geometry to keep lod information
public static void printMesh(Mesh mesh)
public static void main(java.lang.String[] args)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||