From 846892b030c9124672371ace5cee6a326814e950 Mon Sep 17 00:00:00 2001 From: Vic Cooper Date: Wed, 8 Jun 2022 09:52:29 +0100 Subject: [PATCH] Added `direction` reference attribute --- .../Documentation~/Reference-Attributes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Reference-Attributes.md b/Packages/com.unity.visualeffectgraph/Documentation~/Reference-Attributes.md index e7c9a66dc58..783850b434c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Reference-Attributes.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Reference-Attributes.md @@ -24,6 +24,7 @@ Some attributes are a bit more advanced and will be used by default in most simu | Name | Type | Description | Default Value | | ---------- | ------- | ------------------------------------------------------------ | ---------- | | `mass` | float | The mass of a particle in Kg/dm^3 | 1.0 (defaults to 1kg per liter of water) | +| `direction` | Vector3 | You can use this attribute in the following ways:
•As a storage helper to store arbitrary direction.
•Use any block that sets a shape position to write to the direction attribute. For example, Set Position (Shape : Circle). | (0.0, 0.0, 1.0) | | `angle` | Vector3 | **Variadic:** Euler rotation of a simulated element, expressed as a Vector of Degrees Values. | (0,0,0) | | `angularVelocity` | Vector3 | **Variadic:** Euler rotation speed of a simulated element, expressed as a Vector of Degrees per second values. | (0,0,0) | | `oldPosition` | Vector3 | **Deprecated:** This attribute is a storage Helper if you want to back-up current position of a simulated element, before integrating its velocity. | (0,0,0) |