Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

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:
    478
    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.
     
unityunity