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
ParticleFloat
chevron_left Classes
struct
ParticleFloat

Constructors

functionsParticleFloat

Fields

crop_dinConstants

Properties

data_objectConstantAdata_objectConstantBdata_objectConstantValuedata_objectCurveAdata_objectCurveBdata_objectCurveRangedata_objectEvaluationdata_objectType

Methods

functionsEvaluateremove_circleGetValuefunctionsIsNearlyZero

Static Methods

functionsJsonReadfunctionsJsonWrite
ParticleFloat
Represents a floating-point value that can change over time with support for various evaluation modes.
struct Sandbox .
sealedSandbox.Engine

build Constructors 1

ParticleFloat ()

crop_din Fields 1

Constants
Vector4

data_object Properties 8

ConstantA
float
ConstantB
float
ConstantValue
float
CurveA
Curve
CurveB
Curve
CurveRange
CurveRange
Evaluation
EvaluationType
Type
ValueType

functions Methods 3

Evaluate (delta, randomFixed)
float
Evaluates the value based on the given delta and random seed, optimized for performance.
GetValue ()
obsoletefloat
This is only here to remain "compatible" with RangedFloat
IsNearlyZero ()
bool
Checks if the value is nearly zero.

functions Static Methods 2

JsonRead (reader, typeToConvert)
object
Reads a ParticleFloat instance from JSON, refactored for modularity.
JsonWrite (value, writer)
Writes a ParticleFloat instance to JSON, refactored for modularity.
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