PackageBox2D.Collision.Shapes
Classpublic class b2EdgeChainDef
Sourceb2EdgeChainDef.as

This structure is used to build edge shapes.

See also

b2EdgeShape


Public Properties
 PropertyDefined by
  isALoop : Boolean
Whether to create an extra edge between the first and last vertices.
b2EdgeChainDef
  vertexCount : int
The number of vertices in the chain.
b2EdgeChainDef
  vertices : Array
The vertices in local coordinates.
b2EdgeChainDef
Public Methods
 MethodDefined by
  
b2EdgeChainDef
Property detail
isALoopproperty
public var isALoop:Boolean

Whether to create an extra edge between the first and last vertices.

vertexCountproperty 
public var vertexCount:int

The number of vertices in the chain.

verticesproperty 
public var vertices:Array

The vertices in local coordinates.

Constructor detail
b2EdgeChainDef()constructor
public function b2EdgeChainDef()