Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_PrefabEditingPlugin Interface Reference
Inheritance diagram for SCR_PrefabEditingPlugin:
SCR_PrefabEditingPluginBase SCR_PrefabEditingPluginResourceManager

Public Member Functions

override void Run ()
 
override void Configure ()
 

Protected Member Functions

IEntitySource CreateEntity (WorldEditorAPI api, ResourceName prefab, vector position, vector rotation)
 
bool CreateWorldFiles (ResourceName worldPrefab, string targetPath)
 
void SetCamera (WorldEditorAPI api, IEntity entity)
 
void GetEntitySourceBounds (WorldEditorAPI api, IEntitySource source, out vector boundsMin, out vector boundsMax)
 
PrefabEditingPluginConfig GetConfig (ResourceName configPath)
 
bool ButtonClose ()
 
- Protected Member Functions inherited from SCR_PrefabEditingPluginBase
WBProgressDialog StartProgressWorldEditor ()
 
WBProgressDialog StartProgress ()
 
void GetSelectedWorldEditor (out array< ResourceName > selection)
 
void GetSelectedResourceBrowser (out array< ResourceName > selection)
 
void GetSelected (out array< ResourceName > selection)
 
bool GetPrefabs (out notnull array< ResourceName > compatiblePrefabs, bool includeComponentPrefabs=false)
 

Protected Attributes

ResourceName m_Config
 

Static Protected Attributes

static const string WARNING_CAPTION = "Edit Selected Prefab plugin"
 
static const string WARNING_TEXT = "You are about to generate and load a world to edit selected Prefabs. Saving current World Editor changes will be offered if needed if you click OK.\n\nDo you want to proceed?"
 

Member Function Documentation

◆ ButtonClose()

bool SCR_PrefabEditingPlugin.ButtonClose ( )
protected

◆ Configure()

override void SCR_PrefabEditingPlugin.Configure ( )

◆ CreateEntity()

IEntitySource SCR_PrefabEditingPlugin.CreateEntity ( WorldEditorAPI api,
ResourceName prefab,
vector position,
vector rotation )
protected

◆ CreateWorldFiles()

bool SCR_PrefabEditingPlugin.CreateWorldFiles ( ResourceName worldPrefab,
string targetPath )
protected

◆ GetConfig()

PrefabEditingPluginConfig SCR_PrefabEditingPlugin.GetConfig ( ResourceName configPath)
protected

◆ GetEntitySourceBounds()

void SCR_PrefabEditingPlugin.GetEntitySourceBounds ( WorldEditorAPI api,
IEntitySource source,
out vector boundsMin,
out vector boundsMax )
protected

◆ Run()

override void SCR_PrefabEditingPlugin.Run ( )

◆ SetCamera()

void SCR_PrefabEditingPlugin.SetCamera ( WorldEditorAPI api,
IEntity entity )
protected

Member Data Documentation

◆ m_Config

ResourceName SCR_PrefabEditingPlugin.m_Config
protected

◆ WARNING_CAPTION

const string SCR_PrefabEditingPlugin.WARNING_CAPTION = "Edit Selected Prefab plugin"
staticprotected

◆ WARNING_TEXT

const string SCR_PrefabEditingPlugin.WARNING_TEXT = "You are about to generate and load a world to edit selected Prefabs. Saving current World Editor changes will be offered if needed if you click OK.\n\nDo you want to proceed?"
staticprotected

The documentation for this interface was generated from the following file: