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
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
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
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