Group
Class representing a Group in MYR
Constructor Summary
| Public Constructor | ||
| public |
constructor(originalMyr: Myr, id: string) Instantiate a new Group class |
|
Member Summary
| Public Members | ||
| public |
Add new MYR entity to the Group |
|
| public |
els: *[] |
|
| public |
Return an object with elements of the Group |
|
| public |
|
|
| public |
Retrieve specific MYR entity in the Group |
|
| public |
Retrieve the index of specific MYR entity in the Group |
|
| public |
id: * |
|
| public |
myr: * |
|
| public |
Remove MYR entity from the Group |
|
| public |
setPosition(x: number, y: number, z: number): * Sets the x, y, and z position of the Group |
|
| public |
setRotation(x: number, y: number, z: number): * Sets the x, y, and z rotation of the Group |
|
| public |
Sets the x, y, and z scale of the Group |
|
Public Constructors
Public Members
public els: *[] source
public getIndex(outerElId: string): number: * source
Retrieve the index of specific MYR entity in the Group
public id: * source
public myr: * source
public setPosition(x: number, y: number, z: number): * source
Sets the x, y, and z position of the Group