GetSpawnSystemInfo
Gets state on a spawn system.
読み終わるまでの所要時間 1 分最終更新 22日前
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 | A VFXSpawnerState instance. |
Remarks
Use VFXSpawnerState as parameter to avoid an allocation.
GetSpawnSystemInfo(string)
Gets state on a spawn system.
public VFXSpawnerState GetSpawnSystemInfo(string name)
Parameters
The name of the spawn system.
Returns
Type | Description |
|---|---|
| VFXSpawnerState | A VFXSpawnerState instance. |
Remarks
Use VFXSpawnerState as parameter to avoid an allocation.