s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
GizmoDraw
Sprite
chevron_left Classes
class
GizmoDraw

Properties

data_objectColordata_objectCullBackfacesdata_objectIgnoreDepthdata_objectLineThickness

Methods

functionsArrowfunctionsBoundingBoxfunctionsCapsulefunctionsDragBoxfunctionsDragCenterfunctionsDragSquarefunctionsGridfunctionsLinefunctionsLineBBoxfunctionsLineCapsulefunctionsLineCirclefunctionsLineCylinderfunctionsLineFrustumfunctionsLinesfunctionsLineSpherefunctionsLineTrianglefunctionsLineTrianglesfunctionsModelremove_circleParticlesfunctionsPlanefunctionsPositionfunctionsRotatefunctionsRotationAxisfunctionsScalefunctionsScreenBiasedHalfCirclefunctionsScreenRectfunctionsScreenTextfunctionsSolidBoxfunctionsSolidCapsulefunctionsSolidCirclefunctionsSolidConefunctionsSolidCylinderfunctionsSolidRingfunctionsSolidSpherefunctionsSolidTrianglefunctionsSolidTrianglesfunctionsSpherefunctionsSpritefunctionsSpritesfunctionsTextfunctionsWorldText
Sprite
Draw a sprite.
method4 overloads
Overloads
void Sprite (Vector3 center, float size, string texture)

Parameters

NameTypeDescription
center Vector3
size float
texture string
Declared in Sandbox.Gizmo.GizmoDraw ยท Assembly Sandbox.Engine
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