aliveParticleCount
Returns the sum of all alive particles within the visual effect.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
public int aliveParticleCount { get; }
Remarks
If the particle count is only available on the GPU, the actual result can be delayed. This is because the system uses an asynchronous readback to retrieve the result.