LayerCollection
Declaration
public class Strawberry.Graphics.Layers.LayerCollection
Collection managing the set of layers within a scene.
Inherits: Strawberry.Collection.OrderedDictionary
Methods
MoveTo
Moves a layer to from source index to the specified position (target) in the collection of layer
void MoveTo(int source, int target)
Parameters:
| Name | Type | Description |
|---|---|---|
source |
System.Int32 |
|
target |
System.Int32 |
IndexOf
Returns the index of the specified layer
int IndexOf(Layer value)
Parameters:
| Name | Type | Description |
|---|---|---|
value |
Strawberry.Graphics.Layers.Layer |
The layer to find |
Returns: The index of the specified layer