Packagecom.pblabs.rendering2D
Interfacepublic interface IMobileSpatialObject2D extends ISpatialObject2D
Implementors Box2DSpatialComponent, SimpleSpatialComponent

Interface that provides mobile spatial information.



Public Properties
 PropertyDefined By
 InheritedobjectMask : ObjectType
[read-only] This object's collision flags.
ISpatialObject2D
  position : Point
Position getter.
IMobileSpatialObject2D
  rotation : Number
Rotation getter.
IMobileSpatialObject2D
  size : Point
Size getter.
IMobileSpatialObject2D
 InheritedworldExtents : Rectangle
[read-only] Axis aligned object bounds in world space.
ISpatialObject2D
Public Methods
 MethodDefined By
 Inherited
castRay(start:Point, end:Point, flags:ObjectType, result:RayHitInfo):Boolean
Perform a ray cast against this object.
ISpatialObject2D
 Inherited
pointOccupied(pos:Point, mask:ObjectType, scene:IScene2D):Boolean
Return true if the specified point is occupied by this object, used for ObjectsUnderPoint.
ISpatialObject2D
Property Detail
positionproperty
position:Point

Position getter.


Implementation
    public function get position():Point
    public function set position(value:Point):void
rotationproperty 
rotation:Number

Rotation getter.


Implementation
    public function get rotation():Number
    public function set rotation(value:Number):void
sizeproperty 
size:Point

Size getter.


Implementation
    public function get size():Point
    public function set size(value:Point):void