|
IEntitySource | CreateEntity (WorldEditorAPI api, string entityName, int layerID, vector pos, vector dir) |
| Create entity from prefab.
|
|
◆ CreateEntity()
IEntitySource GameModeSetupConfigEntry.CreateEntity |
( |
WorldEditorAPI |
api, |
|
|
string |
entityName, |
|
|
int |
layerID, |
|
|
vector |
pos, |
|
|
vector |
dir |
|
) |
| |
Create entity from prefab.
Can be overridden by inherited classes.
- Parameters
-
[in] | api | World Editor API |
[in] | entityName | Name of created entity |
[in] | layerID | ID of World Editor layer in which the entity should be created |
[in] | pos | Position of created entity |
[in] | dir | Direction vector (not angles!) of created entity |
- Returns
- Created entity
◆ m_Comment
string GameModeSetupConfigEntry.m_Comment |
◆ m_Prefab
ResourceName GameModeSetupConfigEntry.m_Prefab |
◆ m_Type
TypeName GameModeSetupConfigEntry.m_Type |
The documentation for this interface was generated from the following file:
- WorkbenchGame/WorldEditor/GameModeSetup/GameModeSetupConfig.c