Class R.collision.OBBHull
Extends
R.collision.ConvexHull.
A rectangular convex hull.
Defined in: obbhull.js.
Constructor Attributes | Constructor Name and Description |
---|---|
R.collision.OBBHull(boundingBox)
Creates an Object Bounding Box hull.
|
- Fields borrowed from class R.collision.ConvexHull:
- CONVEX_CIRCLE, CONVEX_NGON
Method Attributes | Method Name and Description |
---|---|
Get the class name of this object
|
- Methods borrowed from class R.collision.ConvexHull:
- destroy, getCenter, getGameObject, getHostObject, getRadius, getType, getUntransformedVertexes, getVertexes, release, setGameObject, setHostObject
- Methods borrowed from class R.engine.PooledObject:
- clearObjectDataModel, getId, getName, getObjectDataModel, getProperties, isDestroyed, setName, setObjectDataModel, toString, toXML
Class Detail
R.collision.OBBHull(boundingBox)
Creates an Object Bounding Box hull.
- Parameters:
- boundingBox
- {Rectangle2D} The object's bounding box
Method Detail
{String}
getClassName()
Get the class name of this object
- Returns:
- {String} "R.collision.OBBHull"