Package com.jme3.light
Interface ProbeArea
- All Known Implementing Classes:
OrientedBoxProbeArea
,SphereProbeArea
-
Method Summary
Modifier and TypeMethodDescriptionfloat
boolean
intersectsBox
(BoundingBox box, TempVars vars) boolean
intersectsFrustum
(Camera camera, TempVars vars) boolean
intersectsSphere
(BoundingSphere sphere, TempVars vars) void
void
setRadius
(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:
-