|
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_DebrisSpawnable.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_DebrisSpawnable.SetVariables |
( |
WorldEditorAPI |
api, |
|
|
IEntitySource |
source, |
|
|
array< ref ContainerIdPathEntry > |
path, |
|
|
int |
index |
|
) |
| |
◆ Spawn()
override IEntity SCR_DebrisSpawnable.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_eMaterialSoundType
SCR_EMaterialSoundTypeDebris SCR_DebrisSpawnable.m_eMaterialSoundType |
◆ m_fDamageToImpulse
float SCR_DebrisSpawnable.m_fDamageToImpulse |
◆ m_fDistanceMax
float SCR_DebrisSpawnable.m_fDistanceMax |
◆ m_fLifetimeMax
float SCR_DebrisSpawnable.m_fLifetimeMax |
◆ m_fLifetimeMin
float SCR_DebrisSpawnable.m_fLifetimeMin |
◆ m_fMass
float SCR_DebrisSpawnable.m_fMass |
◆ m_fMaxDamageToSpeedMultiplier
float SCR_DebrisSpawnable.m_fMaxDamageToSpeedMultiplier |
◆ m_fPriority
int SCR_DebrisSpawnable.m_fPriority |
◆ m_fRandomVelocityAngular
float SCR_DebrisSpawnable.m_fRandomVelocityAngular |
◆ m_fRandomVelocityLinear
float SCR_DebrisSpawnable.m_fRandomVelocityLinear |
◆ m_ModelPrefabs
ref array<ResourceName> SCR_DebrisSpawnable.m_ModelPrefabs |
The documentation for this interface was generated from the following file:
- Game/Destruction/SCR_DestructionDamageManagerComponent.c