forked from Unity-Technologies/Graphics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VFX staging to master (Unity-Technologies#6175)
VFX Staging to master. Code reformat + fixes -Fix for nesting of VFXSubgraphContexts. -Runtime compilation now compiles correctly when constant folding several texture ports that reference the same texture Case 1193602 -Fix compilation error in runtime mode when Speed Range is 0 in Attribute By Speed block Case 1118665 -NullReferenceException while assigning a null pCache Case 1222491 -Add message in inspector for unreachable properties due to VisualEffectAsset stored in AssetBundle Case 1193602 -pCache importer and exporter tool was keeping a lock on texture or pCache files Case 1185677 -Convert inline to exposed property / Quick expose property sets correct default value in parent -Age particles checkbox was incorrectly hidden Case 1221557 -Fix various bugs in Position (Cone) block [Case 1111053] (https://issuetracker.unity3d.com/product/unity/issues/guid/1111053/) -Handle correctly direction, position & vector types in AppendVector operator Case 1111867 -Fix space issues with blocks and operators taking a camera as input -Generated shaderName are now consistent with displayed system names
- Loading branch information
1 parent
241ce57
commit e408098
Showing
390 changed files
with
21,560 additions
and
3,411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...jects/VisualEffectGraph/Assets/AllTests/Editor/Tests/VFXCustomSpawnerUpdateCounterTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
using UnityEngine; | ||
using UnityEngine.VFX; | ||
|
||
namespace UnityEditor.VFX | ||
{ | ||
class VFXCustomSpawnerUpdateCounterTest : VFXSpawnerCallbacks | ||
{ | ||
public class InputProperties | ||
{ | ||
} | ||
|
||
public static uint s_UpdateCount = 0u; | ||
public static float s_LastDeltaTime = 0.0f; | ||
public override void OnPlay(VFXSpawnerState state, VFXExpressionValues vfxValues, VisualEffect vfxComponent) | ||
{ | ||
} | ||
|
||
public override void OnUpdate(VFXSpawnerState state, VFXExpressionValues vfxValues, VisualEffect vfxComponent) | ||
{ | ||
if (state.deltaTime != 0.0f) | ||
{ | ||
s_UpdateCount++; | ||
s_LastDeltaTime = state.deltaTime; | ||
} | ||
} | ||
|
||
public override void OnStop(VFXSpawnerState state, VFXExpressionValues vfxValues, VisualEffect vfxComponent) | ||
{ | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
.../VisualEffectGraph/Assets/AllTests/Editor/Tests/VFXCustomSpawnerUpdateCounterTest.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
TestProjects/VisualEffectGraph/Assets/AllTests/Editor/Tests/VFXDataTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
TestProjects/VisualEffectGraph/Assets/AllTests/Editor/Tests/VFXExpressionColorTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
TestProjects/VisualEffectGraph/Assets/AllTests/Editor/Tests/VFXExpressionGraphTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
TestProjects/VisualEffectGraph/Assets/AllTests/Editor/Tests/VFXExpressionTransformTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
TestProjects/VisualEffectGraph/Assets/AllTests/Editor/Tests/VFXModelTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
TestProjects/VisualEffectGraph/Assets/AllTests/Editor/Tests/VFXOperatorFloatOne.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
TestProjects/VisualEffectGraph/Assets/AllTests/Editor/Tests/VFXOperatorVector2.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.