Package com.jme3.light
Interface ProbeArea
- All Known Implementing Classes:
OrientedBoxProbeArea,SphereProbeArea
-
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanintersectsBox(BoundingBox box, TempVars vars) booleanintersectsFrustum(Camera camera, TempVars vars) booleanintersectsSphere(BoundingSphere sphere, TempVars vars) voidvoidsetRadius(float radius)
-
Method Details
-
setCenter
-
getRadius
float getRadius() -
setRadius
void setRadius(float radius) -
getUniformMatrix
Matrix4f getUniformMatrix() -
intersectsBox
- Parameters:
box- the BoundingBox to test for intersectionvars- storage for temporary data- Returns:
- true if the area and the box intersect, otherwise false
- See Also:
-
intersectsSphere
- Parameters:
sphere- the BoundingSphere to test for intersectionvars- storage for temporary data- Returns:
- true if the area and the sphere intersect, otherwise false
- See Also:
-
intersectsFrustum
- Parameters:
camera- the Camera whose frustum will be tested for intersectionvars- storage for temporary data- Returns:
- true if the area and the frustum intersect, otherwise false
- See Also:
-