- Home /
Question by
fosterm4 · Aug 12, 2020 at 09:22 AM ·
visual-effects
VFX Load PointCache From Script
Hi All,
I would like to load a point cache into the vfx graph point cache importer circled below using the api. I currently have a VisualEffect object but am unsure where to go from there in order to load a new pointCache file. Any help is appreciated. Thanks!
My current code is below...
pointCloud = FindObjectOfType<VisualEffect>();
Debug.Log("Particle Count..." + pointCloud.aliveParticleCount);
//load new pcache here
unity.png
(66.6 kB)
Comment
Your answer
Follow this Question
Related Questions
How to make procedural lightning bolts? 1 Answer
visual effect graph prewarm 1 Answer
Procedural 2D frost VFX 0 Answers
Unity VFX graph explosion bounds spawn at origin 0 Answers
Question Related to GetSpectrumData and GetOutputData 0 Answers