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
GizmoControls
chevron_left Classes
class
GizmoControls

Methods

functionsArrowfunctionsBoundingBoxfunctionsCapsulefunctionsDragBoxfunctionsDragCenterRaycastfunctionsDragSquarefunctionsPositionfunctionsRotatefunctionsRotateSinglefunctionsScalefunctionsSpherefunctionsUpdateArrowfunctionsUpdateBoundingBoxfunctionsUpdateCapsulefunctionsUpdateDragBoxfunctionsUpdateDragCenterRaycastfunctionsUpdateDragSquarefunctionsUpdatePositionfunctionsUpdateRotationfunctionsUpdateRotationAxisfunctionsUpdateScalefunctionsUpdateSphere

Static Methods

functionsPushFixedScale
GizmoControls
class Sandbox.Gizmo .
sealedSandbox.Engine

functions Methods 22

Arrow (name, axis, distance, length, girth, axisOffset, cullAngle, snapSize, head)
bool
BoundingBox (name, value, outValue)
bool
Capsule (name, capsule, outCapsule, color)
bool
DragBox (name, size, rotation, movement)
bool
DragCenterRaycast (name, size, raycast, movement)
bool
DragSquare (name, size, rotation, movement, drawHandle)
bool
Position (name, position, newPos, axisRotation, squareSize, centerRaycast)
bool
Rotate (name, value, newValue)
bool
RotateSingle (name, color, angleDelta, size, useHalfCircle)
bool
Scale (name, value, outValue)
bool
Sphere (name, radius, outRadius, color)
bool
UpdateArrow (name, axis, distance, axisOffset, cullAngle)
bool
UpdateBoundingBox (name, value, outValue)
bool
UpdateCapsule (name, capsule, outCapsule)
bool
UpdateDragBox (name, rotation, movement)
bool
UpdateDragCenterRaycast (name, raycast, movement)
bool
UpdateDragSquare (name, rotation, movement)
bool
UpdatePosition (name, position, newPos, axisRotation, squareSize, centerRaycast)
bool
UpdateRotation (name, value, newValue)
bool
A full 3d rotation gizmo. If rotated will return true and newValue will be the new rotation.
UpdateRotationAxis (name, angleDelta)
bool
A single rotation axis
UpdateScale (name, value, outValue)
bool
UpdateSphere (name, radius, outRadius)
bool

functions Static Methods 1

PushFixedScale (scale)
IDisposable
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