OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BatchNode
(Results
1 - 6
of
6
) sorted by null
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
SimpleBatchNode.java
12
* Geometries to be batched has to be attached directly to the
BatchNode
15
* @see
BatchNode
18
public class SimpleBatchNode extends
BatchNode
{
32
throw new UnsupportedOperationException("
BatchNode
is BatchMode.Simple only support child of type Geometry, use BatchMode.Complex to use a complex structure");
BatchNode.java
54
*
BatchNode
holds geometrie that are batched version of all geometries that are in its sub scenegraph.
63
* To integrate them in the batch you have to call the batch() method again on the
batchNode
.
69
public class
BatchNode
extends Node implements Savable {
71
private static final Logger logger = Logger.getLogger(
BatchNode
.class.getName());
87
* Construct a
batchNode
89
public
BatchNode
() {
93
public
BatchNode
(String name) {
171
* Batch this
batchNode
250
if (child instanceof
BatchNode
) {
269
* Sets the material to the all the batches of this
BatchNode
[
all
...]
Geometry.java
78
protected
BatchNode
batchNode
= null;
80
* the start index of this geom's mesh in the
batchNode
mesh
232
throw new UnsupportedOperationException("Cannot set the material of a batched geometry, change the material of the parent
BatchNode
.");
297
batchNode
.updateSubBatch(this);
298
prevBatchTransforms.set(
batchNode
.getTransforms(this));
306
* Batch this geometry, should only be called by the
BatchNode
.
307
* @param node the
batchNode
310
protected void batch(
BatchNode
node, int startIndex) {
311
this.
batchNode
= node
[
all
...]
/external/jmonkeyengine/engine/src/test/jme3test/batching/
TestBatchNode.java
15
import com.jme3.scene.
BatchNode
;
33
BatchNode
batch;
38
batch = new
BatchNode
("theBatchNode");
TestBatchNodeTower.java
54
import com.jme3.scene.
BatchNode
;
91
BatchNode
batchNode
= new
BatchNode
("batch Node");
125
batchNode
.batch();
126
batchNode
.setShadowMode(ShadowMode.CastAndReceive);
127
rootNode.attachChild(
batchNode
);
236
this.
batchNode
.attachChild(reBoxg);
TestBatchNodeCluster.java
61
protected
BatchNode
batchNode
;
74
batchNode
= new SimpleBatchNode("
BatchNode
");
109
batchNode
.batch();
114
terrain.attachChild(
batchNode
);
119
batchNode
.setLocalTranslation(pos);
146
batchNode
.attachChild(box);
163
// public
BatchNode
randomBatch() {
336
box =
batchNode
.getChild("Box" + random)
[
all
...]
Completed in 532 milliseconds