Table of Contents

Method TakeTexture

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

TakeTexture()

Captures the current frame as a Texture2D and saves it to a file.

public static Texture2D TakeTexture()

Returns

Texture2D

The captured frame as a Texture2D.