2021-05-11 18:30:36 -07:00

42 lines
985 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [TempPolygon](temppolygon.md)
# Class: TempPolygon
This holds polygon B expressed in frame A.
## Hierarchy
* **TempPolygon**
## Index
### Properties
* [count](temppolygon.md#count)
* [normals](temppolygon.md#normals)
* [vertices](temppolygon.md#vertices)
## Properties
### count
• **count**: *number* = 0
*Defined in [src/collision/shape/CollideEdgePolygon.ts:91](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/shape/CollideEdgePolygon.ts#L91)*
___
### normals
• **normals**: *[Vec2](vec2.md)[]* = []
*Defined in [src/collision/shape/CollideEdgePolygon.ts:90](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/shape/CollideEdgePolygon.ts#L90)*
___
### vertices
• **vertices**: *[Vec2](vec2.md)[]* = []
*Defined in [src/collision/shape/CollideEdgePolygon.ts:89](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/shape/CollideEdgePolygon.ts#L89)*