C# Class FairyGUI.CaptureCamera

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Methods

Method Description
Capture ( DisplayObject target, RenderTexture texture, Vector2 offset ) : void

CheckMain ( ) : void

CreateRenderTexture ( int width, int height, bool stencilSupport ) : RenderTexture

OnEnable ( ) : void

Method Details

Capture() public static method

public static Capture ( DisplayObject target, RenderTexture texture, Vector2 offset ) : void
target DisplayObject
texture UnityEngine.RenderTexture
offset Vector2
return void

CheckMain() public static method

public static CheckMain ( ) : void
return void

CreateRenderTexture() public static method

public static CreateRenderTexture ( int width, int height, bool stencilSupport ) : RenderTexture
width int
height int
stencilSupport bool
return UnityEngine.RenderTexture

OnEnable() public method

public OnEnable ( ) : void
return void