Class ScreenshotTool
public sealed class ScreenshotTool : FlowGraphObject, IFlowGraphRuntime, IFlowProgramRuntime, IFlowGraphContainer, ICeresGraphContainer
- Inheritance
-
ScreenshotTool
- Implements
- Inherited Members
Constructors
ScreenshotTool()
public ScreenshotTool()
Properties
DelayFrames
public int DelayFrames { get; set; }
Property Value
EnableHDR
public bool EnableHDR { get; set; }
Property Value
MaxWarmupFrames
public int MaxWarmupFrames { get; set; }
Property Value
OnScreenshotEnd
Fired on any screenshot end.
public static Observable<Unit> OnScreenshotEnd { get; }
Property Value
- Observable<Unit>
OnScreenshotStart
Fired on any screenshot start.
public static Observable<Unit> OnScreenshotStart { get; }
Property Value
- Observable<Unit>
ScreenshotMode
public ScreenshotMode ScreenshotMode { get; set; }
Property Value
SourceCamera
public Camera SourceCamera { get; set; }
Property Value
SuperSize
public int SuperSize { get; set; }
Property Value
Methods
GetLastScreenshot()
Get last screenshot if it exists.
[ExecutableFunction]
public Texture2D GetLastScreenshot()
Returns
Invoke_GetLastScreenshot(ScreenshotTool)
[ExecutableFunction]
public static Texture2D Invoke_GetLastScreenshot(ScreenshotTool value)
Parameters
valueScreenshotTool
Returns
Invoke_TakeScreenshot(ScreenshotTool)
[ExecutableFunction]
public static void Invoke_TakeScreenshot(ScreenshotTool value)
Parameters
valueScreenshotTool
OnTakeScreenshotEnd()
Process after taken screenshot
[ImplementableEvent]
public void OnTakeScreenshotEnd()
OnTakeScreenshotStart()
Process before taken screenshot
[ImplementableEvent]
public void OnTakeScreenshotStart()
TakeScreenshot()
Take a screenshot by tool current settings.
[ExecutableFunction]
public void TakeScreenshot()