| Package | com.yogurt3d.core.helpers.boundingvolumes |
| Class | public class BoundingSphere |
| Inheritance | BoundingSphere EngineObject Object |
| Property | Defined By | ||
|---|---|---|---|
| center : Vector3D | BoundingSphere | ||
| radius : Number | BoundingSphere | ||
| radiusSqr : Number | BoundingSphere | ||
![]() | systemID : String [read-only]
Automatically assigned id. | EngineObject | |
![]() | userID : String
Identification string can be assigned by developer to identify objects. | EngineObject | |
| Method | Defined By | ||
|---|---|---|---|
BoundingSphere(_radiusSqr:Number, _center:Vector3D) | BoundingSphere | ||
[override] | BoundingSphere | ||
![]() | dispose():void
Removes all external referances and clears internals. | EngineObject | |
![]() | disposeDeep():void | EngineObject | |
![]() | disposeGPU():void | EngineObject | |
![]() | instance():*
Removes all external referances and clears internals. | EngineObject | |
intersectTestAABB(_min:Vector3D, _max:Vector3D):int | BoundingSphere | ||
intersectTestSphere(other:BoundingSphere):Boolean | BoundingSphere | ||
intersectTestSphereParam(otherCenter:Vector3D, otherRadius:Number):Boolean | BoundingSphere | ||
![]() | renew():void
Renews object internals and resets properties of object. | EngineObject | |
![]() | toString():String
Returns a string identifier on this object
| EngineObject | |
| Method | Defined By | ||
|---|---|---|---|
![]() | initInternals():void | EngineObject | |
trackObject():void [override] | BoundingSphere | ||
| center | property |
center:Vector3D public function get center():Vector3D public function set center(value:Vector3D):void| m_center | property |
YOGURT3D_INTERNAL var m_center:Vector3D| m_radius | property |
YOGURT3D_INTERNAL var m_radius:Number| m_radiusSqr | property |
YOGURT3D_INTERNAL var m_radiusSqr:Number| radius | property |
radius:Number public function get radius():Number public function set radius(value:Number):void| radiusSqr | property |
radiusSqr:Number public function get radiusSqr():Number public function set radiusSqr(value:Number):void| BoundingSphere | () | Constructor |
public function BoundingSphere(_radiusSqr:Number, _center:Vector3D)_radiusSqr:Number | |
_center:Vector3D |
| clone | () | method |
| intersectTestAABB | () | method |
public function intersectTestAABB(_min:Vector3D, _max:Vector3D):intParameters
_min:Vector3D | |
_max:Vector3D |
int |
| intersectTestSphere | () | method |
public function intersectTestSphere(other:BoundingSphere):BooleanParameters
other:BoundingSphere |
Boolean |
| intersectTestSphereParam | () | method |
public function intersectTestSphereParam(otherCenter:Vector3D, otherRadius:Number):BooleanParameters
otherCenter:Vector3D | |
otherRadius:Number |
Boolean |
| trackObject | () | method |
override protected function trackObject():void