API Docs for:
Show:

Shape Class

A component class which holds a physical shape of an entity.

Constructor

Shape

(
  • shape
)

Parameters:

Item Index

Methods

Methods

getShape

() Box | Circle | Polygon

Returns:

Box | Circle | Polygon: Object representing the entity's shape.

setShape

(
  • shape
)

Parameters: