Purpose
Provides the current layer object.
Syntax
object Layer;
Example
function Update() {
layer = UpdateContext.Layer;
node = layer.FindNode("Frame Buffer");
node.SetInt("Attributes.Frame Grab Active", 1);
}
Provides the current layer object.
object Layer;
function Update() {
layer = UpdateContext.Layer;
node = layer.FindNode("Frame Buffer");
node.SetInt("Attributes.Frame Grab Active", 1);
}
*Please note this is a member variable of UpdateContext, not a function.