s&
infoAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games exploreDiscover Games
categoryWorkshop
sports_esportsGames landscapeMaps view_in_arModels textureMaterials apparelClothing constructionMore..
forumForum menu_bookLearn
docsDocumentation apiApi Reference schoolTutorials manage_searchCode Search
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
Editor Classes
ShowContextMenuEvent
chevron_left Editor Classes
class
ShowContextMenuEvent

Constructors

functionsShowContextMenuEvent

Properties

data_objectCursorRaydata_objectMenudata_objectSessiondata_objectTrace

Methods

functions<Clone>$functionsDeconstruct
ShowContextMenuEvent
Event args for Editor.EditorEvent.ISceneView.ShowContextMenu(Editor.EditorEvent.ShowContextMenuEvent) events.
class Editor.EditorEvent .
sealedSandbox.Tools

build Constructors 1

ShowContextMenuEvent (Session, Menu, CursorRay, Trace)

data_object Properties 4

CursorRay
Ray
Cursor ray when right-click was pressed.
Menu
Menu
Context menu being opened. Feel free to add options to it in your handler.
Session
SceneEditorSession
Scene editor session that the context menu is being opened for.
Trace
Nullable`1
Trace result if we hit an object in the scene when right-clicking.

functions Methods 2

<Clone>$ ()
ShowContextMenuEvent
Deconstruct (Session, Menu, CursorRay, Trace)
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