public interface ISceneObject
| Modifier and Type | Method and Description |
|---|---|
BoundBox |
getBoundBox() |
boolean |
getIntersection(Ray ray,
IntersectionInfo result)
Gets the intersection of the scene object with a ray
Returns true if an intersection was found, in which case:
1.
|
HashMap<Object,Object> |
getProperties()
Gets the property map for this scene object
|
double |
getSupport(mikera.vectorz.Vector3 normal)
Gets the support distance for a given normal direction,
i.e.
|
void |
includeInBoundBox(BoundBox b) |
ASceneObject |
with(Map<Object,Object> properties)
Creates a clone of this scene object with updated properties as specified.
|
double getSupport(mikera.vectorz.Vector3 normal)
normal - boolean getIntersection(Ray ray, IntersectionInfo result)
result - Out parameter for populated intersection info if intersection was found, unchanged otherwisevoid includeInBoundBox(BoundBox b)
BoundBox getBoundBox()
HashMap<Object,Object> getProperties()
ASceneObject with(Map<Object,Object> properties)
properties - New prperties to updateCopyright © 2012. All Rights Reserved.