RenderTexture 渲染纹理

Inherits from Texture

Render textures are textures that can be rendered to.

RenderTexture是可以被渲染的纹理。

They can be used to implement image based rendering effects, dynamic shadows, projectors, reflections or surveillance cameras.

它们可以用来实现基于渲染效果的图像、动态阴影、投影、反射或监视摄像机。

All rendering goes into the active RenderTexture (active class property). If the active RenderTexture is null everything is rendered to the main window.

所有渲染将进入激活的RenderTexture(active类属性)。

Note that while RenderTexture assets can be only power-of-two size, it is possible to create a non-power-of-two (rect) render textures from scripts. These are most often used for image post processing effects.

注意,RenderTexture资源只能是2的幂次方大小,它可以从脚本创建一个不是2的乘方的渲染纹理。这最常用于图像后期处理效果。

RenderTexture class is only available in Unity Pro.

RenderTexture类只能激活于Unity专业版。

Variables变量

Constructors构造器

Functions函数

Class Variables类变量

Class Functions类函数

Inherited members继承成员

Inherited Variables继承变量

Inherited Functions继承函数

Inherited Class Functions继承类函数

Page last updated: 2011-9-17