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
gamejams

Game Jam III

Starts Fri 4 Sep
Theme

Theme revealed when the jam starts.

£50,000
prizepool
Read more
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 chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
Particle
chevron_left Classes
class
Particle

Constructors

functionsParticle

Fields

crop_dinAgecrop_dinAlphacrop_dinAnglescrop_dinBornTimecrop_dinColorcrop_dinDeathTimecrop_dinFramecrop_dinHitNormalcrop_dinHitPoscrop_dinHitTimecrop_dinLastHitTimecrop_dinLifeDeltacrop_dinOverlayColorcrop_dinPositioncrop_dinRadiusremove_circleRandom01remove_circleRandom02remove_circleRandom03remove_circleRandom04remove_circleRandom05remove_circleRandom06remove_circleRandom07crop_dinSequencecrop_dinSequenceTimecrop_dinSizecrop_dinStartAnglescrop_dinStartPositioncrop_dinStartScalecrop_dinTimeScalecrop_dinVelocity

Properties

data_objectLifeTimeRemaining

Methods

functionsAddListenerfunctionsApplyDampingfunctionsGetfunctionsRandfunctionsRemoveListenerfunctionsSet

Static Fields

crop_dinPool

Static Methods

functionsCreate
Particle
class Sandbox .
Sandbox.Engine

build Constructors 1

Particle ()

crop_din Fields 30

Age
float
Alpha
float
Angles
Angles
BornTime
float
Color
Color
DeathTime
float
The time that this particle is scheduled to die
Frame
int
HitNormal
Vector3
HitPos
Vector3
HitTime
float
LastHitTime
float
LifeDelta
float
A range from 0 to 1 descriving how long this particle has been alive
OverlayColor
Color
Position
Vector3
Radius
float
Random01
obsoletefloat
Random02
obsoletefloat
Random03
obsoletefloat
Random04
obsoletefloat
Random05
obsoletefloat
Random06
obsoletefloat
Random07
obsoletefloat
Sequence
int
SequenceTime
Vector3
Size
Vector3
StartAngles
Angles
StartPosition
Vector3
StartScale
float
TimeScale
float
Velocity
Vector3

data_object Properties 1

LifeTimeRemaining
float

functions Methods 6

AddListener (i, sourceComponent)
Add a listener.
ApplyDamping (amount)
Get (key)
T
Get an arbituary data value
Rand (seed, line)
float
RemoveListener (i)
Remove a listener
Set (key, tvalue)
Set an arbituary data value

crop_din Static Fields 1

Pool
Queue`1

functions Static Methods 1

Create ()
Particle
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