纳金网

标题: Pixel Perfect Camera 1.42 [打印本页]

作者: may    时间: 2017-11-1 08:07
标题: Pixel Perfect Camera 1.42
QQ截图20171101080507.jpg
e7bdc4c3-9e2c-4442-baf5-4db9b01068fe_scaled.jpg
70b89058-0328-4fa0-b8f7-e1794e29898e_scaled.jpg

Requires Unity 5.0.0 or higher.

像素完美相机脚本可以更好地控制相机尺寸,并可以为像素艺术品Sprites和Canvas元素提供像素完美渲染。
像素完美:调整相机大小,使每个精灵像素呈现为整数个屏幕像素。 当您使用“点采样”渲染像素艺术时,这非常重要。
相机宽度:指定相机宽度而不是高度(默认Unity相机允许您仅设置相机高度)。
尺寸限制:您可以选择设置允许的相机宽度或高度。 如果用户具有超宽显示器,并且您不想让相机的宽度比一些数量更宽,则此功能非常有用。 该脚本将选择一个尊重所有约束的相机尺寸。
复古快照:启用像素拍摄,使精灵捕捉到艺术品的像素网格,产生快速复古的动作。
画布支持:Canvas下的UI元素可以以像素完美的方式呈现。

Pixel Perfect Camera script gives more control over the camera size and enables pixel perfect rendering for pixel art Sprites and Canvas elements.

Pixel perfect: adjusts the camera size so that each sprite pixel is rendered to an integer number of screen pixels. This is very important when you render pixel art using "point sampling".

Camera width: specify the camera width instead of height (the default Unity camera allows you to set only the camera height).

Size constraints: you can optionally set the maximum allowed camera width or height. This is useful if for example the user has an ultra wide monitor and you don't want your camera's width to be wider than some amount. The script will choose a camera size that respects all constraints.

Retro snap: enabling pixel snapping makes sprites snap to the artwork's pixel grid producing a snappy retro motion.

Canvas support: UI elements under a Canvas can be rendered in a pixel-perfect way.

Pixel Perfect Camera.rar

52.49 KB, 阅读权限: 10, 下载次数: 42


作者: seeyou_1984    时间: 2017-11-1 09:23
亲。谢谢分享哦
作者: tudou@najin    时间: 2017-11-1 13:10
谢谢分享




欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5