Collider.Polygon Class

Defined in: https://github.com/cocos-creator/engine/blob/9b7a7dc11ce49f0fdca3c34df5ab59604060c0a4/cocos2d/core/collider/CCPolygonCollider.js:30

Module: cc

Defines a Polygon Collider .

Index

Properties

Details

Properties

offset

Position offset

meta description
Type Vec2
Defined in cocos2d/core/collider/CCPolygonCollider.js:45
points

Polygon points

meta description
Type Vec2[]
Defined in cocos2d/core/collider/CCPolygonCollider.js:61

results matching ""

    No results matching ""