unitytrailrenderer怎么画虚线

科技 3年前 阅读:19 评论:0

  measuredinseconds;sposition。ThetotalnumberofelementsisdeterminedbytheSizeproperty。在材量数组中总共有几元素。总共的元素个数由Size参数指定。Size大小ThetotalnumberofelementsintheMaterialarray。

  关于拖尾效果粒子着色器工做的更好。用于衬着拖尾的材量的引用。Element0元素ReferencetotheMaterialusedtorenderthetrailAnarrayofmaterialsusedforrenderingthetrail。

  Particleshadersworkthebestfortrails。拖尾的长度。物体位置的拖尾宽度EndWidth完毕宽度Widthofthetrailattheend。用于衬着拖尾的材量数组。Time时间Lenhofthetrail,以秒为单元StartWidth起头宽度Widthofthetrailattheobject。

版权声明

本文仅代表作者观点,不代表木答案立场。

网友评论