Version: 2021.3

VisualEffect.GetSpawnSystemInfo

切换到手册
public VFX.VFXSpawnerState GetSpawnSystemInfo (string name);
public void GetSpawnSystemInfo (int nameID, VFX.VFXSpawnerState spawnState);

参数

nameID The system ID. This is the same ID that Shader.PropertyToID returns.
spawnState A modified VFXSpawnerState instance.

描述

Gets state on a spawn system.

Use VFXSpawnerState as parameter to avoid an allocation.