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 schoolTutorials
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
RangedFloat
chevron_left Classes
struct
RangedFloat

Constructors

functionsRangedFloat

Fields

remove_circlexremove_circley

Properties

data_objectFixedValuedata_objectMaxdata_objectMindata_objectRangedata_objectRangeValue

Methods

functionsDeconstructfunctionsGetValue

Static Methods

functionsParse
RangedFloat
A float between two values, which can be randomized or fixed.
struct
sealedSandbox.System

build Constructors 1

RangedFloat (fixedValue)
Initialize the float as a fixed value.

crop_din Fields 2

x
obsoletefloat
y
obsoletefloat

data_object Properties 5

FixedValue
float
The fixed value. Setting this will convert us to a fixed value
Max
float
The maximum value of the float range. For RangedFloat.RangeType.Fixed, this will be the same as RangedFloat.Min.
Min
float
The minimum value of the float range.
Range
RangeType
Range type of this float.
RangeValue
Vector2
The range value. Setting this will convert us to a range value

functions Methods 2

Deconstruct (min, max)
GetValue ()
float
Returns the final value of this ranged float, randomizing between min and max values.

functions Static Methods 1

Parse (str)
RangedFloat
Parse a ranged float from a string. Format is "min[ max]".
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