GetSpawnSystemInfo
Gets state on a spawn system.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
GetSpawnSystemInfo(int, VFXSpawnerState)
Gets state on a spawn system.
public void GetSpawnSystemInfo(int nameID, VFXSpawnerState spawnState)
Parameters
The system ID. This is the same ID that Shader.PropertyToID returns.
A modified VFXSpawnerState instance.
Remarks
Use VFXSpawnerState as parameter to avoid an allocation.
GetSpawnSystemInfo(int)
Gets state on a spawn system.
public VFXSpawnerState GetSpawnSystemInfo(int nameID)
Parameters
The system ID. This is the same ID that Shader.PropertyToID returns.
Returns
Type | Description |
|---|---|
| VFXSpawnerState |
Remarks
Use VFXSpawnerState as parameter to avoid an allocation.
GetSpawnSystemInfo(string)
Gets state on a spawn system.
public VFXSpawnerState GetSpawnSystemInfo(string name)
Parameters
Returns
Type | Description |
|---|---|
| VFXSpawnerState |
Remarks
Use VFXSpawnerState as parameter to avoid an allocation.