s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference
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
menu
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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter