Académique Documents
Professionnel Documents
Culture Documents
2-preview
Getting Started
Assets and Scene Objects
Visual Effects are stored in assets called Visual Effect Graphs , they can be created in the project view
using the Create Menu (or right-click/create), and reside under the Visual Effects category.
Visual Effects are instantiated in the scene using Visual Effect components that reference a Visual
Effect Graph asset.
Editing Assets
You can edit Visual Effect Graph assets using various methods:
By Opening the Visual Effect Graph Window (Window > Visual Effects > Visual Effect Graph) then
double clicking a Visual Effect Graph
By Clicking the Open button in the inspector header of a Visual Effect Graph asset
By clicking the Edit Button, next to the Asset Template eld of a Visual Effect Component. This will
also connect the Target GameObject panel in the Visual Effect Graph window.
https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@6.9/manual/Getting-Started.html 1/6
9/12/2019 Getting Started | Visual Effect Graph | 6.9.2-preview
To bring the add node menu, you can right click > add node / create block
Note: the menu is contextual and will only provide what can be created under the cursor.
https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@6.9/manual/Getting-Started.html 2/6
9/12/2019 Getting Started | Visual Effect Graph | 6.9.2-preview
Graph Logic
Systems, Contexts and Blocks
When creating a system, a series of contexts is vertically connected, and executed from top to bottom.
You can add Blocks to a context in order to de ne its behavior. Blocks are executed for each context from
top to bottom too.
https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@6.9/manual/Getting-Started.html 3/6
9/12/2019 Getting Started | Visual Effect Graph | 6.9.2-preview
Operators
You can use operators to perform mathematical computations to set up slots in blocks or other operators.
You can perform math operations, sample curves or textures, access exposed parameters or particle
attributes using these operators.
https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@6.9/manual/Getting-Started.html 4/6
9/12/2019 Getting Started | Visual Effect Graph | 6.9.2-preview
Events
Events can be created using an Event Context. Events are the ow logic that will trigger spawn contexts.
By default, Spawn contexts are triggered by implicit OnPlay and OnStop events but you can customize this
behavior by creating custom named events.
These events can be triggered externally on the component by using the C# API or Timeline.
https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@6.9/manual/Getting-Started.html 5/6
9/12/2019 Getting Started | Visual Effect Graph | 6.9.2-preview
Getting Templates
You can nd a template project at this address : https://github.com/Unity-Technologies/VisualEffectGraph-
Samples (https://github.com/Unity-Technologies/VisualEffectGraph-Samples)
https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@6.9/manual/Getting-Started.html 6/6