Camera翻译:Yīm
- actualRenderingPath
- allCameras
- aspect
- backgroundColor
- cameraToWorldMatrix
- clearFlags
- CopyFrom
- cullingMask
- current
- depthTextureMode
- depth
- farClipPlane
- fieldOfView
- layerCullDistances
- main
- nearClipPlane
- OnPostRender
- OnPreCull
- OnPreRender
- OnRenderImage
- OnRenderObject
- OnWillRenderObject
- orthographicSize
- orthographic
- pixelHeight
- pixelRect
- pixelWidth
- projectionMatrix
- rect
- renderingPath
- RenderToCubemap
- RenderWithShader
- Render
- ResetAspect
- ResetProjectionMatrix
- ResetReplacementShader
- ResetWorldToCameraMatrix
- ScreenPointToRay
- ScreenToViewportPoint
- ScreenToWorldPoint
- SetReplacementShader
- targetTexture
- velocity
- ViewportPointToRay
- ViewportToScreenPoint
- ViewportToWorldPoint
- worldToCameraMatrix
- WorldToScreenPoint
- WorldToViewportPoint
Camera.Render 渲染
function Render () : void
Description描述
Render the camera manually.
手动渲染相机。
This will render the camera. It will use the camera's clear flags, target texture and all other settings.
这个将渲染相机,这将使用相机的清除标记,目标纹理和所有其它设置。
The camera will send OnPreCull, OnPreRender & OnPostRender to any scripts attached, and render any eventual image filters.
相机将发送OnPreCull, OnPreRender & OnPostRender到任何附加的脚本上,并渲染任何最后的图像滤镜。
This is used for taking precise control of render order. To make use of this feature, create a camera and disable it. Then call Render on it.
这个用来精确地控制渲染次序,为了使用这个特性,创建一个相机并禁用它,然后在它上面调用Render。
参见: RenderWithShader.
最后修改:2011年3月7日 Monday 11:42