Package com.jme3.light
Class SphereProbeArea
java.lang.Object
com.jme3.light.SphereProbeArea
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
SphereProbeAreapublic SphereProbeArea()
- 
SphereProbeArea
 
- 
- 
Method Details- 
getCenter
- 
setCenter
- 
getRadiuspublic float getRadius()
- 
setRadiuspublic void setRadius(float radius) 
- 
getUniformMatrix- Specified by:
- getUniformMatrixin interface- ProbeArea
 
- 
intersectsBox- Specified by:
- intersectsBoxin interface- ProbeArea
- Parameters:
- box- the BoundingBox to test for intersection
- vars- storage for temporary data
- Returns:
- true if the area and the box intersect, otherwise false
- See Also:
 
- 
intersectsSphere- Specified by:
- intersectsSpherein interface- ProbeArea
- Parameters:
- sphere- the BoundingSphere to test for intersection
- vars- storage for temporary data
- Returns:
- true if the area and the sphere intersect, otherwise false
- See Also:
 
- 
intersectsFrustum- Specified by:
- intersectsFrustumin interface- ProbeArea
- Parameters:
- camera- the Camera whose frustum will be tested for intersection
- vars- storage for temporary data
- Returns:
- true if the area and the frustum intersect, otherwise false
- See Also:
 
- 
toString
- 
clone- Overrides:
- clonein class- Object
- Throws:
- CloneNotSupportedException
 
- 
write- Specified by:
- writein interface- Savable
- Throws:
- IOException
 
- 
read- Specified by:
- readin interface- Savable
- Throws:
- IOException
 
 
-