Package com.jme3.light
Class SphereProbeArea
java.lang.Object
com.jme3.light.SphereProbeArea
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SphereProbeAreaclone()floatbooleanintersectsBox(BoundingBox box, TempVars vars) booleanintersectsFrustum(Camera camera, TempVars vars) booleanintersectsSphere(BoundingSphere sphere, TempVars vars) voidread(JmeImporter i) voidvoidsetRadius(float radius) toString()voidwrite(JmeExporter e)
-
Constructor Details
-
SphereProbeArea
public SphereProbeArea() -
SphereProbeArea
-
-
Method Details
-
getCenter
-
setCenter
-
getRadius
public float getRadius() -
setRadius
public void setRadius(float radius) -
getUniformMatrix
- Specified by:
getUniformMatrixin interfaceProbeArea
-
intersectsBox
- Specified by:
intersectsBoxin interfaceProbeArea- 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
- Specified by:
intersectsSpherein interfaceProbeArea- 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
- Specified by:
intersectsFrustumin interfaceProbeArea- 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:
-
toString
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
write
- Specified by:
writein interfaceSavable- Throws:
IOException
-
read
- Specified by:
readin interfaceSavable- Throws:
IOException
-