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
ScreenBiasedHalfCircle
chevron_left Classes
class
GizmoDraw

Properties

data_objectColordata_objectCullBackfacesdata_objectIgnoreDepthdata_objectLineThickness

Methods

functionsArrowfunctionsBoundingBoxfunctionsCapsulefunctionsDragBoxfunctionsDragCenterfunctionsDragSquarefunctionsGridfunctionsLinefunctionsLineBBoxfunctionsLineCapsulefunctionsLineCirclefunctionsLineCylinderfunctionsLineFrustumfunctionsLinesfunctionsLineSpherefunctionsLineTrianglefunctionsLineTrianglesfunctionsModelremove_circleParticlesfunctionsPlanefunctionsPositionfunctionsRotatefunctionsRotationAxisfunctionsScalefunctionsScreenBiasedHalfCirclefunctionsScreenRectfunctionsScreenTextfunctionsSolidBoxfunctionsSolidCapsulefunctionsSolidCirclefunctionsSolidConefunctionsSolidCylinderfunctionsSolidRingfunctionsSolidSpherefunctionsSolidTrianglefunctionsSolidTrianglesfunctionsSpherefunctionsSpritefunctionsSpritesfunctionsTextfunctionsWorldText
ScreenBiasedHalfCircle
Draws a half circle that tries its best to point towards the camera. This is used by the rotation widgets that bias towards the camera.
method
void ScreenBiasedHalfCircle (Vector3 center, float radius)

Parameters

NameTypeDescription
center Vector3
radius float
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