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
Components
Renderer
chevron_left Components
class
Renderer

Constructors

lockRenderer

Properties

data_objectAttributesdata_objectExecuteAfterdata_objectExecuteBeforedata_objectRenderOptions

Methods

lockBackupRenderAttributesfunctionsCopyFromlockOnRenderOptionsChangedlockRestoreRenderAttributes
Renderer
class Sandbox .account_tree extends Component
abstractSandbox.Engine

build Constructors 1

Renderer ()

data_object Properties 4

Attributes
RenderAttributes
Attributes that are applied to the renderer based on the current material and shader. If the renderer is disabled, the changes are deferred until it is enabled again. Attributes are not saved to disk, and are not cloned when copying the renderer.
ExecuteAfter
CommandList
A command list which is executed immediately after rendering this
ExecuteBefore
CommandList
A command list which is executed immediately before rendering this
RenderOptions
RenderOptions

functions Methods 4

BackupRenderAttributes (attributes)
Backup the specified RenderAttributes so we can restore them later with Sandbox.Renderer.RestoreRenderAttributes(Sandbox.RenderAttributes)
CopyFrom (other)
Copy everything from another renderer
OnRenderOptionsChanged ()
RestoreRenderAttributes (attributes)
Restore any attributes that were previously backed up with Sandbox.Renderer.BackupRenderAttributes(Sandbox.RenderAttributes)

Inheritance

Component
Renderer
DecalRenderer
LineRenderer
ModelRenderer
SkinnedModelRenderer
ParticleRenderer
ParticleSpriteRenderer
ParticleTextRenderer
SpriteRenderer
TextRenderer
TracerEffect
TrailRenderer
WorldPanel
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