new ViewCircleSprite(p_pixi_app, p_model, p_config, p_resources)
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
p_pixi_app |
Object | |||||||
p_model |
ModelCircle | |||||||
p_config |
Object |
Properties
|
||||||
p_resources |
Object |
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
model |
ModelCircle | the model to be visualized |
sprite |
PIXI.Graphics | a graphic object that visualizes the model |
Methods
-
addEventListener(p_event, f_listener)
-
Adds a listener to PixiJS events dispatched by
this.sprite.Parameters:
Name Type Description p_eventstring the name of the PixiJS event to be listened to f_listenerfunction the listener