Class: ExtensionContext
Beta
The extension context is a native (C++) object created for each registered Editor Extension, when a player connection is established with the server. A registered extension activation or deactivation closure is accompanied by an [ExtensionContext] object, which provides a player specific, editor extension specific context. The Extension Context is the main interface to all the bound Editor Services. As more player services are added to the editor, they will be exposed through this object
Properties
afterEvents
实验性
readonlyafterEvents:ExtensionContextAfterEvents
Beta
Remarks
Contains a set of events that are applicable to the editor player. Event callbacks are called in a deferred manner. Event callbacks are executed in read-write mode.
blockPalette
实验性
readonlyblockPalette:BlockPaletteManager
Beta
blockUtilities
实验性
readonlyblockUtilities:BlockUtilities
Beta
blockUtilityTasks
实验性
readonlyblockUtilityTasks:BlockUtilityTasks
Beta
brushShapeManager
实验性
readonlybrushShapeManager:BrushShapeManager
Beta
clipboardManager
readonlyclipboardManager:ClipboardManager
Beta
Remarks
This is used to access the players Clipboard Manager and the main interface through which the player can create, modify and apply clipboard items
cursor
readonlycursor:Cursor
Beta
Remarks
This is used to access the players 3D block cursor and it's properties
exportManager
实验性
readonlyexportManager:ExportManager
Beta
extensionInfo
实验性
readonlyextensionInfo:Extension
Beta
Remarks
Contains information about the registered extension instance.
guidePlaneManager
实验性
readonlyguidePlaneManager:GuidePlaneManager
Beta
minimapManager
实验性
readonlyminimapManager:MinimapManager
Beta
Remarks
Manager for minimap functionality, providing interface for creating markers and controlling minimap displays.
player
readonlyplayer:Player
Beta
Remarks
The current player which is the subject of the extension invocation
playtest
实验性
readonlyplaytest:PlaytestManager
Beta
selectionManager
readonlyselectionManager:SelectionManager
Beta
Remarks
The instance of the players Selection Manager and the main interface through which the player can create/modify selections
settings
实验性
readonlysettings:SettingsManager
Beta
Remarks
The instance of the players Settings Manager and the contract through which the settings for the player can be modified.
structureManager
实验性
readonlystructureManager:EditorStructureManager
Beta
transactionManager
readonlytransactionManager:TransactionManager
Beta
Remarks
The instance of the players Transaction Manager and the main interface through which the creator can create transaction records, and undo/redo previous transactions
widgetManager
实验性
readonlywidgetManager:WidgetManager
Beta
