找回密碼
 注冊帳號

掃一掃,訪問微社區

camera.current 當前相機

2015-1-4 02:17| 發布者: 楊炎| 查看: 2278| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: camera.current 當前相機static varcurrent: cameradescription描述the camera we are currently rendering with, for low-level render control only (read only).當前用于渲染的相機,只用于低級的渲染控制(只讀 ...

camera.current 當前相機

static varcurrent: camera

description描述

the camera we are currently rendering with, for low-level render control only (read only).

當前用于渲染的相機,只用于低級的渲染控制(只讀)

most of the time you will want to usecamera.maininstead. use this function only when implementing one of the following events:monobehaviour.onrenderimage,monobehaviour.onprerender,monobehaviour.onpostrender.

多數時候你會使用camera.main,只有在執行下面事件的時候使用這個函數monobehaviour.onrenderimage,monobehaviour.onprerender,monobehaviour.onpostrender

相關閱讀

文章點評
相關文章
女校游泳队彩金