Search Unity

Is it possible to get data out of VFX graph?

Discussion in 'Visual Effect Graph' started by coskuturhan, Apr 17, 2020.

  1. coskuturhan

    coskuturhan

    Joined:
    Dec 9, 2016
    Posts:
    13
    I want the VFX graph to drive certain audio parameters. Is it possible to export say, the velocity array of all the particles out of VFX graph?
     
  2. VladVNeykov

    VladVNeykov

    Unity Technologies

    Joined:
    Sep 16, 2016
    Posts:
    550
    Hi, this is currently not possible. We are adding now CPU events, which would allow you to send an event from the VFX Spawner which you can grab via script in C# and get the spawner attributes (e.g. the initial velocity set in the spawner). In the long run, we also plan on adding simulation on the CPU, so the data will be more readily accessble. But there is currently no way to read particle data at any point from the GPU back on the CPU.