public static class ShadowUtil.OccludersExtractor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
casterCount |
Constructor and Description |
---|
OccludersExtractor() |
OccludersExtractor(Matrix4f vpm,
int cc,
BoundingBox sBB,
BoundingBox cBB,
GeometryList sOCC,
TempVars v) |
Modifier and Type | Method and Description |
---|---|
int |
addOccluders(Spatial scene)
Check the rootScene against camera frustum and if intersects process it recursively.
|
public OccludersExtractor()
public OccludersExtractor(Matrix4f vpm, int cc, BoundingBox sBB, BoundingBox cBB, GeometryList sOCC, TempVars v)
public int addOccluders(Spatial scene)
ShadowUtil.updateShadowCamera(com.jme3.renderer.Camera, com.jme3.math.Vector3f[])
at last.scene
- the root of the scene to check (may be null)