Class b2EdgeChainDef

This structure is used to build edge shapes.

Index

Constructor methods

Properties

Constructor methods

constructor(): b2EdgeChainDef

Creates a new edge chain def.

Returns

b2EdgeChainDef

Properties

public isALoop: boolean

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

public vertexCount: number

The number of vertices in the chain.

public vertices: b2Vec2

The vertices in local coordinates.