Table of Contents

Class ScreenshotTool

Namespace
Ceres.Gameplay.Capture
Assembly
Ceres.Gameplay.dll
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

int

EnableHDR

public bool EnableHDR { get; set; }

Property Value

bool

MaxWarmupFrames

public int MaxWarmupFrames { get; set; }

Property Value

int

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

ScreenshotMode

SourceCamera

public Camera SourceCamera { get; set; }

Property Value

Camera

SuperSize

public int SuperSize { get; set; }

Property Value

int

Methods

GetLastScreenshot()

Get last screenshot if it exists.

[ExecutableFunction]
public Texture2D GetLastScreenshot()

Returns

Texture2D

Invoke_GetLastScreenshot(ScreenshotTool)

[ExecutableFunction]
public static Texture2D Invoke_GetLastScreenshot(ScreenshotTool value)

Parameters

value ScreenshotTool

Returns

Texture2D

Invoke_TakeScreenshot(ScreenshotTool)

[ExecutableFunction]
public static void Invoke_TakeScreenshot(ScreenshotTool value)

Parameters

value ScreenshotTool

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()