static public int constructor(IntPtr l) { try { UnityEngine.Experimental.Playables.TexturePlayableOutput o; o = new UnityEngine.Experimental.Playables.TexturePlayableOutput(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
public static TexturePlayableOutput Create(PlayableGraph graph, string name, RenderTexture target) { PlayableOutputHandle handle; if (!TexturePlayableGraphExtensions.InternalCreateTextureOutput(ref graph, name, out handle)) { return(TexturePlayableOutput.Null); } TexturePlayableOutput output = new TexturePlayableOutput(handle); output.SetTarget(target); return(output); }
public static TexturePlayableOutput Create(PlayableGraph graph, string name, RenderTexture target) { PlayableOutputHandle handle; TexturePlayableOutput result; if (!TexturePlayableGraphExtensions.InternalCreateTextureOutput(ref graph, name, out handle)) { result = TexturePlayableOutput.Null; } else { TexturePlayableOutput texturePlayableOutput = new TexturePlayableOutput(handle); texturePlayableOutput.SetTarget(target); result = texturePlayableOutput; } return(result); }
private static PlayableOutput CreateTextureOutput(PlayableGraph graph, string name) { return(TexturePlayableOutput.Create(graph, name, null)); }
public void SetTarget(RenderTexture value) { TexturePlayableOutput.InternalSetTarget(ref this.m_Handle, value); }
public RenderTexture GetTarget() { return(TexturePlayableOutput.InternalGetTarget(ref this.m_Handle)); }