Setting up your Kanzi Studio project¶
Before you can use Kanzi Particles in your Kanzi application, you must set up your Kanzi Studio project.
To set up your Kanzi Studio project:
In Kanzi Studio, open the project where you want to create particles with Kanzi Particles.
In the Library, right-click Kanzi Engine Plugins and select Import Kanzi Engine Plugin.
In the
<KanziWorkspace>/Engine/plugins/particles/lib
directory, open the directory of the configuration that you want to use. Select the plugin dll file and click Open.Kanzi Studio imports the Kanzi Particles plugin to your Kanzi Studio project. The plugin contains the elements that you need to create particle systems in your Kanzi application.
In the Kanzi Studio main menu, select File > Import > Import Project, and import the
<KanziWorkspace>/Engine/plugins/particles/assets/ParticleSystemSetup/ParticleSystemSetup.kzproj
project.The
ParticleSystemSetup.kzproj
contains the material, render pass prefab, and textures that Kanzi Particles uses.In the Node Tree, select the Viewport 2D node where you want to use Kanzi Particles. In the Properties, set the Render Pass Prefab property to the Default With Particles render pass.
In your project, you can now create particles using Kanzi Particles. See Getting started with Kanzi Particles.