Package com.jme3.light
Class OrientedBoxProbeArea
java.lang.Object
com.jme3.light.OrientedBoxProbeArea
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OrientedBoxProbeAreaclone()floatbooleanintersectsBox(BoundingBox box, TempVars vars) booleanintersectsFrustum(Camera camera, TempVars vars) booleanintersectsSphere(BoundingSphere sphere, TempVars vars) voidread(JmeImporter i) voidvoidvoidsetRadius(float radius) voidsetRotation(Quaternion rotation) voidwrite(JmeExporter e)
-
Constructor Details
-
OrientedBoxProbeArea
public OrientedBoxProbeArea() -
OrientedBoxProbeArea
-
-
Method Details
-
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:
-
getRadius
public float getRadius() -
setRadius
public void setRadius(float radius) -
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:
-
getUniformMatrix
- Specified by:
getUniformMatrixin interfaceProbeArea
-
getExtent
-
setExtent
-
getCenter
-
setCenter
-
getRotation
-
setRotation
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
write
- Specified by:
writein interfaceSavable- Throws:
IOException
-
read
- Specified by:
readin interfaceSavable- Throws:
IOException
-