s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
Api
Classes
TrailRenderer
chevron_left Classes
class
TrailRenderer

Constructors

functionsTrailRenderer

Properties

data_objectBlendModedata_objectCastShadowsdata_objectColordata_objectEmittingdata_objectFacedata_objectLifeTimedata_objectMaxPointsdata_objectOpaquedata_objectPointDistancedata_objectTexturingdata_objectWidthdata_objectWireframe
TrailRenderer
Renders a trail behind the object, when it moves.
class Sandbox .account_tree extends Renderer
sealedSandbox.Engine

build Constructors 1

TrailRenderer ()

data_object Properties 12

BlendMode
BlendMode
CastShadows
bool
Color
Gradient
Emitting
bool
When enabled, new points are added to the trail.
Face
FaceMode
LifeTime
float
MaxPoints
int
Opaque
bool
PointDistance
float
Texturing
TrailTextureConfig
Width
Curve
Wireframe
bool

Inheritance

Component
Renderer
TrailRenderer
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter