文档详情

2-5摄像机.doc

发布:2016-12-11约1.12万字共9页下载文档
文本预览下载声明
Cameras 摄像机 Unity Manual User Guide Building Scenes Cameras Unity手册-用户指南-创建场景-摄像机 Just as cameras are used in films to display the story to the audience, Cameras in Unity are used to display the game world to the player. You will always have at least one camera in a scene, but you can have more than one. Multiple cameras can give you a two-player splitscreen or create advanced custom effects. You can animate cameras, or control them with physics. Practically anything you can imagine is possible with cameras, and you can use typical or unique cameras to fit your games style. 正如摄像机用于电影显示故事给观众,在Unity里摄像机用于显示游戏世界给玩家。在一个场景里,你总是拥有至少一个摄像机,但你可以拥有超过一个的摄像机。多个摄像机可以给你两个玩家分屏或建立高级的客户效果。你可以动画摄像机,或物理控制它们。你可以设想几乎任何事情是摄像机发生的已经你可以使用典型的或独特的摄像机以适合你的游戏的风格。 The remaining text is from the Camera Component reference page. 剩余的文本来自于摄像机组件引用页。 Camera 摄像机 Cameras are the devices that capture and display the world to the player. By customizing and manipulating cameras, you can make the presentation of your game truly unique. You can have an unlimited number of cameras in a scene. They can be set to render in any order, at any place on the screen, or only certain parts of the screen. 摄像机是捕获和展示世界该玩家的设备。通过定制和操纵摄像机,你可以使你的游戏真正独一无二的展示。在场景里你可以拥有不限数量的摄像机。它们可以被设置为任何顺序渲染、在屏幕的任何地方或仅是屏幕的以部分。 Unitys flexible Camera object Unity的灵活的设计摄像机对象。 Properties 属性 Clear Flags 清除标志 Determines which parts of the screen will be cleared. This is handy when using multiple Cameras to draw different game elements. 确定屏幕的哪些部分将被清除。这是方便的当使用多个摄像机去绘制不同游戏元素时。 Background color 背景颜色 Color applied to the remaining screen after all elements in view have been drawn and there is no skybox. 颜色应用于在所有在视图里的元素已经被绘制和没有天空盒之后的屏幕的剩余部分。 Normalized View Port Rect 标准视口矩形 Four values that indicate where on the screen this camera view will be drawn, in Screen Coordinates (values 0-1). 四个值在屏幕上指定哪里,摄像机视图将被绘制,在场景里相配(值 0-1) X The beginning horizontal position that the camera view will be drawn. 摄像机视图开始的水平位置将被会绘制。 Y The beginning vertical po
显示全部
相似文档