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 ProbeArea
public boolean intersectsBox(BoundingBox box, TempVars vars)
intersectsBox
in interface ProbeArea
Light.intersectsBox(BoundingBox, TempVars)
public boolean intersectsSphere(BoundingSphere sphere, TempVars vars)
intersectsSphere
in interface ProbeArea
Light.intersectsSphere(BoundingSphere, TempVars)
public boolean intersectsFrustum(Camera camera, TempVars vars)
intersectsFrustum
in interface ProbeArea
Light.intersectsFrustum(Camera, TempVars)
public java.lang.String toString()
toString
in class java.lang.Object
protected SphereProbeArea clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void write(JmeExporter e) throws java.io.IOException
public void read(JmeImporter i) throws java.io.IOException