The Visual Effect Graph Blackboard is a utility window in the Visual Effect Graph window that lets you manage properties. Here you can define, sort and categorize properties. You can also view properties so that you can access them from outside the diagram.
The blackboard
Properties in the panel can be constants or are shown exposed. When you make a property available, it can be viewed and edited in both the Visual Effect component and the C # API.
To distinguish between exposed properties and constants, a green dot is displayed on the panel to the left of the label of an exposed property.
Use the Visual Effect Graph Blackboard
To open the blackboard, click the Blackboard button on the toolbar of the Visual Effect Graph window. To resize the board, click on an edge or corner and drag it to a different location. To reposition the board, click the heading and drag to where you want it to be.
Create properties in the blackboard of the visual effect graph
To create a trait in the Visual Effect Graph Blackboard, click the plus sign (+) in the upper-right corner of the board, then choose a trait type from the menu.
You can also convert an inline operator to a property. To do this, right-click the node and choose one of the following options:
- Convert to property if you want to create a constant.
- Convert to Exposed Property if you want to create an exposed property
Regardless of the option selected, you can activate or deactivate the "Exposed" setting later.
To edit a property in the panel, click the arrow to the left of the property. This will make settings available that you can use to edit the property. Different properties reveal different attitudes. The core settings are:
Setting descriptions in the Blackboard of the Visual Effect Graph
Value: Specifies the default value of the property. The visual effects graph uses this value when you make the property unavailable, or when you make the property available but don't want to override it.
Arrange properties
To rename a property:
- Either double-click the property name or right-click the property name and choose Rename from the context menu.
- Enter the new name in the editable field.
- To confirm the change, press Enter or click away from the field.
To rearrange the properties, drag and drop them onto the board.
How to delete a property:
- Right click on the property and choose Delete from the context menu.
- Select the property and press the Delete key (for macOS Command + Delete key).
Settings categories
- You can use categories to organize properties into groups for easier management. You can rename, rearrange, and delete categories such as properties.
- To create a category, click the plus (+) sign in the upper-right corner of the board, then choose Category from the menu.
- You can drag and drop properties from one category to another or, if you don't want a property to be part of a category, to the top of the window.
Property Nodes in the Visual Effect Graph Blackboard
Property nodes differ slightly from standard nodes. They display the property name and a green dot when the property is visible.
You can expand it to use a sub-element of the property value.
Open properties in the inspector
When you turn on the Exposure setting for a property, the property appears in the Properties pane of the Visual Effect Inspector. Properties are displayed in the same order and in the same categories that you set on the blackboard.
Overwriting property values
To edit a property value, you have to overwrite it. To do this, activate the checkbox to the left of the property's name. If you select this check box, the visual effects graph will use the value you specified in the Inspector. If you uncheck this box, the visual effects graph will use the default value you set in the panel.
Using Gizmos in the Blackboard of the Visual Effect Graph
Gizmos in the Visual Effect Graph Blackboard allow you to edit certain advanced property types. To enable gizmo editing, click the Show Property Gizmos button. If you want to edit a compatible property with a gizmo, click the Edit button next to the property.
Visual Effect project settings
Visual Effect Graph Project Settings is a section in the Unity Project Settings window. You can access these settings by selecting the VFX section from the Edit / Project Settings menu.
Ideas:
Name | Description |
---|---|
Current Scriptable Render Pipeline | Displays the currently used render pipeline asset that was detected for VFX Graph Shader compilation. |
Fixed time step | Fixed delay before the simulation steps for effects that were configured in the fixed delta time simulation |
Max Delta Time | Maximum fixed time step that is permitted for the simulation. |
Indirect shader | (Set automatically) Master compute shader for indirect calls |
Copy buffer shader | (Set automatically) Compute Shader for Compute Buffer Copy |
Sort shader | (Set automatically) Compute shader for particle sorting |
Strip update shader | (Set automatically) Compute shader used for updating the particle stripes |
Note: Fixed delta time also works with asynchronous updates deltaTime = N * FixedTimeStep
(with deltaTime = min(deltaTime , MaxDeltaTime)
) .N
Settings for visual effect graphics
Visual Effect Graph Preferences is a section in the Unity Preferences window. You can access these settings in the Blackboard from the Visual Effects Graph by selecting the Visual Effects section in the Edit / Settings menu.
Properties in the Blackboard of the Visual Effect Graph
Name | Description |
---|---|
Experimental Operators / Blocks | Activate the visibility of the experimental blocks and operators in the menu for creating nodes. |
Show additional debug info | Shows more debug information in the Inspector when you select blocks, operators or contexts |
Verbose Mode for Compilation | Enable verbose logging in the console when compiling diagrams. |
Experimental shader externalization | Enable the externalization of shaders (for debugging purposes) in the Visual Effect Graph Asset Inspector |
Force Compilation in Edition Mode | Disables chart optimization when saving assets (only for debug purposes) |
Here it goes to Visual Effect Graph page in Unity
Originally posted on 2020-02-21 11:16:20.