C# Class FBOPlugin, UnityFBO

Exibir arquivo Open project: robertcastle/UnityFBO Class Usage Examples

Public Methods

Method Description
GetTexture ( ) : Texture2D

Other scripts call this to get the texture.

Update ( float value ) : void

Update the FBO content. Set a value between 0-1 to change the source texture

Private Methods

Method Description
Initialize ( ) : void

Initializes the texture, and Initializes the plugin, which sets up the FBO

InitializeTexture ( int textureID ) : void
UpdateTexture ( float value ) : void

Method Details

GetTexture() public static method

Other scripts call this to get the texture.
public static GetTexture ( ) : Texture2D
return UnityEngine.Texture2D

Update() public static method

Update the FBO content. Set a value between 0-1 to change the source texture
public static Update ( float value ) : void
value float /// A value between 0-1 ///
return void