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 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 Matrix4f getUniformMatrix()
getUniformMatrix
in interface ProbeArea
public 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.Object
java.lang.CloneNotSupportedException
public void write(JmeExporter e) throws java.io.IOException
public void read(JmeImporter i) throws java.io.IOException