Collider.Polygon Class

Defined in: https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/collider/CCPolygonCollider.js:29

Module: cc

Defines a Polygon Collider .

Index

Properties

Details

Properties

offset

Position offset

meta description
Type Vec2
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/collider/CCPolygonCollider.js:44
points

Polygon points

meta description
Type [Vec2]
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/collider/CCPolygonCollider.js:60

results matching ""

    No results matching ""