|
void | SetVariables (WorldEditorAPI api, IEntitySource source, array< ref ContainerIdPathEntry > path, int index) |
|
bool | CompareAttributes (SCR_BaseSpawnable other) |
| Returns true when attributes are the same Returns false otherwise.
|
|
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 ) |
◆ CompareAttributes()
◆ CopyToSource()
void SCR_BaseSpawnable.CopyToSource |
( |
WorldEditorAPI | api, |
|
|
IEntitySource | source, |
|
|
array< ref ContainerIdPathEntry > | path, |
|
|
int | index, |
|
|
string | 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.
◆ 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_BaseSpawnable.c