| Constructor and Description |
|---|
SphereProbeArea() |
SphereProbeArea(Vector3f center,
float radius) |
| Modifier and Type | Method and Description |
|---|---|
protected SphereProbeArea |
clone() |
Vector3f |
getCenter() |
float |
getRadius() |
Matrix4f |
getUniformMatrix() |
boolean |
intersectsBox(BoundingBox box,
TempVars vars) |
boolean |
intersectsFrustum(Camera camera,
TempVars vars) |
boolean |
intersectsSphere(BoundingSphere sphere,
TempVars vars) |
void |
read(JmeImporter i) |
void |
setCenter(Vector3f center) |
void |
setRadius(float radius) |
java.lang.String |
toString() |
void |
write(JmeExporter e) |
public SphereProbeArea()
public SphereProbeArea(Vector3f center, float radius)
public Vector3f getCenter()
public Matrix4f getUniformMatrix()
getUniformMatrix in interface ProbeAreapublic boolean intersectsBox(BoundingBox box, TempVars vars)
intersectsBox in interface ProbeAreabox - the BoundingBox to test for intersectionvars - storage for temporary dataLight.intersectsBox(BoundingBox, TempVars)public boolean intersectsSphere(BoundingSphere sphere, TempVars vars)
intersectsSphere in interface ProbeAreasphere - the BoundingSphere to test for intersectionvars - storage for temporary dataLight.intersectsSphere(BoundingSphere, TempVars)public boolean intersectsFrustum(Camera camera, TempVars vars)
intersectsFrustum in interface ProbeAreacamera - the Camera whose frustum will be tested for intersectionvars - storage for temporary dataLight.intersectsFrustum(Camera, TempVars)public java.lang.String toString()
toString in class java.lang.Objectprotected SphereProbeArea clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic void write(JmeExporter e) throws java.io.IOException
public void read(JmeImporter i) throws java.io.IOException