用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:trailrenderer:trailrenderer

TrailRenderer 拖尾渲染器

class in UnityEngine/Inherits from: Renderer

Description 描述

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.

该类是拖尾渲染器的脚本接口。

Variables 变量

autodestructDoes the GameObject of this trail renderer auto destructs?
该拖尾渲染器的游戏对象是否自动销毁?
endWidthThe width of the trail at the end of the trail.
该拖尾结束时的拖尾宽度。
startWidthThe width of the trail at the spawning point.
在产生拖尾的点的拖尾宽度。
timeHow long does the trail take to fade out.
拖尾淡出的时间多久。

Public Functions 公共函数

ClearRemoves all points from the TrailRenderer. Useful for restarting a trail from a new position.
从拖尾渲染器移除所有点。用于从一个新的位置重新启用拖尾渲染器。
script/unityengine/classes/trailrenderer/trailrenderer.txt · 最后更改: 2016/08/02 05:30 (外部编辑)