camera.current 当前相机

2015-1-4 02:17| 发布者: 杨炎| 查看: 1972| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本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

相关阅读

文章点评
相关文章