-
Notifications
You must be signed in to change notification settings - Fork 2
RenderablePolygon
Isuru Kusumal Rajapakse edited this page Jun 18, 2017
·
1 revision
- Represents a component that defines renderable behaviour of a sprite
Void
renders the polygon on the given canvas, and if a camera is provided, then as seen from given camera
| Name | Type | Description | |
|---|---|---|---|
| c | context |
- the canvas context to draw the polygon on. | |
| camera | Camera |
- the camera to look at the polygon from. |
Void