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
CanvasPanel
BeginBoxSelection
chevron_left Classes
class
CanvasPanel

Constructors

functionsCanvasPanel

Properties

data_objectBoxSelectionEnabledlockCanNavigatedata_objectConstrainHorizontalNavigationdata_objectConstrainVerticalNavigationdata_objectContentdata_objectIsBoxSelectingdata_objectIsPanningdata_objectMaximumViewSpandata_objectMinimumViewSpandata_objectNavigationBoundsdata_objectPreserveAspectRatiodata_objectSelectionBoxdata_objectViewMaxdata_objectViewMinlockViewportdata_objectYAxisUp

Methods

lockBeginBoxSelectionfunctionsCanvasToScreenlockFinishBoxSelectionfunctionsFitBoundslockIsPanButtonlockOnBlurfunctionsOnButtonTypedlockOnMouseDownlockOnMouseMovelockOnMouseUpfunctionsOnMouseWheelfunctionsPanfunctionsScreenToCanvasfunctionsSetViewfunctionsTickfunctionsZoomAt
BeginBoxSelection
Start a box gesture after a custom canvas has checked its own hit targets.
method
void BeginBoxSelection (bool additive)

Parameters

NameTypeDescription
additive bool
Declared in Sandbox.UI.CanvasPanel ยท 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