new PixiElement()
Parameters:
Type | Description |
---|---|
void |
Properties:
Name | Type | Description |
---|---|---|
children |
Array.<PIXI.DisplayObject> |
- Source:
Extends
- phina.app.Element
Methods
addChild(child) → {this}
Add child to internal Pixi container
Parameters:
Name | Type | Description |
---|---|---|
child |
PIXI.DisplayObject | phina.pixi.PixiElement |
- Source:
Returns:
- Type
- this
getPixiChildren() → {Array}
Get all children in Pixi container
Parameters:
Type | Description |
---|---|
void |
- Source:
Returns:
- Type
- Array
removeChild(child) → {this}
Remove child from internal Pixi container
Parameters:
Name | Type | Description |
---|---|---|
child |
PIXI.DisplayObject | phina.pixi.PixiElement |
- Source:
Returns:
- Type
- this