Piccolo.NET

PLens.AddLayer Method 

Add the layer at the given index in the list of layers managed by the camera child of this lens.

public virtual void AddLayer(
   int index,
   PLayer layer
);

Parameters

index
The index at which to add the layer.
layer
The layer to add to the camera child of this lens.

See Also

PLens Class | UMD.HCIL.PiccoloX.Nodes Namespace