Static Member Summary
| Static Public Members | ||
| public static get |
propsTypes: {...undefined: Object, "vertices": string} |
|
Static Method Summary
| Static Public Methods | ||
| public static |
factory(): * |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
containsPoint(globalPoint: *, layer: undefined): boolean |
|
| public |
dispose() |
|
| public |
onPropertySerialize(name: *, value: *): * |
|
Inherited Summary
| From class Component | ||
| public static get |
propsTypes: * |
|
| public static |
Component factory. |
|
| public get |
|
|
| public |
[name]: * |
|
| public |
deserialize(json: *) Deserialize JSON properties into this component. |
|
| public |
dispose() Destructor (dispose internal resources and detach from entity). |
|
| public |
Called when action arrived. |
|
| public |
onAlterActionArguments(name: string, args: *): array | undefined Called when asked to alter arrived action parameters. |
|
| public |
onAttach() Called after attached to entity. |
|
| public |
onDetach() Called before detached from entity. |
|
| public |
onPropertySerialize(name: string, value: *): * Called when property is serialized. |
|
| public |
onPropertySetup(name: string, value: *) Called when given property is deserialized. |
|
| public |
serialize(): * Serialize component into JSON data. |
|
| From class Shape | ||
| public static get |
propsTypes: {"layers": string} |
|
| public static |
factory(): * |
|
| public get |
|
|
| public set |
|
|
| public |
acceptsLayer(name: *): * |
|
| public |
containsPoint(globalPoint: *, layer: undefined) |
|
| public |
containsPointInChildren(globalPoint: *, layer: undefined): * |
|
| public |
dispose() |
|
Static Public Members
public static get propsTypes: {...undefined: Object, "vertices": string} source
Override:
Shape#propsTypesStatic Public Methods
Public Constructors
Public Methods
public containsPoint(globalPoint: *, layer: undefined): boolean source
Override:
Shape#containsPointParams:
| Name | Type | Attribute | Description |
| globalPoint | * | ||
| layer | undefined |
|
public dispose() source
Destructor (dispose internal resources and detach from entity).
Override:
Shape#disposepublic onPropertySerialize(name: *, value: *): * source
Called when property is serialized.
Override:
Component#onPropertySerializeParams:
| Name | Type | Attribute | Description |
| name | * | ||
| value | * |
Return:
| * |
