Class InstanceBatch3D
- All Implemented Interfaces:
AutoCloseable
Stable-handle model instance collection with portable non-instanced fallback batching.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongadd(WorldTransform transform, RenderColor color) longadd(WorldTransform transform, RenderColor color, float effectValue, long pickId) voidclear()protected voidextract(WorldRenderContext context) protected WorldBoundsmodel(WorldModel value) booleanremove(long handle) intsize()booleanupdate(long handle, UnaryOperator<InstanceBatch3D.Instance> update)
-
Constructor Details
-
InstanceBatch3D
-
-
Method Details
-
add
-
add
-
update
-
remove
public boolean remove(long handle) -
clear
public void clear() -
size
public int size() -
model
-
localBounds
- Overrides:
localBoundsin classWorldObject<InstanceBatch3D>
-
extract
- Specified by:
extractin classWorldObject<InstanceBatch3D>
-