|
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_DebrisSpawnable.CreateObject |
( |
WorldEditorAPI | api, |
|
|
IEntitySource | source, |
|
|
array< ref ContainerIdPathEntry > | path, |
|
|
int | index ) |
◆ 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 ) |
◆ 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_DebrisSpawnable.c