Removes all points from the TrailRenderer. Useful for restarting a trail from a new position.
Get the position of a vertex in the trail.
Select whether the trail will face the camera, or the orientation of the Transform Component.
Does the GameObject of this Trail Renderer auto destruct?
Does the trail cast a shadow when a shadow-casting Light shines on it?
Whether this TrailRenderer component is Enabled or not
Set the color at the end of the trail.
The width of the trail at the end of the trail.
Is this renderer visible in any camera?
Set the minimum distance the trail can travel before a new vertex is added to it.
Set whether to use motion vectors to track this Renderer’s per-pixel, screen-space motion from one frame to the next. You can use this information to apply post-processing effects such as motion blur.
Set this to a value greater than 0, to get rounded corners on each end of the trail.
Set this to a value greater than 0, to get rounded corners between each segment of the trail.
Get the number of line segments in the trail.
Does this object receive shadows?
Set the color at the start of the trail.
The width of the trail at the spawning point.
Choose whether the U coordinate of the trail texture is tiled or stretched.
How long does the trail take to fade out.
Enable Light Probes on the trail.
Set an overall multiplier that is applied to the TrailRenderer.widthCurve to get the final width of the trail.
|