Struct EntitySpawnInfo ​
Namespace: ValveResourceFormat.Renderer.Entities
Assembly: Renderer.dll
Everything EntityFactory needs to spawn an entity: its keyvalues and the spawn group spawning it.
csharp
public readonly record struct EntitySpawnInfo : IEquatable<EntitySpawnInfo>Implements ​
Constructors ​
EntitySpawnInfo(Entity, SpawnGroup) ​
Everything EntityFactory needs to spawn an entity: its keyvalues and the spawn group spawning it.
csharp
public EntitySpawnInfo(EntityLump.Entity Data, SpawnGroup SpawnGroup)Parameters ​
Data EntityLump.Entity
The entity's keyvalues, as authored in the map.
SpawnGroup SpawnGroup
The spawn group spawning the entity, whose scene its nodes render into, whose placement moves its authored origin and angles, and whose layers its nodes are on.
Properties ​
Data ​
The entity's keyvalues, as authored in the map.
csharp
public EntityLump.Entity Data { get; init; }Property Value ​
SpawnGroup ​
The spawn group spawning the entity, whose scene its nodes render into, whose placement moves its authored origin and angles, and whose layers its nodes are on.
csharp
public SpawnGroup SpawnGroup { get; init; }
