Package com.jme3.scene.instancing
Class InstancedGeometry.DefaultInstanceCullingFunction
java.lang.Object
com.jme3.scene.instancing.InstancedGeometry.DefaultInstanceCullingFunction
- All Implemented Interfaces:
BiFunction<Camera,
Geometry, Boolean>
- Enclosing class:
- InstancedGeometry
public static class InstancedGeometry.DefaultInstanceCullingFunction
extends Object
implements BiFunction<Camera,Geometry,Boolean>
By default, it checks if geometry is in camera frustum and culls it
if it is outside camera view.
-
Constructor Details
-
DefaultInstanceCullingFunction
public DefaultInstanceCullingFunction()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<Camera,
Geometry, Boolean>
-