|
| override bool | CompareAttributes (SCR_BaseSpawnable other) |
| | Returns true when attributes are the same Returns false otherwise.
|
| |
| 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.
|
| |
| bool | AlreadyExists (WorldEditorAPI api, IEntitySource source, 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.
|
| |
◆ CompareAttributes()
Returns true when attributes are the same Returns false otherwise.
Implements SCR_BaseSpawnable.
◆ CreateObject()
| override bool SCR_PrefabSpawnable.CreateObject |
( |
WorldEditorAPI | api, |
|
|
IEntitySource | source, |
|
|
array< ref ContainerIdPathEntry > | path, |
|
|
int | index ) |
◆ 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 ) |
◆ 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_PrefabSpawnable.c