C# Класс FBOPlugin, UnityFBO

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Initialize ( ) : void

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

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

Описание методов

GetTexture() публичный статический Метод

Other scripts call this to get the texture.
public static GetTexture ( ) : Texture2D
Результат UnityEngine.Texture2D

Update() публичный статический Метод

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 ///
Результат void