Class CollisionShape
- java.lang.Object
-
- pro.streem.ar.sceneform.collision.CollisionShape
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract booleanboxIntersection(Box box)abstract CollisionShapemakeCopy()protected voidonChanged()Must be called by subclasses when the shape changes to inform listeners of the change.protected abstract booleanrayIntersection(Ray ray, RayHit result)protected abstract booleanshapeIntersection(CollisionShape shape)protected abstract booleansphereIntersection(Sphere sphere)
-
-
-
Method Detail
-
makeCopy
public abstract CollisionShape makeCopy()
-
onChanged
protected void onChanged()
Must be called by subclasses when the shape changes to inform listeners of the change.
-
shapeIntersection
protected abstract boolean shapeIntersection(CollisionShape shape)
-
sphereIntersection
protected abstract boolean sphereIntersection(Sphere sphere)
-
boxIntersection
protected abstract boolean boxIntersection(Box box)
-
-