class in UnityEngine/Inherits from: Renderer
The trail renderer is used to make trails behind objects in the scene as they move about.
拖尾渲染器是场景中的物体移动时在该对象后面产生拖尾效果。
This class is a script interface for a trail renderer.
该类是拖尾渲染器的脚本接口。
autodestruct | Does the GameObject of this trail renderer auto destructs? 该拖尾渲染器的游戏对象是否自动销毁? |
endWidth | The width of the trail at the end of the trail. 该拖尾结束时的拖尾宽度。 |
startWidth | The width of the trail at the spawning point. 在产生拖尾的点的拖尾宽度。 |
time | How long does the trail take to fade out. 拖尾淡出的时间多久。 |
Clear | Removes all points from the TrailRenderer. Useful for restarting a trail from a new position. 从拖尾渲染器移除所有点。用于从一个新的位置重新启用拖尾渲染器。 |