| Constructor and Description |
|---|
OrientedBoxProbeArea() |
OrientedBoxProbeArea(Transform transform) |
| Modifier and Type | Method and Description |
|---|---|
protected OrientedBoxProbeArea |
clone() |
Vector3f |
getCenter() |
Vector3f |
getExtent() |
float |
getRadius() |
Quaternion |
getRotation() |
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 |
setExtent(Vector3f extent) |
void |
setRadius(float radius) |
void |
setRotation(Quaternion rotation) |
void |
write(JmeExporter e) |
public OrientedBoxProbeArea()
public OrientedBoxProbeArea(Transform transform)
public 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 Matrix4f getUniformMatrix()
getUniformMatrix in interface ProbeAreapublic Vector3f getExtent()
public void setExtent(Vector3f extent)
public Vector3f getCenter()
public Quaternion getRotation()
public void setRotation(Quaternion rotation)
protected OrientedBoxProbeArea 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