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

Date
Theme

Date announced very soon. Theme revealed when the jam starts.

$50,000
prizepool
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
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
MixinDefinition
chevron_left Classes
class
MixinDefinition

Constructors

functionsMixinDefinition

Properties

data_objectContentdata_objectFileLinedata_objectFileNamedata_objectHasVariadicParameterdata_objectNamedata_objectParameters

Methods

functionsExpand
MixinDefinition
Represents a parsed @mixin definition that can be included elsewhere.
class Sandbox.UI .
sealedSandbox.Engine

build Constructors 1

MixinDefinition ()

data_object Properties 6

Content
string
The raw content of the mixin body, to be expanded when included. This includes nested rules which will be parsed during expansion.
FileLine
int
Source line for error messages
FileName
string
Source file for error messages
HasVariadicParameter
bool
Whether this mixin has a variadic parameter (last param ends with ...)
Name
string
The name of the mixin (e.g., "button" from "@mixin button")
Parameters
List`1
Parameter definitions in order, with optional default values. Key = parameter name (without $), Value = default value (null if required)

functions Methods 1

Expand (arguments, contentBlock)
string
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