VisualEffect.GetSpawnSystemInfo

Switch to Manual
public VFX.VFXSpawnerState GetSpawnSystemInfo (int nameID);
public VFX.VFXSpawnerState GetSpawnSystemInfo (string name);

Parameters

nameIDThe system ID. This is the same ID that Shader.PropertyToID returns.
nameThe name of the spawn system.

Returns

VFXSpawnerState A VFXSpawnerState instance.

Description

Gets state on a spawn system.


public void GetSpawnSystemInfo (int nameID, VFX.VFXSpawnerState spawnState);

Parameters

nameIDThe system ID. This is the same ID that Shader.PropertyToID returns.
spawnStateA modified VFXSpawnerState instance.

Description

Gets state on a spawn system.

Use VFXSpawnerState as parameter to avoid an allocation.