Class
PluginManagerInterface
NotCreatableNotReplicated
The singleton object returned by the global PluginManager() function,
exposing a small set of legacy Studio plugin utilities.
PluginManagerInterface is the singleton object returned by the global
PluginManager() function, which can be called from a plugin or from Studio's
Command Bar. It provides a small
set of legacy Studio utilities for exporting geometry —
PluginManagerInterface:ExportPlace() and
PluginManagerInterface:ExportSelection() — along with the deprecated
PluginManagerInterface:CreatePlugin() method. Calling the
PluginManager() global requires plugin security.
Methods 3#
| CreatePlugin | Deprecated. Creates and returns a new Plugin; use Plugin
instead.PluginSecurity securityDeprecatedCustomLuaState |
| ExportPlace | Exports the entire place to an .obj file saved to a path chosen by the
user in a file save dialog.PluginSecurity security |
| ExportSelection | Exports the current Selection to an .obj file saved to a path
chosen by the user in a file save dialog.PluginSecurity security |
CreatePlugin(): Instance#
DeprecatedCustomLuaStatePluginSecurity securityDeprecated
Deprecated. The steps to create a plugin have changed. To learn more, see
Plugin.
Creates and returns a new Plugin object, attached to the current
place's data model. The returned plugin is associated with the plugin that
called this method, so it unloads together with its creator.
This method is deprecated. The steps to create a plugin have changed, and
new work should use Plugin directly rather than constructing one
through PluginManager(). Calling this method requires plugin security.
ExportPlace(filePath: string): ()#
PluginSecurity security
Exports all geometry in the place to an .obj file. The file is saved to
the path chosen by the user in a file save dialog; the filePath argument
is ignored.
| Name | Type | Default | Description |
|---|---|---|---|
filePath | string | Ignored. A file save dialog determines the export path. |
Returns
()
ExportSelection(filePath: string): ()#
PluginSecurity security
Exports all geometry in the current Selection to an .obj file.
The file is saved to the path chosen by the user in a file save dialog;
the filePath argument is ignored.
| Name | Type | Default | Description |
|---|---|---|---|
filePath | string | Ignored. A file save dialog determines the export path. |
Returns
()
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild