diff --git a/Packages/com.unity.render-pipelines.core/CHANGELOG.md b/Packages/com.unity.render-pipelines.core/CHANGELOG.md index ac6e577b609..a94bb2f6e90 100644 --- a/Packages/com.unity.render-pipelines.core/CHANGELOG.md +++ b/Packages/com.unity.render-pipelines.core/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Fixed +- Fixed a `variant DISABLE_TEXTURE2D_X_ARRAY not found` shader error when copying MSAA textures on OpenGL ES 3.1 drivers that lack per-sample shading (`gl_SampleID`); these devices now fall back to a regular blit instead. + Version Updated The version number for this package has increased due to a version update of a related graphics package. diff --git a/Packages/com.unity.render-pipelines.core/Runtime/STP/StpCommon.hlsl b/Packages/com.unity.render-pipelines.core/Runtime/STP/StpCommon.hlsl index 4e21a5a2324..7fbf3531c56 100644 --- a/Packages/com.unity.render-pipelines.core/Runtime/STP/StpCommon.hlsl +++ b/Packages/com.unity.render-pipelines.core/Runtime/STP/StpCommon.hlsl @@ -42,19 +42,8 @@ #define STP_TAA_Q 0 #endif -#if defined(SHADER_API_SWITCH) || defined(SHADER_API_SWITCH2) - #define STP_BUG_SAT_INF 1 -#endif - -// Enable workarounds that help us avoid issues on Metal -#if defined(SHADER_API_METAL) - // Relying on infinity behavior causes issues in the on-screen inline pass calculations - // We expect this option to be required on Metal because the shading language spec states that the fast-math - // option is on by default which disables support for proper INF handling. - #define STP_BUG_SAT_INF 1 -#endif - -#if defined(SHADER_API_PSSL) +// No guaranteed INF/NaN arithmetic on these platforms (fast-math by default) +#if defined(SHADER_API_VULKAN) || defined(SHADER_API_METAL) || defined(SHADER_API_SWITCH) || defined(SHADER_API_SWITCH2) || defined(SHADER_API_PSSL) || defined(SHADER_API_WEBGPU) #define STP_BUG_SAT_INF 1 #endif diff --git a/Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blitter.cs b/Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blitter.cs index e2345e59438..616a310741e 100644 --- a/Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blitter.cs +++ b/Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blitter.cs @@ -292,6 +292,15 @@ internal static bool CanCopyMSAA() return false; } + // The MSAA pass fetches samples via SV_SampleIndex (gl_SampleID), which needs per-sample + // shading. On GLES that comes with the ES3.2/AEP tier; plain-ES3.1 drivers (e.g. RPi5/V3D, + // no GL_OES_sample_variables) ship the pass but reject it at load, and passCount only + // reflects build-target support. Scope to GLES so backends that support the non-array + // Texture2DMS + SV_SampleIndex path (e.g. WebGPU) keep the sample-preserving copy. + if (SystemInfo.graphicsDeviceType == GraphicsDeviceType.OpenGLES3 + && !SystemInfo.supportsMultisampled2DArrayTextures) + return false; + // This test works since the second pass has the following pragmas and will not be compiled if they are not supported // #pragma target 4.5 // #pragma require msaatex diff --git a/Packages/com.unity.render-pipelines.core/Tests/Editor/RenderGraphTests.cs b/Packages/com.unity.render-pipelines.core/Tests/Editor/RenderGraphTests.cs index 03b8664a7fc..2206d3d6cff 100644 --- a/Packages/com.unity.render-pipelines.core/Tests/Editor/RenderGraphTests.cs +++ b/Packages/com.unity.render-pipelines.core/Tests/Editor/RenderGraphTests.cs @@ -1579,6 +1579,10 @@ public void IntraFrameMemoryAliasing_WhenEnabled_ResourcesCanBeReusedWithinSameF int pass1ResourceID = default; int pass2ResourceID = default; + // The compute passes below need UAV access to an RGBA8 texture (see TODO), which e.g. macOS OpenGLCore lacks. + if (!SystemInfo.IsFormatSupported(GraphicsFormat.R8G8B8A8_UNorm, GraphicsFormatUsage.LoadStore)) + Assert.Ignore("Random-write access to R8G8B8A8_UNorm is not supported on this device."); + m_RenderGraphTestPipeline.recordRenderGraphBody = (context, camera, cmd) => { // Enable intra-frame memory aliasing @@ -1646,6 +1650,10 @@ public void IntraFrameMemoryAliasing_WhenDisabled_ResourcesCannotBeReusedWithinS int pass1ResourceID = default; int pass2ResourceID = default; + // The compute passes below need UAV access to an RGBA8 texture (see TODO in the WhenEnabled test), which e.g. macOS OpenGLCore lacks. + if (!SystemInfo.IsFormatSupported(GraphicsFormat.R8G8B8A8_UNorm, GraphicsFormatUsage.LoadStore)) + Assert.Ignore("Random-write access to R8G8B8A8_UNorm is not supported on this device."); + m_RenderGraphTestPipeline.recordRenderGraphBody = (context, camera, cmd) => { // Disable intra-frame memory aliasing diff --git a/Packages/com.unity.render-pipelines.high-definition/Documentation~/Images/LightAnimationExample.png b/Packages/com.unity.render-pipelines.high-definition/Documentation~/Images/LightAnimationExample.png deleted file mode 100644 index 4c6483c0318..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Documentation~/Images/LightAnimationExample.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b7eef2a7f895e8d42990dd2df8d14f8aae1956a1538122c874abc9c90d3d112 -size 37771 diff --git a/Packages/com.unity.render-pipelines.high-definition/Documentation~/Tessellation.md b/Packages/com.unity.render-pipelines.high-definition/Documentation~/Tessellation.md index 989f669fcf6..7727ba0e0a7 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Documentation~/Tessellation.md +++ b/Packages/com.unity.render-pipelines.high-definition/Documentation~/Tessellation.md @@ -34,5 +34,5 @@ The following property is only available in Master Stacks. In the [Layered Lit T - Motion vectors do not work correctly if the tessellation factor differs for vertices between two frames. ## Performance -- Enabling the Tessellation option have an extra GPU cost, even if the tessellationFactor is 0.0 or 1.0. It is recommened to have additional LOD with shader without tessellation enabled for good performance. -- Tessellation is an expensive GPU operation and it is often lest costly to pre-tessellate a mesh and doing vertex displacement than doing the tessellation process, but it have the benefit of being adapatative. +- Enabling the Tessellation option has an extra GPU cost, even if the tessellationFactor is 0.0 or 1.0. It is recommended to have additional LOD with shader without tessellation enabled for good performance. +- Tessellation is an expensive GPU operation and it is often less costly to pre-tessellate a mesh and do vertex displacement than to do the tessellation process, but it has the benefit of being adaptive. diff --git a/Packages/com.unity.render-pipelines.high-definition/Documentation~/creating-and-editing-lights-at-runtime.md b/Packages/com.unity.render-pipelines.high-definition/Documentation~/creating-and-editing-lights-at-runtime.md index 4fbcb36d480..50f4030902f 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Documentation~/creating-and-editing-lights-at-runtime.md +++ b/Packages/com.unity.render-pipelines.high-definition/Documentation~/creating-and-editing-lights-at-runtime.md @@ -4,65 +4,66 @@ The High Definition Render Pipeline (HDRP) extends Unity's [Light](https://docs. ## Create a new light -HDRP provides a utility function that adds both the Light and HDAdditionalLightData components to a GameObject, and sets up its dependencies. The function is `AddHDLight` and it takes an [HDLightTypeAndShape](xref:UnityEngine.Rendering.HighDefinition.GameObjectExtension.AddHDLight(UnityEngine.GameObject,UnityEngine.Rendering.HighDefinition.HDLightTypeAndShape)) as a parameter which sets the Light's type and shape. The light unit for the intensity will be determined depending on the light type and shape. To learn more about light units and shapes, see the [Light documentation](https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@latest?subfolder=/manual/Light-Component.html). +HDRP provides a utility function that adds both the Light and HDAdditionalLightData components to a GameObject, and sets up its dependencies. The function is [`AddHDLight`](xref:UnityEngine.Rendering.HighDefinition.GameObjectExtension.AddHDLight*). The light unit for the intensity will be determined depending on the light type and shape. To learn more about light units and shapes, refer to [Create and configure light sources](Light-Component.md). ```cs using UnityEngine; +using UnityEngine.Rendering; using UnityEngine.Rendering.HighDefinition; public class LightScript : MonoBehaviour { void Start() { - var light = gameObject.AddHDLight(HDLightTypeAndShape.ConeSpot); + var hdLight = gameObject.AddHDLight(LightType.Spot); + var lightComponent = hdLight.GetComponent(); // Setup light parameters here } } ``` -There is also a [RemoveHDLight]((https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@latest?subfolder=/api/UnityEngine.Rendering.HighDefinition.GameObjectExtension.html#UnityEngine_Rendering_HighDefinition_GameObjectExtension_AddHDLight_UnityEngine_GameObject_UnityEngine_Rendering_HighDefinition_HDLightTypeAndShape_)) method to remove the light created with AddHDLight. +There is also a [RemoveHDLight](https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@latest?subfolder=/api/UnityEngine.Rendering.HighDefinition.GameObjectExtension.html#UnityEngine_Rendering_HighDefinition_GameObjectExtension_RemoveHDLight_UnityEngine_GameObject_) method to remove the light created with AddHDLight. Note: Another good way of spawning lights is simply by spawning prefabs of lights you configured in the editor, this is also more efficient than manually adding components and setting values. -## Edit an existing Light +## Change the intensity -HDRP does not use the data stored in the Light component. Instead it stores Light data in another component called `HDAdditionalLightData`. To access a property, use the `HDAdditionalLightData` component, even if the property is visible in the Light component Inspector. +Set the light intensity using the Light component. Follow these steps: -### Change the intensity and color +1. Set the units using the `lightUnit` property of the Light component. For example: -There are multiple ways of changing the intensity of a light by script. You can either use the **SetIntensity** or assign directly the intensity value but keep in mind that the value you set will use the current light unit of the light component. + ```cs + lightComponent.lightUnit = LightUnit.Lumen; + ``` -Set light intensity in a specified unit: +1. Set the intensity using the `ConvertIntensity` method of the `LightUnitUtils` class, to convert to the correct unit for the light type and shape. -```cs -light.SetIntensity(5000, LightUnit.Lumen); // Intensity for a street lamp -``` + For example: -Set light intensity using the current light unit: + ```cs + LightUnit nativeUnit = LightUnitUtils.GetNativeLightUnit(lightComponent.type); + lightComponent.intensity = LightUnitUtils.ConvertIntensity(lightComponent, 600f, LightUnit.Lumen, nativeUnit); + ``` -```cs -light.intensity = 1200; -``` +## Change the color -Set light color: +Set the light color using the HDAdditionalLightData component. For example: ```cs -light.color = Color.red; +hdLight.color = Color.red; ``` Set light color temperature in Kelvin: ```cs -light.SetColor(Color.white, 1900); // 1900K is the color of a candle +hdLight.SetColor(Color.white, 1900); // 1900K is the color of a candle ``` Note: when you set the color/intensity of the light, it also affects the emissive plane color of area lights if enabled. ## Animate lights -Light in HDRP can be animated like regular lights, though an important thing to note is that the values recorded in the animation are coming from both the HDAdditionalLightData component and Light component as you can see in the image below. - -![Light-Animation-Example](Images/LightAnimationExample.png) +Light in HDRP can be animated like regular lights, though an important thing to note is that the values recorded in the animation are coming from both the HDAdditionalLightData component and Light component. Also, animated lights have a slightly more expensive cost on the CPU because of the additional calculation that needs to be made when light values are changing. diff --git a/Packages/com.unity.render-pipelines.high-definition/Documentation~/volumetric-clouds-volume-override-reference.md b/Packages/com.unity.render-pipelines.high-definition/Documentation~/volumetric-clouds-volume-override-reference.md index f14b3bcbfc2..d4a07371472 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Documentation~/volumetric-clouds-volume-override-reference.md +++ b/Packages/com.unity.render-pipelines.high-definition/Documentation~/volumetric-clouds-volume-override-reference.md @@ -119,8 +119,8 @@ Also, there is variations in the green and blue channels to specify more of less ![A rectangular texture with 8 bands of 32 pixels each. The first 3 bands are thin clouds at different heights. The next band is a tall fluffy cloud. The next 3 bands are clouds that get spottier at different heights. The final band is a curving vertical cloud. The edge at 96 pixels maps to the top-left of the sky, and the edge at 128 pixels maps to the center of the sky. The final image is a tower of layered cloud, with smaller clouds scattered nearby.)](Images/Volumetric-Clouds-manual-lut.png) -Here is an example cloud LUT that can be used in manual mode. On the top image, the LUT is divided into 8 32px wide parts, each representing a cloud type with a specific profile and altitude. (stratus on the left and cumulus on the right) -On the bottom left, the cloud map uses grayscale values to map which type of clouds is used. For exemple a radial gradient using thoses values creates a circular cloud as seen on the bottom right using the profile set on the cloud LUT. +Here is an example cloud LUT that can be used in manual mode. On the top image, the LUT is divided into 8 32px wide parts, each representing a cloud type with a specific profile and altitude (stratus on the left and cumulus on the right). +On the bottom left, the cloud map uses grayscale values to map which type of clouds is used. For example, a radial gradient using those values creates a circular cloud as seen on the bottom right using the profile set on the cloud LUT. For more examples, you can get the [environment samples](HDRP-Sample-Content.html#environment-samples) from the package manager. **Note**: This cloud map is formatted differently to the cloud map that the [Cloud Layer](create-simple-clouds-cloud-layer.md) feature uses. diff --git a/Packages/com.unity.render-pipelines.high-definition/Editor/VFXGraph/Outputs/VFXLitQuadStripOutput.cs b/Packages/com.unity.render-pipelines.high-definition/Editor/VFXGraph/Outputs/VFXLitQuadStripOutput.cs index 8288588d45f..1e56877c08e 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Editor/VFXGraph/Outputs/VFXLitQuadStripOutput.cs +++ b/Packages/com.unity.render-pipelines.high-definition/Editor/VFXGraph/Outputs/VFXLitQuadStripOutput.cs @@ -5,6 +5,7 @@ namespace UnityEditor.VFX.HDRP { + [VFXHelpURL("Context-OutputStripQuad")] [VFXInfo(name = "Output ParticleStrip|HDRP Lit|Quad", category = "#3Output Strip", experimental = true, synonyms = new []{ "Trail", "Ribbon" })] class VFXLitQuadStripOutput : VFXAbstractParticleHDRPLitOutput { diff --git a/Packages/com.unity.render-pipelines.high-definition/Runtime/Core/CoreResources/ClearBuffer2D.compute b/Packages/com.unity.render-pipelines.high-definition/Runtime/Core/CoreResources/ClearBuffer2D.compute index b52cd1f64fe..d4754113ccb 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Runtime/Core/CoreResources/ClearBuffer2D.compute +++ b/Packages/com.unity.render-pipelines.high-definition/Runtime/Core/CoreResources/ClearBuffer2D.compute @@ -12,6 +12,8 @@ RW_TEXTURE2D_X(float4, _Buffer2D); [numthreads(8, 8, 1)] void ClearBuffer2DMain(uint3 dispatchThreadID : SV_DispatchThreadID) { + UNITY_XR_ASSIGN_VIEW_INDEX(dispatchThreadID.z); + if (any(dispatchThreadID.xy >= (uint2)_BufferSize.xy)) return; diff --git a/Packages/com.unity.render-pipelines.high-definition/Runtime/VFXGraph/Shaders/VFXCommon.hlsl b/Packages/com.unity.render-pipelines.high-definition/Runtime/VFXGraph/Shaders/VFXCommon.hlsl index dce90c1b99b..0fb31fbae2d 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Runtime/VFXGraph/Shaders/VFXCommon.hlsl +++ b/Packages/com.unity.render-pipelines.high-definition/Runtime/VFXGraph/Shaders/VFXCommon.hlsl @@ -5,6 +5,8 @@ #include "Packages/com.unity.render-pipelines.high-definition/Runtime/Lighting/AtmosphericScattering/AtmosphericScattering.hlsl" #include "Packages/com.unity.render-pipelines.high-definition/Runtime/Material/Builtin/BuiltinData.hlsl" +#define unity_CameraWorldClipPlanes _FrustumPlanes + void VFXEncodeMotionVector(float2 motionVec, out float4 outBuffer) { EncodeMotionVector(motionVec, outBuffer); diff --git a/Packages/com.unity.render-pipelines.universal/Editor/2D/Light2DEditor.cs b/Packages/com.unity.render-pipelines.universal/Editor/2D/Light2DEditor.cs index 57390adb975..d990442ce4b 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/2D/Light2DEditor.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/2D/Light2DEditor.cs @@ -125,14 +125,12 @@ private static class Styles SerializedProperty m_LightType; SerializedProperty m_LightColor; SerializedProperty m_LightIntensity; - SerializedProperty m_UseNormalMap; SerializedProperty m_ShadowsEnabled; SerializedProperty m_ShadowIntensity; SerializedProperty m_ShadowSoftness; SerializedProperty m_ShadowSoftnessFalloffIntensity; SerializedProperty m_ShadowVolumeIntensity; SerializedProperty m_ShadowVolumeIntensityEnabled; - SerializedProperty m_ApplyToSortingLayers; SerializedProperty m_VolumetricIntensity; SerializedProperty m_VolumetricEnabled; SerializedProperty m_BlendStyleIndex; @@ -147,12 +145,9 @@ private static class Styles SerializedProperty m_PointOuterAngle; SerializedProperty m_PointInnerRadius; SerializedProperty m_PointOuterRadius; - SerializedProperty m_DeprecatedPointLightSprite; // Shape Light Properties - SerializedProperty m_ShapeLightParametricRadius; SerializedProperty m_ShapeLightFalloffSize; - SerializedProperty m_ShapeLightParametricSides; SerializedProperty m_ShapeLightSprite; SavedBool m_BlendingSettingsFoldout; @@ -227,14 +222,12 @@ void OnEnable() m_LightType = serializedObject.FindProperty("m_LightType"); m_LightColor = serializedObject.FindProperty("m_Color"); m_LightIntensity = serializedObject.FindProperty("m_Intensity"); - m_UseNormalMap = serializedObject.FindProperty("m_UseNormalMap"); m_ShadowsEnabled = serializedObject.FindProperty("m_ShadowsEnabled"); m_ShadowIntensity = serializedObject.FindProperty("m_ShadowIntensity"); m_ShadowSoftness = serializedObject.FindProperty("m_ShadowSoftness"); m_ShadowSoftnessFalloffIntensity = serializedObject.FindProperty("m_ShadowSoftnessFalloffIntensity"); m_ShadowVolumeIntensity = serializedObject.FindProperty("m_ShadowVolumeIntensity"); m_ShadowVolumeIntensityEnabled = serializedObject.FindProperty("m_ShadowVolumeIntensityEnabled"); - m_ApplyToSortingLayers = serializedObject.FindProperty("m_ApplyToSortingLayers"); m_VolumetricIntensity = serializedObject.FindProperty("m_LightVolumeIntensity"); m_VolumetricEnabled = serializedObject.FindProperty("m_LightVolumeEnabled"); m_BlendStyleIndex = serializedObject.FindProperty("m_BlendStyleIndex"); @@ -249,12 +242,9 @@ void OnEnable() m_PointOuterAngle = serializedObject.FindProperty("m_PointLightOuterAngle"); m_PointInnerRadius = serializedObject.FindProperty("m_PointLightInnerRadius"); m_PointOuterRadius = serializedObject.FindProperty("m_PointLightOuterRadius"); - m_DeprecatedPointLightSprite = serializedObject.FindProperty("m_DeprecatedPointLightCookieSprite"); // Shape Light - m_ShapeLightParametricRadius = serializedObject.FindProperty("m_ShapeLightParametricRadius"); m_ShapeLightFalloffSize = serializedObject.FindProperty("m_ShapeLightFalloffSize"); - m_ShapeLightParametricSides = serializedObject.FindProperty("m_ShapeLightParametricSides"); m_ShapeLightSprite = serializedObject.FindProperty("m_LightCookieSprite"); m_AnyBlendStyleEnabled = false; @@ -574,8 +564,8 @@ void DrawSpotLight(SerializedObject serializedObject) DrawInnerAndOuterSpotAngle(m_PointInnerAngle, m_PointOuterAngle, Styles.InnerOuterSpotAngle); EditorGUILayout.Slider(m_FalloffIntensity, 0, 1, Styles.generalFalloffIntensity); - if (m_DeprecatedPointLightSprite.objectReferenceValue != null) - EditorGUILayout.PropertyField(m_DeprecatedPointLightSprite, Styles.pointLightSprite); + if (m_ShapeLightSprite.objectReferenceValue != null) + EditorGUILayout.PropertyField(m_ShapeLightSprite, Styles.pointLightSprite); m_SortingLayerDropDown.OnTargetSortingLayers(serializedObject, targets, Styles.generalSortingLayerPrefixLabel, AnalyticsTrackChanges); diff --git a/Packages/com.unity.render-pipelines.universal/Editor/2D/LightBatchingDebugger/LightBatchingDebugger.cs b/Packages/com.unity.render-pipelines.universal/Editor/2D/LightBatchingDebugger/LightBatchingDebugger.cs index 04ad93ce517..2b4b70af33a 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/2D/LightBatchingDebugger/LightBatchingDebugger.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/2D/LightBatchingDebugger/LightBatchingDebugger.cs @@ -41,7 +41,7 @@ public static void ShowExample() private int shadowCount = 0; // Variables used for refresh view - private bool doRefresh; + static bool doRefresh; private int cachedSceneHandle; private Vector3 cachedCamPos; private int totalLightCount; @@ -356,11 +356,19 @@ private void CreateGUI() private void OnEnable() { EditorApplication.playModeStateChanged += OnPlayModeStateChanged; + +#if UNITY_EDITOR + SortingLayer.onLayerChanged += QueueRefresh; +#endif } private void OnDisable() { EditorApplication.playModeStateChanged -= OnPlayModeStateChanged; + +#if UNITY_EDITOR + SortingLayer.onLayerChanged -= QueueRefresh; +#endif } void OnPlayModeStateChanged(PlayModeStateChange playModeState) @@ -528,7 +536,7 @@ private void ResetDirty() doRefresh = false; } - public void QueueRefresh() + internal static void QueueRefresh() { doRefresh = true; } diff --git a/Packages/com.unity.render-pipelines.universal/Editor/2D/Shadows/ShadowCaster2DEditor.cs b/Packages/com.unity.render-pipelines.universal/Editor/2D/Shadows/ShadowCaster2DEditor.cs index b220620fe8d..77f7f23dd1a 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/2D/Shadows/ShadowCaster2DEditor.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/2D/Shadows/ShadowCaster2DEditor.cs @@ -128,7 +128,7 @@ public override void OnInspectorGUI() if ((ShadowCaster2D.ShadowCastingSources)m_CastingSource.intValue == ShadowCaster2D.ShadowCastingSources.ShapeEditor) ShadowCaster2DInspectorGUI(); - else if (EditorToolManager.IsActiveTool()) + else if (Path2D.EditorToolManager.IsActiveTool()) ToolManager.RestorePreviousTool(); if(m_ShadowShape2DProvider != null) diff --git a/Packages/com.unity.render-pipelines.universal/Editor/2D/ShapeEditor/EditorTool/PathEditorTool.cs b/Packages/com.unity.render-pipelines.universal/Editor/2D/ShapeEditor/EditorTool/PathEditorTool.cs index 09d37e19031..16003153042 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/2D/ShapeEditor/EditorTool/PathEditorTool.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/2D/ShapeEditor/EditorTool/PathEditorTool.cs @@ -186,12 +186,12 @@ private void OnDestroy() private void HandleActivation() { if (m_IsActive == false && ToolManager.IsActiveTool(this)) - Activate(); + ActivateTool(); else if (m_IsActive) - Deactivate(); + DeactivateTool(); } - private void Activate() + private void ActivateTool() { m_IsActive = true; RegisterCallbacks(); @@ -199,7 +199,7 @@ private void Activate() OnActivate(); } - private void Deactivate() + private void DeactivateTool() { OnDeactivate(); DestroyCache(); diff --git a/Packages/com.unity.render-pipelines.universal/Editor/2D/SortingLayerDropDown.cs b/Packages/com.unity.render-pipelines.universal/Editor/2D/SortingLayerDropDown.cs index f07dfd37d32..b68875b1cf6 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/2D/SortingLayerDropDown.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/2D/SortingLayerDropDown.cs @@ -70,10 +70,7 @@ void UpdateApplyToSortingLayersArray(object layerSelectionDataObject) } if (EditorWindow.HasOpenInstances()) - { - var debugger = EditorWindow.GetWindow(); - debugger?.QueueRefresh(); - } + LightBatchingDebugger.QueueRefresh(); } void OnNoSortingLayerSelected(object selectionData) diff --git a/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/VFXURPLitQuadStripOutput.cs b/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/VFXURPLitQuadStripOutput.cs index ed035ddc46d..0cb62baa966 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/VFXURPLitQuadStripOutput.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/VFXURPLitQuadStripOutput.cs @@ -6,7 +6,7 @@ namespace UnityEditor.VFX.URP { - [VFXHelpURL("Context-OutputPrimitive")] + [VFXHelpURL("Context-OutputStripQuad")] [VFXInfo(name = "Output ParticleStrip|URP Lit|Quad", category = "#3Output Strip", experimental = true)] class VFXURPLitQuadStripOutput : VFXAbstractParticleURPLitOutput { diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/2D/Light2D.cs b/Packages/com.unity.render-pipelines.universal/Runtime/2D/Light2D.cs index cd0acd83445..f14226783a6 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/2D/Light2D.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/2D/Light2D.cs @@ -97,10 +97,11 @@ private enum ComponentVersions { Version_Unserialized = 0, Version_1 = 1, - Version_2 = 2 + Version_2 = 2, + Version_3 = 3 } - const ComponentVersions k_CurrentComponentVersion = ComponentVersions.Version_2; + const ComponentVersions k_CurrentComponentVersion = ComponentVersions.Version_3; [SerializeField] ComponentVersions m_ComponentVersion = ComponentVersions.Version_Unserialized; @@ -127,7 +128,7 @@ private enum ComponentVersions [Reload("Textures/2D/Sparkle.png")] [SerializeField] Sprite m_LightCookieSprite; - [FormerlySerializedAs("m_LightCookieSprite")] + [Obsolete("Use m_LightCookieSprite instead")] [SerializeField] Sprite m_DeprecatedPointLightCookieSprite; [SerializeField] int m_LightOrder = 0; @@ -285,7 +286,6 @@ public LightType lightType [Obsolete] public bool volumeIntensityEnabled { get => m_LightVolumeEnabled; set => m_LightVolumeEnabled = value; } - /// /// Enables or disables the light's volume /// @@ -295,7 +295,7 @@ public LightType lightType /// /// The Sprite that's used by the Sprite Light type to control the shape light /// - public Sprite lightCookieSprite { get { return m_LightType != LightType.Point ? m_LightCookieSprite : m_DeprecatedPointLightCookieSprite; } set => m_LightCookieSprite = value; } + public Sprite lightCookieSprite { get { return m_LightCookieSprite; } set => m_LightCookieSprite = value; } /// /// Controls the brightness and distance of the fall off (edge) of the light @@ -654,10 +654,20 @@ public void OnAfterDeserialize() m_ComponentVersion = ComponentVersions.Version_1; } - if(m_ComponentVersion < ComponentVersions.Version_2) + if (m_ComponentVersion < ComponentVersions.Version_2) { m_ShadowSoftness = 0; } + + if (m_ComponentVersion < ComponentVersions.Version_3) + { +#pragma warning disable CS0618 + if (m_LightType == LightType.Point && (object)m_DeprecatedPointLightCookieSprite != null) + { + m_LightCookieSprite = m_DeprecatedPointLightCookieSprite; + } +#pragma warning restore CS0618 + } } } } diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/DeferredLights.cs b/Packages/com.unity.render-pipelines.universal/Runtime/DeferredLights.cs index 8c70d8546aa..6081951cf42 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/DeferredLights.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/DeferredLights.cs @@ -313,8 +313,18 @@ internal void SetupLights(CommandBuffer cmd, UniversalCameraData cameraData, Vec Camera camera = cameraData.camera; // Support for dynamic resolution. - this.RenderWidth = camera.allowDynamicResolution ? Mathf.CeilToInt(ScalableBufferManager.widthScaleFactor * cameraTargetSizeCopy.x) : cameraTargetSizeCopy.x; - this.RenderHeight = camera.allowDynamicResolution ? Mathf.CeilToInt(ScalableBufferManager.heightScaleFactor * cameraTargetSizeCopy.y) : cameraTargetSizeCopy.y; + if (cameraData.xr.enabled) + { + // Must equal scaledCameraTargetWidth and scaledCameraTargetHeight set in ScriptableRenderer.SetPerCameraShaderVariables + // _ScreenToWorld (from here) and _ScaledScreenParams/_ScreenSize are both used per-pixel in the deferred pass so a mismatch corrupts world-pos reconstruction + this.RenderWidth = cameraData.pixelWidth; + this.RenderHeight = cameraData.pixelHeight; + } + else + { + this.RenderWidth = camera.allowDynamicResolution ? Mathf.CeilToInt(ScalableBufferManager.widthScaleFactor * cameraTargetSizeCopy.x) : cameraTargetSizeCopy.x; + this.RenderHeight = camera.allowDynamicResolution ? Mathf.CeilToInt(ScalableBufferManager.heightScaleFactor * cameraTargetSizeCopy.y) : cameraTargetSizeCopy.y; + } // inspect lights in lightData.visibleLights and convert them to entries in m_stencilVisLights PrecomputeLights( diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/DrawScreenSpaceUIPass.cs b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/DrawScreenSpaceUIPass.cs index ed80d5d5ec5..d648934bca3 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/DrawScreenSpaceUIPass.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/DrawScreenSpaceUIPass.cs @@ -47,6 +47,8 @@ public static void ConfigureColorDescriptor(ref RenderTextureDescriptor descript descriptor.depthStencilFormat = GraphicsFormat.None; descriptor.width = cameraWidth; descriptor.height = cameraHeight; + // we dont need multisampling, and not explicitly setting this can violate validation layers on vulkan + descriptor.msaaSamples = 1; } /// @@ -63,6 +65,8 @@ public static void ConfigureDepthDescriptor(ref RenderTextureDescriptor descript descriptor.depthStencilFormat = depthStencilFormat; descriptor.width = cameraWidth; descriptor.height = cameraHeight; + // we dont need multisampling, and not explicitly setting this can violate validation layers on vulkan + descriptor.msaaSamples = 1; } private static void ExecutePass(RasterCommandBuffer commandBuffer, PassData passData, RendererList rendererList) diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/PostProcessPass.cs b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/PostProcessPass.cs index 6e461febff0..1531fabcc37 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/PostProcessPass.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/PostProcessPass.cs @@ -1415,7 +1415,8 @@ void SetupBloom(CommandBuffer cmd, RTHandle source, Material uberMaterial, bool float dirtRatio = dirtTexture.width / (float)dirtTexture.height; float screenRatio = m_Descriptor.width / (float)m_Descriptor.height; var dirtScaleOffset = new Vector4(1f, 1f, 0f, 0f); - float dirtIntensity = m_Bloom.dirtIntensity.value; + // Must match _DIRT variant stripping in ShaderBuildPreprocessor. + float dirtIntensity = m_Bloom.dirtTexture.value == null ? 0f : m_Bloom.dirtIntensity.value; if (dirtRatio > screenRatio) { diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/PostProcessPassRenderGraph.cs b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/PostProcessPassRenderGraph.cs index 059d9c06c92..3c4a4e6a3ce 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/PostProcessPassRenderGraph.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/PostProcessPassRenderGraph.cs @@ -281,7 +281,8 @@ public void UberPostSetupBloomPass(RenderGraph rendergraph, in TextureHandle blo float dirtRatio = dirtTexture.width / (float)dirtTexture.height; float screenRatio = m_Descriptor.width / (float)m_Descriptor.height; var dirtScaleOffset = new Vector4(1f, 1f, 0f, 0f); - float dirtIntensity = m_Bloom.dirtIntensity.value; + // Must match _DIRT variant stripping in ShaderBuildPreprocessor. + float dirtIntensity = m_Bloom.dirtTexture.value == null ? 0f : m_Bloom.dirtIntensity.value; if (dirtRatio > screenRatio) { diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/RenderObjectsPass.cs b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/RenderObjectsPass.cs index 00969697550..8e2d8ca9d88 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/RenderObjectsPass.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/RenderObjectsPass.cs @@ -161,6 +161,11 @@ private static void ExecutePass(PassData passData, RasterCommandBuffer cmd, Rend { Camera camera = passData.cameraData.camera; + if (passData.cameraData.xr.enabled && passData.isActiveTargetBackBuffer) + { + cmd.SetViewport(passData.cameraData.xr.GetViewport()); + } + // In case of camera stacking we need to take the viewport rect from base camera Rect pixelRect = passData.cameraData.pixelRect; float cameraAspect = (float)pixelRect.width / (float)pixelRect.height; @@ -214,13 +219,16 @@ private class PassData // Required for code sharing purpose between RG and non-RG. internal RendererList rendererList; + + internal bool isActiveTargetBackBuffer; } - private void InitPassData(UniversalCameraData cameraData, ref PassData passData) + private void InitPassData(UniversalCameraData cameraData, ref PassData passData, bool isActiveTargetBackBuffer = false) { passData.cameraSettings = m_CameraSettings; passData.renderPassEvent = renderPassEvent; passData.cameraData = cameraData; + passData.isActiveTargetBackBuffer = isActiveTargetBackBuffer; } private void InitRendererLists(UniversalRenderingData renderingData, UniversalLightData lightData, @@ -275,7 +283,7 @@ public override void RecordRenderGraph(RenderGraph renderGraph, ContextContainer { UniversalResourceData resourceData = frameData.Get(); - InitPassData(cameraData, ref passData); + InitPassData(cameraData, ref passData, resourceData.isActiveTargetBackBuffer); passData.color = resourceData.activeColorTexture; builder.SetRenderAttachment(resourceData.activeColorTexture, 0, AccessFlags.Write); @@ -317,7 +325,10 @@ public override void RecordRenderGraph(RenderGraph renderGraph, ContextContainer builder.AllowPassCulling(false); builder.AllowGlobalStateModification(true); if (cameraData.xr.enabled) - builder.EnableFoveatedRasterization(cameraData.xr.supportsFoveatedRendering && cameraData.xrUniversal.canFoveateIntermediatePasses); + { + bool passSupportsFoveation = cameraData.xrUniversal.canFoveateIntermediatePasses || resourceData.isActiveTargetBackBuffer; + builder.EnableFoveatedRasterization(cameraData.xr.supportsFoveatedRendering && passSupportsFoveation); + } builder.SetRenderFunc((PassData data, RasterGraphContext rgContext) => { diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/ScriptableRenderer.cs b/Packages/com.unity.render-pipelines.universal/Runtime/ScriptableRenderer.cs index 54467bd2467..b31ab780e88 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/ScriptableRenderer.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/ScriptableRenderer.cs @@ -291,14 +291,17 @@ void SetPerCameraShaderVariables(RasterCommandBuffer cmd, UniversalCameraData ca cameraWidth = (float)cameraTargetSizeCopy.x; cameraHeight = (float)cameraTargetSizeCopy.y; - useRenderPassEnabled = false; + // pixelWidth/Height is derived from xr.GetViewport() and encodes renderViewportScale (which also handles dynamic res) + scaledCameraTargetWidth = cameraData.pixelWidth; + scaledCameraTargetHeight = cameraData.pixelHeight; + useRenderPassEnabled = false; + // Multi-pass needs to set unity_StereoEyeIndex builtin param for skybox-panoramic.shader to work correctly (UUM-120719) if (!cameraData.xr.singlePassEnabled) cmd.SetGlobalVector(XRBuiltinShaderConstants.unity_StereoEyeIndex, new Vector4(cameraData.xr.multipassId, 0, 0, 0)); } - - if (camera.allowDynamicResolution) + else if (camera.allowDynamicResolution) { scaledCameraTargetWidth *= ScalableBufferManager.widthScaleFactor; scaledCameraTargetHeight *= ScalableBufferManager.heightScaleFactor; diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipeline.cs b/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipeline.cs index db1f8a5fecd..5fcb4b12888 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipeline.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipeline.cs @@ -230,10 +230,18 @@ public UniversalRenderPipeline(UniversalRenderPipelineAsset asset) int qualitySettingsMsaaSampleCount = QualitySettings.antiAliasing > 0 ? QualitySettings.antiAliasing : 1; bool msaaSampleCountNeedsUpdate = qualitySettingsMsaaSampleCount != asset.msaaSampleCount; - // Let engine know we have MSAA on for cases where we support MSAA backbuffer + // Let engine know we have MSAA on for cases where we support MSAA backbuffer. + // QualitySettings.antiAliasing setter does NOT call ScreenManager::OnAntiAliasingChanged(), + // so changing it alone never triggers Metal/GLES backbuffer reallocation. Screen.SetMSAASamples() + // sets m_RequestedMSAASamples AND fires OnAntiAliasingChanged -> ReapplyRequestedResolution, + // so the backbuffer is reallocated before the next frame's rendering begins. + // Both calls are required: do NOT gate Screen.SetMSAASamples on Screen.msaaSamples != target, + // because Screen.msaaSamples falls back to QualitySettings.antiAliasing when m_RequestedMSAASamples + // is 0, and reads back the just-written QS value, masking the real surface state. if (msaaSampleCountNeedsUpdate) { QualitySettings.antiAliasing = asset.msaaSampleCount; + Screen.SetMSAASamples(asset.msaaSampleCount); } var defaultVolumeProfileSettings = GraphicsSettings.GetRenderPipelineSettings(); diff --git a/Packages/com.unity.shadergraph/Documentation~/Arccosine-Node.md b/Packages/com.unity.shadergraph/Documentation~/Arccosine-Node.md index 8d95817efca..42fdb90c8a5 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Arccosine-Node.md +++ b/Packages/com.unity.shadergraph/Documentation~/Arccosine-Node.md @@ -9,7 +9,7 @@ Returns the arccosine of each component of the input **In** as a vector of the s | Name | Direction | Type | Description | |:------------ |:-------------|:-----|:---| | In | Input | Dynamic Vector | Input value | -| Out | Output | Dynamic Vector | The arccosine in radians | +| Out | Output | Dynamic Vector | The arccosine of the input value, in radians | ## Generated Code Example diff --git a/Packages/com.unity.shadergraph/Documentation~/Arcsine-Node.md b/Packages/com.unity.shadergraph/Documentation~/Arcsine-Node.md index b570d907e68..2cffd495d70 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Arcsine-Node.md +++ b/Packages/com.unity.shadergraph/Documentation~/Arcsine-Node.md @@ -9,7 +9,7 @@ Returns the arcsine of each component of the input **In** as a vector of the sam | Name | Direction | Type | Description | |:------------ |:-------------|:-----|:---| | In | Input | Dynamic Vector | Input value | -| Out | Output | Dynamic Vector | Output value | +| Out | Output | Dynamic Vector | The arcsine of the input value, in radians | ## Generated Code Example diff --git a/Packages/com.unity.shadergraph/Documentation~/Arctangent-Node.md b/Packages/com.unity.shadergraph/Documentation~/Arctangent-Node.md index e2797dc43b6..447d0ae951d 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Arctangent-Node.md +++ b/Packages/com.unity.shadergraph/Documentation~/Arctangent-Node.md @@ -9,7 +9,7 @@ Returns the arctangent of the value of input **In**. Each component should be wi | Name | Direction | Type | Description | |:------------ |:-------------|:-----|:---| | In | Input | Dynamic Vector | Input value | -| Out | Output | Dynamic Vector | Output value | +| Out | Output | Dynamic Vector | The arctangent of the input value, in radians | ## Generated Code Example diff --git a/Packages/com.unity.shadergraph/Documentation~/Arctangent2-Node.md b/Packages/com.unity.shadergraph/Documentation~/Arctangent2-Node.md index 3e24fa63950..b788986085f 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Arctangent2-Node.md +++ b/Packages/com.unity.shadergraph/Documentation~/Arctangent2-Node.md @@ -10,7 +10,7 @@ Returns the arctangent of the values of both input **A** and input **B**. The si |:------------ |:-------------|:-----|:---| | A | Input | Dynamic Vector | First input value | | B | Input | Dynamic Vector | Second input value | -| Out | Output | Dynamic Vector | Output value | +| Out | Output | Dynamic Vector | The arctangent of both inputs, in radians | ## Generated Code Example diff --git a/Packages/com.unity.shadergraph/Documentation~/Degrees-To-Radians-Node.md b/Packages/com.unity.shadergraph/Documentation~/Degrees-To-Radians-Node.md index 0382db8a75b..ea6fcfe7e66 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Degrees-To-Radians-Node.md +++ b/Packages/com.unity.shadergraph/Documentation~/Degrees-To-Radians-Node.md @@ -10,8 +10,8 @@ One degree is equivalent to approximately 0.0174533 radians and a full rotation | Name | Direction | Type | Description | |:------------ |:-------------|:-----|:---| -| In | Input | Dynamic Vector | Input value | -| Out | Output | Dynamic Vector | Output value | +| In | Input | Dynamic Vector | Input value in degrees | +| Out | Output | Dynamic Vector | Output value in radians | ## Generated Code Example diff --git a/Packages/com.unity.shadergraph/Documentation~/Keyboard-shortcuts.md b/Packages/com.unity.shadergraph/Documentation~/Keyboard-shortcuts.md index 11b8518c807..0f5c9f1894f 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Keyboard-shortcuts.md +++ b/Packages/com.unity.shadergraph/Documentation~/Keyboard-shortcuts.md @@ -80,7 +80,7 @@ The following table lists the keyboard shortcuts you can use to add nodes in Sha | Remap | Alt + R | Option + R | | Sample Texture 2D | Alt + X | Option + X | | Saturate | Alt + Q | Option + Q | -| Smoothstep | Alt + " | Option + " | +| Smoothstep | Alt + ` | Option + ` | | Split | Alt + E | Option + E | | Step | Alt + J | Option + J | | Subtract | Alt + S | Option + S | diff --git a/Packages/com.unity.shadergraph/Documentation~/Node.md b/Packages/com.unity.shadergraph/Documentation~/Node.md index 1762eb3ce4b..a753a609cae 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Node.md +++ b/Packages/com.unity.shadergraph/Documentation~/Node.md @@ -41,4 +41,4 @@ Right clicking on a **Node** will open a context menu. This menu contains many o -Unity applies each component of T as a weight factor to each component to A and B. If T has fewer components than A and B, Unity casts T to the required number of components. Unity copies the values of the original components of T to the added components. + diff --git a/Packages/com.unity.shadergraph/Documentation~/Radians-To-Degrees-Node.md b/Packages/com.unity.shadergraph/Documentation~/Radians-To-Degrees-Node.md index 74810dc7618..0a924149fe8 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Radians-To-Degrees-Node.md +++ b/Packages/com.unity.shadergraph/Documentation~/Radians-To-Degrees-Node.md @@ -8,8 +8,8 @@ Returns the value of input **In** converted from radians to degrees. One radian | Name | Direction | Type | Description | |:------------ |:-------------|:-----|:---| -| In | Input | Dynamic Vector | Input value | -| Out | Output | Dynamic Vector | Output value | +| In | Input | Dynamic Vector | Input value in radians | +| Out | Output | Dynamic Vector | Output value in degrees | ## Generated Code Example diff --git a/Packages/com.unity.shadergraph/Documentation~/Scene-Color-Node.md b/Packages/com.unity.shadergraph/Documentation~/Scene-Color-Node.md index 953f99047f4..e863aab4c58 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Scene-Color-Node.md +++ b/Packages/com.unity.shadergraph/Documentation~/Scene-Color-Node.md @@ -7,7 +7,10 @@ If you use the Universal Render Pipeline (URP), the node samples the opaque text To make sure the Scene Color node outputs the correct values, follow these steps: 1. Connect the node to the fragment [shader stage](Shader-Stage.md). The Scene Color node doesn't support the vertex shader stage. -2. In the **Graph Settings** tab of the [**Graph Inspector**](Internal-inspector.md) window, set **Surface Type** to **Transparent**. Otherwise, the node samples the color buffer before Unity renders all the opaque contents in the scene. +2. Make sure Unity captures the color buffer after rendering all the opaque contents in the scene. Use either of the following approaches: + + - In the **Graph Settings** tab of the [**Graph Inspector**](Internal-inspector.md) window, set **Surface Type** to **Transparent**. + - In the **Inspector** window of the material, set the render queue to 2999 (Transparent−1) or 3000 (Transparent). For more information, refer to [Render queues and sorting behaviors](xref:um-built-in-rendering-order). ## Render pipeline support diff --git a/Packages/com.unity.shadergraph/Documentation~/Sine-Node.md b/Packages/com.unity.shadergraph/Documentation~/Sine-Node.md index 4857c36aecb..e3a4819c0f6 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Sine-Node.md +++ b/Packages/com.unity.shadergraph/Documentation~/Sine-Node.md @@ -8,8 +8,8 @@ Returns the sine of the value of input **In**. | Name | Direction | Type | Description | |:------|:-----------|:---------------|:--------------| -| In | Input | Dynamic Vector | Input value in radians. | -| Out | Output | Dynamic Vector | Output value. Range (-1 to +1). | +| In | Input | Dynamic Vector | Input value in radians | +| Out | Output | Dynamic Vector | Output value | ## Generated Code Example diff --git a/Packages/com.unity.shadergraph/Documentation~/Tangent-Node.md b/Packages/com.unity.shadergraph/Documentation~/Tangent-Node.md index 562daf119fb..0777f091392 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Tangent-Node.md +++ b/Packages/com.unity.shadergraph/Documentation~/Tangent-Node.md @@ -8,7 +8,7 @@ Returns the tangent of the value of input **In**. | Name | Direction | Type | Description | |:------------ |:-------------|:-----|:---| -| In | Input | Dynamic Vector | Input value | +| In | Input | Dynamic Vector | Input value in radians | | Out | Output | Dynamic Vector | Output value | ## Generated Code Example diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Arithmetic.md b/Packages/com.unity.visualeffectgraph/Documentation~/Arithmetic.md index 3399a069ef4..24bbabe6daf 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Arithmetic.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Arithmetic.md @@ -4,28 +4,28 @@ Perform mathematical calculations on input data. | **Page** | **Description** | | --- | --- | -| [Absolute](Operator-Absolute.md) | Calculate the absolute value of an input. | -| [Add](Operator-Add.md) | Calculate the sum of all inputs. | -| [Divide](Operator-Divide.md) | Divide the first input sequentially by all other inputs. | -| [Fractional](Operator-Fractional.md) | Extract the fractional part of an input. | -| [Inverse Lerp](Operator-InverseLerp.md) | Calculate the fraction representing how far a value is between two values. | -| [Lerp](Operator-Lerp.md) | Calculate a linear interpolation between two values. | -| [Modulo](Operator-Modulo.md) | Calculate the remainder of dividing of one value by another. | -| [Multiply](Operator-Multiply.md) | Multiply all inputs together. | -| [Negate](Operator-Negate.md) | Multiply an input value by -1 to invert its sign. | -| [One Minus](Operator-OneMinus.md) | Subtract an input value from one. | -| [Power](Operator-Power.md) | Raise one input to the power of another input. | -| [Reciprocal](Operator-Reciprocal.md) | Calculate the result of dividing 1 by an input value. | -| [Sign](Operator-Sign.md) | Return whether an input is positive, negative, or 0. | -| [Smoothstep](Operator-Smoothstep.md) | Calculate smooth Hermite interpolation between two values. | -| [Square Root](Operator-SquareRoot.md) | Calculate the square root of an input. | -| [Step](Operator-Step.md) | Compare an input value to a threshold and return whether an input is above or below the threshold | -| [Subtract](Operator-Subtract.md) | Subtract one or more inputs from another input. | +| [Absolute Operator](Operator-Absolute.md) | Calculate the absolute value of an input. | +| [Add Operator](Operator-Add.md) | Calculate the sum of all inputs. | +| [Divide Operator](Operator-Divide.md) | Divide the first input sequentially by all other inputs. | +| [Fractional Operator](Operator-Fractional.md) | Extract the fractional part of an input. | +| [Inverse Lerp Operator](Operator-InverseLerp.md) | Calculate the fraction representing how far a value is between two values. | +| [Lerp Operator](Operator-Lerp.md) | Calculate a linear interpolation between two values. | +| [Modulo Operator](Operator-Modulo.md) | Calculate the remainder of dividing of one value by another. | +| [Multiply Operator](Operator-Multiply.md) | Multiply all inputs together. | +| [Negate Operator](Operator-Negate.md) | Multiply an input value by -1 to invert its sign. | +| [One Minus Operator](Operator-OneMinus.md) | Subtract an input value from one. | +| [Power Operator](Operator-Power.md) | Raise one input to the power of another input. | +| [Reciprocal Operator](Operator-Reciprocal.md) | Calculate the result of dividing 1 by an input value. | +| [Sign Operator](Operator-Sign.md) | Return whether an input is positive, negative, or 0. | +| [Smoothstep Operator](Operator-Smoothstep.md) | Calculate smooth Hermite interpolation between two values. | +| [Square Root Operator](Operator-SquareRoot.md) | Calculate the square root of an input. | +| [Step Operator](Operator-Step.md) | Compare an input value to a threshold and return whether an input is above or below the threshold | +| [Subtract Operator](Operator-Subtract.md) | Subtract one or more inputs from another input. | ## Additional resources -- [Clamp](Clamp.md) -- [Remap](Remap.md) -- [Math](Math.md) +- [Clamp Operators](Clamp.md) +- [Remap Operators](Remap.md) +- [Math Operators](Math.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Attribute.md b/Packages/com.unity.visualeffectgraph/Documentation~/Attribute.md index 109c928122d..c5dca980919 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Attribute.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Attribute.md @@ -4,10 +4,10 @@ Write values to the [Attributes](Attributes.md) of particles. | **Page** | **Description** | | --- | --- | -| [Curve](Block-SetAttributeFromCurve.md) | Write values to an attribute based on a sample from an Animation Curve or Gradient. | -| [Derived > Calculate Mass from Volume](Block-CalculateMassFromVolume.md) | Set the mass of a particle based on its scale and density. | -| [Map](Block-SetAttributeFromMap.md) | Sample data from textures and store them in attributes. | -| [Set](Block-SetAttribute.md) | Write values to an attribute directly, or use random modes to set attributes to random values. | +| [Curve Block](Block-SetAttributeFromCurve.md) | Write values to an attribute based on a sample from an Animation Curve or Gradient. | +| [Derived > Calculate Mass from Volume Block](Block-CalculateMassFromVolume.md) | Set the mass of a particle based on its scale and density. | +| [Map Block](Block-SetAttributeFromMap.md) | Sample data from textures and store them in attributes. | +| [Set Block](Block-SetAttribute.md) | Write values to an attribute directly, or use random modes to set attributes to random values. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Bitwise.md b/Packages/com.unity.visualeffectgraph/Documentation~/Bitwise.md index 7a300d257ea..30f08cf4eaf 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Bitwise.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Bitwise.md @@ -4,12 +4,12 @@ Perform bitwise logical operations on inputs. | **Page** | **Description** | | --- | --- | -| [And](Operator-BitwiseAnd.md) | Perform a bitwise AND operation, which outputs 1 if both bits are 1. | -| [Complement](Operator-BitwiseComplement.md) | Perform a bitwise NOT operation to invert each bit. | -| [Left Shift](Operator-BitwiseLeftShift.md) | Shift an input value left by a specified number of bits. | -| [Or](Operator-BitwiseOr.md) | Perform a bitwise OR operation, which outputs 1 if either bit is 1. | -| [Right Shift](Operator-BitwiseRightShift.md) | Shift an input value right by a specified number of bits. | -| [Xor](Operator-BitwiseXor.md) | Perform a bitwise XOR operation, which outputs 1 if only one bit is 1. | +| [And Operator](Operator-BitwiseAnd.md) | Perform a bitwise AND operation, which outputs 1 if both bits are 1. | +| [Complement Operator](Operator-BitwiseComplement.md) | Perform a bitwise NOT operation to invert each bit. | +| [Left Shift Operator](Operator-BitwiseLeftShift.md) | Shift an input value left by a specified number of bits. | +| [Or Operator](Operator-BitwiseOr.md) | Perform a bitwise OR operation, which outputs 1 if either bit is 1. | +| [Right Shift Operator](Operator-BitwiseRightShift.md) | Shift an input value right by a specified number of bits. | +| [Xor Operator](Operator-BitwiseXor.md) | Perform a bitwise XOR operation, which outputs 1 if only one bit is 1. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Burst.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Burst.md index 61eae65cd74..0f1c24eba02 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Burst.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Burst.md @@ -1,9 +1,9 @@ -# Single/Periodic Burst +# Single/Periodic Burst Blocks Menu Path: -- **Spawn > Single Burst** -- **Spawn > Periodic Burst** +- **Spawn** > **Single Burst** +- **Spawn** > **Periodic Burst** The Single/Periodic Burst Block spawns a number of particles instantly either once, or periodically using a delay. When this Block triggers a burst of particles to spawn, it increments the [spawnCount](https://docs.unity3d.com/Documentation/ScriptReference/VFX.VFXSpawnerState-spawnCount.html) instantly. If you change the **Repeat** setting to **Periodic**, this Block changes its name to **Periodic Burst** and spawns bursts of particles after a delay. @@ -11,7 +11,7 @@ The Single/Periodic Burst Block spawns a number of particles instantly either on This Block is compatible with the following Contexts: -- [Spawn](Context-Spawn.md) +- [Spawn Context](Context-Spawn.md) ## Block settings diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-CalculateMassFromVolume.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-CalculateMassFromVolume.md index 28526d30e7a..371788ef402 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-CalculateMassFromVolume.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-CalculateMassFromVolume.md @@ -1,6 +1,6 @@ -# Calculate Mass from Volume +# Calculate Mass from Volume Block -Menu Path : **Attribute > Derived > Calculate Mass from Volume** +Menu Path : **Attribute** > **Derived** > **Calculate Mass from Volume** The **Calculate Mass from Volume** Block sets a particle’s **Mass** attribute based on its volume, derived from the **Scale** attribute and the Block’s **Density** property. This Block is useful for calculating the mass of particles with different scales so they behave believably during physics simulations. @@ -8,8 +8,8 @@ The **Calculate Mass from Volume** Block sets a particle’s **Mass** attribute This Block is compatible with the following Contexts: -- [Initialize](Context-Initialize.md) -- [Update](Context-Update.md) +- [Initialize Context](Context-Initialize.md) +- [Update Context](Context-Update.md) ## Block properties diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-CameraFade.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-CameraFade.md index 2b5ad64e6c9..ab349e6a665 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-CameraFade.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-CameraFade.md @@ -1,4 +1,4 @@ -# Camera Fade +# Camera Fade Block Menu Path : **Output > Camera Fade** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-CollideWithDepthBuffer.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-CollideWithDepthBuffer.md index 8181049fcdb..1f595a59074 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-CollideWithDepthBuffer.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-CollideWithDepthBuffer.md @@ -1,6 +1,6 @@ -# Collide with Depth Buffer +# Collide with Depth Buffer Block -Menu Path : **Collision > Collide with Depth Buffer** +Menu Path : **Collision** > **Collide with Depth Buffer** The **Collide with Depth Buffer** Block makes particles collide with a specific Camera’s depth buffer. This is especially useful for fast moving particles like sparks or rain drops where precise collision is not as important. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Collision-LandingPage.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Collision-LandingPage.md index 44c98a1281b..d5e5c0e4a09 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Collision-LandingPage.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Collision-LandingPage.md @@ -4,10 +4,10 @@ Configure how particles collide with shapes or the depth buffer. | **Page** | **Description** | | --- | --- | -| [Collision Shape](Block-CollisionShape.md) | Define a shape that particles collide with. | -| [Collide with Depth Buffer](Block-CollideWithDepthBuffer.md) | Make particles collide with a camera's depth buffer. | -| [Kill Shape](Block-KillShape.md) | Define a shape that destroys particles that collide with it. | -| [Trigger Shape](Block-TriggerShape.md) | Define a shape that detects particle collisions and updates collision attributes. | +| [Collision Shape Block](Block-CollisionShape.md) | Define a shape that particles collide with. | +| [Collide with Depth Buffer Block](Block-CollideWithDepthBuffer.md) | Make particles collide with a camera's depth buffer. | +| [Kill Shape Block](Block-KillShape.md) | Define a shape that destroys particles that collide with it. | +| [Trigger Shape Block](Block-TriggerShape.md) | Define a shape that detects particle collisions and updates collision attributes. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-CollisionShape.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-CollisionShape.md index 09e5780f7ce..ef6cdebcbed 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-CollisionShape.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-CollisionShape.md @@ -27,7 +27,7 @@ To add a Collision Shape Block to your graph, [open the menu for adding a graph | **Shape** | Enum | Sets the shape for particles to collide with. For more information, refer to the [Shape dropdown](#shape-dropdown) section. | | **Mode** | Enum | Specifies how particles interact with the collider. The options are:
  • Solid: Stops particles entering the collider. If you set Shape to Plane, particles collide with the plane when they travel away from the normal of the plane.
  • Inverted: Stops particles leaving the shape volume. If you set Shape to Plane, particles collide with the plane when they travel in the same direction as the normal of the plane.
| | **Radius Mode** | Enum | Sets the collision radius of the particles. The options are:
  • None: Sets the collision radius to zero.
  • From Size: Sets the collision radius for each particle to its individual size.
  • Custom: Sets the collision radius to the value of **Radius** in the [Block properties](#block-properties).
| -| **Collision Attributes** | Enum | Specifies whether Unity stores data in the collision attributes of particles. The options are:
  • No Write: Doesn't write or store collision attributes.
  • Write Punctual Contact only: Updates the collision attribute only when a specific, single-point collision occurs. This prevents Unity updating the collision attributes repeatedly when a particle slides along a collision shape. To increase or decrease how much a particle needs to bounce off a shape to cause a collision response, enable **Override Bounce Threshold** in the Inspector window.
  • Write Always: Updates the collision attribute every time a collision occurs.
| +| **Collision Attributes** | Enum | Specifies whether Unity writes data to the [HasCollisionEvent](Operator-GetAttributeHasCollisionEvent.md), [CollisionEventNormal](Operator-GetAttributeCollisionEventNormal.md), [CollisionEventPosition](Operator-GetAttributeCollisionEventPosition.md), and [CollisionEventCount](Operator-GetAttributeCollisionEventCount.md) attributes of particles. The options are:
  • No Write: Doesn't write or store collision attributes.
  • Write Punctual Contact only: Updates the collision attribute only when a specific, single-point collision occurs. This prevents Unity updating the collision attributes repeatedly when a particle slides along a collision shape. To increase or decrease how much a particle needs to bounce off a shape to cause a collision response, enable **Override Bounce Threshold** in the Inspector window.
  • Write Always: Updates the collision attribute every time a collision occurs.
| | **Rough Surface** | Boolean | Adds randomness to the direction in which particles bounce back, to simulate collision with a rough surface. To set the roughness of the surface, use the **Roughness** property. | diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConformToSignedDistanceField.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConformToSignedDistanceField.md index bde589962a5..d57857c2c2d 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConformToSignedDistanceField.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConformToSignedDistanceField.md @@ -1,4 +1,4 @@ -# Attractor Shape Signed Distance Field +# Attractor Shape Signed Distance Field Block Menu Path : **Force > Attractor Shape Signed Distance Field** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConformToSphere.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConformToSphere.md index 08618da3648..d95badbf80d 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConformToSphere.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConformToSphere.md @@ -1,4 +1,4 @@ -# Attractor Shape Sphere +# Attractor Shape Sphere Block Menu Path : **Force > Attractor Shape Sphere** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConnectTarget.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConnectTarget.md index 3437e37cccd..ebd32f5f3c5 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConnectTarget.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConnectTarget.md @@ -1,4 +1,4 @@ -# Connect Target +# Connect Target Block Menu Path : **Orientation > Connect Target** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConstantRate.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConstantRate.md index 46ff602a18c..e270810943f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConstantRate.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-ConstantRate.md @@ -1,6 +1,6 @@ -# Constant Rate +# Constant Rate Block -Menu Path : **Spawn > Constant Rate** +Menu Path : **Spawn** > **Constant Rate** The Constant Rate Block adds a spawn count over time at a constant rate. For instance, if the rate is 10, this Block tiggers 10 spawn events per second for its Spawn Context. A rate below one is also valid, if the rate is 0.5, the rate is once every two seconds. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-CustomHLSL.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-CustomHLSL.md index efd79866d9b..090d669775b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-CustomHLSL.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-CustomHLSL.md @@ -1,6 +1,6 @@ # Custom HLSL Block -Menu Path : **HLSL > Custom HLSL** +Menu Path : **HLSL** > **Custom HLSL** The **Custom HLSL** Block allows you to write an HLSL function that takes inputs and can read and write to particle attributes. For general information about Custom HLSL nodes, refer to [Custom HLSL Nodes](CustomHLSL-Common.md). diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-FlipbookPlayer.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-FlipbookPlayer.md index 9dfda882e6a..8938f82840e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-FlipbookPlayer.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-FlipbookPlayer.md @@ -1,4 +1,4 @@ -# Flipbook Player +# Flipbook Player Block Menu Path : **FlipBook > Flipbook Player** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Force.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Force.md index 42689d6ddca..538e0d27534 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Force.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Force.md @@ -1,4 +1,4 @@ -# Force +# Force Block Menu Path : **Force > Force** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Gravity.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Gravity.md index 32fc1fc7c36..b839d087a18 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Gravity.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Gravity.md @@ -1,4 +1,4 @@ -# Gravity +# Gravity Block Menu Path : **Force >** **Gravity** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-IncrementStripIndexOnStart.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-IncrementStripIndexOnStart.md index be25f156579..ee54a260f42 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-IncrementStripIndexOnStart.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-IncrementStripIndexOnStart.md @@ -1,6 +1,6 @@ -# Increment Strip Index On Start +# Increment Strip Index On Start Block -Menu Path: **Spawn > Custom > Increment Strip Index On Start** +Menu Path: **Spawn** > **Custom** > **Increment Strip Index On Start** The **Increment Strip Index On Start** Block helps to manage the initialization of Particle Strips. A Particle Strip comprises of linked groups of particles and the amount of these groups is defined by the strip's stripIndex attribute. Each particle with the same stripIndex attribute will a be part of the same strip, incrementing the stripIndex will create a new strip. This Block increments the Particle Strip's stripIndex attribute (unsigned integer) each time the start event of the Spawn Context triggers. This adds a new linked group of particles to the Particle Strip. @@ -12,7 +12,7 @@ The stripIndex attribute returns to zero when a stop event triggers or if stripI This Block is compatible with the following Contexts: -- [Spawn](Context-Spawn.md) +- [Spawn Context](Context-Spawn.md) ## Block properties diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-KillShape.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-KillShape.md index 5cd2cce008f..8cdd11fc210 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-KillShape.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-KillShape.md @@ -11,8 +11,8 @@ If you change the **Behavior** property of the block, the Block changes to the f You can add the Kill Shape Block to the following Contexts: -- [Initialize](Context-Initialize.md) -- [Update](Context-Update.md) +- [Initialize Particle Context](Context-Initialize.md) +- [Update Particle Context](Context-Update.md) To add a Kill Shape Block to your graph, open the graph element menu as described in [Adding graph elements](VisualEffectGraphWindow.md#adding-graph-elements) then select **Collision** > **Kill Shape**. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-LinearDrag.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-LinearDrag.md index 0b78ec9a6ba..8063ac42bd9 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-LinearDrag.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-LinearDrag.md @@ -1,4 +1,4 @@ -# Linear Drag +# Linear Drag Block Menu Path : **Force >** **Linear Drag** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Orient.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Orient.md index eeb3c2e5af1..d4aeaa0b7e5 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Orient.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Orient.md @@ -1,4 +1,4 @@ -# Orient: Face [Mode] +# Orient: Face [Mode] Block Menu Path : **Orientation > Orient: Face [Mode]** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-ScreenSpaceSize.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-ScreenSpaceSize.md index c1814621994..d48feb3167c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-ScreenSpaceSize.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-ScreenSpaceSize.md @@ -1,6 +1,6 @@ -# Screen Space Size +# Screen Space Size Block -Menu Path : **Output > Screen Space Size** +Menu Path : **Output** > **Screen Space Size** The **Screen Space Size** Block calculates the scaleXYZ property of each particle to reach a size relative to the pixel size or screen size. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttribute.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttribute.md index 61457c510f0..32e45bb2b12 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttribute.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttribute.md @@ -1,4 +1,4 @@ -# Set Attribute +# Set Attribute Block Menu Path : **Attribute > Set > [Add/Blend/Inherit/Multiply/Set] \ ** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttributeFromCurve.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttributeFromCurve.md index f7b75f987d2..8eb8a62251e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttributeFromCurve.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttributeFromCurve.md @@ -1,6 +1,6 @@ -# Set Attribute from Curve/Gradient +# Set Attribute from Curve/Gradient Block -Menu Path : **Attribute > Curve > [Add/Set] \ \** +Menu Path : **Attribute** > **Curve** > **[Add/Set] \ \** The **Set Attribute from Curve/Gradient** Block is a generic Block that allows you to write values to an attribute, based on a sample from an **Animation Curve** or **Gradient**, using composition. This Block can use various sampling modes to do this. The sampling modes are: diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttributeFromMap.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttributeFromMap.md index e7ac52f8aea..9994e337f53 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttributeFromMap.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetAttributeFromMap.md @@ -1,4 +1,4 @@ -# Set Attribute from Map +# Set Attribute from Map Block Menu Path : **Attribute > Set \ From Map** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Depth).md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Depth).md index 3149ded3a64..5c9955d7e19 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Depth).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Depth).md @@ -1,6 +1,6 @@ -# Set Position (Depth) +# Set Position (Depth) Block -Menu Path : **Position > Set Position (Depth)** +Menu Path : **Position** > **Set Position (Depth)** The **Set Position (Depth)** Block calculates a position based on a Camera and its depth buffer then stores the position to the [position attribute](Reference-Attributes.md). diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Mesh).md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Mesh).md index 429313d6d91..97f3d0479b3 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Mesh).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Mesh).md @@ -1,6 +1,6 @@ -# Set Position (Mesh) +# Set Position (Mesh) Block -Menu Path: **Position > Set Position (Mesh)** +Menu Path: **Position** > **Set Position (Mesh)** Use the **Set Position (Mesh)** Block to set particle positions based on the shape of a mesh. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Sequential).md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Sequential).md index c6f18065d05..aef7842c11d 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Sequential).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(Sequential).md @@ -1,6 +1,6 @@ -# Set Position (Sequential) +# Set Position (Sequential) Block -Menu Path : **Position > Set Position (Sequential : \)** +Menu Path : **Position** > **Set Position (Sequential : \)** The **Set Position (Sequential)** Block calculates a position based on arithmetic sequences and stores the result in the **position** attribute. Optionally, it can also calculate a position based on an offset index in the sequence and store the result in the **targetPosition** attribute. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(SkinnedMesh).md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(SkinnedMesh).md index e4e1aa3343c..321ba1b03dc 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(SkinnedMesh).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPosition(SkinnedMesh).md @@ -1,6 +1,6 @@ -# Set Position (Skinned Mesh) +# Set Position (Skinned Mesh) Block -Menu Path: **Position > Set Position (Skinned Mesh)** +Menu Path: **Position** > **Set Position (Skinned Mesh)** Use the **Set Position (Skinned Mesh)** Block to set particle positions based on the shape of a Skinned Mesh Renderer component. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPositionShape-LandingPage.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPositionShape-LandingPage.md index 19d30f13129..700ec5056c8 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPositionShape-LandingPage.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPositionShape-LandingPage.md @@ -4,12 +4,12 @@ Configure particle positions based on an input. | **Page** | **Description** | |-|-| -| [Set Position (Depth)](Block-SetPosition(Depth).md) | Explore the properties of the Set Position (Depth) block. | -| [Set Position (Mesh)](Block-SetPosition(Mesh).md) | Explore the properties of the Set Position (Mesh) block. | -| [Set Position (Skinned Mesh)](Block-SetPosition(SkinnedMesh).md) | Explore the properties of the Set Position (Skinned Mesh) block. | -| [Set Position Shape Block reference](Block-SetPositionShape.md) | Explore the properties of the Set Position Shape block. | -| [Set Position (Sequential)](Block-SetPosition(Sequential).md) | Explore the properties of the Set Position (Sequential) block. | -| [Tile/Warp Positions](Block-TileWarpPositions.md) | Explore the properties of the Tile/Warp Positions block. | +| [Set Position (Depth) Block](Block-SetPosition(Depth).md) | Explore the properties of the Set Position (Depth) block. | +| [Set Position (Mesh) Block](Block-SetPosition(Mesh).md) | Explore the properties of the Set Position (Mesh) block. | +| [Set Position (Skinned Mesh) Block](Block-SetPosition(SkinnedMesh).md) | Explore the properties of the Set Position (Skinned Mesh) block. | +| [Set Position Shape Block reference Block](Block-SetPositionShape.md) | Explore the properties of the Set Position Shape block. | +| [Set Position (Sequential) Block](Block-SetPosition(Sequential).md) | Explore the properties of the Set Position (Sequential) block. | +| [Tile/Warp Positions Block](Block-TileWarpPositions.md) | Explore the properties of the Tile/Warp Positions block. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPositionShape.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPositionShape.md index 840d471e2b9..2ab560f691e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPositionShape.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetPositionShape.md @@ -1,4 +1,4 @@ -# Set Position Shape Block reference +# Set Position Shape Block The Set Position Shape Block calculates particle positions based on an input shape, then stores them in the [position attribute](Reference-Attributes.md) of particles. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetSpawnEvent.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetSpawnEvent.md index fc18d739443..7aec3c096b4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetSpawnEvent.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetSpawnEvent.md @@ -1,6 +1,6 @@ -# Set SpawnEvent \ +# Set SpawnEvent Block -Menu Path: **Spawn > Set SpawnEvent \** +Menu Path: **Spawn** > **Set SpawnEvent \** The **Set SpawnEvent** Block modifies the content of attributes stored in the Context [event attribute](https://docs.unity3d.com/2019.3/Documentation/ScriptReference/VFX.VFXSpawnerState-vfxEventAttribute.html). @@ -8,7 +8,7 @@ The **Set SpawnEvent** Block modifies the content of attributes stored in the Co This Block is compatible with the following Contexts: -- [Spawn](Context-Spawn.md) +- [Spawn Context](Context-Spawn.md) ## Block settings diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetSpawnTime.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetSpawnTime.md index 5390a751f96..74acfc7ecba 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetSpawnTime.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SetSpawnTime.md @@ -1,6 +1,6 @@ -# Set Spawn Time +# Set Spawn Time Block -Menu Path: **Spawn > Custom > Set Spawn Time** +Menu Path: **Spawn** > **Custom** > **Set Spawn Time** The **Set Spawn Time** Block allows following Initialize Contexts to use the time since the spawn Context’s last play event (see [totalTime](https://docs.unity3d.com/2019.3/Documentation/ScriptReference/VFX.VFXSpawnerState-totalTime.html)). @@ -12,7 +12,7 @@ In this example, the left system uses source spawnTime, which resets for each st This Block is compatible with the following Contexts: -- [Spawn](Context-Spawn.md) +- [Spawn Context](Context-Spawn.md) ## Remarks diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SpawnOverDistance.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SpawnOverDistance.md index eb1105b5257..03632cc83c2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SpawnOverDistance.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SpawnOverDistance.md @@ -1,6 +1,6 @@ -# Spawn Over Distance +# Spawn Over Distance Block -Menu Path: **Spawn > Custom > Spawn Over Distance** +Menu Path: **Spawn** > **Custom** > **Spawn Over Distance** The **Spawn Over Distance** Block calculates the displacement of a position relative to the previous frame's value. Depending on this size of the displacement and the **Rate Per Unit** property, the system spawns a particle. @@ -10,7 +10,7 @@ The **Spawn Over Distance** Block calculates the displacement of a position rela This Block is compatible with the following Contexts: -- [Spawn](Context-Spawn.md) +- [Spawn Context](Context-Spawn.md) ## Block properties diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SubpixelAntiAliasing.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SubpixelAntiAliasing.md index 260fd474932..83bce0fdc79 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-SubpixelAntiAliasing.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-SubpixelAntiAliasing.md @@ -1,4 +1,4 @@ -# Subpixel Anti-Aliasing +# Subpixel Anti-Aliasing Block Menu Path : **Output > Subpixel Anti-Aliasing** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-TileWarpPositions.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-TileWarpPositions.md index 5b40d6239c2..b593a1bd49f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-TileWarpPositions.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-TileWarpPositions.md @@ -1,4 +1,4 @@ -# Tile/Warp Positions +# Tile/Warp Positions Block Menu Path : **Position > Tile Warp Positions** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-TriggerShape.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-TriggerShape.md index 5eaf5600069..1c1b263e24c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-TriggerShape.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-TriggerShape.md @@ -11,8 +11,8 @@ If you change the **Behavior** property of the block, the Block changes to the f You can add the Trigger Shape Block to the following Contexts: -- [Initialize](Context-Initialize.md) -- [Update](Context-Update.md) +- [Initialize Particle Context](Context-Initialize.md) +- [Update Particle Context](Context-Update.md) To add a Trigger Shape Block to your graph, [open the menu for adding a graph element](VisualEffectGraphWindow.md#adding-graph-elements) then select **Collision** > **Trigger Shape**. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Turbulence.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Turbulence.md index 2b71b04d6e0..d33b6a7363b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-Turbulence.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-Turbulence.md @@ -1,4 +1,4 @@ -# Turbulence +# Turbulence Block Menu Path : **Force > Turbulence** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-UpdatePosition.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-UpdatePosition.md index 9df34d3868a..23998acb0d4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-UpdatePosition.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-UpdatePosition.md @@ -1,4 +1,4 @@ -# Integration : Update Position +# Integration : Update Position Block Menu Path : **Implicit > Integration : Update Position** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-UpdateRotation.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-UpdateRotation.md index 2a0a325b8a1..966fdecf9fb 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-UpdateRotation.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-UpdateRotation.md @@ -1,4 +1,4 @@ -# Integration : Update Rotation +# Integration : Update Rotation Block Menu Path : **Implicit > Integration : Update Rotation** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VariableRate.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VariableRate.md index 2178020986d..70d9691b4eb 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VariableRate.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VariableRate.md @@ -1,4 +1,4 @@ -# Variable Rate +# Variable Rate Block Menu Path : **Spawn > Variable Rate** @@ -8,7 +8,7 @@ The Variable Rate Block uses a more advanced approach than the [Constant Rate Bl This Block is compatible with the following Contexts: -- [Spawn](Context-Spawn.md) +- [Spawn Context](Context-Spawn.md) ## Block properties diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VectorForceField.md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VectorForceField.md index 3179608c24c..0b5e0f4f3e2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VectorForceField.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VectorForceField.md @@ -1,6 +1,6 @@ -# Vector Field Force +# Vector Field Force Block -Menu Path : **Force > Vector Field Force** +Menu Path : **Force** > **Vector Field Force** The **Vector Field Force** Block uses [vector fields](VectorFields.md) to apply a force to the particles. This Block is useful for adding specific forces created in advance and stored in vector field assets. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(ChangeSpeed).md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(ChangeSpeed).md index 002435e2cb9..9bde4428756 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(ChangeSpeed).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(ChangeSpeed).md @@ -1,4 +1,4 @@ -# Velocity from Direction & Speed (Change Speed) +# Velocity from Direction & Speed (Change Speed) Block > [!IMPORTANT] > This feature is experimental. To use this feature, open the **Preferences** window, go to the **Visual Effects** tab, and enable **Experimental Operators/Blocks**. @@ -14,8 +14,8 @@ To do this, it scales the direction vector by a speed, and composes it with the This Block is compatible with the following Contexts: -- [Initialize](Context-Initialize.md) -- [Update](Context-Update.md) +- [Initialize Context](Context-Initialize.md) +- [Update Context](Context-Update.md) ## Block settings diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(NewDirection).md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(NewDirection).md index fc6836a7f59..aab1c3ba095 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(NewDirection).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(NewDirection).md @@ -1,4 +1,4 @@ -# Velocity from Direction & Speed (New Direction) +# Velocity from Direction & Speed (New Direction) Block > [!IMPORTANT] > This feature is experimental. To use this feature, open the **Preferences** window, go to the **Visual Effects** tab, and enable **Experimental Operators/Blocks**. @@ -15,8 +15,8 @@ The Block then scales the final direction vector by a speed, and composes it wit This Block is compatible with the following Contexts: -- [Initialize](Context-Initialize.md) -- [Update](Context-Update.md) +- [Initialize Context](Context-Initialize.md) +- [Update Context](Context-Update.md) ## Block settings diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(RandomDirection).md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(RandomDirection).md index 888adb88050..ac2c0982380 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(RandomDirection).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(RandomDirection).md @@ -1,4 +1,4 @@ -# Velocity from Direction & Speed (Random Direction) +# Velocity from Direction & Speed (Random Direction) Block > [!IMPORTANT] > This feature is experimental. To use this feature, open the **Preferences** window, go to the **Visual Effects** tab, and enable **Experimental Operators/Blocks**. @@ -15,8 +15,8 @@ The Block then scales the final direction vector by a speed, and composes it wit This Block is compatible with the following Contexts: -- [Initialize](Context-Initialize.md) -- [Update](Context-Update.md) +- [Initialize Context](Context-Initialize.md) +- [Update Context](Context-Update.md) ## Block settings diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(Tangent).md b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(Tangent).md index 75b5cddfc4d..bef3184ddc8 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(Tangent).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Block-VelocityFromDirectionAndSpeed(Tangent).md @@ -1,4 +1,4 @@ -# Velocity from Direction & Speed (Tangent) +# Velocity from Direction & Speed (Tangent) Block > [!IMPORTANT] > This feature is experimental. To use this feature, open the **Preferences** window, go to the **Visual Effects** tab, and enable **Experimental Operators/Blocks**. @@ -17,8 +17,8 @@ The Block then scales the final direction vector by a speed, and composes it wit This Block is compatible with the following Contexts: -- [Initialize](Context-Initialize.md) -- [Update](Context-Update.md) +- [Initialize Context](Context-Initialize.md) +- [Update Context](Context-Update.md) ## Block settings diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Builtin.md b/Packages/com.unity.visualeffectgraph/Documentation~/Builtin.md index 08fa076d23e..0bdfab421a4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Builtin.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Builtin.md @@ -4,12 +4,12 @@ Operators that output time, frame indices, and coordinates. | **Page** | **Description** | | --- | --- | -| [Delta Time](Operator-DeltaTime.md) | Get the time in seconds between the current and previous frames. | -| [Frame Index](Operator-FrameIndex.md) | Get the current frame index. | -| [Local to World](Operator-LocalToWorld.md) | Get a matrix that transforms a point from local space to world space. | -| [System Seed](Operator-SystemSeed.md) | Get the seed used to generate random numbers. | -| [Total Time](Operator-TotalTime.md) | Get the total time since the effect started. | -| [World to Local](Operator-WorldToLocal.md) | Get a matrix that transforms a point from world space to local space. | +| [Delta Time Operator](Operator-DeltaTime.md) | Get the time in seconds between the current and previous frames. | +| [Frame Index Operator](Operator-FrameIndex.md) | Get the current frame index. | +| [Local to World Operator](Operator-LocalToWorld.md) | Get a matrix that transforms a point from local space to world space. | +| [System Seed Operator](Operator-SystemSeed.md) | Get the seed used to generate random numbers. | +| [Total Time Operator](Operator-TotalTime.md) | Get the total time since the effect started. | +| [World to Local Operator](Operator-WorldToLocal.md) | Get a matrix that transforms a point from world space to local space. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Camera.md b/Packages/com.unity.visualeffectgraph/Documentation~/Camera.md index 82d266352db..3e98f9801c8 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Camera.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Camera.md @@ -4,12 +4,12 @@ Output information about cameras, and convert between view space and world space | **Page** | **Description** | | --- | --- | -| [Main Camera](Operator-MainCamera.md) | Get information about the current main camera, including integration with the active Scriptable Render Pipeline. | -| [Viewport to World Point](Operator-ViewportToWorldPoint.md) | Transform a position from viewport space to world space | -| [World to Viewport Point](Operator-WorldToViewportPoint.md) | Transform a position from world space to view space. | +| [Main Camera Operator](Operator-MainCamera.md) | Get information about the current main camera, including integration with the active Scriptable Render Pipeline. | +| [Viewport To World Point Operator](Operator-ViewportToWorldPoint.md) | Transform a position from viewport space to world space | +| [World To Viewport Point Operator](Operator-WorldToViewportPoint.md) | Transform a position from world space to view space. | ## Additional resources -- [Coordinates](Coordinates.md) -- [Geometry](Geometry.md) +- [Coordinates Operator](Coordinates.md) +- [Geometry Operators](Geometry.md) - [Built-in Operators](Builtin.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Clamp.md b/Packages/com.unity.visualeffectgraph/Documentation~/Clamp.md index 61dc923b2bc..9821c376f17 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Clamp.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Clamp.md @@ -4,11 +4,11 @@ Clamp, round, or limit values. | **Page** | **Description** | | --- | --- | -| [Ceiling](Operator-Ceiling.md) | Round an input up to the nearest integer. | -| [Clamp](Operator-Clamp.md) | Limit an input value between a lower and upper bound for each axis. | -| [Discretize](Operator-Discretize.md) | Get the multiple of an input that's closest to a second input. | -| [Floor](Operator-Floor.md) | Round an input value down to the nearest integer. | -| [Maximum](Operator-Maximum.md) | Get the largest value from all input values. | -| [Minimum](Operator-Minimum.md) | Get the smallest value from all input values. | -| [Round](Operator-Round.md) | Round an input value to the nearest integer. | -| [Saturate](Operator-Saturate.md) | Clamp a value between 0 and 1. | +| [Ceiling Operator](Operator-Ceiling.md) | Round an input up to the nearest integer. | +| [Clamp Operator](Operator-Clamp.md) | Limit an input value between a lower and upper bound for each axis. | +| [Discretize Operator](Operator-Discretize.md) | Get the multiple of an input that's closest to a second input. | +| [Floor Operator](Operator-Floor.md) | Round an input value down to the nearest integer. | +| [Maximum Operator](Operator-Maximum.md) | Get the largest value from all input values. | +| [Minimum Operator](Operator-Minimum.md) | Get the smallest value from all input values. | +| [Round Operator](Operator-Round.md) | Round an input value to the nearest integer. | +| [Saturate Operator](Operator-Saturate.md) | Clamp a value between 0 and 1. | diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Color.md b/Packages/com.unity.visualeffectgraph/Documentation~/Color.md index 37b072347b6..495385c2d9d 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Color.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Color.md @@ -4,15 +4,15 @@ Output and convert color values. | **Page** | **Description** | | --- | --- | -| [Color Luma](Operator-ColorLuma.md) | Get the perceived brightness of an input color. | -| [HSV to RGB](Operator-HSVToRGB.md) | Convert hue, saturation, value (HSV) color values to red, green, blue (RGB) color values. | -| [RGB to HSV](Operator-RGBToHSV.md) | Convert red, green, blue (RGB) color values to hue, saturation, value (HSV) color values. | +| [Color Luma Operator](Operator-ColorLuma.md) | Get the perceived brightness of an input color. | +| [HSV to RGB Operator](Operator-HSVToRGB.md) | Convert hue, saturation, value (HSV) color values to red, green, blue (RGB) color values. | +| [RGB to HSV Operator](Operator-RGBToHSV.md) | Convert red, green, blue (RGB) color values to hue, saturation, value (HSV) color values. | ## Additional resources -- [Color](Operator-InlineColor.md) -- [Sample Gradient](Operator-SampleGradient.md) -- [Saturate](Operator-Saturate.md) +- [Color Operator](Operator-InlineColor.md) +- [Sample Gradient Operator](Operator-SampleGradient.md) +- [Saturate Operator](Operator-Saturate.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Constants.md b/Packages/com.unity.visualeffectgraph/Documentation~/Constants.md index 0d4369f97f4..aa360cdb7ac 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Constants.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Constants.md @@ -4,8 +4,8 @@ Get mathematical constants. | **Page** | **Description** | | --- | --- | -| [Epsilon (ε)](Operator-Epsilon.md) | Get a tiny value that you can use to avoid precision issues when you compare float values. | -| [Pi (π)](Operator-Pi.md) | Get the ratio of a circle's circumference to its diameter. | +| [Epsilon (ε) Operator](Operator-Epsilon.md) | Get a tiny value that you can use to avoid precision issues when you compare float values. | +| [Pi (π) Operator](Operator-Pi.md) | Get the ratio of a circle's circumference to its diameter. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-Common-LandingPage.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Common-LandingPage.md new file mode 100644 index 00000000000..08bec00f883 --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Common-LandingPage.md @@ -0,0 +1,16 @@ +# Common Contexts reference + +Explore the core Contexts you use to build the spawn-to-render lifecycle of a particle system. + +| **Page** | **Description** | +| --- | --- | +| [Initialize Particle Context](Context-Initialize.md) | Process an event and initialize new particle elements. | +| [Spawn Context](Context-Spawn.md) | Control the spawn rate of particles, or create a custom spawning behavior. | +| [Update Particle Context](Context-Update.md) | Manage the behavior of particles or particle strips from an Initialize Context. | + +**Note**: The **Initialize Particle Strip** menu entry also opens the [Initialize Particle Context](Context-Initialize.md) page. Set its **Data Type** setting to **Particle Strip** to initialize particle strips instead of particles. + +## Additional resources + +- [Contexts](Contexts.md) +- [Blocks](Blocks.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-Event-LandingPage.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Event-LandingPage.md new file mode 100644 index 00000000000..2ce7773972a --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Event-LandingPage.md @@ -0,0 +1,14 @@ +# Event Contexts reference + +Explore the Contexts you use to trigger and manage the events that start a graph's workflows. + +| **Page** | **Description** | +| --- | --- | +| [Event Context](Context-Event.md) | Define names for events that trigger actions in a graph. | +| [GPU Event Context](Context-GPUEvent.md) | Spawn new particles from specific Blocks in Update or Initialize Contexts. | +| [Output Event Context](Context-OutputEvent.md) | Outputs a CPU Spawn Event back to the Visual Effect component. For information on consuming these events, refer to [Output Event Handlers](OutputEventHandlers.md). | + +## Additional resources + +- [Contexts](Contexts.md) +- [Sending Events](ComponentAPI.md#sending-events) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-Event.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Event.md index 44ca39bf6b2..affcb04579f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-Event.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Event.md @@ -1,4 +1,4 @@ -# Event +# Event Context Menu Path : **Context > Event** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-GPUEvent.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-GPUEvent.md index c33f8b4e181..a2ff40ab19c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-GPUEvent.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-GPUEvent.md @@ -1,6 +1,6 @@ -
Experimental: This feature is currently experimental and is subject to change in later major versions. To use this feature, enable Experimental Operators/Blocks in the Visual Effects tab of your Project's Preferences.
+# GPU Event Context -# GPU Event +
Experimental: This feature is currently experimental and is subject to change in later major versions. To use this feature, enable Experimental Operators/Blocks in the Visual Effects tab of your Project's Preferences.
Menu Path : **Context > GPUEvent** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-Initialize.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Initialize.md index a3f60e88348..5daa310a3f3 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-Initialize.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Initialize.md @@ -1,4 +1,4 @@ -# Initialize +# Initialize Particle Context Menu Path : **Context > Initialize Particle** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputAdvanced-LandingPage.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputAdvanced-LandingPage.md new file mode 100644 index 00000000000..50a62397a5d --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputAdvanced-LandingPage.md @@ -0,0 +1,15 @@ +# Output Advanced Contexts reference + +Explore specialized Contexts for advanced particle rendering, such as decals and volumetric effects. + +| **Page** | **Description** | +| --- | --- | +| [Output Distortion Context](Context-OutputDistortion.md) | In HDRP, use distortion to simulate effects like heat haze from fire. Covers the **Output Particle Distortion Mesh** variant. | +| [Output Particle HDRP Lit Decal Context](Context-OutputParticleHDRPLitDecal.md) | Use a decal to render a particle system in the High Definition Render Pipeline (HDRP). | +| [Output Particle HDRP Volumetric Fog Context](Context-OutputParticleHDRPVolumetricFog.md) | Convert particles into a volumetric fog effect in HDRP, to create dynamic fog effects. | +| [Output Particle URP Lit Decal Context](Context-OutputParticleURPLitDecal.md) | Use a decal to render a particle system in the Universal Render Pipeline (URP). | + +## Additional resources + +- [Contexts](Contexts.md) +- [Shared output settings Context](SharedOutputSettings.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputBasic-LandingPage.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputBasic-LandingPage.md new file mode 100644 index 00000000000..407ff867ebc --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputBasic-LandingPage.md @@ -0,0 +1,17 @@ +# Output Basic Contexts reference + +Explore the most commonly used Contexts for rendering particles. + +| **Page** | **Description** | +| --- | --- | +| [Output Particle Mesh Context](Context-OutputParticleMesh.md) | Render particles as meshes. | +| [Output Particle Primitive Context](Context-OutputPrimitive.md) | Render particles as lit quads, triangles, or octagons. | +| [Output Particle ShaderGraph Mesh Context](Context-OutputShaderGraphMesh.md) | Render particles as a custom Shader Graph mesh. | +| [Output ShaderGraph Quad Context](Context-OutputShaderGraphPlanarPrimitive.md) | Render particles as a custom Shader Graph quad. | + +**Note**: Each of these Contexts covers both its Unlit variant and, on render pipelines that support it (URP, HDRP), its [Lit](Context-OutputLitSettings.md) variant. + +## Additional resources + +- [Contexts](Contexts.md) +- [Shared output settings Context](SharedOutputSettings.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputDistortion.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputDistortion.md index da3043839db..d08360f307c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputDistortion.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputDistortion.md @@ -1,4 +1,4 @@ -# Output Distortion +# Output Distortion Context Menu Path : **Context > Output [Strip/Particle] Distortion [Quad/Mesh]** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputEvent.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputEvent.md new file mode 100644 index 00000000000..03a75830bda --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputEvent.md @@ -0,0 +1,21 @@ +# Output Event Context + +Menu Path: **Context** > **Output Event** + +The **Output Event** Context sends a CPU Spawn Event back to the Visual Effect component whenever one or more connected [Spawn](Context-Spawn.md) Contexts trigger it. Unlike other Output Contexts, it doesn't render particles. Use it to run script logic in response to a graph event, such as spawning a prefab, playing a sound, or applying a physics impulse. + +To consume Output Events in a script, use an [Output Event Handler](OutputEventHandlers.md). + +This Context doesn't support Blocks. To attach Attributes to the event it sends, add [Set SpawnEvent \](Block-SetSpawnEvent.md) Blocks to the Spawn Contexts connected to it. + +## Context settings + +| **Setting** | **Type** | **Description** | +| -------------- | -------- | ------------------------------------------------------------ | +| **Event Name** | String | The name of the event this Context sends to the Visual Effect component. The default value is **On Received Event**. | + +## Flow + +| **Port** | **Description** | +| --------- | -------------------------------------------------------------------- | +| **Input** | Connection from one or more [Spawn](Context-Spawn.md) Contexts. | diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputForwardDecal.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputForwardDecal.md index 85b35a42efe..59a0df5147e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputForwardDecal.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputForwardDecal.md @@ -1,6 +1,6 @@ -# Output Particle Forward Decal +# Output Particle Forward Decal Context -Menu Path : **Context > Output Particle Forward Decal** +Menu Path : **Context** > **Output Particle Forward Decal** The **Output Particle Forward Decal** Context renders a particle system using a decal. A decal is a box into which the Visual Effect Graph projects a texture. Unity then renders the texture on any intersecting geometry along its xy plane. This means decal particles that don’t intersect any geometry are not visible. Note that although they are not visible, they still contribute to the resource intensity required to simulate and render the system. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputLine.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputLine.md index 45463aec405..cce74bb399c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputLine.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputLine.md @@ -1,6 +1,6 @@ -# Output Particle Line +# Output Particle Line Context -Menu Path : **Context > Output Particle Line** +Menu Path : **Context** > **Output Particle Line** This **Output Particle Line** Context uses lines to render a particle system. Lines are defined by two end-points and are always a single pixel width regardless of the distance of the particle to the camera or the particle's size and scale attributes. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputLitSettings.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputLitSettings.md index 555f74e4e55..26a413902ad 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputLitSettings.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputLitSettings.md @@ -1,4 +1,4 @@ -# Lit Output Settings +# Lit Output Settings Context Menu Path : **Context > Output [Data Type] Lit [Type]** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputMesh.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputMesh.md index b09a8a66174..0eea688287f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputMesh.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputMesh.md @@ -1,4 +1,4 @@ -# Output Mesh +# Output Mesh Context Menu Path : **Context > Output Mesh** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleHDRPLitDecal.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleHDRPLitDecal.md index 401e40b06df..2f7b37cdc5e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleHDRPLitDecal.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleHDRPLitDecal.md @@ -1,4 +1,4 @@ -# Output Particle HDRP Lit Decal +# Output Particle HDRP Lit Decal Context The **Output Particle HDRP Lit Decal** Context uses a decal to render a particle system. A decal is a box that the Visual Effect Graph projects a texture into. Unity renders that texture on any geometry that intersects the decal along its xy plane. This means decal particles that don’t intersect any geometry are not visible. When a decal is not visible, it still contributes to the resource intensity required to simulate and render the system. @@ -18,7 +18,7 @@ The particles project their properties along their positive Z-axis. Below is a list of settings and properties specific to the Output Particle HDRP Lit Decal Context. For information about the generic output settings this Context shares with all other Contexts, see [Output Lit Settings and Properties](Context-OutputLitSettings.md). -# Context Settings +## Context Settings | **Input** | **Type** | **Description** | |------------------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| @@ -32,7 +32,7 @@ Below is a list of settings and properties specific to the Output Particle HDRP -# Context Properties +## Context Properties | **Input** | **Type** | **Description** | |-----------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| @@ -43,7 +43,7 @@ Below is a list of settings and properties specific to the Output Particle HDRP -# Limitations +## Limitations - This Output does not support Shader Graph. - For this Context to work, enable Decals in the HDRP Asset and in the HDRP Settings. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleHDRPVolumetricFog.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleHDRPVolumetricFog.md index 8973887a3f3..b25e691b49a 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleHDRPVolumetricFog.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleHDRPVolumetricFog.md @@ -1,4 +1,4 @@ -# Output Particle HDRP Volumetric Fog +# Output Particle HDRP Volumetric Fog Context The **Output Particle HDRP Volumetric Fog** Context allows for the injection of fog directly into HDRP's volumetric lighting system, resulting in dynamic fog effects created with the VFX graph simulation. @@ -10,7 +10,7 @@ The particle color controls the color of the fog, and the particle alpha control Menu Path : **Context > Output Particle HDRP Volumetric Fog** -# Context Settings +## Context Settings | **Input** | **Type** | **Description** | |------------------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| @@ -20,7 +20,7 @@ Menu Path : **Context > Output Particle HDRP Volumetric Fog** | **Use Distance Fading** | Bool | Exposes two ports to control the particle fading. Distance fade consists of a Start and End distance, where the particle alpha is interpolated to 0 (that is, when the particle center distance from the camera equals **Distance Fade Start** the alpha is multiplied by 1, and when the distance reaches **Distance Fade End** it is multiplied by 0). Distance Fading can help prevent small fog particles from flickering. | -# Context Properties +## Context Properties | **Input** | **Type** | **Description** | |-----------------------|----------|-------------------| @@ -33,7 +33,7 @@ Menu Path : **Context > Output Particle HDRP Volumetric Fog** | **Distance Fade End** | Float | Determines the distance from the camera to the particle center where the particle ends fading. | -# Limitations +## Limitations - This Output does not support [Shader Graph](https://docs.unity3d.com/Packages/com.unity.shadergraph@latest). - For this Context to work, enable Volumetric Fog in the HDRP Asset and in the HDRP Global Settings. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleMesh.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleMesh.md index acc4222386a..5e44c2522ac 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleMesh.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleMesh.md @@ -1,4 +1,4 @@ -# Output Particle Mesh +# Output Particle Mesh Context Menu Path : **Context > Output Particle Mesh** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleURPLitDecal.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleURPLitDecal.md index 5e6e772735b..33f90f00acf 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleURPLitDecal.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputParticleURPLitDecal.md @@ -1,4 +1,4 @@ -# Output Particle URP Lit Decal +# Output Particle URP Lit Decal Context The **Output Particle URP Lit Decal** Context uses a decal to render a particle system. A decal is a box that the Visual Effect Graph projects a texture into. Unity renders that texture on any geometry that intersects the decal along its xy plane. This means decal particles that don’t intersect any geometry are not visible. When a decal is not visible, it still contributes to the resource intensity required to simulate and render the system. @@ -21,7 +21,7 @@ The particles project their properties along their positive Z-axis. Below is a list of settings and properties specific to the Output Particle URP Lit Decal Context. For information about the generic output settings this Context shares with all other Contexts, see [Output Lit Settings and Properties](Context-OutputLitSettings.md). -# Context Settings +## Context Settings | **Input** | **Type** | **Description** | | -------------------------- | -------- | ------------------------------------------------------------ | @@ -39,7 +39,7 @@ Below is a list of settings and properties specific to the Output Particle URP L -# Context Properties +## Context Properties | **Input** | **Type** | **Description** | | --------------------- | -------- | ------------------------------------------------------------ | @@ -50,7 +50,7 @@ Below is a list of settings and properties specific to the Output Particle URP L -# Limitations +## Limitations - This Output does not support Shader Graph. - For this Context to work, add the[ Decal Renderer Feature](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest?subfolder=/manual/renderer-feature-decal.html) to your Renderer. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputPoint.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputPoint.md index 3616c9325b5..3616972a8e4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputPoint.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputPoint.md @@ -1,5 +1,5 @@ -# Output Particle Point -Menu Path : **Context > Output Particle Point** +# Output Particle Point Context +Menu Path : **Context** > **Output Particle Point** The **Output Particle Point** Context uses points to render a particle system. It always draws points as single pixels regardless of the distance of the particle to the camera or each particle's size and scale attributes. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputPrimitive.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputPrimitive.md index 1d45f63c1f6..cee9d1d91ae 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputPrimitive.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputPrimitive.md @@ -1,6 +1,6 @@ -# Output Particle Primitive +# Output Particle Primitive Context -Menu Path : **Context > Output Particle [Primitive]** +Menu Path : **Context** > **Output Particle [Primitive]** *(Output Particle (Lit) Quad, Output Particle (Lit) Triangle, Output Particle (Lit) Octagon)* The Output Particle primitives (quad/triangle/octagon) Context are the most commonly-used output types and are great for a wide range of effects. They come in a regular (unlit) and a [Lit](Context-OutputLitSettings.md) variety (HDRP-only). diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphMesh.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphMesh.md index d17c193fa7e..8cb9d67c05c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphMesh.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphMesh.md @@ -1,4 +1,4 @@ -# Output ShaderGraph Mesh +# Output Particle ShaderGraph Mesh Context Menu Path : **Context > Output Particle ShaderGraph Mesh** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphPlanarPrimitive.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphPlanarPrimitive.md index f963b25a63b..3ac1e37a504 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphPlanarPrimitive.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphPlanarPrimitive.md @@ -1,4 +1,4 @@ -# Output ShaderGraph Quad +# Output ShaderGraph Quad Context Menu Path : **Context > Output Particle ShaderGraph Quad** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphStrip.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphStrip.md index c4e1726e84d..8c9fbf90fae 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphStrip.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputShaderGraphStrip.md @@ -1,6 +1,6 @@ -# Output ShaderGraph Strip +# Output ParticleStrip ShaderGraph Context -Menu Path : **Context > Output Particle ShaderGraph Strip** +Menu Path : **Context** > **Output ParticleStrip ShaderGraph** [!include[](Snippets/Context-OutputShaderGraph-InlineIntro.md)] diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputSharedSettings.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputSharedSettings.md index 922f4e8ac59..6fcdad52ee5 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputSharedSettings.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputSharedSettings.md @@ -1,4 +1,4 @@ -# Shared output settings and properties +# Shared output settings and properties Context All outputs share these settings and property ports. In case of Shader Graph Output, some settings are actually provided by the Shader Graph Asset. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputStrip-LandingPage.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputStrip-LandingPage.md new file mode 100644 index 00000000000..fcc31090cb3 --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputStrip-LandingPage.md @@ -0,0 +1,14 @@ +# Output Strip Contexts reference + +Explore the Contexts you use to render particle strips. + +| **Page** | **Description** | +| --- | --- | +| [Output Distortion Context](Context-OutputDistortion.md) | In the High Definition Render Pipeline (HDRP), use distortion to simulate effects like heat haze from fire. Covers the **Output Strip Distortion Quad** variant. | +| [Output ParticleStrip Quad Context](Context-OutputStripQuad.md) | Render particles as a ribbon of quads, in a regular (unlit) or Lit (HDRP-only) variety. | +| [Output ParticleStrip ShaderGraph Context](Context-OutputShaderGraphStrip.md) | Render particles as a custom Shader Graph strip. | + +## Additional resources + +- [Contexts](Contexts.md) +- [Shared output settings Context](SharedOutputSettings.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputStripQuad.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputStripQuad.md new file mode 100644 index 00000000000..5b38f389bf8 --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-OutputStripQuad.md @@ -0,0 +1,28 @@ +# Output ParticleStrip Quad Context + +Menu Path: **Context** > **Output ParticleStrip [Unlit/HDRP Lit/URP Lit] Quad** + +*(Output ParticleStrip Quad, Output ParticleStrip HDRP Lit Quad, Output ParticleStrip URP Lit Quad)* + +The **Output ParticleStrip Quad** Context renders each particle strip as a continuous ribbon of quads. It comes in a regular (unlit) variety, and a [Lit](Context-OutputLitSettings.md) variety for HDRP and URP. This output is similar to [Output ParticleStrip ShaderGraph](Context-OutputShaderGraphStrip.md), but doesn't use a Shader Graph to define its surface. + +The following table lists the settings and properties specific to the Output ParticleStrip Quad Context. For information about the generic output settings this Context shares with all other Contexts, refer to [Global Output Settings and Properties](Context-OutputSharedSettings.md). + +## Context settings + +| **Setting** | **Type** | **Description** | +| ----------------- | -------- | ------------------------------------------------------------ | +| **Tiling Mode** | Enum | Specifies how the output generates texture coordinates within a strip. The options are:
• **Stretch**: Stretches the mapping along the whole strip.
• **Repeat Per Segment**: Restarts the mapping for every segment of the strip.
• **Custom**: Manually provides the reference texture coordinate. | +| **Swap UV** | Bool | Invert the two channels of texture coordinates. | + +## Context properties + +| **Input** | **Type** | **Description** | +| ------------- | -------- | ------------------------------------------------------------ | +| **Tex Coord** | float | Custom texture coordinate that acts as a reference for each segment of a strip.
This property only appears if you set **Tiling Mode** to **Custom**. | + +## Additional resources + +- [Global Output Settings and Properties](Context-OutputSharedSettings.md) +- [Lit Output Settings Context](Context-OutputLitSettings.md) +- [Output ParticleStrip ShaderGraph Context](Context-OutputShaderGraphStrip.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-Spawn.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Spawn.md index 74aad6e5a91..b676ac8942e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-Spawn.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Spawn.md @@ -1,4 +1,4 @@ -# Spawn +# Spawn Context Menu Path : **Context > Spawn** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context-Update.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Update.md index 15cd95b6d8a..f1e896a950d 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context-Update.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context-Update.md @@ -1,4 +1,4 @@ -# Update +# Update Particle Context Menu Path : **Context > Update Particle** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Context.md b/Packages/com.unity.visualeffectgraph/Documentation~/Context.md index 5af7ddabebc..e5e5ae19b4e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Context.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Context.md @@ -2,27 +2,18 @@ Explore the different [Contexts](Contexts.md) you can add to a graph. -| **Page** | **Description** | +| **Topic** | **Description** | | --- | --- | -| [Event](Context-Event.md) | Define names for events that trigger actions in a graph. | -| [GPU Event](Context-GPUEvent.md) | Spawn new particles from specific Blocks in Update or Initialize Contexts. | -| [Initialize Particle](Context-Initialize.md) | Process an event and initialize new particle elements. | -| [Output Decal](Context-OutputForwardDecal.md) | Render a particle system using a projected decal texture. | -| [Output Distortion](Context-OutputDistortion.md) | In the High Definition Render Pipeline (HDRP), use distortion to simulate effects like heat haze from fire. | -| [Output Line](Context-OutputLine.md) | Render particles as lines. | -| [Output Mesh](Context-OutputMesh.md) | Render a static mesh. | -| [Output Particle HDRP Lit Decal](Context-OutputParticleHDRPLitDecal.md) | Use a decal to render a particle system in HDRP. | -| [Output Particle HDRP Volumetric Fog](Context-OutputParticleHDRPVolumetricFog.md) | Convert particles into a volumetric fog effect in HDRP, to create dynamic fog effects. | -| [Output Particle Mesh](Context-OutputParticleMesh.md) | Render particles as meshes. | -| [Output Particle URP Lit Decal](Context-OutputParticleURPLitDecal.md) | Use a decal to render a particle system in the Universal Render Pipeline (URP). | -| [Output Point](Context-OutputPoint.md) | Render particles as points. | -| [Output Primitive](Context-OutputPrimitive.md) | Render particles as lit quads, triangles, or octagons. | -| [Output ShaderGraph Mesh](Context-OutputShaderGraphMesh.md) | Render particles as a custom Shader Graph mesh. | -| [Output ShaderGraph Quad](Context-OutputShaderGraphPlanarPrimitive.md) | Render particles as a custom Shader Graph quad. | -| [Output ShaderGraph Strip](Context-OutputShaderGraphStrip.md) | Render particles as a custom Shader Graph strip. | -| [Shared output settings](SharedOutputSettings.md) | Explore the settings that appear in all Contexts. | -| [Spawn](Context-Spawn.md) | Control the spawn rate of particles, or create a custom spawning behavior. | -| [Update Particle](Context-Update.md) | Manage the behavior of particles or particle strips from an Initialize Context. | +| [Common Contexts](Context-Common-LandingPage.md) | Explore the core Contexts you use to build the spawn-to-render lifecycle of a particle system. | +| [Event Contexts](Context-Event-LandingPage.md) | Explore the Contexts you use to trigger and manage events. | +| [Output Advanced Contexts](Context-OutputAdvanced-LandingPage.md) | Explore specialized Contexts for advanced particle rendering, such as decals and volumetric effects. | +| [Output Basic Contexts](Context-OutputBasic-LandingPage.md) | Explore the most commonly used Contexts for rendering particles. | +| [Output Strip Contexts](Context-OutputStrip-LandingPage.md) | Explore the Contexts you use to render particle strips. | +| [Output Mesh Context](Context-OutputMesh.md) | Render a static mesh. | +| [Output Particle Forward Decal Context](Context-OutputForwardDecal.md) | Render a particle system using a projected decal texture. | +| [Output Particle Line Context](Context-OutputLine.md) | Render particles as lines. | +| [Output Particle Point Context](Context-OutputPoint.md) | Render particles as points. | +| [Shared output settings Context](SharedOutputSettings.md) | Explore the settings that appear in all Contexts. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Coordinates.md b/Packages/com.unity.visualeffectgraph/Documentation~/Coordinates.md index ea214d4ce8c..22b1372b544 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Coordinates.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Coordinates.md @@ -1,17 +1,17 @@ -# Coordinate Operators +# Coordinates Operators Convert between coordinate systems. | **Page** | **Description** | | --- | --- | -| [Polar to Rectangular](Operator-PolarToRectangular.md) | Convert from polar coordinates to rectangular xy coordinates. | -| [Rectangular to Polar](Operator-RectangularToPolar.md) | Convert from rectangular xy coordinates to polar coordinates. | -| [Rectangular to Spherical](Operator-RectangularToSpherical.md) | Convert from rectangular xyz coordinates to spherical coordinates. | -| [Spherical to Rectangular](Operator-SphericalToRectangular.md) | Convert from spherical coordinates to rectangular XYZ coordinates. | +| [Polar to Rectangular Operator](Operator-PolarToRectangular.md) | Convert from polar coordinates to rectangular xy coordinates. | +| [Rectangular to Polar Operator](Operator-RectangularToPolar.md) | Convert from rectangular xy coordinates to polar coordinates. | +| [Rectangular to Spherical Operator](Operator-RectangularToSpherical.md) | Convert from rectangular xyz coordinates to spherical coordinates. | +| [Spherical to Rectangular Operator](Operator-SphericalToRectangular.md) | Convert from spherical coordinates to rectangular XYZ coordinates. | ## Additional resources -- [Change Space](Operator-ChangeSpace.md) -- [Transform (Position)](Operator-Transform(Position).md) -- [Local to World](Operator-LocalToWorld.md) +- [Change Space Operator](Operator-ChangeSpace.md) +- [Transform (Position) Operator](Operator-Transform(Position).md) +- [Local to World Operator](Operator-LocalToWorld.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/CustomSpawn.md b/Packages/com.unity.visualeffectgraph/Documentation~/CustomSpawn.md index e1d8b3c9c31..771aed45de1 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/CustomSpawn.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/CustomSpawn.md @@ -4,13 +4,13 @@ Customize advanced behavior for spawning particles. | **Page** | **Description** | | --- | --- | -| [Increment Strip Index On Start](Block-IncrementStripIndexOnStart.md) | Create a new group of particles each time the start event of the Spawn Context triggers. | -| [Set Spawn Time](Block-SetSpawnTime.md) | Allow Initialize Contexts to use the time since the previous play event of the Spawn Context. | -| [Spawn Over Distance](Block-SpawnOverDistance.md) | Spawn particles based on the distance moved since the previous frame. | +| [Increment Strip Index On Start Block](Block-IncrementStripIndexOnStart.md) | Create a new group of particles each time the start event of the Spawn Context triggers. | +| [Set Spawn Time Block](Block-SetSpawnTime.md) | Allow Initialize Contexts to use the time since the previous play event of the Spawn Context. | +| [Spawn Over Distance Block](Block-SpawnOverDistance.md) | Spawn particles based on the distance moved since the previous frame. | ## Additional resources -- [Spawn](Context-Spawn.md) +- [Spawn Context](Context-Spawn.md) - [Spawner Callbacks](SpawnerCallbacks.md) - [Events](Events.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Force.md b/Packages/com.unity.visualeffectgraph/Documentation~/Force.md index 1b0ad8f8a6c..55e72016fb1 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Force.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Force.md @@ -4,13 +4,13 @@ Apply and control forces on particles, such as gravity and turbulence. | **Page** | **Description** | | --- | --- | -| [Attractor Shape Signed Distance Field](Block-ConformToSignedDistanceField.md) | Pull particles towards a complex shape. | -| [Attractor Shape Sphere](Block-ConformToSphere.md) | Pull particles towards a sphere. | -| [Force](Block-Force.md) | Apply a force to particles by changing their velocity. | -| [Gravity](Block-Gravity.md) | Apply gravity to particles by changing their velocity. | -| [Linear Drag](Block-LinearDrag.md) | Slow particles down without affecting their direction. | -| [Turbulence](Block-Turbulence.md) | Add natural-looking motion to particles. | -| [Vector Force Field](Block-VectorForceField.md) | Apply specific forces to particles using a vector field. | +| [Attractor Shape Signed Distance Field Block](Block-ConformToSignedDistanceField.md) | Pull particles towards a complex shape. | +| [Attractor Shape Sphere Block](Block-ConformToSphere.md) | Pull particles towards a sphere. | +| [Force Block](Block-Force.md) | Apply a force to particles by changing their velocity. | +| [Gravity Block](Block-Gravity.md) | Apply gravity to particles by changing their velocity. | +| [Linear Drag Block](Block-LinearDrag.md) | Slow particles down without affecting their direction. | +| [Turbulence Block](Block-Turbulence.md) | Add natural-looking motion to particles. | +| [Vector Force Field Block](Block-VectorForceField.md) | Apply specific forces to particles using a vector field. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Geometry.md b/Packages/com.unity.visualeffectgraph/Documentation~/Geometry.md index 8dc84da86b8..78bb1c393ae 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Geometry.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Geometry.md @@ -4,24 +4,24 @@ Perform geometric calculations and transformations. | **Page** | **Description** | | --- | --- | -| [Area (Circle)](Operator-Area(Circle).md) | Calculate the area of a circle. | -| [Change Space](Operator-ChangeSpace.md) | Convert a vector from local space to world space. | -| [Distance (Line)](Operator-Distance(Line).md) | Calculate the distance between a position and the closest point on a line. | -| [Distance (Plane)](Operator-Distance(Plane).md) | Calculate the distance between a position and the closest point on a plane. | -| [Distance (Sphere)](Operator-Distance(Sphere).md) | Calculate the distance between a position and the closest point on a sphere. | -| [InvertTRS (Matrix)](Operator-InvertTRS(Matrix).md) | Invert a matrix that contains translation, rotation, and scaling. | -| [Transform (Direction)](Operator-Transform(Direction).md) | Change the position, rotation, or scale of a direction vector. | -| [Transform (Matrix)](Operator-Transform(Matrix).md) | Change the position, rotation, or scale of a matrix. | -| [Transform (Position)](Operator-Transform(Position).md) | Change the position, rotation, or scale of a position. | -| [Transform (Vector)](Operator-Transform(Vector).md) | Change the position, rotation, or scale of a vector. | -| [Transform (Vector4)](Operator-Transform(Vector4).md) | Change the position, rotation, or scale of a Vector4. | -| [Transpose (Matrix)](Operator-Transpose(Matrix).md) | Flip a matrix across its diagonal, to swap columns with rows. | -| [Volume (Axis Aligned Box)](Operator-Volume(AxisAlignedBox).md) | Calculate the volume of an axis-aligned box. | -| [Volume (Cone)](Operator-Volume(Cone).md) | Calculate the volume of a cone. | -| [Volume (Cylinder)](Operator-Volume(Cylinder).md) | Calculate the volume of a cylinder. | -| [Volume (Oriented Box)](Operator-Volume(OrientedBox).md) | Calculate the volume of an oriented box. | -| [Volume (Sphere)](Operator-Volume(Sphere).md) | Calculate the volume of a sphere. | -| [Volume (Torus)](Operator-Volume(Torus).md) | Calculate the volume of a torus. | +| [Area (Circle) Operator](Operator-Area(Circle).md) | Calculate the area of a circle. | +| [Change Space Operator](Operator-ChangeSpace.md) | Convert a vector from local space to world space. | +| [Distance (Line) Operator](Operator-Distance(Line).md) | Calculate the distance between a position and the closest point on a line. | +| [Distance (Plane) Operator](Operator-Distance(Plane).md) | Calculate the distance between a position and the closest point on a plane. | +| [Distance (Sphere) Operator](Operator-Distance(Sphere).md) | Calculate the distance between a position and the closest point on a sphere. | +| [InvertTRS (Matrix) Operator](Operator-InvertTRS(Matrix).md) | Invert a matrix that contains translation, rotation, and scaling. | +| [Transform (Direction) Operator](Operator-Transform(Direction).md) | Change the position, rotation, or scale of a direction vector. | +| [Transform (Matrix) Operator](Operator-Transform(Matrix).md) | Change the position, rotation, or scale of a matrix. | +| [Transform (Position) Operator](Operator-Transform(Position).md) | Change the position, rotation, or scale of a position. | +| [Transform (Vector) Operator](Operator-Transform(Vector).md) | Change the position, rotation, or scale of a vector. | +| [Transform (Vector4) Operator](Operator-Transform(Vector4).md) | Change the position, rotation, or scale of a Vector4. | +| [Transpose (Matrix) Operator](Operator-Transpose(Matrix).md) | Flip a matrix across its diagonal, to swap columns with rows. | +| [Volume (Axis Aligned Box) Operator](Operator-Volume(AxisAlignedBox).md) | Calculate the volume of an axis-aligned box. | +| [Volume (Cone) Operator](Operator-Volume(Cone).md) | Calculate the volume of a cone. | +| [Volume (Cylinder) Operator](Operator-Volume(Cylinder).md) | Calculate the volume of a cylinder. | +| [Volume (Oriented Box) Operator](Operator-Volume(OrientedBox).md) | Calculate the volume of an oriented box. | +| [Volume (Sphere) Operator](Operator-Volume(Sphere).md) | Calculate the volume of a sphere. | +| [Volume (Torus) Operator](Operator-Volume(Torus).md) | Calculate the volume of a torus. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Implicit.md b/Packages/com.unity.visualeffectgraph/Documentation~/Implicit.md index f60a6095f58..35a648a067e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Implicit.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Implicit.md @@ -4,8 +4,8 @@ Update the position and rotation of particles. | **Page** | **Description** | | --- | --- | -| [Integration: Update Position](Block-UpdatePosition.md) | Update the positions of particles. | -| [Integration: Update Rotation](Block-UpdateRotation.md) | Update the rotation of particles. | +| [Integration: Update Position Block](Block-UpdatePosition.md) | Update the positions of particles. | +| [Integration: Update Rotation Block](Block-UpdateRotation.md) | Update the rotation of particles. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Inline.md b/Packages/com.unity.visualeffectgraph/Documentation~/Inline.md index 32469a03974..fab846dab3f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Inline.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Inline.md @@ -4,43 +4,43 @@ Store values, vectors, shapes, and textures in a graph. | **Page** | **Description** | | --- | --- | -| [AABox](Operator-InlineAABox.md) | Store an axis-aligned 3D box. | -| [AnimationCurve](Operator-InlineAnimationCurve.md) | Store an animation curve. | -| [ArcCircle](Operator-InlineArcCircle.md) | Store a segment of a circle. | -| [ArcCone](Operator-InlineArcCone.md) | Store a segment of a cone. | -| [ArcSphere](Operator-InlineArcSphere.md) | Store a segment of a sphere. | -| [ArcTorus](Operator-InlineArcTorus.md) | Store a segment of a torus. | -| [bool](Operator-Inlinebool.md) | Store a Boolean. | -| [Camera](Operator-InlineCamera.md) | Store a camera. | -| [Circle](Operator-InlineCircle.md) | Store a circle. | -| [Color](Operator-InlineColor.md) | Store a color. | -| [Cone](Operator-InlineCone.md) | Store a cone. | -| [Cubemap](Operator-InlineCubemap.md) | Store a cubemap texture. | -| [CubemapArray](Operator-InlineCubemapArray.md) | Store a cubemap array. | -| [Cylinder](Operator-InlineCylinder.md) | Store a cylinder. | -| [Direction](Operator-InlineDirection.md) | Store a direction. | -| [FlipBook](Operator-InlineFlipBook.md) | Store a flipbook texture. | -| [float](Operator-Inlinefloat.md) | Store a float. | -| [Gradient](Operator-InlineGradient.md) | Store a gradient. | -| [int](Operator-Inlineint.md) | Store an integer. | -| [Line](Operator-InlineLine.md) | Store a line. | -| [Matrix4x4](Operator-InlineMatrix4x4.md) | Store a 4x4 matrix. | -| [Mesh](Operator-InlineMesh.md) | Store a mesh. | -| [OrientedBox](Operator-InlineOrientedBox.md) | Store an oriented box. | -| [Plane](Operator-InlinePlane.md) | Store a plane. | -| [Position](Operator-InlinePosition.md) | Store a position. | -| [Sphere](Operator-InlineSphere.md) | Store a sphere. | -| [TerrainType](Operator-InlineTerrainType.md) | Store a terrain type. | -| [Texture2D](Operator-InlineTexture2D.md) | Store a 2D texture. | -| [Texture2DArray](Operator-InlineTexture2DArray.md) | Store a 2D texture array. | -| [Texture3D](Operator-InlineTexture3D.md) | Store a 3D texture. | -| [Torus](Operator-InlineTorus.md) | Store a torus. | -| [Transform](Operator-InlineTransform.md) | Store position, rotation, and scale. | -| [uint](Operator-Inlineuint.md) | Store an unsigned integer. | -| [Vector](Operator-InlineVector.md) | Store a vector with one dimension. | -| [Vector2](Operator-InlineVector2.md) | Store a vector with two dimensions. | -| [Vector3](Operator-InlineVector3.md) | Store a vector with three dimensions. | -| [Vector4](Operator-InlineVector4.md) | Store a vector with four dimensions. | +| [AABox Operator](Operator-InlineAABox.md) | Store an axis-aligned 3D box. | +| [AnimationCurve Operator](Operator-InlineAnimationCurve.md) | Store an animation curve. | +| [ArcCircle Operator](Operator-InlineArcCircle.md) | Store a segment of a circle. | +| [ArcCone Operator](Operator-InlineArcCone.md) | Store a segment of a cone. | +| [ArcSphere Operator](Operator-InlineArcSphere.md) | Store a segment of a sphere. | +| [ArcTorus Operator](Operator-InlineArcTorus.md) | Store a segment of a torus. | +| [bool Operator](Operator-Inlinebool.md) | Store a Boolean. | +| [Camera Operator](Operator-InlineCamera.md) | Store a camera. | +| [Circle Operator](Operator-InlineCircle.md) | Store a circle. | +| [Color Operator](Operator-InlineColor.md) | Store a color. | +| [Cone Operator](Operator-InlineCone.md) | Store a cone. | +| [Cubemap Operator](Operator-InlineCubemap.md) | Store a cubemap texture. | +| [CubemapArray Operator](Operator-InlineCubemapArray.md) | Store a cubemap array. | +| [Cylinder Operator](Operator-InlineCylinder.md) | Store a cylinder. | +| [Direction Operator](Operator-InlineDirection.md) | Store a direction. | +| [FlipBook Operator](Operator-InlineFlipBook.md) | Store a flipbook texture. | +| [float Operator](Operator-Inlinefloat.md) | Store a float. | +| [Gradient Operator](Operator-InlineGradient.md) | Store a gradient. | +| [int Operator](Operator-Inlineint.md) | Store an integer. | +| [Line Operator](Operator-InlineLine.md) | Store a line. | +| [Matrix4x4 Operator](Operator-InlineMatrix4x4.md) | Store a 4x4 matrix. | +| [Mesh Operator](Operator-InlineMesh.md) | Store a mesh. | +| [OrientedBox Operator](Operator-InlineOrientedBox.md) | Store an oriented box. | +| [Plane Operator](Operator-InlinePlane.md) | Store a plane. | +| [Position Operator](Operator-InlinePosition.md) | Store a position. | +| [Sphere Operator](Operator-InlineSphere.md) | Store a sphere. | +| [TerrainType Operator](Operator-InlineTerrainType.md) | Store a terrain type. | +| [Texture2D Operator](Operator-InlineTexture2D.md) | Store a 2D texture. | +| [Texture2DArray Operator](Operator-InlineTexture2DArray.md) | Store a 2D texture array. | +| [Texture3D Operator](Operator-InlineTexture3D.md) | Store a 3D texture. | +| [Torus Operator](Operator-InlineTorus.md) | Store a torus. | +| [Transform Operator](Operator-InlineTransform.md) | Store position, rotation, and scale. | +| [uint Operator](Operator-Inlineuint.md) | Store an unsigned integer. | +| [Vector Operator](Operator-InlineVector.md) | Store a vector with one dimension. | +| [Vector2 Operator](Operator-InlineVector2.md) | Store a vector with two dimensions. | +| [Vector3 Operator](Operator-InlineVector3.md) | Store a vector with three dimensions. | +| [Vector4 Operator](Operator-InlineVector4.md) | Store a vector with four dimensions. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Logic.md b/Packages/com.unity.visualeffectgraph/Documentation~/Logic.md index 438262896cb..5db8dbcc7aa 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Logic.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Logic.md @@ -4,14 +4,14 @@ Perform Boolean operations and conditional branching. | **Page** | **Description** | | --- | --- | -| [And](Operator-LogicAnd.md) | Output `true` if both inputs are `true`. | -| [Branch](Operator-Branch.md) | Test a Boolean and return different values for `true` and `false`. | -| [Compare](Operator-Compare.md) | Compare two floats based on a condition and return the result as a Boolean. | -| [Nand](Operator-LogicNand.md) | Output `true` if at least one input is `false`. | -| [Nor](Operator-LogicNor.md) | Output `true` if both inputs are `false`. | -| [Not](Operator-LogicNot.md) | Output `true` if an input is `false`, and vice versa. | -| [Or](Operator-LogicOr.md) | Output `true` if either input is `true`. | -| [Switch](Operator-Switch.md) | Compare an input to case values, and output a value depending on the case. | +| [And Operator](Operator-LogicAnd.md) | Output `true` if both inputs are `true`. | +| [Branch Operator](Operator-Branch.md) | Test a Boolean and return different values for `true` and `false`. | +| [Compare Operator](Operator-Compare.md) | Compare two floats based on a condition and return the result as a Boolean. | +| [Nand Operator](Operator-LogicNand.md) | Output `true` if at least one input is `false`. | +| [Nor Operator](Operator-LogicNor.md) | Output `true` if both inputs are `false`. | +| [Not Operator](Operator-LogicNot.md) | Output `true` if an input is `false`, and vice versa. | +| [Or Operator](Operator-LogicOr.md) | Output `true` if either input is `true`. | +| [Switch Operator](Operator-Switch.md) | Compare an input to case values, and output a value depending on the case. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Math.md b/Packages/com.unity.visualeffectgraph/Documentation~/Math.md index 735e80e7615..f843aede157 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Math.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Math.md @@ -4,17 +4,17 @@ Perform calculations, conversions, and transformations. | **Page** | **Description** | | --- | --- | -| [Arithmetic](Arithmetic.md) | Perform mathematical calculations on input data. | -| [Clamp](Clamp.md) | Clamp, round, or limit values. | -| [Constants](Constants.md) | Get mathematical constants. | -| [Coordinates](Coordinates.md) | Convert between coordinate systems. | -| [Exp](Operator-Exp.md) | Raise a number to a specified power. | -| [Geometry](Geometry.md) | Perform geometric calculations and transformations. | -| [Log](Operator-Log.md) | Calculate the logarithm of a number. | -| [Remap](Remap.md) | Remap values between ranges. | -| [Trigonometry](Trigonometry.md) | Perform trigonometric calculations. | -| [Vector](Vector.md) | Perform vector and matrix calculations. | -| [Wave](Wave.md) | Generate waveforms, for example to control the behavior of particles over time. | +| [Arithmetic Operators](Arithmetic.md) | Perform mathematical calculations on input data. | +| [Clamp Operators](Clamp.md) | Clamp, round, or limit values. | +| [Constants Operators](Constants.md) | Get mathematical constants. | +| [Coordinates Operators](Coordinates.md) | Convert between coordinate systems. | +| [Exp Operator](Operator-Exp.md) | Raise a number to a specified power. | +| [Geometry Operators](Geometry.md) | Perform geometric calculations and transformations. | +| [Log Operator](Operator-Log.md) | Calculate the logarithm of a number. | +| [Remap Operators](Remap.md) | Remap values between ranges. | +| [Trigonometry Operators](Trigonometry.md) | Perform trigonometric calculations. | +| [Vector Operators](Vector.md) | Perform vector and matrix calculations. | +| [Wave Operators](Wave.md) | Generate waveforms, for example to control the behavior of particles over time. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Noise.md b/Packages/com.unity.visualeffectgraph/Documentation~/Noise.md index 59356967320..5e36ce936d3 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Noise.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Noise.md @@ -4,12 +4,12 @@ Generate procedural noise patterns, for example to control the behavior of parti | **Page** | **Description** | | --- | --- | -| [Cellular Noise](Operator-CellularNoise.md) | Generate noise with cell-like patterns. | -| [Perlin Noise](Operator-PerlinNoise.md) | Generate noise with a smooth, natural variation. | -| [Value Noise](Operator-ValueNoise.md) | Generate noise with simple interpolated values. | -| [Cellular Curl Noise](Operator-CellularCurlNoise.md) | Create cell-like patterns that simulate fluid or gas. | -| [Perlin Curl Noise](Operator-PerlinCurlNoise.md) | Generate noise that simulates a fluid or gas with smooth variations. | -| [Value Curl Noise](Operator-ValueCurlNoise.md) | Generate noise that simulates a fluid or gas with simple interpolated values. | +| [Cellular Noise Operator](Operator-CellularNoise.md) | Generate noise with cell-like patterns. | +| [Perlin Noise Operator](Operator-PerlinNoise.md) | Generate noise with a smooth, natural variation. | +| [Value Noise Operator](Operator-ValueNoise.md) | Generate noise with simple interpolated values. | +| [Cellular Curl Noise Operator](Operator-CellularCurlNoise.md) | Create cell-like patterns that simulate fluid or gas. | +| [Perlin Curl Noise Operator](Operator-PerlinCurlNoise.md) | Generate noise that simulates a fluid or gas with smooth variations. | +| [Value Curl Noise Operator](Operator-ValueCurlNoise.md) | Generate noise that simulates a fluid or gas with simple interpolated values. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Absolute.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Absolute.md index 8951cd310ac..d8614355e65 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Absolute.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Absolute.md @@ -1,4 +1,4 @@ -# Absolute +# Absolute Operator Menu Path : **Operator > Math > Arithmetic > Absolute** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Acos.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Acos.md index cf3f952416a..ca49f249d69 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Acos.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Acos.md @@ -1,4 +1,4 @@ -# Acos +# Acos Operator Menu Path : **Operator > Math > Trigonometry > Acos** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Add.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Add.md index 9fffef5744e..fc548ca8b75 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Add.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Add.md @@ -1,4 +1,4 @@ -# Add +# Add Operator Menu Path : **Operator > Math > Arithmetic > Add** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-AgeOverLifetime.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-AgeOverLifetime.md index b36ca7b2d9b..c5b5da64b15 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-AgeOverLifetime.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-AgeOverLifetime.md @@ -1,4 +1,4 @@ -# Age Over Lifetime +# Age Over Lifetime Operator Menu Path : **Operator > Attribute > Age over Lifetime** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-AppendVector.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-AppendVector.md index 0a7af6a0bb2..276a5efbad3 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-AppendVector.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-AppendVector.md @@ -1,4 +1,4 @@ -# Append Vector +# Append Vector Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Area(Circle).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Area(Circle).md index 11d40767e0c..078f6ab877f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Area(Circle).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Area(Circle).md @@ -1,4 +1,4 @@ -# Area (Circle) +# Area (Circle) Operator Menu Path : **Operator > Math > Geometry > Area (Circle)** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Asin.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Asin.md index 4e4f39c63f2..74bbf4e297e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Asin.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Asin.md @@ -1,4 +1,4 @@ -# Asin +# Asin Operator Menu Path : **Operator > Math > Trigonometry > Asin** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Atan.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Atan.md index 63e1f6e7432..456d97680ff 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Atan.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Atan.md @@ -1,4 +1,4 @@ -# Atan +# Atan Operator Menu Path : **Operator > Math > Trigonometry > Atan** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Atan2.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Atan2.md index d3dd918e813..f750fed3e6a 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Atan2.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Atan2.md @@ -1,4 +1,4 @@ -# Atan2 +# Atan2 Operator Menu Path : **Operator > Math > Trigonometry > Atan2** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseAnd.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseAnd.md index a877a7445b0..10564ffd7f9 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseAnd.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseAnd.md @@ -1,6 +1,6 @@ -# And (Bitwise) +# And (Bitwise) Operator -Menu Path : **Operator > Bitwise > And** +Menu Path : **Operator** > **Bitwise** > **And** The **And** Operator takes two inputs and outputs the result of a bitwise *And* operation between them. For each bit in **A** and **B**, if both are **1**, the output is **1**. Otherwise, the output is **0**. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseComplement.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseComplement.md index a298c4e4064..6ad5367e85f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseComplement.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseComplement.md @@ -1,6 +1,6 @@ -# Complement (Bitwise) +# Complement (Bitwise) Operator -Menu Path : **Operator > Bitwise > Complement** +Menu Path : **Operator** > **Bitwise** > **Complement** The **Complement** Operator applies a bitwise logical *NOT* operation to each bit of a number in its binary form. This inverts each bit, meaning bits that are 0 become 1 and bits that are 1 become 0. For example: diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseLeftShift.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseLeftShift.md index 46e5afe5c6d..6ff512a7cbe 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseLeftShift.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseLeftShift.md @@ -1,6 +1,6 @@ -# Left Shift (Bitwise) +# Left Shift (Bitwise) Operator -Menu Path : **Operator > Bitwise > Left Shift** +Menu Path : **Operator** > **Bitwise** > **Left Shift** The **Left Shift** Operator shifts the first input's value left by the number of bits defined in the second input. During the shift, this Operator discards the most-significant bit and inserts a 0 on the right. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseOr.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseOr.md index cd76c66fbe8..f8690be1c55 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseOr.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseOr.md @@ -1,6 +1,6 @@ -# Or (Bitwise) +# Or (Bitwise) Operator -Menu Path : **Operator > Bitwise > Or** +Menu Path : **Operator** > **Bitwise** > **Or** The **Or** Operator takes two inputs and outputs the result of a bitwise *or* operation between them. For each bit in **A** and **B**, if either is **1**, the output is **1**. Otherwise, the output is **0**. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseRightShift.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseRightShift.md index 7605a70f0d3..8a23a4da892 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseRightShift.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseRightShift.md @@ -1,6 +1,6 @@ -# Right Shift (Bitwise) +# Right Shift (Bitwise) Operator -Menu Path : **Operator > Bitwise > Right Shift** +Menu Path : **Operator** > **Bitwise** > **Right Shift** The **Right Shift** Operator shifts the first input's value right by the number of bits defined in the second input. During the shift, this Operator discards the least-significant bit and inserts a 0 on the left. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseXor.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseXor.md index 3d67cb646d4..04cc2259718 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseXor.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BitwiseXor.md @@ -1,6 +1,6 @@ -# Xor (Bitwise) +# Xor (Bitwise) Operator -Menu Path : **Operator > Bitwise > Xor** +Menu Path : **Operator** > **Bitwise** > **Xor** The Xor Operator takes two inputs and outputs the result of a bitwise logical Xor operation to each bit of a number in its binary form. For each bit in **A** and **B**, if only one of them is **1**, the output is **1**. If both of them are **1** or neither of them are **1**, the output is **0**. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Branch.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Branch.md index af2a9cb4342..1098e3a03a2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Branch.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Branch.md @@ -1,4 +1,4 @@ -# Branch +# Branch Operator Menu Path : **Operator > Logic > Branch** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BufferCount.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BufferCount.md index c19ad3c3441..5157bfeee79 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BufferCount.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-BufferCount.md @@ -1,4 +1,4 @@ -# Buffer Count +# Buffer Count Operator **Menu Path : Operator > Sampling > Buffer Count** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Ceiling.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Ceiling.md index 10bd71a3e5c..5c82cdf6123 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Ceiling.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Ceiling.md @@ -1,4 +1,4 @@ -# Ceiling +# Ceiling Operator Menu Path : **Operator > Math > Clamp > Ceiling** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CellularCurlNoise.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CellularCurlNoise.md index 9ef33e37d61..2145d67ec49 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CellularCurlNoise.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CellularCurlNoise.md @@ -1,4 +1,4 @@ -# Cellular Curl Noise +# Cellular Curl Noise Operator Menu Path : **Operator > Noise > Cellular Curl Noise** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CellularNoise.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CellularNoise.md index c59161dd5b6..ae62e8ea42e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CellularNoise.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CellularNoise.md @@ -1,4 +1,4 @@ -# Cellular Noise +# Cellular Noise Operator Menu Path : **Operator > Noise > Cellular Noise** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ChangeSpace.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ChangeSpace.md index 68284da2a1f..64e30155511 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ChangeSpace.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ChangeSpace.md @@ -1,4 +1,4 @@ -# Change Space +# Change Space Operator Menu Path : **Operator > Math > Geometry > Change Space** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Clamp.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Clamp.md index f5d83e7aeb7..b0d982e3fa3 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Clamp.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Clamp.md @@ -1,4 +1,4 @@ -# Clamp +# Clamp Operator Menu Path : **Operator > Math > Clamp > Clamp** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ColorLuma.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ColorLuma.md index fb44b29aa28..4444294da73 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ColorLuma.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ColorLuma.md @@ -1,4 +1,4 @@ -# Color Luma +# Color Luma Operator Menu Path : **Operator > Color > Color Luma** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Compare.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Compare.md index 9c836592c7c..ddaefcc3033 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Compare.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Compare.md @@ -1,4 +1,4 @@ -# Compare +# Compare Operator Menu Path : **Operator > Logic > Compare** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ConstructMatrix.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ConstructMatrix.md index 97baf7bc513..2a9c42fa7ae 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ConstructMatrix.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ConstructMatrix.md @@ -1,4 +1,4 @@ -# Construct Matrix +# Construct Matrix Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Cosine.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Cosine.md index 45577f4893a..b3e7433ce25 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Cosine.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Cosine.md @@ -1,4 +1,4 @@ -# Cosine +# Cosine Operator Menu Path : **Operator > Math > Trigonometry > Cosine** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CrossProduct.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CrossProduct.md index bb6bc6851da..86ddacaef7a 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CrossProduct.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CrossProduct.md @@ -1,4 +1,4 @@ -# Cross Product +# Cross Product Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CustomHLSL.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CustomHLSL.md index 3eb137a2ce1..50f28a10ea8 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CustomHLSL.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-CustomHLSL.md @@ -1,6 +1,6 @@ # Custom HLSL Operator -Menu Path : **Operator > HLSL > Custom HLSL** +Menu Path : **Operator** > **HLSL** > **Custom HLSL** The **Custom HLSL Operator** allows you to write an HLSL function that takes **inputs** and produce **outputs**. For general information about Custom HLSL nodes, refer to [Custom HLSL Nodes](CustomHLSL-Common.md). diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-DeltaTime.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-DeltaTime.md index 3727498afb2..e37effd589c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-DeltaTime.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-DeltaTime.md @@ -1,4 +1,4 @@ -# Delta Time +# Delta Time Operator Menu Path : **Operator > BuiltIn > DeltaTime** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Discretize.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Discretize.md index b2b28967db9..84fbe81d076 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Discretize.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Discretize.md @@ -1,4 +1,4 @@ -# Discretize +# Discretize Operator Menu Path : **Operator > Math > Clamp > Discretize** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Line).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Line).md index 2fff43f95ec..b2db1dbfe8d 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Line).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Line).md @@ -1,6 +1,6 @@ -# Distance (Line) +# Distance (Line) Operator -Menu Path : **Operator > Math > Geometry > Distance (Line)** +Menu Path : **Operator** > **Math** > **Geometry** > **Distance (Line)** The **Distance (Line)** Operator takes a line and a position and calculates: diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Plane).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Plane).md index 572c768a071..4741ac39379 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Plane).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Plane).md @@ -1,6 +1,6 @@ -# Distance (Plane) +# Distance (Plane) Operator -Menu Path : **Operator > Math > Geometry > Distance (Plane)** +Menu Path : **Operator** > **Math** > **Geometry** > **Distance (Plane)** The **Distance (Plane)** Operator Operator takes a plane and a position and calculates: diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Sphere).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Sphere).md index 1b680ae9b95..d5d6c4e54bf 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Sphere).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance(Sphere).md @@ -1,6 +1,6 @@ -# Distance (Sphere) +# Distance (Sphere) Operator -Menu Path : **Operator > Math > Geometry > Distance (Sphere)** +Menu Path : **Operator** > **Math** > **Geometry** > **Distance (Sphere)** The **Distance (Sphere)** Operator takes a sphere and a position and calculates: diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance.md index 430fc7d089a..93141996055 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Distance.md @@ -1,4 +1,4 @@ -# Distance +# Distance Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Divide.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Divide.md index 505cfe4b3b7..2bde2eb03c0 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Divide.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Divide.md @@ -1,4 +1,4 @@ -# Divide +# Divide Operator Menu Path : **Operator > Math > Arithmetic > Divide** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-DotProduct.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-DotProduct.md index 883cb36b049..07c91f51068 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-DotProduct.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-DotProduct.md @@ -1,4 +1,4 @@ -# Dot Product +# Dot Product Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Epsilon.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Epsilon.md index 06336da98e6..1817c248918 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Epsilon.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Epsilon.md @@ -1,6 +1,6 @@ -# Epsilon (Ɛ) +# Epsilon (Ɛ) Operator -Menu Path : **Operator > Math > Constants > Epsilon (Ɛ)** +Menu Path : **Operator** > **Math** > **Constants** > **Epsilon (Ɛ)** The **Epsilon (Ɛ)** Operator returns a tiny value. This is useful for comparisons as it can help to avoid potential precision issues with floats. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Exp.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Exp.md index 4c975d7eaca..46cd6f11971 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Exp.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Exp.md @@ -1,4 +1,4 @@ -# Exp +# Exp Operator Menu Path : **Operator > Math > Exp** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Floor.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Floor.md index 82dd96493d6..23ccae64a8c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Floor.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Floor.md @@ -1,4 +1,4 @@ -# Floor +# Floor Operator Menu Path : **Operator > Math > Clamp > Floor** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Fractional.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Fractional.md index 62190be948e..72025b96f75 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Fractional.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Fractional.md @@ -1,4 +1,4 @@ -# Fractional +# Fractional Operator Menu Path : **Operator > Math > Arithmetic > Fractional** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-FrameIndex.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-FrameIndex.md index bd86be5e477..0ceb74b8b96 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-FrameIndex.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-FrameIndex.md @@ -1,4 +1,4 @@ -# Frame Index +# Frame Index Operator Menu Path : **Operator > BuiltIn > Frame Index** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAge.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAge.md index 7f6a76fb630..322051699f6 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAge.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAge.md @@ -1,4 +1,4 @@ -# Get Attribute: age +# Get Attribute: age Operator Menu Path : **Operator > Attribute > Get Attribute: age** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAlive.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAlive.md index 1605d9b0e81..6bc884c4b22 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAlive.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAlive.md @@ -1,4 +1,4 @@ -# Get Attribute: alive +# Get Attribute: alive Operator Menu Path : **Operator > Attribute > Get Attribute: alive** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAlpha.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAlpha.md index 250161d505a..170bef39627 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAlpha.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAlpha.md @@ -1,4 +1,4 @@ -# Get Attribute: alpha +# Get Attribute: alpha Operator Menu Path : **Operator > Attribute > Get Attribute: alpha** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAngle.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAngle.md index a7058d6836f..d7189776643 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAngle.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAngle.md @@ -1,4 +1,4 @@ -# Get Attribute: angle +# Get Attribute: angle Operator Menu Path : **Operator > Attribute > Get Attribute: angle** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAngularVelocity.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAngularVelocity.md index 35bec2fb855..80755a53c71 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAngularVelocity.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAngularVelocity.md @@ -1,4 +1,4 @@ -# Get Attribute: angularVelocity +# Get Attribute: angularVelocity Operator Menu Path : **Operator > Attribute > Get Attribute: angularVelocity** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisX.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisX.md index 385d6641013..7ecf4b9d373 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisX.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisX.md @@ -1,4 +1,4 @@ -# Get Attribute: axisX +# Get Attribute: axisX Operator Menu Path : **Operator > Attribute > Get Attribute: axisX** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisY.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisY.md index d1dc2bf5a5b..88ad1d7bec9 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisY.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisY.md @@ -1,4 +1,4 @@ -# Get Attribute: axisY +# Get Attribute: axisY Operator Menu Path : **Operator > Attribute > Get Attribute: axisY** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisZ.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisZ.md index d5db0e5b8f5..909970228d9 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisZ.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAxisZ.md @@ -1,4 +1,4 @@ -# Get Attribute: axisZ +# Get Attribute: axisZ Operator Menu Path : **Operator > Attribute > Get Attribute: axisZ** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeCollisionEventCount.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeCollisionEventCount.md new file mode 100644 index 00000000000..64fe76a2139 --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeCollisionEventCount.md @@ -0,0 +1,28 @@ +# Get Attribute: collisionEventCount + +Menu Path : **Operator** > **Attribute** > **Get Collision Event Count** + +The **Get Collision Event Count** operator outputs the number of times a particle has hit a surface since it was spawned. + +To write to the **Get Collision Event Count** attribute, add a [Collision Shape Block](Block-CollisionShape.md) to your graph and set its **Collision Attributes** property to **Write Punctual Content Only** or **Write Always**. + +[!include[](Snippets/Operator-GetAttributeOperatorSettings.md)] + +## Operator settings + +| **Setting** | **Type** | **Description** | +|---|---|---| +| **Location** | [Enum](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@17.6/manual/Snippets/Attributes.md#attribute-locations) | The location of the attribute. The options are:
• **Current**: Gets the value of the attribute from the current system data container. For example, particle data from a Particle System.
• **Source**: Gets the value of the attribute from the previous system data container read from. You can only read from this **Location** in the first Context of a system after a system data change. For example, in an Initialize Particle Context. | + + +## Operator properties + +| **Output** | **Type** | **Description** | +| -------------------- | -------- | ------------------------------------------------------------ | +| Collision Event Count | uint | The value of the collisionEventCount attribute, which is the number of times the particle has hit a surface, based on **Location**. If the particle hasn't collided with any surfaces, the operator returns the default attribute value. | + + + +## Details + +The value the operator returns uses the system’s space, either local space or world space. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeCollisionEventNormal.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeCollisionEventNormal.md new file mode 100644 index 00000000000..bf41db88ebc --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeCollisionEventNormal.md @@ -0,0 +1,25 @@ +# Get Attribute: collisionEventNormal + +Menu Path : **Operator** > **Attribute** > **Get Collision Event Normal** + +The **Get Collision Event Normal** operator returns the surface normal at the point of impact during the current frame. + +To write to the collisionEventNormal attribute, add a [Collision Shape Block](Block-CollisionShape.md) to your graph and set its **Collision Attributes** property to **Write Punctual Contact Only** or **Write Always**. + +[!include[](Snippets/Operator-GetAttributeOperatorSettings.md)] + +## Operator settings + +| **Setting** | **Type** | **Description** | +|---|---|---| +| **Location** | [Enum](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@17.6/manual/Snippets/Attributes.md#attribute-locations) | The location of the attribute. The options are:
• **Current**: Gets the value of the attribute from the current system data container. For example, particle data from a Particle System.
• **Source**: Gets the value of the attribute from the previous system data container read from. You can only read from this **Location** in the first Context of a system after a system data change. For example, in an Initialize Particle Context. | + +## Operator properties + +| **Output** | **Type** | **Description** | +| ------------------------ | -------- | ------------------------------------------------------------ | +| Collision Event Normal | Vector3 | The value of the collisionEventNormal attribute, which represents the surface normal at the point of impact, based on **Location**. If the particle hasn't collided with any surfaces, this operator returns (0,0,0). | + +## Details + +The value the operator returns uses the system's space, either local space or world space. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeCollisionEventPosition.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeCollisionEventPosition.md new file mode 100644 index 00000000000..1c48bf0fe67 --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeCollisionEventPosition.md @@ -0,0 +1,27 @@ +# Get Attribute: collisionEventPosition + +Menu Path : **Operator** > **Attribute** > **Get Collision Event Position** + +The **Get Collision Event Position** operator returns the the coordinates of the point where the particle hit a surface during the current frame. + +To write to the collisionEventPosition attribute, add a [Collision Shape Block](Block-CollisionShape.md) to your graph and set its **Collision Attributes** property to **Write Punctual Contact Only** or **Write Always**. + +[!include[](Snippets/Operator-GetAttributeOperatorSettings.md)] + +## Operator settings + +| **Setting** | **Type** | **Description** | +|---|---|---| +| **Location** | [Enum](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@17.6/manual/Snippets/Attributes.md#attribute-locations) | The location of the attribute. The options are:
• **Current**: Gets the value of the attribute from the current system data container. For example, particle data from a Particle System.
• **Source**: Gets the value of the attribute from the previous system data container read from. You can only read from this **Location** in the first Context of a system after a system data change. For example, in an Initialize Particle Context. | + +## Operator properties + +| **Output** | **Type** | **Description** | +| ------------------------- | -------- | ------------------------------------------------------------ | +| Collision Event Position | Vector3 | The value of the collisionEventPosition attribute, which represents the coordinates of the point of impact, based on **Location**. If the particle hasn't collided with any surfaces, this operator returns (0,0,0). | + +## Details + +The value the operator returns uses the system's space, either local space or world space. + + diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeColor.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeColor.md index 48a50e1cf90..39538ef56fd 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeColor.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeColor.md @@ -1,4 +1,4 @@ -# Get Attribute: color +# Get Attribute: color Operator Menu Path : **Operator > Attribute > Get Attribute: color** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeDirection.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeDirection.md index a86187f2e76..f95b057d5dc 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeDirection.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeDirection.md @@ -1,4 +1,4 @@ -# Get Attribute: direction +# Get Attribute: direction Operator Menu Path : **Operator > Attribute > Get Attribute: direction** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeHasCollisionEvent.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeHasCollisionEvent.md new file mode 100644 index 00000000000..11f6c5fa371 --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeHasCollisionEvent.md @@ -0,0 +1,25 @@ +# Get Attribute: hasCollisionEvent + +Menu Path : **Operator** > **Attribute** > **Get Has Collision Event** + +The **Get Has Collision Event** operator returns `true` if a particle has hit a surface. This attribute is only available in the [Update](Context-Update.md) context. + +To write to the hasCollisionEvent attribute, add a [Collision Shape Block](Block-CollisionShape.md) to your graph and set its **Collision Attributes** property to **Write Punctual Contact Only** or **Write Always**. + +[!include[](Snippets/Operator-GetAttributeOperatorSettings.md)] + +## Operator settings + +| **Setting** | **Type** | **Description** | +|---|---|---| +| **Location** | [Enum](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@17.6/manual/Snippets/Attributes.md#attribute-locations) | The location of the attribute. The options are:
• **Current**: Gets the value of the attribute from the current system data container. For example, particle data from a Particle System.
• **Source**: Gets the value of the attribute from the previous system data container read from. You can only read from this **Location** in the first Context of a system after a system data change. For example, in an Initialize Particle Context. | + +## Operator properties + +| **Output** | **Type** | **Description** | +| -------------------- | -------- | ------------------------------------------------------------ | +| Has Collision Event | bool | The value of the hasCollisionEvent attribute, based on **Location**. Returns `true` if the particle has hit a surface, and `false` otherwise. If this attribute has not been written to, this Operator returns the default attribute value. | + +## Details + +You can only use the **Get Has Collision Event** operator in the same Context as the Collision Shape Block that writes to it. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeLifetime.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeLifetime.md index cc8f207f9b0..fbd89cd3e46 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeLifetime.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeLifetime.md @@ -1,4 +1,4 @@ -# Get Attribute: lifetime +# Get Attribute: lifetime Operator Menu Path : **Operator > Attribute > Get Attribute: lifetime** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeMass.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeMass.md index d32f068eb9d..8df87adb84e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeMass.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeMass.md @@ -1,4 +1,4 @@ -# Get Attribute: mass +# Get Attribute: mass Operator Menu Path : **Operator > Attribute > Get Attribute: mass** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeMeshIndex.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeMeshIndex.md new file mode 100644 index 00000000000..022a9572396 --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeMeshIndex.md @@ -0,0 +1,23 @@ +# Get Attribute: meshIndex + +Menu Path : **Operator** > **Attribute** > **Get Mesh Index** + +The **Get Mesh Index** operator returns the index of the mesh a particle will use to render. This is only relevant when the **Mesh Count** setting on an Output Particle Mesh context is set higher than 1. + +[!include[](Snippets/Operator-GetAttributeOperatorSettings.md)] + +## Operator settings + +| **Setting** | **Type** | **Description** | +|---|---|---| +| **Location** | [Enum](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@17.6/manual/Snippets/Attributes.md#attribute-locations) | The location of the attribute. The options are:
• **Current**: Gets the value of the attribute from the current system data container. For example, particle data from a Particle System.
• **Source**: Gets the value of the attribute from the previous system data container read from. You can only read from this **Location** in the first Context of a system after a system data change. For example, in an Initialize Particle Context. | + +## Operator properties + +| **Output** | **Type** | **Description** | +| ---------- | -------- | ------------------------------------------------------------ | +| Mesh Index | uint | The value of the meshIndex attribute, which represents the index of the mesh to use, based on **Location**. If this attribute has not been written to, this operator returns 0.| + +## Details + +The value the operator returns uses the system's space, either local space or world space. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeOldPosition.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeOldPosition.md index ef3f964ad8d..845883b6a18 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeOldPosition.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeOldPosition.md @@ -1,4 +1,4 @@ -# Get Attribute: oldPosition +# Get Attribute: oldPosition Operator Menu Path : **Operator > Attribute > Get Attribute: oldPosition** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeOldVelocity.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeOldVelocity.md new file mode 100644 index 00000000000..32e126f95b9 --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeOldVelocity.md @@ -0,0 +1,23 @@ +# Get Attribute: oldVelocity + +Menu Path : **Operator** > **Attribute** > **Get Old Velocity** + +The **Get Old Velocity** operator returns the velocity of a particle at the beginning of the context, before VFX Graph applies any forces. + +[!include[](Snippets/Operator-GetAttributeOperatorSettings.md)] + +## Operator settings + +| **Setting** | **Type** | **Description** | +|---|---|---| +| **Location** | [Enum](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@17.6/manual/Snippets/Attributes.md#attribute-locations) | The location of the attribute. The options are:
• **Current**: Gets the value of the attribute from the current system data container. For example, particle data from a Particle System.
• **Source**: Gets the value of the attribute from the previous system data container read from. You can only read from this **Location** in the first Context of a system after a system data change. For example, in an Initialize Particle Context. | + +## Operator properties + +| **Output** | **Type** | **Description** | +| ----------- | -------- | ------------------------------------------------------------ | +| Old Velocity | Vector3 | The value of the oldVelocity attribute, which represents the velocity of the particle at the beginning of the context, before any force integration, based on **Location**. If this attribute has not been written to, this operator returns 0. | + +## Details + +The value the operator returns uses the system's space, either local space or world space. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleCountInStrip.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleCountInStrip.md index 1dd65640b2d..1e8fe2165d2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleCountInStrip.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleCountInStrip.md @@ -1,19 +1,25 @@ -# Get Attribute: particleCountInStrip +# Get Attribute: particleCountInStrip Operator -Menu Path : **Operator > Attribute > Get Attribute: particleCountInStrip** +Menu Path : **Operator** > **Attribute** > **Get Particle Count In Strip** -The **Get Attribute: particleCountInStrip** returns the particleCountInStrip, which is a [standard attribute](Reference-Attributes.md), of a simulated element depending on [Location](Attributes.md#attribute-locations). This Operator outputs the current number of particles in the particle strip the current particle belongs to. +The **Get Particle Count In Strip** operator returns the current number of particles in the particle strip the particle belongs to. + +This operator can return wrong values if you use it in the Initialize context, if the strip index property is not constant. [!include[](Snippets/Operator-GetAttributeOperatorSettings.md)] +## Operator settings + +| **Setting** | **Type** | **Description** | +|---|---|---| +| **Location** | [Enum](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@17.6/manual/Snippets/Attributes.md#attribute-locations) | The location of the attribute. The options are:
• **Current**: Gets the value of the attribute from the current system data container. For example, particle data from a Particle System.
• **Source**: Gets the value of the attribute from the previous system data container read from. You can only read from this **Location** in the first Context of a system after a system data change. For example, in an Initialize Particle Context. | + ## Operator properties | **Output** | **Type** | **Description** | | -------------------- | -------- | ------------------------------------------------------------ | -| particleCountInStrip | int | The value of the particleCountInStrip attribute, based on **Location**.
If this attribute has not been written to, this Operator returns the default attribute value. | +| Particle Count In Strip | int | The value of the particleCountInStrip attribute, which is the current number of particles in the particle strip the particle belongs to, based on **Location**.
If this attribute has not been written to, this operator returns the default attribute value. | ## Details -The value the attribute returns uses the system’s space (either local-space or world-space). - -This operator can return wrong values when used in the Initialize context, if the strip index property is not constant. \ No newline at end of file +The value the operator returns uses the system’s space, either local space or world space. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleID.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleID.md index b3dc11284fc..e364b26d3ad 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleID.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleID.md @@ -1,6 +1,6 @@ -# Get Attribute: particleID +# Get Attribute: particleID Operator -Menu Path : **Operator > Attribute > Get Attribute: particleID** +Menu Path : **Operator** > **Attribute** > **Get Attribute: particleID** The **Get Attribute: particleID** returns the particleID, which is a [standard attribute](Reference-Attributes.md), of a simulated element depending on [Location](Attributes.md#attribute-locations). This Operator outputs a unique ID which identifies the particle. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleIndexInStrip.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleIndexInStrip.md index ab4863c75f5..f14adcb8e3c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleIndexInStrip.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeParticleIndexInStrip.md @@ -1,4 +1,4 @@ -# Get Attribute: particleIndexInStrip +# Get Attribute: particleIndexInStrip Operator Menu Path : **Operator > Attribute > Get Attribute: particleIndexInStrip** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributePivot.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributePivot.md index 11b574630ae..b7ee970fc6c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributePivot.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributePivot.md @@ -1,4 +1,4 @@ -# Get Attribute: pivot +# Get Attribute: pivot Operator Menu Path : **Operator > Attribute > Get Attribute: pivot** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributePosition.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributePosition.md index 3d51ed458aa..c3e96a10041 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributePosition.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributePosition.md @@ -1,4 +1,4 @@ -# Get Attribute: position +# Get Attribute: position Operator Menu Path : **Operator > Attribute > Get Attribute: position** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeScale.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeScale.md index bae38ec5418..1d46ef5c0ef 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeScale.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeScale.md @@ -1,4 +1,4 @@ -# Get Attribute: scale +# Get Attribute: scale Operator Menu Path : **Operator > Attribute > Get Attribute: scale** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSeed.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSeed.md index ce149a31350..48feeea9663 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSeed.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSeed.md @@ -1,4 +1,4 @@ -# Get Attribute: seed +# Get Attribute: seed Operator Menu Path : **Operator > Attribute > Get Attribute: seed** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSize.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSize.md index 28343244459..50601eb25dd 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSize.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSize.md @@ -1,4 +1,4 @@ -# Get Attribute: size +# Get Attribute: size Operator Menu Path : **Operator > Attribute > Get Attribute: size** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnCount.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnCount.md new file mode 100644 index 00000000000..ecbf98b0d14 --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnCount.md @@ -0,0 +1,22 @@ +# Get Attribute: spawnCount + +Menu Path : **Operator** > **Attribute** > **Get Spawn Count** + +The **Get Spawn Count** operator returns the number of particles that have been spawned in the current frame. +[!include[](Snippets/Operator-GetAttributeOperatorSettings.md)] + +## Operator settings + +| **Setting** | **Type** | **Description** | +|---|---|---| +| **Location** | [Enum](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@17.6/manual/Snippets/Attributes.md#attribute-locations) | The location of the attribute. The options are:
• **Current**: Gets the value of the attribute from the current system data container. For example, in a Spawn Context.
• **Source**: Gets the value of the attribute from the previous system data container read from. You can only read from this **Location** in the first Context of a system after a system data change. For example, in an Initialize Particle Context. | + +## Operator properties + +| **Output** | **Type** | **Description** | +| ---------- | -------- | ------------------------------------------------------------ | +| Spawn Count | float | The value of the spawnCount attribute, which represents the number of particles spawned in the current frame, based on **Location**. If this attribute has not been written to, this operator returns 0. | + +## Details + +The value the operator returns uses the system's space, either local space or world space. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnIndex.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnIndex.md index b272a3cdb14..fb8ac3ed94b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnIndex.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnIndex.md @@ -1,4 +1,4 @@ -# Get Attribute: spawnIndex +# Get Attribute: spawnIndex Operator Menu Path : **Operator > Attribute > Get Attribute: spawnIndex** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnIndexInStrip.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnIndexInStrip.md new file mode 100644 index 00000000000..745b23d9696 --- /dev/null +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnIndexInStrip.md @@ -0,0 +1,24 @@ +# Get Attribute: spawnIndexInStrip + +Menu Path : **Operator** > **Attribute** > **Get Spawn Index In Strip** + +The **Get Spawn Index In Strip** operator returns the spawn index of the particle in the particle strip the particle belongs to. +Unlike the [particleIndexInStrip](Operator-GetAttributeParticleIndexInStrip.md) attribute, which is unique for each particle within a strip, this value can be the same for two or more particles in the same strip. + +[!include[](Snippets/Operator-GetAttributeOperatorSettings.md)] + +## Operator settings + +| **Setting** | **Type** | **Description** | +|---|---|---| +| **Location** | [Enum](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@17.6/manual/Snippets/Attributes.md#attribute-locations) | The location of the attribute. The options are:
• **Current**: Gets the value of the attribute from the current system data container. For example, particle data from a Particle System.
• **Source**: Gets the value of the attribute from the previous system data container read from. You can only read from this **Location** in the first Context of a system after a system data change. For example, in an Initialize Particle Context. | + +## Operator properties + +| **Output** | **Type** | **Description** | +| ------------------ | -------- | ------------------------------------------------------------ | +| Spawn Index In Strip | uint | The value of the spawnIndexInStrip attribute, which is the spawn index of the particle in the particle strip the particle belongs to, based on **Location**. If this attribute has not been written to, this operator returns 0. | + +## Details + +The value the operator returns uses the system's space, either local space or world space. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnTime.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnTime.md index bb413034515..a823b608f3f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnTime.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeSpawnTime.md @@ -1,4 +1,4 @@ -# Get Attribute: spawnTime +# Get Attribute: spawnTime Operator Menu Path : **Operator > Attribute > Get Attribute: spawnTime** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeStripIndex.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeStripIndex.md index f261833cf64..c74a2001601 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeStripIndex.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeStripIndex.md @@ -1,4 +1,4 @@ -# Get Attribute: stripIndex +# Get Attribute: stripIndex Operator Menu Path : **Operator > Attribute > Get Attribute: stripIndex** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeTargetPosition.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeTargetPosition.md index e69d5be153a..75fc65834c2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeTargetPosition.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeTargetPosition.md @@ -1,4 +1,4 @@ -# Get Attribute: targetPosition +# Get Attribute: targetPosition Operator Menu Path : **Operator > Attribute > Get Attribute: targetPosition** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeTexIndex.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeTexIndex.md index 92b973f220b..6849d9e5b4f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeTexIndex.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeTexIndex.md @@ -1,4 +1,4 @@ -# Get Attribute: texIndex +# Get Attribute: texIndex Operator Menu Path : **Operator > Attribute > Get Attribute: texIndex** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeVelocity.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeVelocity.md index 23b22c00c46..e355cf2ade9 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeVelocity.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeVelocity.md @@ -1,4 +1,4 @@ -# Get Attribute: velocity +# Get Attribute: velocity Operator Menu Path : **Operator > Attribute > Get Attribute: velocity** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetCustomAttribute.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetCustomAttribute.md index 752c5afb635..e62944c6f00 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetCustomAttribute.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetCustomAttribute.md @@ -1,8 +1,11 @@ -# Get Custom Attribute +# Get Custom Attribute Operator -Menu Path : **Operator > Attribute > Get Custom Attribute** +> [!NOTE] +> The Get Custom Attribute operator is obsolete. Use a [Get Attribute](OperatorAttribute.md) operator instead. -The **Get Custom Attribute** Operator returns the value of a named custom Attribute of a given type depending on its location. +Menu Path : **Operator** > **Attribute** > **Get Custom Attribute** + +The **Get Custom Attribute** operator returns the value of a custom attribute of a given type depending on its location. ## Operator settings diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetTextureDimensions.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetTextureDimensions.md index e801f35ec81..5b6b5def191 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetTextureDimensions.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-GetTextureDimensions.md @@ -1,4 +1,4 @@ -# Get Texture Dimensions +# Get Texture Dimensions Operator Menu Path : **Operator > Sampling > Get Texture Dimensions** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-HSVToRGB.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-HSVToRGB.md index aacdc2c31e6..cd6eb36aa17 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-HSVToRGB.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-HSVToRGB.md @@ -1,6 +1,6 @@ -# HSV to RGB +# HSV to RGB Operator -Menu Path : **Operator > Color > HSV to RGB** +Menu Path : **Operator** > **Color** > **HSV to RGB** The **HSV to RGB** Operator converts HSV (Hue, Saturation, Value) color values to RGB (Red, Green, Blue) color values. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineAABox.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineAABox.md index b81845cd6ec..9bf7df0c8aa 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineAABox.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineAABox.md @@ -1,4 +1,4 @@ -# AABox +# AABox Operator Menu Path : **Operator > Inline > AABox** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineAnimationCurve.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineAnimationCurve.md index f94b22d6821..265f4a2e8d5 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineAnimationCurve.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineAnimationCurve.md @@ -1,4 +1,4 @@ -# AnimationCurve +# AnimationCurve Operator Menu Path : **Operator > Inline > AnimationCurve** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcCircle.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcCircle.md index c19b59a315c..bb5cd9a267b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcCircle.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcCircle.md @@ -1,4 +1,4 @@ -# ArcCircle +# ArcCircle Operator Menu Path : **Operator > Inline > ArcCircle** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcCone.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcCone.md index 6032ca10a03..efb49e06d57 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcCone.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcCone.md @@ -1,4 +1,4 @@ -# ArcCone +# ArcCone Operator Menu Path : **Operator > Inline > ArcCone** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcSphere.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcSphere.md index 665440d73f1..70b56e80e3c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcSphere.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcSphere.md @@ -1,4 +1,4 @@ -# ArcSphere +# ArcSphere Operator Menu Path : **Operator > Inline > ArcSphere** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcTorus.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcTorus.md index 61a68583cd2..985227f3812 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcTorus.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineArcTorus.md @@ -1,4 +1,4 @@ -# ArcTorus +# ArcTorus Operator Menu Path : **Operator > Inline > ArcTorus** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCamera.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCamera.md index 7d10cca4e73..75d764c9b54 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCamera.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCamera.md @@ -1,4 +1,4 @@ -# Camera +# Camera Operator Menu Path : **Operator > Inline > Camera** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCircle.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCircle.md index c32e35d8ed3..595873f52c8 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCircle.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCircle.md @@ -1,4 +1,4 @@ -# Circle +# Circle Operator Menu Path : **Operator > Inline > Circle** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineColor.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineColor.md index 30cdac5230f..2c8de901fb1 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineColor.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineColor.md @@ -1,4 +1,4 @@ -# Color +# Color Operator Menu Path : **Operator > Inline > Color** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCone.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCone.md index 445ed1d1b70..bd27958d00b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCone.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCone.md @@ -1,4 +1,4 @@ -# Cone +# Cone Operator Menu Path : **Operator > Inline > Cone** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCubemap.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCubemap.md index 2e0d128c42d..2771449a5e4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCubemap.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCubemap.md @@ -1,4 +1,4 @@ -# Cubemap +# Cubemap Operator Menu Path : **Operator > Inline > Cubemap** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCubemapArray.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCubemapArray.md index 42a93e47259..eb49fe89e4d 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCubemapArray.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCubemapArray.md @@ -1,4 +1,4 @@ -# CubemapArray +# CubemapArray Operator Menu Path : **Operator > Inline > CubemapArray** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCylinder.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCylinder.md index c8daa9b3a6f..af5c0eaa88e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCylinder.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineCylinder.md @@ -1,4 +1,4 @@ -# Cylinder +# Cylinder Operator Menu Path : **Operator > Inline > Cylinder** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineDirection.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineDirection.md index 2ca9f75840c..2e0edc63182 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineDirection.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineDirection.md @@ -1,4 +1,4 @@ -# Direction +# Direction Operator Menu Path : **Operator > Inline > Direction** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineFlipBook.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineFlipBook.md index ddc14ae1dc5..3908dbda363 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineFlipBook.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineFlipBook.md @@ -1,4 +1,4 @@ -# FlipBook +# FlipBook Operator Menu Path : **Operator > Inline > FlipBook** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineGradient.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineGradient.md index 21b3f3079c0..80ba967ef6d 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineGradient.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineGradient.md @@ -1,4 +1,4 @@ -# Gradient +# Gradient Operator Menu Path : **Operator > Inline > Gradient** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineLine.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineLine.md index cd8d76bc2f5..f915f36b18f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineLine.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineLine.md @@ -1,4 +1,4 @@ -# Line +# Line Operator Menu Path : **Operator > Inline > Line** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineMatrix4x4.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineMatrix4x4.md index fa006a55769..99bbcd9e251 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineMatrix4x4.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineMatrix4x4.md @@ -1,4 +1,4 @@ -# Matrix4x4 +# Matrix4x4 Operator Menu Path : **Operator > Inline > Matrix4x4** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineMesh.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineMesh.md index 49ebefcdee6..da945533398 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineMesh.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineMesh.md @@ -1,4 +1,4 @@ -# Mesh +# Mesh Operator Menu Path : **Operator > Inline > Mesh** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineOrientedBox.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineOrientedBox.md index 63ac75e6c8d..a459508bd0b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineOrientedBox.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineOrientedBox.md @@ -1,4 +1,4 @@ -# OrientedBox +# OrientedBox Operator Menu Path : **Operator > Inline > OrientedBox** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlinePlane.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlinePlane.md index 5b9024a2a40..f9bd89c4439 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlinePlane.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlinePlane.md @@ -1,4 +1,4 @@ -# Plane +# Plane Operator Menu Path : **Operator > Inline > Plane** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlinePosition.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlinePosition.md index ced05f1451a..bad76ffc24f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlinePosition.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlinePosition.md @@ -1,4 +1,4 @@ -# Position +# Position Operator Menu Path : **Operator > Inline > Position** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineSphere.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineSphere.md index 069c6fa4f0f..2542088b34a 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineSphere.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineSphere.md @@ -1,4 +1,4 @@ -# Sphere +# Sphere Operator Menu Path : **Operator > Inline > Sphere** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTerrainType.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTerrainType.md index 22946da5580..5ef468db656 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTerrainType.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTerrainType.md @@ -1,4 +1,4 @@ -# TerrainType +# TerrainType Operator Menu Path : **Operator > Inline > TerrainType** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture2D.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture2D.md index ab81c063d82..63ac5421275 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture2D.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture2D.md @@ -1,4 +1,4 @@ -# Texture2D +# Texture2D Operator Menu Path : **Operator > Inline > Texture2D** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture2DArray.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture2DArray.md index 631b0f5b1f8..fbeec1fa681 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture2DArray.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture2DArray.md @@ -1,4 +1,4 @@ -# Texture2DArray +# Texture2DArray Operator Menu Path : **Operator > Inline > Texture2DArray** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture3D.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture3D.md index 69d5dc39236..bf1406fc429 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture3D.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTexture3D.md @@ -1,4 +1,4 @@ -# Texture3D +# Texture3D Operator Menu Path : **Operator > Inline > Texture3D** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTorus.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTorus.md index 0a3c86f103b..91be0e8d6be 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTorus.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTorus.md @@ -1,4 +1,4 @@ -# Torus +# Torus Operator Menu Path : **Operator > Inline > Torus** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTransform.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTransform.md index 60b59b8c014..470629fc9d2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTransform.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineTransform.md @@ -1,4 +1,4 @@ -# Transform +# Transform Operator Menu Path : **Operator > Inline > Transform** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector.md index 552d283683c..1c2a118e22b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector.md @@ -1,4 +1,4 @@ -# Vector +# Vector Operator Menu Path : **Operator > Inline > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector2.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector2.md index f24dff7e6e1..2714ea59a2a 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector2.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector2.md @@ -1,4 +1,4 @@ -# Vector2 +# Vector2 Operator Menu Path : **Operator > Inline > Vector2** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector3.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector3.md index b355a5dde08..0842c3d895f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector3.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector3.md @@ -1,4 +1,4 @@ -# Vector3 +# Vector3 Operator Menu Path : **Operator > Inline > Vector3** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector4.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector4.md index 42fe8fc7cc1..49cdc123a67 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector4.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InlineVector4.md @@ -1,4 +1,4 @@ -# Vector4 +# Vector4 Operator Menu Path : **Operator > Inline > Vector4** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlinebool.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlinebool.md index 3d523519dab..00955197306 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlinebool.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlinebool.md @@ -1,4 +1,4 @@ -# bool +# bool Operator Menu Path : **Operator > Inline > bool** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlinefloat.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlinefloat.md index b7a4af326db..34e1e456acb 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlinefloat.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlinefloat.md @@ -1,4 +1,4 @@ -# float +# float Operator Menu Path : **Operator > Inline > float** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlineint.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlineint.md index 3b276fa5ce7..b3c7fd3d226 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlineint.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlineint.md @@ -1,4 +1,4 @@ -# int +# int Operator Menu Path : **Operator > Inline > int** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlineuint.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlineuint.md index b28b9428c5c..ee8f592a57e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlineuint.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Inlineuint.md @@ -1,4 +1,4 @@ -# uint +# uint Operator Menu Path : **Operator > Inline > uint** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InverseLerp.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InverseLerp.md index 37c3abee25c..a31182407b9 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InverseLerp.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InverseLerp.md @@ -1,4 +1,4 @@ -# Inverse Lerp +# Inverse Lerp Operator Menu Path : **Operator > Math > Arithmetic > Inverse Lerp** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InvertTRS(Matrix).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InvertTRS(Matrix).md index 571a4f84726..8ccfbda43dc 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InvertTRS(Matrix).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-InvertTRS(Matrix).md @@ -1,6 +1,6 @@ -# InvertTRS (Matrix) +# InvertTRS (Matrix) Operator -Menu Path : **Operator > Math > Geometry > InvertTRS (Matrix)** +Menu Path : **Operator** > **Math** > **Geometry** > **InvertTRS (Matrix)** The **Invert TRS (Matrix)** Operator inverts a TRS (Translation, Rotation, and Scaling) matrix. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Length.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Length.md index 64140e4889b..29e0e4d58dc 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Length.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Length.md @@ -1,6 +1,6 @@ -# Length +# Length Operator -Menu Path : **Operator > Math > Vector** +Menu Path : **Operator** > **Math** > **Vector** The **Length** [uniform Operator](Operators.md#uniform-operators) calculates the length of a 1D, 2D, or 3D vector. If you input a Vector4, this Operator ignores the fourth value of the vector. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Lerp.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Lerp.md index 395937cdb78..c089c3a1a2a 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Lerp.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Lerp.md @@ -1,4 +1,4 @@ -# Lerp +# Lerp Operator Menu Path : **Operator > Math > Arithmetic > Lerp** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadCameraBuffer.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadCameraBuffer.md index e9e9c926580..50c813202b9 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadCameraBuffer.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadCameraBuffer.md @@ -1,4 +1,4 @@ -# Load CameraBuffer +# Load CameraBuffer Operator Menu Path : **Operator > Sampling > Load CameraBuffer** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture2D.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture2D.md index 5d234bec165..51257437fe3 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture2D.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture2D.md @@ -1,4 +1,4 @@ -# Load Texture2D +# Load Texture2D Operator Menu Path : **Operator > Sampling > Load Texture2D** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture2DArray.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture2DArray.md index 09c99ddbecf..43e71d0f1e4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture2DArray.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture2DArray.md @@ -1,4 +1,4 @@ -# Load Texture2DArray +# Load Texture2DArray Operator Menu Path : **Operator > Sampling > Load Texture2DArray** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture3D.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture3D.md index b2b6beb490e..4204e5c2e4b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture3D.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LoadTexture3D.md @@ -1,4 +1,4 @@ -# Load Texture3D +# Load Texture3D Operator Menu Path : **Operator > Sampling > Load Texture3D** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LocalToWorld.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LocalToWorld.md index 1b2ad1e2b79..c6a013fc202 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LocalToWorld.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LocalToWorld.md @@ -1,6 +1,6 @@ -# Local To World +# Local To World Operator -Menu Path : **Operator > BuiltIn > Local To World** +Menu Path : **Operator** > **BuiltIn** > **Local To World** The **Local To World** Operator provides a matrix to transform a point from local space to world space. This is the functionally the same as calling [Transform.localToWorldMatrix](https://docs.unity3d.com/ScriptReference/Transform-localToWorldMatrix.html) on the parent Transform object. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Log.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Log.md index c45384e2eb2..3bf1294aeac 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Log.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Log.md @@ -1,4 +1,4 @@ -# Log +# Log Operator Menu Path : **Operator > Math > Log** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicAnd.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicAnd.md index 82fd3267bcf..0418244bb6e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicAnd.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicAnd.md @@ -1,4 +1,4 @@ -# And (Logic) +# And (Logic) Operator Menu Path : **Operator > Logic > And** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNand.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNand.md index 6082fa490ed..2631bcb93a7 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNand.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNand.md @@ -1,6 +1,6 @@ -# Nand (Logic) +# Nand (Logic) Operator -Menu Path : **Operator > Logic > Nand** +Menu Path : **Operator** > **Logic** > **Nand** The **Nand** Operator takes two inputs and outputs the result of a logical *nand* operation between them. *Nand* is a composite operation that first calculates the *not* of the inputs and then calculates the *and* of the results. The result of A **Nand** B is `true` if both A and B are `false`. This Operator is equivalent to the C# `!` operator followed by the `&&` operator. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNor.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNor.md index f95b1442e94..14af0afd028 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNor.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNor.md @@ -1,4 +1,4 @@ -# Nor (Logic) +# Nor (Logic) Operator Menu Path : **Operator > Logic > Nor** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNot.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNot.md index 8eebbca06ec..b4214107bae 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNot.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicNot.md @@ -1,4 +1,4 @@ -# Not (Logic) +# Not (Logic) Operator Menu Path : **Operator > Logic > Not** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicOr.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicOr.md index df3f3c0b468..32adf16f9c4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicOr.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LogicOr.md @@ -1,4 +1,4 @@ -# Or (Logic) +# Or (Logic) Operator Menu Path : **Operator > Logic > Or** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LookAT.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LookAT.md index cf14ba9c260..9956d7b2c0b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LookAT.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-LookAT.md @@ -1,4 +1,4 @@ -# Look At +# Look At Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MainCamera.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MainCamera.md index 4486a004304..97b1f914fff 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MainCamera.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MainCamera.md @@ -1,4 +1,4 @@ -# Main Camera +# Main Camera Operator Menu Path : **Operator > BuiltIn > Main Camera** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Maximum.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Maximum.md index b4bb3fd9859..04e1ccd4209 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Maximum.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Maximum.md @@ -1,4 +1,4 @@ -# Maximum +# Maximum Operator Menu Path : **Operator > Math > Clamp > Maximum** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshIndexCount.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshIndexCount.md index 030207966f3..a0bc1c5f611 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshIndexCount.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshIndexCount.md @@ -1,4 +1,4 @@ -# Get Mesh Index Count +# Get Mesh Index Count Operator Menu Path: **Operator > Sampling > Get Mesh Index Count** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshTriangleCount.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshTriangleCount.md index b02017042b5..e98b46136e3 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshTriangleCount.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshTriangleCount.md @@ -1,4 +1,4 @@ -# Get Mesh Triangle Count +# Get Mesh Triangle Count Operator Menu Path: **Operator > Sampling > Get Mesh Triangle Count** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshVertexCount.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshVertexCount.md index d6075cefed6..80b3cc6610b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshVertexCount.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-MeshVertexCount.md @@ -1,4 +1,4 @@ -# Get Mesh Vertex Count +# Get Mesh Vertex Count Operator Menu Path: **Operator > Sampling > Get Mesh Vertex Count** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Minimum.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Minimum.md index dd23f04d91c..27102edbd00 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Minimum.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Minimum.md @@ -1,4 +1,4 @@ -# Minimum +# Minimum Operator Menu Path : **Operator > Math > Clamp > Minimum** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Modulo.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Modulo.md index 9129bb26194..32356e241c2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Modulo.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Modulo.md @@ -1,4 +1,4 @@ -# Modulo +# Modulo Operator Menu Path : **Operator > Math > Arithmetic > Modulo** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Multiply.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Multiply.md index 5ab8c41e0d7..91ae460773e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Multiply.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Multiply.md @@ -1,4 +1,4 @@ -# Multiply +# Multiply Operator Menu Path : **Operator > Math > Arithmetic > Multiply** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Negate.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Negate.md index 56b6b93b1cf..e906f912685 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Negate.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Negate.md @@ -1,6 +1,6 @@ -# Negate (-x) +# Negate (-x) Operator -Menu Path : **Operator > Math > Arithmetic > Negate (-x)** +Menu Path : **Operator** > **Math** > **Arithmetic** > **Negate (-x)** The **Negate** Operator multiplies the input value by -1. For example, an input of - (3, 4, -5) outputs (-3, -4, 5). diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Normalize.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Normalize.md index a5a240d40ed..056f9b89588 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Normalize.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Normalize.md @@ -1,4 +1,4 @@ -# Normalize +# Normalize Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-OneMinus.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-OneMinus.md index bba396ece61..b7f25a6a2c2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-OneMinus.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-OneMinus.md @@ -1,6 +1,6 @@ -# One Minus (1-x) +# One Minus (1-x) Operator -Menu Path : **Operator > Math > Arithmetic > One Minus (1-x)** +Menu Path : **Operator** > **Math** > **Arithmetic** > **One Minus (1-x)** The **One Minus** Operator calculates **1** minus the input value. For example, an input of 0.2 outputs 0.8 and an input of (0.3, 0.4, -5) outputs (0.7, 0.6, 6). diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PerlinCurlNoise.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PerlinCurlNoise.md index 41840f8b97f..5bbbad415c5 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PerlinCurlNoise.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PerlinCurlNoise.md @@ -1,4 +1,4 @@ -# Perlin Curl Noise +# Perlin Curl Noise Operator Menu Path : **Operator > Noise > Perlin Curl Noise** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PerlinNoise.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PerlinNoise.md index 483507ad93f..2cfcd191cc1 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PerlinNoise.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PerlinNoise.md @@ -1,4 +1,4 @@ -# Perlin Noise +# Perlin Noise Operator Menu Path : **Operator > Noise > Perlin Noise** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Pi.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Pi.md index b4811f2aa9a..b31a1071964 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Pi.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Pi.md @@ -1,6 +1,6 @@ -# Pi (π) +# Pi (π) Operator -Menu Path : **Operator > Math > Constants > Pi (π)** +Menu Path : **Operator** > **Math** > **Constants** > **Pi (π)** The **Pi (π)** Operator returns the number Pi (π). This is the ratio of the circumference of a circle to its diameter. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PointCache.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PointCache.md index 847cbdc38c1..b21312447cb 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PointCache.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PointCache.md @@ -1,9 +1,9 @@ -# Point Cache +# Point Cache Operator > [!IMPORTANT] > This feature is experimental. To use this feature, open the **Preferences** window, go to the **Visual Effects** tab, and enable **Experimental Operators/Blocks**. -Menu Path : **Operator > Utility > Point Cache** +Menu Path : **Operator** > **Utility** > **Point Cache** The **Point Cache** Operator exposes the attribute maps and the point count stored into a [Point Cache asset](point-cache-asset.md). diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PolarToRectangular.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PolarToRectangular.md index 960412c2e9f..d8042295f8e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PolarToRectangular.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-PolarToRectangular.md @@ -1,4 +1,4 @@ -# Polar to Rectangular +# Polar to Rectangular Operator Menu Path : **Operator > Math > Coordinates** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Position(Depth).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Position(Depth).md index 6b5adec5237..ad17129d46e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Position(Depth).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Position(Depth).md @@ -1,6 +1,6 @@ -# Position (Depth) +# Position (Depth) Operator -Menu Path : **Operator > Sampling > Position (Depth)** +Menu Path : **Operator** > **Sampling** > **Position (Depth)** The **Position (Depth)** Operator samples the depth-buffer of a Camera and retrieves the position in world space. You can use this depth information to project particles into the scene. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Power.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Power.md index 2feca8b3237..8ec0689c6e9 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Power.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Power.md @@ -1,4 +1,4 @@ -# Power +# Power Operator Menu Path : **Operator > Math > Arithmetic > Power** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RGBToHSV.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RGBToHSV.md index fb41b38c9a6..44ba2902904 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RGBToHSV.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RGBToHSV.md @@ -1,6 +1,6 @@ -# RGB to HSV +# RGB to HSV Operator -Menu Path : **Operator > Color > RGB to HSV** +Menu Path : **Operator** > **Color** > **RGB to HSV** This Operator converts RGB (Red, Green, Blue) color values to HSV (Hue, Saturation, Value) color values. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RandomNumber.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RandomNumber.md index 97c47089d36..de92c8635e9 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RandomNumber.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RandomNumber.md @@ -1,4 +1,4 @@ -# Random Number +# Random Number Operator Menu Path : **Operator > Random > Random Number** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RandomSelectorWeighted.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RandomSelectorWeighted.md index 1045b0f1168..1cc785eafc4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RandomSelectorWeighted.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RandomSelectorWeighted.md @@ -1,8 +1,8 @@ -# Random Selector Weighted +# Random Selector Weighted Operator -Menu Path : **Operator > Logic > Random Selector Weighted** +Menu Path : **Operator** > **Logic** > **Random Selector Weighted** The **Random Selector Weighted** Operator performs a kind of switch/case operation where a weight controls the probability of selecting a case. If all weights are equal, this Operator produces a uniform distribution of the different output values. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RatioOverStrip.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RatioOverStrip.md index 2cd21833de8..6f91f600898 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RatioOverStrip.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RatioOverStrip.md @@ -1,8 +1,10 @@ -# Ratio Over Strip +# Get Ratio Over Strip [0..1] -Menu Path : **Operator > Attribute > Ratio Over Strip** +Menu Path : **Operator** > **Attribute** > **Get Ratio Over Strip [0..1]** -The **Ratio Over Strip** Operator returns the ratio of the particle index relative to the total count of particles in that strip, as a value between 0.0 and 1.0. +The **Get Ratio Over Strip** attribute returns the ratio of the particle index relative to the total count of particles in that strip, as a value between 0.0 and 1.0. + +Because this Operator relies on the **Get Particle Count In Strip** operator, it shares the same limitation: it can return wrong values if you use it in the Initialize context, if the strip index property is not constant. For more information, refer to [Get Attribute: particleCountInStrip](Operator-GetAttributeParticleCountInStrip.md#details). ``` t = particleIndexInStrip / (particleCountInStrip - 1) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Reciprocal.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Reciprocal.md index d6871dcf7d1..3840a575227 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Reciprocal.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Reciprocal.md @@ -1,6 +1,6 @@ -# Reciprocal (1/x) +# Reciprocal (1/x) Operator -Menu Path : **Operator > Math > Arithmetic > Reciprocal (1/x)** +Menu Path : **Operator** > **Math** > **Arithmetic** > **Reciprocal (1/x)** The **Reciprocal** Operator calculates the result of dividing 1 by the input value. For example, an input of (0.2, 2, -5) outputs (5, 0.5, -0.2). diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RectangularToPolar.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RectangularToPolar.md index 2334cf364b1..a9a5851c4ae 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RectangularToPolar.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RectangularToPolar.md @@ -1,4 +1,4 @@ -# Rectangular to Polar +# Rectangular to Polar Operator Menu Path : **Operator > Math > Coordinates** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RectangularToSpherical.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RectangularToSpherical.md index 21952f024ac..a01bf86b07b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RectangularToSpherical.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-RectangularToSpherical.md @@ -1,4 +1,4 @@ -# Rectangular to Spherical +# Rectangular to Spherical Operator Menu Path : **Operator > Math > Coordinates** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap(-11).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap(-11).md index 27a28eeca3d..fec7b9b865b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap(-11).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap(-11).md @@ -1,6 +1,6 @@ -# Remap [0..1] => [-1..1] +# Remap [0..1] => [-1..1] Operator -Menu Path : **Operator > Math > Remap > Remap** +Menu Path : **Operator** > **Math** > **Remap** > **Remap** The **Remap [0..1] => [-1..1]** Operator linearly remaps input values from the [0..1] range to the [-1..1] range. This is equivalent to the operation (x * 2) - 1. For example, an input of 0 calculates (0 * 2) -1, and outputs -1. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap(01).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap(01).md index c2d9ea97436..b7f2168243d 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap(01).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap(01).md @@ -1,6 +1,6 @@ -# Remap [-1..1] => [0..1] +# Remap [-1..1] => [0..1] Operator -Menu Path : **Operator > Math > Remap > Remap** +Menu Path : **Operator** > **Math** > **Remap** > **Remap** The **Remap [-1..1] => [0..1]** Operator linearly remaps input values from the range -1 to 1 to the range 0 to 1. This is equivalent to the operation (x * 0.5) + 0.5. For example, an input of -1 calculates (-1 * 0.5) + 0.5, and outputs 0. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap.md index bfda3f7aa32..6a685df6404 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Remap.md @@ -1,6 +1,6 @@ -# Remap (Remap) +# Remap (Remap) Operator -Menu Path : **Operator > Math > Remap > Remap** +Menu Path : **Operator** > **Math** > **Remap** > **Remap** The **Remap** Operator linearly remaps input values from an old range to a new range, with an optional clamp. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Rotate2D.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Rotate2D.md index 535e489a753..0b1537fb827 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Rotate2D.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Rotate2D.md @@ -1,4 +1,4 @@ -# Rotate 2D +# Rotate 2D Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Rotate3D.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Rotate3D.md index 39a2189ec9a..7217ef25db5 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Rotate3D.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Rotate3D.md @@ -1,4 +1,4 @@ -# Rotate 3D +# Rotate 3D Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Round.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Round.md index c3aea0afedd..35a4258f120 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Round.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Round.md @@ -1,4 +1,4 @@ -# Round +# Round Operator Menu Path : **Operator > Math > Clamp > Round** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleAttributeMap.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleAttributeMap.md index 042732d0458..6ff00380e50 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleAttributeMap.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleAttributeMap.md @@ -1,4 +1,4 @@ -# Sample Attribute Map +# Sample Attribute Map Operator > [!IMPORTANT] > This feature is experimental. To use this feature, open the **Preferences** window, go to the **Visual Effects** tab, and enable **Experimental Operators/Blocks**. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleBezier.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleBezier.md index 97a5a84e3e8..22dbe4af010 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleBezier.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleBezier.md @@ -1,4 +1,4 @@ -# Sample Bezier +# Sample Bezier Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleBuffer.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleBuffer.md index 6a9a7a3e883..9898ff1291b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleBuffer.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleBuffer.md @@ -1,8 +1,6 @@ +# Sample Graphics Buffer Operator - -# Sample Graphics Buffer - -**Menu Path : Operator > Sampling > Sample Graphics Buffer** +Menu Path : **Operator** > **Sampling** > **Sample Graphics Buffer** The Sample Graphics Buffer Operator enables you to fetch and sample a structured buffer. A structured buffer is a [GraphicsBuffer](https://docs.unity3d.com/ScriptReference/GraphicsBuffer.html) created using the [Structured](https://docs.unity3d.com/ScriptReference/GraphicsBuffer.Target.Structured.html) target. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleCameraBuffer.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleCameraBuffer.md index 1e6824dd141..2a119e34c86 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleCameraBuffer.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleCameraBuffer.md @@ -1,4 +1,4 @@ -# Sample CameraBuffer +# Sample CameraBuffer Operator Menu Path : **Operator > Sampling > Sample CameraBuffer** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleCurve.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleCurve.md index aa75ce4f4b2..a6865a56677 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleCurve.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleCurve.md @@ -1,4 +1,4 @@ -# Sample Curve +# Sample Curve Operator Menu Path : **Operator > Sampling > Sample Curve** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleGradient.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleGradient.md index fa2288b7db9..d79cad66585 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleGradient.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleGradient.md @@ -1,4 +1,4 @@ -# Sample Gradient +# Sample Gradient Operator Menu Path : **Operator > Sampling > Sample Gradient** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleMesh.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleMesh.md index 79bb975a68b..c42cce5ab96 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleMesh.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleMesh.md @@ -1,4 +1,4 @@ -# Sample Mesh +# Sample Mesh Operator Menu Path: **Operator > Sampling > Sample Mesh** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleMeshIndex.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleMeshIndex.md index 534c44d7da2..0352cf22752 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleMeshIndex.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleMeshIndex.md @@ -1,10 +1,10 @@
Experimental: This Feature is currently experimental and is subject to change in later major versions.
-# Sample Mesh Index +# Sample Mesh Index Operator -**Menu Path : Operator > Sampling > Sample Mesh Index** +Menu Path : **Operator** > **Sampling** > **Sample Mesh Index** -**Menu Path : Operator > Sampling > Sample Skinned Mesh Renderer Index** +Menu Path : **Operator** > **Sampling** > **Sample Skinned Mesh Renderer Index** The Sample Mesh or Skinned Mesh Renderer Index Operator allows you to fetch index buffer data of geometry. Both [UInt16](https://docs.unity3d.com/ScriptReference/ModelImporterIndexFormat.UInt16.html) and [UInt32](https://docs.unity3d.com/ScriptReference/ModelImporterIndexFormat.UInt32.html) format are supported the output of this operator is always an UInt. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleSDF.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleSDF.md index a11ac3fd82f..1105608119f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleSDF.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleSDF.md @@ -1,4 +1,4 @@ -# Sample Signed Distance Field +# Sample Signed Distance Field Operator **Menu Path : Operator > Sampling > Sample Signed Distance Field** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleSkinnedMesh.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleSkinnedMesh.md index ae01fd3aec0..abbd18417cf 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleSkinnedMesh.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleSkinnedMesh.md @@ -1,4 +1,4 @@ -# Sample Skinned Mesh +# Sample Skinned Mesh Operator Menu Path: **Operator > Sampling > Sample Skinned Mesh** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture2D.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture2D.md index e6db99c613c..356a14faa37 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture2D.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture2D.md @@ -1,4 +1,4 @@ -# Sample Texture2D +# Sample Texture2D Operator Menu Path : **Operator > Sampling > Sample Texture2D** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture2DArray.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture2DArray.md index 789d57f3918..f947a5adec6 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture2DArray.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture2DArray.md @@ -1,4 +1,4 @@ -# Sample Texture2DArray +# Sample Texture2DArray Operator Menu Path : **Operator > Sampling > Sample Texture2DArray** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture3D.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture3D.md index 401e957e813..6301de89ebc 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture3D.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTexture3D.md @@ -1,4 +1,4 @@ -# Sample Texture3D +# Sample Texture3D Operator Menu Path : **Operator > Sampling > Sample Texture3D** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTextureCube.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTextureCube.md index c1050680445..6f7cf275573 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTextureCube.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTextureCube.md @@ -1,4 +1,4 @@ -# Sample TextureCube +# Sample TextureCube Operator Menu Path : **Operator > Sampling > Sample TextureCube** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTextureCubeArray.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTextureCubeArray.md index 4af6ede8831..8ae914112eb 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTextureCubeArray.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SampleTextureCubeArray.md @@ -1,4 +1,4 @@ -# Sample TextureCubeArray +# Sample TextureCubeArray Operator Menu Path : **Operator > Sampling > Sample TextureCubeArray** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Saturate.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Saturate.md index 6c2bc225421..293724bee85 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Saturate.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Saturate.md @@ -1,4 +1,4 @@ -# Saturate +# Saturate Operator Menu Path : **Operator > Math > Clamp > Saturate** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SawtoothWave.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SawtoothWave.md index f7756aa94f5..3804550a784 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SawtoothWave.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SawtoothWave.md @@ -1,4 +1,4 @@ -# Sawtooth Wave +# Sawtooth Wave Operator Menu Path : **Operator > Math > Wave > Sawtooth Wave** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Sign.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Sign.md index e22db615b6f..bb03fcf7a1f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Sign.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Sign.md @@ -1,4 +1,4 @@ -# Sign +# Sign Operator Menu Path : **Operator > Math > Arithmetic > Sign** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Sine.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Sine.md index 54b9aebdddc..c6dd6af0f4f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Sine.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Sine.md @@ -1,4 +1,4 @@ -# Sine +# Sine Operator Menu Path : **Operator > Math > Trigonometry > Sine** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SineWave.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SineWave.md index 32f68063afd..25cb2b797bc 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SineWave.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SineWave.md @@ -1,4 +1,4 @@ -# Sine Wave +# Sine Wave Operator Menu Path : **Operator > Math > Wave > Sine Wave** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedLocalTransform.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedLocalTransform.md index dda6ff9e17a..c613357c625 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedLocalTransform.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedLocalTransform.md @@ -1,4 +1,4 @@ -# Get Skinned Mesh Local Root Transform +# Get Skinned Mesh Local Root Transform Operator Menu Path: **Operator > Sampling > Get Skinned Mesh Local Root Transform** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshIndexCount.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshIndexCount.md index a296d9b8509..7c1d90e9925 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshIndexCount.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshIndexCount.md @@ -1,4 +1,4 @@ -# Get Skinned Mesh Index Count +# Get Skinned Mesh Index Count Operator Menu Path: **Operator > Sampling > Get Skinned Mesh Index Count** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshTriangleCount.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshTriangleCount.md index f440c909cd9..81a72d6b7d6 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshTriangleCount.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshTriangleCount.md @@ -1,4 +1,4 @@ -# Get Skinned Mesh Triangle Count +# Get Skinned Mesh Triangle Count Operator Menu Path: **Operator > Sampling > Get Mesh Triangle Count** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshVertexCount.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshVertexCount.md index aab1a4a8a50..157286132b6 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshVertexCount.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedMeshVertexCount.md @@ -1,4 +1,4 @@ -# Get Skinned Mesh Vertex Count +# Get Skinned Mesh Vertex Count Operator Menu Path: **Operator > Sampling > Get Skinned Mesh Vertex Count** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedWorldTransform.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedWorldTransform.md index 7f30827e342..8a32d36bed6 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedWorldTransform.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SkinnedWorldTransform.md @@ -1,4 +1,4 @@ -# Get Skinned Mesh World Root Transform +# Get Skinned Mesh World Root Transform Operator Menu Path: **Operator > Sampling > Get Skinned Mesh World Root Transform** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Smoothstep.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Smoothstep.md index e39a3b5848c..c4d7bc7d129 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Smoothstep.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Smoothstep.md @@ -1,4 +1,4 @@ -# Smoothstep +# Smoothstep Operator Menu Path : **Operator > Math > Arithmetic > Smoothstep** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SpawnState.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SpawnState.md index 4a648ccd60e..0f966ab72e7 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SpawnState.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SpawnState.md @@ -1,6 +1,6 @@ -# Spawn State +# Spawn State Operator -Menu Path : **Operator > Spawn > Spawn Context State** +Menu Path : **Operator** > **Spawn** > **Spawn Context State** The **Spawn State** Operator contains information about the [state](https://docs.unity3d.com/ScriptReference/VFX.VFXSpawnerState.html) of a [Spawn](Context-Spawn.md) system. It contains information such as: the number of particles spawned in the current frame, the duration of the spawn loop, and the current delta time. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SphericalToRectangular.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SphericalToRectangular.md index 0e71ab0a364..12a7fd85ac1 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SphericalToRectangular.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SphericalToRectangular.md @@ -1,4 +1,4 @@ -# Spherical to Rectangular +# Spherical to Rectangular Operator Menu Path : **Operator > Math> Coordinates** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquareRoot.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquareRoot.md index 6839c36ee64..a734a7ca471 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquareRoot.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquareRoot.md @@ -1,4 +1,4 @@ -# Square Root +# Square Root Operator Menu Path : **Operator > Math > Arithmetic > Square Root** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquareWave.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquareWave.md index 7246570961f..9ca7a6aaf2c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquareWave.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquareWave.md @@ -1,4 +1,4 @@ -# Square Wave +# Square Wave Operator Menu Path : **Operator > Math > Wave > Square Wave** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquaredDistance.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquaredDistance.md index 2ac36d0e189..fcd5c461157 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquaredDistance.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquaredDistance.md @@ -1,4 +1,4 @@ -# Squared Distance +# Squared Distance Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquaredLength.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquaredLength.md index 7d122b92fc2..4dc6c84b0c2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquaredLength.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SquaredLength.md @@ -1,4 +1,4 @@ -# Squared Length +# Squared Length Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Step.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Step.md index 1030f9d8f1d..f45eebd447e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Step.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Step.md @@ -1,4 +1,4 @@ -# Step +# Step Operator Menu Path : **Operator > Math > Arithmetic > Step** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Subtract.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Subtract.md index af3f8328309..6acf78a0320 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Subtract.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Subtract.md @@ -1,4 +1,4 @@ -# Subtract +# Subtract Operator Menu Path : **Operator > Math > Arithmetic > Subtract** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Switch.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Switch.md index 4a2e8352e80..a8ec4378989 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Switch.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Switch.md @@ -1,4 +1,4 @@ -# Switch +# Switch Operator Menu Path : **Operator > Logic > Switch** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Swizzle.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Swizzle.md index a92b8ca8b41..de685e76018 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Swizzle.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Swizzle.md @@ -1,4 +1,4 @@ -# Swizzle +# Swizzle Operator Menu Path : **Operator > Math > Vector** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SystemSeed.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SystemSeed.md index 88f779f1882..cf742484c9e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SystemSeed.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-SystemSeed.md @@ -1,4 +1,4 @@ -# System Seed +# System Seed Operator Menu Path : **Operator > BuiltIn > System Seed** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Tangent.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Tangent.md index 9dd2f3efef9..37af393e2b4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Tangent.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Tangent.md @@ -1,4 +1,4 @@ -# Tangent +# Tangent Operator Menu Path : **Operator > Math > Trigonometry > Tangent** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-TotalTime.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-TotalTime.md index 6c736165e61..ab7f997885e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-TotalTime.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-TotalTime.md @@ -1,4 +1,4 @@ -# Total Time +# Total Time Operator Menu Path : **Operator > BuiltIn > Total Time** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Direction).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Direction).md index 8796e333c17..a6837de47d4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Direction).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Direction).md @@ -1,6 +1,6 @@ -# Transform (Direction) +# Transform (Direction) Operator -Menu Path : **Operator > Math > Geometry > Transform (Direction)** +Menu Path : **Operator** > **Math** > **Geometry** > **Transform (Direction)** The **Transform (Direction)** Operator applies a transformation to a Direction to position, rotate, or scale it. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Matrix).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Matrix).md index ccc46c4f71a..bce8372e4ce 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Matrix).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Matrix).md @@ -1,6 +1,6 @@ -# Transform (Matrix) +# Transform (Matrix) Operator -Menu Path : **Operator > Math > Geometry > Transform (Matrix)** +Menu Path : **Operator** > **Math** > **Geometry** > **Transform (Matrix)** The **Transform (Matrix)** Operator applies a transformation to a Matrix to modify its position, rotation, or scale. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Position).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Position).md index da48ffd4d21..9be272741dc 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Position).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Position).md @@ -1,6 +1,6 @@ -# Transform (Position) +# Transform (Position) Operator -Menu Path : **Operator > Math > Geometry > Transform (Position)** +Menu Path : **Operator** > **Math** > **Geometry** > **Transform (Position)** The **Transform (Position)** Operator applies a transformation to a position to offset, rotate, or scale it. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Vector).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Vector).md index c3c9960cd13..f13512e188f 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Vector).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Vector).md @@ -1,6 +1,6 @@ -# Transform (Vector) +# Transform (Vector) Operator -Menu Path : **Operator > Math > Geometry > Transform (Vector)** +Menu Path : **Operator** > **Math** > **Geometry** > **Transform (Vector)** The **Transform (Vector)** Operator applies a transformation to a Vector to offset, rotate, or scale it. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Vector4).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Vector4).md index 62fdbdfc065..56182c2ff4a 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Vector4).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transform(Vector4).md @@ -1,6 +1,6 @@ -# Transform (Vector4) +# Transform (Vector4) Operator -Menu Path : **Operator > Math > Geometry > Transform (Vector4)** +Menu Path : **Operator** > **Math** > **Geometry** > **Transform (Vector4)** The **Transform (Vector4)** Operator applies a transformation to a Vector4. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transpose(Matrix).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transpose(Matrix).md index de78875581c..0f8d0c0b24b 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transpose(Matrix).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Transpose(Matrix).md @@ -1,6 +1,6 @@ -# Transpose (Matrix) +# Transpose (Matrix) Operator -Menu Path : **Operator > Math > Geometry > Transpose (Matrix)** +Menu Path : **Operator** > **Math** > **Geometry** > **Transpose (Matrix)** The **Transpose (Matrix)** Operator flips a matrix across its diagonal, swapping the matrix’s column values and its row values. This is the same operation as [Matrix4x4.transpose](https://docs.unity3d.com/ScriptReference/Matrix4x4-transpose.html). diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-TriangleWave.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-TriangleWave.md index 0c628988526..6889dc992a7 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-TriangleWave.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-TriangleWave.md @@ -1,4 +1,4 @@ -# Triangle Wave +# Triangle Wave Operator Menu Path : **Operator > Math > Wave > Triangle Wave** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ValueCurlNoise.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ValueCurlNoise.md index 680d250a96f..9f4708ba678 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ValueCurlNoise.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ValueCurlNoise.md @@ -1,4 +1,4 @@ -# Value Curl Noise +# Value Curl Noise Operator Menu Path : **Operator > Noise > Value Curl Noise** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ValueNoise.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ValueNoise.md index eb44c562d0a..67dca496850 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ValueNoise.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ValueNoise.md @@ -1,4 +1,4 @@ -# Value Noise +# Value Noise Operator Menu Path : **Operator > Noise > Value Noise** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ViewportToWorldPoint.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ViewportToWorldPoint.md index e1bf704d072..5295e9899b4 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ViewportToWorldPoint.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-ViewportToWorldPoint.md @@ -1,6 +1,6 @@ -# Viewport To World Point +# Viewport To World Point Operator -Menu Path : **Operator > Camera > Viewport To World Point** +Menu Path : **Operator** > **Camera** > **Viewport To World Point** The **Viewport To World Point** Operator transforms a position from viewport space to world space. The input viewport space is normalized and relative to the camera. The bottom-left of the camera is (0,0) and the top-right is (1,1). The z position is in world units from the camera. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(AxisAlignedBox).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(AxisAlignedBox).md index cda58491678..e9f7c8df138 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(AxisAlignedBox).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(AxisAlignedBox).md @@ -1,6 +1,6 @@ -# Volume (Axis Aligned Box) +# Volume (Axis Aligned Box) Operator -Menu Path : **Operator > Math > Geometry > Volume (Axis Aligned Box)** +Menu Path : **Operator** > **Math** > **Geometry** > **Volume (Axis Aligned Box)** The **Volume (Axis Aligned Box)** Operator calculates the volume of an axis-aligned box. This is equal to **x y z** where **x** is the width, **y** is the height, and **z** is the length of the box. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Cone).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Cone).md index f50f5445330..50bf3867f15 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Cone).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Cone).md @@ -1,6 +1,6 @@ -# Volume (Cone) +# Volume (Cone) Operator -Menu Path : **Operator > Math > Geometry > Volume (Cone)** +Menu Path : **Operator** > **Math** > **Geometry** > **Volume (Cone)** The **Volume (Cone)** Operator calculates the volume of a cone. This is equal to **1/3 π h(R2 + R r + r2)** where **h** is the height of the cone, **R** is the radius of the base, and **r** is the radius of the cap. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Cylinder).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Cylinder).md index 05766e5f972..dc168920d02 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Cylinder).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Cylinder).md @@ -1,6 +1,6 @@ -# Volume (Cylinder) +# Volume (Cylinder) Operator -Menu Path : **Operator > Math > Geometry > Volume (Cylinder)** +Menu Path : **Operator** > **Math** > **Geometry** > **Volume (Cylinder)** The **Volume (Cylinder)** Operator calculates the volume of a cylinder. This is equal to **π r2 h** where **r** is the radius and **h** is the height of the cylinder. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(OrientedBox).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(OrientedBox).md index 99773a08f40..af788031db2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(OrientedBox).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(OrientedBox).md @@ -1,6 +1,6 @@ -# Volume (Oriented Box) +# Volume (Oriented Box) Operator -Menu Path : **Operator > Math > Geometry > Volume (Oriented Box)** +Menu Path : **Operator** > **Math** > **Geometry** > **Volume (Oriented Box)** The **Volume (Oriented Box)** Operator calculates the volume of an oriented box. This is equal to **x y z** where **x** is the width, **y** is the height, and **z** is the length of the box. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Sphere).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Sphere).md index 33c81721a2e..5652d1636a9 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Sphere).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Sphere).md @@ -1,6 +1,6 @@ -# Volume (Sphere) +# Volume (Sphere) Operator -Menu Path : **Operator > Math > Geometry > Volume (Sphere)** +Menu Path : **Operator** > **Math** > **Geometry** > **Volume (Sphere)** The **Volume (Sphere)** Operator calculates the volume of a sphere. This is equal to **4/3 π r2 h**. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Torus).md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Torus).md index 199952b26d9..d91ffd61643 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Torus).md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Torus).md @@ -1,6 +1,6 @@ -# Volume (Torus) +# Volume (Torus) Operator -Menu Path : **Operator > Math > Geometry > Volume (Torus)** +Menu Path : **Operator** > **Math** > **Geometry** > **Volume (Torus)** The **Volume (Torus)** Operator calculates the volume of a torus. This is equal to **2 π2 R r2** where **R** is the major radius and **r** is the minor radius. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-WorldToLocal.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-WorldToLocal.md index 557543979e9..147810c2cf7 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-WorldToLocal.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-WorldToLocal.md @@ -1,4 +1,4 @@ -# World To Local +# World to Local Operator Menu Path : **Operator > BuiltIn > World To Local** diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-WorldToViewportPoint.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-WorldToViewportPoint.md index 5d6a7ad9a0b..703a3793f4e 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator-WorldToViewportPoint.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator-WorldToViewportPoint.md @@ -1,6 +1,6 @@ -# World To Viewport Point +# World To Viewport Point Operator -Menu Path : **Operator > Camera > World To Viewport Point** +Menu Path : **Operator** > **Camera** > **World To Viewport Point** The **World To Viewport Point** Operator transforms a position into viewport space. The output viewport space is normalized and relative to the camera. The bottom-left of the camera is (0,0) and the top-right is (1,1). The z position is in world units from the camera. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Operator.md b/Packages/com.unity.visualeffectgraph/Documentation~/Operator.md index 47ad734c6bc..f7f41482171 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Operator.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Operator.md @@ -12,7 +12,7 @@ Calculate, convert, and manipulate data for particles and effects. | [Custom HLSL Operator](Operator-CustomHLSL.md) | Write an HLSL function that takes inputs and produces outputs. | | [Inline Operators](Inline.md) | Store values, vectors, shapes, and textures. | | [Logic Operators](Logic.md) | Perform Boolean operations and conditional branching. | -| [Math](Math.md) | Perform mathematical calculations on input data. | +| [Math Operators](Math.md) | Perform mathematical calculations on input data. | | [Noise Operators](Noise.md) | Generate procedural noise patterns, for example to control the behavior of particles over time. | | [Random Operators](Random.md) | Generate random values or select random outputs. | | [Sampling Operators](Sampling.md) | Fetch data from buffers, meshes, and textures. | diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/OperatorAttribute.md b/Packages/com.unity.visualeffectgraph/Documentation~/OperatorAttribute.md index 44325d6053e..3c99e061c3a 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/OperatorAttribute.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/OperatorAttribute.md @@ -4,35 +4,44 @@ Get the data from [particle attributes](Attributes.md). | **Page** | **Description** | | --- | --- | -| [Age Over Lifetime](Operator-AgeOverLifetime.md) | Get the age of a particle relative to its lifetime. | -| [Get Attribute: age](Operator-GetAttributeAge.md) | Get the time since a particle spawned. | -| [Get Attribute: alive](Operator-GetAttributeAlive.md) | Get whether a particle is alive or not. | -| [Get Attribute: alpha](Operator-GetAttributeAlpha.md) | Get the alpha value of a rendered particle. | -| [Get Attribute: angle](Operator-GetAttributeAngle.md) | Get the rotation of a particle. | -| [Get Attribute: angularVelocity](Operator-GetAttributeAngularVelocity.md) | Get the rotation speed of a particle. | -| [Get Attribute: axisX](Operator-GetAttributeAxisX.md) | Get the x-axis of a particle. | -| [Get Attribute: axisY](Operator-GetAttributeAxisY.md) | Get the y-axis of a particle. | -| [Get Attribute: axisZ](Operator-GetAttributeAxisZ.md) | Get the z-axis of a particle. | -| [Get Attribute: color](Operator-GetAttributeColor.md) | Get the color of a particle. | -| [Get Attribute: direction](Operator-GetAttributeDirection.md) | Get the direction of a particle. | -| [Get Attribute: lifetime](Operator-GetAttributeLifetime.md) | Get the amount of time a particle should live for. | -| [Get Attribute: mass](Operator-GetAttributeMass.md) | Get the mass of a particle. | -| [Get Attribute: oldPosition](Operator-GetAttributeOldPosition.md) | Get the position of a particle before velocity is added. | -| [Get Attribute: particleCountInStrip](Operator-GetAttributeParticleCountInStrip.md) | Get the number of particles in a particle strip. | -| [Get Attribute: particleId](Operator-GetAttributeParticleID.md) | Get a unique ID that identifies a particle. | -| [Get Attribute: particleIndexInStrip](Operator-GetAttributeParticleIndexInStrip.md) | Get the index of a particle in its particle strip. | -| [Get Attribute: pivot](Operator-GetAttributePivot.md) | Get the origin coordinates of a particle. | -| [Get Attribute: position](Operator-GetAttributePosition.md) | Get the position of a particle. | -| [Get Attribute: scale](Operator-GetAttributeScale.md) | Get the scale of the particle. | -| [Get Attribute: seed](Operator-GetAttributeSeed.md) | Get the random number value of a particle. | -| [Get Attribute: size](Operator-GetAttributeSize.md) | Get the size of a particle. | -| [Get Attribute: spawnIndex](Operator-GetAttributeSpawnIndex.md) | Get the index of a particle when it spawned. | -| [Get Attribute: spawnTime](Operator-GetAttributeSpawnTime.md) | Get the time that the particle spawned. | -| [Get Attribute: stripIndex](Operator-GetAttributeStripIndex.md) | Get the index of the particle strip a particle belongs to. | -| [Get Attribute: targetPosition](Operator-GetAttributeTargetPosition.md) | Get the target coordinates of a particle. | -| [Get Attribute: texIndex](Operator-GetAttributeTexIndex.md) | Get the frame number from a flipbook texture a particle uses. | -| [Get Attribute: velocity](Operator-GetAttributeVelocity.md) | Get the current velocity of a particle. | -| [Get Custom Attribute](Operator-GetCustomAttribute.md) | Get the value of a custom attribute. | +| [Age Over Lifetime Operator](Operator-AgeOverLifetime.md) | Get the age of a particle relative to its lifetime. | +| [Get Attribute: age Operator](Operator-GetAttributeAge.md) | Get the time since a particle spawned. | +| [Get Attribute: alive Operator](Operator-GetAttributeAlive.md) | Get whether a particle is alive or not. | +| [Get Attribute: alpha Operator](Operator-GetAttributeAlpha.md) | Get the alpha value of a rendered particle. | +| [Get Attribute: angle Operator](Operator-GetAttributeAngle.md) | Get the rotation of a particle. | +| [Get Attribute: angularVelocity Operator](Operator-GetAttributeAngularVelocity.md) | Get the rotation speed of a particle. | +| [Get Attribute: axisX Operator](Operator-GetAttributeAxisX.md) | Get the x-axis of a particle. | +| [Get Attribute: axisY Operator](Operator-GetAttributeAxisY.md) | Get the y-axis of a particle. | +| [Get Attribute: axisZ Operator](Operator-GetAttributeAxisZ.md) | Get the z-axis of a particle. | +| [Get Attribute: collisionEventCount Operator](Operator-GetAttributeCollisionEventCount.md) | Get the number of collisions that occur during a particle's lifetime. | +| [Get Attribute: collisionEventNormal Operator](Operator-GetAttributeCollisionEventNormal.md) | Get the normal of the collider's surface at the hit position. | +| [Get Attribute: collisionEventPosition Operator](Operator-GetAttributeCollisionEventPosition.md) | Get the position of the collision between particles and colliders. | +| [Get Attribute: color Operator](Operator-GetAttributeColor.md) | Get the color of a particle. | +| [Get Attribute: direction Operator](Operator-GetAttributeDirection.md) | Get the direction of a particle. | +| [Get Attribute: hasCollisionEvent Operator](Operator-GetAttributeHasCollisionEvent.md) | Return True or False if a collision happened in this frame. | +| [Get Attribute: lifetime Operator](Operator-GetAttributeLifetime.md) | Get the amount of time a particle should live for. | +| [Get Attribute: mass Operator](Operator-GetAttributeMass.md) | Get the mass of a particle. | +| [Get Attribute: meshIndex Operator](Operator-GetAttributeMeshIndex.md) | Get the mesh index of a particle. | +| [Get Attribute: oldPosition Operator](Operator-GetAttributeOldPosition.md) | Get the position of a particle before velocity is added. | +| [Get Attribute: oldVelocity Operator](Operator-GetAttributeOldVelocity.md) | Get the velocity of a particle before force integration. | +| [Get Attribute: particleCountInStrip Operator](Operator-GetAttributeParticleCountInStrip.md) | Get the number of particles in a particle strip. | +| [Get Attribute: particleId Operator](Operator-GetAttributeParticleID.md) | Get a unique ID that identifies a particle. | +| [Get Attribute: particleIndexInStrip Operator](Operator-GetAttributeParticleIndexInStrip.md) | Get the index of a particle in its particle strip. | +| [Get Attribute: pivot Operator](Operator-GetAttributePivot.md) | Get the origin coordinates of a particle. | +| [Get Attribute: position Operator](Operator-GetAttributePosition.md) | Get the position of a particle. | +| [Get Attribute: scale Operator](Operator-GetAttributeScale.md) | Get the scale of the particle. | +| [Get Attribute: seed Operator](Operator-GetAttributeSeed.md) | Get the random number value of a particle. | +| [Get Attribute: size Operator](Operator-GetAttributeSize.md) | Get the size of a particle. | +| [Get Attribute: spawnCount Operator](Operator-GetAttributeSpawnCount.md) | Get the number of particles spawned in the current frame. | +| [Get Attribute: spawnIndex Operator](Operator-GetAttributeSpawnIndex.md) | Get the index of a particle when it spawned. | +| [Get Attribute: spawnIndexInStrip Operator](Operator-GetAttributeSpawnIndexInStrip.md) | Get the spawn index of a particle within its strip. | +| [Get Attribute: spawnTime Operator](Operator-GetAttributeSpawnTime.md) | Get the time that the particle spawned. | +| [Get Attribute: stripIndex Operator](Operator-GetAttributeStripIndex.md) | Get the index of the particle strip a particle belongs to. | +| [Get Attribute: targetPosition Operator](Operator-GetAttributeTargetPosition.md) | Get the target coordinates of a particle. | +| [Get Attribute: texIndex Operator](Operator-GetAttributeTexIndex.md) | Get the frame number from a flipbook texture a particle uses. | +| [Get Attribute: velocity Operator](Operator-GetAttributeVelocity.md) | Get the current velocity of a particle. | +| [Get Custom Attribute Operator](Operator-GetCustomAttribute.md) | Get the value of a custom attribute. | +| [Get Ratio over Strip Operator](Operator-RatioOverStrip.md) | Get a normalized 0-1 value across the strip length. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Orientation.md b/Packages/com.unity.visualeffectgraph/Documentation~/Orientation.md index d081a1a655e..658bc524881 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Orientation.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Orientation.md @@ -4,8 +4,8 @@ Change the direction that particles face. | **Page** | **Description** | | --- | --- | -| [Connect Target](Block-ConnectTarget.md) | Scale and rotate particles so they connect to a specified target position. | -| [Orient: Face [Mode]](Block-Orient.md) | Rotate particles so they face a particular direction. | +| [Connect Target Block](Block-ConnectTarget.md) | Scale and rotate particles so they connect to a specified target position. | +| [Orient: Face [Mode] Block](Block-Orient.md) | Rotate particles so they face a particular direction. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Output.md b/Packages/com.unity.visualeffectgraph/Documentation~/Output.md index cd64badda74..03a5b11695c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Output.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Output.md @@ -4,8 +4,8 @@ Control particle output and rendering. | **Page** | **Description** | | --- | --- | -| [Camera Fade](Block-CameraFade.md) | Fade out particles when they're too close to the near plane of the camera. | -| [Subpixel Anti-Aliasing](Block-SubpixelAntiAliasing.md) | Enlarge particles to ensure they cover at least one pixel on-screen. | +| [Camera Fade Block](Block-CameraFade.md) | Fade out particles when they're too close to the near plane of the camera. | +| [Subpixel Anti-Aliasing Block](Block-SubpixelAntiAliasing.md) | Enlarge particles to ensure they cover at least one pixel on-screen. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Random.md b/Packages/com.unity.visualeffectgraph/Documentation~/Random.md index a7cce18e13a..8fa8e5f382a 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Random.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Random.md @@ -4,8 +4,8 @@ Generate random values or select random outputs. | **Page** | **Description** | | --- | --- | -| [Random Number](Operator-RandomNumber.md) | Generate a pseudo-random number within a specified range. | -| [Random Selector Weighted](Operator-RandomSelectorWeighted.md) | Select an output at random with custom weights. | +| [Random Number Operator](Operator-RandomNumber.md) | Generate a pseudo-random number within a specified range. | +| [Random Selector Weighted Operator](Operator-RandomSelectorWeighted.md) | Select an output at random with custom weights. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Reference-Attributes.md b/Packages/com.unity.visualeffectgraph/Documentation~/Reference-Attributes.md index bc43c2fb643..7f11b28949c 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Reference-Attributes.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Reference-Attributes.md @@ -1,4 +1,4 @@ -# Standard Attribute Reference +# Standard Attributes Reference ## Standard Attributes @@ -28,6 +28,7 @@ Some attributes are a bit more advanced and will be used by default in most simu | `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) | +| `oldVelocity` | Vector3 | The velocity of a particle at the beginning of the context, before any force integration. | (0,0,0) | | `targetPosition` | Vector3 | This attribute has various purposes: it can be a storage Helper if you want to store a position to reach, then compute a vector in order to reach this Target Position. In Line Renderers, this attribute can be also used to set the end of each line particle. | (0,0,0) | ### Rendering Attributes @@ -42,6 +43,7 @@ Rendering Attributes are not used in simulation but are useful when you want to | `scale` | Vector3 | The Non-uniform Scale multiplier of a rendered element, applied to its **unit representation** | (1,1,1) | | `pivot` | Vector3 | The Origin position of a rendered element, in its **unit representation** | (0,0,0) | | `texIndex` | float | The animation frame used for sampling Flipbook UVs for a rendered element. | 0.0 | +| `meshIndex` | uint | The index of the mesh to use, when the Mesh Count setting on an Output Particle Mesh context is set higher than 1. | 0 | | `axisX` | Vector3 | The computed Right axis of the rendered Element. | (1,0,0) | | `axisY` | Vector3 | The computed Up axis of the rendered Element. | (0,1,0) | | `axisZ` | Vector3 | The computed Forward axis of the rendered Element. | (0,0,1) | @@ -57,6 +59,7 @@ System Attributes provide information about system values. These attributes are | `spawnCount` | float | A `SpawnEvent` attribute that describes how many particles were spawned this frame. You can use `spawnCount` as a [Source Attribute](Attributes.md) in a Spawn context. `spawnCount` is a floating point number so that Unity can accumulate a relative `spawnCount` at the spawn context stage in the [Constant Rate](Block-ConstantRate.md) block.| 0.0 | | `spawnTime` | float | A SpawnEvent attribute available as Source Attribute in Spawn Contexts, that contains a Spawn Context internal time (when exported using a [Set Spawn Time](Block-SetSpawnTime.md) Spawn Block) | 0.0 | | `particleIndexInStrip` | uint | The index in the Particle Strip Ring Buffer where is located this element. | 0 | +| spawnIndexInStrip | uint | The spawn index of a particle within its strip. Unlike particleIndexInStrip, which is unique for each particle, the spawnIndexInStrip value can be the same for two or more particles in different strip. | 0 | ### Collision Attributes diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Remap.md b/Packages/com.unity.visualeffectgraph/Documentation~/Remap.md index 6627793f678..b7af4866edd 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Remap.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Remap.md @@ -4,6 +4,6 @@ Remap values to different ranges. | **Page** | **Description** | | --- | --- | -| [Remap](Operator-Remap.md) | Remap input values from an old range to a new range. | -| [Remap [0..1] => [-1..1]](Operator-Remap(-11).md) | Remap input values from 0 to 1 range, to -1 to 1 range. | -| [Remap [-1..1] => [0..1]](Operator-Remap(01).md) | Remap input values from -1 to 1 range, to 0 to 1 range. | \ No newline at end of file +| [Remap Operator](Operator-Remap.md) | Remap input values from an old range to a new range. | +| [Remap [0..1] => [-1..1] Operator](Operator-Remap(-11).md) | Remap input values from 0 to 1 range, to -1 to 1 range. | +| [Remap [-1..1] => [0..1] Operator](Operator-Remap(01).md) | Remap input values from -1 to 1 range, to 0 to 1 range. | \ No newline at end of file diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Sampling.md b/Packages/com.unity.visualeffectgraph/Documentation~/Sampling.md index 896dac7b592..82133aab589 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Sampling.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Sampling.md @@ -4,35 +4,35 @@ Fetch data from buffers, meshes, and textures. | **Page** | **Description** | | --- | --- | -| [Buffer Count](Operator-BufferCount.md) | Get the number of elements in a `GraphicsBuffer`. | -| [Get Mesh Index Count](Operator-MeshIndexCount.md) | Get the number of indices in a mesh. | -| [Get Mesh Triangle Count](Operator-MeshTriangleCount.md) | Get the number of triangles in a mesh. | -| [Get Mesh Vertex Count](Operator-MeshVertexCount.md) | Get the number of vertices in a mesh. | -| [Get Skinned Mesh Index Count](Operator-SkinnedMeshIndexCount.md) | Get the number of indices in a skinned mesh. | -| [Get Skinned Mesh Triangle Count](Operator-SkinnedMeshTriangleCount.md) | Get the number of triangles in a skinned mesh. | -| [Get Skinned Mesh Vertex Count](Operator-SkinnedMeshVertexCount.md) | Get the number of vertices in a skinned mesh. | -| [Get Skinned Mesh Local Root Transform](Operator-SkinnedLocalTransform.md) | Get the transform of a root bone in a skinned mesh, relative to the Skinned Mesh Renderer. | -| [Get Skinned Mesh World Root Transform](Operator-SkinnedWorldTransform.md) | Get the transform of a root bone in a skinned mesh, relative to the world. | -| [Get Texture Dimensions](Operator-GetTextureDimensions.md) | Get the dimensions of a texture. | -| [Load CameraBuffer](Operator-LoadCameraBuffer.md) | Sample the camera buffer. | -| [Load Texture2D](Operator-LoadTexture2D.md) | Sample a 2D texture. | -| [Load Texture2DArray](Operator-LoadTexture2DArray.md) | Sample a 2D texture array. | -| [Load Texture3D](Operator-LoadTexture3D.md) | Sample a 3D texture. | -| [Position (Depth)](Operator-Position(Depth).md) | Sample the depth buffer of the camera. | -| [Sample Graphics Buffer](Operator-SampleBuffer.md) | Fetch and sample a structured `GraphicsBuffer`. | -| [Sample CameraBuffer](Operator-SampleCameraBuffer.md) | Sample the camera buffer using pixel dimensions and UVs. | -| [Sample Curve](Operator-SampleCurve.md) | Sample a curve. | -| [Sample Gradient](Operator-SampleGradient.md) | Sample a gradient. | -| [Sample Mesh](Operator-SampleMesh.md) | Get the vertex data of a mesh. | -| [Sample Mesh Index](Operator-SampleMeshIndex.md) | Get the index buffer data of geometry. | -| [Sample Skinned Mesh](Operator-SampleSkinnedMesh.md) | Get the vertex data of a skinned mesh. | -| [Sample Signed Distance Field](Operator-SampleSDF.md) | Get the distance field stored in a 3D texture. | -| [Sample Texture2D](Operator-SampleTexture2D.md) | Sample a 2D texture using UV coordinates and mipmap level. | -| [Sample Texture2DArray](Operator-SampleTexture2DArray.md) | Sample a 2D texture array using a slice, UV coordinates, and mipmap level. | -| [Sample Texture3D](Operator-SampleTexture3D.md) | Sample a 3D texture using UV coordinates and mipmap level. | -| [Sample TextureCube](Operator-SampleTextureCube.md) | Sample a cubemap texture using a direction vector and mipmap level. | -| [Sample TextureCubeArray](Operator-SampleTextureCubeArray.md) | Sample a cubemap array using a slice, direction vector, and mipmap level. | -| [Sample Attribute Map](Operator-SampleAttributeMap.md) | Sample an attribute map from a Point Cache. | +| [Buffer Count Operator](Operator-BufferCount.md) | Get the number of elements in a `GraphicsBuffer`. | +| [Get Mesh Index Count Operator](Operator-MeshIndexCount.md) | Get the number of indices in a mesh. | +| [Get Mesh Triangle Count Operator](Operator-MeshTriangleCount.md) | Get the number of triangles in a mesh. | +| [Get Mesh Vertex Count Operator](Operator-MeshVertexCount.md) | Get the number of vertices in a mesh. | +| [Get Skinned Mesh Index Count Operator](Operator-SkinnedMeshIndexCount.md) | Get the number of indices in a skinned mesh. | +| [Get Skinned Mesh Triangle Count Operator](Operator-SkinnedMeshTriangleCount.md) | Get the number of triangles in a skinned mesh. | +| [Get Skinned Mesh Vertex Count Operator](Operator-SkinnedMeshVertexCount.md) | Get the number of vertices in a skinned mesh. | +| [Get Skinned Mesh Local Root Transform Operator](Operator-SkinnedLocalTransform.md) | Get the transform of a root bone in a skinned mesh, relative to the Skinned Mesh Renderer. | +| [Get Skinned Mesh World Root Transform Operator](Operator-SkinnedWorldTransform.md) | Get the transform of a root bone in a skinned mesh, relative to the world. | +| [Get Texture Dimensions Operator](Operator-GetTextureDimensions.md) | Get the dimensions of a texture. | +| [Load CameraBuffer Operator](Operator-LoadCameraBuffer.md) | Sample the camera buffer. | +| [Load Texture2D Operator](Operator-LoadTexture2D.md) | Sample a 2D texture. | +| [Load Texture2DArray Operator](Operator-LoadTexture2DArray.md) | Sample a 2D texture array. | +| [Load Texture3D Operator](Operator-LoadTexture3D.md) | Sample a 3D texture. | +| [Position (Depth) Operator](Operator-Position(Depth).md) | Sample the depth buffer of the camera. | +| [Sample Graphics Buffer Operator](Operator-SampleBuffer.md) | Fetch and sample a structured `GraphicsBuffer`. | +| [Sample CameraBuffer Operator](Operator-SampleCameraBuffer.md) | Sample the camera buffer using pixel dimensions and UVs. | +| [Sample Curve Operator](Operator-SampleCurve.md) | Sample a curve. | +| [Sample Gradient Operator](Operator-SampleGradient.md) | Sample a gradient. | +| [Sample Mesh Operator](Operator-SampleMesh.md) | Get the vertex data of a mesh. | +| [Sample Mesh Index Operator](Operator-SampleMeshIndex.md) | Get the index buffer data of geometry. | +| [Sample Skinned Mesh Operator](Operator-SampleSkinnedMesh.md) | Get the vertex data of a skinned mesh. | +| [Sample Signed Distance Field Operator](Operator-SampleSDF.md) | Get the distance field stored in a 3D texture. | +| [Sample Texture2D Operator](Operator-SampleTexture2D.md) | Sample a 2D texture using UV coordinates and mipmap level. | +| [Sample Texture2DArray Operator](Operator-SampleTexture2DArray.md) | Sample a 2D texture array using a slice, UV coordinates, and mipmap level. | +| [Sample Texture3D Operator](Operator-SampleTexture3D.md) | Sample a 3D texture using UV coordinates and mipmap level. | +| [Sample TextureCube Operator](Operator-SampleTextureCube.md) | Sample a cubemap texture using a direction vector and mipmap level. | +| [Sample TextureCubeArray Operator](Operator-SampleTextureCubeArray.md) | Sample a cubemap array using a slice, direction vector, and mipmap level. | +| [Sample Attribute Map Operator](Operator-SampleAttributeMap.md) | Sample an attribute map from a Point Cache. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/SharedOutputSettings.md b/Packages/com.unity.visualeffectgraph/Documentation~/SharedOutputSettings.md index d0b4e59e0f2..dac7fc63ae2 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/SharedOutputSettings.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/SharedOutputSettings.md @@ -1,11 +1,11 @@ -# Shared Output Settings +# Shared Output Settings Context Explore the settings that appear in multiple outputs in Visual Effect Graph. | Page | Description | |-|-| -|[Global Settings](Context-OutputSharedSettings.md)|Explore the settings and property that all outputs share. | -|[Lit Output Settings](Context-OutputLitSettings.md)|Explore outputs that receive lighting information, and support texture and material types that relate to lighting. | +|[Global Settings Context](Context-OutputSharedSettings.md)|Explore the settings and property that all outputs share. | +|[Lit Output Settings Context](Context-OutputLitSettings.md)|Explore outputs that receive lighting information, and support texture and material types that relate to lighting. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Spawn.md b/Packages/com.unity.visualeffectgraph/Documentation~/Spawn.md index 4d881dd1710..ba8c91c3736 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Spawn.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Spawn.md @@ -4,15 +4,15 @@ Customize behavior for spawning particles. | **Page** | **Description** | | --- | --- | -| [Constant Spawn Rate](Block-ConstantRate.md) | Spawn a specific number of particles per second. | -| [Single Burst](Block-Burst.md) | Use the Single/Periodic Burst Block to spawn particles instantly either once, or periodically using a delay. | -| [Periodic Burst](Block-Burst.md) | Use the Single/Periodic Burst Block to spawn particles at regular intervals. | -| [Variable Spawn Rate](Block-VariableRate.md) | Spawn a variable number of particles per second. | -| [Attribute > Set Spawn Event ](Block-SetSpawnEvent.md) | Modify the content of attributes stored in the Context event attribute. | -| [Custom](CustomSpawn.md) | Explore blocks that let you customize advanced behavior for spawning particles. | +| [Constant Spawn Rate Block](Block-ConstantRate.md) | Spawn a specific number of particles per second. | +| [Single Burst Block](Block-Burst.md) | Use the Single/Periodic Burst Block to spawn particles instantly either once, or periodically using a delay. | +| [Periodic Burst Block](Block-Burst.md) | Use the Single/Periodic Burst Block to spawn particles at regular intervals. | +| [Variable Spawn Rate Block](Block-VariableRate.md) | Spawn a variable number of particles per second. | +| [Attribute > Set Spawn Event Block](Block-SetSpawnEvent.md) | Modify the content of attributes stored in the Context event attribute. | +| [Custom Spawn Blocks](CustomSpawn.md) | Explore blocks that let you customize advanced behavior for spawning particles. | ## Additional resources -- [Spawn](Context-Spawn.md) +- [Spawn Context](Context-Spawn.md) - [Spawner Callbacks](SpawnerCallbacks.md) - [Events](Events.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/TableOfContents.md b/Packages/com.unity.visualeffectgraph/Documentation~/TableOfContents.md index 9a16614f5e7..e5df0fd0ba3 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/TableOfContents.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/TableOfContents.md @@ -33,14 +33,14 @@ * [Visual Effect Bounds](visual-effect-bounds.md) * [Custom HLSL](CustomHLSL-Common.md) * [Instancing](Instancing.md) -* [The Visual Effect Component](VisualEffectComponent.md) - * [C# Component API](ComponentAPI.md) +* [The Visual Effect Components](VisualEffectComponent.md) + * [Visual Effect component API](ComponentAPI.md) * [Using Visual Effects with Timeline](Timeline.md) * [Property Binders](PropertyBinders.md) * [Event Binders](EventBinders.md) * [Output Event Handlers](OutputEventHandlers.md) * [Shader Graph Integration](ShaderGraphIntegration.md) - * [Shader Graphs in Visual Effects](sg-working-with.md) + * [Shader Graph in Visual Effect](sg-working-with.md) * [Visual Effect Target](sg-target-visual-effect.md) * [Pipeline Tools](PipelineTools.md) * [Representing Complex Shapes](representing-complex-shapes.md) @@ -62,316 +62,331 @@ * [Customize existing six-way lightmap textures](create-effects-with-six-way-lighting.md) * [Six-way smoke lit reference](six-way-lighting-reference.md) * [Node Library](node-library.md) - * [Context](Context.md) - * [Event](Context-Event.md) - * [GPU Event](Context-GPUEvent.md) - * [Initialize Particle](Context-Initialize.md) - * [Output Mesh](Context-OutputMesh.md) - * [Output Distortion](Context-OutputDistortion.md) - * [Output Decal](Context-OutputForwardDecal.md) - * [Output Line](Context-OutputLine.md) - * [Output Particle Mesh](Context-OutputParticleMesh.md) - * [Output Particle HDRP Lit Decal](Context-OutputParticleHDRPLitDecal.md) - * [Output Particle HDRP Volumetric Fog](Context-OutputParticleHDRPVolumetricFog.md) - * [Output Particle URP Lit Decal](Context-OutputParticleURPLitDecal.md) - * [Output Point](Context-OutputPoint.md) - * [Output Primitive](Context-OutputPrimitive.md) - * [Output ShaderGraph Quad](Context-OutputShaderGraphPlanarPrimitive.md) - * [Ouput Particle ShaderGraph Mesh](Context-OutputShaderGraphMesh.md) - * [Output ParticleStrip ShaderGraph Quad](Context-OutputShaderGraphStrip.md) - * [Shared Output Settings](SharedOutputSettings.md) - * [Global Settings](Context-OutputSharedSettings.md) - * [Lit Output Settings](Context-OutputLitSettings.md) - * [Spawn](Context-Spawn.md) - * [Update Particle](Context-Update.md) - * [Block](Block.md) - * [Attribute](Attribute.md) - * [Curve](Block-SetAttributeFromCurve.md) - * [Derived > Calculate Mass from Volume](Block-CalculateMassFromVolume.md) - * [Map](Block-SetAttributeFromMap.md) - * [Set](Block-SetAttribute.md) - * [Collision](Block-Collision-LandingPage.md) - * [Collision Shape](Block-CollisionShape.md) - * [Collision Depth Buffer](Block-CollideWithDepthBuffer.md) - * [Kill Shape](Block-KillShape.md) - * [Trigger Shape](Block-TriggerShape.md) - * [Flipbook Player](Block-FlipbookPlayer.md) - * [Force](Force.md) - * [Attractor Shape Signed Distance Field](Block-ConformToSignedDistanceField.md) - * [Attractor Shape Sphere](Block-ConformToSphere.md) - * [Force](Block-Force.md) - * [Gravity](Block-Gravity.md) - * [Linear Drag](Block-LinearDrag.md) - * [Turbulence](Block-Turbulence.md) - * [Vector Force Field](Block-VectorForceField.md) - * [HLSL > Custom HLSL](Block-CustomHLSL.md) - * [Implicit](Implicit.md) - * [Integration : Update Position](Block-UpdatePosition.md) - * [Integration : Update Rotation](Block-UpdateRotation.md) - * [Orientation](Orientation.md) - * [Connect Target](Block-ConnectTarget.md) - * [Orient](Block-Orient.md) - * [Output](Output.md) - * [Camera Fade](Block-CameraFade.md) - * [Subpixel Anti-Aliasing](Block-SubpixelAntiAliasing.md) - * [Position Shape](Block-SetPositionShape-LandingPage.md) - * [Set Position (Depth)](Block-SetPosition(Depth).md) - * [Set Position (Mesh)](Block-SetPosition(Mesh).md) - * [Set Position (Skinned Mesh)](Block-SetPosition(SkinnedMesh).md) - * [Set Position Shape](Block-SetPositionShape.md) - * [Set Position (Sequential)](Block-SetPosition(Sequential).md) - * [Tile/Warp Positions](Block-TileWarpPositions.md) - * [Size > Screen Space Size](Block-ScreenSpaceSize.md) - * [Spawn](Spawn.md) - * [Constant Spawn Rate](Block-ConstantRate.md) - * [Periodic Burst](Block-Burst.md) - * [Single Burst](Block-Burst.md) - * [Variable Spawn Rate](Block-VariableRate.md) - * [Attribute > Set Spawn Event \](Block-SetSpawnEvent.md) + * [Contexts](Context.md) + * [Common Contexts](Context-Common-LandingPage.md) + * [Initialize Particle Context](Context-Initialize.md) + * [Spawn Context](Context-Spawn.md) + * [Update Particle Context](Context-Update.md) + * [Event Contexts](Context-Event-LandingPage.md) + * [Event Context](Context-Event.md) + * [GPU Event Context](Context-GPUEvent.md) + * [Output Event Context](Context-OutputEvent.md) + * [Output Basic Contexts](Context-OutputBasic-LandingPage.md) + * [Output Particle Mesh Context](Context-OutputParticleMesh.md) + * [Output Particle Primitive Context](Context-OutputPrimitive.md) + * [Output Particle ShaderGraph Mesh Context](Context-OutputShaderGraphMesh.md) + * [Output ShaderGraph Quad Context](Context-OutputShaderGraphPlanarPrimitive.md) + * [Output Advanced Contexts](Context-OutputAdvanced-LandingPage.md) + * [Output Distortion Context](Context-OutputDistortion.md) + * [Output Particle HDRP Lit Decal Context](Context-OutputParticleHDRPLitDecal.md) + * [Output Particle HDRP Volumetric Fog Context](Context-OutputParticleHDRPVolumetricFog.md) + * [Output Particle URP Lit Decal Context](Context-OutputParticleURPLitDecal.md) + * [Output Strip Contexts](Context-OutputStrip-LandingPage.md) + * [Output ParticleStrip Quad Context](Context-OutputStripQuad.md) + * [Output ParticleStrip ShaderGraph Context](Context-OutputShaderGraphStrip.md) + * [Output Mesh Context](Context-OutputMesh.md) + * [Output Particle Forward Decal Context](Context-OutputForwardDecal.md) + * [Output Particle Line Context](Context-OutputLine.md) + * [Output Particle Point Context](Context-OutputPoint.md) + * [Shared Output Settings Context](SharedOutputSettings.md) + * [Global Settings Context](Context-OutputSharedSettings.md) + * [Lit Output Settings Context](Context-OutputLitSettings.md) + * [Blocks](Block.md) + * [Attribute Blocks](Attribute.md) + * [Curve Block](Block-SetAttributeFromCurve.md) + * [Derived > Calculate Mass from Volume Block](Block-CalculateMassFromVolume.md) + * [Map Block](Block-SetAttributeFromMap.md) + * [Set Block](Block-SetAttribute.md) + * [Collision Blocks](Block-Collision-LandingPage.md) + * [Collision Shape Block](Block-CollisionShape.md) + * [Collide Depth Buffer Block](Block-CollideWithDepthBuffer.md) + * [Kill Shape Block](Block-KillShape.md) + * [Trigger Shape Block](Block-TriggerShape.md) + * [Flipbook Player Block](Block-FlipbookPlayer.md) + * [Force Blocks](Force.md) + * [Attractor Shape Signed Distance Field Block](Block-ConformToSignedDistanceField.md) + * [Attractor Shape Sphere Block](Block-ConformToSphere.md) + * [Force Block](Block-Force.md) + * [Gravity Block](Block-Gravity.md) + * [Linear Drag Block](Block-LinearDrag.md) + * [Turbulence Block](Block-Turbulence.md) + * [Vector Force Field Block](Block-VectorForceField.md) + * [HLSL > Custom HLSL Block](Block-CustomHLSL.md) + * [Implicit Blocks](Implicit.md) + * [Integration : Update Position Block](Block-UpdatePosition.md) + * [Integration : Update Rotation Block](Block-UpdateRotation.md) + * [Orientation Blocks](Orientation.md) + * [Connect Target Block](Block-ConnectTarget.md) + * [Orient Block](Block-Orient.md) + * [Output Blocks](Output.md) + * [Camera Fade Block](Block-CameraFade.md) + * [Subpixel Anti-Aliasing Block](Block-SubpixelAntiAliasing.md) + * [Position Shape Blocks](Block-SetPositionShape-LandingPage.md) + * [Set Position (Depth) Block](Block-SetPosition(Depth).md) + * [Set Position (Mesh) Block](Block-SetPosition(Mesh).md) + * [Set Position (Skinned Mesh) Block](Block-SetPosition(SkinnedMesh).md) + * [Set Position Shape Block](Block-SetPositionShape.md) + * [Set Position (Sequential) Block](Block-SetPosition(Sequential).md) + * [Tile/Warp Positions Block](Block-TileWarpPositions.md) + * [Size > Screen Space Size Block](Block-ScreenSpaceSize.md) + * [Spawn Blocks](Spawn.md) + * [Constant Spawn Rate Block](Block-ConstantRate.md) + * [Periodic Burst Block](Block-Burst.md) + * [Single Burst Block](Block-Burst.md) + * [Variable Spawn Rate Block](Block-VariableRate.md) + * [Attribute > Set Spawn Event \ Block](Block-SetSpawnEvent.md) * [Custom Spawn Blocks](CustomSpawn.md) - * [Increment Strip Index On Start](Block-IncrementStripIndexOnStart.md) - * [Set Spawn Time](Block-SetSpawnTime.md) - * [Spawn Over Distance](Block-SpawnOverDistance.md) + * [Increment Strip Index On Start Block](Block-IncrementStripIndexOnStart.md) + * [Set Spawn Time Block](Block-SetSpawnTime.md) + * [Spawn Over Distance Block](Block-SpawnOverDistance.md) * [Trigger Event Block reference](Block-Trigger-Event.md) - * [Velocity](Velocity.md) - * [Velocity from Direction & Speed (Change Speed)](Block-VelocityFromDirectionAndSpeed(ChangeSpeed).md) - * [Velocity from Direction & Speed (New Direction)](Block-VelocityFromDirectionAndSpeed(NewDirection).md) - * [Velocity from Direction & Speed (Random Direction)](Block-VelocityFromDirectionAndSpeed(RandomDirection).md) - * [Velocity from Direction & Speed (Spherical)](Block-VelocityFromDirectionAndSpeed(Spherical).md) - * [Velocity from Direction & Speed (Tangent)](Block-VelocityFromDirectionAndSpeed(Tangent).md) - * [Operator](Operator.md) - * [Attribute](OperatorAttribute.md) - * [Age Over Lifetime](Operator-AgeOverLifetime.md) - * [Get Attribute: age](Operator-GetAttributeAge.md) - * [Get Attribute: alive](Operator-GetAttributeAlive.md) - * [Get Attribute: alpha](Operator-GetAttributeAlpha.md) - * [Get Attribute: angle](Operator-GetAttributeAngle.md) - * [Get Attribute: angularVelocity](Operator-GetAttributeAngularVelocity.md) - * [Get Attribute: axisX](Operator-GetAttributeAxisX.md) - * [Get Attribute: axisY](Operator-GetAttributeAxisY.md) - * [Get Attribute: axisZ](Operator-GetAttributeAxisZ.md) - * [Get Attribute: color](Operator-GetAttributeColor.md) - * [Get Attribute: direction](Operator-GetAttributeDirection.md) - * [Get Attribute: lifetime](Operator-GetAttributeLifetime.md) - * [Get Attribute: mass](Operator-GetAttributeMass.md) - * [Get Attribute: oldPosition](Operator-GetAttributeOldPosition.md) - * [Get Attribute: particleCountInStrip](Operator-GetAttributeParticleCountInStrip.md) - * [Get Attribute: particleId](Operator-GetAttributeParticleID.md) - * [Get Attribute: particleIndexInStrip](Operator-GetAttributeParticleIndexInStrip.md) - * [Get Attribute: pivot](Operator-GetAttributePivot.md) - * [Get Attribute: position](Operator-GetAttributePosition.md) - * [Get Attribute: scale](Operator-GetAttributeScale.md) - * [Get Attribute: seed](Operator-GetAttributeSeed.md) - * [Get Attribute: size](Operator-GetAttributeSize.md) - * [Get Attribute: spawnIndex](Operator-GetAttributeSpawnIndex.md) - * [Get Attribute: spawnTime](Operator-GetAttributeSpawnTime.md) - * [Get Attribute: stripIndex](Operator-GetAttributeStripIndex.md) - * [Get Attribute: targetPosition](Operator-GetAttributeTargetPosition.md) - * [Get Attribute: texIndex](Operator-GetAttributeTexIndex.md) - * [Get Attribute: velocity](Operator-GetAttributeVelocity.md) - * [Get Custom Attribute](Operator-GetCustomAttribute.md) - * [Bitwise](Bitwise.md) - * [And](Operator-BitwiseAnd.md) - * [Complement](Operator-BitwiseComplement.md) - * [Left Shift](Operator-BitwiseLeftShift.md) - * [Or](Operator-BitwiseOr.md) - * [Right Shift](Operator-BitwiseRightShift.md) - * [Xor](Operator-BitwiseXor.md) - * [Built-in](Builtin.md) - * [Delta Time](Operator-DeltaTime.md) - * [Frame Index](Operator-FrameIndex.md) - * [Local to World](Operator-LocalToWorld.md) - * [System Seed](Operator-SystemSeed.md) - * [Total Time](Operator-TotalTime.md) - * [World to Local](Operator-WorldToLocal.md) - * [Camera](Camera.md) - * [Main Camera](Operator-MainCamera.md) - * [Viewport to World Point](Operator-ViewportToWorldPoint.md) - * [World to Viewport Point](Operator-WorldToViewportPoint.md) - * [Color](Color.md) - * [Color Luma](Operator-ColorLuma.md) - * [HSV to RGB](Operator-HSVToRGB.md) - * [RBG to HSV](Operator-RGBToHSV.md) - * [HLSL > Custom HLSL](Operator-CustomHLSL.md) - * [Inline](Inline.md) - * [AABox](Operator-InlineAABox.md) - * [AnimationCurve](Operator-InlineAnimationCurve.md) - * [ArcCircle](Operator-InlineArcCircle.md) - * [ArcCone](Operator-InlineArcCone.md) - * [ArcSphere](Operator-InlineArcSphere.md) - * [ArcTorus](Operator-InlineArcTorus.md) - * [bool](Operator-Inlinebool.md) - * [Camera](Operator-InlineCamera.md) - * [Circle](Operator-InlineCircle.md) - * [Color](Operator-InlineColor.md) - * [Cone](Operator-InlineCone.md) - * [Cubemap](Operator-InlineCubemap.md) - * [CubemapArray](Operator-InlineCubemapArray.md) - * [Cylinder](Operator-InlineCylinder.md) - * [Direction](Operator-InlineDirection.md) - * [FlipBook](Operator-InlineFlipBook.md) - * [float](Operator-Inlinefloat.md) - * [Gradient](Operator-InlineGradient.md) - * [int](Operator-Inlineint.md) - * [Line](Operator-InlineLine.md) - * [Matrix4x4](Operator-InlineMatrix4x4.md) - * [Mesh](Operator-InlineMesh.md) - * [OrientedBox](Operator-InlineOrientedBox.md) - * [Plane](Operator-InlinePlane.md) - * [Position](Operator-InlinePosition.md) - * [Sphere](Operator-InlineSphere.md) - * [TerrainType](Operator-InlineTerrainType.md) - * [Texture2D](Operator-InlineTexture2D.md) - * [Texture2DArray](Operator-InlineTexture2DArray.md) - * [Texture3D](Operator-InlineTexture3D.md) - * [Torus](Operator-InlineTorus.md) - * [Transform](Operator-InlineTransform.md) - * [uint](Operator-Inlineuint.md) - * [Vector](Operator-InlineVector.md) - * [Vector2](Operator-InlineVector2.md) - * [Vector3](Operator-InlineVector3.md) - * [Vector4](Operator-InlineVector4.md) - * [Logic](Logic.md) - * [And](Operator-LogicAnd.md) - * [Branch](Operator-Branch.md) - * [Compare](Operator-Compare.md) - * [Nand](Operator-LogicNand.md) - * [Nor](Operator-LogicNor.md) - * [Not](Operator-LogicNot.md) - * [Or](Operator-LogicOr.md) - * [Switch](Operator-Switch.md) - * [Math](Math.md) - * [Arithmetic](Arithmetic.md) - * [Absolute](Operator-Absolute.md) - * [Add](Operator-Add.md) - * [Divide](Operator-Divide.md) - * [Fractional](Operator-Fractional.md) - * [Inverse Lerp](Operator-InverseLerp.md) - * [Lerp](Operator-Lerp.md) - * [Modulo](Operator-Modulo.md) - * [Multiply](Operator-Multiply.md) - * [Negate](Operator-Negate.md) - * [One Minus](Operator-OneMinus.md) - * [Power](Operator-Power.md) - * [Reciprocal](Operator-Reciprocal.md) - * [Sign](Operator-Sign.md) - * [Smoothstep](Operator-Smoothstep.md) - * [Square Root](Operator-SquareRoot.md) - * [Step](Operator-Step.md) - * [Subtract](Operator-Subtract.md) - * [Clamp](Clamp.md) - * [Ceiling](Operator-Ceiling.md) - * [Clamp](Operator-Clamp.md) - * [Discretize](Operator-Discretize.md) - * [Floor](Operator-Floor.md) - * [Maximum](Operator-Maximum.md) - * [Minimum](Operator-Minimum.md) - * [Round](Operator-Round.md) - * [Saturate](Operator-Saturate.md) - * [Constants](Constants.md) - * [Epsilon](Operator-Epsilon.md) - * [Pi](Operator-Pi.md) - * [Coordinates](Coordinates.md) - * [Polar to Rectangular](Operator-PolarToRectangular.md) - * [Rectangular to Polar](Operator-RectangularToPolar.md) - * [Rectangular to Spherical](Operator-RectangularToSpherical.md) - * [Spherical to Rectangular](Operator-SphericalToRectangular.md) - * [Exp](Operator-Exp.md) - * [Geometry](Geometry.md) - * [Area (Circle)](Operator-Area(Circle).md) - * [Change Space](Operator-ChangeSpace.md) - * [Distance (Line)](Operator-Distance(Line).md) - * [Distance (Plane)](Operator-Distance(Plane).md) - * [Distance (Sphere)](Operator-Distance(Sphere).md) - * [InvertTRS (Matrix)](Operator-InvertTRS(Matrix).md) - * [Transform (Direction)](Operator-Transform(Direction).md) - * [Transform (Matrix)](Operator-Transform(Matrix).md) - * [Transform (Position)](Operator-Transform(Position).md) - * [Transform (Vector)](Operator-Transform(Vector).md) - * [Transform (Vector4)](Operator-Transform(Vector4).md) - * [Transpose (Matrix)](Operator-Transpose(Matrix).md)) - * [Volume (Axis Aligned Box)](Operator-Volume(AxisAlignedBox).md) - * [Volume (Cone)](Operator-Volume(Cone).md) - * [Volume (Cylinder)](Operator-Volume(Cylinder).md) - * [Volume (Oriented Box)](Operator-Volume(OrientedBox).md) - * [Volume (Sphere)](Operator-Volume(Sphere).md) - * [Volume (Torus)](Operator-Volume(Torus).md) - * [Log](Operator-Log.md) - * [Remap](Remap.md) - * [Remap](Operator-Remap.md) - * [Remap [0..1] => [-1..1]](Operator-Remap(-11).md) - * [Remap [-1..1] => [0..1]](Operator-Remap(01).md) - * [Trigonometry](Trigonometry.md) - * [Acos](Operator-Acos.md) - * [Asin](Operator-Asin.md) - * [Atan](Operator-Atan.md) - * [Atan2](Operator-Atan2.md) - * [Cosine](Operator-Cosine.md) - * [Sine](Operator-Sine.md) - * [Tangent](Operator-Tangent.md) - * [Vector](Vector.md) - * [Append Vector](Operator-AppendVector.md) - * [Construct Matrix](Operator-ConstructMatrix.md) - * [Cross Product](Operator-CrossProduct.md) - * [Distance](Operator-Distance.md) - * [Dot Product](Operator-DotProduct.md) - * [Length](Operator-Length.md) - * [Look At](Operator-LookAt.md) - * [Normalize](Operator-Normalize.md) - * [Rotate 2D](Operator-Rotate2D.md) - * [Rotate 3D](Operator-Rotate3D.md) - * [Sample Bezier](Operator-SampleBezier.md) - * [Squared Distance](Operator-SquaredDistance.md) - * [Squared Length](Operator-SquaredLength.md) - * [Swizzle](Operator-Swizzle.md) - * [Wave](Wave.md) - * [Sawtooth Wave](Operator-SawtoothWave.md) - * [Sine Wave](Operator-SineWave.md) - * [Square Wave](Operator-SquareWave.md) - * [Triangle Wave](Operator-TriangleWave.md) - * [Noise](Noise.md) - * [Cellular Curl Noise](Operator-CellularCurlNoise.md) - * [Cellular Noise](Operator-CellularNoise.md) - * [Perlin Curl Noise](Operator-PerlinCurlNoise.md) - * [Perlin Noise](Operator-PerlinNoise.md) - * [Value Curl Noise](Operator-ValueCurlNoise.md) - * [Value Noise](Operator-ValueNoise.md) - * [Random](Random.md) - * [Random Number](Operator-RandomNumber.md) - * [Random Selector](Operator-RandomSelectorWeighted.md) - * [Sampling](Sampling.md) - * [Buffer Count](Operator-BufferCount.md) - * [Get Mesh Index Count](Operator-MeshIndexCount.md) - * [Get Mesh Triangle Count](Operator-MeshTriangleCount.md) - * [Get Mesh Vertex Count](Operator-MeshVertexCount.md) - * [Get Skinned Mesh Index Count](Operator-SkinnedMeshIndexCount.md) - * [Get Skinned Mesh Triangle Count](Operator-SkinnedMeshTriangleCount.md) - * [Get Skinned Mesh Vertex Count](Operator-SkinnedMeshVertexCount.md) - * [Get Skinned Mesh Local Root Transform](Operator-SkinnedLocalTransform.md) - * [Get Skinned Mesh World Root Transform](Operator-SkinnedWorldTransform.md) - * [Get Texture Dimensions](Operator-GetTextureDimensions.md) - * [Load CameraBuffer](Operator-LoadCameraBuffer.md) - * [Load Texture2D](Operator-LoadTexture2D.md) - * [Load Texture2DArray](Operator-LoadTexture2DArray.md) - * [Load Texture3D](Operator-LoadTexture3D.md) - * [Position (Depth)](Operator-Position(Depth).md) - * [Sample Buffer](Operator-SampleBuffer.md ) - * [Sample CameraBuffer](Operator-SampleCameraBuffer.md) - * [Sample Curve](Operator-SampleCurve.md) - * [Sample Gradient](Operator-SampleGradient.md) - * [Sample Mesh](Operator-SampleMesh.md) - * [Sample Mesh Index](Operator-SampleMeshIndex.md) - * [Sample Skinned Mesh](Operator-SampleSkinnedMesh.md) - * [Sample Skinned Mesh Renderer Index](Operator-SampleMeshIndex.md) - * [Sample Signed Distance Field](Operator-SampleSDF.md) - * [Sample Texture2D](Operator-SampleTexture2D.md) - * [Sample Texture2DArray](Operator-SampleTexture2DArray.md) - * [Sample Texture3D](Operator-SampleTexture3D.md) - * [Sample TextureCube](Operator-SampleTextureCube.md) - * [Sample TextureCubeArray](Operator-SampleTextureCubeArray.md) - * [Sample Attribute Map](Operator-SampleAttributeMap.md) - * [Spawn > Spawn State](Operator-SpawnState.md) - * [Utility > Point Cache](Operator-PointCache.md) + * [Velocity Blocks](Velocity.md) + * [Velocity from Direction & Speed (Change Speed) Block](Block-VelocityFromDirectionAndSpeed(ChangeSpeed).md) + * [Velocity from Direction & Speed (New Direction) Block](Block-VelocityFromDirectionAndSpeed(NewDirection).md) + * [Velocity from Direction & Speed (Random Direction)Block](Block-VelocityFromDirectionAndSpeed(RandomDirection).md) + * [Velocity from Direction & Speed (Random Direction) Block](Block-VelocityFromDirectionAndSpeed(RandomDirection).md) + * [Velocity from Direction & Speed (Tangent) Block](Block-VelocityFromDirectionAndSpeed(Tangent).md) + * [Operators](Operator.md) + * [Attribute Operators](OperatorAttribute.md) + * [Age Over Lifetime Operator](Operator-AgeOverLifetime.md) + * [Get Attribute: age Operator](Operator-GetAttributeAge.md) + * [Get Attribute: alive Operator](Operator-GetAttributeAlive.md) + * [Get Attribute: alpha Operator](Operator-GetAttributeAlpha.md) + * [Get Attribute: angle Operator](Operator-GetAttributeAngle.md) + * [Get Attribute: angularVelocity Operator](Operator-GetAttributeAngularVelocity.md) + * [Get Attribute: axisX Operator](Operator-GetAttributeAxisX.md) + * [Get Attribute: axisY Operator](Operator-GetAttributeAxisY.md) + * [Get Attribute: axisZ Operator](Operator-GetAttributeAxisZ.md) + * [Get Attribute: collisionEventCount Operator](Operator-GetAttributeCollisionEventCount.md) + * [Get Attribute: collisionEventNormal Operator](Operator-GetAttributeCollisionEventNormal.md) + * [Get Attribute: collisionEventPosition Operator](Operator-GetAttributeCollisionEventPosition.md) + * [Get Attribute: color Operator](Operator-GetAttributeColor.md) + * [Get Attribute: direction Operator](Operator-GetAttributeDirection.md) + * [Get Attribute: hasCollisionEvent Operator](Operator-GetAttributeHasCollisionEvent.md) + * [Get Attribute: lifetime Operator](Operator-GetAttributeLifetime.md) + * [Get Attribute: mass Operator](Operator-GetAttributeMass.md) + * [Get Attribute: meshIndex Operator](Operator-GetAttributeMeshIndex.md) + * [Get Attribute: oldPosition Operator](Operator-GetAttributeOldPosition.md) + * [Get Attribute: oldVelocity Operator](Operator-GetAttributeOldVelocity.md) + * [Get Attribute: particleCountInStrip Operator](Operator-GetAttributeParticleCountInStrip.md) + * [Get Attribute: particleId Operator](Operator-GetAttributeParticleID.md) + * [Get Attribute: particleIndexInStrip Operator](Operator-GetAttributeParticleIndexInStrip.md) + * [Get Attribute: pivot Operator](Operator-GetAttributePivot.md) + * [Get Attribute: position Operator](Operator-GetAttributePosition.md) + * [Get Attribute: scale Operator](Operator-GetAttributeScale.md) + * [Get Attribute: seed Operator](Operator-GetAttributeSeed.md) + * [Get Attribute: size Operator](Operator-GetAttributeSize.md) + * [Get Attribute: spawnCount Operator](Operator-GetAttributeSpawnCount.md) + * [Get Attribute: spawnIndex Operator](Operator-GetAttributeSpawnIndex.md) + * [Get Attribute: spawnIndexInStrip Operator](Operator-GetAttributeSpawnIndexInStrip.md) + * [Get Attribute: spawnTime Operator](Operator-GetAttributeSpawnTime.md) + * [Get Attribute: stripIndex Operator](Operator-GetAttributeStripIndex.md) + * [Get Attribute: targetPosition Operator](Operator-GetAttributeTargetPosition.md) + * [Get Attribute: texIndex Operator](Operator-GetAttributeTexIndex.md) + * [Get Attribute: velocity Operator](Operator-GetAttributeVelocity.md) + * [Get Custom Attribute Operator](Operator-GetCustomAttribute.md) + * [Get Ratio over Strip Operator](Operator-RatioOverStrip.md) + * [Bitwise Operators](Bitwise.md) + * [And Operator](Operator-BitwiseAnd.md) + * [Complement Operator](Operator-BitwiseComplement.md) + * [Left Shift Operator](Operator-BitwiseLeftShift.md) + * [Or Operator](Operator-BitwiseOr.md) + * [Right Shift Operator](Operator-BitwiseRightShift.md) + * [Xor Operator](Operator-BitwiseXor.md) + * [Built-in Operators](Builtin.md) + * [Delta Time Operator](Operator-DeltaTime.md) + * [Frame Index Operator](Operator-FrameIndex.md) + * [Local to World Operator](Operator-LocalToWorld.md) + * [System Seed Operator](Operator-SystemSeed.md) + * [Total Time Operator](Operator-TotalTime.md) + * [World to Local Operator](Operator-WorldToLocal.md) + * [Camera Operators](Camera.md) + * [Main Camera Operator](Operator-MainCamera.md) + * [Viewport To World Point Operator](Operator-ViewportToWorldPoint.md) + * [World To Viewport Point Operator](Operator-WorldToViewportPoint.md) + * [Color Operators](Color.md) + * [Color Luma Operator](Operator-ColorLuma.md) + * [HSV to RGB Operator](Operator-HSVToRGB.md) + * [RGB to HSV Operator](Operator-RGBToHSV.md) + * [HLSL > Custom HLSL Operator](Operator-CustomHLSL.md) + * [Inline Operators](Inline.md) + * [AABox Operator](Operator-InlineAABox.md) + * [AnimationCurve Operator](Operator-InlineAnimationCurve.md) + * [ArcCircle Operator](Operator-InlineArcCircle.md) + * [ArcCone Operator](Operator-InlineArcCone.md) + * [ArcSphere Operator](Operator-InlineArcSphere.md) + * [ArcTorus Operator](Operator-InlineArcTorus.md) + * [bool Operator](Operator-Inlinebool.md) + * [Camera Operator](Operator-InlineCamera.md) + * [Circle Operator](Operator-InlineCircle.md) + * [Color Operator](Operator-InlineColor.md) + * [Cone Operator](Operator-InlineCone.md) + * [Cubemap Operator](Operator-InlineCubemap.md) + * [CubemapArray Operator](Operator-InlineCubemapArray.md) + * [Cylinder Operator](Operator-InlineCylinder.md) + * [Direction Operator](Operator-InlineDirection.md) + * [FlipBook Operator](Operator-InlineFlipBook.md) + * [float Operator](Operator-Inlinefloat.md) + * [Gradient Operator](Operator-InlineGradient.md) + * [int Operator](Operator-Inlineint.md) + * [Line Operator](Operator-InlineLine.md) + * [Matrix4x4 Operator](Operator-InlineMatrix4x4.md) + * [Mesh Operator](Operator-InlineMesh.md) + * [OrientedBox Operator](Operator-InlineOrientedBox.md) + * [Plane Operator](Operator-InlinePlane.md) + * [Position Operator](Operator-InlinePosition.md) + * [Sphere Operator](Operator-InlineSphere.md) + * [TerrainType Operator](Operator-InlineTerrainType.md) + * [Texture2D Operator](Operator-InlineTexture2D.md) + * [Texture2DArray Operator](Operator-InlineTexture2DArray.md) + * [Texture3D Operator](Operator-InlineTexture3D.md) + * [Torus Operator](Operator-InlineTorus.md) + * [Transform Operator](Operator-InlineTransform.md) + * [uint Operator](Operator-Inlineuint.md) + * [Vector Operator](Operator-InlineVector.md) + * [Vector2 Operator](Operator-InlineVector2.md) + * [Vector3 Operator](Operator-InlineVector3.md) + * [Vector4 Operator](Operator-InlineVector4.md) + * [Logic Operators](Logic.md) + * [And Operator](Operator-LogicAnd.md) + * [Branch Operator](Operator-Branch.md) + * [Compare Operator](Operator-Compare.md) + * [Nand Operator](Operator-LogicNand.md) + * [Nor Operator](Operator-LogicNor.md) + * [Not Operator](Operator-LogicNot.md) + * [Or Operator](Operator-LogicOr.md) + * [Switch Operator](Operator-Switch.md) + * [Math Operators](Math.md) + * [Arithmetic Operators](Arithmetic.md) + * [Absolute Operator](Operator-Absolute.md) + * [Add Operator](Operator-Add.md) + * [Divide Operator](Operator-Divide.md) + * [Fractional Operator](Operator-Fractional.md) + * [Inverse Lerp Operator](Operator-InverseLerp.md) + * [Lerp Operator](Operator-Lerp.md) + * [Modulo Operator](Operator-Modulo.md) + * [Multiply Operator](Operator-Multiply.md) + * [Negate Operator](Operator-Negate.md) + * [One Minus Operator](Operator-OneMinus.md) + * [Power Operator](Operator-Power.md) + * [Reciprocal Operator](Operator-Reciprocal.md) + * [Sign Operator](Operator-Sign.md) + * [Smoothstep Operator](Operator-Smoothstep.md) + * [Square Root Operator](Operator-SquareRoot.md) + * [Step Operator](Operator-Step.md) + * [Subtract Operator](Operator-Subtract.md) + * [Clamp Operators](Clamp.md) + * [Ceiling Operator](Operator-Ceiling.md) + * [Clamp Operator](Operator-Clamp.md) + * [Discretize Operator](Operator-Discretize.md) + * [Floor Operator](Operator-Floor.md) + * [Maximum Operator](Operator-Maximum.md) + * [Minimum Operator](Operator-Minimum.md) + * [Round Operator](Operator-Round.md) + * [Saturate Operator](Operator-Saturate.md) + * [Constants Operators](Constants.md) + * [Epsilon Operator](Operator-Epsilon.md) + * [Pi Operator](Operator-Pi.md) + * [Coordinates Operators](Coordinates.md) + * [Polar to Rectangular Operator](Operator-PolarToRectangular.md) + * [Rectangular to Polar Operator](Operator-RectangularToPolar.md) + * [Rectangular to Spherical Operator](Operator-RectangularToSpherical.md) + * [Spherical to Rectangular Operator](Operator-SphericalToRectangular.md) + * [Exp Operator](Operator-Exp.md) + * [Geometry Operators](Geometry.md) + * [Change Space Operator](Operator-ChangeSpace.md) + * [Distance (Line) Operator](Operator-Distance(Line).md) + * [Distance (Plane) Operator](Operator-Distance(Plane).md) + * [Distance (Sphere) Operator](Operator-Distance(Sphere).md) + * [InvertTRS (Matrix) Operator](Operator-InvertTRS(Matrix).md) + * [Transform (Direction) Operator](Operator-Transform(Direction).md) + * [Transform (Matrix) Operator](Operator-Transform(Matrix).md) + * [Transform (Position) Operator](Operator-Transform(Position).md) + * [Transform (Vector) Operator](Operator-Transform(Vector).md) + * [Transform (Vector4) Operator](Operator-Transform(Vector4).md) + * [Transpose (Matrix) Operator](Operator-Transpose(Matrix).md) + * [Volume (Axis Aligned Box) Operator](Operator-Volume(AxisAlignedBox).md) + * [Volume (Cone) Operator](Operator-Volume(Cone).md) + * [Volume (Cylinder) Operator](Operator-Volume(Cylinder).md) + * [Volume (Oriented Box) Operator](Operator-Volume(OrientedBox).md) + * [Volume (Sphere) Operator](Operator-Volume(Sphere).md) + * [Volume (Torus) Operator](Operator-Volume(Torus).md) + * [Log Operator](Operator-Log.md) + * [Remap Operators](Remap.md) + * [Remap Operator](Operator-Remap.md) + * [Remap [0..1] => [-1..1] Operator](Operator-Remap(-11).md) + * [Remap [-1..1] => [0..1] Operator](Operator-Remap(01).md) + * [Trigonometry Operators](Trigonometry.md) + * [Acos Operator](Operator-Acos.md) + * [Asin Operator](Operator-Asin.md) + * [Atan Operator](Operator-Atan.md) + * [Atan2 Operator](Operator-Atan2.md) + * [Cosine Operator](Operator-Cosine.md) + * [Sine Operator](Operator-Sine.md) + * [Tangent Operator](Operator-Tangent.md) + * [Vector Operators](Vector.md) + * [Append Vector Operator](Operator-AppendVector.md) + * [Construct Matrix Operator](Operator-ConstructMatrix.md) + * [Cross Product Operator](Operator-CrossProduct.md) + * [Distance Operator](Operator-Distance.md) + * [Dot Product Operator](Operator-DotProduct.md) + * [Length Operator Operator](Operator-Length.md) + * [Look At Operator](Operator-LookAt.md) + * [Normalize Operator](Operator-Normalize.md) + * [Rotate 2D Operator](Operator-Rotate2D.md) + * [Rotate 3D Operator](Operator-Rotate3D.md) + * [Sample Bezier Operator](Operator-SampleBezier.md) + * [Squared Distance Operator](Operator-SquaredDistance.md) + * [Squared Length Operator](Operator-SquaredLength.md) + * [Swizzle Operator](Operator-Swizzle.md) + * [Wave Operators](Wave.md) + * [Sawtooth Wave Operator](Operator-SawtoothWave.md) + * [Sine Wave Operator](Operator-SineWave.md) + * [Square Wave Operator](Operator-SquareWave.md) + * [Triangle Wave Operator](Operator-TriangleWave.md) + * [Noise Operators](Noise.md) + * [Cellular Curl Noise Operator](Operator-CellularCurlNoise.md) + * [Cellular Noise Operator](Operator-CellularNoise.md) + * [Perlin Curl Noise Operator](Operator-PerlinCurlNoise.md) + * [Perlin Noise Operator](Operator-PerlinNoise.md) + * [Value Curl Noise Operator](Operator-ValueCurlNoise.md) + * [Value Noise Operator](Operator-ValueNoise.md) + * [Random Operators](Random.md) + * [Random Number Operator](Operator-RandomNumber.md) + * [Random Selector Operator](Operator-RandomSelectorWeighted.md) + * [Sampling Operators](Sampling.md) + * [Buffer Count Operator](Operator-BufferCount.md) + * [Get Mesh Index Count Operator](Operator-MeshIndexCount.md) + * [Get Mesh Triangle Count Operator](Operator-MeshTriangleCount.md) + * [Get Mesh Vertex Count Operator](Operator-MeshVertexCount.md) + * [Get Skinned Mesh Index Count Operator](Operator-SkinnedMeshIndexCount.md) + * [Get Skinned Mesh Triangle Count Operator](Operator-SkinnedMeshTriangleCount.md) + * [Get Skinned Mesh Vertex Count Operator](Operator-SkinnedMeshVertexCount.md) + * [Get Skinned Mesh Local Root Transform Operator](Operator-SkinnedLocalTransform.md) + * [Get Skinned Mesh World Root Transform Operator](Operator-SkinnedWorldTransform.md) + * [Get Texture Dimensions Operator](Operator-GetTextureDimensions.md) + * [Load CameraBuffer Operator](Operator-LoadCameraBuffer.md) + * [Load Texture2D Operator](Operator-LoadTexture2D.md) + * [Load Texture2DArray Operator](Operator-LoadTexture2DArray.md) + * [Load Texture3D Operator](Operator-LoadTexture3D.md) + * [Position (Depth) Operator](Operator-Position(Depth).md) + * [Sample Buffer Operator](Operator-SampleBuffer.md) + * [Sample CameraBuffer Operator](Operator-SampleCameraBuffer.md) + * [Sample Curve Operator](Operator-SampleCurve.md) + * [Sample Gradient Operator](Operator-SampleGradient.md) + * [Sample Mesh Operator](Operator-SampleMesh.md) + * [Sample Mesh Index Operator](Operator-SampleMeshIndex.md) + * [Sample Skinned Mesh Operator](Operator-SampleSkinnedMesh.md) + * [Sample Skinned Mesh Renderer Index Operator](Operator-SampleMeshIndex.md) + * [Sample Signed Distance Field Operator](Operator-SampleSDF.md) + * [Sample Texture2D Operator](Operator-SampleTexture2D.md) + * [Sample Texture2DArray Operator](Operator-SampleTexture2DArray.md) + * [Sample Texture3D Operator](Operator-SampleTexture3D.md) + * [Sample TextureCube Operator](Operator-SampleTextureCube.md) + * [Sample TextureCubeArray Operator](Operator-SampleTextureCubeArray.md) + * [Sample Attribute Map Operator](Operator-SampleAttributeMap.md) + * [Spawn > Spawn State Operator](Operator-SpawnState.md) + * [Utility > Point Cache Operator](Operator-PointCache.md) * [Performance and optimization](performance-debug-panel.md) * [Reference](Reference.md) * [Standard Attributes](Reference-Attributes.md) diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Templates-window.md b/Packages/com.unity.visualeffectgraph/Documentation~/Templates-window.md index d8f34d7b991..e00d74db002 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Templates-window.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Templates-window.md @@ -1,4 +1,4 @@ -# Default VFX Graph Templates window +# VFX Graph template window Use the template window to create a VFX Graph asset with a predefined effect. You can use these templates as a starting point for your own effects. Each template has a description and an image to describe its behavior. diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Timeline.md b/Packages/com.unity.visualeffectgraph/Documentation~/Timeline.md index da8dafa725d..71949160acf 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Timeline.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Timeline.md @@ -1,4 +1,4 @@ -# Visual Effects and Timeline +# Using Visual Effects and Timeline Use Unity’s [Timeline](https://docs.unity3d.com/Packages/com.unity.timeline@latest/index.html?subfolder=/manual/index.html) to control a Visual Effect Graph’s properties and [Events](#Events). To do this, add the following to a [Timeline instance](https://docs.unity3d.com/Packages/com.unity.timeline@latest/index.html?subfolder=/manual/wf_instance.html): diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Trigonometry.md b/Packages/com.unity.visualeffectgraph/Documentation~/Trigonometry.md index 0d3658633e8..1bd91bcaa34 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Trigonometry.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Trigonometry.md @@ -4,13 +4,13 @@ Perform trigonometric calculations. | **Page** | **Description** | | --- | --- | -| [Acos](Operator-Acos.md) | Calculate the arccosine (inverse cosine) of an input. | -| [Asin](Operator-Asin.md) | Calculate the arcsine (inverse sine) of an input. | -| [Atan](Operator-Atan.md) | Calculate the arctangent (inverse tangent) of an input. | -| [Atan2](Operator-Atan2.md) | Calculate the angle between the x-axis and a vector. | -| [Cosine](Operator-Cosine.md) | Calculate the cosine of an input. | -| [Sine](Operator-Sine.md) | Calculate the sine of an input. | -| [Tangent](Operator-Tangent.md) | Calculate the tangent of an input. | +| [Acos Operator](Operator-Acos.md) | Calculate the arccosine (inverse cosine) of an input. | +| [Asin Operator](Operator-Asin.md) | Calculate the arcsine (inverse sine) of an input. | +| [Atan Operator](Operator-Atan.md) | Calculate the arctangent (inverse tangent) of an input. | +| [Atan2 Operator](Operator-Atan2.md) | Calculate the angle between the x-axis and a vector. | +| [Cosine Operator](Operator-Cosine.md) | Calculate the cosine of an input. | +| [Sine Operator](Operator-Sine.md) | Calculate the sine of an input. | +| [Tangent Operator](Operator-Tangent.md) | Calculate the tangent of an input. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Vector.md b/Packages/com.unity.visualeffectgraph/Documentation~/Vector.md index d46a00d38b6..353eed1ea2d 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Vector.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Vector.md @@ -4,20 +4,20 @@ Perform vector and matrix calculations. | **Page** | **Description** | | --- | --- | -| [Append Vector](Operator-AppendVector.md) | Combine up to four inputs into a single vector. | -| [Construct Matrix](Operator-ConstructMatrix.md) | Construct a 4x4 matrix from four `Vector4` values. | -| [Cross Product](Operator-CrossProduct.md) | Calculate the vector that's perpendicular to two input vectors | -| [Distance](Operator-Distance.md) | Calculate the distance between two points. | -| [Dot Product](Operator-DotProduct.md) | Determine whether two normalized vectors point in the same direction. | -| [Length](Operator-Length.md) | Calculate the length of a vector. | -| [Look At](Operator-LookAt.md) | Calculate the transform required to rotate a particle to look at a position. | -| [Normalize](Operator-Normalize.md) | Normalize a vector. | -| [Rotate 2D](Operator-Rotate2D.md) | Rotate a point in 2D around a center point. | -| [Rotate 3D](Operator-Rotate3D.md) | Rotate a point in 3D around a center point. | -| [Sample Bezier](Operator-SampleBezier.md) | Return information about a curve. | -| [Squared Distance](Operator-SquaredDistance.md) | Calculate the square of the distance between two points. | -| [Squared Length](Operator-SquaredLength.md) | Calculate the square of the length of a vector. | -| [Swizzle](Operator-Swizzle.md) | Rearrange the components of an input vector. | +| [Append Vector Operator](Operator-AppendVector.md) | Combine up to four inputs into a single vector. | +| [Construct Matrix Operator](Operator-ConstructMatrix.md) | Construct a 4x4 matrix from four `Vector4` values. | +| [Cross Product Operator](Operator-CrossProduct.md) | Calculate the vector that's perpendicular to two input vectors | +| [Distance Operator](Operator-Distance.md) | Calculate the distance between two points. | +| [Dot Product Operator](Operator-DotProduct.md) | Determine whether two normalized vectors point in the same direction. | +| [Length Operator](Operator-Length.md) | Calculate the length of a vector. | +| [Look At Operator](Operator-LookAt.md) | Calculate the transform required to rotate a particle to look at a position. | +| [Normalize Operator](Operator-Normalize.md) | Normalize a vector. | +| [Rotate 2D Operator](Operator-Rotate2D.md) | Rotate a point in 2D around a center point. | +| [Rotate 3D Operator](Operator-Rotate3D.md) | Rotate a point in 3D around a center point. | +| [Sample Bezier Operator](Operator-SampleBezier.md) | Return information about a curve. | +| [Squared Distance Operator](Operator-SquaredDistance.md) | Calculate the square of the distance between two points. | +| [Squared Length Operator](Operator-SquaredLength.md) | Calculate the square of the length of a vector. | +| [Swizzle Operator](Operator-Swizzle.md) | Rearrange the components of an input vector. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Velocity.md b/Packages/com.unity.visualeffectgraph/Documentation~/Velocity.md index cb14d7ffd83..693b821248a 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Velocity.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Velocity.md @@ -4,11 +4,11 @@ Dynamically adjust the velocity of particles. | **Page** | **Description** | | --- | --- | -| [Velocity from Direction & Speed (Change Speed)](Block-VelocityFromDirectionAndSpeed(ChangeSpeed).md) | Calculate velocity by scaling the direction of the particle using its speed. | -| [Velocity from Direction & Speed (New Direction)](Block-VelocityFromDirectionAndSpeed(NewDirection).md) | Calculate velocity by scaling a new direction vector using the speed of the particle. | -| [Velocity from Direction & Speed (Random Direction)](Block-VelocityFromDirectionAndSpeed(RandomDirection).md) | Calculate velocity by scaling a random direction vector using the speed of the particle. | -| [Velocity from Direction & Speed (Spherical)](Block-VelocityFromDirectionAndSpeed(Spherical).md) | Calculate velocity by scaling a spherical direction vector using the speed of the particle. | -| [Velocity from Direction & Speed (Tangent)](Block-VelocityFromDirectionAndSpeed(Tangent).md) | Calculate velocity by scaling a tangent direction vector using the speed of the particle. | +| [Velocity from Direction & Speed (Change Speed) Block](Block-VelocityFromDirectionAndSpeed(ChangeSpeed).md) | Calculate velocity by scaling the direction of the particle using its speed. | +| [Velocity from Direction & Speed (New Direction) Block](Block-VelocityFromDirectionAndSpeed(NewDirection).md) | Calculate velocity by scaling a new direction vector using the speed of the particle. | +| [Velocity from Direction & Speed (Random Direction) Block](Block-VelocityFromDirectionAndSpeed(RandomDirection).md) | Calculate velocity by scaling a random direction vector using the speed of the particle. | +| [Velocity from Direction & Speed (Spherical) Block](Block-VelocityFromDirectionAndSpeed(Spherical).md) | Calculate velocity by scaling a spherical direction vector using the speed of the particle. | +| [Velocity from Direction & Speed (Tangent) Block](Block-VelocityFromDirectionAndSpeed(Tangent).md) | Calculate velocity by scaling a tangent direction vector using the speed of the particle. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/VisualEffectPreferences.md b/Packages/com.unity.visualeffectgraph/Documentation~/VisualEffectPreferences.md index 470e9c677bd..beaab342da3 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/VisualEffectPreferences.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/VisualEffectPreferences.md @@ -3,10 +3,10 @@ The Visual Effect Graph preferences are in the Unity Preferences window. To access them: Windows: -* Navigate to **Edit > Preferences > Visual Effects** +* Navigate to **Edit** > **Preferences** > **Visual Effects** macOS: -* Navigate to **Unity > Settings > Visual Effects** +* Navigate to **Unity** > **Settings** > **Visual Effects** ## Properties: diff --git a/Packages/com.unity.visualeffectgraph/Documentation~/Wave.md b/Packages/com.unity.visualeffectgraph/Documentation~/Wave.md index abe7993164e..0fb8b6644a1 100644 --- a/Packages/com.unity.visualeffectgraph/Documentation~/Wave.md +++ b/Packages/com.unity.visualeffectgraph/Documentation~/Wave.md @@ -4,10 +4,10 @@ Generate waveforms, for example to control the behavior of particles over time. | **Page** | **Description** | | --- | --- | -| [Sawtooth Wave](Operator-SawtoothWave.md) | Generate a waveform that increases, then resets and repeats. | -| [Sine Wave](Operator-SineWave.md) | Generate a waveform that smoothly oscillates between two values. | -| [Square Wave](Operator-SquareWave.md) | Generate a value that alternates between two values. | -| [Triangle Wave](Operator-TriangleWave.md) | Generate a value that oscillates between two values. | +| [Sawtooth Wave Operator](Operator-SawtoothWave.md) | Generate a waveform that increases, then resets and repeats. | +| [Sine Wave Operator](Operator-SineWave.md) | Generate a waveform that smoothly oscillates between two values. | +| [Square Wave Operator](Operator-SquareWave.md) | Generate a value that alternates between two values. | +| [Triangle Wave Operator](Operator-TriangleWave.md) | Generate a value that oscillates between two values. | ## Additional resources diff --git a/Packages/com.unity.visualeffectgraph/Editor/GraphView/Blackboard/VFXBlackboard.cs b/Packages/com.unity.visualeffectgraph/Editor/GraphView/Blackboard/VFXBlackboard.cs index 7103b67098f..bdd58ca0105 100644 --- a/Packages/com.unity.visualeffectgraph/Editor/GraphView/Blackboard/VFXBlackboard.cs +++ b/Packages/com.unity.visualeffectgraph/Editor/GraphView/Blackboard/VFXBlackboard.cs @@ -542,7 +542,8 @@ private DragVisualMode OnDragAndDropUpdate(HandleDragAndDropArgs arg) { return DragVisualMode.Move; } - else if (arg.dropPosition == DragAndDropPosition.BetweenItems && parentItem is CustomAttributeCategory && m_Treeview.selectedItems.All(x => x is AttributeItem)) + // Allow custom attributes to be reordered, but disallow re-categorizing built-in attributes + else if (arg.dropPosition == DragAndDropPosition.BetweenItems && parentItem is CustomAttributeCategory && m_Treeview.selectedItems.All(x => x is AttributeItem xAttr && !xAttr.isBuiltIn)) { return DragVisualMode.Move; } diff --git a/Packages/com.unity.visualeffectgraph/Editor/Models/Contexts/Implementations/VFXOutputEvent.cs b/Packages/com.unity.visualeffectgraph/Editor/Models/Contexts/Implementations/VFXOutputEvent.cs index b4c3c856481..0be53e66f2c 100644 --- a/Packages/com.unity.visualeffectgraph/Editor/Models/Contexts/Implementations/VFXOutputEvent.cs +++ b/Packages/com.unity.visualeffectgraph/Editor/Models/Contexts/Implementations/VFXOutputEvent.cs @@ -6,6 +6,7 @@ namespace UnityEditor.VFX { + [VFXHelpURL("Context-OutputEvent")] [VFXInfo(name = "Output Event", category = "#1Event")] class VFXOutputEvent : VFXContext { diff --git a/Packages/com.unity.visualeffectgraph/Editor/Models/Contexts/Implementations/VFXQuadStripOutput.cs b/Packages/com.unity.visualeffectgraph/Editor/Models/Contexts/Implementations/VFXQuadStripOutput.cs index c1153f296ba..cd84dd493dc 100644 --- a/Packages/com.unity.visualeffectgraph/Editor/Models/Contexts/Implementations/VFXQuadStripOutput.cs +++ b/Packages/com.unity.visualeffectgraph/Editor/Models/Contexts/Implementations/VFXQuadStripOutput.cs @@ -4,6 +4,7 @@ namespace UnityEditor.VFX { + [VFXHelpURL("Context-OutputStripQuad")] [VFXInfo(name = "Output ParticleStrip|Unlit|Quad", category = "#3Output Strip", experimental = true, synonyms = new []{ "Trail", "Ribbon" })] class VFXQuadStripOutput : VFXShaderGraphParticleOutput { diff --git a/Packages/com.unity.visualeffectgraph/Shaders/VFXOutputUpdate.template b/Packages/com.unity.visualeffectgraph/Shaders/VFXOutputUpdate.template index 8180da5c06b..20b2311e023 100644 --- a/Packages/com.unity.visualeffectgraph/Shaders/VFXOutputUpdate.template +++ b/Packages/com.unity.visualeffectgraph/Shaders/VFXOutputUpdate.template @@ -171,7 +171,7 @@ void CSMain(uint3 groupId : SV_GroupID, radius *= radiusScale; #if VFX_FEATURE_FRUSTUM_CULL - if (IsSphereOutsideFrustum(elementToWorld._m03_m13_m23, radius, _FrustumPlanes)) + if (IsSphereOutsideFrustum(elementToWorld._m03_m13_m23, radius, unity_CameraWorldClipPlanes)) return; #endif #endif @@ -182,7 +182,7 @@ void CSMain(uint3 groupId : SV_GroupID, #if !VFX_FEATURE_FRUSTUM_CULL // If particle is out of frustum and frustum culling is disabled, use the lowest LOD // This is useful for shadow passes for instance to avoid out of frustum particles to be culled from shadows - if (IsSphereOutsideFrustum(elementToWorld._m03_m13_m23, radius, _FrustumPlanes)) + if (IsSphereOutsideFrustum(elementToWorld._m03_m13_m23, radius, unity_CameraWorldClipPlanes)) outputIndex = INDIRECT_BUFFER_COUNT - 1; else #endif diff --git a/Packages/com.unity.visualeffectgraph/Shaders/VFXVolumetricFogUpdate.template b/Packages/com.unity.visualeffectgraph/Shaders/VFXVolumetricFogUpdate.template index e0d49b878ff..0127a66acf8 100644 --- a/Packages/com.unity.visualeffectgraph/Shaders/VFXVolumetricFogUpdate.template +++ b/Packages/com.unity.visualeffectgraph/Shaders/VFXVolumetricFogUpdate.template @@ -136,7 +136,7 @@ void CSMain(uint3 groupId : SV_GroupID, bool fogParticleVisible = startSliceIndex <= uint(_MaxSliceCount); #if defined(VFX_FEATURE_FRUSTUM_CULL) - if (!IsSphereOutsideFrustum(vPosWS, radius, _FrustumPlanes)) + if (!IsSphereOutsideFrustum(vPosWS, radius, unity_CameraWorldClipPlanes)) #endif if (attributes.alive && fogParticleVisible) diff --git a/Tests/SRPTests/Packages/com.unity.testing.hdrp/TestRunner/HDRP_GraphicTestRunner.cs b/Tests/SRPTests/Packages/com.unity.testing.hdrp/TestRunner/HDRP_GraphicTestRunner.cs index 0501629d6fe..45e43d95e37 100644 --- a/Tests/SRPTests/Packages/com.unity.testing.hdrp/TestRunner/HDRP_GraphicTestRunner.cs +++ b/Tests/SRPTests/Packages/com.unity.testing.hdrp/TestRunner/HDRP_GraphicTestRunner.cs @@ -65,9 +65,9 @@ public static IEnumerator Run(SceneGraphicsTestCase testCase) // Purpose is to setup proper test aspect ratio for the camera to "see" all objects and trigger related shader compilation tasks. int warmupTime = 1; - if (XRGraphicsAutomatedTests.enabled) - warmupTime = Unity.Testing.XR.Runtime.ConfigureMockHMD.SetupTest(settings.xrCompatible, warmupTime, settings.ImageComparisonSettings); - else + Unity.Testing.XR.Runtime.ConfigureMockHMD.SetupTest(settings.xrCompatible, warmupTime, settings.ImageComparisonSettings); + + if (!XRGraphicsAutomatedTests.enabled) camera.targetTexture = RenderTexture.GetTemporary(settings.ImageComparisonSettings.TargetWidth, settings.ImageComparisonSettings.TargetHeight); // Trigger any test specific script. This is because it may change objects state and trigger shader compilation. @@ -147,7 +147,21 @@ public static IEnumerator Run(SceneGraphicsTestCase testCase) if (XRGraphicsAutomatedTests.enabled) { - waitFrames = Unity.Testing.XR.Runtime.ConfigureMockHMD.SetupTest(settings.xrCompatible, waitFrames, settings.ImageComparisonSettings); + if (settings.xrCompatible) + { + Unity.Testing.XR.Runtime.ConfigureMockHMD.ConfigureXRDisplay(settings.xrCompatible, settings.ImageComparisonSettings); + + #if !UNITY_EDITOR + // Some tests need time after eye resolution change before setting player resolution + yield return Unity.Testing.XR.Runtime.ConfigureMockHMD.WaitForXRFrames(settings.xrCompatible, 1); + #endif + + waitFrames = Unity.Testing.XR.Runtime.ConfigureMockHMD.SetPlayerResolutionForXR(settings.xrCompatible, settings.ImageComparisonSettings, waitFrames); + } + else + { + Assert.Ignore("Test scene is not compatible with XR and will be skipped."); + } // Increase tolerance to account for slight changes due to float precision settings.ImageComparisonSettings.AverageCorrectnessThreshold *= settings.xrThresholdMultiplier; diff --git a/Tests/SRPTests/Packages/com.unity.testing.xr/Runtime/ConfigureMockHMD.cs b/Tests/SRPTests/Packages/com.unity.testing.xr/Runtime/ConfigureMockHMD.cs index 3b38248f9c3..1dc939a5f81 100644 --- a/Tests/SRPTests/Packages/com.unity.testing.xr/Runtime/ConfigureMockHMD.cs +++ b/Tests/SRPTests/Packages/com.unity.testing.xr/Runtime/ConfigureMockHMD.cs @@ -1,5 +1,8 @@ +using System.Collections; using NUnit.Framework; using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; using UnityEngine; using UnityEngine.Rendering; @@ -11,6 +14,15 @@ namespace Unity.Testing.XR.Runtime { public class ConfigureMockHMD { + /// + /// Configures MockHMD for XR testing with specified image comparison settings. + /// Sets up the XR display subsystem and configures the player resolution to match. + /// On XR, the player resolution must match the target width and target height specified in the settings. + /// + /// Whether the test scene is compatible with XR. + /// Number of frames to wait before test execution. + /// Image comparison settings containing target resolution. + /// Number of frames to wait. Returns at least 4 frames for XR eye texture resizing when XR is enabled. static public int SetupTest(bool xrCompatible, int waitFrames, UnityEngine.TestTools.Graphics.ImageComparisonSettings settings) { #if ENABLE_VR && USE_XR_MOCK_HMD @@ -18,42 +30,121 @@ static public int SetupTest(bool xrCompatible, int waitFrames, UnityEngine.TestT { if (xrCompatible) { - XRGraphicsAutomatedTests.running = true; + ConfigureXRDisplay(xrCompatible, settings); + int resolutionWaitFrames = SetPlayerResolutionForXR(xrCompatible, settings, waitFrames); - // Validate MockHMD is enabled and running - List xrDisplays = new List(); - SubsystemManager.GetSubsystems(xrDisplays); - Assume.That(xrDisplays.Count == 1 && xrDisplays[0].running, "XR display MockHMD is not running!"); - - // Configure MockHMD to use single-pass and compare reference image against second view (right eye) - xrDisplays[0].SetPreferredMirrorBlitMode(XRMirrorViewBlitMode.RightEye); - - // Configure MockHMD stereo mode - xrDisplays[0].textureLayout = XRDisplaySubsystem.TextureLayout.Texture2DArray; - Unity.XR.MockHMD.MockHMD.SetRenderMode(Unity.XR.MockHMD.MockHMDBuildSettings.RenderMode.SinglePassInstanced); - - // Configure MockHMD to match the original settings from the test scene - UnityEngine.TestTools.Graphics.ImageAssert.GetImageResolution(settings, out int w, out int h); - Unity.XR.MockHMD.MockHMD.SetEyeResolution(w, h); - Unity.XR.MockHMD.MockHMD.SetMirrorViewCrop(0.0f); - -#if UNITY_EDITOR - UnityEditor.TestTools.Graphics.SetupGraphicsTestCases.SetGameViewSize(w, h); -#else - Screen.SetResolution(w, h, FullScreenMode.Windowed); -#endif + // XR plugin MockHMD requires a few frames to resize eye textures + return Mathf.Max(waitFrames, resolutionWaitFrames); } else { Assert.Ignore("Test scene is not compatible with XR and will be skipped."); } - - // XR plugin MockHMD requires a few frames to resize eye textures - return Mathf.Max(waitFrames, 4); } #endif return waitFrames; } + + /// + /// Configures the XR display subsystem for MockHMD testing. + /// Sets up single-pass instanced rendering, mirror blit mode, eye resolution, and validates the display is running. + /// On XR, configures eye resolution to match the target width and target height specified in the settings. + /// Safe to call regardless of XR context - will only execute when ENABLE_VR and USE_XR_MOCK_HMD are defined and test is XR compatible. + /// + /// Whether the test scene is compatible with XR. + /// Image comparison settings containing target resolution. + static public void ConfigureXRDisplay(bool xrCompatible, UnityEngine.TestTools.Graphics.ImageComparisonSettings settings) + { + #if ENABLE_VR && USE_XR_MOCK_HMD + if (XRGraphicsAutomatedTests.enabled && xrCompatible) + { + XRGraphicsAutomatedTests.running = true; + + var resolution = GetResolutionFromSettings(settings); + + // Validate MockHMD is enabled and running + List xrDisplays = new List(); + SubsystemManager.GetSubsystems(xrDisplays); + Assume.That(xrDisplays.Count == 1 && xrDisplays[0].running, "XR display MockHMD is not running!"); + + // Configure MockHMD to use single-pass and compare reference image against second view (right eye) + xrDisplays[0].SetPreferredMirrorBlitMode(XRMirrorViewBlitMode.RightEye); + + // Configure MockHMD stereo mode + xrDisplays[0].textureLayout = XRDisplaySubsystem.TextureLayout.Texture2DArray; + Unity.XR.MockHMD.MockHMD.SetRenderMode(Unity.XR.MockHMD.MockHMDBuildSettings.RenderMode.SinglePassInstanced); + + Unity.XR.MockHMD.MockHMD.SetEyeResolution(resolution.width, resolution.height); + Unity.XR.MockHMD.MockHMD.SetMirrorViewCrop(0.0f); + } + #endif + } + + + /// + /// Sets the player/game view resolution to match XR eye texture resolution. + /// On XR, this resolution must match the target width and target height of the test settings. + /// Safe to call regardless of XR context - will only execute when ENABLE_VR and USE_XR_MOCK_HMD are defined and test is XR compatible. + /// + /// Whether the test scene is compatible with XR. + /// Image comparison settings containing target resolution. + /// Base number of frames to wait. + /// Number of frames to wait (4) for XR eye textures to properly resize, or original waitFrames if not in XR context. + static public int SetPlayerResolutionForXR(bool xrCompatible, UnityEngine.TestTools.Graphics.ImageComparisonSettings settings, int waitFrames) + { + #if ENABLE_VR && USE_XR_MOCK_HMD + if (XRGraphicsAutomatedTests.enabled && xrCompatible) + { + XRGraphicsAutomatedTests.running = true; + + var resolution = GetResolutionFromSettings(settings); + + #if UNITY_EDITOR + UnityEditor.TestTools.Graphics.SetupGraphicsTestCases.SetGameViewSize(resolution.width, resolution.height); + #else + Screen.SetResolution(resolution.width, resolution.height, FullScreenMode.Windowed); + #endif + return Mathf.Max(waitFrames, 4); + } + #endif + return waitFrames; + } + + /// + /// Waits for the specified number of frames when XR is active and the test is XR compatible. + /// This is useful for allowing XR eye textures and display settings to properly update after configuration changes. + /// Only yields frames when ENABLE_VR and USE_XR_MOCK_HMD are defined, XRGraphicsAutomatedTests is enabled, and test is XR compatible. + /// Otherwise, completes immediately without waiting. + /// + /// Whether the test scene is compatible with XR. + /// Number of frames to wait. + /// IEnumerator for coroutine execution. + static public IEnumerator WaitForXRFrames(bool xrCompatible, int frameCount) + { + #if ENABLE_VR && USE_XR_MOCK_HMD + if (XRGraphicsAutomatedTests.enabled && xrCompatible) + { + for (int i = 0; i < frameCount; i++) + { + yield return new WaitForEndOfFrame(); + } + } + #endif + yield break; + } + + /// + /// Extracts the target resolution from image comparison settings. + /// Delegates to ImageAssert.GetImageResolution so the configured eye texture and player + /// resolutions match the resolution ImageAssert uses to read back pixels for comparison. + /// + /// Image comparison settings. + /// Resolution as (width, height) tuple. + static private (int width, int height) GetResolutionFromSettings(UnityEngine.TestTools.Graphics.ImageComparisonSettings settings) + { + UnityEngine.TestTools.Graphics.ImageAssert.GetImageResolution(settings, out int w, out int h); + return (w, h); + } } } diff --git a/Tests/SRPTests/Projects/HDRP_RuntimeTests/Assets/Tests/HDRP_Runtime_Graphics_Tests.cs b/Tests/SRPTests/Projects/HDRP_RuntimeTests/Assets/Tests/HDRP_Runtime_Graphics_Tests.cs index 8e9ece62747..92ddc3150f0 100644 --- a/Tests/SRPTests/Projects/HDRP_RuntimeTests/Assets/Tests/HDRP_Runtime_Graphics_Tests.cs +++ b/Tests/SRPTests/Projects/HDRP_RuntimeTests/Assets/Tests/HDRP_Runtime_Graphics_Tests.cs @@ -14,15 +14,21 @@ public class HDRP_Runtime_Graphics_Tests #endif { [IgnoreGraphicsTest("001-HDTemplate", "https://jira.unity3d.com/browse/UUM-48116", graphicsDeviceTypes: new GraphicsDeviceType[] { GraphicsDeviceType.Metal })] + [IgnoreGraphicsTest("001-HDTemplate", "Small issue with incorrect rendering on bubble. Some half overflow issue and flickering artifacts. Will need image update when fixed", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch })] [IgnoreGraphicsTest("002-HDMaterials", "", graphicsDeviceTypes: new GraphicsDeviceType[] { GraphicsDeviceType.Metal })] [IgnoreGraphicsTest("003-VirtualTexturing", "", graphicsDeviceTypes: new GraphicsDeviceType[] { GraphicsDeviceType.Metal })] [IgnoreGraphicsTest("003-VirtualTexturing", "VT not supported on Switch", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch })] + [IgnoreGraphicsTest("003-VirtualTexturing", "VT disabled in Switch2 builds on this stream", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch2 })] [IgnoreGraphicsTest("003-VirtualTexturing-Forward", "", graphicsDeviceTypes: new GraphicsDeviceType[] { GraphicsDeviceType.Metal })] [IgnoreGraphicsTest("003-VirtualTexturing-Forward", "VT not supported on Switch", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch })] + [IgnoreGraphicsTest("003-VirtualTexturing-Forward", "VT disabled in Switch2 builds on this stream", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch2 })] + [IgnoreGraphicsTest("006-Compositor", "https://jira.unity3d.com/browse/UUM-147661", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch2 })] + [IgnoreGraphicsTest("011-HighQualityLines", "Hangs the device: https://jira.unity3d.com/browse/UUM-147662", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch, RuntimePlatform.Switch2 })] [IgnoreGraphicsTest("003-VirtualTexturing-Forward", "https://jira.unity3d.com/browse/UUM-51336", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.GameCoreXboxSeries })] [IgnoreGraphicsTest("007-BasicAPV", "https://jira.unity3d.com/browse/UUM-54029", graphicsDeviceTypes: new GraphicsDeviceType[] { GraphicsDeviceType.Metal }, architectures: new Architecture[] { Architecture.X64 })] [IgnoreGraphicsTest("012-SVL_Check", "https://jira.unity3d.com/browse/UUM-70791", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.PS4 })] [IgnoreGraphicsTest("012-SVL_Check", "https://jira.unity3d.com/browse/UUM-70791", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.PS5 })] + [IgnoreGraphicsTest("012-SVL_Check", "https://jira.unity3d.com/browse/UUM-70791", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch, RuntimePlatform.Switch2 })] [IgnoreGraphicsTest("003-VirtualTexturing", "Unstable: https://jira.unity3d.com/browse/UUM-113462", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.PS4 })] [IgnoreGraphicsTest("003-VirtualTexturing-Forward", "Unstable: https://jira.unity3d.com/browse/UUM-113462", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.PS4 })] [IgnoreGraphicsTest("012-SVL_Check", "VT not supported on Switch2", runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch2 })] diff --git a/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/HDRP_Graphics_Tests.cs b/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/HDRP_Graphics_Tests.cs index 4f2c9b68032..47279efe8b7 100644 --- a/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/HDRP_Graphics_Tests.cs +++ b/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/HDRP_Graphics_Tests.cs @@ -99,7 +99,11 @@ public void SetUpContext() [IgnoreGraphicsTest( "4060_CustomPostProcess|8207_InstancingAPIs|8212_Fullscreen|9700_CustomPass_FullScreen|9702_CustomPass_API|9703_SampleColorBuffer_InjectionPoints_Scaling|9931-ScreenCoordOverrideCustomPostProcess|1104_Unlit_Distortion_Compose|1206_Lit_Transparent_Distortion|1805_Depth_Pre_Post_Unlit|4012_MotionBlur_CameraOnly|4038_Bloom|5014_VolumetricCloudsBanding|9006_StencilUsage|9304_MotionVectorsPrecomputedAndCustomVelocity|9601_SkinnedMeshBatching-Off|9602_SkinnedMeshBatching-On|", "Image difference when updating from GTF8 to GTF9", - runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.WindowsEditor })] + runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.WindowsEditor, RuntimePlatform.LinuxEditor })] + [IgnoreGraphicsTest( + "4061_CustomPostProcessMotionVectors|2120_APV_Baking|2121_APV_Baking_Sky_Occlusion|2122_APV_Baking_Sky_Occlusion_And_Direction|2123_APV_Baking_Shadowmask|2405_EnlightenDynamicAreaLights|2106_GI_EmissionSG|3010_MipMapMode|3011_MipMapMode|3012_MipMapMode|1227_Lit_Planar_Triplanar_ObjectSpace|1705_Decals-stress-test|4110_DRS-FSR2-With-CustomPass|4111_DRS-DLSS-With-CustomPass|2319_Mixed_Cached_ShadowMap_Area", + "Image difference when updating from GTF8 to GTF9", + runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.LinuxEditor })] [UnityTest, SceneGraphicsTest(@"Assets/GraphicTests/Scenes/^[0-9]+")] [Timeout(450 * 1000)] // Set timeout to 450 sec. to handle complex scenes with many shaders (previous timeout was 300s) public IEnumerator Run(SceneGraphicsTestCase testCase) diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/018_PointLightCookie_Compatibility.unity b/Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/018_PointLightCookie_Compatibility.unity new file mode 100644 index 00000000000..65e68306539 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/018_PointLightCookie_Compatibility.unity @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:464c8b7302e9f4fd234253abc9a81828c5e2739c496e115f100e8b8f170593fd +size 13182 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/018_PointLightCookie_Compatibility.unity.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/018_PointLightCookie_Compatibility.unity.meta new file mode 100644 index 00000000000..5c1dbb72a6c --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/018_PointLightCookie_Compatibility.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9c6e6ff38e5d8ee49b6ed4ac197b3319 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: