| Package | Box2D.Dynamics.Contacts |
| Class | public class b2Contact |
| Subclasses | b2CircleContact, b2NullContact, b2PolyAndCircleContact, b2PolyContact |
| Property | Defined by | ||
|---|---|---|---|
| e_destroyFlag : uint = 0x0002 [static]
| b2Contact | ||
| e_islandFlag : uint = 0x0001 [static]
| b2Contact | ||
| m_flags : uint | b2Contact | ||
| m_friction : Number | b2Contact | ||
| m_manifoldCount : int | b2Contact | ||
| m_next : b2Contact | b2Contact | ||
| m_node1 : b2ContactNode | b2Contact | ||
| m_node2 : b2ContactNode | b2Contact | ||
| m_prev : b2Contact | b2Contact | ||
| m_restitution : Number | b2Contact | ||
| m_shape1 : b2Shape | b2Contact | ||
| m_shape2 : b2Shape | b2Contact | ||
| s_initialized : Boolean = false [static]
| b2Contact | ||
| s_registers : Array [static]
| b2Contact | ||
| Method | Defined by | ||
|---|---|---|---|
| b2Contact | |||
|
AddType(createFcn:*, destroyFcn:*, type1:int, type2:int):void
[static]
| b2Contact | ||
|
[static]
| b2Contact | ||
|
[static]
| b2Contact | ||
|
Evaluate():void
| b2Contact | ||
|
GetManifoldCount():int
| b2Contact | ||
|
GetManifolds():Array
| b2Contact | ||
| b2Contact | |||
| b2Contact | |||
| b2Contact | |||
|
InitializeRegisters():void
[static]
| b2Contact | ||
| e_destroyFlag | property |
public static var e_destroyFlag:uint = 0x0002
| e_islandFlag | property |
public static var e_islandFlag:uint = 0x0001
| m_flags | property |
public var m_flags:uint
| m_friction | property |
public var m_friction:Number
| m_manifoldCount | property |
public var m_manifoldCount:int
| m_next | property |
public var m_next:b2Contact
| m_node1 | property |
public var m_node1:b2ContactNode
| m_node2 | property |
public var m_node2:b2ContactNode
| m_prev | property |
public var m_prev:b2Contact
| m_restitution | property |
public var m_restitution:Number
| m_shape1 | property |
public var m_shape1:b2Shape
| m_shape2 | property |
public var m_shape2:b2Shape
| s_initialized | property |
public static var s_initialized:Boolean = false
| s_registers | property |
public static var s_registers:Array
| b2Contact | () | constructor |
public function b2Contact(s1:b2Shape = null, s2:b2Shape = null)Parameters
s1:b2Shape (default = null) |
|
s2:b2Shape (default = null) |
| AddType | () | method |
public static function AddType(createFcn:*, destroyFcn:*, type1:int, type2:int):voidParameters
createFcn:* |
|
destroyFcn:* |
|
type1:int |
|
type2:int |
| Create | () | method |
public static function Create(shape1:b2Shape, shape2:b2Shape, allocator:*):b2ContactParameters
shape1:b2Shape |
|
shape2:b2Shape |
|
allocator:* |
b2Contact |
| Destroy | () | method |
public static function Destroy(contact:b2Contact, allocator:*):voidParameters
contact:b2Contact |
|
allocator:* |
| Evaluate | () | method |
public function Evaluate():void
| GetManifoldCount | () | method |
public function GetManifoldCount():int
Returns
int |
| GetManifolds | () | method |
public function GetManifolds():Array
Returns
Array |
| GetNext | () | method |
| GetShape1 | () | method |
| GetShape2 | () | method |
| InitializeRegisters | () | method |
public static function InitializeRegisters():void