将Cinemachine 像素电脑图像中的最小单位。像素大小取决于屏幕分辨率。像素光照在每个屏幕像素处计算。 更多信息
参见 术语表完美添加到 Cinemachine 虚拟摄像机,以同时使用像素完美摄像头一个组件,用于创建场景中特定视点的图像。生成的图像会绘制到屏幕上或作为纹理捕获。 更多信息
参见 术语表和Cinemachine。这两个系统都会修改摄像机的正交大小,所以在单个场景场景包含游戏环境和菜单。将每个独特的场景文件视为一个独特的等级。在每个场景中,你放置环境、障碍物和装饰,本质上分块设计和构建游戏。 更多信息
参见 术语表中同时使用这两个系统会导致它们争夺对摄像机的控制权并产生不良结果。Cinemachine 像素完美扩展程序可解决此不兼容性问题。
Cinemachine 像素完美是Cinemachine 虚拟摄像头的扩展程序,可更改虚拟摄像机的正交大小。该扩展会检测像素完美摄像头组件的存在,并使用组件设置来为虚拟摄像机的正确正交大小进行计算,从而在保持像素完美的分辨率方面效果最佳。精灵2D 图形对象。如果你习惯于在 3D 中工作,精灵本质上只是标准纹理,但有一些特殊技术用于在开发过程中组合和管理精灵纹理以提高效率和便利性。 更多信息
参见 术语表
要将此扩展添加到您的虚拟摄影机,请使用 Cinemachine 虚拟摄影机 检查器一个 Unity 窗口,显示有关当前所选 GameObject、资源或项目设置的信息,允许您检查并编辑值。 详细信息
请参阅 词汇表 窗口中的添加扩展下拉菜单。将此扩展添加到项目中的每个虚拟摄影机。
对于连接了此扩展的每个虚拟摄影机,Pixel Perfect Camera 组件随后计算像素完美正交大小,以最好地匹配虚拟摄影机的原始大小,届时为播放模式或已启用在编辑模式下运行。此操作旨在当实施像素完美计算时尽可能贴近每个虚拟摄影机的原始取景。
当 Cinemachine Brain 组件 融合从一种动画流畅无缝地过渡到另一种动画,例如根据角色的速度融合角色的行走和跑步动画。
请参阅 词汇表 多个虚拟摄影机时,在相机之间的过渡期间渲染的图像暂时不是像素完美的。一旦视图完全过渡到单个虚拟摄影机,图像将变为像素完美。
下面是此扩展的当前限制
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.