|
void | SetVariables (WorldEditorAPI api, IEntitySource source, array< ref ContainerIdPathEntry > path, int index) |
|
bool | CompareAttributes (SCR_BaseSpawnable other) |
|
bool | AlreadyExists (WorldEditorAPI api, IEntitySource source, int index) |
|
bool | CreateObject (WorldEditorAPI api, IEntitySource source, array< ref ContainerIdPathEntry > path, int index) |
|
void | CopyToSource (WorldEditorAPI api, IEntitySource source, array< ref ContainerIdPathEntry > path, int index, string currentObjectName) |
|
void | GetSpawnTransform (IEntity owner, out vector outMat[4], bool localCoords=false) |
| Calculates the spawn tranformation matrix for the object.
|
|
IEntity | Spawn (IEntity owner, Physics parentPhysics, SCR_HitInfo hitInfo, bool snapToTerrain=false) |
| Spawns the object.
|
|
◆ AlreadyExists()
bool SCR_BaseSpawnable.AlreadyExists |
( |
WorldEditorAPI |
api, |
|
|
IEntitySource |
source, |
|
|
int |
index |
|
) |
| |
- Parameters
-
[in] | api | |
[in] | source | |
[in] | index | |
- Returns
◆ CompareAttributes()
◆ CopyToSource()
void SCR_BaseSpawnable.CopyToSource |
( |
WorldEditorAPI |
api, |
|
|
IEntitySource |
source, |
|
|
array< ref ContainerIdPathEntry > |
path, |
|
|
int |
index, |
|
|
string |
currentObjectName |
|
) |
| |
- Parameters
-
[in] | api | |
[in] | source | |
[in] | path | |
[in] | index | |
[in] | currentObjectName | |
◆ CreateObject()
bool SCR_BaseSpawnable.CreateObject |
( |
WorldEditorAPI |
api, |
|
|
IEntitySource |
source, |
|
|
array< ref ContainerIdPathEntry > |
path, |
|
|
int |
index |
|
) |
| |
◆ GetSpawnTransform()
void SCR_BaseSpawnable.GetSpawnTransform |
( |
IEntity |
owner, |
|
|
out vector |
outMat[4], |
|
|
bool |
localCoords = false |
|
) |
| |
Calculates the spawn tranformation matrix for the object.
- Parameters
-
[in] | owner | |
[out] | outMat | |
[in] | localCoords | |
◆ SetVariables()
void SCR_BaseSpawnable.SetVariables |
( |
WorldEditorAPI |
api, |
|
|
IEntitySource |
source, |
|
|
array< ref ContainerIdPathEntry > |
path, |
|
|
int |
index |
|
) |
| |
◆ Spawn()
IEntity SCR_BaseSpawnable.Spawn |
( |
IEntity |
owner, |
|
|
Physics |
parentPhysics, |
|
|
SCR_HitInfo |
hitInfo, |
|
|
bool |
snapToTerrain = false |
|
) |
| |
◆ m_vOffsetPosition
vector SCR_BaseSpawnable.m_vOffsetPosition |
|
protected |
◆ m_vOffsetRotation
vector SCR_BaseSpawnable.m_vOffsetRotation |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Destruction/SCR_DestructionDamageManagerComponent.c