线条渲染器一个组件,它获取 3D 空间中两个或多个点的数组,并在每个点之间绘制一条直线。您可以使用单个线条渲染器组件绘制从简单直线到复杂螺旋线的任何内容。 更多信息
参见 术语表 组件获取 3D 空间中两个或多个点的数组,并在每个点之间绘制一条直线。您可以使用线条渲染器绘制从简单直线到复杂螺旋线的任何内容。
线条始终是连续的;如果您需要绘制两条或多条完全独立的线条,则应使用多个带有各自线条渲染器的游戏对象Unity 场景中的基本对象,可以表示角色、道具、场景、摄像机、路径点等等。游戏对象的特性由附加在其上的组件定义。 更多信息
参见 术语表。
线条渲染器不会渲染具有像素计算机图像中的最小单位。像素大小取决于屏幕分辨率。像素灯光在每个屏幕像素处计算。 更多信息
参见 术语表宽度的线条。它渲染在世界单位中具有宽度的多边形。线条渲染器使用与轨迹渲染器一种视觉效果,允许您在游戏对象在场景中移动时在其身后创建轨迹。 更多信息
参见 术语表相同的算法进行线条渲染。
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.