PackageBox2DAS.Dynamics
Classpublic class b2FixtureDef
Inheritanceb2FixtureDef Inheritance b2Base Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedbytes : ByteArray
[static]
b2Base
  density : Number
b2FixtureDef
  filter : b2Filter
b2FixtureDef
  friction : Number
b2FixtureDef
  groupID : int
b2FixtureDef
 Inheritedinitialized : Boolean = false
[static]
b2Base
  isSensor : Boolean
b2FixtureDef
 Inheritedlib : Object
[static]
b2Base
 Inheritedloader : CLibInit
[static]
b2Base
 Inheritedmem : MemUser
[static]
b2Base
 Inherited_ptr : Number
b2Base
  restitution : Number
b2FixtureDef
  _shape : b2Shape
b2FixtureDef
  shape : b2Shape
b2FixtureDef
  userData : *
b2FixtureDef
 Inheritedvalid : Boolean
[read-only] Does the object point to a C++ equivalent (i.e.
b2Base
Public Methods
 MethodDefined By
  
b2FixtureDef
  
b2FixtureDef
 Inherited
deref(adr:int):*
[static] dereference a C++ pointer or AS3_Val that is pointing to an AS3 object.
b2Base
  
destroy():void
[override]
b2FixtureDef
 Inherited
getArr():Array
[static]
b2Base
 Inherited
initialize(defs:Boolean = true):void
[static] Initialize the C++ module.
b2Base
 Inherited
readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array.
b2Base
 Inherited
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
Property Detail
_shapeproperty
public var _shape:b2Shape

densityproperty 
density:Number


Implementation
    public function get density():Number
    public function set density(value:Number):void
filterproperty 
public var filter:b2Filter

frictionproperty 
friction:Number


Implementation
    public function get friction():Number
    public function set friction(value:Number):void
groupIDproperty 
groupID:int


Implementation
    public function get groupID():int
    public function set groupID(value:int):void
isSensorproperty 
isSensor:Boolean


Implementation
    public function get isSensor():Boolean
    public function set isSensor(value:Boolean):void
restitutionproperty 
restitution:Number


Implementation
    public function get restitution():Number
    public function set restitution(value:Number):void
shapeproperty 
shape:b2Shape


Implementation
    public function get shape():b2Shape
    public function set shape(value:b2Shape):void
userDataproperty 
public var userData:*

Constructor Detail
b2FixtureDef()Constructor
public function b2FixtureDef()



Method Detail
create()method
public function create(b:b2Body):b2Fixture

Parameters

b:b2Body

Returns
b2Fixture
destroy()method 
override public function destroy():void