| Package | Box2DAS.Dynamics |
| Class | public class b2Fixture |
| Inheritance | b2Fixture b2EventDispatcher b2Base Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | bytes : ByteArray [static] | b2Base | |
![]() | dispatcher : IEventDispatcher | b2EventDispatcher | |
| groupID : int | b2Fixture | ||
![]() | initialized : Boolean = false [static] | b2Base | |
![]() | lib : Object [static] | b2Base | |
![]() | loader : CLibInit [static] | b2Base | |
| m_aabb : b2AABB [read-only] | b2Fixture | ||
| m_body : b2Body | b2Fixture | ||
| m_conveyorBeltSpeed : Number | b2Fixture | ||
| m_density : Number | b2Fixture | ||
![]() | mem : MemUser [static] | b2Base | |
| m_filter : b2Filter | b2Fixture | ||
| m_friction : Number | b2Fixture | ||
| m_isSensor : Boolean | b2Fixture | ||
| m_next : b2Fixture | b2Fixture | ||
| m_proxyId : int | b2Fixture | ||
| m_reportBeginContact : Boolean | b2Fixture | ||
| m_reportEndContact : Boolean | b2Fixture | ||
| m_reportPostSolve : Boolean | b2Fixture | ||
| m_reportPreSolve : Boolean | b2Fixture | ||
| m_restitution : Number | b2Fixture | ||
| m_shape : b2Shape | b2Fixture | ||
| m_userData : * | b2Fixture | ||
![]() | _ptr : Number | b2Base | |
![]() | valid : Boolean [read-only]
Does the object point to a C++ equivalent (i.e. | b2Base | |
| Method | Defined By | ||
|---|---|---|---|
| b2Fixture | |||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void | b2EventDispatcher | |
![]() | deref(adr:int):* [static]
dereference a C++ pointer or AS3_Val that is pointing to an AS3 object. | b2Base | |
destroy():void [override] | b2Fixture | ||
![]() | dispatchEvent(evt:Event):Boolean | b2EventDispatcher | |
| b2Fixture | |||
![]() | getArr():Array [static] | b2Base | |
| b2Fixture | |||
GetDensity():Number | b2Fixture | ||
| b2Fixture | |||
GetFilterData():Object | b2Fixture | ||
GetFriction():Number | b2Fixture | ||
| b2Fixture | |||
| b2Fixture | |||
GetRestitution():Number | b2Fixture | ||
| b2Fixture | |||
GetType():int | b2Fixture | ||
GetUserData():* | b2Fixture | ||
![]() | hasEventListener(type:String):Boolean | b2EventDispatcher | |
![]() | initialize(defs:Boolean = true):void [static]
Initialize the C++ module. | b2Base | |
IsSensor():Boolean | b2Fixture | ||
RayCast():void | b2Fixture | ||
![]() | readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array. | b2Base | |
Refilter():void | b2Fixture | ||
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | b2EventDispatcher | |
SetDensity(v:Number):void | b2Fixture | ||
SetFilterData(filter:Object, refilter:Boolean = true):void | b2Fixture | ||
SetFriction(friction:Number):void | b2Fixture | ||
SetRestitution(restitution:Number):void | b2Fixture | ||
SetSensor(sensor:Boolean):void | b2Fixture | ||
SetUserData(data:*):void | b2Fixture | ||
| b2Fixture | |||
![]() | willTrigger(type:String):Boolean | b2EventDispatcher | |
![]() | writeVertices(adr:int, v:Vector.<V2>):void
Write a vertex array of the format [new V2(x,y), new V2(x,y), ...] to C++ memory. | b2Base | |
| groupID | property |
groupID:int public function get groupID():int public function set groupID(value:int):void| m_aabb | property |
| m_body | property |
public var m_body:b2Body| m_conveyorBeltSpeed | property |
m_conveyorBeltSpeed:Number public function get m_conveyorBeltSpeed():Number public function set m_conveyorBeltSpeed(value:Number):void| m_density | property |
m_density:Number public function get m_density():Number public function set m_density(value:Number):void| m_filter | property |
public var m_filter:b2Filter| m_friction | property |
m_friction:Number public function get m_friction():Number public function set m_friction(value:Number):void| m_isSensor | property |
m_isSensor:Boolean public function get m_isSensor():Boolean public function set m_isSensor(value:Boolean):void| m_next | property |
public var m_next:b2Fixture| m_proxyId | property |
m_proxyId:int public function get m_proxyId():int public function set m_proxyId(value:int):void| m_reportBeginContact | property |
m_reportBeginContact:Boolean public function get m_reportBeginContact():Boolean public function set m_reportBeginContact(value:Boolean):void| m_reportEndContact | property |
m_reportEndContact:Boolean public function get m_reportEndContact():Boolean public function set m_reportEndContact(value:Boolean):void| m_reportPostSolve | property |
m_reportPostSolve:Boolean public function get m_reportPostSolve():Boolean public function set m_reportPostSolve(value:Boolean):void| m_reportPreSolve | property |
m_reportPreSolve:Boolean public function get m_reportPreSolve():Boolean public function set m_reportPreSolve(value:Boolean):void| m_restitution | property |
m_restitution:Number public function get m_restitution():Number public function set m_restitution(value:Number):void| m_shape | property |
public var m_shape:b2Shape| m_userData | property |
public var m_userData:*| b2Fixture | () | Constructor |
public function b2Fixture(b:b2Body, d:b2FixtureDef = null, ed:IEventDispatcher = null)b:b2Body | |
d:b2FixtureDef (default = null) | |
ed:IEventDispatcher (default = null) |
| destroy | () | method |
override public function destroy():void| Draw | () | method |
public function Draw(g:Graphics, xf:XF, scale:Number = 1):voidParameters
g:Graphics | |
xf:XF | |
scale:Number (default = 1) |
| GetBody | () | method |
| GetDensity | () | method |
public function GetDensity():NumberReturnsNumber |
| GetDistance | () | method |
| GetFilterData | () | method |
public function GetFilterData():ObjectReturnsObject |
| GetFriction | () | method |
public function GetFriction():NumberReturnsNumber |
| GetMassData | () | method |
| GetNext | () | method |
| GetRestitution | () | method |
public function GetRestitution():NumberReturnsNumber |
| GetShape | () | method |
| GetType | () | method |
public function GetType():intReturnsint |
| GetUserData | () | method |
public function GetUserData():*Returns* |
| IsSensor | () | method |
public function IsSensor():BooleanReturnsBoolean |
| RayCast | () | method |
public function RayCast():void| Refilter | () | method |
public function Refilter():void| SetDensity | () | method |
public function SetDensity(v:Number):voidParameters
v:Number |
| SetFilterData | () | method |
public function SetFilterData(filter:Object, refilter:Boolean = true):voidParameters
filter:Object | |
refilter:Boolean (default = true) |
| SetFriction | () | method |
public function SetFriction(friction:Number):voidParameters
friction:Number |
| SetRestitution | () | method |
public function SetRestitution(restitution:Number):voidParameters
restitution:Number |
| SetSensor | () | method |
public function SetSensor(sensor:Boolean):voidParameters
sensor:Boolean |
| SetUserData | () | method |
public function SetUserData(data:*):voidParameters
data:* |
| TestPoint | () | method |