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
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
TrailRenderer
WorldPanel
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