Layer.addComponent Method
Add a component that extends or shares the same interface as an Entity.
Parameters
Name |
Description |
component |
The Entity to add to the layer. |
Examples
Supported Platforms
Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.