|
override bool | CompareAttributes (SCR_BaseSpawnable other) |
|
override void | SetVariables (WorldEditorAPI api, IEntitySource source, array< ref ContainerIdPathEntry > path, int index) |
|
override bool | CreateObject (WorldEditorAPI api, IEntitySource source, array< ref ContainerIdPathEntry > path, int index) |
|
override IEntity | Spawn (IEntity owner, Physics parentPhysics, SCR_HitInfo hitInfo, bool snapToTerrain=false) |
| Spawns the object.
|
|
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.
|
|
◆ CompareAttributes()
- Parameters
-
- Returns
- true when attributes are the same, false otherwise
Implements SCR_BaseSpawnable.
◆ CreateObject()
override bool SCR_PrefabSpawnable.CreateObject |
( |
WorldEditorAPI |
api, |
|
|
IEntitySource |
source, |
|
|
array< ref ContainerIdPathEntry > |
path, |
|
|
int |
index |
|
) |
| |
- Parameters
-
[in] | api | |
[in] | source | |
[in] | path | |
[in] | index | |
- Returns
Implements SCR_BaseSpawnable.
◆ SetVariables()
override void SCR_PrefabSpawnable.SetVariables |
( |
WorldEditorAPI |
api, |
|
|
IEntitySource |
source, |
|
|
array< ref ContainerIdPathEntry > |
path, |
|
|
int |
index |
|
) |
| |
◆ Spawn()
override IEntity SCR_PrefabSpawnable.Spawn |
( |
IEntity |
owner, |
|
|
Physics |
parentPhysics, |
|
|
SCR_HitInfo |
hitInfo, |
|
|
bool |
snapToTerrain = false |
|
) |
| |
Spawns the object.
- Parameters
-
[in] | owner | |
[in] | parentPhysics | |
[in] | hitInfo | |
[in] | snapToTerrain | |
- Returns
Implements SCR_BaseSpawnable.
◆ m_bSpawnAsChildren
bool SCR_PrefabSpawnable.m_bSpawnAsChildren |
◆ m_fDamageToImpulse
float SCR_PrefabSpawnable.m_fDamageToImpulse |
◆ m_fRandomVelocityAngular
float SCR_PrefabSpawnable.m_fRandomVelocityAngular |
◆ m_fRandomVelocityLinear
float SCR_PrefabSpawnable.m_fRandomVelocityLinear |
◆ m_Prefabs
ref array<ResourceName> SCR_PrefabSpawnable.m_Prefabs |
The documentation for this interface was generated from the following file:
- Game/Destruction/SCR_DestructionDamageManagerComponent.c