C# Class FBOPlugin, UnityFBO

Afficher le fichier Open project: robertcastle/UnityFBO Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

Update() public static méthode

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 ///
Résultat void