diff --git a/.github/ISSUE_TEMPLATE/ar_bug_report.md b/.github/ISSUE_TEMPLATE/ar_bug_report.md index 0d4aee9397..93b6e70b03 100644 --- a/.github/ISSUE_TEMPLATE/ar_bug_report.md +++ b/.github/ISSUE_TEMPLATE/ar_bug_report.md @@ -1,5 +1,5 @@ --- -name: ar_bug_report.md +name: Automated Review bug report about: Create a bug for a an issue found in the Automated Review title: 'AR Bug Report' labels: 'needs-triage,kind/bug,kind/automation' diff --git a/AutomatedTesting/CMakeLists.txt b/AutomatedTesting/CMakeLists.txt index dee9d73aea..1c5382ba4b 100644 --- a/AutomatedTesting/CMakeLists.txt +++ b/AutomatedTesting/CMakeLists.txt @@ -8,11 +8,12 @@ if(NOT PROJECT_NAME) cmake_minimum_required(VERSION 3.20) + include(cmake/CompilerSettings.cmake) project(AutomatedTesting LANGUAGES C CXX VERSION 1.0.0.0 ) - include(EngineFinder.cmake OPTIONAL) + include(cmake/EngineFinder.cmake OPTIONAL) find_package(o3de REQUIRED) o3de_initialize() else() diff --git a/AutomatedTesting/Gem/PythonTests/AWS/Windows/client_auth/aws_client_auth_automation_test.py b/AutomatedTesting/Gem/PythonTests/AWS/Windows/client_auth/aws_client_auth_automation_test.py index 198fb934d9..077a068a18 100644 --- a/AutomatedTesting/Gem/PythonTests/AWS/Windows/client_auth/aws_client_auth_automation_test.py +++ b/AutomatedTesting/Gem/PythonTests/AWS/Windows/client_auth/aws_client_auth_automation_test.py @@ -12,6 +12,7 @@ import pytest import ly_test_tools.log.log_monitor from AWS.common import constants +from AWS.common.resource_mappings import AWS_RESOURCE_MAPPINGS_ACCOUNT_ID_KEY # fixture imports from assetpipeline.ap_fixtures.asset_processor_fixture import asset_processor @@ -70,6 +71,41 @@ class TestAWSClientAuthWindows(object): halt_on_unexpected=True, ) assert result, 'Anonymous credentials fetched successfully.' + + @pytest.mark.parametrize('level', ['AWS/ClientAuth']) + def test_anonymous_credentials_no_global_accountid(self, + level: str, + launcher: pytest.fixture, + resource_mappings: pytest.fixture, + workspace: pytest.fixture, + asset_processor: pytest.fixture + ): + """ + Test to verify AWS Cognito Identity pool anonymous authorization. + + Setup: Updates resource mapping file using existing CloudFormation stacks. + Tests: Getting credentials when no credentials are configured + Verification: Log monitor looks for success credentials log. + """ + # Remove top-level account ID from resource mappings + resource_mappings.clear_select_keys([AWS_RESOURCE_MAPPINGS_ACCOUNT_ID_KEY]) + + asset_processor.start() + asset_processor.wait_for_idle() + + file_to_monitor = os.path.join(launcher.workspace.paths.project_log(), constants.GAME_LOG_NAME) + log_monitor = ly_test_tools.log.log_monitor.LogMonitor(launcher=launcher, log_file_path=file_to_monitor) + + launcher.args = ['+LoadLevel', level] + launcher.args.extend(['-rhi=null']) + + with launcher.start(launch_ap=False): + result = log_monitor.monitor_log_for_lines( + expected_lines=['(Script) - Success anonymous credentials'], + unexpected_lines=['(Script) - Fail anonymous credentials'], + halt_on_unexpected=True, + ) + assert result, 'Anonymous credentials fetched successfully.' def test_password_signin_credentials(self, launcher: pytest.fixture, diff --git a/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main.py index b4de39ae98..d79e144ae0 100644 --- a/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main.py @@ -13,6 +13,8 @@ from ly_test_tools.o3de.editor_test import EditorSharedTest, EditorTestSuite @pytest.mark.parametrize("launcher_platform", ['windows_editor']) class TestAutomation(EditorTestSuite): + enable_prefab_system = False + @pytest.mark.test_case_id("C36525657") class AtomEditorComponents_BloomAdded(EditorSharedTest): from Atom.tests import hydra_AtomEditorComponents_BloomAdded as test_module diff --git a/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main_GPU.py b/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main_GPU.py index f0e92c7e3e..6a220d1bd8 100644 --- a/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main_GPU.py +++ b/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main_GPU.py @@ -104,6 +104,7 @@ class TestAllComponentsIndepthTests(object): halt_on_unexpected=True, cfg_args=[level], null_renderer=False, + enable_prefab_system=False, ) similarity_threshold = 0.99 @@ -158,6 +159,7 @@ class TestAllComponentsIndepthTests(object): halt_on_unexpected=True, cfg_args=[level], null_renderer=False, + enable_prefab_system=False, ) similarity_threshold = 0.99 @@ -205,6 +207,7 @@ class TestPerformanceBenchmarkSuite(object): halt_on_unexpected=True, cfg_args=[level], null_renderer=False, + enable_prefab_system=False, ) aggregator = BenchmarkDataAggregator(workspace, logger, 'periodic') @@ -242,5 +245,6 @@ class TestMaterialEditor(object): halt_on_unexpected=False, null_renderer=False, cfg_args=[cfg_args], - log_file_name="MaterialEditor.log" + log_file_name="MaterialEditor.log", + enable_prefab_system=False, ) diff --git a/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main_GPU_Optimized.py b/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main_GPU_Optimized.py index 568768e12e..7f97c132bb 100644 --- a/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main_GPU_Optimized.py +++ b/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Main_GPU_Optimized.py @@ -23,6 +23,8 @@ class TestAutomation(EditorTestSuite): # Remove -autotest_mode from global_extra_cmdline_args since we need rendering for these tests. global_extra_cmdline_args = ["-BatchMode"] # Default is ["-BatchMode", "-autotest_mode"] + enable_prefab_system = False + @pytest.mark.test_case_id("C34603773") class AtomGPU_BasicLevelSetup_SetsUpLevel(EditorSharedTest): use_null_renderer = False # Default is True diff --git a/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Sandbox.py b/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Sandbox.py index 9ceb3c951f..292bb9c19c 100644 --- a/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Sandbox.py +++ b/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Sandbox.py @@ -85,6 +85,7 @@ class TestAtomEditorComponentsMain(object): halt_on_unexpected=True, null_renderer=True, cfg_args=cfg_args, + enable_prefab_system=False, ) @@ -155,5 +156,6 @@ class TestMaterialEditorBasicTests(object): halt_on_unexpected=True, null_renderer=True, log_file_name="MaterialEditor.log", + enable_prefab_system=False, ) diff --git a/AutomatedTesting/Gem/PythonTests/Blast/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/Blast/TestSuite_Main.py index dbc4a1a456..a047d09d29 100644 --- a/AutomatedTesting/Gem/PythonTests/Blast/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/Blast/TestSuite_Main.py @@ -23,28 +23,28 @@ from base import TestAutomationBase class TestAutomation(TestAutomationBase): def test_ActorSplitsAfterCollision(self, request, workspace, editor, launcher_platform): from .tests import Blast_ActorSplitsAfterCollision as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ActorSplitsAfterRadialDamage(self, request, workspace, editor, launcher_platform): from .tests import Blast_ActorSplitsAfterRadialDamage as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ActorSplitsAfterCapsuleDamage(self, request, workspace, editor, launcher_platform): from .tests import Blast_ActorSplitsAfterCapsuleDamage as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ActorSplitsAfterImpactSpreadDamage(self, request, workspace, editor, launcher_platform): from .tests import Blast_ActorSplitsAfterImpactSpreadDamage as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ActorSplitsAfterShearDamage(self, request, workspace, editor, launcher_platform): from .tests import Blast_ActorSplitsAfterShearDamage as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ActorSplitsAfterTriangleDamage(self, request, workspace, editor, launcher_platform): from .tests import Blast_ActorSplitsAfterTriangleDamage as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ActorSplitsAfterStressDamage(self, request, workspace, editor, launcher_platform): from .tests import Blast_ActorSplitsAfterStressDamage as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/EditorPythonBindings/ComponentUpdateListProperty_test.py b/AutomatedTesting/Gem/PythonTests/EditorPythonBindings/ComponentUpdateListProperty_test.py index ed677ea185..a8ca721cca 100755 --- a/AutomatedTesting/Gem/PythonTests/EditorPythonBindings/ComponentUpdateListProperty_test.py +++ b/AutomatedTesting/Gem/PythonTests/EditorPythonBindings/ComponentUpdateListProperty_test.py @@ -51,5 +51,6 @@ class TestComponentAssetListAutomation(object): editor, "ComponentUpdateListProperty_test_case.py", expected_lines=expected_lines, - cfg_args=[level] + cfg_args=[level], + enable_prefab_system=False, ) diff --git a/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/README.txt b/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/README.txt index 90afee39bc..642d7279a4 100644 --- a/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/README.txt +++ b/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/README.txt @@ -28,7 +28,7 @@ Assuming CMake is already setup on your operating system, below are some sample cd /path/to/od3e/ mkdir windows_vs2019 cd windows_vs2019 - cmake .. -G "Visual Studio 16 2019" -A x64 -T host=x64 -DLY_3RDPARTY_PATH="%3RDPARTYPATH%" -DLY_PROJECTS=AutomatedTesting + cmake .. -G "Visual Studio 16 2019" -DLY_PROJECTS=AutomatedTesting To manually install the project in development mode using your own installed Python interpreter: cd /path/to/od3e/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools diff --git a/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/hydra_editor_utils.py b/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/hydra_editor_utils.py index 985e32ede5..19aa6e9d3c 100644 --- a/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/hydra_editor_utils.py +++ b/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/hydra_editor_utils.py @@ -57,6 +57,10 @@ def add_level_component(component_name): level_component_list, entity.EntityType().Level) level_component_outcome = editor.EditorLevelComponentAPIBus(bus.Broadcast, 'AddComponentsOfType', [level_component_type_ids_list[0]]) + if not level_component_outcome.IsSuccess(): + print('Failed to add {} level component'.format(component_name)) + return None + level_component = level_component_outcome.GetValue()[0] return level_component diff --git a/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/hydra_test_utils.py b/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/hydra_test_utils.py index 510d1b1149..ee36a640f0 100644 --- a/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/hydra_test_utils.py +++ b/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/hydra_test_utils.py @@ -29,7 +29,7 @@ def teardown_editor(editor): def launch_and_validate_results(request, test_directory, editor, editor_script, expected_lines, unexpected_lines=[], halt_on_unexpected=False, run_python="--runpythontest", auto_test_mode=True, null_renderer=True, cfg_args=[], - timeout=300, log_file_name="Editor.log"): + timeout=300, log_file_name="Editor.log", enable_prefab_system=True): """ Runs the Editor with the specified script, and monitors for expected log lines. :param request: Special fixture providing information of the requesting test function. @@ -45,17 +45,22 @@ def launch_and_validate_results(request, test_directory, editor, editor_script, :param cfg_args: Additional arguments for CFG, such as LevelName. :param timeout: Length of time for test to run. Default is 60. :param log_file_name: Name of the log file created by the editor. Defaults to 'Editor.log' + :param enable_prefab_system: Flag to determine whether to use new prefab system or use deprecated slice system. Defaults to True. """ test_case = os.path.join(test_directory, editor_script) request.addfinalizer(lambda: teardown_editor(editor)) logger.debug("Running automated test: {}".format(editor_script)) editor.args.extend(["--skipWelcomeScreenDialog", "--regset=/Amazon/Settings/EnableSourceControl=false", - "--regset=/Amazon/Preferences/EnablePrefabSystem=false", run_python, test_case, + run_python, test_case, f"--pythontestcase={request.node.name}", "--runpythonargs", " ".join(cfg_args)]) if auto_test_mode: editor.args.extend(["--autotest_mode"]) if null_renderer: editor.args.extend(["-rhi=Null"]) + if enable_prefab_system: + editor.args.extend(["--regset=/Amazon/Preferences/EnablePrefabSystem=true"]) + else: + editor.args.extend(["--regset=/Amazon/Preferences/EnablePrefabSystem=false"]) with editor.start(): diff --git a/AutomatedTesting/Gem/PythonTests/Multiplayer/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/Multiplayer/TestSuite_Main.py index df1eb62943..450c760786 100644 --- a/AutomatedTesting/Gem/PythonTests/Multiplayer/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/Multiplayer/TestSuite_Main.py @@ -23,7 +23,6 @@ from base import TestAutomationBase class TestAutomation(TestAutomationBase): def _run_prefab_test(self, request, workspace, editor, test_module, batch_mode=True, autotest_mode=True): self._run_test(request, workspace, editor, test_module, - extra_cmdline_args=["--regset=/Amazon/Preferences/EnablePrefabSystem=true"], batch_mode=batch_mode, autotest_mode=autotest_mode) diff --git a/AutomatedTesting/Gem/PythonTests/Multiplayer/TestSuite_Sandbox.py b/AutomatedTesting/Gem/PythonTests/Multiplayer/TestSuite_Sandbox.py index 52ac19b26e..8f50d4d36d 100644 --- a/AutomatedTesting/Gem/PythonTests/Multiplayer/TestSuite_Sandbox.py +++ b/AutomatedTesting/Gem/PythonTests/Multiplayer/TestSuite_Sandbox.py @@ -24,7 +24,6 @@ from base import TestAutomationBase class TestAutomation(TestAutomationBase): def _run_prefab_test(self, request, workspace, editor, test_module, batch_mode=True, autotest_mode=True): self._run_test(request, workspace, editor, test_module, - extra_cmdline_args=["--regset=/Amazon/Preferences/EnablePrefabSystem=true"], batch_mode=batch_mode, autotest_mode=autotest_mode) diff --git a/AutomatedTesting/Gem/PythonTests/NvCloth/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/NvCloth/TestSuite_Main.py index 49a776a48c..f35f098b0f 100644 --- a/AutomatedTesting/Gem/PythonTests/NvCloth/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/NvCloth/TestSuite_Main.py @@ -25,8 +25,8 @@ class TestAutomation(TestAutomationBase): def test_NvCloth_AddClothSimulationToMesh(self, request, workspace, editor, launcher_platform): from .tests import NvCloth_AddClothSimulationToMesh as test_module - self._run_test(request, workspace, editor, test_module, use_null_renderer = self.use_null_renderer) + self._run_test(request, workspace, editor, test_module, use_null_renderer = self.use_null_renderer, enable_prefab_system=False) def test_NvCloth_AddClothSimulationToActor(self, request, workspace, editor, launcher_platform): from .tests import NvCloth_AddClothSimulationToActor as test_module - self._run_test(request, workspace, editor, test_module, use_null_renderer = self.use_null_renderer) + self._run_test(request, workspace, editor, test_module, use_null_renderer = self.use_null_renderer, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_InDevelopment.py b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_InDevelopment.py index 9e3a9cb4ff..09d8f5635f 100755 --- a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_InDevelopment.py +++ b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_InDevelopment.py @@ -26,158 +26,158 @@ class TestAutomation(TestAutomationBase): r"AutomatedTesting\Levels\Physics\Material_LibraryCrudOperationsReflectOnRagdollBones") def test_Material_LibraryCrudOperationsReflectOnRagdollBones(self, request, workspace, editor, launcher_platform): from .tests.material import Material_LibraryCrudOperationsReflectOnRagdollBones as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Material_RagdollBones(self, request, workspace, editor, launcher_platform): from .tests.material import Material_RagdollBones as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @fm.file_revert("c15308221_material_componentsinsyncwithlibrary.physmaterial", r"AutomatedTesting\Levels\Physics\Material_ComponentsInSyncWithLibrary") def test_Material_ComponentsInSyncWithLibrary(self, request, workspace, editor, launcher_platform): from .tests.material import Material_ComponentsInSyncWithLibrary as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) # BUG: LY-107723") def test_ScriptCanvas_SetKinematicTargetTransform(self, request, workspace, editor, launcher_platform): from .tests.script_canvas import ScriptCanvas_SetKinematicTargetTransform as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) # Failing, PhysXTerrain @fm.file_revert("c4925579_material_addmodifydeleteonterrain.physmaterial", r"AutomatedTesting\Levels\Physics\Material_LibraryCrudOperationsReflectOnTerrain") def test_Material_LibraryCrudOperationsReflectOnTerrain(self, request, workspace, editor, launcher_platform): from .tests.material import Material_LibraryCrudOperationsReflectOnTerrain as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) # Failing, PhysXTerrain def test_Terrain_TerrainTexturePainterWorks(self, request, workspace, editor, launcher_platform): from .tests.terrain import Terrain_TerrainTexturePainterWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) # Failing, PhysXTerrain def test_Material_CanBeAssignedToTerrain(self, request, workspace, editor, launcher_platform): from .tests.material import Material_CanBeAssignedToTerrain as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) # Failing, PhysXTerrain def test_Material_DefaultLibraryConsistentOnAllFeatures(self, request, workspace, editor, launcher_platform): from .tests.material import Material_DefaultLibraryConsistentOnAllFeatures as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) # Failing, PhysXTerrain @fm.file_revert("all_ones_1.physmaterial", r"AutomatedTesting\Levels\Physics\Material_DefaultMaterialLibraryChangesWork") @fm.file_override("default.physxconfiguration", "Material_DefaultMaterialLibraryChangesWork.physxconfiguration", "AutomatedTesting") def test_Material_DefaultMaterialLibraryChangesWork(self, request, workspace, editor, launcher_platform): from .tests.material import Material_DefaultMaterialLibraryChangesWork as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Collider_SameCollisionGroupSameLayerCollide(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_SameCollisionGroupSameLayerCollide as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Ragdoll_OldRagdollSerializationNoErrors(self, request, workspace, editor, launcher_platform): from .tests.ragdoll import Ragdoll_OldRagdollSerializationNoErrors as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @fm.file_override("default.physxconfiguration", "ScriptCanvas_OverlapNode.physxconfiguration") def test_ScriptCanvas_OverlapNode(self, request, workspace, editor, launcher_platform): from .tests.script_canvas import ScriptCanvas_OverlapNode as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Material_StaticFriction(self, request, workspace, editor, launcher_platform): from .tests.material import Material_StaticFriction as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @fm.file_revert("c4888315_material_addmodifydeleteoncollider.physmaterial", r"AutomatedTesting\Levels\Physics\Material_LibraryCrudOperationsReflectOnCollider") def test_Material_LibraryCrudOperationsReflectOnCollider(self, request, workspace, editor, launcher_platform): from .tests.material import Material_LibraryCrudOperationsReflectOnCollider as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @fm.file_revert("c15563573_material_addmodifydeleteoncharactercontroller.physmaterial", r"AutomatedTesting\Levels\Physics\Material_LibraryCrudOperationsReflectOnCharacterController") def test_Material_LibraryCrudOperationsReflectOnCharacterController(self, request, workspace, editor, launcher_platform): from .tests.material import Material_LibraryCrudOperationsReflectOnCharacterController as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @fm.file_revert("c4888315_material_addmodifydeleteoncollider.physmaterial", r"AutomatedTesting\Levels\Physics\Material_LibraryCrudOperationsReflectOnCollider") def test_Material_LibraryCrudOperationsReflectOnCollider(self, request, workspace, editor, launcher_platform): from .tests.material import Material_LibraryCrudOperationsReflectOnCollider as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @fm.file_revert("c15563573_material_addmodifydeleteoncharactercontroller.physmaterial", r"AutomatedTesting\Levels\Physics\Material_LibraryCrudOperationsReflectOnCharacterController") def test_Material_LibraryCrudOperationsReflectOnCharacterController(self, request, workspace, editor, launcher_platform): from .tests.material import Material_LibraryCrudOperationsReflectOnCharacterController as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @fm.file_revert("c4044455_material_librarychangesinstantly.physmaterial", r"AutomatedTesting\Levels\Physics\C4044455_Material_LibraryChangesInstantly") def test_Material_LibraryChangesReflectInstantly(self, request, workspace, editor, launcher_platform): from .tests.material import Material_LibraryChangesReflectInstantly as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @fm.file_revert("Material_LibraryUpdatedAcrossLevels.physmaterial", r"AutomatedTesting\Levels\Physics\Material_LibraryUpdatedAcrossLevels") def test_Material_LibraryUpdatedAcrossLevels(self, request, workspace, editor, launcher_platform): from .tests.material import Material_LibraryUpdatedAcrossLevels as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_RigidBody_LinearDampingAffectsMotion(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_LinearDampingAffectsMotion as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Terrain_CollisionAgainstRigidBody(self, request, workspace, editor, launcher_platform): from .tests.terrain import Terrain_CollisionAgainstRigidBody as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ShapeCollider_CylinderShapeCollides(self, request, workspace, editor, launcher_platform): from .tests.collider import ShapeCollider_CylinderShapeCollides as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Physics_WorldBodyBusWorksOnEditorComponents(self, request, workspace, editor, launcher_platform): from .tests import Physics_WorldBodyBusWorksOnEditorComponents as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Collider_PxMeshErrorIfNoMesh(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_PxMeshErrorIfNoMesh as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ForceRegion_ImpulsesBoxShapedRigidBody(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_ImpulsesBoxShapedRigidBody as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Terrain_SpawnSecondTerrainComponentWarning(self, request, workspace, editor, launcher_platform): from .tests.terrain import Terrain_SpawnSecondTerrainComponentWarning as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Terrain_AddPhysTerrainComponent(self, request, workspace, editor, launcher_platform): from .tests.terrain import Terrain_AddPhysTerrainComponent as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Terrain_CanAddMultipleTerrainComponents(self, request, workspace, editor, launcher_platform): from .tests.terrain import Terrain_CanAddMultipleTerrainComponents as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Terrain_MultipleTerrainComponentsWarning(self, request, workspace, editor, launcher_platform): from .tests.terrain import Terrain_MultipleTerrainComponentsWarning as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Terrain_MultipleTerrainComponentsWarning(self, request, workspace, editor, launcher_platform): from .tests.terrain import Terrain_MultipleTerrainComponentsWarning as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ForceRegion_HighValuesDirectionAxesWorkWithNoError(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_HighValuesDirectionAxesWorkWithNoError as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Terrain_MultipleResolutionsValid(self, request, workspace, editor, launcher_platform): from .tests.terrain import Terrain_MultipleResolutionsValid as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ForceRegion_SmallMagnitudeDeviationOnLargeForces(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_SmallMagnitudeDeviationOnLargeForces as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Main.py index fb2744deda..07ae5f6ca0 100644 --- a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Main.py @@ -30,33 +30,33 @@ class TestAutomation(TestAutomationBase): def test_RigidBody_EnablingGravityWorksUsingNotificationsPoC(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_EnablingGravityWorksUsingNotificationsPoC as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_LocalSpaceForceOnRigidBodies(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_LocalSpaceForceOnRigidBodies as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Material_DynamicFriction.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Material_DynamicFriction(self, request, workspace, editor, launcher_platform): from .tests.material import Material_DynamicFriction as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Collider_SameCollisionGroupDiffLayersCollide(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_SameCollisionGroupDiffLayersCollide as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_CharacterController_SwitchLevels(self, request, workspace, editor, launcher_platform): from .tests.character_controller import CharacterController_SwitchLevels as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Ragdoll_AddPhysxRagdollComponentWorks(self, request, workspace, editor, launcher_platform): from .tests.ragdoll import Ragdoll_AddPhysxRagdollComponentWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ScriptCanvas_MultipleRaycastNode(self, request, workspace, editor, launcher_platform): @@ -64,43 +64,43 @@ class TestAutomation(TestAutomationBase): # Fixme: This test previously relied on unexpected lines log reading with is now not supported. # Now the log reading must be done inside the test, preferably with the Tracer() utility # unexpected_lines = ["Assert"] + test_module.Lines.unexpected - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Collider_DiffCollisionGroupDiffCollidingLayersNotCollide.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Collider_DiffCollisionGroupDiffCollidingLayersNotCollide(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_DiffCollisionGroupDiffCollidingLayersNotCollide as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Joints_HingeLeadFollowerCollide(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_HingeLeadFollowerCollide as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Collider_PxMeshConvexMeshCollides(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_PxMeshConvexMeshCollides as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ShapeCollider_CylinderShapeCollides(self, request, workspace, editor, launcher_platform): from .tests.shape_collider import ShapeCollider_CylinderShapeCollides as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_C15425929_Undo_Redo(self, request, workspace, editor, launcher_platform): from .tests import Physics_UndoRedoWorksOnEntityWithPhysComponents as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.GROUP_tick @pytest.mark.xfail(reason="Test still under development.") def test_Tick_InterpolatedRigidBodyMotionIsSmooth(self, request, workspace, editor, launcher_platform): from .tests.tick import Tick_InterpolatedRigidBodyMotionIsSmooth as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.GROUP_tick @pytest.mark.xfail(reason="Test still under development.") def test_Tick_CharacterGameplayComponentMotionIsSmooth(self, request, workspace, editor, launcher_platform): from .tests.tick import Tick_CharacterGameplayComponentMotionIsSmooth as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Main_Optimized.py b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Main_Optimized.py index 0661c6742b..b25b4340e8 100644 --- a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Main_Optimized.py +++ b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Main_Optimized.py @@ -59,9 +59,6 @@ class EditorSingleTest_WithFileOverrides(EditorSingleTest): @pytest.mark.parametrize("project", ["AutomatedTesting"]) class TestAutomationWithPrefabSystemEnabled(EditorTestSuite): - global_extra_cmdline_args = ['-BatchMode', '-autotest_mode', - '--regset=/Amazon/Preferences/EnablePrefabSystem=true'] - @staticmethod def get_number_parallel_editors(): return 16 @@ -81,6 +78,8 @@ class TestAutomationWithPrefabSystemEnabled(EditorTestSuite): @pytest.mark.parametrize("project", ["AutomatedTesting"]) class TestAutomation(EditorTestSuite): + enable_prefab_system = False + @staticmethod def get_number_parallel_editors(): return 16 diff --git a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Periodic.py b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Periodic.py index 55e51dd2f8..6daf852708 100755 --- a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Periodic.py +++ b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Periodic.py @@ -31,223 +31,223 @@ class TestAutomation(TestAutomationBase): @revert_physics_config def test_Terrain_NoPhysTerrainComponentNoCollision(self, request, workspace, editor, launcher_platform): from .tests.terrain import Terrain_NoPhysTerrainComponentNoCollision as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_InitialLinearVelocity(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_InitialLinearVelocity as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_StartGravityEnabledWorks(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_StartGravityEnabledWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_KinematicModeWorks(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_KinematicModeWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_LinearDampingForceOnRigidBodies(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_LinearDampingForceOnRigidBodies as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_SimpleDragForceOnRigidBodies(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_SimpleDragForceOnRigidBodies as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_CapsuleShapedForce(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_CapsuleShapedForce as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_ImpulsesCapsuleShapedRigidBody(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_ImpulsesCapsuleShapedRigidBody as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_MomentOfInertiaManualSetting(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_MomentOfInertiaManualSetting as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_COM_ManualSettingWorks(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_COM_ManualSettingWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_AddRigidBodyComponent(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_AddRigidBodyComponent as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_SplineForceOnRigidBodies(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_SplineForceOnRigidBodies as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Material_RestitutionCombine.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Material_RestitutionCombine(self, request, workspace, editor, launcher_platform): from .tests.material import Material_RestitutionCombine as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Material_FrictionCombine.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Material_FrictionCombine(self, request, workspace, editor, launcher_platform): from .tests.material import Material_FrictionCombine as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Collider_ColliderPositionOffset(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_ColliderPositionOffset as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_AngularDampingAffectsRotation(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_AngularDampingAffectsRotation as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Physics_VerifyColliderRigidBodyMeshAndTerrainWorkTogether(self, request, workspace, editor, launcher_platform): from .tests import Physics_VerifyColliderRigidBodyMeshAndTerrainWorkTogether as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_MultipleForcesInSameComponentCombineForces(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_MultipleForcesInSameComponentCombineForces as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_ImpulsesPxMeshShapedRigidBody(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_ImpulsesPxMeshShapedRigidBody as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ScriptCanvas_TriggerEvents(self, request, workspace, editor, launcher_platform): from .tests.script_canvas import ScriptCanvas_TriggerEvents as test_module # FIXME: expected_lines = test_module.LogLines.expected_lines - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_ZeroPointForceDoesNothing(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_ZeroPointForceDoesNothing as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_ZeroWorldSpaceForceDoesNothing(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_ZeroWorldSpaceForceDoesNothing as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_ZeroLinearDampingDoesNothing(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_ZeroLinearDampingDoesNothing as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_MovingForceRegionChangesNetForce(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_MovingForceRegionChangesNetForce as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ScriptCanvas_CollisionEvents(self, request, workspace, editor, launcher_platform): from .tests.script_canvas import ScriptCanvas_CollisionEvents as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_DirectionHasNoAffectOnTotalForce(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_DirectionHasNoAffectOnTotalForce as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_StartAsleepWorks(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_StartAsleepWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_SliceFileInstantiates(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_SliceFileInstantiates as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_ZeroLocalSpaceForceDoesNothing(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_ZeroLocalSpaceForceDoesNothing as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_ZeroSimpleDragForceDoesNothing(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_ZeroSimpleDragForceDoesNothing as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_COM_ComputingWorks(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_COM_ComputingWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_MassDifferentValuesWorks(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_MassDifferentValuesWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Material_RestitutionCombinePriorityOrder.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Material_RestitutionCombinePriorityOrder(self, request, workspace, editor, launcher_platform): from .tests.material import Material_RestitutionCombinePriorityOrder as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_SplineRegionWithModifiedTransform(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_SplineRegionWithModifiedTransform as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ScriptCanvas_ShapeCast(self, request, workspace, editor, launcher_platform): from .tests.script_canvas import ScriptCanvas_ShapeCast as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_InitialAngularVelocity(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_InitialAngularVelocity as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_ZeroSplineForceDoesNothing(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_ZeroSplineForceDoesNothing as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Physics_DynamicSliceWithPhysNotSpawnsStaticSlice(self, request, workspace, editor, launcher_platform): from .tests import Physics_DynamicSliceWithPhysNotSpawnsStaticSlice as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_PositionOffset(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_PositionOffset as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Material_FrictionCombinePriorityOrder.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Material_FrictionCombinePriorityOrder(self, request, workspace, editor, launcher_platform): from .tests.material import Material_FrictionCombinePriorityOrder as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail( reason="Something with the CryRenderer disabling is causing this test to fail now.") @revert_physics_config def test_Ragdoll_LevelSwitchDoesNotCrash(self, request, workspace, editor, launcher_platform): from .tests.ragdoll import Ragdoll_LevelSwitchDoesNotCrash as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_MultipleComponentsCombineForces(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_MultipleComponentsCombineForces as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) # Marking the test as an expected failure due to sporadic failure on Automated Review: LYN-2580 # The test still runs, but a failure of the test doesn't result in the test run failing @@ -258,102 +258,102 @@ class TestAutomation(TestAutomationBase): 'AutomatedTesting/Registry', search_subdirs=True) def test_Material_PerFaceMaterialGetsCorrectMaterial(self, request, workspace, editor, launcher_platform): from .tests.material import Material_PerFaceMaterialGetsCorrectMaterial as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail( reason="This test will sometimes fail as the ball will continue to roll before the timeout is reached.") @revert_physics_config def test_RigidBody_SleepWhenBelowKineticThreshold(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_SleepWhenBelowKineticThreshold as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_COM_NotIncludesTriggerShapes(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_COM_NotIncludesTriggerShapes as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Material_NoEffectIfNoColliderShape(self, request, workspace, editor, launcher_platform): from .tests.material import Material_NoEffectIfNoColliderShape as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Collider_TriggerPassThrough(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_TriggerPassThrough as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_SetGravityWorks(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_SetGravityWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Material_CharacterController.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Material_CharacterController(self, request, workspace, editor, launcher_platform): from .tests.material import Material_CharacterController as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Material_EmptyLibraryUsesDefault(self, request, workspace, editor, launcher_platform): from .tests.material import Material_EmptyLibraryUsesDefault as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_NoQuiverOnHighLinearDampingForce(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_NoQuiverOnHighLinearDampingForce as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_RigidBody_ComputeInertiaWorks(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_ComputeInertiaWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ScriptCanvas_PostPhysicsUpdate(self, request, workspace, editor, launcher_platform): from .tests.script_canvas import ScriptCanvas_PostPhysicsUpdate as test_module # Fixme: unexpected_lines = ["Assert"] + test_module.Lines.unexpected - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Collider_NoneCollisionGroupSameLayerNotCollide.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Collider_NoneCollisionGroupSameLayerNotCollide(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_NoneCollisionGroupSameLayerNotCollide as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Collider_SameCollisionGroupSameCustomLayerCollide.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Collider_SameCollisionGroupSameCustomLayerCollide(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_SameCollisionGroupSameCustomLayerCollide as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxdefaultsceneconfiguration.setreg','ScriptCanvas_PostUpdateEvent.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_ScriptCanvas_PostUpdateEvent(self, request, workspace, editor, launcher_platform): from .tests.script_canvas import ScriptCanvas_PostUpdateEvent as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Material_Restitution.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Material_Restitution(self, request, workspace, editor, launcher_platform): from .tests.material import Material_Restitution as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxdefaultsceneconfiguration.setreg', 'ScriptCanvas_PreUpdateEvent.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_ScriptCanvas_PreUpdateEvent(self, request, workspace, editor, launcher_platform): from .tests.script_canvas import ScriptCanvas_PreUpdateEvent as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_PxMeshShapedForce(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_PxMeshShapedForce as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) # Marking the Test as expected to fail using the xfail decorator due to sporadic failure on Automated Review: SPEC-3146 # The test still runs, but a failure of the test doesn't result in the test run failing @@ -361,176 +361,173 @@ class TestAutomation(TestAutomationBase): @revert_physics_config def test_RigidBody_MaxAngularVelocityWorks(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_MaxAngularVelocityWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Joints_HingeSoftLimitsConstrained(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_HingeSoftLimitsConstrained as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Joints_BallSoftLimitsConstrained(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_BallSoftLimitsConstrained as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Joints_BallLeadFollowerCollide(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_BallLeadFollowerCollide as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Collider_AddingNewGroupWorks.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Collider_AddingNewGroupWorks(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_AddingNewGroupWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ShapeCollider_InactiveWhenNoShapeComponent(self, request, workspace, editor, launcher_platform): from .tests.shape_collider import ShapeCollider_InactiveWhenNoShapeComponent as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Collider_CheckDefaultShapeSettingIsPxMesh(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_CheckDefaultShapeSettingIsPxMesh as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ShapeCollider_LargeNumberOfShapeCollidersWontCrashEditor(self, request, workspace, editor, launcher_platform): from .tests.shape_collider import ShapeCollider_LargeNumberOfShapeCollidersWontCrashEditor as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Collider_SphereShapeEditing(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_SphereShapeEditing as test_module - self._run_test(request, workspace, editor, test_module, - extra_cmdline_args=["--regset=/Amazon/Preferences/EnablePrefabSystem=true"]) + self._run_test(request, workspace, editor, test_module) @revert_physics_config def test_Collider_BoxShapeEditing(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_BoxShapeEditing as test_module - self._run_test(request, workspace, editor, test_module, - extra_cmdline_args=["--regset=/Amazon/Preferences/EnablePrefabSystem=true"]) + self._run_test(request, workspace, editor, test_module) @revert_physics_config def test_Collider_CapsuleShapeEditing(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_CapsuleShapeEditing as test_module - self._run_test(request, workspace, editor, test_module, - extra_cmdline_args=["--regset=/Amazon/Preferences/EnablePrefabSystem=true"]) + self._run_test(request, workspace, editor, test_module) def test_ForceRegion_WithNonTriggerColliderWarning(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_WithNonTriggerColliderWarning as test_module # Fixme: expected_lines = ["[Warning] (PhysX Force Region) - Please ensure collider component marked as trigger exists in entity"] - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ForceRegion_WorldSpaceForceOnRigidBodies(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_WorldSpaceForceOnRigidBodies as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ForceRegion_PointForceOnRigidBodies(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_PointForceOnRigidBodies as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ForceRegion_SphereShapedForce(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_SphereShapedForce as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ForceRegion_RotationalOffset(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_RotationalOffset as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Material_LibraryClearingAssignsDefault(self, request, workspace, editor, launcher_platform): from .tests.material import Material_LibraryClearingAssignsDefault as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Collider_AddColliderComponent(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_AddColliderComponent as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail( reason="This will fail due to this issue ATOM-15487.") def test_Collider_PxMeshAutoAssignedWhenModifyingRenderMeshComponent(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_PxMeshAutoAssignedWhenModifyingRenderMeshComponent as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Collider_PxMeshAutoAssignedWhenAddingRenderMeshComponent(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_PxMeshAutoAssignedWhenAddingRenderMeshComponent as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Collider_MultipleSurfaceSlots(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_MultipleSurfaceSlots as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Collider_PxMeshNotAutoAssignedWhenNoPhysicsFbx(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_PxMeshNotAutoAssignedWhenNoPhysicsFbx as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_RigidBody_EnablingGravityWorksPoC(self, request, workspace, editor, launcher_platform): from .tests.rigid_body import RigidBody_EnablingGravityWorksPoC as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config @fm.file_override('physxsystemconfiguration.setreg','Collider_CollisionGroupsWorkflow.setreg_override', 'AutomatedTesting/Registry', search_subdirs=True) def test_Collider_CollisionGroupsWorkflow(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_CollisionGroupsWorkflow as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Collider_ColliderRotationOffset(self, request, workspace, editor, launcher_platform): from .tests.collider import Collider_ColliderRotationOffset as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ForceRegion_ParentChildForcesCombineForces(self, request, workspace, editor, launcher_platform): from .tests.force_region import ForceRegion_ParentChildForcesCombineForces as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_ShapeCollider_CanBeAddedWitNoWarnings(self, request, workspace, editor, launcher_platform): from .tests.shape_collider import ShapeCollider_CanBeAddedWitNoWarnings as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Physics_UndoRedoWorksOnEntityWithPhysComponents(self, request, workspace, editor, launcher_platform): from .tests import Physics_UndoRedoWorksOnEntityWithPhysComponents as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Joints_Fixed2BodiesConstrained(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_Fixed2BodiesConstrained as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Joints_Hinge2BodiesConstrained(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_Hinge2BodiesConstrained as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Joints_Ball2BodiesConstrained(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_Ball2BodiesConstrained as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Joints_FixedBreakable(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_FixedBreakable as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Joints_HingeBreakable(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_HingeBreakable as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Joints_BallBreakable(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_BallBreakable as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Joints_HingeNoLimitsConstrained(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_HingeNoLimitsConstrained as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Joints_BallNoLimitsConstrained(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_BallNoLimitsConstrained as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Joints_GlobalFrameConstrained(self, request, workspace, editor, launcher_platform): from .tests.joints import Joints_GlobalFrameConstrained as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @revert_physics_config def test_Material_DefaultLibraryUpdatedAcrossLevels(self, request, workspace, editor, launcher_platform): @@ -540,7 +537,7 @@ class TestAutomation(TestAutomationBase): search_subdirs=True) def levels_before(self, request, workspace, editor, launcher_platform): from .tests.material import Material_DefaultLibraryUpdatedAcrossLevels_before as test_module_0 - self._run_test(request, workspace, editor, test_module_0) + self._run_test(request, workspace, editor, test_module_0, enable_prefab_system=False) # File override replaces the previous physxconfiguration file with another where the only difference is the default material library @fm.file_override("physxsystemconfiguration.setreg", @@ -549,7 +546,7 @@ class TestAutomation(TestAutomationBase): search_subdirs=True) def levels_after(self, request, workspace, editor, launcher_platform): from .tests.material import Material_DefaultLibraryUpdatedAcrossLevels_after as test_module_1 - self._run_test(request, workspace, editor, test_module_1) + self._run_test(request, workspace, editor, test_module_1, enable_prefab_system=False) levels_before(self, request, workspace, editor, launcher_platform) levels_after(self, request, workspace, editor, launcher_platform) \ No newline at end of file diff --git a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Sandbox.py b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Sandbox.py index 81fdc747d5..9b104ccfcf 100644 --- a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Sandbox.py +++ b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Sandbox.py @@ -32,7 +32,7 @@ class TestAutomation(TestAutomationBase): def test_ScriptCanvas_GetCollisionNameReturnsName(self, request, workspace, editor, launcher_platform): from .tests.script_canvas import ScriptCanvas_GetCollisionNameReturnsName as test_module # Fixme: expected_lines=["Layer Name: Right"] - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) ## Seems to be flaky, need to investigate def test_ScriptCanvas_GetCollisionNameReturnsNothingWhenHasToggledLayer(self, request, workspace, editor, launcher_platform): @@ -42,4 +42,4 @@ class TestAutomation(TestAutomationBase): # Fixme: for group in collision_groups: # Fixme: unexpected_lines.append(f"GroupName: {group}") # Fixme: expected_lines=["GroupName: "] - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Utils.py b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Utils.py index 61c2816f50..3e00b684c0 100755 --- a/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Utils.py +++ b/AutomatedTesting/Gem/PythonTests/Physics/TestSuite_Utils.py @@ -30,11 +30,11 @@ class TestUtils(TestAutomationBase): expected_lines = [] unexpected_lines = ["Assert"] - self._run_test(request, workspace, editor, physmaterial_editor_test_module, expected_lines, unexpected_lines) + self._run_test(request, workspace, editor, physmaterial_editor_test_module, expected_lines, unexpected_lines, enable_prefab_system=False) def test_UtilTest_Tracer_PicksErrorsAndWarnings(self, request, workspace, launcher_platform, editor): from .utils import UtilTest_Tracer_PicksErrorsAndWarnings as testcase_module - self._run_test(request, workspace, editor, testcase_module, [], []) + self._run_test(request, workspace, editor, testcase_module, [], [], enable_prefab_system=False) def test_FileManagement_FindingFiles(self, workspace, launcher_platform): """ @@ -263,4 +263,4 @@ class TestUtils(TestAutomationBase): expected_lines = [] unexpected_lines = ["Assert"] - self._run_test(request, workspace, editor, test_module, expected_lines, unexpected_lines) + self._run_test(request, workspace, editor, test_module, expected_lines, unexpected_lines, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/Prefab/TestSuite_Main.py index 479915752f..c1d4836342 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/TestSuite_Main.py @@ -12,7 +12,6 @@ import pytest import os import sys -from ly_test_tools import LAUNCHERS sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/../automatedtesting_shared') from base import TestAutomationBase @@ -24,42 +23,41 @@ class TestAutomation(TestAutomationBase): def _run_prefab_test(self, request, workspace, editor, test_module, batch_mode=True, autotest_mode=True): self._run_test(request, workspace, editor, test_module, - extra_cmdline_args=["--regset=/Amazon/Preferences/EnablePrefabSystem=true"], batch_mode=batch_mode, autotest_mode=autotest_mode) - def test_PrefabLevel_OpensLevelWithEntities(self, request, workspace, editor, launcher_platform): - from .tests import PrefabLevel_OpensLevelWithEntities as test_module + def test_OpenLevel_ContainingTwoEntities(self, request, workspace, editor, launcher_platform): + from Prefab.tests.open_level import OpenLevel_ContainingTwoEntities as test_module self._run_prefab_test(request, workspace, editor, test_module) - def test_PrefabBasicWorkflow_CreatePrefab(self, request, workspace, editor, launcher_platform): - from .tests import PrefabBasicWorkflow_CreatePrefab as test_module + def test_CreatePrefab_WithSingleEntity(self, request, workspace, editor, launcher_platform): + from Prefab.tests.create_prefab import CreatePrefab_WithSingleEntity as test_module self._run_prefab_test(request, workspace, editor, test_module) - def test_PrefabBasicWorkflow_InstantiatePrefab(self, request, workspace, editor, launcher_platform): - from .tests import PrefabBasicWorkflow_InstantiatePrefab as test_module + def test_InstantiatePrefab_ContainingASingleEntity(self, request, workspace, editor, launcher_platform): + from Prefab.tests.instantiate_prefab import InstantiatePrefab_ContainingASingleEntity as test_module self._run_prefab_test(request, workspace, editor, test_module) - def test_PrefabBasicWorkflow_CreateAndDeletePrefab(self, request, workspace, editor, launcher_platform): - from .tests import PrefabBasicWorkflow_CreateAndDeletePrefab as test_module + def test_DeletePrefab_ContainingASingleEntity(self, request, workspace, editor, launcher_platform): + from Prefab.tests.delete_prefab import DeletePrefab_ContainingASingleEntity as test_module self._run_prefab_test(request, workspace, editor, test_module) - def test_PrefabBasicWorkflow_CreateAndReparentPrefab(self, request, workspace, editor, launcher_platform): - from .tests import PrefabBasicWorkflow_CreateAndReparentPrefab as test_module + def test_ReparentPrefab_UnderAnotherPrefab(self, request, workspace, editor, launcher_platform): + from Prefab.tests.reparent_prefab import ReparentPrefab_UnderAnotherPrefab as test_module self._run_prefab_test(request, workspace, editor, test_module, autotest_mode=False) - def test_PrefabBasicWorkflow_CreateReparentAndDetachPrefab(self, request, workspace, editor, launcher_platform): - from .tests import PrefabBasicWorkflow_CreateReparentAndDetachPrefab as test_module + def test_DetachPrefab_UnderAnotherPrefab(self, request, workspace, editor, launcher_platform): + from Prefab.tests.detach_prefab import DetachPrefab_UnderAnotherPrefab as test_module self._run_prefab_test(request, workspace, editor, test_module, autotest_mode=False) - def test_PrefabBasicWorkflow_CreateAndDuplicatePrefab(self, request, workspace, editor, launcher_platform): - from .tests import PrefabBasicWorkflow_CreateAndDuplicatePrefab as test_module + def test_DuplicatePrefab_ContainingASingleEntity(self, request, workspace, editor, launcher_platform): + from Prefab.tests.duplicate_prefab import DuplicatePrefab_ContainingASingleEntity as test_module self._run_prefab_test(request, workspace, editor, test_module) - def test_PrefabComplexWorflow_CreatePrefabOfChildEntity(self, request, workspace, editor, launcher_platform): - from .tests import PrefabComplexWorflow_CreatePrefabOfChildEntity as test_module + def test_CreatePrefab_UnderAnEntity(self, request, workspace, editor, launcher_platform): + from Prefab.tests.create_prefab import CreatePrefab_UnderAnEntity as test_module self._run_prefab_test(request, workspace, editor, test_module, autotest_mode=False) - def test_PrefabComplexWorflow_CreatePrefabInsidePrefab(self, request, workspace, editor, launcher_platform): - from .tests import PrefabComplexWorflow_CreatePrefabInsidePrefab as test_module + def test_CreatePrefab_UnderAnotherPrefab(self, request, workspace, editor, launcher_platform): + from Prefab.tests.create_prefab import CreatePrefab_UnderAnotherPrefab as test_module self._run_prefab_test(request, workspace, editor, test_module, autotest_mode=False) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabComplexWorflow_CreatePrefabOfChildEntity.py b/AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_UnderAnEntity.py similarity index 94% rename from AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabComplexWorflow_CreatePrefabOfChildEntity.py rename to AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_UnderAnEntity.py index dec44d52be..5033c1da9c 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabComplexWorflow_CreatePrefabOfChildEntity.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_UnderAnEntity.py @@ -5,7 +5,7 @@ For complete copyright and license terms please see the LICENSE at the root of t SPDX-License-Identifier: Apache-2.0 OR MIT """ -def PrefabComplexWorflow_CreatePrefabOfChildEntity(): +def CreatePrefab_UnderAnEntity(): """ Test description: - Creates two entities, parent and child. Child entity has Parent entity as its parent. @@ -18,7 +18,7 @@ def PrefabComplexWorflow_CreatePrefabOfChildEntity(): from editor_python_test_tools.editor_entity_utils import EditorEntity from editor_python_test_tools.prefab_utils import Prefab - import PrefabTestUtils as prefab_test_utils + import Prefab.tests.PrefabTestUtils as prefab_test_utils prefab_test_utils.open_base_tests_level() @@ -49,4 +49,4 @@ def PrefabComplexWorflow_CreatePrefabOfChildEntity(): if __name__ == "__main__": from editor_python_test_tools.utils import Report - Report.start_test(PrefabComplexWorflow_CreatePrefabOfChildEntity) + Report.start_test(CreatePrefab_UnderAnEntity) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabComplexWorflow_CreatePrefabInsidePrefab.py b/AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_UnderAnotherPrefab.py similarity index 94% rename from AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabComplexWorflow_CreatePrefabInsidePrefab.py rename to AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_UnderAnotherPrefab.py index e14fc96449..429da49434 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabComplexWorflow_CreatePrefabInsidePrefab.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_UnderAnotherPrefab.py @@ -5,7 +5,7 @@ For complete copyright and license terms please see the LICENSE at the root of t SPDX-License-Identifier: Apache-2.0 OR MIT """ -def PrefabComplexWorflow_CreatePrefabInsidePrefab(): +def CreatePrefab_UnderAnotherPrefab(): """ Test description: - Creates an entity with a physx collider @@ -17,7 +17,7 @@ def PrefabComplexWorflow_CreatePrefabInsidePrefab(): from editor_python_test_tools.editor_entity_utils import EditorEntity from editor_python_test_tools.prefab_utils import Prefab - import PrefabTestUtils as prefab_test_utils + import Prefab.tests.PrefabTestUtils as prefab_test_utils prefab_test_utils.open_base_tests_level() @@ -54,4 +54,4 @@ def PrefabComplexWorflow_CreatePrefabInsidePrefab(): if __name__ == "__main__": from editor_python_test_tools.utils import Report - Report.start_test(PrefabComplexWorflow_CreatePrefabInsidePrefab) + Report.start_test(CreatePrefab_UnderAnotherPrefab) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreatePrefab.py b/AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_WithSingleEntity.py similarity index 84% rename from AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreatePrefab.py rename to AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_WithSingleEntity.py index cae105a9a9..80f4c0e596 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreatePrefab.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_WithSingleEntity.py @@ -5,7 +5,7 @@ For complete copyright and license terms please see the LICENSE at the root of t SPDX-License-Identifier: Apache-2.0 OR MIT """ -def PrefabBasicWorkflow_CreatePrefab(): +def CreatePrefab_WithSingleEntity(): CAR_PREFAB_FILE_NAME = 'car_prefab' @@ -13,7 +13,7 @@ def PrefabBasicWorkflow_CreatePrefab(): from editor_python_test_tools.utils import Report from editor_python_test_tools.prefab_utils import Prefab - import PrefabTestUtils as prefab_test_utils + import Prefab.tests.PrefabTestUtils as prefab_test_utils prefab_test_utils.open_base_tests_level() @@ -26,4 +26,4 @@ def PrefabBasicWorkflow_CreatePrefab(): if __name__ == "__main__": from editor_python_test_tools.utils import Report - Report.start_test(PrefabBasicWorkflow_CreatePrefab) + Report.start_test(CreatePrefab_WithSingleEntity) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateAndDeletePrefab.py b/AutomatedTesting/Gem/PythonTests/Prefab/tests/delete_prefab/DeletePrefab_ContainingASingleEntity.py similarity index 83% rename from AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateAndDeletePrefab.py rename to AutomatedTesting/Gem/PythonTests/Prefab/tests/delete_prefab/DeletePrefab_ContainingASingleEntity.py index bbebd70e04..919168019e 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateAndDeletePrefab.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/tests/delete_prefab/DeletePrefab_ContainingASingleEntity.py @@ -5,14 +5,14 @@ For complete copyright and license terms please see the LICENSE at the root of t SPDX-License-Identifier: Apache-2.0 OR MIT """ -def PrefabBasicWorkflow_CreateAndDeletePrefab(): +def DeletePrefab_ContainingASingleEntity(): CAR_PREFAB_FILE_NAME = 'car_prefab' from editor_python_test_tools.editor_entity_utils import EditorEntity from editor_python_test_tools.prefab_utils import Prefab - import PrefabTestUtils as prefab_test_utils + import Prefab.tests.PrefabTestUtils as prefab_test_utils prefab_test_utils.open_base_tests_level() @@ -29,4 +29,4 @@ def PrefabBasicWorkflow_CreateAndDeletePrefab(): if __name__ == "__main__": from editor_python_test_tools.utils import Report - Report.start_test(PrefabBasicWorkflow_CreateAndDeletePrefab) + Report.start_test(DeletePrefab_ContainingASingleEntity) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateReparentAndDetachPrefab.py b/AutomatedTesting/Gem/PythonTests/Prefab/tests/detach_prefab/DetachPrefab_UnderAnotherPrefab.py similarity index 89% rename from AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateReparentAndDetachPrefab.py rename to AutomatedTesting/Gem/PythonTests/Prefab/tests/detach_prefab/DetachPrefab_UnderAnotherPrefab.py index bdf77c4bf3..5c97f0b032 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateReparentAndDetachPrefab.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/tests/detach_prefab/DetachPrefab_UnderAnotherPrefab.py @@ -5,7 +5,7 @@ For complete copyright and license terms please see the LICENSE at the root of t SPDX-License-Identifier: Apache-2.0 OR MIT """ -def PrefabBasicWorkflow_CreateReparentAndDetachPrefab(): +def DetachPrefab_UnderAnotherPrefab(): CAR_PREFAB_FILE_NAME = 'car_prefab' WHEEL_PREFAB_FILE_NAME = 'wheel_prefab' @@ -18,7 +18,7 @@ def PrefabBasicWorkflow_CreateReparentAndDetachPrefab(): from editor_python_test_tools.editor_entity_utils import EditorEntity from editor_python_test_tools.prefab_utils import Prefab - import PrefabTestUtils as prefab_test_utils + import Prefab.tests.PrefabTestUtils as prefab_test_utils prefab_test_utils.open_base_tests_level() @@ -48,4 +48,4 @@ def PrefabBasicWorkflow_CreateReparentAndDetachPrefab(): if __name__ == "__main__": from editor_python_test_tools.utils import Report - Report.start_test(PrefabBasicWorkflow_CreateReparentAndDetachPrefab) + Report.start_test(DetachPrefab_UnderAnotherPrefab) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateAndDuplicatePrefab.py b/AutomatedTesting/Gem/PythonTests/Prefab/tests/duplicate_prefab/DuplicatePrefab_ContainingASingleEntity.py similarity index 83% rename from AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateAndDuplicatePrefab.py rename to AutomatedTesting/Gem/PythonTests/Prefab/tests/duplicate_prefab/DuplicatePrefab_ContainingASingleEntity.py index 2479ae549e..e611303fbb 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateAndDuplicatePrefab.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/tests/duplicate_prefab/DuplicatePrefab_ContainingASingleEntity.py @@ -5,14 +5,14 @@ For complete copyright and license terms please see the LICENSE at the root of t SPDX-License-Identifier: Apache-2.0 OR MIT """ -def PrefabBasicWorkflow_CreateAndDuplicatePrefab(): +def DuplicatePrefab_ContainingASingleEntity(): CAR_PREFAB_FILE_NAME = 'car_prefab' from editor_python_test_tools.editor_entity_utils import EditorEntity from editor_python_test_tools.prefab_utils import Prefab - import PrefabTestUtils as prefab_test_utils + import Prefab.tests.PrefabTestUtils as prefab_test_utils prefab_test_utils.open_base_tests_level() @@ -29,4 +29,4 @@ def PrefabBasicWorkflow_CreateAndDuplicatePrefab(): if __name__ == "__main__": from editor_python_test_tools.utils import Report - Report.start_test(PrefabBasicWorkflow_CreateAndDuplicatePrefab) + Report.start_test(DuplicatePrefab_ContainingASingleEntity) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_InstantiatePrefab.py b/AutomatedTesting/Gem/PythonTests/Prefab/tests/instantiate_prefab/InstantiatePrefab_ContainingASingleEntity.py similarity index 85% rename from AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_InstantiatePrefab.py rename to AutomatedTesting/Gem/PythonTests/Prefab/tests/instantiate_prefab/InstantiatePrefab_ContainingASingleEntity.py index a701802cd4..a81608ee8a 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_InstantiatePrefab.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/tests/instantiate_prefab/InstantiatePrefab_ContainingASingleEntity.py @@ -5,7 +5,7 @@ For complete copyright and license terms please see the LICENSE at the root of t SPDX-License-Identifier: Apache-2.0 OR MIT """ -def PrefabBasicWorkflow_InstantiatePrefab(): +def InstantiatePrefab_ContainingASingleEntity(): from azlmbr.math import Vector3 @@ -15,7 +15,7 @@ def PrefabBasicWorkflow_InstantiatePrefab(): from editor_python_test_tools.prefab_utils import Prefab - import PrefabTestUtils as prefab_test_utils + import Prefab.tests.PrefabTestUtils as prefab_test_utils prefab_test_utils.open_base_tests_level() @@ -30,4 +30,4 @@ def PrefabBasicWorkflow_InstantiatePrefab(): if __name__ == "__main__": from editor_python_test_tools.utils import Report - Report.start_test(PrefabBasicWorkflow_InstantiatePrefab) + Report.start_test(InstantiatePrefab_ContainingASingleEntity) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabLevel_OpensLevelWithEntities.py b/AutomatedTesting/Gem/PythonTests/Prefab/tests/open_level/OpenLevel_ContainingTwoEntities.py similarity index 96% rename from AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabLevel_OpensLevelWithEntities.py rename to AutomatedTesting/Gem/PythonTests/Prefab/tests/open_level/OpenLevel_ContainingTwoEntities.py index 0eb7e86a9e..787d7000d2 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabLevel_OpensLevelWithEntities.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/tests/open_level/OpenLevel_ContainingTwoEntities.py @@ -14,7 +14,7 @@ class Tests(): # fmt:on -def PrefabLevel_OpensLevelWithEntities(): +def OpenLevel_ContainingTwoEntities(): """ Opens the level that contains 2 entities, "EmptyEntity" and "EntityWithPxCollider". This test makes sure that both entities exist after opening the level and that: @@ -70,4 +70,4 @@ def PrefabLevel_OpensLevelWithEntities(): if __name__ == "__main__": from editor_python_test_tools.utils import Report - Report.start_test(PrefabLevel_OpensLevelWithEntities) + Report.start_test(OpenLevel_ContainingTwoEntities) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateAndReparentPrefab.py b/AutomatedTesting/Gem/PythonTests/Prefab/tests/reparent_prefab/ReparentPrefab_UnderAnotherPrefab.py similarity index 89% rename from AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateAndReparentPrefab.py rename to AutomatedTesting/Gem/PythonTests/Prefab/tests/reparent_prefab/ReparentPrefab_UnderAnotherPrefab.py index 1cbc591c29..2c460a3298 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/tests/PrefabBasicWorkflow_CreateAndReparentPrefab.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/tests/reparent_prefab/ReparentPrefab_UnderAnotherPrefab.py @@ -5,7 +5,7 @@ For complete copyright and license terms please see the LICENSE at the root of t SPDX-License-Identifier: Apache-2.0 OR MIT """ -def PrefabBasicWorkflow_CreateAndReparentPrefab(): +def ReparentPrefab_UnderAnotherPrefab(): CAR_PREFAB_FILE_NAME = 'car_prefab' WHEEL_PREFAB_FILE_NAME = 'wheel_prefab' @@ -18,7 +18,7 @@ def PrefabBasicWorkflow_CreateAndReparentPrefab(): from editor_python_test_tools.editor_entity_utils import EditorEntity from editor_python_test_tools.prefab_utils import Prefab - import PrefabTestUtils as prefab_test_utils + import Prefab.tests.PrefabTestUtils as prefab_test_utils prefab_test_utils.open_base_tests_level() @@ -45,4 +45,4 @@ def PrefabBasicWorkflow_CreateAndReparentPrefab(): if __name__ == "__main__": from editor_python_test_tools.utils import Report - Report.start_test(PrefabBasicWorkflow_CreateAndReparentPrefab) + Report.start_test(ReparentPrefab_UnderAnotherPrefab) diff --git a/AutomatedTesting/Gem/PythonTests/PythonAssetBuilder/AssetBuilder_test_case.py b/AutomatedTesting/Gem/PythonTests/PythonAssetBuilder/AssetBuilder_test_case.py index 8d418222ce..112fd013bf 100644 --- a/AutomatedTesting/Gem/PythonTests/PythonAssetBuilder/AssetBuilder_test_case.py +++ b/AutomatedTesting/Gem/PythonTests/PythonAssetBuilder/AssetBuilder_test_case.py @@ -8,42 +8,54 @@ import azlmbr.bus import azlmbr.asset import azlmbr.editor import azlmbr.math -import azlmbr.legacy.general -def raise_and_stop(msg): - print (msg) +print('Starting mock asset tests') +handler = azlmbr.editor.EditorEventBusHandler() + +def on_notify_editor_initialized(args): + # These tests are meant to check that the test_asset.mock source asset turned into + # a test_asset.mock_asset product asset via the Python asset builder system + mockAssetType = azlmbr.math.Uuid_CreateString('{9274AD17-3212-4651-9F3B-7DCCB080E467}', 0) + mockAssetPath = 'gem/pythontests/pythonassetbuilder/test_asset.mock_asset' + assetId = azlmbr.asset.AssetCatalogRequestBus(azlmbr.bus.Broadcast, 'GetAssetIdByPath', mockAssetPath, mockAssetType, False) + if (assetId.is_valid() is False): + print(f'Mock AssetId is not valid! Got {assetId.to_string()} instead') + else: + print(f'Mock AssetId is valid!') + + assetIdString = assetId.to_string() + if (assetIdString.endswith(':528cca58') is False): + print(f'Mock AssetId {assetIdString} has unexpected sub-id for {mockAssetPath}!') + else: + print(f'Mock AssetId has expected sub-id for {mockAssetPath}!') + + print ('Mock asset exists') + + # These tests detect if the geom_group.fbx file turns into a number of azmodel product assets + def test_azmodel_product(generatedModelAssetPath): + azModelAssetType = azlmbr.math.Uuid_CreateString('{2C7477B6-69C5-45BE-8163-BCD6A275B6D8}', 0) + assetId = azlmbr.asset.AssetCatalogRequestBus(azlmbr.bus.Broadcast, 'GetAssetIdByPath', generatedModelAssetPath, azModelAssetType, False) + assetIdString = assetId.to_string() + if (assetId.is_valid()): + print(f'AssetId found for asset ({generatedModelAssetPath}) found') + else: + print(f'Asset at path {generatedModelAssetPath} has unexpected asset ID ({assetIdString})!') + + test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_z_positive_1.azmodel') + test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_z_negative_1.azmodel') + test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_y_positive_1.azmodel') + test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_y_negative_1.azmodel') + test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_x_positive_1.azmodel') + test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_x_negative_1.azmodel') + test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_center_1.azmodel') + + # clear up notification handler + global handler + handler.disconnect() + handler = None + + print('Finished mock asset tests') azlmbr.editor.EditorToolsApplicationRequestBus(azlmbr.bus.Broadcast, 'ExitNoPrompt') -# These tests are meant to check that the test_asset.mock source asset turned into -# a test_asset.mock_asset product asset via the Python asset builder system -mockAssetType = azlmbr.math.Uuid_CreateString('{9274AD17-3212-4651-9F3B-7DCCB080E467}', 0) -mockAssetPath = 'gem/pythontests/pythonassetbuilder/test_asset.mock_asset' -assetId = azlmbr.asset.AssetCatalogRequestBus(azlmbr.bus.Broadcast, 'GetAssetIdByPath', mockAssetPath, mockAssetType, False) -if (assetId.is_valid() is False): - raise_and_stop(f'Mock AssetId is not valid! Got {assetId.to_string()} instead') - -assetIdString = assetId.to_string() -if (assetIdString.endswith(':528cca58') is False): - raise_and_stop(f'Mock AssetId {assetIdString} has unexpected sub-id for {mockAssetPath}!') - -print ('Mock asset exists') - -# These tests detect if the geom_group.fbx file turns into a number of azmodel product assets -def test_azmodel_product(generatedModelAssetPath): - azModelAssetType = azlmbr.math.Uuid_CreateString('{2C7477B6-69C5-45BE-8163-BCD6A275B6D8}', 0) - assetId = azlmbr.asset.AssetCatalogRequestBus(azlmbr.bus.Broadcast, 'GetAssetIdByPath', generatedModelAssetPath, azModelAssetType, False) - assetIdString = assetId.to_string() - if (assetId.is_valid()): - print(f'AssetId found for asset ({generatedModelAssetPath}) found') - else: - raise_and_stop(f'Asset at path {generatedModelAssetPath} has unexpected asset ID ({assetIdString})!') - -test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_z_positive_1.azmodel') -test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_z_negative_1.azmodel') -test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_y_positive_1.azmodel') -test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_y_negative_1.azmodel') -test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_x_positive_1.azmodel') -test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_x_negative_1.azmodel') -test_azmodel_product('gem/pythontests/pythonassetbuilder/geom_group_fbx_cube_100cm_center_1.azmodel') - -azlmbr.editor.EditorToolsApplicationRequestBus(azlmbr.bus.Broadcast, 'ExitNoPrompt') +handler.connect() +handler.add_callback('NotifyEditorInitialized', on_notify_editor_initialized) diff --git a/AutomatedTesting/Gem/PythonTests/Terrain/EditorScripts/TerrainPhysicsCollider_ChangesSizeWithAxisAlignedBoxShapeChanges.py b/AutomatedTesting/Gem/PythonTests/Terrain/EditorScripts/TerrainPhysicsCollider_ChangesSizeWithAxisAlignedBoxShapeChanges.py index aba506ea20..f4c2a19884 100644 --- a/AutomatedTesting/Gem/PythonTests/Terrain/EditorScripts/TerrainPhysicsCollider_ChangesSizeWithAxisAlignedBoxShapeChanges.py +++ b/AutomatedTesting/Gem/PythonTests/Terrain/EditorScripts/TerrainPhysicsCollider_ChangesSizeWithAxisAlignedBoxShapeChanges.py @@ -12,13 +12,12 @@ class Tests(): add_terrain_collider = ("Terrain Physics Heightfield Collider component added", "Failed to add a Terrain Physics Heightfield Collider component") box_dimensions_changed = ("Aabb dimensions changed successfully", "Failed change Aabb dimensions") configuration_changed = ("Terrain size changed successfully", "Failed terrain size change") - no_errors_and_warnings_found = ("No errors and warnings found", "Found errors and warnings") #fmt: on def TerrainPhysicsCollider_ChangesSizeWithAxisAlignedBoxShapeChanges(): """ Summary: - Test aspects of the TerrainHeightGradientList through the BehaviorContext and the Property Tree. + Test aspects of the Terrain Physics Heightfield Collider through the BehaviorContext and the Property Tree. Test Steps: Expected Behavior: diff --git a/AutomatedTesting/Gem/PythonTests/Terrain/EditorScripts/Terrain_SupportsPhysics.py b/AutomatedTesting/Gem/PythonTests/Terrain/EditorScripts/Terrain_SupportsPhysics.py new file mode 100644 index 0000000000..e68b0932c2 --- /dev/null +++ b/AutomatedTesting/Gem/PythonTests/Terrain/EditorScripts/Terrain_SupportsPhysics.py @@ -0,0 +1,164 @@ +""" +Copyright (c) Contributors to the Open 3D Engine Project. +For complete copyright and license terms please see the LICENSE at the root of this distribution. + +SPDX-License-Identifier: Apache-2.0 OR MIT +""" + +#fmt: off +class Tests(): + create_terrain_spawner_entity = ("Terrain_spawner_entity created successfully", "Failed to create terrain_spawner_entity") + create_height_provider_entity = ("Height_provider_entity created successfully", "Failed to create height_provider_entity") + create_test_ball = ("Ball created successfully", "Failed to create Ball") + box_dimensions_changed = ("Aabb dimensions changed successfully", "Failed change Aabb dimensions") + shape_changed = ("Shape changed successfully", "Failed Shape change") + entity_added = ("Entity added successfully", "Failed Entity add") + frequency_changed = ("Frequency changed successfully", "Failed Frequency change") + shape_set = ("Shape set to Sphere successfully", "Failed to set Sphere shape") + test_collision = ("Ball collided with terrain", "Ball failed to collide with terrain") + no_errors_and_warnings_found = ("No errors and warnings found", "Found errors and warnings") +#fmt: on + +def Terrain_SupportsPhysics(): + """ + Summary: + Test aspects of the TerrainHeightGradientList through the BehaviorContext and the Property Tree. + + Test Steps: + Expected Behavior: + The Editor is stable there are no warnings or errors. + + Test Steps: + 1) Load the base level + 2) Create 2 test entities, one parent at 512.0, 512.0, 50.0 and one child at the default position and add the required components + 2a) Create a ball at 600.0, 600.0, 46.0 - This position is not too high over the heightfield so will collide in a reasonable time + 3) Start the Tracer to catch any errors and warnings + 4) Change the Axis Aligned Box Shape dimensions + 5) Set the Vegetation Shape reference to TestEntity1 + 6) Set the FastNoise gradient frequency to 0.01 + 7) Set the Gradient List to TestEntity2 + 8) Set the PhysX Collider to Sphere mode + 9) Disable and Enable the Terrain Gradient List so that it is recognised + 10) Enter game mode and test if the ball hits the heightfield within 3 seconds + 11) Verify there are no errors and warnings in the logs + + + :return: None + """ + + from editor_python_test_tools.editor_entity_utils import EditorEntity + from editor_python_test_tools.utils import TestHelper as helper, Report + from editor_python_test_tools.utils import Report, Tracer + import editor_python_test_tools.hydra_editor_utils as hydra + import azlmbr.math as azmath + import azlmbr.legacy.general as general + import azlmbr.bus as bus + import azlmbr.editor as editor + import math + + SET_BOX_X_SIZE = 1024.0 + SET_BOX_Y_SIZE = 1024.0 + SET_BOX_Z_SIZE = 100.0 + + helper.init_idle() + + # 1) Load the level + helper.open_level("", "Base") + helper.wait_for_condition(lambda: general.get_current_level_name() == "Base", 2.0) + + #1a) Load the level components + hydra.add_level_component("Terrain World") + hydra.add_level_component("Terrain World Renderer") + + # 2) Create 2 test entities, one parent at 512.0, 512.0, 50.0 and one child at the default position and add the required components + entity1_components_to_add = ["Axis Aligned Box Shape", "Terrain Layer Spawner", "Terrain Height Gradient List", "Terrain Physics Heightfield Collider", "PhysX Heightfield Collider"] + entity2_components_to_add = ["Vegetation Reference Shape", "Gradient Transform Modifier", "FastNoise Gradient"] + ball_components_to_add = ["Sphere Shape", "PhysX Collider", "PhysX Rigid Body"] + terrain_spawner_entity = hydra.Entity("TestEntity1") + terrain_spawner_entity.create_entity(azmath.Vector3(512.0, 512.0, 50.0), entity1_components_to_add) + Report.result(Tests.create_terrain_spawner_entity, terrain_spawner_entity.id.IsValid()) + height_provider_entity = hydra.Entity("TestEntity2") + height_provider_entity.create_entity(azmath.Vector3(0.0, 0.0, 0.0), entity2_components_to_add,terrain_spawner_entity.id) + Report.result(Tests.create_height_provider_entity, height_provider_entity.id.IsValid()) + # 2a) Create a ball at 600.0, 600.0, 46.0 - This position is not too high over the heightfield so will collide in a reasonable time + ball = hydra.Entity("Ball") + ball.create_entity(azmath.Vector3(600.0, 600.0, 46.0), ball_components_to_add) + Report.result(Tests.create_test_ball, ball.id.IsValid()) + # Give everything a chance to finish initializing. + general.idle_wait_frames(1) + + # 3) Start the Tracer to catch any errors and warnings + with Tracer() as section_tracer: + # 4) Change the Axis Aligned Box Shape dimensions + box_dimensions = azmath.Vector3(SET_BOX_X_SIZE, SET_BOX_Y_SIZE, SET_BOX_Z_SIZE) + terrain_spawner_entity.get_set_test(0, "Axis Aligned Box Shape|Box Configuration|Dimensions", box_dimensions) + box_shape_dimensions = hydra.get_component_property_value(terrain_spawner_entity.components[0], "Axis Aligned Box Shape|Box Configuration|Dimensions") + Report.result(Tests.box_dimensions_changed, box_dimensions == box_shape_dimensions) + + # 5) Set the Vegetaion Shape reference to TestEntity1 + height_provider_entity.get_set_test(0, "Configuration|Shape Entity Id", terrain_spawner_entity.id) + entityId = hydra.get_component_property_value(height_provider_entity.components[0], "Configuration|Shape Entity Id") + Report.result(Tests.shape_changed, entityId == terrain_spawner_entity.id) + + # 6) Set the FastNoise Gradient frequency to 0.01 + Frequency = 0.01 + height_provider_entity.get_set_test(2, "Configuration|Frequency", Frequency) + FrequencyVal = hydra.get_component_property_value(height_provider_entity.components[2], "Configuration|Frequency") + Report.result(Tests.frequency_changed, math.isclose(Frequency, FrequencyVal, abs_tol = 0.00001)) + + # 7) Set the Gradient List to TestEntity2 + propertyTree = hydra.get_property_tree(terrain_spawner_entity.components[2]) + propertyTree.add_container_item("Configuration|Gradient Entities", 0, height_provider_entity.id) + checkID = propertyTree.get_container_item("Configuration|Gradient Entities", 0) + Report.result(Tests.entity_added, checkID.GetValue() == height_provider_entity.id) + + # 8) Set the PhysX Collider to Sphere mode + shape = 0 + hydra.get_set_test(ball, 1, "Shape Configuration|Shape", shape) + setShape = hydra.get_component_property_value(ball.components[1], "Shape Configuration|Shape") + Report.result(Tests.shape_set, shape == setShape) + + # 9) Disable and Enable the Terrain Gradient List so that it is recognised + editor.EditorComponentAPIBus(bus.Broadcast, 'EnableComponents', [terrain_spawner_entity.components[2]]) + + general.enter_game_mode() + + general.idle_wait_frames(1) + + # 10) Enter game mode and test if the ball hits the heightfield within 3 seconds + TIMEOUT = 3.0 + + class Collider: + id = general.find_game_entity("Ball") + touched_ground = False + + terrain_id = general.find_game_entity("TestEntity1") + + def on_collision_begin(args): + other_id = args[0] + if other_id.Equal(terrain_id): + Report.info("Touched ground") + Collider.touched_ground = True + + handler = azlmbr.physics.CollisionNotificationBusHandler() + handler.connect(Collider.id) + handler.add_callback("OnCollisionBegin", on_collision_begin) + + helper.wait_for_condition(lambda: Collider.touched_ground, TIMEOUT) + Report.result(Tests.test_collision, Collider.touched_ground) + + general.exit_game_mode() + + # 11) Verify there are no errors and warnings in the logs + helper.wait_for_condition(lambda: section_tracer.has_errors or section_tracer.has_asserts, 1.0) + for error_info in section_tracer.errors: + Report.info(f"Error: {error_info.filename} {error_info.function} | {error_info.message}") + for assert_info in section_tracer.asserts: + Report.info(f"Assert: {assert_info.filename} {assert_info.function} | {assert_info.message}") + + +if __name__ == "__main__": + + from editor_python_test_tools.utils import Report + Report.start_test(Terrain_SupportsPhysics) + diff --git a/AutomatedTesting/Gem/PythonTests/Terrain/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/Terrain/TestSuite_Main.py index 620d84d7db..786651713c 100644 --- a/AutomatedTesting/Gem/PythonTests/Terrain/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/Terrain/TestSuite_Main.py @@ -13,13 +13,17 @@ import os import sys from ly_test_tools import LAUNCHERS -from ly_test_tools.o3de.editor_test import EditorTestSuite, EditorSingleTest +from ly_test_tools.o3de.editor_test import EditorTestSuite, EditorSharedTest @pytest.mark.SUITE_main @pytest.mark.parametrize("launcher_platform", ['windows_editor']) @pytest.mark.parametrize("project", ["AutomatedTesting"]) class TestAutomation(EditorTestSuite): - #global_extra_cmdline_args=["--regset=/Amazon/Preferences/EnablePrefabSystem=true"] - class test_AxisAlignedBoxShape_ConfigurationWorks(EditorSingleTest): + enable_prefab_system = False + + class test_AxisAlignedBoxShape_ConfigurationWorks(EditorSharedTest): from .EditorScripts import TerrainPhysicsCollider_ChangesSizeWithAxisAlignedBoxShapeChanges as test_module + + class test_Terrain_SupportsPhysics(EditorSharedTest): + from .EditorScripts import Terrain_SupportsPhysics as test_module diff --git a/AutomatedTesting/Gem/PythonTests/WhiteBox/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/WhiteBox/TestSuite_Main.py index fa6c81c98a..2fc717e256 100644 --- a/AutomatedTesting/Gem/PythonTests/WhiteBox/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/WhiteBox/TestSuite_Main.py @@ -24,12 +24,12 @@ from base import TestAutomationBase class TestAutomation(TestAutomationBase): def test_WhiteBox_AddComponentToEntity(self, request, workspace, editor, launcher_platform): from .tests import WhiteBox_AddComponentToEntity as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_WhiteBox_SetDefaultShape(self, request, workspace, editor, launcher_platform): from .tests import WhiteBox_SetDefaultShape as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_WhiteBox_SetInvisible(self, request, workspace, editor, launcher_platform): from .tests import WhiteBox_SetInvisible as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/automatedtesting_shared/base.py b/AutomatedTesting/Gem/PythonTests/automatedtesting_shared/base.py index 41d693cb60..4543888a7c 100755 --- a/AutomatedTesting/Gem/PythonTests/automatedtesting_shared/base.py +++ b/AutomatedTesting/Gem/PythonTests/automatedtesting_shared/base.py @@ -52,7 +52,7 @@ class TestAutomationBase: cls._kill_ly_processes() def _run_test(self, request, workspace, editor, testcase_module, extra_cmdline_args=[], batch_mode=True, - autotest_mode=True, use_null_renderer=True): + autotest_mode=True, use_null_renderer=True, enable_prefab_system=True): test_starttime = time.time() self.logger = logging.getLogger(__name__) errors = [] @@ -97,6 +97,11 @@ class TestAutomationBase: pycmd += ["-BatchMode"] if autotest_mode: pycmd += ["-autotest_mode"] + if enable_prefab_system: + pycmd += ["--regset=/Amazon/Preferences/EnablePrefabSystem=true"] + else: + pycmd += ["--regset=/Amazon/Preferences/EnablePrefabSystem=false"] + pycmd += extra_cmdline_args editor.args.extend(pycmd) # args are added to the WinLauncher start command editor.start(backupFiles = False, launch_ap = False) diff --git a/AutomatedTesting/Gem/PythonTests/editor/EditorScripts/AssetBrowser_SearchFiltering.py b/AutomatedTesting/Gem/PythonTests/editor/EditorScripts/AssetBrowser_SearchFiltering.py index 33c48c7a77..7366faafdc 100644 --- a/AutomatedTesting/Gem/PythonTests/editor/EditorScripts/AssetBrowser_SearchFiltering.py +++ b/AutomatedTesting/Gem/PythonTests/editor/EditorScripts/AssetBrowser_SearchFiltering.py @@ -62,7 +62,7 @@ def AssetBrowser_SearchFiltering(): from editor_python_test_tools.utils import Report from editor_python_test_tools.utils import TestHelper as helper - def verify_files_appeared(model, allowed_asset_extentions, parent_index=QtCore.QModelIndex()): + def verify_files_appeared(model, allowed_asset_extensions, parent_index=QtCore.QModelIndex()): indexes = [parent_index] while len(indexes) > 0: parent_index = indexes.pop(0) @@ -71,7 +71,7 @@ def AssetBrowser_SearchFiltering(): cur_data = cur_index.data(Qt.DisplayRole) if ( "." in cur_data - and (cur_data.lower().split(".")[-1] not in allowed_asset_extentions) + and (cur_data.lower().split(".")[-1] not in allowed_asset_extensions) and not cur_data[-1] == ")" ): Report.info(f"Incorrect file found: {cur_data}") @@ -94,16 +94,21 @@ def AssetBrowser_SearchFiltering(): Report.info("Asset Browser is already open") editor_window = pyside_utils.get_editor_main_window() app = QtWidgets.QApplication.instance() - - # 3) Type the name of an asset in the search bar and make sure only one asset is filtered in Asset browser + + # 3) Type the name of an asset in the search bar and make sure it is filtered to and selectable asset_browser = editor_window.findChild(QtWidgets.QDockWidget, "Asset Browser") search_bar = asset_browser.findChild(QtWidgets.QLineEdit, "textSearch") search_bar.setText("cedar.fbx") asset_browser_tree = asset_browser.findChild(QtWidgets.QTreeView, "m_assetBrowserTreeViewWidget") - model_index = pyside_utils.find_child_by_pattern(asset_browser_tree, "cedar.fbx") - pyside_utils.item_view_index_mouse_click(asset_browser_tree, model_index) + asset_browser_table = asset_browser.findChild(QtWidgets.QTreeView, "m_assetBrowserTableViewWidget") + found = await pyside_utils.wait_for_condition(lambda: pyside_utils.find_child_by_pattern(asset_browser_table, "cedar.fbx"), 5.0) + if found: + model_index = pyside_utils.find_child_by_pattern(asset_browser_table, "cedar.fbx") + else: + Report.result(Tests.asset_filtered, found) + pyside_utils.item_view_index_mouse_click(asset_browser_table, model_index) is_filtered = await pyside_utils.wait_for_condition( - lambda: asset_browser_tree.indexBelow(asset_browser_tree.currentIndex()) == QtCore.QModelIndex(), 5.0) + lambda: asset_browser_table.currentIndex() == model_index, 5.0) Report.result(Tests.asset_filtered, is_filtered) # 4) Click the "X" in the search bar. diff --git a/AutomatedTesting/Gem/PythonTests/editor/EditorScripts/AssetBrowser_TreeNavigation.py b/AutomatedTesting/Gem/PythonTests/editor/EditorScripts/AssetBrowser_TreeNavigation.py index b4f0dc7f6c..ecc77778cc 100644 --- a/AutomatedTesting/Gem/PythonTests/editor/EditorScripts/AssetBrowser_TreeNavigation.py +++ b/AutomatedTesting/Gem/PythonTests/editor/EditorScripts/AssetBrowser_TreeNavigation.py @@ -84,8 +84,8 @@ def AssetBrowser_TreeNavigation(): # 3) Collapse all files initially main_window = editor_window.findChild(QtWidgets.QMainWindow) - asset_browser = pyside_utils.find_child_by_hierarchy(main_window, ..., "Asset Browser") - tree = pyside_utils.find_child_by_hierarchy(asset_browser, ..., "m_assetBrowserTreeViewWidget") + asset_browser = pyside_utils.find_child_by_pattern(main_window, text="Asset Browser", type=QtWidgets.QDockWidget) + tree = pyside_utils.find_child_by_pattern(asset_browser, "m_assetBrowserTreeViewWidget") scroll_area = tree.findChild(QtWidgets.QWidget, "qt_scrollarea_vcontainer") scroll_bar = scroll_area.findChild(QtWidgets.QScrollBar) tree.collapseAll() diff --git a/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Main.py index 49069569eb..c9e91687e0 100644 --- a/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Main.py @@ -33,14 +33,14 @@ class TestAutomation(TestAutomationBase): def test_BasicEditorWorkflows_LevelEntityComponentCRUD(self, request, workspace, editor, launcher_platform, remove_test_level): from .EditorScripts import BasicEditorWorkflows_LevelEntityComponentCRUD as test_module - self._run_test(request, workspace, editor, test_module, batch_mode=False, autotest_mode=False) + self._run_test(request, workspace, editor, test_module, batch_mode=False, autotest_mode=False, enable_prefab_system=False) @pytest.mark.REQUIRES_gpu def test_BasicEditorWorkflows_GPU_LevelEntityComponentCRUD(self, request, workspace, editor, launcher_platform, remove_test_level): from .EditorScripts import BasicEditorWorkflows_LevelEntityComponentCRUD as test_module self._run_test(request, workspace, editor, test_module, batch_mode=False, autotest_mode=False, - use_null_renderer=False) + use_null_renderer=False, enable_prefab_system=False) def test_EntityOutlienr_EntityOrdering(self, request, workspace, editor, launcher_platform): from .EditorScripts import EntityOutliner_EntityOrdering as test_module @@ -51,5 +51,4 @@ class TestAutomation(TestAutomationBase): test_module, batch_mode=False, autotest_mode=True, - extra_cmdline_args=["--regset=/Amazon/Preferences/EnablePrefabSystem=true"] ) diff --git a/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Main_Optimized.py b/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Main_Optimized.py index afc52f962d..ccc4ee9737 100644 --- a/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Main_Optimized.py +++ b/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Main_Optimized.py @@ -21,6 +21,8 @@ class TestAutomationNoAutoTestMode(EditorTestSuite): # Disable -autotest_mode and -BatchMode. Tests cannot run in -BatchMode due to UI interactions, and these tests # interact with modal dialogs global_extra_cmdline_args = [] + + enable_prefab_system = False class test_BasicEditorWorkflows_LevelEntityComponentCRUD(EditorSingleTest): # Custom teardown to remove slice asset created during test @@ -43,7 +45,6 @@ class TestAutomationNoAutoTestMode(EditorTestSuite): class test_InputBindings_Add_Remove_Input_Events(EditorSharedTest): from .EditorScripts import InputBindings_Add_Remove_Input_Events as test_module - @pytest.mark.skip(reason="Crashes Editor: ATOM-15493") class test_AssetPicker_UI_UX(EditorSharedTest): from .EditorScripts import AssetPicker_UI_UX as test_module @@ -57,10 +58,11 @@ class TestAutomationAutoTestMode(EditorTestSuite): # Enable only -autotest_mode for these tests. Tests cannot run in -BatchMode due to UI interactions global_extra_cmdline_args = ["-autotest_mode"] + enable_prefab_system = False + class test_AssetBrowser_TreeNavigation(EditorSharedTest): from .EditorScripts import AssetBrowser_TreeNavigation as test_module - @pytest.mark.skip(reason="Crashes Editor: ATOM-15493") class test_AssetBrowser_SearchFiltering(EditorSharedTest): from .EditorScripts import AssetBrowser_SearchFiltering as test_module @@ -74,6 +76,5 @@ class TestAutomationAutoTestMode(EditorTestSuite): class test_Menus_FileMenuOptions_Work(EditorSharedTest): from .EditorScripts import Menus_FileMenuOptions as test_module - class test_BasicEditorWorkflows_ExistingLevel_EntityComponentCRUD(EditorSharedTest): from .EditorScripts import BasicEditorWorkflows_ExistingLevel_EntityComponentCRUD as test_module diff --git a/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Periodic.py b/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Periodic.py index 398b64bc87..1bd1d7f987 100644 --- a/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Periodic.py +++ b/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Periodic.py @@ -32,31 +32,29 @@ class TestAutomation(TestAutomationBase): def test_AssetBrowser_TreeNavigation(self, request, workspace, editor, launcher_platform): from .EditorScripts import AssetBrowser_TreeNavigation as test_module - self._run_test(request, workspace, editor, test_module, batch_mode=False) + self._run_test(request, workspace, editor, test_module, batch_mode=False, enable_prefab_system=False) - @pytest.mark.skip(reason="Crashes Editor: ATOM-15493") def test_AssetBrowser_SearchFiltering(self, request, workspace, editor, launcher_platform): from .EditorScripts import AssetBrowser_SearchFiltering as test_module - self._run_test(request, workspace, editor, test_module, batch_mode=False) + self._run_test(request, workspace, editor, test_module, batch_mode=False, enable_prefab_system=False) - @pytest.mark.skip(reason="Crashes Editor: ATOM-15493") def test_AssetPicker_UI_UX(self, request, workspace, editor, launcher_platform): from .EditorScripts import AssetPicker_UI_UX as test_module - self._run_test(request, workspace, editor, test_module, autotest_mode=False, batch_mode=False) + self._run_test(request, workspace, editor, test_module, autotest_mode=False, batch_mode=False, enable_prefab_system=False) def test_ComponentCRUD_Add_Delete_Components(self, request, workspace, editor, launcher_platform): from .EditorScripts import ComponentCRUD_Add_Delete_Components as test_module - self._run_test(request, workspace, editor, test_module, batch_mode=False) + self._run_test(request, workspace, editor, test_module, batch_mode=False, enable_prefab_system=False) def test_InputBindings_Add_Remove_Input_Events(self, request, workspace, editor, launcher_platform): from .EditorScripts import InputBindings_Add_Remove_Input_Events as test_module - self._run_test(request, workspace, editor, test_module, batch_mode=False, autotest_mode=False) + self._run_test(request, workspace, editor, test_module, batch_mode=False, autotest_mode=False, enable_prefab_system=False) def test_Menus_ViewMenuOptions_Work(self, request, workspace, editor, launcher_platform): from .EditorScripts import Menus_ViewMenuOptions as test_module - self._run_test(request, workspace, editor, test_module, batch_mode=False) + self._run_test(request, workspace, editor, test_module, batch_mode=False, enable_prefab_system=False) @pytest.mark.skip(reason="Times out due to dialogs failing to dismiss: LYN-4208") def test_Menus_FileMenuOptions_Work(self, request, workspace, editor, launcher_platform): from .EditorScripts import Menus_FileMenuOptions as test_module - self._run_test(request, workspace, editor, test_module, batch_mode=False) + self._run_test(request, workspace, editor, test_module, batch_mode=False, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Sandbox.py b/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Sandbox.py index 98a6620d9c..8a56a2dbfd 100644 --- a/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Sandbox.py +++ b/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Sandbox.py @@ -20,8 +20,8 @@ class TestAutomation(TestAutomationBase): def test_Menus_EditMenuOptions_Work(self, request, workspace, editor, launcher_platform): from .EditorScripts import Menus_EditMenuOptions as test_module - self._run_test(request, workspace, editor, test_module, batch_mode=False) + self._run_test(request, workspace, editor, test_module, batch_mode=False, enable_prefab_system=False) def test_Docking_BasicDockedTools(self, request, workspace, editor, launcher_platform): from .EditorScripts import Docking_BasicDockedTools as test_module - self._run_test(request, workspace, editor, test_module, batch_mode=False) + self._run_test(request, workspace, editor, test_module, batch_mode=False, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Sandbox_Optimized.py b/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Sandbox_Optimized.py index 4a472095ae..ce0d5e43e9 100644 --- a/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Sandbox_Optimized.py +++ b/AutomatedTesting/Gem/PythonTests/editor/TestSuite_Sandbox_Optimized.py @@ -19,6 +19,8 @@ class TestAutomationAutoTestMode(EditorTestSuite): # Enable only -autotest_mode for these tests. Tests cannot run in -BatchMode due to UI interactions global_extra_cmdline_args = ["-autotest_mode"] + enable_prefab_system = False + class test_Docking_BasicDockedTools(EditorSharedTest): from .EditorScripts import Docking_BasicDockedTools as test_module diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Main.py index 4c02c887ef..06c9c5f615 100644 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Main.py @@ -20,8 +20,8 @@ class TestAutomation(TestAutomationBase): def test_DynamicSliceInstanceSpawner_DynamicSliceSpawnerWorks(self, request, workspace, editor, launcher_platform): from .EditorScripts import DynamicSliceInstanceSpawner_DynamicSliceSpawnerWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_EmptyInstanceSpawner_EmptySpawnerWorks(self, request, workspace, editor, launcher_platform): from .EditorScripts import EmptyInstanceSpawner_EmptySpawnerWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Main_Optimized.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Main_Optimized.py index ded2dda4e9..ed23af51ad 100644 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Main_Optimized.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Main_Optimized.py @@ -18,6 +18,8 @@ from ly_test_tools.o3de.editor_test import EditorSingleTest, EditorSharedTest, E @pytest.mark.parametrize("project", ["AutomatedTesting"]) class TestAutomation(EditorTestSuite): + enable_prefab_system = False + class test_DynamicSliceInstanceSpawner_DynamicSliceSpawnerWorks(EditorParallelTest): from .EditorScripts import DynamicSliceInstanceSpawner_DynamicSliceSpawnerWorks as test_module diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic.py index 2780c0f471..d0d570950b 100644 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic.py @@ -52,158 +52,158 @@ class TestAutomation(TestAutomationBase): def test_AltitudeFilter_ComponentAndOverrides_InstancesPlantAtSpecifiedAltitude(self, request, workspace, editor, launcher_platform): from .EditorScripts import AltitudeFilter_ComponentAndOverrides_InstancesPlantAtSpecifiedAltitude as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_AltitudeFilter_ShapeSample_InstancesPlantAtSpecifiedAltitude(self, request, workspace, editor, launcher_platform): from .EditorScripts import AltitudeFilter_ShapeSample_InstancesPlantAtSpecifiedAltitude as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_AltitudeFilter_FilterStageToggle(self, request, workspace, editor, launcher_platform): from .EditorScripts import AltitudeFilter_FilterStageToggle as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SpawnerSlices_SliceCreationAndVisibilityToggleWorks(self, request, workspace, editor, remove_test_slice, launcher_platform): from .EditorScripts import SpawnerSlices_SliceCreationAndVisibilityToggleWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_AssetListCombiner_CombinedDescriptorsExpressInConfiguredArea(self, request, workspace, editor, launcher_platform): from .EditorScripts import AssetListCombiner_CombinedDescriptorsExpressInConfiguredArea as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_AssetWeightSelector_InstancesExpressBasedOnWeight(self, request, workspace, editor, launcher_platform): from .EditorScripts import AssetWeightSelector_InstancesExpressBasedOnWeight as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/4155") def test_DistanceBetweenFilter_InstancesPlantAtSpecifiedRadius(self, request, workspace, editor, launcher_platform): from .EditorScripts import DistanceBetweenFilter_InstancesPlantAtSpecifiedRadius as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/4155") def test_DistanceBetweenFilterOverrides_InstancesPlantAtSpecifiedRadius(self, request, workspace, editor, launcher_platform): from .EditorScripts import DistanceBetweenFilterOverrides_InstancesPlantAtSpecifiedRadius as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SurfaceDataRefreshes_RemainsStable(self, request, workspace, editor, launcher_platform): from .EditorScripts import SurfaceDataRefreshes_RemainsStable as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_VegetationInstances_DespawnWhenOutOfRange(self, request, workspace, editor, launcher_platform): from .EditorScripts import VegetationInstances_DespawnWhenOutOfRange as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_InstanceSpawnerPriority_LayerAndSubPriority_HigherValuesPlantOverLower(self, request, workspace, editor, launcher_platform): from .EditorScripts import InstanceSpawnerPriority_LayerAndSubPriority as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LayerBlocker_InstancesBlockedInConfiguredArea(self, request, workspace, editor, launcher_platform): from .EditorScripts import LayerBlocker_InstancesBlockedInConfiguredArea as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LayerSpawner_InheritBehaviorFlag(self, request, workspace, editor, launcher_platform): from .EditorScripts import LayerSpawner_InheritBehaviorFlag as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LayerSpawner_InstancesPlantInAllSupportedShapes(self, request, workspace, editor, launcher_platform): from .EditorScripts import LayerSpawner_InstancesPlantInAllSupportedShapes as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LayerSpawner_FilterStageToggle(self, request, workspace, editor, launcher_platform): from .EditorScripts import LayerSpawner_FilterStageToggle as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/2038") def test_LayerSpawner_InstancesRefreshUsingCorrectViewportCamera(self, request, workspace, editor, launcher_platform): from .EditorScripts import LayerSpawner_InstancesRefreshUsingCorrectViewportCamera as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_MeshBlocker_InstancesBlockedByMesh(self, request, workspace, editor, launcher_platform): from .EditorScripts import MeshBlocker_InstancesBlockedByMesh as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_MeshBlocker_InstancesBlockedByMeshHeightTuning(self, request, workspace, editor, launcher_platform): from .EditorScripts import MeshBlocker_InstancesBlockedByMeshHeightTuning as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_MeshSurfaceTagEmitter_DependentOnMeshComponent(self, request, workspace, editor, launcher_platform): from .EditorScripts import MeshSurfaceTagEmitter_DependentOnMeshComponent as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_MeshSurfaceTagEmitter_SurfaceTagsAddRemoveSuccessfully(self, request, workspace, editor, launcher_platform): from .EditorScripts import MeshSurfaceTagEmitter_SurfaceTagsAddRemoveSuccessfully as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_PhysXColliderSurfaceTagEmitter_E2E_Editor(self, request, workspace, editor, launcher_platform): from .EditorScripts import PhysXColliderSurfaceTagEmitter_E2E_Editor as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_PositionModifier_ComponentAndOverrides_InstancesPlantAtSpecifiedOffsets(self, request, workspace, editor, launcher_platform): from .EditorScripts import PositionModifier_ComponentAndOverrides_InstancesPlantAtSpecifiedOffsets as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_PositionModifier_AutoSnapToSurfaceWorks(self, request, workspace, editor, launcher_platform): from .EditorScripts import PositionModifier_AutoSnapToSurfaceWorks as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_RotationModifier_InstancesRotateWithinRange(self, request, workspace, editor, launcher_platform): from .EditorScripts import RotationModifier_InstancesRotateWithinRange as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_RotationModifierOverrides_InstancesRotateWithinRange(self, request, workspace, editor, launcher_platform): from .EditorScripts import RotationModifierOverrides_InstancesRotateWithinRange as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ScaleModifier_InstancesProperlyScale(self, request, workspace, editor, launcher_platform): from .EditorScripts import ScaleModifier_InstancesProperlyScale as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ScaleModifierOverrides_InstancesProperlyScale(self, request, workspace, editor, launcher_platform): from .EditorScripts import ScaleModifierOverrides_InstancesProperlyScale as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ShapeIntersectionFilter_InstancesPlantInAssignedShape(self, request, workspace, editor, launcher_platform): from .EditorScripts import ShapeIntersectionFilter_InstancesPlantInAssignedShape as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ShapeIntersectionFilter_FilterStageToggle(self, request, workspace, editor, launcher_platform): from .EditorScripts import ShapeIntersectionFilter_FilterStageToggle as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SlopeAlignmentModifier_InstanceSurfaceAlignment(self, request, workspace, editor, launcher_platform): from .EditorScripts import SlopeAlignmentModifier_InstanceSurfaceAlignment as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SlopeAlignmentModifierOverrides_InstanceSurfaceAlignment(self, request, workspace, editor, launcher_platform): from .EditorScripts import SlopeAlignmentModifierOverrides_InstanceSurfaceAlignment as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SurfaceMaskFilter_BasicSurfaceTagCreation(self, request, workspace, editor, launcher_platform): from .EditorScripts import SurfaceMaskFilter_BasicSurfaceTagCreation as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SurfaceMaskFilter_ExclusiveSurfaceTags_Function(self, request, workspace, editor, launcher_platform): from .EditorScripts import SurfaceMaskFilter_ExclusionList as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SurfaceMaskFilter_InclusiveSurfaceTags_Function(self, request, workspace, editor, launcher_platform): from .EditorScripts import SurfaceMaskFilter_InclusionList as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SurfaceMaskFilterOverrides_MultipleDescriptorOverridesPlantAsExpected(self, request, workspace, editor, launcher_platform): from .EditorScripts import SurfaceMaskFilterOverrides_MultipleDescriptorOverridesPlantAsExpected as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SystemSettings_SectorPointDensity(self, request, workspace, editor, launcher_platform): from .EditorScripts import SystemSettings_SectorPointDensity as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SystemSettings_SectorSize(self, request, workspace, editor, launcher_platform): from .EditorScripts import SystemSettings_SectorSize as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_SlopeFilter_ComponentAndOverrides_InstancesPlantOnValidSlopes(self, request, workspace, editor, launcher_platform): from .EditorScripts import SlopeFilter_ComponentAndOverrides_InstancesPlantOnValidSlope as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.SUITE_periodic @@ -219,7 +219,7 @@ class TestAutomationE2E(TestAutomationBase): file_system.delete([os.path.join(workspace.paths.engine_root(), project, "Levels", level)], True, True) from .EditorScripts import DynamicSliceInstanceSpawner_Embedded_E2E as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.parametrize("launcher_platform", ['windows']) def test_DynamicSliceInstanceSpawner_Embedded_E2E_Launcher(self, workspace, launcher, level, @@ -240,7 +240,7 @@ class TestAutomationE2E(TestAutomationBase): file_system.delete([os.path.join(workspace.paths.engine_root(), project, "Levels", level)], True, True) from .EditorScripts import DynamicSliceInstanceSpawner_External_E2E as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.parametrize("launcher_platform", ['windows']) def test_DynamicSliceInstanceSpawner_External_E2E_Launcher(self, workspace, launcher, level, @@ -261,7 +261,7 @@ class TestAutomationE2E(TestAutomationBase): file_system.delete([os.path.join(workspace.paths.engine_root(), project, "Levels", level)], True, True) from .EditorScripts import LayerBlender_E2E_Editor as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.parametrize("launcher_platform", ['windows']) @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/4170") diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic_Optimized.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic_Optimized.py index 8d298e970b..f87d6567ef 100644 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic_Optimized.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic_Optimized.py @@ -17,7 +17,7 @@ from ly_test_tools.o3de.editor_test import EditorSingleTest, EditorSharedTest, E @pytest.mark.parametrize("project", ["AutomatedTesting"]) class TestAutomation(EditorTestSuite): - global_extra_cmdline_args = ["-BatchMode", "-autotest_mode", "--regset=/Amazon/Preferences/EnablePrefabSystem=true"] + global_extra_cmdline_args = ["-BatchMode", "-autotest_mode"] class test_DynVegUtils_TempPrefabCreationWorks(EditorSharedTest): from .EditorScripts import DynVegUtils_TempPrefabCreationWorks as test_module diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/gradient_signal/TestSuite_Periodic.py b/AutomatedTesting/Gem/PythonTests/largeworlds/gradient_signal/TestSuite_Periodic.py index 21eecf642c..3ad27eb973 100644 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/gradient_signal/TestSuite_Periodic.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/gradient_signal/TestSuite_Periodic.py @@ -20,52 +20,52 @@ class TestAutomation(TestAutomationBase): def test_GradientGenerators_Incompatibilities(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientGenerators_Incompatibilities as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_GradientModifiers_Incompatibilities(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientModifiers_Incompatibilities as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_GradientPreviewSettings_DefaultPinnedEntityIsSelf(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientPreviewSettings_DefaultPinnedEntityIsSelf as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_GradientPreviewSettings_ClearingPinnedEntitySetsPreviewToOrigin(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientPreviewSettings_ClearingPinnedEntitySetsPreviewToOrigin as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_GradientSampling_GradientReferencesAddRemoveSuccessfully(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientSampling_GradientReferencesAddRemoveSuccessfully as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_GradientSurfaceTagEmitter_ComponentDependencies(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientSurfaceTagEmitter_ComponentDependencies as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_GradientSurfaceTagEmitter_SurfaceTagsAddRemoveSuccessfully(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientSurfaceTagEmitter_SurfaceTagsAddRemoveSuccessfully as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_GradientTransform_RequiresShape(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientTransform_RequiresShape as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_GradientTransform_FrequencyZoomCanBeSetBeyondSliderRange(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientTransform_FrequencyZoomCanBeSetBeyondSliderRange as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_GradientTransform_ComponentIncompatibleWithSpawners(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientTransform_ComponentIncompatibleWithSpawners as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_GradientTransform_ComponentIncompatibleWithExpectedGradients(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientTransform_ComponentIncompatibleWithExpectedGradients as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ImageGradient_RequiresShape(self, request, workspace, editor, launcher_platform): from .EditorScripts import ImageGradient_RequiresShape as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ImageGradient_ProcessedImageAssignedSuccessfully(self, request, workspace, editor, launcher_platform): from .EditorScripts import ImageGradient_ProcessedImageAssignedSuccessfully as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/gradient_signal/TestSuite_Periodic_Optimized.py b/AutomatedTesting/Gem/PythonTests/largeworlds/gradient_signal/TestSuite_Periodic_Optimized.py index 514504d324..6ac0658b4d 100644 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/gradient_signal/TestSuite_Periodic_Optimized.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/gradient_signal/TestSuite_Periodic_Optimized.py @@ -15,6 +15,8 @@ from ly_test_tools.o3de.editor_test import EditorSingleTest, EditorSharedTest, E @pytest.mark.parametrize("project", ["AutomatedTesting"]) class TestAutomation(EditorTestSuite): + enable_prefab_system = False + class test_GradientGenerators_Incompatibilities(EditorSharedTest): from .EditorScripts import GradientGenerators_Incompatibilities as test_module diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Main.py index af4855a546..dedc9c70c0 100644 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Main.py @@ -22,8 +22,8 @@ class TestAutomation(TestAutomationBase): def test_LandscapeCanvas_SlotConnections_UpdateComponentReferences(self, request, workspace, editor, launcher_platform): from .EditorScripts import SlotConnections_UpdateComponentReferences as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_GradientMixer_NodeConstruction(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientMixer_NodeConstruction as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Main_Optimized.py b/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Main_Optimized.py index 1c3652cae9..402df133cb 100644 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Main_Optimized.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Main_Optimized.py @@ -18,6 +18,8 @@ from ly_test_tools.o3de.editor_test import EditorSingleTest, EditorSharedTest, E @pytest.mark.parametrize("project", ["AutomatedTesting"]) class TestAutomation(EditorTestSuite): + enable_prefab_system = False + class test_LandscapeCanvas_SlotConnections_UpdateComponentReferences(EditorSharedTest): from .EditorScripts import SlotConnections_UpdateComponentReferences as test_module diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Periodic.py b/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Periodic.py index ef8b3e492b..a719b1a7c0 100644 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Periodic.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/landscape_canvas/TestSuite_Periodic.py @@ -33,89 +33,89 @@ class TestAutomation(TestAutomationBase): def test_LandscapeCanvas_AreaNodes_DependentComponentsAdded(self, request, workspace, editor, launcher_platform): from .EditorScripts import AreaNodes_DependentComponentsAdded as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_AreaNodes_EntityCreatedOnNodeAdd(self, request, workspace, editor, launcher_platform): from .EditorScripts import AreaNodes_EntityCreatedOnNodeAdd as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_AreaNodes_EntityRemovedOnNodeDelete(self, request, workspace, editor, launcher_platform): from .EditorScripts import AreaNodes_EntityRemovedOnNodeDelete as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_LayerExtenderNodes_ComponentEntitySync(self, request, workspace, editor, launcher_platform): from .EditorScripts import LayerExtenderNodes_ComponentEntitySync as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_Edit_DisabledNodeDuplication(self, request, workspace, editor, launcher_platform): from .EditorScripts import Edit_DisabledNodeDuplication as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_Edit_UndoNodeDelete_SliceEntity(self, request, workspace, editor, launcher_platform): from .EditorScripts import Edit_UndoNodeDelete_SliceEntity as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_NewGraph_CreatedSuccessfully(self, request, workspace, editor, launcher_platform): from .EditorScripts import NewGraph_CreatedSuccessfully as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_Component_AddedRemoved(self, request, workspace, editor, launcher_platform): from .EditorScripts import Component_AddedRemoved as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_GraphClosed_OnLevelChange(self, request, workspace, editor, launcher_platform): from .EditorScripts import GraphClosed_OnLevelChange as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/2201") def test_LandscapeCanvas_GraphClosed_OnEntityDelete(self, request, workspace, editor, launcher_platform): from .EditorScripts import GraphClosed_OnEntityDelete as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_GraphClosed_TabbedGraphClosesIndependently(self, request, workspace, editor, launcher_platform): from .EditorScripts import GraphClosed_TabbedGraph as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_Slice_CreateInstantiate(self, request, workspace, editor, remove_test_slice, launcher_platform): from .EditorScripts import Slice_CreateInstantiate as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_GradientModifierNodes_EntityCreatedOnNodeAdd(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientModifierNodes_EntityCreatedOnNodeAdd as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_GradientModifierNodes_EntityRemovedOnNodeDelete(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientModifierNodes_EntityRemovedOnNodeDelete as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_GradientNodes_DependentComponentsAdded(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientNodes_DependentComponentsAdded as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_GradientNodes_EntityCreatedOnNodeAdd(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientNodes_EntityCreatedOnNodeAdd as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_GradientNodes_EntityRemovedOnNodeDelete(self, request, workspace, editor, launcher_platform): from .EditorScripts import GradientNodes_EntityRemovedOnNodeDelete as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_GraphUpdates_UpdateComponents(self, request, workspace, editor, launcher_platform): from .EditorScripts import GraphUpdates_UpdateComponents as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_ComponentUpdates_UpdateGraph(self, request, workspace, editor, launcher_platform): from .EditorScripts import ComponentUpdates_UpdateGraph as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_LayerBlender_NodeConstruction(self, request, workspace, editor, launcher_platform): from .EditorScripts import LayerBlender_NodeConstruction as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_ShapeNodes_EntityCreatedOnNodeAdd(self, request, workspace, editor, launcher_platform): from .EditorScripts import ShapeNodes_EntityCreatedOnNodeAdd as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_LandscapeCanvas_ShapeNodes_EntityRemovedOnNodeDelete(self, request, workspace, editor, launcher_platform): from .EditorScripts import ShapeNodes_EntityRemovedOnNodeDelete as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/scripting/TestSuite_Periodic.py b/AutomatedTesting/Gem/PythonTests/scripting/TestSuite_Periodic.py index b2001e6825..27af63ddbc 100755 --- a/AutomatedTesting/Gem/PythonTests/scripting/TestSuite_Periodic.py +++ b/AutomatedTesting/Gem/PythonTests/scripting/TestSuite_Periodic.py @@ -27,15 +27,15 @@ TEST_DIRECTORY = os.path.dirname(__file__) class TestAutomation(TestAutomationBase): def test_Pane_HappyPath_OpenCloseSuccessfully(self, request, workspace, editor, launcher_platform): from . import Pane_HappyPath_OpenCloseSuccessfully as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Pane_HappyPath_DocksProperly(self, request, workspace, editor, launcher_platform): from . import Pane_HappyPath_DocksProperly as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Pane_HappyPath_ResizesProperly(self, request, workspace, editor, launcher_platform): from . import Pane_HappyPath_ResizesProperly as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") @pytest.mark.parametrize("level", ["tmp_level"]) @@ -45,7 +45,7 @@ class TestAutomation(TestAutomationBase): request.addfinalizer(teardown) file_system.delete([os.path.join(workspace.paths.project(), "Levels", level)], True, True) from . import ScriptCanvas_TwoComponents_InteractSuccessfully as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") @pytest.mark.parametrize("level", ["tmp_level"]) @@ -55,15 +55,15 @@ class TestAutomation(TestAutomationBase): request.addfinalizer(teardown) file_system.delete([os.path.join(workspace.paths.project(), "Levels", level)], True, True) from . import ScriptCanvas_ChangingAssets_ComponentStable as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Graph_HappyPath_ZoomInZoomOut(self, request, workspace, editor, launcher_platform): from . import Graph_HappyPath_ZoomInZoomOut as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_NodePalette_HappyPath_CanSelectNode(self, request, workspace, editor, launcher_platform): from . import NodePalette_HappyPath_CanSelectNode as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") @pytest.mark.parametrize("level", ["tmp_level"]) @@ -73,11 +73,11 @@ class TestAutomation(TestAutomationBase): request.addfinalizer(teardown) file_system.delete([os.path.join(workspace.paths.project(), "Levels", level)], True, True) from . import ScriptCanvasComponent_OnEntityActivatedDeactivated_PrintMessage as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_NodePalette_HappyPath_ClearSelection(self, request, workspace, editor, launcher_platform, project): from . import NodePalette_HappyPath_ClearSelection as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") @pytest.mark.parametrize("level", ["tmp_level"]) @@ -87,7 +87,7 @@ class TestAutomation(TestAutomationBase): request.addfinalizer(teardown) file_system.delete([os.path.join(workspace.paths.project(), "Levels", level)], True, True) from . import ScriptCanvas_TwoEntities_UseSimultaneously as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ScriptEvent_HappyPath_CreatedWithoutError(self, request, workspace, editor, launcher_platform, project): def teardown(): @@ -99,19 +99,19 @@ class TestAutomation(TestAutomationBase): [os.path.join(workspace.paths.project(), "ScriptCanvas", "test_file.scriptevent")], True, True ) from . import ScriptEvent_HappyPath_CreatedWithoutError as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ScriptCanvasTools_Toggle_OpenCloseSuccess(self, request, workspace, editor, launcher_platform): from . import ScriptCanvasTools_Toggle_OpenCloseSuccess as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_NodeInspector_HappyPath_VariableRenames(self, request, workspace, editor, launcher_platform, project): from . import NodeInspector_HappyPath_VariableRenames as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Debugger_HappyPath_TargetMultipleGraphs(self, request, workspace, editor, launcher_platform, project): from . import Debugger_HappyPath_TargetMultipleGraphs as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.parametrize("level", ["tmp_level"]) def test_Debugger_HappyPath_TargetMultipleEntities(self, request, workspace, editor, launcher_platform, project, level): @@ -120,16 +120,16 @@ class TestAutomation(TestAutomationBase): request.addfinalizer(teardown) file_system.delete([os.path.join(workspace.paths.project(), "Levels", level)], True, True) from . import Debugger_HappyPath_TargetMultipleEntities as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") def test_EditMenu_Default_UndoRedo(self, request, workspace, editor, launcher_platform, project): from . import EditMenu_Default_UndoRedo as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Pane_Undocked_ClosesSuccessfully(self, request, workspace, editor, launcher_platform): from . import Pane_Undocked_ClosesSuccessfully as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.parametrize("level", ["tmp_level"]) def test_Entity_HappyPath_AddScriptCanvasComponent(self, request, workspace, editor, launcher_platform, project, level): @@ -138,11 +138,11 @@ class TestAutomation(TestAutomationBase): request.addfinalizer(teardown) file_system.delete([os.path.join(workspace.paths.project(), "Levels", level)], True, True) from . import Entity_HappyPath_AddScriptCanvasComponent as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Pane_Default_RetainOnSCRestart(self, request, workspace, editor, launcher_platform): from . import Pane_Default_RetainOnSCRestart as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") @pytest.mark.parametrize("level", ["tmp_level"]) @@ -152,7 +152,7 @@ class TestAutomation(TestAutomationBase): request.addfinalizer(teardown) file_system.delete([os.path.join(workspace.paths.project(), "Levels", level)], True, True) from . import ScriptEvents_HappyPath_SendReceiveAcrossMultiple as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") @pytest.mark.parametrize("level", ["tmp_level"]) @@ -162,7 +162,7 @@ class TestAutomation(TestAutomationBase): request.addfinalizer(teardown) file_system.delete([os.path.join(workspace.paths.project(), "Levels", level)], True, True) from . import ScriptEvents_Default_SendReceiveSuccessfully as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") @pytest.mark.parametrize("level", ["tmp_level"]) @@ -172,24 +172,24 @@ class TestAutomation(TestAutomationBase): request.addfinalizer(teardown) file_system.delete([os.path.join(workspace.paths.project(), "Levels", level)], True, True) from . import ScriptEvents_ReturnSetType_Successfully as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_NodeCategory_ExpandOnClick(self, request, workspace, editor, launcher_platform): from . import NodeCategory_ExpandOnClick as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_NodePalette_SearchText_Deletion(self, request, workspace, editor, launcher_platform): from . import NodePalette_SearchText_Deletion as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") def test_VariableManager_UnpinVariableType_Works(self, request, workspace, editor, launcher_platform): from . import VariableManager_UnpinVariableType_Works as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_Node_HappyPath_DuplicateNode(self, request, workspace, editor, launcher_platform): from . import Node_HappyPath_DuplicateNode as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) def test_ScriptEvent_AddRemoveParameter_ActionsSuccessful(self, request, workspace, editor, launcher_platform): def teardown(): @@ -201,7 +201,7 @@ class TestAutomation(TestAutomationBase): [os.path.join(workspace.paths.project(), "ScriptCanvas", "test_file.scriptevent")], True, True ) from . import ScriptEvent_AddRemoveParameter_ActionsSuccessful as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) # NOTE: We had to use hydra_test_utils.py, as TestAutomationBase run_test method # fails because of pyside_utils import @@ -220,7 +220,14 @@ class TestScriptCanvasTests(object): "File->Open action working as expected: True", ] hydra.launch_and_validate_results( - request, TEST_DIRECTORY, editor, "FileMenu_Default_NewAndOpen.py", expected_lines, auto_test_mode=False, timeout=60, + request, + TEST_DIRECTORY, + editor, + "FileMenu_Default_NewAndOpen.py", + expected_lines, + auto_test_mode=False, + timeout=60, + enable_prefab_system=False, ) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") @@ -239,6 +246,7 @@ class TestScriptCanvasTests(object): expected_lines, auto_test_mode=False, timeout=60, + enable_prefab_system=False, ) def test_GraphClose_Default_SavePrompt(self, request, editor, launcher_platform): @@ -255,6 +263,7 @@ class TestScriptCanvasTests(object): expected_lines, auto_test_mode=False, timeout=60, + enable_prefab_system=False, ) def test_VariableManager_Default_CreateDeleteVars(self, request, editor, launcher_platform): @@ -269,6 +278,7 @@ class TestScriptCanvasTests(object): expected_lines, auto_test_mode=False, timeout=60, + enable_prefab_system=False, ) @pytest.mark.parametrize( @@ -304,6 +314,7 @@ class TestScriptCanvasTests(object): cfg_args=[config.get('cfg_args')], auto_test_mode=False, timeout=60, + enable_prefab_system=False, ) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") @@ -332,6 +343,7 @@ class TestScriptCanvasTests(object): expected_lines, auto_test_mode=False, timeout=60, + enable_prefab_system=False, ) @pytest.mark.xfail(reason="Test fails to find expected lines, it needs to be fixed.") @@ -359,5 +371,6 @@ class TestScriptCanvasTests(object): expected_lines, auto_test_mode=False, timeout=60, + enable_prefab_system=False, ) \ No newline at end of file diff --git a/AutomatedTesting/Gem/PythonTests/scripting/TestSuite_Sandbox.py b/AutomatedTesting/Gem/PythonTests/scripting/TestSuite_Sandbox.py index 91b01d8d08..071ae2286c 100644 --- a/AutomatedTesting/Gem/PythonTests/scripting/TestSuite_Sandbox.py +++ b/AutomatedTesting/Gem/PythonTests/scripting/TestSuite_Sandbox.py @@ -23,4 +23,4 @@ class TestAutomation(TestAutomationBase): def test_Opening_Closing_Pane(self, request, workspace, editor, launcher_platform): from . import Opening_Closing_Pane as test_module - self._run_test(request, workspace, editor, test_module) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Gem/PythonTests/smoke/test_Editor_NewExistingLevels_Works.py b/AutomatedTesting/Gem/PythonTests/smoke/test_Editor_NewExistingLevels_Works.py index ebaebcfa92..5caf7744c4 100644 --- a/AutomatedTesting/Gem/PythonTests/smoke/test_Editor_NewExistingLevels_Works.py +++ b/AutomatedTesting/Gem/PythonTests/smoke/test_Editor_NewExistingLevels_Works.py @@ -31,4 +31,4 @@ class TestAutomation(TestAutomationBase): from . import Editor_NewExistingLevels_Works as test_module - self._run_test(request, workspace, editor, test_module, extra_cmdline_args=["--regset=/Amazon/Preferences/EnablePrefabSystem=false"]) + self._run_test(request, workspace, editor, test_module, enable_prefab_system=False) diff --git a/AutomatedTesting/Levels/Base/Base.prefab b/AutomatedTesting/Levels/Base/Base.prefab index 98495663b7..7765fe488e 100644 --- a/AutomatedTesting/Levels/Base/Base.prefab +++ b/AutomatedTesting/Levels/Base/Base.prefab @@ -1,52 +1,61 @@ { "ContainerEntity": { - "Id": "ContainerEntity", - "Name": "Base", + "Id": "Entity_[1146574390643]", + "Name": "Level", "Components": { - "Component_[10182366347512475253]": { - "$type": "EditorPrefabComponent", - "Id": 10182366347512475253 + "Component_[10641544592923449938]": { + "$type": "EditorInspectorComponent", + "Id": 10641544592923449938 }, - "Component_[12917798267488243668]": { - "$type": "EditorPendingCompositionComponent", - "Id": 12917798267488243668 - }, - "Component_[3261249813163778338]": { + "Component_[12039882709170782873]": { "$type": "EditorOnlyEntityComponent", - "Id": 3261249813163778338 + "Id": 12039882709170782873 }, - "Component_[3837204912784440039]": { - "$type": "EditorDisabledCompositionComponent", - "Id": 3837204912784440039 + "Component_[12265484671603697631]": { + "$type": "EditorPendingCompositionComponent", + "Id": 12265484671603697631 }, - "Component_[4272963378099646759]": { + "Component_[14126657869720434043]": { + "$type": "EditorEntitySortComponent", + "Id": 14126657869720434043, + "ChildEntityOrderEntryArray": [ + { + "EntityId": "" + }, + { + "EntityId": "", + "SortIndex": 1 + } + ] + }, + "Component_[15230859088967841193]": { "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", - "Id": 4272963378099646759, + "Id": 15230859088967841193, "Parent Entity": "" }, - "Component_[4848458548047175816]": { - "$type": "EditorVisibilityComponent", - "Id": 4848458548047175816 + "Component_[16239496886950819870]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 16239496886950819870 }, - "Component_[5787060997243919943]": { - "$type": "EditorInspectorComponent", - "Id": 5787060997243919943 - }, - "Component_[7804170251266531779]": { - "$type": "EditorLockComponent", - "Id": 7804170251266531779 - }, - "Component_[7874177159288365422]": { - "$type": "EditorEntitySortComponent", - "Id": 7874177159288365422 - }, - "Component_[8018146290632383969]": { + "Component_[5688118765544765547]": { "$type": "EditorEntityIconComponent", - "Id": 8018146290632383969 + "Id": 5688118765544765547 }, - "Component_[8452360690590857075]": { + "Component_[6545738857812235305]": { "$type": "SelectionComponent", - "Id": 8452360690590857075 + "Id": 6545738857812235305 + }, + "Component_[7247035804068349658]": { + "$type": "EditorPrefabComponent", + "Id": 7247035804068349658 + }, + "Component_[9307224322037797205]": { + "$type": "EditorLockComponent", + "Id": 9307224322037797205 + }, + "Component_[9562516168917670048]": { + "$type": "EditorVisibilityComponent", + "Id": 9562516168917670048 } } } diff --git a/AutomatedTesting/Registry/editorpreferences.setreg b/AutomatedTesting/Registry/editorpreferences.setreg index b338d6acad..e76e04f9ba 100644 --- a/AutomatedTesting/Registry/editorpreferences.setreg +++ b/AutomatedTesting/Registry/editorpreferences.setreg @@ -1,7 +1,7 @@ { "Amazon": { "Preferences": { - "EnablePrefabSystem": false + "EnablePrefabSystem": true } } } \ No newline at end of file diff --git a/AutomatedTesting/cmake/CompilerSettings.cmake b/AutomatedTesting/cmake/CompilerSettings.cmake new file mode 100644 index 0000000000..60bda1d45b --- /dev/null +++ b/AutomatedTesting/cmake/CompilerSettings.cmake @@ -0,0 +1,13 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +# File to tweak compiler settings before compiler detection happens (before project() is called) +# We dont have PAL enabled at this point, so we can only use pure-CMake variables +if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Linux") + include(cmake/Platform/Linux/CompilerSettings_linux.cmake) +endif() diff --git a/AutomatedTesting/EngineFinder.cmake b/AutomatedTesting/cmake/EngineFinder.cmake similarity index 63% rename from AutomatedTesting/EngineFinder.cmake rename to AutomatedTesting/cmake/EngineFinder.cmake index 0a34a43b77..15b96eb8a9 100644 --- a/AutomatedTesting/EngineFinder.cmake +++ b/AutomatedTesting/cmake/EngineFinder.cmake @@ -1,3 +1,4 @@ +# {BEGIN_LICENSE} # # Copyright (c) Contributors to the Open 3D Engine Project. # For complete copyright and license terms please see the LICENSE at the root of this distribution. @@ -5,18 +6,34 @@ # SPDX-License-Identifier: Apache-2.0 OR MIT # # +# {END_LICENSE} # This file is copied during engine registration. Edits to this file will be lost next # time a registration happens. include_guard() # Read the engine name from the project_json file -file(READ ${CMAKE_CURRENT_LIST_DIR}/project.json project_json) -set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${CMAKE_CURRENT_LIST_DIR}/project.json) +file(READ ${CMAKE_CURRENT_SOURCE_DIR}/project.json project_json) +set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/project.json) string(JSON LY_ENGINE_NAME_TO_USE ERROR_VARIABLE json_error GET ${project_json} engine) if(json_error) - message(FATAL_ERROR "Unable to read key 'engine' from 'project.json', error: ${json_error}") + message(FATAL_ERROR "Unable to read key 'engine' from 'project.json'\nError: ${json_error}") +endif() + +if(CMAKE_MODULE_PATH) + foreach(module_path ${CMAKE_MODULE_PATH}) + if(EXISTS ${module_path}/Findo3de.cmake) + file(READ ${module_path}/../engine.json engine_json) + string(JSON engine_name ERROR_VARIABLE json_error GET ${engine_json} engine_name) + if(json_error) + message(FATAL_ERROR "Unable to read key 'engine_name' from 'engine.json'\nError: ${json_error}") + endif() + if(LY_ENGINE_NAME_TO_USE STREQUAL engine_name) + return() # Engine being forced through CMAKE_MODULE_PATH + endif() + endif() + endforeach() endif() if(DEFINED ENV{USERPROFILE} AND EXISTS $ENV{USERPROFILE}) @@ -25,6 +42,11 @@ else() set(manifest_path $ENV{HOME}/.o3de/o3de_manifest.json) # Unix endif() +set(registration_error [=[ +Engine registration is required before configuring a project. +Run 'scripts/o3de register --this-engine' from the engine root. +]=]) + # Read the ~/.o3de/o3de_manifest.json file and look through the 'engines_path' object. # Find a key that matches LY_ENGINE_NAME_TO_USE and use that as the engine path. if(EXISTS ${manifest_path}) @@ -33,36 +55,38 @@ if(EXISTS ${manifest_path}) string(JSON engines_path_count ERROR_VARIABLE json_error LENGTH ${manifest_json} engines_path) if(json_error) - message(FATAL_ERROR "Unable to read key 'engines_path' from '${manifest_path}', error: ${json_error}") + message(FATAL_ERROR "Unable to read key 'engines_path' from '${manifest_path}'\nError: ${json_error}\n${registration_error}") endif() string(JSON engines_path_type ERROR_VARIABLE json_error TYPE ${manifest_json} engines_path) if(json_error OR NOT ${engines_path_type} STREQUAL "OBJECT") - message(FATAL_ERROR "Type of 'engines_path' in '${manifest_path}' is not a JSON Object, error: ${json_error}") + message(FATAL_ERROR "Type of 'engines_path' in '${manifest_path}' is not a JSON Object\nError: ${json_error}") endif() math(EXPR engines_path_count "${engines_path_count}-1") foreach(engine_path_index RANGE ${engines_path_count}) string(JSON engine_name ERROR_VARIABLE json_error MEMBER ${manifest_json} engines_path ${engine_path_index}) if(json_error) - message(FATAL_ERROR "Unable to read 'engines_path/${engine_path_index}' from '${manifest_path}', error: ${json_error}") + message(FATAL_ERROR "Unable to read 'engines_path/${engine_path_index}' from '${manifest_path}'\nError: ${json_error}") endif() if(LY_ENGINE_NAME_TO_USE STREQUAL engine_name) string(JSON engine_path ERROR_VARIABLE json_error GET ${manifest_json} engines_path ${engine_name}) if(json_error) - message(FATAL_ERROR "Unable to read value from 'engines_path/${engine_name}', error: ${json_error}") + message(FATAL_ERROR "Unable to read value from 'engines_path/${engine_name}'\nError: ${json_error}") endif() if(engine_path) list(APPEND CMAKE_MODULE_PATH "${engine_path}/cmake") - break() + return() endif() endif() endforeach() + + message(FATAL_ERROR "The project.json uses engine name '${LY_ENGINE_NAME_TO_USE}' but no engine with that name has been registered.\n${registration_error}") else() # If the user is passing CMAKE_MODULE_PATH we assume thats where we will find the engine if(NOT CMAKE_MODULE_PATH) - message(FATAL_ERROR "Engine registration is required before configuring a project. Please register an engine by running 'scripts/o3de register --this-engine'") + message(FATAL_ERROR "O3DE Manifest file not found.\n${registration_error}") endif() endif() diff --git a/Templates/DefaultProject/Template/cmake/Platform/Linux/CompilerSettings.cmake b/AutomatedTesting/cmake/Platform/Linux/CompilerSettings_linux.cmake similarity index 100% rename from Templates/DefaultProject/Template/cmake/Platform/Linux/CompilerSettings.cmake rename to AutomatedTesting/cmake/Platform/Linux/CompilerSettings_linux.cmake diff --git a/Code/Editor/2DViewport.cpp b/Code/Editor/2DViewport.cpp index ed810aea29..4d0609907f 100644 --- a/Code/Editor/2DViewport.cpp +++ b/Code/Editor/2DViewport.cpp @@ -234,7 +234,7 @@ void Q2DViewport::UpdateContent(int flags) } ////////////////////////////////////////////////////////////////////////// -void Q2DViewport::OnRButtonDown(Qt::KeyboardModifiers modifiers, const QPoint& point) +void Q2DViewport::OnRButtonDown([[maybe_unused]] Qt::KeyboardModifiers modifiers, const QPoint& point) { if (GetIEditor()->IsInGameMode()) { @@ -246,9 +246,6 @@ void Q2DViewport::OnRButtonDown(Qt::KeyboardModifiers modifiers, const QPoint& p setFocus(); } - // Check Edit Tool. - MouseCallback(eMouseRDown, point, modifiers); - SetCurrentCursor(STD_CURSOR_MOVE, QString()); // Save the mouse down position @@ -273,17 +270,8 @@ void Q2DViewport::OnRButtonUp([[maybe_unused]] Qt::KeyboardModifiers modifiers, } ////////////////////////////////////////////////////////////////////////// -void Q2DViewport::OnMButtonDown(Qt::KeyboardModifiers modifiers, const QPoint& point) +void Q2DViewport::OnMButtonDown([[maybe_unused]] Qt::KeyboardModifiers modifiers, const QPoint& point) { - //////////////////////////////////////////////////////////////////////// - // User pressed the middle mouse button - //////////////////////////////////////////////////////////////////////// - // Check Edit Tool. - if (MouseCallback(eMouseMDown, point, modifiers)) - { - return; - } - // Save the mouse down position m_RMouseDownPos = point; @@ -300,14 +288,8 @@ void Q2DViewport::OnMButtonDown(Qt::KeyboardModifiers modifiers, const QPoint& p } ////////////////////////////////////////////////////////////////////////// -void Q2DViewport::OnMButtonUp(Qt::KeyboardModifiers modifiers, const QPoint& point) +void Q2DViewport::OnMButtonUp([[maybe_unused]] Qt::KeyboardModifiers modifiers, [[maybe_unused]] const QPoint& point) { - // Check Edit Tool. - if (MouseCallback(eMouseMUp, point, modifiers)) - { - return; - } - SetViewMode(NothingMode); ReleaseMouse(); @@ -547,13 +529,6 @@ QPoint Q2DViewport::WorldToView(const Vec3& wp) const QPoint p = QPoint(static_cast(sp.x), static_cast(sp.y)); return p; } -////////////////////////////////////////////////////////////////////////// -QPoint Q2DViewport::WorldToViewParticleEditor(const Vec3& wp, [[maybe_unused]] int width, [[maybe_unused]] int height) const //Eric@conffx implement for the children class of IDisplayViewport -{ - Vec3 sp = m_screenTM.TransformPoint(wp); - QPoint p = QPoint(static_cast(sp.x), static_cast(sp.y)); - return p; -} ////////////////////////////////////////////////////////////////////////// Vec3 Q2DViewport::ViewToWorld(const QPoint& vp, [[maybe_unused]] bool* collideWithTerrain, [[maybe_unused]] bool onlyTerrain, [[maybe_unused]] bool bSkipVegetation, [[maybe_unused]] bool bTestRenderMesh, [[maybe_unused]] bool* collideWithObject) const diff --git a/Code/Editor/2DViewport.h b/Code/Editor/2DViewport.h index cee07ca6cd..e89f4aed34 100644 --- a/Code/Editor/2DViewport.h +++ b/Code/Editor/2DViewport.h @@ -50,8 +50,6 @@ public: //! Map world space position to viewport position. QPoint WorldToView(const Vec3& wp) const override; - QPoint WorldToViewParticleEditor(const Vec3& wp, int width, int height) const override; //Eric@conffx - //! Map viewport position to world space position. Vec3 ViewToWorld(const QPoint& vp, bool* collideWithTerrain = nullptr, bool onlyTerrain = false, bool bSkipVegetation = false, bool bTestRenderMesh = false, bool* collideWithObject = nullptr) const override; //! Map viewport position to world space ray from camera. diff --git a/Code/Editor/ActionManager.cpp b/Code/Editor/ActionManager.cpp index ff74a2c208..4cc64a532e 100644 --- a/Code/Editor/ActionManager.cpp +++ b/Code/Editor/ActionManager.cpp @@ -152,15 +152,6 @@ ActionManager::ActionWrapper& ActionManager::ActionWrapper::SetMenu(DynamicMenu* return *this; } -ActionManager::ActionWrapper& ActionManager::ActionWrapper::SetApplyHoverEffect() -{ - // Our standard toolbar icons, when hovered on, get a white color effect. - // But for this to work we need .pngs that look good with this effect, so this only works with the standard toolbars - // and looks very ugly for other toolbars, including toolbars loaded from XML (which just show a white rectangle) - m_action->setProperty("IconHasHoverEffect", true); - return *this; -} - ActionManager::ActionWrapper& ActionManager::ActionWrapper::SetReserved() { m_action->setProperty("Reserved", true); diff --git a/Code/Editor/ActionManager.h b/Code/Editor/ActionManager.h index 8879bdc1fb..58504f860c 100644 --- a/Code/Editor/ActionManager.h +++ b/Code/Editor/ActionManager.h @@ -151,7 +151,6 @@ public: } ActionWrapper& SetMenu(DynamicMenu* menu); - ActionWrapper& SetApplyHoverEffect(); operator QAction*() const { return m_action; diff --git a/Code/Editor/Animation/AnimationBipedBoneNames.cpp b/Code/Editor/Animation/AnimationBipedBoneNames.cpp index d9f1b845ca..72502fe61d 100644 --- a/Code/Editor/Animation/AnimationBipedBoneNames.cpp +++ b/Code/Editor/Animation/AnimationBipedBoneNames.cpp @@ -10,24 +10,21 @@ #include "AnimationBipedBoneNames.h" -namespace EditorAnimationBones +namespace EditorAnimationBones::Biped { - namespace Biped - { - const char* Pelvis = "Bip01 Pelvis"; - const char* Head = "Bip01 Head"; - const char* Weapon = "weapon_bone"; + const char* Pelvis = "Bip01 Pelvis"; + const char* Head = "Bip01 Head"; + const char* Weapon = "weapon_bone"; - const char* LeftEye = "eye_bone_left"; - const char* RightEye = "eye_bone_right"; + const char* LeftEye = "eye_bone_left"; + const char* RightEye = "eye_bone_right"; - const char* Spine[5] = { "Bip01 Spine", "Bip01 Spine1", "Bip01 Spine2", "Bip01 Spine3", "Bip01 Spine4" }; - const char* Neck[2] = { "Bip01 Neck", "Bip01 Neck1" }; + const char* Spine[5] = { "Bip01 Spine", "Bip01 Spine1", "Bip01 Spine2", "Bip01 Spine3", "Bip01 Spine4" }; + const char* Neck[2] = { "Bip01 Neck", "Bip01 Neck1" }; - const char* LeftHeel = "Bip01 L Heel"; - const char* LeftToe[2] = { "Bip01 L Toe0", "Bip01 L Toe1" }; + const char* LeftHeel = "Bip01 L Heel"; + const char* LeftToe[2] = { "Bip01 L Toe0", "Bip01 L Toe1" }; - const char* RightHeel = "Bip01 R Heel"; - const char* RightToe[2] = { "Bip01 R Toe0", "Bip01 R Toe1" }; - } -} + const char* RightHeel = "Bip01 R Heel"; + const char* RightToe[2] = { "Bip01 R Toe0", "Bip01 R Toe1" }; +} // namespace EditorAnimationBones::Biped diff --git a/Code/Editor/AssetImporter/AssetImporterManager/AssetImporterManager.cpp b/Code/Editor/AssetImporter/AssetImporterManager/AssetImporterManager.cpp index b721b8759e..baa287e47f 100644 --- a/Code/Editor/AssetImporter/AssetImporterManager/AssetImporterManager.cpp +++ b/Code/Editor/AssetImporter/AssetImporterManager/AssetImporterManager.cpp @@ -140,7 +140,7 @@ bool AssetImporterManager::OnBrowseFiles() bool encounteredCrate = false; QStringList invalidFiles; - for (QString path : fileDialog.selectedFiles()) + for (const QString& path : fileDialog.selectedFiles()) { QString fileName = GetFileName(path); QFileInfo info(path); diff --git a/Code/Editor/Controls/ReflectedPropertyControl/ReflectedPropertyCtrl.cpp b/Code/Editor/Controls/ReflectedPropertyControl/ReflectedPropertyCtrl.cpp index 1151137bfc..c5bf6a4d81 100644 --- a/Code/Editor/Controls/ReflectedPropertyControl/ReflectedPropertyCtrl.cpp +++ b/Code/Editor/Controls/ReflectedPropertyControl/ReflectedPropertyCtrl.cpp @@ -671,7 +671,7 @@ AzToolsFramework::PropertyRowWidget* ReflectedPropertyControl::FindPropertyRowWi return nullptr; } const AzToolsFramework::ReflectedPropertyEditor::WidgetList& widgets = m_editor->GetWidgets(); - for (auto instance : widgets) + for (const auto& instance : widgets) { if (instance.second->label() == item->GetPropertyName()) { diff --git a/Code/Editor/CryEditDoc.cpp b/Code/Editor/CryEditDoc.cpp index 9acaaad842..9c6c257ac0 100644 --- a/Code/Editor/CryEditDoc.cpp +++ b/Code/Editor/CryEditDoc.cpp @@ -1128,7 +1128,7 @@ bool CCryEditDoc::SaveLevel(const QString& filename) const QString oldLevelPattern = QDir(oldLevelFolder).absoluteFilePath("*.*"); const QString oldLevelName = Path::GetFile(GetLevelPathName()); const QString oldLevelXml = Path::ReplaceExtension(oldLevelName, "xml"); - AZ::IO::ArchiveFileIterator findHandle = pIPak->FindFirst(oldLevelPattern.toUtf8().data(), AZ::IO::IArchive::eFileSearchType_AllowOnDiskAndInZips); + AZ::IO::ArchiveFileIterator findHandle = pIPak->FindFirst(oldLevelPattern.toUtf8().data(), AZ::IO::FileSearchLocation::Any); if (findHandle) { do diff --git a/Code/Editor/Dialogs/PythonScriptsDialog.cpp b/Code/Editor/Dialogs/PythonScriptsDialog.cpp index 35047947ac..06b1acdbc8 100644 --- a/Code/Editor/Dialogs/PythonScriptsDialog.cpp +++ b/Code/Editor/Dialogs/PythonScriptsDialog.cpp @@ -40,10 +40,10 @@ AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING namespace { // File name extension for python files - const QString s_kPythonFileNameSpec = "*.py"; + const QString s_kPythonFileNameSpec("*.py"); // Tree root element name - const QString s_kRootElementName = "Python Scripts"; + const QString s_kRootElementName("Python Scripts"); } ////////////////////////////////////////////////////////////////////////// diff --git a/Code/Editor/EditorModularViewportCameraComposer.cpp b/Code/Editor/EditorModularViewportCameraComposer.cpp index 72fd37605a..f145adf72f 100644 --- a/Code/Editor/EditorModularViewportCameraComposer.cpp +++ b/Code/Editor/EditorModularViewportCameraComposer.cpp @@ -145,6 +145,15 @@ namespace SandboxEditor } }; + const auto trackingTransform = [viewportId = m_viewportId] + { + bool tracking = false; + AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( + tracking, viewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::IsTrackingTransform); + + return tracking; + }; + m_firstPersonRotateCamera = AZStd::make_shared(SandboxEditor::CameraFreeLookChannelId()); m_firstPersonRotateCamera->m_rotateSpeedFn = [] @@ -152,6 +161,11 @@ namespace SandboxEditor return SandboxEditor::CameraRotateSpeed(); }; + m_firstPersonRotateCamera->m_constrainPitch = [trackingTransform] + { + return !trackingTransform(); + }; + // default behavior is to hide the cursor but this can be disabled (useful for remote desktop) // note: See CaptureCursorLook in the Settings Registry m_firstPersonRotateCamera->SetActivationBeganFn(hideCursor); @@ -255,6 +269,11 @@ namespace SandboxEditor return SandboxEditor::CameraOrbitYawRotationInverted(); }; + m_orbitRotateCamera->m_constrainPitch = [trackingTransform] + { + return !trackingTransform(); + }; + m_orbitTranslateCamera = AZStd::make_shared( translateCameraInputChannelIds, AzFramework::LookTranslation, AzFramework::TranslateOffsetOrbit); @@ -337,12 +356,12 @@ namespace SandboxEditor AZ::TransformBus::EventResult(worldFromLocal, viewEntityId, &AZ::TransformBus::Events::GetWorldTM); AtomToolsFramework::ModularViewportCameraControllerRequestBus::Event( - m_viewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::SetReferenceFrame, worldFromLocal); + m_viewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::StartTrackingTransform, worldFromLocal); } else { AtomToolsFramework::ModularViewportCameraControllerRequestBus::Event( - m_viewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::ClearReferenceFrame); + m_viewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::StopTrackingTransform); } } diff --git a/Code/Editor/EditorViewportWidget.cpp b/Code/Editor/EditorViewportWidget.cpp index 3a2053f328..132729466c 100644 --- a/Code/Editor/EditorViewportWidget.cpp +++ b/Code/Editor/EditorViewportWidget.cpp @@ -298,13 +298,9 @@ AzToolsFramework::ViewportInteraction::MousePick EditorViewportWidget::BuildMous { AzToolsFramework::ViewportInteraction::MousePick mousePick; mousePick.m_screenCoordinates = AzToolsFramework::ViewportInteraction::ScreenPointFromQPoint(point); - if (const auto& ray = m_renderViewport->ViewportScreenToWorldRay(mousePick.m_screenCoordinates); - ray.has_value()) - { - mousePick.m_rayOrigin = ray.value().origin; - mousePick.m_rayDirection = ray.value().direction; - } - + const auto[origin, direction] = m_renderViewport->ViewportScreenToWorldRay(mousePick.m_screenCoordinates); + mousePick.m_rayOrigin = origin; + mousePick.m_rayDirection = direction; return mousePick; } @@ -895,23 +891,6 @@ AZ::Vector3 EditorViewportWidget::PickTerrain(const AzFramework::ScreenPoint& po return LYVec3ToAZVec3(ViewToWorld(AzToolsFramework::ViewportInteraction::QPointFromScreenPoint(point), nullptr, true)); } -AZ::EntityId EditorViewportWidget::PickEntity(const AzFramework::ScreenPoint& point) -{ - AZ::EntityId entityId; - HitContext hitInfo; - hitInfo.view = this; - if (HitTest(AzToolsFramework::ViewportInteraction::QPointFromScreenPoint(point), hitInfo)) - { - if (hitInfo.object && (hitInfo.object->GetType() == OBJTYPE_AZENTITY)) - { - auto entityObject = static_cast(hitInfo.object); - entityId = entityObject->GetAssociatedEntityId(); - } - } - - return entityId; -} - float EditorViewportWidget::TerrainHeight(const AZ::Vector2& position) { return GetIEditor()->GetTerrainElevation(position.GetX(), position.GetY()); @@ -1636,16 +1615,15 @@ void EditorViewportWidget::RenderSelectedRegion() Vec3 EditorViewportWidget::WorldToView3D(const Vec3& wp, [[maybe_unused]] int nFlags) const { Vec3 out(0, 0, 0); - float x, y, z; + float x, y; - ProjectToScreen(wp.x, wp.y, wp.z, &x, &y, &z); - if (_finite(x) && _finite(y) && _finite(z)) + ProjectToScreen(wp.x, wp.y, wp.z, &x, &y); + if (_finite(x) && _finite(y)) { out.x = (x / 100) * m_rcClient.width(); out.y = (y / 100) * m_rcClient.height(); out.x /= static_cast(QHighDpiScaling::factor(windowHandle()->screen())); out.y /= static_cast(QHighDpiScaling::factor(windowHandle()->screen())); - out.z = z; } return out; } @@ -1655,24 +1633,6 @@ QPoint EditorViewportWidget::WorldToView(const Vec3& wp) const { return AzToolsFramework::ViewportInteraction::QPointFromScreenPoint(m_renderViewport->ViewportWorldToScreen(LYVec3ToAZVec3(wp))); } -////////////////////////////////////////////////////////////////////////// -QPoint EditorViewportWidget::WorldToViewParticleEditor(const Vec3& wp, int width, int height) const -{ - QPoint p; - float x, y, z; - - ProjectToScreen(wp.x, wp.y, wp.z, &x, &y, &z); - if (_finite(x) || _finite(y)) - { - p.rx() = static_cast((x / 100) * width); - p.ry() = static_cast((y / 100) * height); - } - else - { - QPoint(0, 0); - } - return p; -} ////////////////////////////////////////////////////////////////////////// Vec3 EditorViewportWidget::ViewToWorld( @@ -1688,20 +1648,16 @@ Vec3 EditorViewportWidget::ViewToWorld( AZ_UNUSED(collideWithObject); auto ray = m_renderViewport->ViewportScreenToWorldRay(AzToolsFramework::ViewportInteraction::ScreenPointFromQPoint(vp)); - if (!ray.has_value()) - { - return Vec3(0, 0, 0); - } const float maxDistance = 10000.f; - Vec3 v = AZVec3ToLYVec3(ray.value().direction) * maxDistance; + Vec3 v = AZVec3ToLYVec3(ray.direction) * maxDistance; if (!_finite(v.x) || !_finite(v.y) || !_finite(v.z)) { return Vec3(0, 0, 0); } - Vec3 colp = AZVec3ToLYVec3(ray.value().origin) + 0.002f * v; + Vec3 colp = AZVec3ToLYVec3(ray.origin) + 0.002f * v; return colp; } @@ -1740,21 +1696,19 @@ bool EditorViewportWidget::RayRenderMeshIntersection(IRenderMesh* pRenderMesh, c return bRes;*/ } -void EditorViewportWidget::UnProjectFromScreen(float sx, float sy, float sz, float* px, float* py, float* pz) const +void EditorViewportWidget::UnProjectFromScreen(float sx, float sy, float* px, float* py, float* pz) const { - AZ::Vector3 wp; - wp = m_renderViewport->ViewportScreenToWorld(AzFramework::ScreenPoint{(int)sx, m_rcClient.bottom() - ((int)sy)}, sz).value_or(wp); + const AZ::Vector3 wp = m_renderViewport->ViewportScreenToWorld(AzFramework::ScreenPoint{(int)sx, m_rcClient.bottom() - ((int)sy)}); *px = wp.GetX(); *py = wp.GetY(); *pz = wp.GetZ(); } -void EditorViewportWidget::ProjectToScreen(float ptx, float pty, float ptz, float* sx, float* sy, float* sz) const +void EditorViewportWidget::ProjectToScreen(float ptx, float pty, float ptz, float* sx, float* sy) const { AzFramework::ScreenPoint screenPosition = m_renderViewport->ViewportWorldToScreen(AZ::Vector3{ptx, pty, ptz}); *sx = static_cast(screenPosition.m_x); *sy = static_cast(screenPosition.m_y); - *sz = 0.f; } ////////////////////////////////////////////////////////////////////////// @@ -1764,32 +1718,22 @@ void EditorViewportWidget::ViewToWorldRay(const QPoint& vp, Vec3& raySrc, Vec3& Vec3 pos0, pos1; float wx, wy, wz; - UnProjectFromScreen(static_cast(vp.x()), static_cast(rc.bottom() - vp.y()), 0.0f, &wx, &wy, &wz); - if (!_finite(wx) || !_finite(wy) || !_finite(wz)) - { - return; - } - if (fabs(wx) > 1000000 || fabs(wy) > 1000000 || fabs(wz) > 1000000) - { - return; - } - pos0(wx, wy, wz); - UnProjectFromScreen(static_cast(vp.x()), static_cast(rc.bottom() - vp.y()), 1.0f, &wx, &wy, &wz); - if (!_finite(wx) || !_finite(wy) || !_finite(wz)) - { - return; - } - if (fabs(wx) > 1000000 || fabs(wy) > 1000000 || fabs(wz) > 1000000) - { - return; - } - pos1(wx, wy, wz); + UnProjectFromScreen(static_cast(vp.x()), static_cast(rc.bottom() - vp.y()), &wx, &wy, &wz); - Vec3 v = (pos1 - pos0); - v = v.GetNormalized(); + if (!_finite(wx) || !_finite(wy) || !_finite(wz)) + { + return; + } + + if (fabs(wx) > 1000000 || fabs(wy) > 1000000 || fabs(wz) > 1000000) + { + return; + } + + pos0(wx, wy, wz); raySrc = pos0; - rayDir = v; + rayDir = (pos0 - AZVec3ToLYVec3(m_renderViewport->GetCameraState().m_position)).GetNormalized(); } ////////////////////////////////////////////////////////////////////////// @@ -2338,10 +2282,10 @@ void* EditorViewportWidget::GetSystemCursorConstraintWindow() const return systemCursorConstrained ? renderOverlayHWND() : nullptr; } -void EditorViewportWidget::BuildDragDropContext(AzQtComponents::ViewportDragContext& context, const QPoint& pt) +void EditorViewportWidget::BuildDragDropContext( + AzQtComponents::ViewportDragContext& context, const AzFramework::ViewportId viewportId, const QPoint& point) { - const auto scaledPoint = WidgetToViewport(pt); - QtViewport::BuildDragDropContext(context, scaledPoint); + QtViewport::BuildDragDropContext(context, viewportId, point); } void EditorViewportWidget::RestoreViewportAfterGameMode() diff --git a/Code/Editor/EditorViewportWidget.h b/Code/Editor/EditorViewportWidget.h index b63eb66de2..0101f2ffef 100644 --- a/Code/Editor/EditorViewportWidget.h +++ b/Code/Editor/EditorViewportWidget.h @@ -165,7 +165,6 @@ private: Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, const QPoint& point) override; void SetViewportId(int id) override; QPoint WorldToView(const Vec3& wp) const override; - QPoint WorldToViewParticleEditor(const Vec3& wp, int width, int height) const override; Vec3 WorldToView3D(const Vec3& wp, int nFlags = 0) const override; Vec3 ViewToWorld(const QPoint& vp, bool* collideWithTerrain = nullptr, bool onlyTerrain = false, bool bSkipVegetation = false, bool bTestRenderMesh = false, bool* collideWithObject = nullptr) const override; void ViewToWorldRay(const QPoint& vp, Vec3& raySrc, Vec3& rayDir) const override; @@ -206,7 +205,6 @@ private: void* GetSystemCursorConstraintWindow() const override; // AzToolsFramework::MainEditorViewportInteractionRequestBus overrides ... - AZ::EntityId PickEntity(const AzFramework::ScreenPoint& point) override; AZ::Vector3 PickTerrain(const AzFramework::ScreenPoint& point) override; float TerrainHeight(const AZ::Vector2& position) override; bool ShowingWorldSpace() override; @@ -273,7 +271,8 @@ private: bool CheckRespondToInput() const; - void BuildDragDropContext(AzQtComponents::ViewportDragContext& context, const QPoint& pt) override; + void BuildDragDropContext( + AzQtComponents::ViewportDragContext& context, AzFramework::ViewportId viewportId, const QPoint& point) override; void SetAsActiveViewport(); void PushDisableRendering(); @@ -304,8 +303,8 @@ private: const DisplayContext& GetDisplayContext() const { return m_displayContext; } CBaseObject* GetCameraObject() const; - void UnProjectFromScreen(float sx, float sy, float sz, float* px, float* py, float* pz) const; - void ProjectToScreen(float ptx, float pty, float ptz, float* sx, float* sy, float* sz) const; + void UnProjectFromScreen(float sx, float sy, float* px, float* py, float* pz) const; + void ProjectToScreen(float ptx, float pty, float ptz, float* sx, float* sy) const; AZ::RPI::ViewPtr GetCurrentAtomView() const; diff --git a/Code/Editor/Include/IDisplayViewport.h b/Code/Editor/Include/IDisplayViewport.h index df17c9cb13..132c62804c 100644 --- a/Code/Editor/Include/IDisplayViewport.h +++ b/Code/Editor/Include/IDisplayViewport.h @@ -45,7 +45,6 @@ struct IDisplayViewport virtual const Matrix34& GetViewTM() const = 0; virtual const Matrix34& GetScreenTM() const = 0; virtual QPoint WorldToView(const Vec3& worldPoint) const = 0; - virtual QPoint WorldToViewParticleEditor(const Vec3& worldPoint, int width, int height) const = 0; virtual Vec3 WorldToView3D(const Vec3& worldPoint, int flags = 0) const = 0; virtual Vec3 ViewToWorld(const QPoint& vp, bool* collideWithTerrain = nullptr, bool onlyTerrain = false, bool bSkipVegetation = false, bool bTestRenderMesh = false, bool* collideWithObject = nullptr) const = 0; virtual void ViewToWorldRay(const QPoint& vp, Vec3& raySrc, Vec3& rayDir) const = 0; diff --git a/Code/Editor/Lib/Tests/Camera/test_EditorCamera.cpp b/Code/Editor/Lib/Tests/Camera/test_EditorCamera.cpp index 637b9c44c5..dd7698a82e 100644 --- a/Code/Editor/Lib/Tests/Camera/test_EditorCamera.cpp +++ b/Code/Editor/Lib/Tests/Camera/test_EditorCamera.cpp @@ -27,7 +27,9 @@ namespace UnitTest AZ::Entity* m_entity = nullptr; AZ::ComponentDescriptor* m_transformComponent = nullptr; - static const AzFramework::ViewportId TestViewportId; + static inline constexpr AzFramework::ViewportId TestViewportId = 2345; + static inline constexpr float HalfInterpolateToTransformDuration = + AtomToolsFramework::ModularViewportCameraControllerRequests::InterpolateToTransformDuration * 0.5f; void SetUp() override { @@ -76,8 +78,6 @@ namespace UnitTest } }; - const AzFramework::ViewportId EditorCameraFixture::TestViewportId = AzFramework::ViewportId(1337); - TEST_F(EditorCameraFixture, ModularViewportCameraControllerReferenceFrameUpdatedWhenViewportEntityisChanged) { // Given @@ -91,8 +91,8 @@ namespace UnitTest &Camera::EditorCameraNotificationBus::Events::OnViewportViewEntityChanged, m_entity->GetId()); // ensure the viewport updates after the viewport view entity change - const float deltaTime = 1.0f / 60.0f; - m_controllerList->UpdateViewport({ TestViewportId, AzFramework::FloatSeconds(deltaTime), AZ::ScriptTimePoint() }); + // note: do a large step to ensure smoothing finishes (e.g. not 1.0f/60.0f) + m_controllerList->UpdateViewport({ TestViewportId, AzFramework::FloatSeconds(2.0f), AZ::ScriptTimePoint() }); // retrieve updated camera transform const AZ::Transform cameraTransform = m_cameraViewportContextView->GetCameraTransform(); @@ -102,61 +102,40 @@ namespace UnitTest EXPECT_THAT(cameraTransform, IsClose(entityTransform)); } - TEST_F(EditorCameraFixture, ReferenceFrameRemainsIdentityAfterExternalCameraTransformChangeWhenNotSet) + TEST_F(EditorCameraFixture, TrackingTransformIsTrueAfterTransformIsTracked) { - // Given - m_cameraViewportContextView->SetCameraTransform(AZ::Transform::CreateTranslation(AZ::Vector3(10.0f, 20.0f, 30.0f))); + // Given/When + const AZ::Transform referenceFrame = AZ::Transform::CreateFromQuaternionAndTranslation( + AZ::Quaternion::CreateRotationX(AZ::DegToRad(90.0f)), AZ::Vector3(1.0f, 2.0f, 3.0f)); + AtomToolsFramework::ModularViewportCameraControllerRequestBus::Event( + TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::StartTrackingTransform, referenceFrame); - // When - AZ::Transform referenceFrame = AZ::Transform::CreateTranslation(AZ::Vector3(1.0f, 2.0f, 3.0f)); + bool trackingTransform = false; AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( - referenceFrame, TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::GetReferenceFrame); + trackingTransform, TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::IsTrackingTransform); // Then - // reference frame is still the identity - EXPECT_THAT(referenceFrame, IsClose(AZ::Transform::CreateIdentity())); + EXPECT_THAT(trackingTransform, ::testing::IsTrue()); } - TEST_F(EditorCameraFixture, ExternalCameraTransformChangeWhenReferenceFrameIsSetUpdatesReferenceFrame) + TEST_F(EditorCameraFixture, TrackingTransformIsFalseAfterTransformIsStoppedBeingTracked) { // Given const AZ::Transform referenceFrame = AZ::Transform::CreateFromQuaternionAndTranslation( AZ::Quaternion::CreateRotationX(AZ::DegToRad(90.0f)), AZ::Vector3(1.0f, 2.0f, 3.0f)); AtomToolsFramework::ModularViewportCameraControllerRequestBus::Event( - TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::SetReferenceFrame, referenceFrame); - - const AZ::Transform nextTransform = AZ::Transform::CreateTranslation(AZ::Vector3(10.0f, 20.0f, 30.0f)); - m_cameraViewportContextView->SetCameraTransform(nextTransform); - - // When - AZ::Transform currentReferenceFrame = AZ::Transform::CreateTranslation(AZ::Vector3(1.0f, 2.0f, 3.0f)); - AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( - currentReferenceFrame, TestViewportId, - &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::GetReferenceFrame); - - // Then - EXPECT_THAT(currentReferenceFrame, IsClose(nextTransform)); - } - - TEST_F(EditorCameraFixture, ReferenceFrameReturnedToIdentityAfterClear) - { - // Given - const AZ::Transform referenceFrame = AZ::Transform::CreateFromQuaternionAndTranslation( - AZ::Quaternion::CreateRotationX(AZ::DegToRad(90.0f)), AZ::Vector3(1.0f, 2.0f, 3.0f)); - AtomToolsFramework::ModularViewportCameraControllerRequestBus::Event( - TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::SetReferenceFrame, referenceFrame); + TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::StartTrackingTransform, referenceFrame); // When AtomToolsFramework::ModularViewportCameraControllerRequestBus::Event( - TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::ClearReferenceFrame); - - AZ::Transform currentReferenceFrame = AZ::Transform::CreateTranslation(AZ::Vector3(1.0f, 2.0f, 3.0f)); - AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( - currentReferenceFrame, TestViewportId, - &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::GetReferenceFrame); + TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::StopTrackingTransform); // Then - EXPECT_THAT(currentReferenceFrame, IsClose(AZ::Transform::CreateIdentity())); + bool trackingTransform = false; + AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( + trackingTransform, TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::IsTrackingTransform); + + EXPECT_THAT(trackingTransform, ::testing::IsFalse()); } TEST_F(EditorCameraFixture, InterpolateToTransform) @@ -169,8 +148,10 @@ namespace UnitTest transformToInterpolateTo); // simulate interpolation - m_controllerList->UpdateViewport({ TestViewportId, AzFramework::FloatSeconds(0.5f), AZ::ScriptTimePoint() }); - m_controllerList->UpdateViewport({ TestViewportId, AzFramework::FloatSeconds(0.5f), AZ::ScriptTimePoint() }); + m_controllerList->UpdateViewport( + { TestViewportId, AzFramework::FloatSeconds(HalfInterpolateToTransformDuration), AZ::ScriptTimePoint() }); + m_controllerList->UpdateViewport( + { TestViewportId, AzFramework::FloatSeconds(HalfInterpolateToTransformDuration), AZ::ScriptTimePoint() }); const auto finalTransform = m_cameraViewportContextView->GetCameraTransform(); @@ -184,7 +165,7 @@ namespace UnitTest const AZ::Transform referenceFrame = AZ::Transform::CreateFromQuaternionAndTranslation( AZ::Quaternion::CreateRotationX(AZ::DegToRad(90.0f)), AZ::Vector3(1.0f, 2.0f, 3.0f)); AtomToolsFramework::ModularViewportCameraControllerRequestBus::Event( - TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::SetReferenceFrame, referenceFrame); + TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::StartTrackingTransform, referenceFrame); AZ::Transform transformToInterpolateTo = AZ::Transform::CreateFromQuaternionAndTranslation( AZ::Quaternion::CreateRotationZ(AZ::DegToRad(90.0f)), AZ::Vector3(20.0f, 40.0f, 60.0f)); @@ -195,18 +176,85 @@ namespace UnitTest transformToInterpolateTo); // simulate interpolation - m_controllerList->UpdateViewport({ TestViewportId, AzFramework::FloatSeconds(0.5f), AZ::ScriptTimePoint() }); - m_controllerList->UpdateViewport({ TestViewportId, AzFramework::FloatSeconds(0.5f), AZ::ScriptTimePoint() }); - - AZ::Transform currentReferenceFrame = AZ::Transform::CreateTranslation(AZ::Vector3(1.0f, 2.0f, 3.0f)); - AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( - currentReferenceFrame, TestViewportId, - &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::GetReferenceFrame); + m_controllerList->UpdateViewport( + { TestViewportId, AzFramework::FloatSeconds(HalfInterpolateToTransformDuration), AZ::ScriptTimePoint() }); + m_controllerList->UpdateViewport( + { TestViewportId, AzFramework::FloatSeconds(HalfInterpolateToTransformDuration), AZ::ScriptTimePoint() }); const auto finalTransform = m_cameraViewportContextView->GetCameraTransform(); // Then EXPECT_THAT(finalTransform, IsClose(transformToInterpolateTo)); - EXPECT_THAT(currentReferenceFrame, IsClose(AZ::Transform::CreateIdentity())); + } + + TEST_F(EditorCameraFixture, BeginningCameraInterpolationReturnsTrue) + { + // Given/When + bool interpolationBegan = false; + AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( + interpolationBegan, TestViewportId, + &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::InterpolateToTransform, + AZ::Transform::CreateTranslation(AZ::Vector3(10.0f, 10.0f, 10.0f))); + + // Then + EXPECT_THAT(interpolationBegan, ::testing::IsTrue()); + } + + TEST_F(EditorCameraFixture, CameraInterpolationDoesNotBeginDuringAnExistingInterpolation) + { + // Given/When + bool initialInterpolationBegan = false; + AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( + initialInterpolationBegan, TestViewportId, + &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::InterpolateToTransform, + AZ::Transform::CreateTranslation(AZ::Vector3(10.0f, 10.0f, 10.0f))); + + m_controllerList->UpdateViewport( + { TestViewportId, AzFramework::FloatSeconds(HalfInterpolateToTransformDuration), AZ::ScriptTimePoint() }); + + bool nextInterpolationBegan = true; + AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( + nextInterpolationBegan, TestViewportId, + &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::InterpolateToTransform, + AZ::Transform::CreateTranslation(AZ::Vector3(10.0f, 10.0f, 10.0f))); + + bool interpolating = false; + AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( + interpolating, TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::IsInterpolating); + + // Then + EXPECT_THAT(initialInterpolationBegan, ::testing::IsTrue()); + EXPECT_THAT(nextInterpolationBegan, ::testing::IsFalse()); + EXPECT_THAT(interpolating, ::testing::IsTrue()); + } + + TEST_F(EditorCameraFixture, CameraInterpolationCanBeginAfterAnInterpolationCompletes) + { + // Given/When + bool initialInterpolationBegan = false; + AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( + initialInterpolationBegan, TestViewportId, + &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::InterpolateToTransform, + AZ::Transform::CreateTranslation(AZ::Vector3(10.0f, 10.0f, 10.0f))); + + m_controllerList->UpdateViewport( + { TestViewportId, + AzFramework::FloatSeconds(AtomToolsFramework::ModularViewportCameraControllerRequests::InterpolateToTransformDuration + 0.5f), + AZ::ScriptTimePoint() }); + + bool interpolating = true; + AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( + interpolating, TestViewportId, &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::IsInterpolating); + + bool nextInterpolationBegan = false; + AtomToolsFramework::ModularViewportCameraControllerRequestBus::EventResult( + nextInterpolationBegan, TestViewportId, + &AtomToolsFramework::ModularViewportCameraControllerRequestBus::Events::InterpolateToTransform, + AZ::Transform::CreateTranslation(AZ::Vector3(10.0f, 10.0f, 10.0f))); + + // Then + EXPECT_THAT(initialInterpolationBegan, ::testing::IsTrue()); + EXPECT_THAT(interpolating, ::testing::IsFalse()); + EXPECT_THAT(nextInterpolationBegan, ::testing::IsTrue()); } } // namespace UnitTest diff --git a/Code/Editor/Lib/Tests/test_ModularViewportCameraController.cpp b/Code/Editor/Lib/Tests/test_ModularViewportCameraController.cpp index 275df11784..656440f16e 100644 --- a/Code/Editor/Lib/Tests/test_ModularViewportCameraController.cpp +++ b/Code/Editor/Lib/Tests/test_ModularViewportCameraController.cpp @@ -74,7 +74,7 @@ namespace UnitTest class ModularViewportCameraControllerFixture : public AllocatorsTestFixture { public: - static const AzFramework::ViewportId TestViewportId; + static inline constexpr AzFramework::ViewportId TestViewportId = 1234; void SetUp() override { @@ -146,6 +146,17 @@ namespace UnitTest controller->SetCameraPropsBuilderCallback( [](AzFramework::CameraProps& cameraProps) { + // note: rotateSmoothness is also used for roll (not related to camera input directly) + cameraProps.m_rotateSmoothnessFn = [] + { + return 5.0f; + }; + + cameraProps.m_translateSmoothnessFn = [] + { + return 5.0f; + }; + cameraProps.m_rotateSmoothingEnabledFn = [] { return false; @@ -209,8 +220,6 @@ namespace UnitTest AZStd::unique_ptr m_editorModularViewportCameraComposer; }; - const AzFramework::ViewportId ModularViewportCameraControllerFixture::TestViewportId = AzFramework::ViewportId(0); - TEST_F(ModularViewportCameraControllerFixture, MouseMovementDoesNotAccumulateExcessiveDriftInModularViewportCameraWithVaryingDeltaTime) { SandboxEditor::SetCameraCaptureCursorForLook(false); @@ -380,6 +389,7 @@ namespace UnitTest m_controllerList->UpdateViewport({ TestViewportId, AzFramework::FloatSeconds(deltaTime), AZ::ScriptTimePoint() }); QTest::mouseRelease(m_rootWidget.get(), Qt::MouseButton::RightButton, Qt::NoModifier, start + mouseDelta); + m_controllerList->UpdateViewport({ TestViewportId, AzFramework::FloatSeconds(deltaTime), AZ::ScriptTimePoint() }); // update the position of the widget const auto offset = QPoint(500, 500); diff --git a/Code/Editor/Lib/Tests/test_ViewportManipulatorController.cpp b/Code/Editor/Lib/Tests/test_ViewportManipulatorController.cpp index 63e59ea940..81dcae9129 100644 --- a/Code/Editor/Lib/Tests/test_ViewportManipulatorController.cpp +++ b/Code/Editor/Lib/Tests/test_ViewportManipulatorController.cpp @@ -12,6 +12,7 @@ #include #include #include +#include namespace UnitTest { @@ -77,14 +78,15 @@ namespace UnitTest class ViewportManipulatorControllerFixture : public AllocatorsTestFixture { public: - static const AzFramework::ViewportId TestViewportId; + static inline constexpr AzFramework::ViewportId TestViewportId = 1234; + static inline const QSize WidgetSize = QSize(1920, 1080); void SetUp() override { AllocatorsTestFixture::SetUp(); m_rootWidget = AZStd::make_unique(); - m_rootWidget->setFixedSize(QSize(100, 100)); + m_rootWidget->setFixedSize(WidgetSize); QApplication::setActiveWindow(m_rootWidget.get()); m_controllerList = AZStd::make_shared(); @@ -111,8 +113,6 @@ namespace UnitTest AZStd::unique_ptr m_inputChannelMapper; }; - const AzFramework::ViewportId ViewportManipulatorControllerFixture::TestViewportId = AzFramework::ViewportId(0); - TEST_F(ViewportManipulatorControllerFixture, AnEventIsNotPropagatedToTheViewportWhenAManipulatorHandlesItFirst) { // forward input events to our controller list @@ -227,4 +227,74 @@ namespace UnitTest // the key was released (cleared) EXPECT_TRUE(endedEvent); } + + TEST_F(ViewportManipulatorControllerFixture, DoubleClickIsNotRegisteredIfMouseDeltaHasMovedMoreThanDeadzoneInClickInterval) + { + AzFramework::NativeWindowHandle nativeWindowHandle = nullptr; + + // forward input events to our controller list + QObject::connect( + m_inputChannelMapper.get(), &AzToolsFramework::QtEventToAzInputMapper::InputChannelUpdated, m_rootWidget.get(), + [this, nativeWindowHandle](const AzFramework::InputChannel* inputChannel, [[maybe_unused]] QEvent* event) + { + m_controllerList->HandleInputChannelEvent( + AzFramework::ViewportControllerInputEvent{ TestViewportId, nativeWindowHandle, *inputChannel }); + }); + + ::testing::NiceMock mockWindowRequests; + mockWindowRequests.Connect(nativeWindowHandle); + + using ::testing::Return; + // note: WindowRequests is used internally by ViewportManipulatorController + ON_CALL(mockWindowRequests, GetClientAreaSize()) + .WillByDefault(Return(AzFramework::WindowSize(WidgetSize.width(), WidgetSize.height()))); + + EditorInteractionViewportSelectionFake editorInteractionViewportFake; + editorInteractionViewportFake.m_internalHandleMouseManipulatorInteraction = [](const MouseInteractionEvent&) + { + // report the event was not handled (manipulator was not interacted with) + return false; + }; + + bool doubleClickDetected = false; + editorInteractionViewportFake.m_internalHandleMouseViewportInteraction = + [&doubleClickDetected](const MouseInteractionEvent& mouseInteractionEvent) + { + // ensure no double click event is detected with the given inputs below + if (mouseInteractionEvent.m_mouseEvent == AzToolsFramework::ViewportInteraction::MouseEvent::DoubleClick) + { + doubleClickDetected = true; + } + + return true; + }; + + editorInteractionViewportFake.Connect(); + + m_controllerList->Add(AZStd::make_shared()); + + // simulate a click, move, click + MouseMove(m_rootWidget.get(), QPoint(0, 0), QPoint(10, 10)); + MousePressAndMove(m_rootWidget.get(), QPoint(10, 10), QPoint(0, 0), Qt::MouseButton::LeftButton); + QTest::mouseRelease(m_rootWidget.get(), Qt::MouseButton::LeftButton, Qt::KeyboardModifier::NoModifier, QPoint(10, 10)); + MouseMove(m_rootWidget.get(), QPoint(10, 10), QPoint(20, 20)); + MousePressAndMove(m_rootWidget.get(), QPoint(20, 20), QPoint(0, 0), Qt::MouseButton::LeftButton); + QTest::mouseRelease(m_rootWidget.get(), Qt::MouseButton::LeftButton, Qt::KeyboardModifier::NoModifier, QPoint(20, 20)); + + // ensure no double click was detected + EXPECT_FALSE(doubleClickDetected); + + // simulate double click (sanity check it still is detected correctly with no movement) + MouseMove(m_rootWidget.get(), QPoint(0, 0), QPoint(10, 10)); + MousePressAndMove(m_rootWidget.get(), QPoint(10, 10), QPoint(0, 0), Qt::MouseButton::LeftButton); + QTest::mouseRelease(m_rootWidget.get(), Qt::MouseButton::LeftButton, Qt::KeyboardModifier::NoModifier, QPoint(10, 10)); + MousePressAndMove(m_rootWidget.get(), QPoint(10, 10), QPoint(0, 0), Qt::MouseButton::LeftButton); + QTest::mouseRelease(m_rootWidget.get(), Qt::MouseButton::LeftButton, Qt::KeyboardModifier::NoModifier, QPoint(10, 10)); + + // ensure a double click was detected + EXPECT_TRUE(doubleClickDetected); + + mockWindowRequests.Disconnect(); + editorInteractionViewportFake.Disconnect(); + } } // namespace UnitTest diff --git a/Code/Editor/MainWindow.cpp b/Code/Editor/MainWindow.cpp index 14ba902b15..f6744ec2d2 100644 --- a/Code/Editor/MainWindow.cpp +++ b/Code/Editor/MainWindow.cpp @@ -519,7 +519,7 @@ MainWindow* MainWindow::instance() void MainWindow::closeEvent(QCloseEvent* event) { - gSettings.Save(); + gSettings.Save(true); AzFramework::SystemCursorState currentCursorState; bool isInGameMode = false; @@ -708,14 +708,10 @@ void MainWindow::InitActions() .SetShortcut(QKeySequence::Undo) .SetReserved() .SetStatusTip(tr("Undo last operation")) - //.SetMenu(new QMenu("FIXME")) - .SetApplyHoverEffect() .RegisterUpdateCallback(cryEdit, &CCryEditApp::OnUpdateUndo); am->AddAction(ID_REDO, tr("&Redo")) .SetShortcut(AzQtComponents::RedoKeySequence) .SetReserved() - //.SetMenu(new QMenu("FIXME")) - .SetApplyHoverEffect() .SetStatusTip(tr("Redo last undo operation")) .RegisterUpdateCallback(cryEdit, &CCryEditApp::OnUpdateRedo); @@ -731,7 +727,6 @@ void MainWindow::InitActions() // Modify actions am->AddAction(AzToolsFramework::EditModeMove, tr("Move")) .SetIcon(Style::icon("Move")) - .SetApplyHoverEffect() .SetShortcut(tr("1")) .SetToolTip(tr("Move (1)")) .SetCheckable(true) @@ -757,7 +752,6 @@ void MainWindow::InitActions() }); am->AddAction(AzToolsFramework::EditModeRotate, tr("Rotate")) .SetIcon(Style::icon("Translate")) - .SetApplyHoverEffect() .SetShortcut(tr("2")) .SetToolTip(tr("Rotate (2)")) .SetCheckable(true) @@ -783,7 +777,6 @@ void MainWindow::InitActions() }); am->AddAction(AzToolsFramework::EditModeScale, tr("Scale")) .SetIcon(Style::icon("Scale")) - .SetApplyHoverEffect() .SetShortcut(tr("3")) .SetToolTip(tr("Scale (3)")) .SetCheckable(true) @@ -808,7 +801,6 @@ void MainWindow::InitActions() am->AddAction(AzToolsFramework::SnapToGrid, tr("Snap to grid")) .SetIcon(Style::icon("Grid")) - .SetApplyHoverEffect() .SetShortcut(tr("G")) .SetToolTip(tr("Snap to grid (G)")) .SetStatusTip(tr("Toggles snap to grid")) @@ -821,7 +813,6 @@ void MainWindow::InitActions() am->AddAction(AzToolsFramework::SnapAngle, tr("Snap angle")) .SetIcon(Style::icon("Angle")) - .SetApplyHoverEffect() .SetStatusTip(tr("Snap angle")) .SetCheckable(true) .RegisterUpdateCallback([](QAction* action) { @@ -961,7 +952,6 @@ void MainWindow::InitActions() .SetShortcut(tr("Ctrl+P")) .SetToolTip(tr("Simulate (Ctrl+P)")) .SetStatusTip(tr("Enable processing of Physics and AI.")) - .SetApplyHoverEffect() .SetCheckable(true) .RegisterUpdateCallback(cryEdit, &CCryEditApp::OnSwitchPhysicsUpdate); am->AddAction(ID_GAME_SYNCPLAYER, tr("Move Player and Camera Separately")).SetCheckable(true) @@ -1051,8 +1041,7 @@ void MainWindow::InitActions() // Editors Toolbar actions am->AddAction(ID_OPEN_ASSET_BROWSER, tr("Asset browser")) - .SetToolTip(tr("Open Asset Browser")) - .SetApplyHoverEffect(); + .SetToolTip(tr("Open Asset Browser")); AZ::EBusReduceResult> emfxEnabled(false); using AnimationRequestBus = AzToolsFramework::EditorAnimationSystemRequestsBus; @@ -1062,8 +1051,7 @@ void MainWindow::InitActions() { QAction* action = am->AddAction(ID_OPEN_EMOTIONFX_EDITOR, tr("Animation Editor")) .SetToolTip(tr("Open Animation Editor")) - .SetIcon(QIcon(":/EMotionFX/EMFX_icon_32x32.png")) - .SetApplyHoverEffect(); + .SetIcon(QIcon(":/EMotionFX/EMFX_icon_32x32.png")); QObject::connect(action, &QAction::triggered, this, []() { QtViewPaneManager::instance()->OpenPane(LyViewPane::AnimationEditor); }); @@ -1071,12 +1059,10 @@ void MainWindow::InitActions() am->AddAction(ID_OPEN_AUDIO_CONTROLS_BROWSER, tr("Audio Controls Editor")) .SetToolTip(tr("Open Audio Controls Editor")) - .SetIcon(Style::icon("Audio")) - .SetApplyHoverEffect(); + .SetIcon(Style::icon("Audio")); am->AddAction(ID_OPEN_UICANVASEDITOR, tr(LyViewPane::UiEditor)) - .SetToolTip(tr("Open UI Editor")) - .SetApplyHoverEffect(); + .SetToolTip(tr("Open UI Editor")); // Edit Mode Toolbar Actions am->AddAction(IDC_SELECTION_MASK, tr("Selected Object Types")); @@ -1089,12 +1075,10 @@ void MainWindow::InitActions() // Object Toolbar Actions am->AddAction(ID_GOTO_SELECTED, tr("Go to selected object")) .SetIcon(Style::icon("select_object")) - .SetApplyHoverEffect() .Connect(&QAction::triggered, this, &MainWindow::OnGotoSelected); // Misc Toolbar Actions - am->AddAction(ID_OPEN_SUBSTANCE_EDITOR, tr("Open Substance Editor")) - .SetApplyHoverEffect(); + am->AddAction(ID_OPEN_SUBSTANCE_EDITOR, tr("Open Substance Editor")); } void MainWindow::InitToolActionHandlers() diff --git a/Code/Editor/Objects/BaseObject.cpp b/Code/Editor/Objects/BaseObject.cpp index e5f121694a..b721dba56b 100644 --- a/Code/Editor/Objects/BaseObject.cpp +++ b/Code/Editor/Objects/BaseObject.cpp @@ -1649,7 +1649,7 @@ QString CBaseObject::GetTypeName() const } QString name; - name.append(className.mid(0, className.length() - subClassName.length())); + name.append(className.midRef(0, className.length() - subClassName.length())); return name; } diff --git a/Code/Editor/Objects/EntityObject.cpp b/Code/Editor/Objects/EntityObject.cpp index b2dfc04102..ae847da160 100644 --- a/Code/Editor/Objects/EntityObject.cpp +++ b/Code/Editor/Objects/EntityObject.cpp @@ -592,11 +592,11 @@ void CEntityObject::AdjustLightProperties(CVarBlockPtr& properties, const char* if (IVariable* pCastShadowVarLegacy = FindVariableInSubBlock(properties, pSubBlockVar, "bCastShadow")) { pCastShadowVarLegacy->SetFlags(pCastShadowVarLegacy->GetFlags() | IVariable::UI_INVISIBLE); - - if (pCastShadowVarLegacy->GetDisplayValue()[0] != '0') + const QString zeroPrefix("0"); + if (!pCastShadowVarLegacy->GetDisplayValue().startsWith(zeroPrefix)) { bCastShadowLegacy = true; - pCastShadowVarLegacy->SetDisplayValue("0"); + pCastShadowVarLegacy->SetDisplayValue(zeroPrefix); } } diff --git a/Code/Editor/Objects/ObjectManager.cpp b/Code/Editor/Objects/ObjectManager.cpp index ae627f4b9d..df3371a31c 100644 --- a/Code/Editor/Objects/ObjectManager.cpp +++ b/Code/Editor/Objects/ObjectManager.cpp @@ -828,7 +828,7 @@ void CObjectManager::ShowLastHiddenObject() { uint64 mostRecentID = CBaseObject::s_invalidHiddenID; CBaseObject* mostRecentObject = nullptr; - for (auto it : m_objects) + for (const auto& it : m_objects) { CBaseObject* obj = it.second; diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.cpp index 82d9f9ede2..64bd943d63 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -57,6 +56,7 @@ #include #include #include +#include #include #include @@ -1394,13 +1394,13 @@ void SandboxIntegrationManager::ContextMenu_NewEntity() { AZ::Vector3 worldPosition = AZ::Vector3::CreateZero(); - CViewport* view = GetIEditor()->GetViewManager()->GetGameViewport(); // If we don't have a viewport active to aid in placement, the object // will be created at the origin. - if (view) + if (CViewport* view = GetIEditor()->GetViewManager()->GetGameViewport()) { - const QPoint viewPoint(static_cast(m_contextMenuViewPoint.GetX()), static_cast(m_contextMenuViewPoint.GetY())); - worldPosition = view->GetHitLocation(viewPoint); + worldPosition = AzToolsFramework::FindClosestPickIntersection( + view->GetViewportId(), AzFramework::ScreenPointFromVector2(m_contextMenuViewPoint), AzToolsFramework::EditorPickRayLength, + GetDefaultEntityPlacementDistance()); } CreateNewEntityAtPosition(worldPosition); @@ -1675,6 +1675,12 @@ void SandboxIntegrationManager::GoToEntitiesInViewports(const AzToolsFramework:: if (auto viewportContext = viewportContextManager->GetViewportContextById(viewIndex)) { const AZ::Transform cameraTransform = viewportContext->GetCameraTransform(); + // do not attempt to interpolate to where we currently are + if (cameraTransform.GetTranslation().IsClose(center)) + { + continue; + } + const AZ::Vector3 forward = (center - cameraTransform.GetTranslation()).GetNormalized(); // move camera 25% further back than required diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerListModel.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerListModel.cpp index c25248d4f6..08d79adcf5 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerListModel.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerListModel.cpp @@ -2640,7 +2640,7 @@ QSize OutlinerItemDelegate::sizeHint(const QStyleOptionViewItem& option, const Q m_cachedBoundingRectOfTallCharacter = QRect(); }; - QTimer::singleShot(0, resetFunction); + QTimer::singleShot(0, this, resetFunction); } // And add 8 to it gives the outliner roughly the visible spacing we're looking for. diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerWidget.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerWidget.cpp index 803deb3509..af58ac4b6b 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerWidget.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerWidget.cpp @@ -121,6 +121,18 @@ namespace SortEntityChildrenRecursively(childId, comparer); } } + + QModelIndex nextIndexForTree(bool direction, OutlinerTreeView *tree, QModelIndex current) + { + if (direction) + { + return tree->indexAbove(current); + } + else + { + return tree->indexBelow(current); + } + } } OutlinerWidget::OutlinerWidget(QWidget* pParent, Qt::WindowFlags flags) @@ -891,9 +903,7 @@ void OutlinerWidget::DoSelectSliceRootNextToSelection(bool isTraversalUpwards) return; } - AZStd::function getNextIdxFunction = - AZStd::bind(isTraversalUpwards ? &QTreeView::indexAbove : &QTreeView::indexBelow, treeView, AZStd::placeholders::_1); - QModelIndex nextIdx = getNextIdxFunction(currentIdx); + QModelIndex nextIdx = nextIndexForTree(isTraversalUpwards,treeView,currentIdx); bool foundSliceRoot = false; while (nextIdx.isValid() && !foundSliceRoot) @@ -904,7 +914,7 @@ void OutlinerWidget::DoSelectSliceRootNextToSelection(bool isTraversalUpwards) AzToolsFramework::ToolsApplicationRequestBus::BroadcastResult( foundSliceRoot, &AzToolsFramework::ToolsApplicationRequests::IsSliceRootEntity, currentEntityId); - nextIdx = getNextIdxFunction(currentIdx); + nextIdx = nextIndexForTree(isTraversalUpwards, treeView, currentIdx); } if (foundSliceRoot) @@ -934,13 +944,10 @@ void OutlinerWidget::DoSelectEdgeSliceRoot(bool shouldSelectTopMostSlice) } QModelIndex currentIdx; - AZStd::function getNextIdxFunction; + if (shouldSelectTopMostSlice) { currentIdx = itemModel->index(0, OutlinerListModel::ColumnName); - - getNextIdxFunction = - AZStd::bind(&QTreeView::indexBelow, treeView, AZStd::placeholders::_1); } else { @@ -949,9 +956,6 @@ void OutlinerWidget::DoSelectEdgeSliceRoot(bool shouldSelectTopMostSlice) { currentIdx = itemModel->index(itemModel->rowCount(currentIdx) - 1, OutlinerListModel::ColumnName, currentIdx); } - - getNextIdxFunction = - AZStd::bind(&QTreeView::indexAbove, treeView, AZStd::placeholders::_1); } QModelIndex nextIdx = currentIdx; @@ -964,7 +968,7 @@ void OutlinerWidget::DoSelectEdgeSliceRoot(bool shouldSelectTopMostSlice) AzToolsFramework::ToolsApplicationRequestBus::BroadcastResult( foundSliceRoot, &AzToolsFramework::ToolsApplicationRequests::IsSliceRootEntity, currentEntityId); - nextIdx = getNextIdxFunction(currentIdx); + nextIdx = nextIndexForTree(shouldSelectTopMostSlice,treeView,currentIdx); } while (nextIdx.isValid() && !foundSliceRoot); if (foundSliceRoot) @@ -1416,7 +1420,10 @@ void OutlinerWidget::SortContent() } m_entitiesToSort.clear(); - auto comparer = AZStd::bind(&CompareEntitiesForSorting, AZStd::placeholders::_1, AZStd::placeholders::_2, m_sortMode); + auto comparer = [sortMode = m_sortMode](AZ::EntityId left, AZ::EntityId right) -> bool + { + return CompareEntitiesForSorting(left, right, sortMode); + }; for (const AZ::EntityId& entityId : parentsToSort) { SortEntityChildren(entityId, comparer); @@ -1433,7 +1440,10 @@ void OutlinerWidget::OnSortModeChanged(EntityOutliner::DisplaySortMode sortMode) if (sortMode != EntityOutliner::DisplaySortMode::Manually) { AZ_PROFILE_FUNCTION(AzToolsFramework); - auto comparer = AZStd::bind(&CompareEntitiesForSorting, AZStd::placeholders::_1, AZStd::placeholders::_2, sortMode); + auto comparer = [sortMode = m_sortMode](AZ::EntityId left, AZ::EntityId right) -> bool + { + return CompareEntitiesForSorting(left, right, sortMode); + }; SortEntityChildrenRecursively(AZ::EntityId(), comparer); } diff --git a/Code/Editor/Settings.cpp b/Code/Editor/Settings.cpp index 147ed0c0b8..acb48c3545 100644 --- a/Code/Editor/Settings.cpp +++ b/Code/Editor/Settings.cpp @@ -471,7 +471,7 @@ void SEditorSettings::LoadValue(const char* sSection, const char* sKey, ESystemC } ////////////////////////////////////////////////////////////////////////// -void SEditorSettings::Save() +void SEditorSettings::Save(bool isEditorClosing) { QString strStringPlaceholder; @@ -638,14 +638,16 @@ void SEditorSettings::Save() // --- Settings Registry values // Prefab System UI - AzFramework::ApplicationRequests::Bus::Broadcast( - &AzFramework::ApplicationRequests::SetPrefabSystemEnabled, prefabSystem); + AzFramework::ApplicationRequests::Bus::Broadcast(&AzFramework::ApplicationRequests::SetPrefabSystemEnabled, prefabSystem); AzToolsFramework::Prefab::PrefabLoaderInterface* prefabLoaderInterface = AZ::Interface::Get(); prefabLoaderInterface->SetSaveAllPrefabsPreference(levelSaveSettings.saveAllPrefabsPreference); - SaveSettingsRegistryFile(); + if (!isEditorClosing) + { + SaveSettingsRegistryFile(); + } } ////////////////////////////////////////////////////////////////////////// diff --git a/Code/Editor/Settings.h b/Code/Editor/Settings.h index f4a6dabde8..9276d9b715 100644 --- a/Code/Editor/Settings.h +++ b/Code/Editor/Settings.h @@ -267,7 +267,7 @@ struct SANDBOX_API SEditorSettings AZ_POP_DISABLE_DLL_EXPORT_BASECLASS_WARNING SEditorSettings(); ~SEditorSettings() = default; - void Save(); + void Save(bool isEditorClosing = false); void Load(); void LoadCloudSettings(); diff --git a/Code/Editor/Viewport.cpp b/Code/Editor/Viewport.cpp index 37c46f07dd..5a64982350 100644 --- a/Code/Editor/Viewport.cpp +++ b/Code/Editor/Viewport.cpp @@ -14,14 +14,19 @@ // Qt #include +// AzCore +#include + // AzQtComponents #include #include #include #include +#include // Editor +#include "Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.h" #include "ViewManager.h" #include "Include/ITransformManipulator.h" #include "Include/HitContext.h" @@ -32,22 +37,35 @@ #include "GameEngine.h" #include "Settings.h" - #ifdef LoadCursor #undef LoadCursor #endif +AZ_CVAR( + float, + ed_defaultEntityPlacementDistance, + 10.0f, + nullptr, + AZ::ConsoleFunctorFlags::Null, + "The default distance to place an entity from the camera if no intersection is found"); + +float GetDefaultEntityPlacementDistance() +{ + return ed_defaultEntityPlacementDistance; +} + ////////////////////////////////////////////////////////////////////// // Viewport drag and drop support ////////////////////////////////////////////////////////////////////// -void QtViewport::BuildDragDropContext(AzQtComponents::ViewportDragContext& context, const QPoint& pt) +void QtViewport::BuildDragDropContext( + AzQtComponents::ViewportDragContext& context, const AzFramework::ViewportId viewportId, const QPoint& point) { - context.m_hitLocation = AZ::Vector3::CreateZero(); - context.m_hitLocation = GetHitLocation(pt); + context.m_hitLocation = AzToolsFramework::FindClosestPickIntersection( + viewportId, AzToolsFramework::ViewportInteraction::ScreenPointFromQPoint(point), AzToolsFramework::EditorPickRayLength, + GetDefaultEntityPlacementDistance()); } - void QtViewport::dragEnterEvent(QDragEnterEvent* event) { if (!GetIEditor()->GetGameEngine()->IsLevelLoaded()) @@ -66,7 +84,7 @@ void QtViewport::dragEnterEvent(QDragEnterEvent* event) // new bus-based way of doing it (install a listener!) using namespace AzQtComponents; ViewportDragContext context; - BuildDragDropContext(context, event->pos()); + BuildDragDropContext(context, GetViewportId(), event->pos()); DragAndDropEventsBus::Event(DragAndDropContexts::EditorViewport, &DragAndDropEvents::DragEnter, event, context); } } @@ -89,7 +107,7 @@ void QtViewport::dragMoveEvent(QDragMoveEvent* event) // new bus-based way of doing it (install a listener!) using namespace AzQtComponents; ViewportDragContext context; - BuildDragDropContext(context, event->pos()); + BuildDragDropContext(context, GetViewportId(), event->pos()); DragAndDropEventsBus::Event(DragAndDropContexts::EditorViewport, &DragAndDropEvents::DragMove, event, context); } } @@ -112,7 +130,7 @@ void QtViewport::dropEvent(QDropEvent* event) { // new bus-based way of doing it (install a listener!) ViewportDragContext context; - BuildDragDropContext(context, event->pos()); + BuildDragDropContext(context, GetViewportId(), event->pos()); DragAndDropEventsBus::Event(DragAndDropContexts::EditorViewport, &DragAndDropEvents::Drop, event, context); } } @@ -340,13 +358,6 @@ void QtViewport::resizeEvent(QResizeEvent* event) Update(); } -////////////////////////////////////////////////////////////////////////// -void QtViewport::leaveEvent(QEvent* event) -{ - QWidget::leaveEvent(event); - MouseCallback(eMouseLeave, QPoint(), Qt::KeyboardModifiers(), Qt::MouseButtons()); -} - ////////////////////////////////////////////////////////////////////////// void QtViewport::paintEvent([[maybe_unused]] QPaintEvent* event) { @@ -581,63 +592,7 @@ void QtViewport::keyReleaseEvent(QKeyEvent* event) OnKeyUp(nativeKey, 1, event->nativeModifiers()); } -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnLButtonDown(Qt::KeyboardModifiers modifiers, const QPoint& point) -{ - // Save the mouse down position - m_cMouseDownPos = point; - if (MouseCallback(eMouseLDown, point, modifiers)) - { - return; - } -} - -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnLButtonUp(Qt::KeyboardModifiers modifiers, const QPoint& point) -{ - // Check Edit Tool. - MouseCallback(eMouseLUp, point, modifiers); -} -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnRButtonDown(Qt::KeyboardModifiers modifiers, const QPoint& point) -{ - MouseCallback(eMouseRDown, point, modifiers); -} - -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnRButtonUp(Qt::KeyboardModifiers modifiers, const QPoint& point) -{ - MouseCallback(eMouseRUp, point, modifiers); -} - -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnMButtonDown(Qt::KeyboardModifiers modifiers, const QPoint& point) -{ - // Check Edit Tool. - MouseCallback(eMouseMDown, point, modifiers); -} - -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnMButtonUp(Qt::KeyboardModifiers modifiers, const QPoint& point) -{ - // Move the viewer to the mouse location. - // Check Edit Tool. - MouseCallback(eMouseMUp, point, modifiers); -} - -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnMButtonDblClk(Qt::KeyboardModifiers modifiers, const QPoint& point) -{ - MouseCallback(eMouseMDblClick, point, modifiers); -} - - -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnMouseMove(Qt::KeyboardModifiers modifiers, Qt::MouseButtons buttons, const QPoint& point) -{ - MouseCallback(eMouseMove, point, modifiers, buttons); -} ////////////////////////////////////////////////////////////////////////// void QtViewport::OnSetCursor() @@ -696,44 +651,6 @@ void QtViewport::OnDragSelectRectangle(const QRect& rect, bool bNormalizeRect) GetIEditor()->SetStatusText(szNewStatusText); } -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnLButtonDblClk(Qt::KeyboardModifiers modifiers, const QPoint& point) -{ - if (GetIEditor()->IsInGameMode()) - { - // Ignore double clicks while in game. - return; - } - - MouseCallback(eMouseLDblClick, point, modifiers); -} - -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnRButtonDblClk(Qt::KeyboardModifiers modifiers, const QPoint& point) -{ - MouseCallback(eMouseRDblClick, point, modifiers); -} - -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnKeyDown([[maybe_unused]] UINT nChar, [[maybe_unused]] UINT nRepCnt, [[maybe_unused]] UINT nFlags) -{ - if (GetIEditor()->IsInGameMode()) - { - // Ignore key downs while in game. - return; - } -} - -////////////////////////////////////////////////////////////////////////// -void QtViewport::OnKeyUp([[maybe_unused]] UINT nChar, [[maybe_unused]] UINT nRepCnt, [[maybe_unused]] UINT nFlags) -{ - if (GetIEditor()->IsInGameMode()) - { - // Ignore key downs while in game. - return; - } -} - ////////////////////////////////////////////////////////////////////////// void QtViewport::SetCurrentCursor(const QCursor& hCursor, const QString& cursorString) { @@ -1119,29 +1036,6 @@ bool QtViewport::HitTest(const QPoint& point, HitContext& hitInfo) return false; } -AZ::Vector3 QtViewport::GetHitLocation(const QPoint& point) -{ - Vec3 pos = Vec3(ZERO); - HitContext hit; - if (HitTest(point, hit)) - { - pos = hit.raySrc + hit.rayDir * hit.dist; - pos = SnapToGrid(pos); - } - else - { - bool hitTerrain; - pos = ViewToWorld(point, &hitTerrain); - if (hitTerrain) - { - pos.z = GetIEditor()->GetTerrainElevation(pos.x, pos.y); - } - pos = SnapToGrid(pos); - } - - return AZ::Vector3(pos.x, pos.y, pos.z); -} - ////////////////////////////////////////////////////////////////////////// void QtViewport::SetZoomFactor(float fZoomFactor) { @@ -1315,84 +1209,6 @@ bool QtViewport::GetAdvancedSelectModeFlag() return m_bAdvancedSelectMode; } -////////////////////////////////////////////////////////////////////////// -bool QtViewport::MouseCallback(EMouseEvent event, const QPoint& point, Qt::KeyboardModifiers modifiers, Qt::MouseButtons buttons) -{ - AZ_PROFILE_FUNCTION(Editor); - - // Ignore any mouse events in game mode. - if (GetIEditor()->IsInGameMode()) - { - return true; - } - - // We must ignore mouse events when we are in the middle of an assert. - // Reason: If we have an assert called from an engine module under the editor, if we call this function, - // it may call the engine again and cause a deadlock. - // Concrete example: CryPhysics called from Trackview causing an assert, and moving the cursor over the viewport - // would cause the editor to freeze as it calls CryPhysics again for a raycast while it didn't release the lock. - if (gEnv->pSystem->IsAssertDialogVisible()) - { - return true; - } - - ////////////////////////////////////////////////////////////////////////// - // Hit test gizmo objects. - ////////////////////////////////////////////////////////////////////////// - bool bAltClick = (modifiers & Qt::AltModifier); - bool bCtrlClick = (modifiers & Qt::ControlModifier); - bool bShiftClick = (modifiers & Qt::ShiftModifier); - - int flags = (bCtrlClick ? MK_CONTROL : 0) | - (bShiftClick ? MK_SHIFT : 0) | - ((buttons& Qt::LeftButton) ? MK_LBUTTON : 0) | - ((buttons& Qt::MiddleButton) ? MK_MBUTTON : 0) | - ((buttons& Qt::RightButton) ? MK_RBUTTON : 0); - - switch (event) - { - case eMouseMove: - - if (m_nLastUpdateFrame == m_nLastMouseMoveFrame) - { - // If mouse move event generated in the same frame, ignore it. - return false; - } - m_nLastMouseMoveFrame = m_nLastUpdateFrame; - - // Skip the marker position update if anything is selected, since it is only used - // by the info bar which doesn't show the marker when there is an active selection. - // This helps a performance issue when calling ViewToWorld (which calls RayWorldIntersection) - // on every mouse movement becomes very expensive in scenes with large amounts of entities. - CSelectionGroup* selection = GetIEditor()->GetSelection(); - if (!(buttons & Qt::RightButton) /* && m_nLastUpdateFrame != m_nLastMouseMoveFrame*/ && (selection && selection->IsEmpty())) - { - //m_nLastMouseMoveFrame = m_nLastUpdateFrame; - Vec3 pos = ViewToWorld(point); - GetIEditor()->SetMarkerPosition(pos); - } - break; - } - - QPoint tempPoint(point.x(), point.y()); - - ////////////////////////////////////////////////////////////////////////// - // Handle viewport manipulators. - ////////////////////////////////////////////////////////////////////////// - if (!bAltClick) - { - ITransformManipulator* pManipulator = GetIEditor()->GetTransformManipulator(); - if (pManipulator) - { - if (pManipulator->MouseCallback(this, event, tempPoint, flags)) - { - return true; - } - } - } - - return false; -} ////////////////////////////////////////////////////////////////////////// void QtViewport::ProcessRenderLisneters(DisplayContext& rstDisplayContext) { diff --git a/Code/Editor/Viewport.h b/Code/Editor/Viewport.h index 7f8ccc4c4f..bf44b914aa 100644 --- a/Code/Editor/Viewport.h +++ b/Code/Editor/Viewport.h @@ -6,13 +6,12 @@ * */ - // Description : interface for the CViewport class. - #pragma once #if !defined(Q_MOC_RUN) +#include #include #include #include @@ -88,6 +87,9 @@ enum EStdCursor STD_CURSOR_LAST, }; +//! The default distance an entity is placed from the camera if there is no intersection +SANDBOX_API float GetDefaultEntityPlacementDistance(); + AZ_PUSH_DISABLE_DLL_EXPORT_BASECLASS_WARNING class SANDBOX_API CViewport : public IDisplayViewport @@ -201,7 +203,6 @@ public: //! Performs hit testing of 2d point in view to find which object hit. virtual bool HitTest(const QPoint& point, HitContext& hitInfo) = 0; - virtual AZ::Vector3 GetHitLocation(const QPoint& point) = 0; virtual void MakeConstructionPlane(int axis) = 0; @@ -432,7 +433,6 @@ public: //! Performs hit testing of 2d point in view to find which object hit. bool HitTest(const QPoint& point, HitContext& hitInfo) override; - AZ::Vector3 GetHitLocation(const QPoint& point) override; //! Do 2D hit testing of line in world space. // pToCameraDistance is an optional output parameter in which distance from the camera to the line is returned. @@ -522,9 +522,6 @@ protected: void setRenderOverlayVisible(bool); bool isRenderOverlayVisible() const; - // called to process mouse callback inside the viewport. - virtual bool MouseCallback(EMouseEvent event, const QPoint& point, Qt::KeyboardModifiers modifiers, Qt::MouseButtons buttons = Qt::NoButton); - void ProcessRenderLisneters(DisplayContext& rstDisplayContext); void mousePressEvent(QMouseEvent* event) override; @@ -535,29 +532,29 @@ protected: void keyPressEvent(QKeyEvent* event) override; void keyReleaseEvent(QKeyEvent* event) override; void resizeEvent(QResizeEvent* event) override; - void leaveEvent(QEvent* event) override; - void paintEvent(QPaintEvent* event) override; - virtual void OnMouseMove(Qt::KeyboardModifiers modifiers, Qt::MouseButtons buttons, const QPoint& point); - virtual void OnMouseWheel(Qt::KeyboardModifiers modifiers, short zDelta, const QPoint& pt); - virtual void OnLButtonDown(Qt::KeyboardModifiers modifiers, const QPoint& point); - virtual void OnLButtonUp(Qt::KeyboardModifiers modifiers, const QPoint& point); - virtual void OnRButtonDown(Qt::KeyboardModifiers modifiers, const QPoint& point); - virtual void OnRButtonUp(Qt::KeyboardModifiers modifiers, const QPoint& point); - virtual void OnMButtonDblClk(Qt::KeyboardModifiers modifiers, const QPoint& point); - virtual void OnMButtonDown(Qt::KeyboardModifiers modifiers, const QPoint& point); - virtual void OnMButtonUp(Qt::KeyboardModifiers modifiers, const QPoint& point); - virtual void OnLButtonDblClk(Qt::KeyboardModifiers modifiers, const QPoint& point); - virtual void OnRButtonDblClk(Qt::KeyboardModifiers modifiers, const QPoint& point); - virtual void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); - virtual void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags); + virtual void OnMouseMove(Qt::KeyboardModifiers, Qt::MouseButtons, const QPoint&) {} + virtual void OnMouseWheel(Qt::KeyboardModifiers, short zDelta, const QPoint&); + virtual void OnLButtonDown(Qt::KeyboardModifiers, const QPoint&) {} + virtual void OnLButtonUp(Qt::KeyboardModifiers, const QPoint&) {} + virtual void OnRButtonDown(Qt::KeyboardModifiers, const QPoint&) {} + virtual void OnRButtonUp(Qt::KeyboardModifiers, const QPoint&) {} + virtual void OnMButtonDblClk(Qt::KeyboardModifiers, const QPoint&) {} + virtual void OnMButtonDown(Qt::KeyboardModifiers, const QPoint&) {} + virtual void OnMButtonUp(Qt::KeyboardModifiers, const QPoint&) {} + virtual void OnLButtonDblClk(Qt::KeyboardModifiers, const QPoint&) {} + virtual void OnRButtonDblClk(Qt::KeyboardModifiers, const QPoint&) {} + virtual void OnKeyDown([[maybe_unused]] UINT nChar, [[maybe_unused]] UINT nRepCnt, [[maybe_unused]] UINT nFlags) {} + virtual void OnKeyUp([[maybe_unused]] UINT nChar, [[maybe_unused]] UINT nRepCnt, [[maybe_unused]] UINT nFlags) {} #if defined(AZ_PLATFORM_WINDOWS) void OnRawInput(UINT wParam, HRAWINPUT lParam); #endif void OnSetCursor(); - virtual void BuildDragDropContext(AzQtComponents::ViewportDragContext& context, const QPoint& pt); + virtual void BuildDragDropContext( + AzQtComponents::ViewportDragContext& context, AzFramework::ViewportId viewportId, const QPoint& point); + void dragEnterEvent(QDragEnterEvent* event) override; void dragMoveEvent(QDragMoveEvent* event) override; void dragLeaveEvent(QDragLeaveEvent* event) override; diff --git a/Code/Editor/ViewportManipulatorController.cpp b/Code/Editor/ViewportManipulatorController.cpp index 1766945541..e46328eb65 100644 --- a/Code/Editor/ViewportManipulatorController.cpp +++ b/Code/Editor/ViewportManipulatorController.cpp @@ -8,13 +8,15 @@ #include "ViewportManipulatorController.h" +#include +#include +#include +#include +#include +#include #include #include -#include -#include -#include -#include -#include +#include #include @@ -87,8 +89,14 @@ namespace SandboxEditor } using InteractionBus = AzToolsFramework::EditorInteractionSystemViewportSelectionRequestBus; - using namespace AzToolsFramework::ViewportInteraction; using AzFramework::InputChannel; + using AzToolsFramework::ViewportInteraction::KeyboardModifier; + using AzToolsFramework::ViewportInteraction::MouseButton; + using AzToolsFramework::ViewportInteraction::MouseEvent; + using AzToolsFramework::ViewportInteraction::MouseInteraction; + using AzToolsFramework::ViewportInteraction::MouseInteractionEvent; + using AzToolsFramework::ViewportInteraction::ProjectedViewportRay; + using AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus; bool interactionHandled = false; float wheelDelta = 0.0f; @@ -117,16 +125,13 @@ namespace SandboxEditor aznumeric_cast(position->m_normalizedPosition.GetX() * windowSize.m_width), aznumeric_cast(position->m_normalizedPosition.GetY() * windowSize.m_height)); - m_mouseInteraction.m_mousePick.m_screenCoordinates = screenPoint; - AZStd::optional ray; + ProjectedViewportRay ray{}; ViewportInteractionRequestBus::EventResult( ray, GetViewportId(), &ViewportInteractionRequestBus::Events::ViewportScreenToWorldRay, screenPoint); - if (ray.has_value()) - { - m_mouseInteraction.m_mousePick.m_rayOrigin = ray.value().origin; - m_mouseInteraction.m_mousePick.m_rayDirection = ray.value().direction; - } + m_mouseInteraction.m_mousePick.m_rayOrigin = ray.origin; + m_mouseInteraction.m_mousePick.m_rayDirection = ray.direction; + m_mouseInteraction.m_mousePick.m_screenCoordinates = screenPoint; } eventType = MouseEvent::Move; @@ -152,7 +157,7 @@ namespace SandboxEditor // Only insert the double click timing once we're done processing events, to avoid a false IsDoubleClick positive if (finishedProcessingEvents) { - m_pendingDoubleClicks[mouseButton] = m_curTime; + m_pendingDoubleClicks[mouseButton] = { m_currentTime, m_mouseInteraction.m_mousePick.m_screenCoordinates }; } eventType = MouseEvent::Down; } @@ -160,8 +165,8 @@ namespace SandboxEditor else if (state == InputChannel::State::Ended) { // If we've actually logged a mouse down event, forward a mouse up event. - // This prevents corner cases like the context menu thinking it should be opened even though no one clicked in this viewport, - // due to RenderViewportWidget ensuring all controllers get InputChannel::State::Ended events. + // This prevents corner cases like the context menu thinking it should be opened even though no one clicked in this + // viewport, due to RenderViewportWidget ensuring all controllers get InputChannel::State::Ended events. if (m_mouseInteraction.m_mouseButtons.m_mouseButtons & mouseButtonValue) { // Erase the button from our state if we're done processing events. @@ -246,17 +251,22 @@ namespace SandboxEditor void ViewportManipulatorControllerInstance::UpdateViewport(const AzFramework::ViewportControllerUpdateEvent& event) { - m_curTime = event.m_time; + m_currentTime = event.m_time; } bool ViewportManipulatorControllerInstance::IsDoubleClick(AzToolsFramework::ViewportInteraction::MouseButton button) const { - auto clickIt = m_pendingDoubleClicks.find(button); - if (clickIt == m_pendingDoubleClicks.end()) + if (auto clickIt = m_pendingDoubleClicks.find(button); clickIt != m_pendingDoubleClicks.end()) { - return false; + const double doubleClickThresholdMilliseconds = qApp->doubleClickInterval(); + const bool insideTimeThreshold = + (m_currentTime.GetMilliseconds() - clickIt->second.m_time.GetMilliseconds()) < doubleClickThresholdMilliseconds; + const bool insideDistanceThreshold = + AzFramework::ScreenVectorLength(clickIt->second.m_position - m_mouseInteraction.m_mousePick.m_screenCoordinates) < + AzFramework::DefaultMouseMoveDeadZone; + return insideTimeThreshold && insideDistanceThreshold; } - const double doubleClickThresholdMilliseconds = qApp->doubleClickInterval(); - return (m_curTime.GetMilliseconds() - clickIt->second.GetMilliseconds()) < doubleClickThresholdMilliseconds; + + return false; } -} //namespace SandboxEditor +} // namespace SandboxEditor diff --git a/Code/Editor/ViewportManipulatorController.h b/Code/Editor/ViewportManipulatorController.h index d551eb3647..b9c359a544 100644 --- a/Code/Editor/ViewportManipulatorController.h +++ b/Code/Editor/ViewportManipulatorController.h @@ -39,8 +39,16 @@ namespace SandboxEditor static bool IsMouseMove(const AzFramework::InputChannel& inputChannel); static AzToolsFramework::ViewportInteraction::KeyboardModifier GetKeyboardModifier(const AzFramework::InputChannel& inputChannel); + //! Represents the time and location of a click. + struct ClickEvent + { + AZ::ScriptTimePoint m_time; + AzFramework::ScreenPoint m_position; + }; + AzToolsFramework::ViewportInteraction::MouseInteraction m_mouseInteraction; - AZStd::unordered_map m_pendingDoubleClicks; - AZ::ScriptTimePoint m_curTime; + AZStd::unordered_map m_pendingDoubleClicks; + + AZ::ScriptTimePoint m_currentTime; }; } // namespace SandboxEditor diff --git a/Code/Framework/AzCore/AzCore/Asset/AssetCommon.cpp b/Code/Framework/AzCore/AzCore/Asset/AssetCommon.cpp index fdc3053b5c..bf3ad20768 100644 --- a/Code/Framework/AzCore/AzCore/Asset/AssetCommon.cpp +++ b/Code/Framework/AzCore/AzCore/Asset/AssetCommon.cpp @@ -14,453 +14,450 @@ #include #include -namespace AZ +namespace AZ::Data { - namespace Data + AssetFilterInfo::AssetFilterInfo(const AssetId& id, const AssetType& assetType, AssetLoadBehavior loadBehavior) + : m_assetId(id) + , m_assetType(assetType) + , m_loadBehavior(loadBehavior) { - AssetFilterInfo::AssetFilterInfo(const AssetId& id, const AssetType& assetType, AssetLoadBehavior loadBehavior) - : m_assetId(id) - , m_assetType(assetType) - , m_loadBehavior(loadBehavior) + } + + AssetFilterInfo::AssetFilterInfo(const Asset& asset) + : m_assetId(asset.GetId()) + , m_assetType(asset.GetType()) + , m_loadBehavior(asset.GetAutoLoadBehavior()) + { + } + + + AssetId AssetId::CreateString(AZStd::string_view input) + { + size_t separatorIdx = input.find(':'); + if (separatorIdx == AZStd::string_view::npos) { + return AssetId(); } - AssetFilterInfo::AssetFilterInfo(const Asset& asset) - : m_assetId(asset.GetId()) - , m_assetType(asset.GetType()) - , m_loadBehavior(asset.GetAutoLoadBehavior()) + AssetId assetId; + assetId.m_guid = Uuid::CreateString(input.data(), separatorIdx); + if (assetId.m_guid.IsNull()) { + return AssetId(); } + assetId.m_subId = strtoul(&input[separatorIdx + 1], nullptr, 16); - AssetId AssetId::CreateString(AZStd::string_view input) + return assetId; + } + + void AssetId::Reflect(AZ::ReflectContext* context) + { + if (SerializeContext* serializeContext = azrtti_cast(context)) { - size_t separatorIdx = input.find(':'); - if (separatorIdx == AZStd::string_view::npos) - { - return AssetId(); - } - - AssetId assetId; - assetId.m_guid = Uuid::CreateString(input.data(), separatorIdx); - if (assetId.m_guid.IsNull()) - { - return AssetId(); - } - - assetId.m_subId = strtoul(&input[separatorIdx + 1], nullptr, 16); - - return assetId; + serializeContext->Class() + ->Version(1) + ->Field("guid", &Data::AssetId::m_guid) + ->Field("subId", &Data::AssetId::m_subId) + ; } - void AssetId::Reflect(AZ::ReflectContext* context) + if (BehaviorContext* behaviorContext = azrtti_cast(context)) { - if (SerializeContext* serializeContext = azrtti_cast(context)) - { - serializeContext->Class() - ->Version(1) - ->Field("guid", &Data::AssetId::m_guid) - ->Field("subId", &Data::AssetId::m_subId) - ; - } + behaviorContext->Class() + ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) + ->Attribute(AZ::Script::Attributes::Category, "Asset") + ->Attribute(AZ::Script::Attributes::Module, "asset") + ->Constructor() + ->Constructor() + ->Method("CreateString", &Data::AssetId::CreateString) + ->Method("IsValid", &Data::AssetId::IsValid) + ->Attribute(AZ::Script::Attributes::Alias, "is_valid") + ->Method("ToString", [](const Data::AssetId* self) { return self->ToString(); }) + ->Attribute(AZ::Script::Attributes::Alias, "to_string") + ->Method("IsEqual", [](const Data::AssetId& self, const Data::AssetId& other) { return self == other; }) + ->Attribute(AZ::Script::Attributes::Alias, "is_equal") + ->Attribute(AZ::Script::Attributes::Operator, AZ::Script::Attributes::OperatorType::Equal) + ; - if (BehaviorContext* behaviorContext = azrtti_cast(context)) - { - behaviorContext->Class() - ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) - ->Attribute(AZ::Script::Attributes::Category, "Asset") - ->Attribute(AZ::Script::Attributes::Module, "asset") - ->Constructor() - ->Constructor() - ->Method("CreateString", &Data::AssetId::CreateString) - ->Method("IsValid", &Data::AssetId::IsValid) - ->Attribute(AZ::Script::Attributes::Alias, "is_valid") - ->Method("ToString", [](const Data::AssetId* self) { return self->ToString(); }) - ->Attribute(AZ::Script::Attributes::Alias, "to_string") - ->Method("IsEqual", [](const Data::AssetId& self, const Data::AssetId& other) { return self == other; }) - ->Attribute(AZ::Script::Attributes::Alias, "is_equal") - ->Attribute(AZ::Script::Attributes::Operator, AZ::Script::Attributes::OperatorType::Equal) - ; + behaviorContext->Class() + ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) + ->Attribute(AZ::Script::Attributes::Category, "Asset") + ->Attribute(AZ::Script::Attributes::Module, "asset") + ->Property("assetId", BehaviorValueGetter(&Data::AssetInfo::m_assetId), nullptr) + ->Property("assetType", BehaviorValueGetter(&Data::AssetInfo::m_assetType), nullptr) + ->Property("sizeBytes", BehaviorValueGetter(&Data::AssetInfo::m_sizeBytes), nullptr) + ->Property("relativePath", BehaviorValueGetter(&Data::AssetInfo::m_relativePath), nullptr) + ; + } + } - behaviorContext->Class() - ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) - ->Attribute(AZ::Script::Attributes::Category, "Asset") - ->Attribute(AZ::Script::Attributes::Module, "asset") - ->Property("assetId", BehaviorValueGetter(&Data::AssetInfo::m_assetId), nullptr) - ->Property("assetType", BehaviorValueGetter(&Data::AssetInfo::m_assetType), nullptr) - ->Property("sizeBytes", BehaviorValueGetter(&Data::AssetInfo::m_sizeBytes), nullptr) - ->Property("relativePath", BehaviorValueGetter(&Data::AssetInfo::m_relativePath), nullptr) - ; - } + namespace AssetInternal + { + Asset FindOrCreateAsset(const AssetId& id, const AssetType& type, AssetLoadBehavior assetReferenceLoadBehavior) + { + return AssetManager::Instance().FindOrCreateAsset(id, type, assetReferenceLoadBehavior); } - namespace AssetInternal + Asset GetAsset(const AssetId& id, const AssetType& type, AssetLoadBehavior assetReferenceLoadBehavior, + const AssetLoadParameters& loadParams) { - Asset FindOrCreateAsset(const AssetId& id, const AssetType& type, AssetLoadBehavior assetReferenceLoadBehavior) - { - return AssetManager::Instance().FindOrCreateAsset(id, type, assetReferenceLoadBehavior); - } - - Asset GetAsset(const AssetId& id, const AssetType& type, AssetLoadBehavior assetReferenceLoadBehavior, - const AssetLoadParameters& loadParams) - { - return AssetManager::Instance().GetAsset(id, type, assetReferenceLoadBehavior, loadParams); - } - - AssetData::AssetStatus BlockUntilLoadComplete(const Asset& asset) - { - return AssetManager::Instance().BlockUntilLoadComplete(asset); - } - - void UpdateAssetInfo(AssetId& id, AZStd::string& assetHint) - { - // it is possible that the assetID given is legacy / old and we have a new assetId we can use instead for it. - // in that case, upgrade the AssetID to the new one, so that future saves are in the new format. - // this function should only be invoked if the feature is turned on in the asset manager as it can be (slightly) expensive - - if ((!AssetManager::IsReady()) || (!AssetManager::Instance().GetAssetInfoUpgradingEnabled())) - { - return; - } - - AZ::Data::AssetInfo assetInfo; - AZ::Data::AssetCatalogRequestBus::BroadcastResult(assetInfo, &AZ::Data::AssetCatalogRequests::GetAssetInfoById, id); - if (assetInfo.m_assetId.IsValid()) - { - id = assetInfo.m_assetId; - if (!assetInfo.m_relativePath.empty()) - { - assetHint = assetInfo.m_relativePath; - } - } - } - - bool ReloadAsset(AssetData* assetData, AssetLoadBehavior assetReferenceLoadBehavior) - { - AssetManager::Instance().ReloadAsset(assetData->GetId(), assetReferenceLoadBehavior); - return true; - } - - bool SaveAsset(AssetData* assetData, AssetLoadBehavior assetReferenceLoadBehavior) - { - AssetManager::Instance().SaveAsset({ assetData, assetReferenceLoadBehavior }); - return true; - } - - Asset GetAssetData(const AssetId& id, AssetLoadBehavior assetReferenceLoadBehavior) - { - if (AssetManager::IsReady()) - { - AZStd::lock_guard assetLock(AssetManager::Instance().m_assetMutex); - auto it = AssetManager::Instance().m_assets.find(id); - if (it != AssetManager::Instance().m_assets.end()) - { - return { it->second, assetReferenceLoadBehavior }; - } - } - return {}; - } - - AssetId ResolveAssetId(const AssetId& id) - { - AZ::Data::AssetInfo assetInfo; - AZ::Data::AssetCatalogRequestBus::BroadcastResult(assetInfo, &AZ::Data::AssetCatalogRequests::GetAssetInfoById, id); - if (assetInfo.m_assetId.IsValid()) - { - return assetInfo.m_assetId; - } - else - { - return id; - } - - } + return AssetManager::Instance().GetAsset(id, type, assetReferenceLoadBehavior, loadParams); } - AssetData::~AssetData() + AssetData::AssetStatus BlockUntilLoadComplete(const Asset& asset) { - UnregisterWithHandler(); + return AssetManager::Instance().BlockUntilLoadComplete(asset); } - void AssetData::Reflect(AZ::ReflectContext* context) + void UpdateAssetInfo(AssetId& id, AZStd::string& assetHint) { - if (SerializeContext* serializeContext = azrtti_cast(context)) + // it is possible that the assetID given is legacy / old and we have a new assetId we can use instead for it. + // in that case, upgrade the AssetID to the new one, so that future saves are in the new format. + // this function should only be invoked if the feature is turned on in the asset manager as it can be (slightly) expensive + + if ((!AssetManager::IsReady()) || (!AssetManager::Instance().GetAssetInfoUpgradingEnabled())) { - serializeContext->Class() - ->Version(1) - ; - } - - if (BehaviorContext* behaviorContext = azrtti_cast(context)) - { - behaviorContext->Class("AssetData") - ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) - ->Attribute(AZ::Script::Attributes::Category, "Asset") - ->Attribute(AZ::Script::Attributes::Module, "asset") - ->Method("IsReady", &AssetData::IsReady) - ->Attribute(AZ::Script::Attributes::Alias, "is_ready") - ->Method("IsError", &AssetData::IsError) - ->Attribute(AZ::Script::Attributes::Alias, "is_error") - ->Method("IsLoading", &AssetData::IsLoading) - ->Attribute(AZ::Script::Attributes::Alias, "is_loading") - ->Method("GetId", &AssetData::GetId) - ->Attribute(AZ::Script::Attributes::Alias, "get_id") - ->Method("GetUseCount", &AssetData::GetUseCount) - ->Attribute(AZ::Script::Attributes::Alias, "get_use_count") - ; - } - } - - void AssetData::Acquire() - { - AZ_Assert(m_useCount >= 0, "AssetData has been deleted"); - - AcquireWeak(); - ++m_useCount; - } - - void AssetData::Release() - { - AZ_Assert(m_useCount > 0, "Usecount is already 0!"); - - if (m_useCount.fetch_sub(1) == 1) - { - if (AssetManager::IsReady()) - { - AssetManager::Instance().OnAssetUnused(this); - } - else - { - AZ_Assert(false, "Attempting to release asset after AssetManager has been destroyed!"); - } - } - - ReleaseWeak(); - } - - void AssetData::AcquireWeak() - { - AZ_Assert(m_useCount >= 0, "AssetData has been deleted"); - ++m_weakUseCount; - } - - void AssetData::ReleaseWeak() - { - AZ_Assert(m_weakUseCount > 0, "WeakUseCount is already 0"); - - AssetId assetId = m_assetId; - int creationToken = m_creationToken; - AssetType assetType = GetType(); - bool removeFromHash = IsRegisterReadonlyAndShareable(); - // default creation token implies that the asset was not created by the asset manager and therefore it cannot be in the asset map. - removeFromHash = creationToken == s_defaultCreationToken ? false : removeFromHash; - - if (m_weakUseCount.fetch_sub(1) == 1) - { - if (AssetManager::IsReady()) - { - AssetManager::Instance().ReleaseAsset(this, assetId, assetType, removeFromHash, creationToken); - } - else - { - AZ_Assert(false, "Attempting to release asset after AssetManager has been destroyed!"); - } - } - } - - bool AssetData::IsLoading(bool includeQueued) const - { - auto curStatus = GetStatus(); - return(curStatus == AssetStatus::Loading || curStatus == AssetStatus::LoadedPreReady || curStatus==AssetStatus::StreamReady || - (includeQueued && curStatus == AssetStatus::Queued)); - } - - void AssetData::RegisterWithHandler(AssetHandler* handler) - { - if (!handler) - { - AZ_Error("AssetData", false, "No handler to register with"); return; } - m_registeredHandler = handler; - } - void AssetData::UnregisterWithHandler() - { - if (m_registeredHandler) + AZ::Data::AssetInfo assetInfo; + AZ::Data::AssetCatalogRequestBus::BroadcastResult(assetInfo, &AZ::Data::AssetCatalogRequests::GetAssetInfoById, id); + if (assetInfo.m_assetId.IsValid()) { - m_registeredHandler = nullptr; - } - } - - bool AssetData::GetFlag(const AssetDataFlags& checkFlag) const - { - return m_flags[aznumeric_cast(checkFlag)]; - } - - void AssetData::SetFlag(const AssetDataFlags& checkFlag, bool setValue) - { - m_flags.set(aznumeric_cast(checkFlag), setValue); - } - - bool AssetData::GetRequeue() const - { - return GetFlag(AssetDataFlags::Requeue); - } - void AssetData::SetRequeue(bool requeue) - { - SetFlag(AssetDataFlags::Requeue, requeue); - } - - void AssetBusCallbacks::SetCallbacks(const AssetReadyCB& readyCB, const AssetMovedCB& movedCB, const AssetReloadedCB& reloadedCB, - const AssetSavedCB& savedCB, const AssetUnloadedCB& unloadedCB, const AssetErrorCB& errorCB, const AssetCanceledCB& cancelCB) - { - m_onAssetReadyCB = readyCB; - m_onAssetMovedCB = movedCB; - m_onAssetReloadedCB = reloadedCB; - m_onAssetSavedCB = savedCB; - m_onAssetUnloadedCB = unloadedCB; - m_onAssetErrorCB = errorCB; - m_onAssetCanceledCB = cancelCB; - } - - void AssetBusCallbacks::ClearCallbacks() - { - SetCallbacks(AssetBusCallbacks::AssetReadyCB(), - AssetBusCallbacks::AssetMovedCB(), - AssetBusCallbacks::AssetReloadedCB(), - AssetBusCallbacks::AssetSavedCB(), - AssetBusCallbacks::AssetUnloadedCB(), - AssetBusCallbacks::AssetErrorCB(), - AssetBusCallbacks::AssetCanceledCB()); - } - - - void AssetBusCallbacks::SetOnAssetReadyCallback(const AssetReadyCB& readyCB) - { - m_onAssetReadyCB = readyCB; - } - - void AssetBusCallbacks::SetOnAssetMovedCallback(const AssetMovedCB& movedCB) - { - m_onAssetMovedCB = movedCB; - } - - void AssetBusCallbacks::SetOnAssetReloadedCallback(const AssetReloadedCB& reloadedCB) - { - m_onAssetReloadedCB = reloadedCB; - } - - void AssetBusCallbacks::SetOnAssetSavedCallback(const AssetSavedCB& savedCB) - { - m_onAssetSavedCB = savedCB; - } - - void AssetBusCallbacks::SetOnAssetUnloadedCallback(const AssetUnloadedCB& unloadedCB) - { - m_onAssetUnloadedCB = unloadedCB; - } - - void AssetBusCallbacks::SetOnAssetErrorCallback(const AssetErrorCB& errorCB) - { - m_onAssetErrorCB = errorCB; - } - - void AssetBusCallbacks::SetOnAssetCanceledCallback(const AssetCanceledCB& cancelCB) - { - m_onAssetCanceledCB = cancelCB; - } - - void AssetBusCallbacks::OnAssetReady(Asset asset) - { - if (m_onAssetReadyCB) - { - m_onAssetReadyCB(asset, *this); - } - } - - void AssetBusCallbacks::OnAssetMoved(Asset asset, void* oldDataPointer) - { - if (m_onAssetMovedCB) - { - m_onAssetMovedCB(asset, oldDataPointer, *this); - } - } - - void AssetBusCallbacks::OnAssetReloaded(Asset asset) - { - if (m_onAssetReloadedCB) - { - m_onAssetReloadedCB(asset, *this); - } - } - - void AssetBusCallbacks::OnAssetSaved(Asset asset, bool isSuccessful) - { - if (m_onAssetSavedCB) - { - m_onAssetSavedCB(asset, isSuccessful, *this); - } - } - - void AssetBusCallbacks::OnAssetUnloaded(const AssetId assetId, const AssetType assetType) - { - if (m_onAssetUnloadedCB) - { - m_onAssetUnloadedCB(assetId, assetType, *this); - } - } - - void AssetBusCallbacks::OnAssetError(Asset asset) - { - if (m_onAssetErrorCB) - { - m_onAssetErrorCB(asset, *this); - } - } - - void AssetBusCallbacks::OnAssetCanceled(const AssetId assetId) - { - if (m_onAssetCanceledCB) - { - m_onAssetCanceledCB(assetId, *this); - } - } - - /*static*/ bool AssetFilterNoAssetLoading([[maybe_unused]] const AssetFilterInfo& filterInfo) - { - return false; - } - namespace ProductDependencyInfo - { - AZ::Data::AssetLoadBehavior LoadBehaviorFromFlags(const ProductDependencyFlags& dependencyFlags) - { - AZ::u8 loadBehaviorValue = 0; - for (AZ::u8 thisFlag = aznumeric_cast(ProductDependencyFlagBits::LoadBehaviorLow); - thisFlag <= aznumeric_cast(ProductDependencyFlagBits::LoadBehaviorHigh); ++thisFlag) + id = assetInfo.m_assetId; + if (!assetInfo.m_relativePath.empty()) { - if (dependencyFlags[thisFlag]) - { - loadBehaviorValue |= (1 << thisFlag); - } + assetHint = assetInfo.m_relativePath; } - return static_cast(loadBehaviorValue); - } - - ProductDependencyFlags CreateFlags(AZ::Data::AssetLoadBehavior autoLoadBehavior) - { - AZ::Data::ProductDependencyInfo::ProductDependencyFlags returnFlags; - AZ::u8 loadBehavior = aznumeric_caster(autoLoadBehavior); - for (AZ::u8 thisFlag = aznumeric_cast(ProductDependencyFlagBits::LoadBehaviorLow); - thisFlag <= aznumeric_cast(ProductDependencyFlagBits::LoadBehaviorHigh); ++thisFlag) - { - if (loadBehavior & (1 << thisFlag)) - { - returnFlags[thisFlag] = true; - } - } - return returnFlags; } } - } // namespace Data -} // namespace AZ + + bool ReloadAsset(AssetData* assetData, AssetLoadBehavior assetReferenceLoadBehavior) + { + AssetManager::Instance().ReloadAsset(assetData->GetId(), assetReferenceLoadBehavior); + return true; + } + + bool SaveAsset(AssetData* assetData, AssetLoadBehavior assetReferenceLoadBehavior) + { + AssetManager::Instance().SaveAsset({ assetData, assetReferenceLoadBehavior }); + return true; + } + + Asset GetAssetData(const AssetId& id, AssetLoadBehavior assetReferenceLoadBehavior) + { + if (AssetManager::IsReady()) + { + AZStd::lock_guard assetLock(AssetManager::Instance().m_assetMutex); + auto it = AssetManager::Instance().m_assets.find(id); + if (it != AssetManager::Instance().m_assets.end()) + { + return { it->second, assetReferenceLoadBehavior }; + } + } + return {}; + } + + AssetId ResolveAssetId(const AssetId& id) + { + AZ::Data::AssetInfo assetInfo; + AZ::Data::AssetCatalogRequestBus::BroadcastResult(assetInfo, &AZ::Data::AssetCatalogRequests::GetAssetInfoById, id); + if (assetInfo.m_assetId.IsValid()) + { + return assetInfo.m_assetId; + } + else + { + return id; + } + + } + } + + AssetData::~AssetData() + { + UnregisterWithHandler(); + } + + void AssetData::Reflect(AZ::ReflectContext* context) + { + if (SerializeContext* serializeContext = azrtti_cast(context)) + { + serializeContext->Class() + ->Version(1) + ; + } + + if (BehaviorContext* behaviorContext = azrtti_cast(context)) + { + behaviorContext->Class("AssetData") + ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) + ->Attribute(AZ::Script::Attributes::Category, "Asset") + ->Attribute(AZ::Script::Attributes::Module, "asset") + ->Method("IsReady", &AssetData::IsReady) + ->Attribute(AZ::Script::Attributes::Alias, "is_ready") + ->Method("IsError", &AssetData::IsError) + ->Attribute(AZ::Script::Attributes::Alias, "is_error") + ->Method("IsLoading", &AssetData::IsLoading) + ->Attribute(AZ::Script::Attributes::Alias, "is_loading") + ->Method("GetId", &AssetData::GetId) + ->Attribute(AZ::Script::Attributes::Alias, "get_id") + ->Method("GetUseCount", &AssetData::GetUseCount) + ->Attribute(AZ::Script::Attributes::Alias, "get_use_count") + ; + } + } + + void AssetData::Acquire() + { + AZ_Assert(m_useCount >= 0, "AssetData has been deleted"); + + AcquireWeak(); + ++m_useCount; + } + + void AssetData::Release() + { + AZ_Assert(m_useCount > 0, "Usecount is already 0!"); + + if (m_useCount.fetch_sub(1) == 1) + { + if (AssetManager::IsReady()) + { + AssetManager::Instance().OnAssetUnused(this); + } + else + { + AZ_Assert(false, "Attempting to release asset after AssetManager has been destroyed!"); + } + } + + ReleaseWeak(); + } + + void AssetData::AcquireWeak() + { + AZ_Assert(m_useCount >= 0, "AssetData has been deleted"); + ++m_weakUseCount; + } + + void AssetData::ReleaseWeak() + { + AZ_Assert(m_weakUseCount > 0, "WeakUseCount is already 0"); + + AssetId assetId = m_assetId; + int creationToken = m_creationToken; + AssetType assetType = GetType(); + bool removeFromHash = IsRegisterReadonlyAndShareable(); + // default creation token implies that the asset was not created by the asset manager and therefore it cannot be in the asset map. + removeFromHash = creationToken == s_defaultCreationToken ? false : removeFromHash; + + if (m_weakUseCount.fetch_sub(1) == 1) + { + if (AssetManager::IsReady()) + { + AssetManager::Instance().ReleaseAsset(this, assetId, assetType, removeFromHash, creationToken); + } + else + { + AZ_Assert(false, "Attempting to release asset after AssetManager has been destroyed!"); + } + } + } + + bool AssetData::IsLoading(bool includeQueued) const + { + auto curStatus = GetStatus(); + return(curStatus == AssetStatus::Loading || curStatus == AssetStatus::LoadedPreReady || curStatus==AssetStatus::StreamReady || + (includeQueued && curStatus == AssetStatus::Queued)); + } + + void AssetData::RegisterWithHandler(AssetHandler* handler) + { + if (!handler) + { + AZ_Error("AssetData", false, "No handler to register with"); + return; + } + m_registeredHandler = handler; + } + + void AssetData::UnregisterWithHandler() + { + if (m_registeredHandler) + { + m_registeredHandler = nullptr; + } + } + + bool AssetData::GetFlag(const AssetDataFlags& checkFlag) const + { + return m_flags[aznumeric_cast(checkFlag)]; + } + + void AssetData::SetFlag(const AssetDataFlags& checkFlag, bool setValue) + { + m_flags.set(aznumeric_cast(checkFlag), setValue); + } + + bool AssetData::GetRequeue() const + { + return GetFlag(AssetDataFlags::Requeue); + } + void AssetData::SetRequeue(bool requeue) + { + SetFlag(AssetDataFlags::Requeue, requeue); + } + + void AssetBusCallbacks::SetCallbacks(const AssetReadyCB& readyCB, const AssetMovedCB& movedCB, const AssetReloadedCB& reloadedCB, + const AssetSavedCB& savedCB, const AssetUnloadedCB& unloadedCB, const AssetErrorCB& errorCB, const AssetCanceledCB& cancelCB) + { + m_onAssetReadyCB = readyCB; + m_onAssetMovedCB = movedCB; + m_onAssetReloadedCB = reloadedCB; + m_onAssetSavedCB = savedCB; + m_onAssetUnloadedCB = unloadedCB; + m_onAssetErrorCB = errorCB; + m_onAssetCanceledCB = cancelCB; + } + + void AssetBusCallbacks::ClearCallbacks() + { + SetCallbacks(AssetBusCallbacks::AssetReadyCB(), + AssetBusCallbacks::AssetMovedCB(), + AssetBusCallbacks::AssetReloadedCB(), + AssetBusCallbacks::AssetSavedCB(), + AssetBusCallbacks::AssetUnloadedCB(), + AssetBusCallbacks::AssetErrorCB(), + AssetBusCallbacks::AssetCanceledCB()); + } + + + void AssetBusCallbacks::SetOnAssetReadyCallback(const AssetReadyCB& readyCB) + { + m_onAssetReadyCB = readyCB; + } + + void AssetBusCallbacks::SetOnAssetMovedCallback(const AssetMovedCB& movedCB) + { + m_onAssetMovedCB = movedCB; + } + + void AssetBusCallbacks::SetOnAssetReloadedCallback(const AssetReloadedCB& reloadedCB) + { + m_onAssetReloadedCB = reloadedCB; + } + + void AssetBusCallbacks::SetOnAssetSavedCallback(const AssetSavedCB& savedCB) + { + m_onAssetSavedCB = savedCB; + } + + void AssetBusCallbacks::SetOnAssetUnloadedCallback(const AssetUnloadedCB& unloadedCB) + { + m_onAssetUnloadedCB = unloadedCB; + } + + void AssetBusCallbacks::SetOnAssetErrorCallback(const AssetErrorCB& errorCB) + { + m_onAssetErrorCB = errorCB; + } + + void AssetBusCallbacks::SetOnAssetCanceledCallback(const AssetCanceledCB& cancelCB) + { + m_onAssetCanceledCB = cancelCB; + } + + void AssetBusCallbacks::OnAssetReady(Asset asset) + { + if (m_onAssetReadyCB) + { + m_onAssetReadyCB(asset, *this); + } + } + + void AssetBusCallbacks::OnAssetMoved(Asset asset, void* oldDataPointer) + { + if (m_onAssetMovedCB) + { + m_onAssetMovedCB(asset, oldDataPointer, *this); + } + } + + void AssetBusCallbacks::OnAssetReloaded(Asset asset) + { + if (m_onAssetReloadedCB) + { + m_onAssetReloadedCB(asset, *this); + } + } + + void AssetBusCallbacks::OnAssetSaved(Asset asset, bool isSuccessful) + { + if (m_onAssetSavedCB) + { + m_onAssetSavedCB(asset, isSuccessful, *this); + } + } + + void AssetBusCallbacks::OnAssetUnloaded(const AssetId assetId, const AssetType assetType) + { + if (m_onAssetUnloadedCB) + { + m_onAssetUnloadedCB(assetId, assetType, *this); + } + } + + void AssetBusCallbacks::OnAssetError(Asset asset) + { + if (m_onAssetErrorCB) + { + m_onAssetErrorCB(asset, *this); + } + } + + void AssetBusCallbacks::OnAssetCanceled(const AssetId assetId) + { + if (m_onAssetCanceledCB) + { + m_onAssetCanceledCB(assetId, *this); + } + } + + /*static*/ bool AssetFilterNoAssetLoading([[maybe_unused]] const AssetFilterInfo& filterInfo) + { + return false; + } + namespace ProductDependencyInfo + { + AZ::Data::AssetLoadBehavior LoadBehaviorFromFlags(const ProductDependencyFlags& dependencyFlags) + { + AZ::u8 loadBehaviorValue = 0; + for (AZ::u8 thisFlag = aznumeric_cast(ProductDependencyFlagBits::LoadBehaviorLow); + thisFlag <= aznumeric_cast(ProductDependencyFlagBits::LoadBehaviorHigh); ++thisFlag) + { + if (dependencyFlags[thisFlag]) + { + loadBehaviorValue |= (1 << thisFlag); + } + } + return static_cast(loadBehaviorValue); + } + + ProductDependencyFlags CreateFlags(AZ::Data::AssetLoadBehavior autoLoadBehavior) + { + AZ::Data::ProductDependencyInfo::ProductDependencyFlags returnFlags; + AZ::u8 loadBehavior = aznumeric_caster(autoLoadBehavior); + for (AZ::u8 thisFlag = aznumeric_cast(ProductDependencyFlagBits::LoadBehaviorLow); + thisFlag <= aznumeric_cast(ProductDependencyFlagBits::LoadBehaviorHigh); ++thisFlag) + { + if (loadBehavior & (1 << thisFlag)) + { + returnFlags[thisFlag] = true; + } + } + return returnFlags; + } + } +} // namespace AZ::Data diff --git a/Code/Framework/AzCore/AzCore/Asset/AssetContainer.cpp b/Code/Framework/AzCore/AzCore/Asset/AssetContainer.cpp index ce15c7bc4e..bab161fc0a 100644 --- a/Code/Framework/AzCore/AzCore/Asset/AssetContainer.cpp +++ b/Code/Framework/AzCore/AzCore/Asset/AssetContainer.cpp @@ -11,466 +11,469 @@ #include #include -namespace AZ +namespace AZ::Data { - namespace Data + AssetContainer::AssetContainer(Asset rootAsset, const AssetLoadParameters& loadParams) { - AssetContainer::AssetContainer(Asset rootAsset, const AssetLoadParameters& loadParams) - { - m_rootAsset = AssetInternal::WeakAsset(rootAsset); - m_containerAssetId = m_rootAsset.GetId(); + m_rootAsset = AssetInternal::WeakAsset(rootAsset); + m_containerAssetId = m_rootAsset.GetId(); - AddDependentAssets(rootAsset, loadParams); + AddDependentAssets(rootAsset, loadParams); + } + + AssetContainer::~AssetContainer() + { + // Validate that if the AssetManager is performing normal processing duties, the AssetContainer is only destroyed once all + // dependent asset loads have completed. + if (AssetManager::IsReady() && !AssetManager::Instance().ShouldCancelAllActiveJobs()) + { + AZ_Assert(m_waitingCount == 0, "Container destroyed while dependent assets are still loading. The dependent assets may " + "end up in a perpetual loading state if there is no top-level container signalling the completion of the full load."); } - AssetContainer::~AssetContainer() - { - // Validate that if the AssetManager is performing normal processing duties, the AssetContainer is only destroyed once all - // dependent asset loads have completed. - if (AssetManager::IsReady() && !AssetManager::Instance().ShouldCancelAllActiveJobs()) - { - AZ_Assert(m_waitingCount == 0, "Container destroyed while dependent assets are still loading. The dependent assets may " - "end up in a perpetual loading state if there is no top-level container signalling the completion of the full load."); - } + AssetBus::MultiHandler::BusDisconnect(); + AssetLoadBus::MultiHandler::BusDisconnect(); + } - AssetBus::MultiHandler::BusDisconnect(); - AssetLoadBus::MultiHandler::BusDisconnect(); + AZStd::vector>> AssetContainer::CreateAndQueueDependentAssets( + const AZStd::vector& dependencyInfoList, const AssetLoadParameters& loadParamsCopyWithNoLoadingFilter) + { + AZStd::vector>> dependencyAssets; + + for (auto& thisInfo : dependencyInfoList) + { + auto dependentAsset = AssetManager::Instance().FindOrCreateAsset( + thisInfo.m_assetId, thisInfo.m_assetType, AZ::Data::AssetLoadBehavior::Default); + + if (!dependentAsset || !dependentAsset.GetId().IsValid()) + { + AZ_Warning("AssetContainer", false, "Dependency Asset %s (%s) was not found\n", + thisInfo.m_assetId.ToString().c_str(), thisInfo.m_relativePath.c_str()); + RemoveWaitingAsset(thisInfo.m_assetId); + continue; + } + dependencyAssets.emplace_back(thisInfo, AZStd::move(dependentAsset)); } - void AssetContainer::AddDependentAssets(Asset rootAsset, const AssetLoadParameters& loadParams) + // Queue the loading of all of the dependent assets before loading the root asset. + for (auto& [dependentAssetInfo, dependentAsset] : dependencyAssets) { - AssetId rootAssetId = rootAsset.GetId(); - AssetType rootAssetType = rootAsset.GetType(); + // Queue each asset to load. + auto queuedDependentAsset = AssetManager::Instance().GetAssetInternal( + dependentAsset.GetId(), dependentAsset.GetType(), + AZ::Data::AssetLoadBehavior::Default, loadParamsCopyWithNoLoadingFilter, + dependentAssetInfo, HasPreloads(dependentAsset.GetId())); - // Every asset we're going to be waiting on a load for - the root and all valid dependencies - AZStd::vector waitingList; - waitingList.push_back(rootAssetId); + // Verify that the returned asset reference matches the one that we found or created and queued to load. + AZ_Assert(dependentAsset == queuedDependentAsset, "GetAssetInternal returned an unexpected asset reference for Asset %s", + dependentAsset.GetId().ToString().c_str()); + } - // Every asset dependency that we're aware of, whether or not it gets filtered out by the asset filter callback. - // This will be used at the point that asset references get serialized in to see whether or not we've received any - // unexpected assets that didn't appear in our asset catalog dependency list that need to be loaded anyways. - AZStd::vector handledAssetDependencyList; + return dependencyAssets; + } - // Cached AssetInfo to save another lookup inside Assetmanager - AZStd::vector dependencyInfoList; - Outcome, AZStd::string> getDependenciesResult = Failure(AZStd::string()); + void AssetContainer::AddDependentAssets(Asset rootAsset, const AssetLoadParameters& loadParams) + { + AssetId rootAssetId = rootAsset.GetId(); + AssetType rootAssetType = rootAsset.GetType(); - // Track preloads in an additional list - they're in our waiting/dependencyInfo lists as well, but preloads require us to - // suppress emitting "AssetReady" until everything we care about in this context is ready - PreloadAssetListType preloadDependencies; - if (loadParams.m_dependencyRules == AssetDependencyLoadRules::UseLoadBehavior) - { - AZStd::unordered_set noloadDependencies; - AssetCatalogRequestBus::BroadcastResult(getDependenciesResult, &AssetCatalogRequestBus::Events::GetLoadBehaviorProductDependencies, - rootAssetId, noloadDependencies, preloadDependencies); - if (!noloadDependencies.empty()) - { - AZStd::lock_guard dependencyLock(m_dependencyMutex); - m_unloadedDependencies.insert(noloadDependencies.begin(), noloadDependencies.end()); - } - } - else if (loadParams.m_dependencyRules == AssetDependencyLoadRules::LoadAll) - { - AssetCatalogRequestBus::BroadcastResult(getDependenciesResult, &AssetCatalogRequestBus::Events::GetAllProductDependencies, rootAssetId); - } - // Do as much validation of dependencies as we can before the AddWaitingAssets and GetAsset calls for dependencies below - if (getDependenciesResult.IsSuccess()) - { - for (const auto& thisAsset : getDependenciesResult.GetValue()) - { - AssetInfo assetInfo; - AssetCatalogRequestBus::BroadcastResult(assetInfo, &AssetCatalogRequestBus::Events::GetAssetInfoById, thisAsset.m_assetId); + // Every asset we're going to be waiting on a load for - the root and all valid dependencies + AZStd::vector waitingList; + waitingList.push_back(rootAssetId); - // No matter whether or not the asset dependency is valid, loaded, or filtered out, mark it as successfully handled. - // When we encounter the asset reference during serialization, we will know that it should intentionally be skipped. - // Otherwise, it would be treated as a missing dependency and assert. - handledAssetDependencyList.emplace_back(thisAsset.m_assetId); + // Every asset dependency that we're aware of, whether or not it gets filtered out by the asset filter callback. + // This will be used at the point that asset references get serialized in to see whether or not we've received any + // unexpected assets that didn't appear in our asset catalog dependency list that need to be loaded anyways. + AZStd::vector handledAssetDependencyList; - if (!assetInfo.m_assetId.IsValid()) - { - // Handlers may just not currently be around for a given asset type so we only warn here - AZ_Warning("AssetContainer", false, "Asset %s (%s) references/depends on asset %s which does not exist in the catalog and cannot be loaded.", - rootAsset.GetHint().c_str(), - rootAssetId.ToString().c_str(), - thisAsset.m_assetId.ToString().c_str()); - m_invalidDependencies++; - continue; - } - if (assetInfo.m_assetId == rootAssetId) - { - // Circular dependencies in our graph need to be raised as errors as they could cause problems elsewhere - AZ_Error("AssetContainer", false, "Circular dependency found under asset %s", rootAssetId.ToString().c_str()); - m_invalidDependencies++; - continue; - } - if (!AssetManager::Instance().GetHandler(assetInfo.m_assetType)) - { - // Handlers may just not currently be around for a given asset type so we only warn here - m_invalidDependencies++; - continue; - } - if (loadParams.m_assetLoadFilterCB) - { - if (!loadParams.m_assetLoadFilterCB({thisAsset.m_assetId, assetInfo.m_assetType, - AZ::Data::ProductDependencyInfo::LoadBehaviorFromFlags(thisAsset.m_flags) })) - { - continue; - } - } - dependencyInfoList.push_back(assetInfo); - } - } - for (auto& thisInfo : dependencyInfoList) - { - waitingList.push_back(thisInfo.m_assetId); - } + // Cached AssetInfo to save another lookup inside Assetmanager + AZStd::vector dependencyInfoList; + Outcome, AZStd::string> getDependenciesResult = Failure(AZStd::string()); - // Add waiting assets ahead of time to hear signals for any which may already be loading - AddWaitingAssets(waitingList); - SetupPreloadLists(move(preloadDependencies), rootAssetId); - - auto loadParamsCopyWithNoLoadingFilter = loadParams; - - // All asset dependencies below the root asset should be provided by the asset catalog, and therefore should *not* - // get triggered to load when the asset reference is serialized in. However, it's useful to detect, warn, and handle - // the case where the asset dependencies are NOT set up correctly. - loadParamsCopyWithNoLoadingFilter.m_assetLoadFilterCB = [handledAssetDependencyList](const AssetFilterInfo& filterInfo) - { - // NoLoad dependencies should always get filtered out and not loaded. - if (filterInfo.m_loadBehavior == AZ::Data::AssetLoadBehavior::NoLoad) - { - return false; - } - - // In the normal case, the dependent asset appears in the handled asset list, and we should return false so that - // the asset isn't attempted to be loaded, since the asset will already be triggered to get loaded or was possibly - // already filtered out by the load filter callback. - // In the error case, the asset dependencies haven't been produced by the builder correctly, so assets - // have shown up that the asset container hasn't triggered to load and isn't listening for. Assert that this case - // has happened so that the builder for this asset type can be fixed. - // Ideally we would proceed forward and load them by returning "true", but the triggered load would use this lambda - // function as the asset load filter for that load as well, which isn't correct. If we ever want to support that - // behavior, we would need to rework the way filters work as well as the code in AssetSerializer.cpp to pass down - // the loadParams.m_assetLoadFilterCB that was passed into the AddDependentAssets() methods to use as the dependent - // asset filter instead of this lambda function. - AZ_UNUSED(handledAssetDependencyList); // Prevent unused warning in release builds - AZ_Assert(AZStd::find(handledAssetDependencyList.begin(), handledAssetDependencyList.end(), filterInfo.m_assetId) != - handledAssetDependencyList.end(), - "Dependent Asset ID (%s) is expected to load, but the Asset Catalog has no dependency recorded. " - "Examine the asset builder for the asset relying on this to ensure it is generating the correct dependencies.", - filterInfo.m_assetId.ToString().c_str()); - - // The dependent asset should have already been created and at least queued to load prior to reaching this point. - // The asset serializer needs to get a successful result from FindAsset(), or else our asset reference will fail - // to point to the asset data once it is loaded. - if (!Data::AssetManager::Instance().FindAsset(filterInfo.m_assetId, AZ::Data::AssetLoadBehavior::Default)) - { - AZ_Assert(!Data::AssetManager::Instance().FindAsset(filterInfo.m_assetId, AZ::Data::AssetLoadBehavior::Default), - "Dependent Asset ID (%s) can't be found in the AssetManager, which means the asset referencing it has probably " - "started loading before the dependent asset has been queued to load. Verify that the asset dependencies have " - "been created correctly for the parent asset.", - filterInfo.m_assetId.ToString().c_str()); - } - - return false; - }; - - // This will contain the list of dependent assets that have been created (or found) and queued to load. - // We also keep a copy of the AssetInfo structure as a small optimization to avoid a redundant lookup in GetAssetInternal. - AZStd::vector>> dependencyAssets; - - // Make sure all the dependencies are created first before we try to load them. - // Since we've set the load filter to not load dependencies, we need to ensure all the assets are created beforehand - // so the dependencies can be hooked up as soon as each asset gets serialized in, even if they start getting serialized - // while we're still in the middle of triggering all of the asset loads below. - for (auto& thisInfo : dependencyInfoList) - { - auto dependentAsset = AssetManager::Instance().FindOrCreateAsset( - thisInfo.m_assetId, thisInfo.m_assetType, AZ::Data::AssetLoadBehavior::Default); - - if (!dependentAsset || !dependentAsset.GetId().IsValid()) - { - AZ_Warning("AssetContainer", false, "Dependency Asset %s (%s) was not found\n", - thisInfo.m_assetId.ToString().c_str(), thisInfo.m_relativePath.c_str()); - RemoveWaitingAsset(thisInfo.m_assetId); - continue; - } - dependencyAssets.emplace_back(thisInfo, AZStd::move(dependentAsset)); - } - - // Queue the loading of all of the dependent assets before loading the root asset. - for (auto& [dependentAssetInfo, dependentAsset] : dependencyAssets) - { - // Queue each asset to load. - auto queuedDependentAsset = AssetManager::Instance().GetAssetInternal( - dependentAsset.GetId(), dependentAsset.GetType(), - AZ::Data::AssetLoadBehavior::Default, loadParamsCopyWithNoLoadingFilter, - dependentAssetInfo, HasPreloads(dependentAsset.GetId())); - - // Verify that the returned asset reference matches the one that we found or created and queued to load. - AZ_Assert(dependentAsset == queuedDependentAsset, "GetAssetInternal returned an unexpected asset reference for Asset %s", - dependentAsset.GetId().ToString().c_str()); - } - - // Add all of the queued dependent assets as dependencies + // Track preloads in an additional list - they're in our waiting/dependencyInfo lists as well, but preloads require us to + // suppress emitting "AssetReady" until everything we care about in this context is ready + PreloadAssetListType preloadDependencies; + if (loadParams.m_dependencyRules == AssetDependencyLoadRules::UseLoadBehavior) + { + AZStd::unordered_set noloadDependencies; + AssetCatalogRequestBus::BroadcastResult(getDependenciesResult, &AssetCatalogRequestBus::Events::GetLoadBehaviorProductDependencies, + rootAssetId, noloadDependencies, preloadDependencies); + if (!noloadDependencies.empty()) { AZStd::lock_guard dependencyLock(m_dependencyMutex); - for (auto& [dependentAssetInfo, dependentAsset] : dependencyAssets) + m_unloadedDependencies.insert(noloadDependencies.begin(), noloadDependencies.end()); + } + } + else if (loadParams.m_dependencyRules == AssetDependencyLoadRules::LoadAll) + { + AssetCatalogRequestBus::BroadcastResult(getDependenciesResult, &AssetCatalogRequestBus::Events::GetAllProductDependencies, rootAssetId); + } + // Do as much validation of dependencies as we can before the AddWaitingAssets and GetAsset calls for dependencies below + if (getDependenciesResult.IsSuccess()) + { + for (const auto& thisAsset : getDependenciesResult.GetValue()) + { + AssetInfo assetInfo; + AssetCatalogRequestBus::BroadcastResult(assetInfo, &AssetCatalogRequestBus::Events::GetAssetInfoById, thisAsset.m_assetId); + + // No matter whether or not the asset dependency is valid, loaded, or filtered out, mark it as successfully handled. + // When we encounter the asset reference during serialization, we will know that it should intentionally be skipped. + // Otherwise, it would be treated as a missing dependency and assert. + handledAssetDependencyList.emplace_back(thisAsset.m_assetId); + + if (!assetInfo.m_assetId.IsValid()) { - AddDependency(AZStd::move(dependentAsset)); + // Handlers may just not currently be around for a given asset type so we only warn here + AZ_Warning("AssetContainer", false, "Asset %s (%s) references/depends on asset %s which does not exist in the catalog and cannot be loaded.", + rootAsset.GetHint().c_str(), + rootAssetId.ToString().c_str(), + thisAsset.m_assetId.ToString().c_str()); + m_invalidDependencies++; + continue; } + if (assetInfo.m_assetId == rootAssetId) + { + // Circular dependencies in our graph need to be raised as errors as they could cause problems elsewhere + AZ_Error("AssetContainer", false, "Circular dependency found under asset %s", rootAssetId.ToString().c_str()); + m_invalidDependencies++; + continue; + } + if (!AssetManager::Instance().GetHandler(assetInfo.m_assetType)) + { + // Handlers may just not currently be around for a given asset type so we only warn here + m_invalidDependencies++; + continue; + } + if (loadParams.m_assetLoadFilterCB) + { + if (!loadParams.m_assetLoadFilterCB({thisAsset.m_assetId, assetInfo.m_assetType, + AZ::Data::ProductDependencyInfo::LoadBehaviorFromFlags(thisAsset.m_flags) })) + { + continue; + } + } + dependencyInfoList.push_back(assetInfo); + } + } + for (auto& thisInfo : dependencyInfoList) + { + waitingList.push_back(thisInfo.m_assetId); + } + + // Add waiting assets ahead of time to hear signals for any which may already be loading + AddWaitingAssets(waitingList); + SetupPreloadLists(move(preloadDependencies), rootAssetId); + + auto loadParamsCopyWithNoLoadingFilter = loadParams; + + // All asset dependencies below the root asset should be provided by the asset catalog, and therefore should *not* + // get triggered to load when the asset reference is serialized in. However, it's useful to detect, warn, and handle + // the case where the asset dependencies are NOT set up correctly. + loadParamsCopyWithNoLoadingFilter.m_assetLoadFilterCB = [handledAssetDependencyList](const AssetFilterInfo& filterInfo) + { + // NoLoad dependencies should always get filtered out and not loaded. + if (filterInfo.m_loadBehavior == AZ::Data::AssetLoadBehavior::NoLoad) + { + return false; } - // Finally, after creating and queueing the dependent assets, queue the root asset. This is saved until last to ensure that - // it doesn't have any chance of serializing in until after all the dependent assets have been queued for loading and have - // been added to the list of dependencies. - auto thisAsset = AssetManager::Instance().GetAssetInternal(rootAssetId, rootAssetType, rootAsset.GetAutoLoadBehavior(), - loadParamsCopyWithNoLoadingFilter, AssetInfo(), HasPreloads(rootAssetId)); + // In the normal case, the dependent asset appears in the handled asset list, and we should return false so that + // the asset isn't attempted to be loaded, since the asset will already be triggered to get loaded or was possibly + // already filtered out by the load filter callback. + // In the error case, the asset dependencies haven't been produced by the builder correctly, so assets + // have shown up that the asset container hasn't triggered to load and isn't listening for. Assert that this case + // has happened so that the builder for this asset type can be fixed. + // Ideally we would proceed forward and load them by returning "true", but the triggered load would use this lambda + // function as the asset load filter for that load as well, which isn't correct. If we ever want to support that + // behavior, we would need to rework the way filters work as well as the code in AssetSerializer.cpp to pass down + // the loadParams.m_assetLoadFilterCB that was passed into the AddDependentAssets() methods to use as the dependent + // asset filter instead of this lambda function. + AZ_UNUSED(handledAssetDependencyList); // Prevent unused warning in release builds + AZ_Assert(AZStd::find(handledAssetDependencyList.begin(), handledAssetDependencyList.end(), filterInfo.m_assetId) != + handledAssetDependencyList.end(), + "Dependent Asset ID (%s) is expected to load, but the Asset Catalog has no dependency recorded. " + "Examine the asset builder for the asset relying on this to ensure it is generating the correct dependencies.", + filterInfo.m_assetId.ToString().c_str()); - if (!thisAsset) + // The dependent asset should have already been created and at least queued to load prior to reaching this point. + // The asset serializer needs to get a successful result from FindAsset(), or else our asset reference will fail + // to point to the asset data once it is loaded. + if (!Data::AssetManager::Instance().FindAsset(filterInfo.m_assetId, AZ::Data::AssetLoadBehavior::Default)) { - AZ_Assert(false, "Root asset with id %s failed to load, asset container is invalid.", - rootAssetId.ToString().c_str()); - ClearWaitingAssets(); - // initComplete remains false, because we have failed to initialize successfully. + AZ_Assert(!Data::AssetManager::Instance().FindAsset(filterInfo.m_assetId, AZ::Data::AssetLoadBehavior::Default), + "Dependent Asset ID (%s) can't be found in the AssetManager, which means the asset referencing it has probably " + "started loading before the dependent asset has been queued to load. Verify that the asset dependencies have " + "been created correctly for the parent asset.", + filterInfo.m_assetId.ToString().c_str()); + } + + return false; + }; + + // This will contain the list of dependent assets that have been created (or found) and queued to load. + // We also keep a copy of the AssetInfo structure as a small optimization to avoid a redundant lookup in GetAssetInternal. + AZStd::vector>> dependencyAssets; + + // Make sure all the dependencies are created first before we try to load them. + // Since we've set the load filter to not load dependencies, we need to ensure all the assets are created beforehand + // so the dependencies can be hooked up as soon as each asset gets serialized in, even if they start getting serialized + // while we're still in the middle of triggering all of the asset loads below. + dependencyAssets = CreateAndQueueDependentAssets(dependencyInfoList, loadParamsCopyWithNoLoadingFilter); + + // Add all of the queued dependent assets as dependencies + { + AZStd::lock_guard dependencyLock(m_dependencyMutex); + for (auto& [dependentAssetInfo, dependentAsset] : dependencyAssets) + { + AddDependency(AZStd::move(dependentAsset)); + } + } + + // Finally, after creating and queueing the dependent assets, queue the root asset. This is saved until last to ensure that + // it doesn't have any chance of serializing in until after all the dependent assets have been queued for loading and have + // been added to the list of dependencies. + auto thisAsset = AssetManager::Instance().GetAssetInternal(rootAssetId, rootAssetType, rootAsset.GetAutoLoadBehavior(), + loadParamsCopyWithNoLoadingFilter, AssetInfo(), HasPreloads(rootAssetId)); + + if (!thisAsset) + { + AZ_Assert(false, "Root asset with id %s failed to load, asset container is invalid.", + rootAssetId.ToString().c_str()); + ClearWaitingAssets(); + // initComplete remains false, because we have failed to initialize successfully. + return; + } + + m_initComplete = true; + + // *After* setting initComplete to true, check to see if the assets are already ready. + // This check needs to wait until after setting initComplete because if they *are* ready, we want the final call to + // RemoveWaitingAsset to trigger the OnAssetContainerReady/Canceled event. If we call CheckReady() *before* setting + // initComplete, if all the assets are ready, the event will never get triggered. + CheckReady(); + } + + bool AssetContainer::IsReady() const + { + return (m_rootAsset && m_waitingCount == 0); + } + + bool AssetContainer::IsLoading() const + { + return (m_rootAsset || m_waitingCount); + } + + bool AssetContainer::IsValid() const + { + return (m_containerAssetId.IsValid() && m_initComplete && m_rootAsset); + } + + void AssetContainer::CheckReady() + { + if (!m_dependencies.empty()) + { + for (auto& [assetId, dependentAsset] : m_dependencies) + { + if (dependentAsset->IsReady() || dependentAsset->IsError()) + { + HandleReadyAsset(dependentAsset); + } + } + } + if (auto asset = m_rootAsset.GetStrongReference(); asset.IsReady() || asset.IsError()) + { + HandleReadyAsset(asset); + } + } + + Asset AssetContainer::GetRootAsset() + { + return m_rootAsset.GetStrongReference(); + } + + AssetId AssetContainer::GetContainerAssetId() + { + return m_containerAssetId; + } + + void AssetContainer::ClearRootAsset() + { + AssetId rootId = m_rootAsset.GetId(); + + { + AZStd::lock_guard preloadGuard(m_preloadMutex); + + // Erase the entry in the preloadWaitList for the root asset if one exists. + m_preloadWaitList.erase(rootId); + + // It's possible that the root asset has preload dependencies, so make sure to check the preload list and remove + // the entry for the root asset if it has one. + auto rootAssetPreloadIter = m_preloadList.find(rootId); + if (rootAssetPreloadIter != m_preloadList.end()) + { + // Since the root asset has a preload list, that means the preload wait list will also have references to the + // root asset. (The preload wait list is a list of assets waiting on a preload asset to finish) Clear those + // out as well. + auto waitAssetSet = rootAssetPreloadIter->second; + for (auto& waitId : waitAssetSet) + { + auto waitAssetIter = m_preloadWaitList.find(waitId); + if (waitAssetIter != m_preloadWaitList.end()) + { + waitAssetIter->second.erase(rootId); + } + } + + m_preloadList.erase(rootAssetPreloadIter); + } + } + + // Clear out the root asset before removing it from the waiting list to ensure that we trigger an "OnAssetContainerCanceled" + // event instead of "OnAssetContainerReady". + m_rootAsset = {}; + RemoveWaitingAsset(rootId); + + } + + void AssetContainer::AddDependency(const Asset& newDependency) + { + m_dependencies[newDependency->GetId()] = newDependency; + } + void AssetContainer::AddDependency(Asset&& newDependency) + { + m_dependencies[newDependency->GetId()] = AZStd::move(newDependency); + } + + void AssetContainer::OnAssetReady(Asset asset) + { + HandleReadyAsset(asset); + } + + void AssetContainer::OnAssetError(Asset asset) + { + AZ_Warning("AssetContainer", false, "Error loading asset %s", asset->GetId().ToString().c_str()); + HandleReadyAsset(asset); + } + + void AssetContainer::HandleReadyAsset(Asset asset) + { + // Wait until we've finished initialization before allowing this + // If a ready event happens before we've gotten all the maps/structures set up, there may be some missing data + // which can lead to a crash + // We'll go through and check the ready status of every dependency immediately after finishing initialization anyway + if (m_initComplete) + { + RemoveFromAllWaitingPreloads(asset->GetId()); + RemoveWaitingAsset(asset->GetId()); + } + } + + void AssetContainer::OnAssetDataLoaded(Asset asset) + { + // Remove only from this asset's waiting list. Anything else should + // listen for OnAssetReady as the true signal. This is essentially removing the + // "marker" we placed in SetupPreloads that we need to wait for our own data + RemoveFromWaitingPreloads(asset->GetId(), asset->GetId()); + } + + void AssetContainer::RemoveFromWaitingPreloads(const AssetId& waiterId, const AssetId& preloadID) + { + { + AZStd::lock_guard preloadGuard(m_preloadMutex); + + auto remainingPreloadIter = m_preloadList.find(waiterId); + if (remainingPreloadIter == m_preloadList.end()) + { + // If we got here without an entry on the preload list, it probably means this asset was triggered to load multiple + // times, some with dependencies and some without. To ensure that we don't disturb the loads that expect the + // dependencies, just silently return and don't treat the asset as finished loading. We'll rely on the other load + // to send an OnAssetReady() whenever its expected dependencies are met. return; } - - m_initComplete = true; - - // *After* setting initComplete to true, check to see if the assets are already ready. - // This check needs to wait until after setting initComplete because if they *are* ready, we want the final call to - // RemoveWaitingAsset to trigger the OnAssetContainerReady/Canceled event. If we call CheckReady() *before* setting - // initComplete, if all the assets are ready, the event will never get triggered. - CheckReady(); - } - - bool AssetContainer::IsReady() const - { - return (m_rootAsset && m_waitingCount == 0); - } - - bool AssetContainer::IsLoading() const - { - return (m_rootAsset || m_waitingCount); - } - - bool AssetContainer::IsValid() const - { - return (m_containerAssetId.IsValid() && m_initComplete && m_rootAsset); - } - - void AssetContainer::CheckReady() - { - if (!m_dependencies.empty()) + if (!remainingPreloadIter->second.erase(preloadID)) { - for (auto& [assetId, dependentAsset] : m_dependencies) - { - if (dependentAsset->IsReady() || dependentAsset->IsError()) - { - HandleReadyAsset(dependentAsset); - } - } + AZ_Warning("AssetContainer", !m_initComplete, "Couldn't remove %s from waiting list of %s", preloadID.ToString().c_str(), waiterId.ToString().c_str()); + return; } - if (auto asset = m_rootAsset.GetStrongReference(); asset.IsReady() || asset.IsError()) + if (!remainingPreloadIter->second.empty()) { - HandleReadyAsset(asset); + return; } } + auto thisAsset = GetAssetData(waiterId); + AssetManager::Instance().ValidateAndPostLoad(thisAsset, true, false, nullptr); + } - Asset AssetContainer::GetRootAsset() + void AssetContainer::RemoveFromAllWaitingPreloads(const AssetId& thisId) + { + AZStd::unordered_set checkList; { - return m_rootAsset.GetStrongReference(); - } - - AssetId AssetContainer::GetContainerAssetId() - { - return m_containerAssetId; - } - - void AssetContainer::ClearRootAsset() - { - AssetId rootId = m_rootAsset.GetId(); - - { - AZStd::lock_guard preloadGuard(m_preloadMutex); - - // Erase the entry in the preloadWaitList for the root asset if one exists. - m_preloadWaitList.erase(rootId); - - // It's possible that the root asset has preload dependencies, so make sure to check the preload list and remove - // the entry for the root asset if it has one. - auto rootAssetPreloadIter = m_preloadList.find(rootId); - if (rootAssetPreloadIter != m_preloadList.end()) - { - // Since the root asset has a preload list, that means the preload wait list will also have references to the - // root asset. (The preload wait list is a list of assets waiting on a preload asset to finish) Clear those - // out as well. - auto waitAssetSet = rootAssetPreloadIter->second; - for (auto& waitId : waitAssetSet) - { - auto waitAssetIter = m_preloadWaitList.find(waitId); - if (waitAssetIter != m_preloadWaitList.end()) - { - waitAssetIter->second.erase(rootId); - } - } - - m_preloadList.erase(rootAssetPreloadIter); - } - } - - // Clear out the root asset before removing it from the waiting list to ensure that we trigger an "OnAssetContainerCanceled" - // event instead of "OnAssetContainerReady". - m_rootAsset = {}; - RemoveWaitingAsset(rootId); - - } - - void AssetContainer::AddDependency(const Asset& newDependency) - { - m_dependencies[newDependency->GetId()] = newDependency; - } - void AssetContainer::AddDependency(Asset&& newDependency) - { - m_dependencies[newDependency->GetId()] = AZStd::move(newDependency); - } - - void AssetContainer::OnAssetReady(Asset asset) - { - HandleReadyAsset(asset); - } - - void AssetContainer::OnAssetError(Asset asset) - { - AZ_Warning("AssetContainer", false, "Error loading asset %s", asset->GetId().ToString().c_str()); - HandleReadyAsset(asset); - } - - void AssetContainer::HandleReadyAsset(Asset asset) - { - RemoveFromAllWaitingPreloads(asset->GetId()); - RemoveWaitingAsset(asset->GetId()); - } - - void AssetContainer::OnAssetDataLoaded(Asset asset) - { - // Remove only from this asset's waiting list. Anything else should - // listen for OnAssetReady as the true signal. This is essentially removing the - // "marker" we placed in SetupPreloads that we need to wait for our own data - RemoveFromWaitingPreloads(asset->GetId(), asset->GetId()); - } - - void AssetContainer::RemoveFromWaitingPreloads(const AssetId& waiterId, const AssetId& preloadID) - { - { - AZStd::lock_guard preloadGuard(m_preloadMutex); - - auto remainingPreloadIter = m_preloadList.find(waiterId); - if (remainingPreloadIter == m_preloadList.end()) - { - // If we got here without an entry on the preload list, it probably means this asset was triggered to load multiple - // times, some with dependencies and some without. To ensure that we don't disturb the loads that expect the - // dependencies, just silently return and don't treat the asset as finished loading. We'll rely on the other load - // to send an OnAssetReady() whenever its expected dependencies are met. - return; - } - if (!remainingPreloadIter->second.erase(preloadID)) - { - AZ_Warning("AssetContainer", !m_initComplete, "Couldn't remove %s from waiting list of %s", preloadID.ToString().c_str(), waiterId.ToString().c_str()); - return; - } - if (!remainingPreloadIter->second.empty()) - { - return; - } - } - auto thisAsset = GetAssetData(waiterId); - AssetManager::Instance().ValidateAndPostLoad(thisAsset, true, false, nullptr); - } - - void AssetContainer::RemoveFromAllWaitingPreloads(const AssetId& thisId) - { - AZStd::unordered_set checkList; - { - AZStd::lock_guard preloadGuard(m_preloadMutex); - - auto waitingList = m_preloadWaitList.find(thisId); - if (waitingList != m_preloadWaitList.end()) - { - checkList = move(waitingList->second); - m_preloadWaitList.erase(waitingList); - } - } - for (auto& thisDepId : checkList) - { - if (thisDepId != thisId) - { - RemoveFromWaitingPreloads(thisDepId, thisId); - } - } - } - - void AssetContainer::ClearWaitingAssets() - { - AZStd::lock_guard lock(m_readyMutex); - m_waitingCount = 0; - for (auto& thisAsset : m_waitingAssets) - { - AssetBus::MultiHandler::BusDisconnect(thisAsset); - } - m_waitingAssets.clear(); - } - - void AssetContainer::ListWaitingAssets() const - { -#if defined(AZ_ENABLE_TRACING) - AZStd::lock_guard lock(m_readyMutex); - AZ_TracePrintf("AssetContainer", "Waiting on assets:\n"); - for (auto& thisAsset : m_waitingAssets) - { - AZ_TracePrintf("AssetContainer", " %s\n",thisAsset.ToString().c_str()); - } -#endif - } - - void AssetContainer::ListWaitingPreloads([[maybe_unused]] const AssetId& assetId) const - { -#if defined(AZ_ENABLE_TRACING) AZStd::lock_guard preloadGuard(m_preloadMutex); - auto preloadEntry = m_preloadList.find(assetId); - if (preloadEntry != m_preloadList.end()) + + auto waitingList = m_preloadWaitList.find(thisId); + if (waitingList != m_preloadWaitList.end()) { - AZ_TracePrintf("AssetContainer", "%s waiting on preloads : \n",assetId.ToString().c_str()); - for (auto& thisId : preloadEntry->second) - { - AZ_TracePrintf("AssetContainer", " %s\n",thisId.ToString().c_str()); - } + checkList = move(waitingList->second); + m_preloadWaitList.erase(waitingList); } - else + } + for (auto& thisDepId : checkList) + { + if (thisDepId != thisId) { - AZ_TracePrintf("AssetContainer", "%s isn't waiting on any preloads:\n", assetId.ToString().c_str()); + RemoveFromWaitingPreloads(thisDepId, thisId); } + } + } + + void AssetContainer::ClearWaitingAssets() + { + AZStd::lock_guard lock(m_readyMutex); + m_waitingCount = 0; + for (auto& thisAsset : m_waitingAssets) + { + AssetBus::MultiHandler::BusDisconnect(thisAsset); + } + m_waitingAssets.clear(); + } + + void AssetContainer::ListWaitingAssets() const + { +#if defined(AZ_ENABLE_TRACING) + AZStd::lock_guard lock(m_readyMutex); + AZ_TracePrintf("AssetContainer", "Waiting on assets:\n"); + for (auto& thisAsset : m_waitingAssets) + { + AZ_TracePrintf("AssetContainer", " %s\n",thisAsset.ToString().c_str()); + } #endif - } + } - void AssetContainer::AddWaitingAssets(const AZStd::vector& assetList) + void AssetContainer::ListWaitingPreloads([[maybe_unused]] const AssetId& assetId) const + { +#if defined(AZ_ENABLE_TRACING) + AZStd::lock_guard preloadGuard(m_preloadMutex); + auto preloadEntry = m_preloadList.find(assetId); + if (preloadEntry != m_preloadList.end()) { - AZStd::lock_guard lock(m_readyMutex); - for (auto& thisAsset : assetList) + AZ_TracePrintf("AssetContainer", "%s waiting on preloads : \n",assetId.ToString().c_str()); + for (auto& thisId : preloadEntry->second) { - if (m_waitingAssets.insert(thisAsset).second) - { - ++m_waitingCount; - AssetBus::MultiHandler::BusConnect(thisAsset); - AssetLoadBus::MultiHandler::BusConnect(thisAsset); - } + AZ_TracePrintf("AssetContainer", " %s\n",thisId.ToString().c_str()); } } - - void AssetContainer::AddWaitingAsset(const AssetId& thisAsset) + else + { + AZ_TracePrintf("AssetContainer", "%s isn't waiting on any preloads:\n", assetId.ToString().c_str()); + } +#endif + } + + void AssetContainer::AddWaitingAssets(const AZStd::vector& assetList) + { + AZStd::lock_guard lock(m_readyMutex); + for (auto& thisAsset : assetList) { - AZStd::lock_guard lock(m_readyMutex); if (m_waitingAssets.insert(thisAsset).second) { ++m_waitingCount; @@ -478,196 +481,207 @@ namespace AZ AssetLoadBus::MultiHandler::BusConnect(thisAsset); } } + } - void AssetContainer::RemoveWaitingAsset(const AssetId& thisAsset) + void AssetContainer::AddWaitingAsset(const AssetId& thisAsset) + { + AZStd::lock_guard lock(m_readyMutex); + if (m_waitingAssets.insert(thisAsset).second) { - bool allReady{ false }; - { - bool disconnectEbus = false; + ++m_waitingCount; + AssetBus::MultiHandler::BusConnect(thisAsset); + AssetLoadBus::MultiHandler::BusConnect(thisAsset); + } + } - { // Intentionally limiting lock scope - AZStd::lock_guard lock(m_readyMutex); - // If we're trying to remove something already removed, just ignore it - if (m_waitingAssets.erase(thisAsset)) - { - m_waitingCount -= 1; - disconnectEbus = true; + void AssetContainer::RemoveWaitingAsset(const AssetId& thisAsset) + { + bool allReady{ false }; + { + bool disconnectEbus = false; - } - if (m_waitingAssets.empty()) - { - allReady = true; - } - } - - if(disconnectEbus) + { // Intentionally limiting lock scope + AZStd::lock_guard lock(m_readyMutex); + // If we're trying to remove something already removed, just ignore it + if (m_waitingAssets.erase(thisAsset)) { - AssetBus::MultiHandler::BusDisconnect(thisAsset); - AssetLoadBus::MultiHandler::BusDisconnect(thisAsset); + m_waitingCount -= 1; + disconnectEbus = true; + + } + if (m_waitingAssets.empty()) + { + allReady = true; } } - // If there are no assets left to be loaded, trigger the final AssetContainer notification (ready or canceled). - // We guard against prematurely sending it (m_initComplete) because it's possible for assets to get removed from our waiting - // list *while* we're still building up the list, so the list would appear to be empty too soon. - // We also guard against sending it multiple times (m_finalNotificationSent), because in some error conditions, it may be - // possible to try to remove the same asset multiple times, which if it's the last asset, it could trigger multiple - // notifications. - if (allReady && m_initComplete && !m_finalNotificationSent) + if(disconnectEbus) { - m_finalNotificationSent = true; - if (m_rootAsset) - { - AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetContainerReady, this); - } - else - { - AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetContainerCanceled, this); - } + AssetBus::MultiHandler::BusDisconnect(thisAsset); + AssetLoadBus::MultiHandler::BusDisconnect(thisAsset); } } - AssetContainer::operator bool() const + // If there are no assets left to be loaded, trigger the final AssetContainer notification (ready or canceled). + // We guard against prematurely sending it (m_initComplete) because it's possible for assets to get removed from our waiting + // list *while* we're still building up the list, so the list would appear to be empty too soon. + // We also guard against sending it multiple times (m_finalNotificationSent), because in some error conditions, it may be + // possible to try to remove the same asset multiple times, which if it's the last asset, it could trigger multiple + // notifications. + if (allReady && m_initComplete && !m_finalNotificationSent) { - return m_rootAsset ? true : false; - } - - const AssetContainer::DependencyList& AssetContainer::GetDependencies() const - { - return m_dependencies; - } - - const AZStd::unordered_set& AssetContainer::GetUnloadedDependencies() const - { - return m_unloadedDependencies; - } - - void AssetContainer::SetupPreloadLists(PreloadAssetListType&& preloadList, const AssetId& rootAssetId) - { - if (!preloadList.empty()) + m_finalNotificationSent = true; + if (m_rootAsset) { - // This method can be entered as additional NoLoad dependency groups are loaded - the container could - // be in the middle of loading so we need to grab both mutexes. - AZStd::scoped_lock lock(m_readyMutex, m_preloadMutex); + AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetContainerReady, this); + } + else + { + AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetContainerCanceled, this); + } + } + } - for (auto thisListPair = preloadList.begin(); thisListPair != preloadList.end();) + AssetContainer::operator bool() const + { + return m_rootAsset ? true : false; + } + + const AssetContainer::DependencyList& AssetContainer::GetDependencies() const + { + return m_dependencies; + } + + const AZStd::unordered_set& AssetContainer::GetUnloadedDependencies() const + { + return m_unloadedDependencies; + } + + void AssetContainer::SetupPreloadLists(PreloadAssetListType&& preloadList, const AssetId& rootAssetId) + { + if (!preloadList.empty()) + { + // This method can be entered as additional NoLoad dependency groups are loaded - the container could + // be in the middle of loading so we need to grab both mutexes. + AZStd::scoped_lock lock(m_readyMutex, m_preloadMutex); + + for (auto thisListPair = preloadList.begin(); thisListPair != preloadList.end();) + { + // We only should add ourselves if we have another valid preload we're waiting on + bool foundAsset{ false }; + // It's possible this set of preload dependencies was culled out by lack of asset handler + // Or filtering rules. This is not an error, we should just remove it from the list of + // Preloads we're waiting on + if (!m_waitingAssets.count(thisListPair->first)) { - // We only should add ourselves if we have another valid preload we're waiting on - bool foundAsset{ false }; - // It's possible this set of preload dependencies was culled out by lack of asset handler - // Or filtering rules. This is not an error, we should just remove it from the list of - // Preloads we're waiting on - if (!m_waitingAssets.count(thisListPair->first)) + thisListPair = preloadList.erase(thisListPair); + continue; + } + for (auto thisAsset = thisListPair->second.begin(); thisAsset != thisListPair->second.end();) + { + // These are data errors. We'll emit the error but carry on. The container + // will load the assets but won't/can't create a circular preload dependency chain + if (*thisAsset == rootAssetId) { - thisListPair = preloadList.erase(thisListPair); + AZ_Error("AssetContainer", false, "Circular preload dependency found - %s has a preload" + "dependency back to root %s\n", + thisListPair->first.ToString().c_str(), + rootAssetId.ToString().c_str()); + thisAsset = thisListPair->second.erase(thisAsset); continue; } - for (auto thisAsset = thisListPair->second.begin(); thisAsset != thisListPair->second.end();) + else if (*thisAsset == thisListPair->first) { - // These are data errors. We'll emit the error but carry on. The container - // will load the assets but won't/can't create a circular preload dependency chain - if (*thisAsset == rootAssetId) - { - AZ_Error("AssetContainer", false, "Circular preload dependency found - %s has a preload" - "dependency back to root %s\n", - thisListPair->first.ToString().c_str(), - rootAssetId.ToString().c_str()); - thisAsset = thisListPair->second.erase(thisAsset); - continue; - } - else if (*thisAsset == thisListPair->first) - { - AZ_Error("AssetContainer", false, "Circular preload dependency found - Root asset %s has a preload" - "dependency on %s which depends back back to itself\n", - rootAssetId.ToString().c_str(), - thisListPair->first.ToString().c_str()); - thisAsset = thisListPair->second.erase(thisAsset); - continue; - } - else if (m_preloadWaitList.count(thisListPair->first) && m_preloadWaitList[thisListPair->first].count(*thisAsset)) - { - AZ_Error("AssetContainer", false, "Circular dependency found - Root asset %s has a preload" - "dependency on %s which has a circular dependency with %s\n", - rootAssetId.ToString().c_str(), - thisListPair->first.ToString().c_str(), - thisAsset->ToString().c_str()); - thisAsset = thisListPair->second.erase(thisAsset); - continue; - } - else if (m_waitingAssets.count(*thisAsset)) - { - foundAsset = true; - m_preloadWaitList[*thisAsset].insert(thisListPair->first); - ++thisAsset; - } - else - { - // This particular preload dependency of this asset was culled - // similar to the case above this can be due to no established asset handler - // or filtering rules. We'll just erase the entry because we're not loading this - thisAsset = thisListPair->second.erase(thisAsset); - continue; - } + AZ_Error("AssetContainer", false, "Circular preload dependency found - Root asset %s has a preload" + "dependency on %s which depends back back to itself\n", + rootAssetId.ToString().c_str(), + thisListPair->first.ToString().c_str()); + thisAsset = thisListPair->second.erase(thisAsset); + continue; } - if (foundAsset) + else if (m_preloadWaitList.count(thisListPair->first) && m_preloadWaitList[thisListPair->first].count(*thisAsset)) { - // We've established that this asset has at least one preload dependency it needs to wait on - // so we additionally add the waiting asset as its own preload so all of our "waiting assets" - // are managed in the same list. We can't consider this asset to be "ready" until all - // of its preloads are ready and it has been loaded. It will request an OnAssetDataLoaded - // notification from AssetManager rather than an OnAssetReady because of these additional dependencies. - thisListPair->second.insert(thisListPair->first); - m_preloadWaitList[thisListPair->first].insert(thisListPair->first); + AZ_Error("AssetContainer", false, "Circular dependency found - Root asset %s has a preload" + "dependency on %s which has a circular dependency with %s\n", + rootAssetId.ToString().c_str(), + thisListPair->first.ToString().c_str(), + thisAsset->ToString().c_str()); + thisAsset = thisListPair->second.erase(thisAsset); + continue; + } + else if (m_waitingAssets.count(*thisAsset)) + { + foundAsset = true; + m_preloadWaitList[*thisAsset].insert(thisListPair->first); + ++thisAsset; + } + else + { + // This particular preload dependency of this asset was culled + // similar to the case above this can be due to no established asset handler + // or filtering rules. We'll just erase the entry because we're not loading this + thisAsset = thisListPair->second.erase(thisAsset); + continue; } - ++thisListPair; } - for(auto& thisList : preloadList) + if (foundAsset) { - // Only save the entry to the final preload list if it has at least one dependent asset still remaining after - // the checks above. - if (!thisList.second.empty()) - { - m_preloadList[thisList.first].insert(thisList.second.begin(), thisList.second.end()); - } + // We've established that this asset has at least one preload dependency it needs to wait on + // so we additionally add the waiting asset as its own preload so all of our "waiting assets" + // are managed in the same list. We can't consider this asset to be "ready" until all + // of its preloads are ready and it has been loaded. It will request an OnAssetDataLoaded + // notification from AssetManager rather than an OnAssetReady because of these additional dependencies. + thisListPair->second.insert(thisListPair->first); + m_preloadWaitList[thisListPair->first].insert(thisListPair->first); + } + ++thisListPair; + } + for(auto& thisList : preloadList) + { + // Only save the entry to the final preload list if it has at least one dependent asset still remaining after + // the checks above. + if (!thisList.second.empty()) + { + m_preloadList[thisList.first].insert(thisList.second.begin(), thisList.second.end()); } } } + } - bool AssetContainer::HasPreloads(const AssetId& assetId) const + bool AssetContainer::HasPreloads(const AssetId& assetId) const + { + AZStd::lock_guard preloadGuard(m_preloadMutex); + auto preloadEntry = m_preloadList.find(assetId); + if (preloadEntry != m_preloadList.end()) { - AZStd::lock_guard preloadGuard(m_preloadMutex); - auto preloadEntry = m_preloadList.find(assetId); - if (preloadEntry != m_preloadList.end()) - { - return !preloadEntry->second.empty(); - } - return false; + return !preloadEntry->second.empty(); } + return false; + } - Asset AssetContainer::GetAssetData(const AssetId& assetId) const + Asset AssetContainer::GetAssetData(const AssetId& assetId) const + { + AZStd::lock_guard dependenciesGuard(m_dependencyMutex); + if (auto rootAsset = m_rootAsset.GetStrongReference(); rootAsset.GetId() == assetId) { - AZStd::lock_guard dependenciesGuard(m_dependencyMutex); - if (auto rootAsset = m_rootAsset.GetStrongReference(); rootAsset.GetId() == assetId) - { - return rootAsset; - } - auto dependencyIter = m_dependencies.find(assetId); - if (dependencyIter != m_dependencies.end()) - { - return dependencyIter->second; - } - AZ_Warning("AssetContainer", false, "Asset %s not found in container", assetId.ToString().c_str()); - return {}; + return rootAsset; } + auto dependencyIter = m_dependencies.find(assetId); + if (dependencyIter != m_dependencies.end()) + { + return dependencyIter->second; + } + AZ_Warning("AssetContainer", false, "Asset %s not found in container", assetId.ToString().c_str()); + return {}; + } - int AssetContainer::GetNumWaitingDependencies() const - { - return m_waitingCount.load(); - } + int AssetContainer::GetNumWaitingDependencies() const + { + return m_waitingCount.load(); + } - int AssetContainer::GetInvalidDependencies() const - { - return m_invalidDependencies.load(); - } - } // namespace Data -} // namespace AZ + int AssetContainer::GetInvalidDependencies() const + { + return m_invalidDependencies.load(); + } +} // namespace AZ::Data diff --git a/Code/Framework/AzCore/AzCore/Asset/AssetContainer.h b/Code/Framework/AzCore/AzCore/Asset/AssetContainer.h index e0091d678f..a05343ed0b 100644 --- a/Code/Framework/AzCore/AzCore/Asset/AssetContainer.h +++ b/Code/Framework/AzCore/AzCore/Asset/AssetContainer.h @@ -24,8 +24,8 @@ namespace AZ // AssetContainer loads an asset and all of its dependencies as a collection which is parallellized as much as possible. // With the container, the data will all load in parallel. Dependent asset loads will still obey the expected rules - // where PreLoad assets will emit OnAssetReady before the parent does, and QueueLoad assets will emit OnAssetReady in - // no guaranteed order. However, the OnAssetContainerReady signals will not emit until all PreLoad and QueueLoad assets + // where PreLoad assets will emit OnAssetReady before the parent does, and QueueLoad assets will emit OnAssetReady in + // no guaranteed order. However, the OnAssetContainerReady signals will not emit until all PreLoad and QueueLoad assets // are ready. NoLoad dependencies are not loaded by default but can be loaded along with their dependencies using the // same rules as above by using the LoadAll dependency rule. class AssetContainer : @@ -36,7 +36,7 @@ namespace AZ AZ_CLASS_ALLOCATOR(AssetContainer, SystemAllocator, 0); AssetContainer() = default; - + AssetContainer(Asset asset, const AssetLoadParameters& loadParams); ~AssetContainer(); @@ -81,6 +81,10 @@ namespace AZ // AssetLoadBus void OnAssetDataLoaded(AZ::Data::Asset asset) override; protected: + + virtual AZStd::vector>> CreateAndQueueDependentAssets( + const AZStd::vector& dependencyInfoList, const AssetLoadParameters& loadParamsCopyWithNoLoadingFilter); + // Waiting assets are those which have not yet signalled ready. In the case of PreLoad dependencies the data may have completed the load cycle but // the Assets aren't considered "Ready" yet if there are PreLoad dependencies still loading and will still be in the list until the point that asset and // All of its preload dependencies have been loaded, when it signals OnAssetReady @@ -97,7 +101,7 @@ namespace AZ void AddDependency(Asset&& addDependency); // Add a "graph section" to our list of dependencies. This checks the catalog for all Pre and Queue load assets which are dependents of the requested asset and kicks off loads - // NoLoads which are encounted are placed in another list and can be loaded on demand with the LoadDependency call. + // NoLoads which are encounted are placed in another list and can be loaded on demand with the LoadDependency call. void AddDependentAssets(Asset rootAsset, const AssetLoadParameters& loadParams); // If "PreLoad" assets are found in the graph these are cached and tracked with both OnAssetReady and OnAssetDataLoaded messages. @@ -117,7 +121,7 @@ namespace AZ // duringInit if we're coming from the checkReady method - containers that start ready don't need to signal void HandleReadyAsset(AZ::Data::Asset asset); - // Optimization to save the lookup in the dependencies map + // Optimization to save the lookup in the dependencies map AssetInternal::WeakAsset m_rootAsset; // The root asset id is stored here semi-redundantly on initialization so that we can still refer to it even if the @@ -136,7 +140,7 @@ namespace AZ AZStd::atomic_bool m_finalNotificationSent{false}; mutable AZStd::recursive_mutex m_preloadMutex; - // AssetId -> List of assets it is still waiting on + // AssetId -> List of assets it is still waiting on PreloadAssetListType m_preloadList; // AssetId -> List of assets waiting on it diff --git a/Code/Framework/AzCore/AzCore/Asset/AssetJsonSerializer.cpp b/Code/Framework/AzCore/AzCore/Asset/AssetJsonSerializer.cpp index 3fa3b39ca5..0d28036646 100644 --- a/Code/Framework/AzCore/AzCore/Asset/AssetJsonSerializer.cpp +++ b/Code/Framework/AzCore/AzCore/Asset/AssetJsonSerializer.cpp @@ -12,207 +12,204 @@ #include #include -namespace AZ +namespace AZ::Data { - namespace Data + AZ_CLASS_ALLOCATOR_IMPL(AssetJsonSerializer, SystemAllocator, 0); + + JsonSerializationResult::Result AssetJsonSerializer::Load(void* outputValue, const Uuid& /*outputValueTypeId*/, + const rapidjson::Value& inputValue, JsonDeserializerContext& context) { - AZ_CLASS_ALLOCATOR_IMPL(AssetJsonSerializer, SystemAllocator, 0); + namespace JSR = JsonSerializationResult; - JsonSerializationResult::Result AssetJsonSerializer::Load(void* outputValue, const Uuid& /*outputValueTypeId*/, - const rapidjson::Value& inputValue, JsonDeserializerContext& context) + switch (inputValue.GetType()) { - namespace JSR = JsonSerializationResult; + case rapidjson::kObjectType: + return LoadAsset(outputValue, inputValue, context); + case rapidjson::kArrayType: // fall through + case rapidjson::kNullType: // fall through + case rapidjson::kStringType: // fall through + case rapidjson::kFalseType: // fall through + case rapidjson::kTrueType: // fall through + case rapidjson::kNumberType: + return context.Report(JSR::Tasks::ReadField, JSR::Outcomes::Unsupported, + "Unsupported type. Asset can only be read from an object."); - switch (inputValue.GetType()) + default: + return context.Report(JSR::Tasks::ReadField, JSR::Outcomes::Unknown, "Unknown json type encountered for Asset."); + } + } + + JsonSerializationResult::Result AssetJsonSerializer::Store(rapidjson::Value& outputValue, const void* inputValue, + const void* defaultValue, const Uuid& /*valueTypeId*/, JsonSerializerContext& context) + { + namespace JSR = JsonSerializationResult; + + const Asset* instance = reinterpret_cast*>(inputValue); + const Asset* defaultInstance = reinterpret_cast*>(defaultValue); + + JSR::ResultCode result(JSR::Tasks::WriteValue); + { + ScopedContextPath subPathId(context, "m_assetId"); + const auto* id = &instance->GetId(); + const auto* defaultId = defaultInstance ? &defaultInstance->GetId() : nullptr; + rapidjson::Value assetIdValue; + result = ContinueStoring(assetIdValue, id, defaultId, azrtti_typeid(), context); + if (result.GetOutcome() == JSR::Outcomes::Success || result.GetOutcome() == JSR::Outcomes::PartialDefaults) { - case rapidjson::kObjectType: - return LoadAsset(outputValue, inputValue, context); - case rapidjson::kArrayType: // fall through - case rapidjson::kNullType: // fall through - case rapidjson::kStringType: // fall through - case rapidjson::kFalseType: // fall through - case rapidjson::kTrueType: // fall through - case rapidjson::kNumberType: - return context.Report(JSR::Tasks::ReadField, JSR::Outcomes::Unsupported, - "Unsupported type. Asset can only be read from an object."); - - default: - return context.Report(JSR::Tasks::ReadField, JSR::Outcomes::Unknown, "Unknown json type encountered for Asset."); + if (!outputValue.IsObject()) + { + outputValue.SetObject(); + } + outputValue.AddMember(rapidjson::StringRef("assetId"), AZStd::move(assetIdValue), context.GetJsonAllocator()); } } - JsonSerializationResult::Result AssetJsonSerializer::Store(rapidjson::Value& outputValue, const void* inputValue, - const void* defaultValue, const Uuid& /*valueTypeId*/, JsonSerializerContext& context) { - namespace JSR = JsonSerializationResult; + const AZ::Data::AssetLoadBehavior autoLoadBehavior = instance->GetAutoLoadBehavior(); + const AZ::Data::AssetLoadBehavior defaultAutoLoadBehavior = defaultInstance ? + defaultInstance->GetAutoLoadBehavior() : AZ::Data::AssetLoadBehavior::Default; - const Asset* instance = reinterpret_cast*>(inputValue); - const Asset* defaultInstance = reinterpret_cast*>(defaultValue); - - JSR::ResultCode result(JSR::Tasks::WriteValue); - { - ScopedContextPath subPathId(context, "m_assetId"); - const auto* id = &instance->GetId(); - const auto* defaultId = defaultInstance ? &defaultInstance->GetId() : nullptr; - rapidjson::Value assetIdValue; - result = ContinueStoring(assetIdValue, id, defaultId, azrtti_typeid(), context); - if (result.GetOutcome() == JSR::Outcomes::Success || result.GetOutcome() == JSR::Outcomes::PartialDefaults) - { - if (!outputValue.IsObject()) - { - outputValue.SetObject(); - } - outputValue.AddMember(rapidjson::StringRef("assetId"), AZStd::move(assetIdValue), context.GetJsonAllocator()); - } - } - - { - const AZ::Data::AssetLoadBehavior autoLoadBehavior = instance->GetAutoLoadBehavior(); - const AZ::Data::AssetLoadBehavior defaultAutoLoadBehavior = defaultInstance ? - defaultInstance->GetAutoLoadBehavior() : AZ::Data::AssetLoadBehavior::Default; - - result.Combine( - ContinueStoringToJsonObjectField(outputValue, "loadBehavior", - &autoLoadBehavior, &defaultAutoLoadBehavior, - azrtti_typeid(), context)); - } - - { - ScopedContextPath subPathHint(context, "m_assetHint"); - const AZStd::string* hint = &instance->GetHint(); - const AZStd::string defaultHint; - rapidjson::Value assetHintValue; - JSR::ResultCode resultHint = ContinueStoring(assetHintValue, hint, &defaultHint, azrtti_typeid(), context); - if (resultHint.GetOutcome() == JSR::Outcomes::Success || resultHint.GetOutcome() == JSR::Outcomes::PartialDefaults) - { - if (!outputValue.IsObject()) - { - outputValue.SetObject(); - } - outputValue.AddMember(rapidjson::StringRef("assetHint"), AZStd::move(assetHintValue), context.GetJsonAllocator()); - } - result.Combine(resultHint); - } - - return context.Report(result, - result.GetProcessing() == JSR::Processing::Completed ? "Successfully stored Asset." : "Failed to store Asset."); + result.Combine( + ContinueStoringToJsonObjectField(outputValue, "loadBehavior", + &autoLoadBehavior, &defaultAutoLoadBehavior, + azrtti_typeid(), context)); } - JsonSerializationResult::Result AssetJsonSerializer::LoadAsset(void* outputValue, const rapidjson::Value& inputValue, - JsonDeserializerContext& context) { - namespace JSR = JsonSerializationResult; - - Asset* instance = reinterpret_cast*>(outputValue); - AssetId id; - JSR::ResultCode result(JSR::Tasks::ReadField); - - SerializedAssetTracker* assetTracker = - context.GetMetadata().Find(); - + ScopedContextPath subPathHint(context, "m_assetHint"); + const AZStd::string* hint = &instance->GetHint(); + const AZStd::string defaultHint; + rapidjson::Value assetHintValue; + JSR::ResultCode resultHint = ContinueStoring(assetHintValue, hint, &defaultHint, azrtti_typeid(), context); + if (resultHint.GetOutcome() == JSR::Outcomes::Success || resultHint.GetOutcome() == JSR::Outcomes::PartialDefaults) { - Data::AssetLoadBehavior loadBehavior = instance->GetAutoLoadBehavior(); - - result = - ContinueLoadingFromJsonObjectField(&loadBehavior, - azrtti_typeid(), - inputValue, "loadBehavior", context); - - instance->SetAutoLoadBehavior(loadBehavior); + if (!outputValue.IsObject()) + { + outputValue.SetObject(); + } + outputValue.AddMember(rapidjson::StringRef("assetHint"), AZStd::move(assetHintValue), context.GetJsonAllocator()); } + result.Combine(resultHint); + } - auto it = inputValue.FindMember("assetId"); - if (it != inputValue.MemberEnd()) + return context.Report(result, + result.GetProcessing() == JSR::Processing::Completed ? "Successfully stored Asset." : "Failed to store Asset."); + } + + JsonSerializationResult::Result AssetJsonSerializer::LoadAsset(void* outputValue, const rapidjson::Value& inputValue, + JsonDeserializerContext& context) + { + namespace JSR = JsonSerializationResult; + + Asset* instance = reinterpret_cast*>(outputValue); + AssetId id; + JSR::ResultCode result(JSR::Tasks::ReadField); + + SerializedAssetTracker* assetTracker = + context.GetMetadata().Find(); + + { + Data::AssetLoadBehavior loadBehavior = instance->GetAutoLoadBehavior(); + + result = + ContinueLoadingFromJsonObjectField(&loadBehavior, + azrtti_typeid(), + inputValue, "loadBehavior", context); + + instance->SetAutoLoadBehavior(loadBehavior); + } + + auto it = inputValue.FindMember("assetId"); + if (it != inputValue.MemberEnd()) + { + ScopedContextPath subPath(context, "assetId"); + result.Combine(ContinueLoading(&id, azrtti_typeid(), it->value, context)); + if (!id.m_guid.IsNull()) { - ScopedContextPath subPath(context, "assetId"); - result.Combine(ContinueLoading(&id, azrtti_typeid(), it->value, context)); - if (!id.m_guid.IsNull()) + *instance = AssetManager::Instance().FindOrCreateAsset(id, instance->GetType(), instance->GetAutoLoadBehavior()); + if (!instance->GetId().IsValid()) { - *instance = AssetManager::Instance().FindOrCreateAsset(id, instance->GetType(), instance->GetAutoLoadBehavior()); - if (!instance->GetId().IsValid()) - { - // If the asset failed to be created, FindOrCreateAsset returns an asset instance with a null - // id. To preserve the asset id in the source json, reset the asset to an empty one, but with - // the right id. - const auto loadBehavior = instance->GetAutoLoadBehavior(); - *instance = Asset(id, instance->GetType()); - instance->SetAutoLoadBehavior(loadBehavior); - } + // If the asset failed to be created, FindOrCreateAsset returns an asset instance with a null + // id. To preserve the asset id in the source json, reset the asset to an empty one, but with + // the right id. + const auto loadBehavior = instance->GetAutoLoadBehavior(); + *instance = Asset(id, instance->GetType()); + instance->SetAutoLoadBehavior(loadBehavior); + } - result.Combine(context.Report(result, "Successfully created Asset with id.")); - } - else if (result.GetProcessing() == JSR::Processing::Completed) - { - result.Combine(context.Report(JSR::Tasks::ReadField, JSR::Outcomes::DefaultsUsed, - "Null Asset created.")); - } - else - { - result.Combine(context.Report(result, "Failed to retrieve asset id for Asset.")); - } + result.Combine(context.Report(result, "Successfully created Asset with id.")); + } + else if (result.GetProcessing() == JSR::Processing::Completed) + { + result.Combine(context.Report(JSR::Tasks::ReadField, JSR::Outcomes::DefaultsUsed, + "Null Asset created.")); } else { - result.Combine(context.Report(JSR::Tasks::ReadField, JSR::Outcomes::DefaultsUsed, - "The asset id is missing, so there's not enough information to create an Asset.")); - } - - it = inputValue.FindMember("assetHint"); - if (it != inputValue.MemberEnd()) - { - ScopedContextPath subPath(context, "assetHint"); - AZStd::string hint; - result.Combine(ContinueLoading(&hint, azrtti_typeid(), it->value, context)); - instance->SetHint(AZStd::move(hint)); - } - else - { - result.Combine(context.Report(JSR::Tasks::ReadField, JSR::Outcomes::DefaultsUsed, - "The asset hint is missing for Asset, so it will be left empty.")); - } - - if (assetTracker) - { - assetTracker->FixUpAsset(*instance); - assetTracker->AddAsset(*instance); - } - - bool success = result.GetOutcome() <= JSR::Outcomes::PartialSkip; - bool defaulted = result.GetOutcome() == JSR::Outcomes::DefaultsUsed || result.GetOutcome() == JSR::Outcomes::PartialDefaults; - AZStd::string_view message = - success ? "Successfully loaded information and created instance of Asset." : - defaulted ? "A default id was provided for Asset, so no instance could be created." : - "Not enough information was available to create an instance of Asset or data was corrupted."; - return context.Report(result, message); - } - - void SerializedAssetTracker::SetAssetFixUp(AssetFixUp assetFixUpCallback) - { - m_assetFixUpCallback = AZStd::move(assetFixUpCallback); - } - - void SerializedAssetTracker::FixUpAsset(Asset& asset) - { - if (m_assetFixUpCallback) - { - m_assetFixUpCallback(asset); + result.Combine(context.Report(result, "Failed to retrieve asset id for Asset.")); } } - - void SerializedAssetTracker::AddAsset(Asset asset) + else { - m_serializedAssets.emplace_back(asset); + result.Combine(context.Report(JSR::Tasks::ReadField, JSR::Outcomes::DefaultsUsed, + "The asset id is missing, so there's not enough information to create an Asset.")); } - const AZStd::vector>& SerializedAssetTracker::GetTrackedAssets() const + it = inputValue.FindMember("assetHint"); + if (it != inputValue.MemberEnd()) { - return m_serializedAssets; + ScopedContextPath subPath(context, "assetHint"); + AZStd::string hint; + result.Combine(ContinueLoading(&hint, azrtti_typeid(), it->value, context)); + instance->SetHint(AZStd::move(hint)); + } + else + { + result.Combine(context.Report(JSR::Tasks::ReadField, JSR::Outcomes::DefaultsUsed, + "The asset hint is missing for Asset, so it will be left empty.")); } - AZStd::vector>& SerializedAssetTracker::GetTrackedAssets() + if (assetTracker) { - return m_serializedAssets; + assetTracker->FixUpAsset(*instance); + assetTracker->AddAsset(*instance); } - } // namespace Data -} // namespace AZ + bool success = result.GetOutcome() <= JSR::Outcomes::PartialSkip; + bool defaulted = result.GetOutcome() == JSR::Outcomes::DefaultsUsed || result.GetOutcome() == JSR::Outcomes::PartialDefaults; + AZStd::string_view message = + success ? "Successfully loaded information and created instance of Asset." : + defaulted ? "A default id was provided for Asset, so no instance could be created." : + "Not enough information was available to create an instance of Asset or data was corrupted."; + return context.Report(result, message); + } + + void SerializedAssetTracker::SetAssetFixUp(AssetFixUp assetFixUpCallback) + { + m_assetFixUpCallback = AZStd::move(assetFixUpCallback); + } + + void SerializedAssetTracker::FixUpAsset(Asset& asset) + { + if (m_assetFixUpCallback) + { + m_assetFixUpCallback(asset); + } + } + + void SerializedAssetTracker::AddAsset(Asset asset) + { + m_serializedAssets.emplace_back(asset); + } + + const AZStd::vector>& SerializedAssetTracker::GetTrackedAssets() const + { + return m_serializedAssets; + } + + AZStd::vector>& SerializedAssetTracker::GetTrackedAssets() + { + return m_serializedAssets; + } + +} // namespace AZ::Data diff --git a/Code/Framework/AzCore/AzCore/Asset/AssetManager.cpp b/Code/Framework/AzCore/AzCore/Asset/AssetManager.cpp index b03e1affdc..e419666a32 100644 --- a/Code/Framework/AzCore/AzCore/Asset/AssetManager.cpp +++ b/Code/Framework/AzCore/AzCore/Asset/AssetManager.cpp @@ -27,2169 +27,2166 @@ #include #include -namespace AZ +namespace AZ::Data { - namespace Data + AZ_CVAR(bool, cl_assetLoadWarningEnable, false, nullptr, AZ::ConsoleFunctorFlags::Null, + "Enable warnings that show when AssetHandler::LoadAssetData has exceeded the time set in cl_assetLoadWarningMsThreshold."); + AZ_CVAR(uint32_t, cl_assetLoadWarningMsThreshold, 100, nullptr, AZ::ConsoleFunctorFlags::Null, + "Number of milliseconds that AssetHandler::LoadAssetData can execute for before printing a warning."); + AZ_CVAR(int, cl_assetLoadDelay, 0, nullptr, AZ::ConsoleFunctorFlags::Null, + "Number of milliseconds to artifically delay an asset load."); + AZ_CVAR(bool, cl_assetLoadError, false, nullptr, AZ::ConsoleFunctorFlags::Null, + "Enable failure of all asset loads."); + + static constexpr char kAssetDBInstanceVarName[] = "AssetDatabaseInstance"; + + /* + * This is the base class for Async AssetDatabase jobs + */ + class AssetDatabaseAsyncJob + : public AssetDatabaseJob + , public Job { - AZ_CVAR(bool, cl_assetLoadWarningEnable, false, nullptr, AZ::ConsoleFunctorFlags::Null, - "Enable warnings that show when AssetHandler::LoadAssetData has exceeded the time set in cl_assetLoadWarningMsThreshold."); - AZ_CVAR(uint32_t, cl_assetLoadWarningMsThreshold, 100, nullptr, AZ::ConsoleFunctorFlags::Null, - "Number of milliseconds that AssetHandler::LoadAssetData can execute for before printing a warning."); - AZ_CVAR(int, cl_assetLoadDelay, 0, nullptr, AZ::ConsoleFunctorFlags::Null, - "Number of milliseconds to artifically delay an asset load."); - AZ_CVAR(bool, cl_assetLoadError, false, nullptr, AZ::ConsoleFunctorFlags::Null, - "Enable failure of all asset loads."); - - static constexpr char kAssetDBInstanceVarName[] = "AssetDatabaseInstance"; - - /* - * This is the base class for Async AssetDatabase jobs - */ - class AssetDatabaseAsyncJob - : public AssetDatabaseJob - , public Job + public: + AssetDatabaseAsyncJob(JobContext* jobContext, bool deleteWhenDone, AssetManager* owner, const Asset& asset, AssetHandler* assetHandler) + : AssetDatabaseJob(owner, asset, assetHandler) + , Job(deleteWhenDone, jobContext) { - public: - AssetDatabaseAsyncJob(JobContext* jobContext, bool deleteWhenDone, AssetManager* owner, const Asset& asset, AssetHandler* assetHandler) - : AssetDatabaseJob(owner, asset, assetHandler) - , Job(deleteWhenDone, jobContext) - { - } + } - ~AssetDatabaseAsyncJob() override - { - } - }; - - /** - * Internally allows threads blocking on asset loads to be notified on load completion. - */ - class BlockingAssetLoadEvents - : public EBusTraits + ~AssetDatabaseAsyncJob() override { - public: - ////////////////////////////////////////////////////////////////////////// - // EBusTraits overrides - static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById; - using BusIdType = AssetId; - using MutexType = AZStd::recursive_mutex; - - template - struct AssetJobConnectionPolicy - : public EBusConnectionPolicy - { - static void Connect(typename Bus::BusPtr& busPtr, typename Bus::Context& context, typename Bus::HandlerNode& handler, typename Bus::Context::ConnectLockGuard& connectLock, const typename Bus::BusIdType& id = 0) - { - typename Bus::BusIdType actualId = AssetInternal::ResolveAssetId(id); - EBusConnectionPolicy::Connect(busPtr, context, handler, connectLock, actualId); - - // If the asset is loaded or failed already, deliver the status update immediately - // Note that we check IsReady here, ReadyPreNotify must be tested because there is - // a small gap between ReadyPreNotify and Ready where the callback could be missed. - // Also note because the Asset<> reference isn't passed around anywhere, it doesn't matter - // what the AssetLoadBehavior is set to, as it will never make it back to any callers. - Asset assetData(AssetInternal::GetAssetData(actualId, AssetLoadBehavior::Default)); - if (assetData) - { - if (assetData->IsReady() || assetData->IsError()) - { - connectLock.unlock(); - handler->OnLoadComplete(); - } - } - } - }; - - template - using ConnectionPolicy = AssetJobConnectionPolicy; - - virtual void OnLoadComplete() = 0; - virtual void OnLoadCanceled(AssetId assetId) = 0; - }; - - using BlockingAssetLoadBus = EBus; - - /* - * This class processes async AssetDatabase load jobs - */ - class LoadAssetJob - : public AssetDatabaseAsyncJob - { - public: - AZ_CLASS_ALLOCATOR(LoadAssetJob, ThreadPoolAllocator, 0); - - LoadAssetJob(AssetManager* owner, const Asset& asset, - AZStd::shared_ptr dataStream, bool isReload, AZ::IO::IStreamerTypes::RequestStatus requestState, - AssetHandler* handler, const AssetLoadParameters& loadParams, bool signalLoaded) - : AssetDatabaseAsyncJob(JobContext::GetGlobalContext(), true, owner, asset, handler) - , m_dataStream(dataStream) - , m_isReload(isReload) - , m_requestState(requestState) - , m_loadParams(loadParams) - , m_signalLoaded(signalLoaded) - { - AZ_Assert(m_dataStream, "Data stream pointer received through the callback from AZ::IO::Streamer is invalid."); - - AZ_Assert((m_requestState == AZ::IO::IStreamerTypes::RequestStatus::Completed) - || (m_requestState == AZ::IO::IStreamerTypes::RequestStatus::Canceled) - || (m_requestState == AZ::IO::IStreamerTypes::RequestStatus::Failed), - "AssetManager::LoadAssetJob was called with an unexpected streamer state: %i", m_requestState); - } - - ~LoadAssetJob() override - { - } - - void Process() override - { - Asset asset = m_asset.GetStrongReference(); - - // Verify that we didn't somehow get here after the Asset Manager has finished shutting down. - AZ_Assert(AssetManager::IsReady(), "Asset Manager shutdown didn't clean up pending asset loads properly."); - if (!AssetManager::IsReady()) - { - return; - } - - bool shouldCancel = m_owner->ShouldCancelAllActiveJobs() - || !asset // No outstanding references, so cancel the load - || m_requestState == AZ::IO::IStreamerTypes::RequestStatus::Canceled; - - if (shouldCancel) - { - BlockingAssetLoadBus::Event(m_asset.GetId(), &BlockingAssetLoadBus::Events::OnLoadCanceled, m_asset.GetId()); - AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetCanceled, m_asset.GetId()); - } - else - { - - AZ_PROFILE_SCOPE(AzCore, "AZ::Data::LoadAssetJob::Process: %s", - asset.GetHint().c_str()); - - AZ_ASSET_ATTACH_TO_SCOPE(this); - - if (m_owner->ValidateAndRegisterAssetLoading(asset)) - { - LoadAndSignal(asset); - } - } - } - - void LoadAndSignal(Asset& asset) - { - const bool loadSucceeded = LoadData(); - - if (m_signalLoaded && loadSucceeded) - { - AZ_Assert(!m_isReload, "OnAssetDataLoaded signal isn't supported for asset reloads."); - // This asset has preload dependencies, we need to evaluate whether they're all ready before calling PostLoad - AssetLoadBus::Event(asset.GetId(), &AssetLoadBus::Events::OnAssetDataLoaded, asset); - } - else - { - // As long as we don't need to signal preload dependencies, just finish the load whether or not it was successful. - m_owner->PostLoad(asset, loadSucceeded, m_isReload, m_assetHandler); - } - } - - bool LoadData() - { - Asset asset = m_asset.GetStrongReference(); - - if(cl_assetLoadDelay > 0) - { - AZ_PROFILE_SCOPE(AzCore, "LoadData suspended"); - AZStd::this_thread::sleep_for(AZStd::chrono::milliseconds(cl_assetLoadDelay)); - } - - AZ_ASSET_NAMED_SCOPE(asset.GetHint().c_str()); - bool loadedSuccessfully = false; - - if (!cl_assetLoadError && m_requestState == AZ::IO::IStreamerTypes::RequestStatus::Completed) - { - if (m_dataStream->IsFullyLoaded()) - { - AssetHandler::LoadResult result = - m_assetHandler->LoadAssetDataFromStream(asset, m_dataStream, m_loadParams.m_assetLoadFilterCB); - loadedSuccessfully = (result == AssetHandler::LoadResult::LoadComplete); - } - } - - return loadedSuccessfully; - } - - private: - AZStd::shared_ptr m_dataStream; - AssetLoadParameters m_loadParams{}; - AZ::IO::IStreamerTypes::RequestStatus m_requestState{ AZ::IO::IStreamerTypes::RequestStatus::Pending}; - bool m_isReload{ false }; - bool m_signalLoaded{ false }; - }; - - - /** - * Utility class to wait when a blocking load is requested for an asset that's already loading asynchronously. - * Uses the BlockingAssetLoadBus to detect completion, and a semaphore to signal it. - */ - - class WaitForAsset - : public BlockingAssetLoadBus::Handler - { - public: - AZ_CLASS_ALLOCATOR(WaitForAsset, ThreadPoolAllocator, 0); - - - WaitForAsset(const Asset& assetToWaitFor, bool shouldDispatchEvents) - : m_assetData(assetToWaitFor) - , m_shouldDispatchEvents(shouldDispatchEvents) - { - // Track all blocking requests with the AssetManager. This enables load jobs to potentially get routed - // to the thread that's currently blocking waiting on the load job to complete. - AssetManager::Instance().AddBlockingRequest(m_assetData.GetId(), this); - } - - ~WaitForAsset() override - { - // Stop tracking the blocking request, which will ensure that load jobs won't be provided to this instance - // for processing. - AssetManager::Instance().RemoveBlockingRequest(m_assetData.GetId(), this); - - // It shouldn't be possible to destroy a blocking load request before the load job that it's blocked on - // has been processed, so assert if it ever happens, but make sure to process it just in case. - if (m_loadJob) - { - // (If a valid case is ever found where this can occur, it should be safe to remove the assert) - AZ_Assert(false, "Blocking load request is being deleted before it could process the blocking load."); - ProcessLoadJob(); - } - } - - // Provides a blocked load with a LoadJob to process while it's blocking. - // Returns true if it can be queued, false if it can't. - bool QueueAssetLoadJob(LoadAssetJob* loadJob) - { - if(m_shouldDispatchEvents) - { - // Any load job that is going to be dispatching events should not accept additional work since dispatching events - // can lead to more code that's blocking on an asset load which prevents us from finishing the dispatch - // and doing the assigned work. - // Specifically, if dispatching leads to a second block call, the load job will be assigned to the first block call, - // which will never be completed until the second block call is finished. If both blocks are on the same asset, - // we end up deadlocked. - return false; - } - - AZStd::scoped_lock mutexLock(m_loadJobMutex); - - AZ_Assert(!m_loadJob, "Trying to process multiple load jobs for the same asset with the same blocking handler."); - if (!m_loadJob) - { - m_loadJob = loadJob; - m_waitEvent.release(); - return true; - } - - return false; - } - - void OnLoadComplete() override - { - Finish(); - } - - void OnLoadCanceled([[maybe_unused]] const AssetId assetId) override - { - Finish(); - } - - void WaitUntilReady() - { - BusConnect(m_assetData.GetId()); - - Wait(); - - BusDisconnect(m_assetData.GetId()); - } - - protected: - void Wait() - { - AZ_PROFILE_SCOPE(AzCore, "WaitForAsset - %s", m_assetData.GetHint().c_str()); - - // Continue to loop until the load completes. (Most of the time in the loop will be spent in a thread-blocking state) - while (!m_loadCompleted) - { - if (m_shouldDispatchEvents) - { - // The event will wake up either when the load finishes, a load job is queued for processing, or every - // N milliseconds to see if it should dispatch events. - constexpr int MaxWaitBetweenDispatchMs = 1; - while (!m_waitEvent.try_acquire_for(AZStd::chrono::milliseconds(MaxWaitBetweenDispatchMs))) - { - AssetManager::Instance().DispatchEvents(); - } - } - else - { - - // Don't wake up until a load job is queued for processing or the load is entirely finished. - m_waitEvent.acquire(); - } - - // Check to see if any load jobs have been provided for this thread to process. - // (Load jobs will attempt to reuse blocked threads before spinning off new job threads) - ProcessLoadJob(); - } - - // Pump the AssetBus function queue once more after the load has completed in case additional - // functions have been queued between the last call to DispatchEvents and the completion - // of the current load job - if (m_shouldDispatchEvents) - { - AssetManager::Instance().DispatchEvents(); - } - } - - void Finish() - { - AZ_PROFILE_FUNCTION(AzCore); - m_loadCompleted = true; - m_waitEvent.release(); - } - - bool ProcessLoadJob() - { - AZStd::scoped_lock mutexLock(m_loadJobMutex); - bool jobProcessed = false; - - if (m_loadJob) - { - m_loadJob->Process(); - if (m_loadJob->IsAutoDelete()) - { - delete m_loadJob; - } - m_loadJob = nullptr; - jobProcessed = true; - } - - return jobProcessed; - } - - Asset m_assetData; - AZStd::binary_semaphore m_waitEvent; - const bool m_shouldDispatchEvents{ false }; - LoadAssetJob* m_loadJob{ nullptr }; - AZStd::mutex m_loadJobMutex; - AZStd::atomic_bool m_loadCompleted{ false }; - }; - - - /* - * This class processes async AssetDatabase save jobs - */ - class SaveAssetJob - : public AssetDatabaseAsyncJob - { - public: - AZ_CLASS_ALLOCATOR(SaveAssetJob, ThreadPoolAllocator, 0); - - SaveAssetJob(JobContext* jobContext, AssetManager* owner, const Asset& asset, AssetHandler* assetHandler) - : AssetDatabaseAsyncJob(jobContext, true, owner, asset, assetHandler) - { - } - - ~SaveAssetJob() override - { - } - - void Process() override - { - SaveAsset(); - } - - void SaveAsset() - { - auto asset = m_asset.GetStrongReference(); - AZ_PROFILE_FUNCTION(AzCore); - bool isSaved = false; - AssetStreamInfo saveInfo = m_owner->GetSaveStreamInfoForAsset(asset.GetId(), asset.GetType()); - if (saveInfo.IsValid()) - { - IO::FileIOStream stream(saveInfo.m_streamName.c_str(), saveInfo.m_streamFlags); - stream.Seek(saveInfo.m_dataOffset, IO::GenericStream::SeekMode::ST_SEEK_BEGIN); - isSaved = m_assetHandler->SaveAssetData(asset, &stream); - } - // queue broadcast message for delivery on game thread - AssetBus::QueueEvent(asset.GetId(), &AssetBus::Events::OnAssetSaved, asset, isSaved); - } - }; + } + }; + /** + * Internally allows threads blocking on asset loads to be notified on load completion. + */ + class BlockingAssetLoadEvents + : public EBusTraits + { + public: ////////////////////////////////////////////////////////////////////////// - // Globals - EnvironmentVariable AssetManager::s_assetDB = nullptr; - ////////////////////////////////////////////////////////////////////////// + // EBusTraits overrides + static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById; + using BusIdType = AssetId; + using MutexType = AZStd::recursive_mutex; - //========================================================================= - // AssetDatabaseJob - // [4/3/2014] - //========================================================================= - AssetDatabaseJob::AssetDatabaseJob(AssetManager* owner, const Asset& asset, AssetHandler* assetHandler) + template + struct AssetJobConnectionPolicy + : public EBusConnectionPolicy { - m_owner = owner; - m_asset = AssetInternal::WeakAsset(asset); - m_assetHandler = assetHandler; - owner->AddJob(this); - } - - //========================================================================= - // ~AssetDatabaseJob - // [4/3/2014] - //========================================================================= - AssetDatabaseJob::~AssetDatabaseJob() - { - // Make sure that the asset reference is cleared out prior to removing the job registration. - // It's possible that clearing this reference will trigger the cleanup code for the asset, so if we wait for the - // destructor to clear it *after* the RemoveJob call, then HasActiveJobsOrStreamerRequests() will be able to return - // false even though the job is still executing asset-related code. - m_asset = {}; - m_owner->RemoveJob(this); - } - - //========================================================================= - // Create - // [6/12/2012] - //========================================================================= - bool AssetManager::Create(const Descriptor& desc) - { - AZ_Assert(!s_assetDB || !s_assetDB.Get(), "AssetManager already created!"); - - if (!s_assetDB) + static void Connect(typename Bus::BusPtr& busPtr, typename Bus::Context& context, typename Bus::HandlerNode& handler, typename Bus::Context::ConnectLockGuard& connectLock, const typename Bus::BusIdType& id = 0) { - s_assetDB = Environment::CreateVariable(kAssetDBInstanceVarName); - } - if (!s_assetDB.Get()) - { - s_assetDB.Set(aznew AssetManager(desc)); - } + typename Bus::BusIdType actualId = AssetInternal::ResolveAssetId(id); + EBusConnectionPolicy::Connect(busPtr, context, handler, connectLock, actualId); - return true; - } - - //========================================================================= - // Destroy - // [6/12/2012] - //========================================================================= - void AssetManager::Destroy() - { - AZ_Assert(s_assetDB, "AssetManager not created!"); - delete (*s_assetDB); - *s_assetDB = nullptr; - } - - //========================================================================= - // IsReady - //========================================================================= - bool AssetManager::IsReady() - { - if (!s_assetDB) - { - s_assetDB = Environment::FindVariable(kAssetDBInstanceVarName); - } - - return s_assetDB && *s_assetDB; - } - - //========================================================================= - // Instance - //========================================================================= - AssetManager& AssetManager::Instance() - { - if (!s_assetDB) - { - s_assetDB = Environment::FindVariable(kAssetDBInstanceVarName); - } - - AZ_Assert(s_assetDB && *s_assetDB, "AssetManager not created!"); - return *(*s_assetDB); - } - - bool AssetManager::SetInstance(AssetManager* assetManager) - { - if (!s_assetDB) - { - s_assetDB = Environment::CreateVariable(kAssetDBInstanceVarName); - } - - // The old instance needs to be null or else it will leak on the assignment. - AZ_Assert(!(*s_assetDB), - "AssetManager::SetInstance was called without first destroying the old instance and setting it to nullptr. " - "This will cause the previous AssetManager instance to leak." ); - - (*s_assetDB) = assetManager; - return true; - } - - //========================================================================= - // AssetDatabase - // [6/12/2012] - //========================================================================= - AssetManager::AssetManager(const AssetManager::Descriptor& desc) - : m_mainThreadId(AZStd::this_thread::get_id()) - , m_debugAssetEvents(AZ::Interface::Get()) - { - (void)desc; - - AssetManagerBus::Handler::BusConnect(); - } - - //========================================================================= - // ~AssetManager - // [6/12/2012] - //========================================================================= - AssetManager::~AssetManager() - { - PrepareShutDown(); - - // Acquire the asset lock to make sure nobody else is trying to do anything fancy with assets - AZStd::scoped_lock assetLock(m_assetMutex); - - while (!m_handlers.empty()) - { - AssetHandlerMap::iterator it = m_handlers.begin(); - AssetHandler* handler = it->second; - UnregisterHandler(handler); - delete handler; - } - - AssetManagerBus::Handler::BusDisconnect(); - } - - //========================================================================= - // DispatchEvents - // [04/02/2014] - //========================================================================= - void AssetManager::DispatchEvents() - { - AZ_PROFILE_FUNCTION(AzCore); - AssetManagerNotificationBus::Broadcast(&AssetManagerNotificationBus::Events::OnAssetEventsDispatchBegin); - while (AssetBus::QueuedEventCount()) - { - AssetBus::ExecuteQueuedEvents(); - } - AssetManagerNotificationBus::Broadcast(&AssetManagerNotificationBus::Events::OnAssetEventsDispatchEnd); - } - - //========================================================================= - void AssetManager::SetAssetInfoUpgradingEnabled(bool enable) - { - m_assetInfoUpgradingEnabled = enable; - } - - bool AssetManager::GetAssetInfoUpgradingEnabled() const - { -#if defined(_RELEASE) - // in release ("FINAL") builds, we never do this. - return false; -#else - return m_assetInfoUpgradingEnabled; -#endif - } - - bool AssetManager::ShouldCancelAllActiveJobs() const - { - return m_cancelAllActiveJobs; - } - - void AssetManager::SetParallelDependentLoadingEnabled(bool enable) - { - m_enableParallelDependentLoading = enable; - } - - bool AssetManager::GetParallelDependentLoadingEnabled() const - { - return m_enableParallelDependentLoading; - } - - void AssetManager::PrepareShutDown() - { - m_cancelAllActiveJobs = true; - - // We want to ensure that no active load jobs are in flight and - // therefore we need to wait till all jobs have completed. Please note that jobs get deleted automatically once they complete. - WaitForActiveJobsAndStreamerRequestsToFinish(); - - m_ownedAssetContainerLookup.clear(); - m_ownedAssetContainers.clear(); - m_assetContainers.clear(); - - // Ensure that there are no queued events on the AssetBus - DispatchEvents(); - } - - void AssetManager::WaitForActiveJobsAndStreamerRequestsToFinish() - { - while (HasActiveJobsOrStreamerRequests()) - { - DispatchEvents(); - AZStd::this_thread::yield(); - } - } - - //========================================================================= - // RegisterHandler - // [7/9/2014] - //========================================================================= - void AssetManager::RegisterHandler(AssetHandler* handler, const AssetType& assetType) - { - AZ_Error("AssetDatabase", handler != nullptr, "Attempting to register a null asset handler!"); - if (handler) - { - if (m_handlers.insert(AZStd::make_pair(assetType, handler)).second) + // If the asset is loaded or failed already, deliver the status update immediately + // Note that we check IsReady here, ReadyPreNotify must be tested because there is + // a small gap between ReadyPreNotify and Ready where the callback could be missed. + // Also note because the Asset<> reference isn't passed around anywhere, it doesn't matter + // what the AssetLoadBehavior is set to, as it will never make it back to any callers. + Asset assetData(AssetInternal::GetAssetData(actualId, AssetLoadBehavior::Default)); + if (assetData) { - handler->m_nHandledTypes++; - } - else - { - AZ_Error("AssetDatabase", false, "Asset type %s already has a handler registered! New registration ignored!", assetType.ToString().c_str()); - } - } - } - - //========================================================================= - // UnregisterHandler - // [7/9/2014] - //========================================================================= - void AssetManager::UnregisterHandler(AssetHandler* handler) - { - AZ_Error("AssetDatabase", handler != nullptr, "Attempting to unregister a null asset handler!"); - if (handler) - { - for (AssetHandlerMap::iterator it = m_handlers.begin(); it != m_handlers.end(); /*++it*/) - { - if (it->second == handler) + if (assetData->IsReady() || assetData->IsError()) { - // When unregistering asset handlers, it's possible that there are still some load jobs that have "finished" but - // haven't destroyed themselves yet by the time the asset handler gets unregistered. LoadAssetJob contains a weak - // asset reference that doesn't clear until the job is destroyed, which happens *after* the OnAssetReady - // notification is triggered. If the thread gets swapped out between the OnAssetReady and the job destruction, - // the job will still be holding onto an asset reference for this asset handler, and it will trigger the - // error below. To ensure that this case doesn't happen, we will instead call - // WaitForActiveJobsAndStreamerRequestsToFinish() to make sure that any in-process jobs have completely cleaned - // themselves up before proceeding forward. - // One example of this pattern occurs in unit tests, where the test loads an asset, validates it, destroys the - // asset, and unregisters the handler, all in rapid succession. This would extremely infrequently - // (~1 per 5000 runs) trigger the error case if we didn't wait for the jobs to finish here. - WaitForActiveJobsAndStreamerRequestsToFinish(); - - { - // this scope is used to control the scope of the lock. - AZStd::lock_guard assetLock(m_assetMutex); - for (const auto &assetEntry : m_assets) - { - // is the handler that handles this type, this handler we're removing? - if (assetEntry.second->m_registeredHandler == handler) - { - AZ_Error("AssetManager", false, "Asset handler for %s is being removed, when assetid %s is still loaded!\n", - assetEntry.second->GetType().ToString().c_str(), - assetEntry.second->GetId().ToString().c_str()); // this will write the name IF AVAILABLE - assetEntry.second->UnregisterWithHandler(); - } - } - } - it = m_handlers.erase(it); - handler->m_nHandledTypes--; - } - else - { - ++it; + connectLock.unlock(); + handler->OnLoadComplete(); } } } + }; + + template + using ConnectionPolicy = AssetJobConnectionPolicy; + + virtual void OnLoadComplete() = 0; + virtual void OnLoadCanceled(AssetId assetId) = 0; + }; + + using BlockingAssetLoadBus = EBus; + + /* + * This class processes async AssetDatabase load jobs + */ + class LoadAssetJob + : public AssetDatabaseAsyncJob + { + public: + AZ_CLASS_ALLOCATOR(LoadAssetJob, ThreadPoolAllocator, 0); + + LoadAssetJob(AssetManager* owner, const Asset& asset, + AZStd::shared_ptr dataStream, bool isReload, AZ::IO::IStreamerTypes::RequestStatus requestState, + AssetHandler* handler, const AssetLoadParameters& loadParams, bool signalLoaded) + : AssetDatabaseAsyncJob(JobContext::GetGlobalContext(), true, owner, asset, handler) + , m_dataStream(dataStream) + , m_isReload(isReload) + , m_requestState(requestState) + , m_loadParams(loadParams) + , m_signalLoaded(signalLoaded) + { + AZ_Assert(m_dataStream, "Data stream pointer received through the callback from AZ::IO::Streamer is invalid."); + + AZ_Assert((m_requestState == AZ::IO::IStreamerTypes::RequestStatus::Completed) + || (m_requestState == AZ::IO::IStreamerTypes::RequestStatus::Canceled) + || (m_requestState == AZ::IO::IStreamerTypes::RequestStatus::Failed), + "AssetManager::LoadAssetJob was called with an unexpected streamer state: %i", m_requestState); } - //========================================================================= - // RegisterCatalog - // [8/27/2012] - //========================================================================= - void AssetManager::RegisterCatalog(AssetCatalog* catalog, const AssetType& assetType) + ~LoadAssetJob() override { - AZ_Error("AssetDatabase", catalog != nullptr, "Attempting to register a null catalog!"); - if (catalog) - { - AZStd::scoped_lock l(m_catalogMutex); - if (m_catalogs.insert(AZStd::make_pair(assetType, catalog)).second == false) - { - AZ_Error("AssetDatabase", false, "Asset type %s already has a catalog registered! New registration ignored!", assetType.ToString().c_str()); - } - } } - //========================================================================= - // UnregisterCatalog - // [8/27/2012] - //========================================================================= - void AssetManager::UnregisterCatalog(AssetCatalog* catalog) + void Process() override { - AZ_Error("AssetDatabase", catalog != nullptr, "Attempting to unregister a null catalog!"); - if (catalog) - { - AZStd::scoped_lock l(m_catalogMutex); - for (AssetCatalogMap::iterator iter = m_catalogs.begin(); iter != m_catalogs.end(); ) - { - if (iter->second == catalog) - { - iter = m_catalogs.erase(iter); - } - else - { - ++iter; - } + Asset asset = m_asset.GetStrongReference(); - } - } - } - - //========================================================================= - // GetHandledAssetTypes - // [6/27/2016] - //========================================================================= - void AssetManager::GetHandledAssetTypes(AssetCatalog* catalog, AZStd::vector& assetTypes) - { - for (AssetCatalogMap::iterator iter = m_catalogs.begin(); iter != m_catalogs.end(); iter++) - { - if (iter->second == catalog) - { - assetTypes.push_back(iter->first); - } - } - } - - void AssetManager::SuspendAssetRelease() - { - ++m_suspendAssetRelease; - } - - void AssetManager::ResumeAssetRelease() - { - if(--m_suspendAssetRelease != 0) + // Verify that we didn't somehow get here after the Asset Manager has finished shutting down. + AZ_Assert(AssetManager::IsReady(), "Asset Manager shutdown didn't clean up pending asset loads properly."); + if (!AssetManager::IsReady()) { return; } - AZStd::scoped_lock assetLock(m_assetMutex); - // First, release any containers that were loading this asset - for (auto asset = m_assets.begin();asset != m_assets.end();) + bool shouldCancel = m_owner->ShouldCancelAllActiveJobs() + || !asset // No outstanding references, so cancel the load + || m_requestState == AZ::IO::IStreamerTypes::RequestStatus::Canceled; + + if (shouldCancel) { - if (asset->second->m_useCount == 0) + BlockingAssetLoadBus::Event(m_asset.GetId(), &BlockingAssetLoadBus::Events::OnLoadCanceled, m_asset.GetId()); + AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetCanceled, m_asset.GetId()); + } + else + { + + AZ_PROFILE_SCOPE(AzCore, "AZ::Data::LoadAssetJob::Process: %s", + asset.GetHint().c_str()); + + AZ_ASSET_ATTACH_TO_SCOPE(this); + + if (m_owner->ValidateAndRegisterAssetLoading(asset)) { - auto releaseAsset = asset->second; - ++asset; - ReleaseAssetContainersForAsset(releaseAsset); + LoadAndSignal(asset); + } + } + } + + void LoadAndSignal(Asset& asset) + { + const bool loadSucceeded = LoadData(); + + if (m_signalLoaded && loadSucceeded) + { + AZ_Assert(!m_isReload, "OnAssetDataLoaded signal isn't supported for asset reloads."); + // This asset has preload dependencies, we need to evaluate whether they're all ready before calling PostLoad + AssetLoadBus::Event(asset.GetId(), &AssetLoadBus::Events::OnAssetDataLoaded, asset); + } + else + { + // As long as we don't need to signal preload dependencies, just finish the load whether or not it was successful. + m_owner->PostLoad(asset, loadSucceeded, m_isReload, m_assetHandler); + } + } + + bool LoadData() + { + Asset asset = m_asset.GetStrongReference(); + + if(cl_assetLoadDelay > 0) + { + AZ_PROFILE_SCOPE(AzCore, "LoadData suspended"); + AZStd::this_thread::sleep_for(AZStd::chrono::milliseconds(cl_assetLoadDelay)); + } + + AZ_ASSET_NAMED_SCOPE(asset.GetHint().c_str()); + bool loadedSuccessfully = false; + + if (!cl_assetLoadError && m_requestState == AZ::IO::IStreamerTypes::RequestStatus::Completed) + { + if (m_dataStream->IsFullyLoaded()) + { + AssetHandler::LoadResult result = + m_assetHandler->LoadAssetDataFromStream(asset, m_dataStream, m_loadParams.m_assetLoadFilterCB); + loadedSuccessfully = (result == AssetHandler::LoadResult::LoadComplete); + } + } + + return loadedSuccessfully; + } + + private: + AZStd::shared_ptr m_dataStream; + AssetLoadParameters m_loadParams{}; + AZ::IO::IStreamerTypes::RequestStatus m_requestState{ AZ::IO::IStreamerTypes::RequestStatus::Pending}; + bool m_isReload{ false }; + bool m_signalLoaded{ false }; + }; + + + /** + * Utility class to wait when a blocking load is requested for an asset that's already loading asynchronously. + * Uses the BlockingAssetLoadBus to detect completion, and a semaphore to signal it. + */ + + class WaitForAsset + : public BlockingAssetLoadBus::Handler + { + public: + AZ_CLASS_ALLOCATOR(WaitForAsset, ThreadPoolAllocator, 0); + + + WaitForAsset(const Asset& assetToWaitFor, bool shouldDispatchEvents) + : m_assetData(assetToWaitFor) + , m_shouldDispatchEvents(shouldDispatchEvents) + { + // Track all blocking requests with the AssetManager. This enables load jobs to potentially get routed + // to the thread that's currently blocking waiting on the load job to complete. + AssetManager::Instance().AddBlockingRequest(m_assetData.GetId(), this); + } + + ~WaitForAsset() override + { + // Stop tracking the blocking request, which will ensure that load jobs won't be provided to this instance + // for processing. + AssetManager::Instance().RemoveBlockingRequest(m_assetData.GetId(), this); + + // It shouldn't be possible to destroy a blocking load request before the load job that it's blocked on + // has been processed, so assert if it ever happens, but make sure to process it just in case. + if (m_loadJob) + { + // (If a valid case is ever found where this can occur, it should be safe to remove the assert) + AZ_Assert(false, "Blocking load request is being deleted before it could process the blocking load."); + ProcessLoadJob(); + } + } + + // Provides a blocked load with a LoadJob to process while it's blocking. + // Returns true if it can be queued, false if it can't. + bool QueueAssetLoadJob(LoadAssetJob* loadJob) + { + if(m_shouldDispatchEvents) + { + // Any load job that is going to be dispatching events should not accept additional work since dispatching events + // can lead to more code that's blocking on an asset load which prevents us from finishing the dispatch + // and doing the assigned work. + // Specifically, if dispatching leads to a second block call, the load job will be assigned to the first block call, + // which will never be completed until the second block call is finished. If both blocks are on the same asset, + // we end up deadlocked. + return false; + } + + AZStd::scoped_lock mutexLock(m_loadJobMutex); + + AZ_Assert(!m_loadJob, "Trying to process multiple load jobs for the same asset with the same blocking handler."); + if (!m_loadJob) + { + m_loadJob = loadJob; + m_waitEvent.release(); + return true; + } + + return false; + } + + void OnLoadComplete() override + { + Finish(); + } + + void OnLoadCanceled([[maybe_unused]] const AssetId assetId) override + { + Finish(); + } + + void WaitUntilReady() + { + BusConnect(m_assetData.GetId()); + + Wait(); + + BusDisconnect(m_assetData.GetId()); + } + + protected: + void Wait() + { + AZ_PROFILE_SCOPE(AzCore, "WaitForAsset - %s", m_assetData.GetHint().c_str()); + + // Continue to loop until the load completes. (Most of the time in the loop will be spent in a thread-blocking state) + while (!m_loadCompleted) + { + if (m_shouldDispatchEvents) + { + // The event will wake up either when the load finishes, a load job is queued for processing, or every + // N milliseconds to see if it should dispatch events. + constexpr int MaxWaitBetweenDispatchMs = 1; + while (!m_waitEvent.try_acquire_for(AZStd::chrono::milliseconds(MaxWaitBetweenDispatchMs))) + { + AssetManager::Instance().DispatchEvents(); + } } else { - ++asset; + + // Don't wake up until a load job is queued for processing or the load is entirely finished. + m_waitEvent.acquire(); } + + // Check to see if any load jobs have been provided for this thread to process. + // (Load jobs will attempt to reuse blocked threads before spinning off new job threads) + ProcessLoadJob(); } - // Second, release the assets themselves - - AZStd::vector assetsToRelease; - - for(auto&& asset : m_assets) + // Pump the AssetBus function queue once more after the load has completed in case additional + // functions have been queued between the last call to DispatchEvents and the completion + // of the current load job + if (m_shouldDispatchEvents) { - if(asset.second->m_weakUseCount == 0) + AssetManager::Instance().DispatchEvents(); + } + } + + void Finish() + { + AZ_PROFILE_FUNCTION(AzCore); + m_loadCompleted = true; + m_waitEvent.release(); + } + + bool ProcessLoadJob() + { + AZStd::scoped_lock mutexLock(m_loadJobMutex); + bool jobProcessed = false; + + if (m_loadJob) + { + m_loadJob->Process(); + if (m_loadJob->IsAutoDelete()) { - // Keep a separate list of assets to release, because releasing them will modify the m_assets list that we're - // currently looping on. - assetsToRelease.push_back(asset.second); + delete m_loadJob; + } + m_loadJob = nullptr; + jobProcessed = true; + } + + return jobProcessed; + } + + Asset m_assetData; + AZStd::binary_semaphore m_waitEvent; + const bool m_shouldDispatchEvents{ false }; + LoadAssetJob* m_loadJob{ nullptr }; + AZStd::mutex m_loadJobMutex; + AZStd::atomic_bool m_loadCompleted{ false }; + }; + + + /* + * This class processes async AssetDatabase save jobs + */ + class SaveAssetJob + : public AssetDatabaseAsyncJob + { + public: + AZ_CLASS_ALLOCATOR(SaveAssetJob, ThreadPoolAllocator, 0); + + SaveAssetJob(JobContext* jobContext, AssetManager* owner, const Asset& asset, AssetHandler* assetHandler) + : AssetDatabaseAsyncJob(jobContext, true, owner, asset, assetHandler) + { + } + + ~SaveAssetJob() override + { + } + + void Process() override + { + SaveAsset(); + } + + void SaveAsset() + { + auto asset = m_asset.GetStrongReference(); + AZ_PROFILE_FUNCTION(AzCore); + bool isSaved = false; + AssetStreamInfo saveInfo = m_owner->GetSaveStreamInfoForAsset(asset.GetId(), asset.GetType()); + if (saveInfo.IsValid()) + { + IO::FileIOStream stream(saveInfo.m_streamName.c_str(), saveInfo.m_streamFlags); + stream.Seek(saveInfo.m_dataOffset, IO::GenericStream::SeekMode::ST_SEEK_BEGIN); + isSaved = m_assetHandler->SaveAssetData(asset, &stream); + } + // queue broadcast message for delivery on game thread + AssetBus::QueueEvent(asset.GetId(), &AssetBus::Events::OnAssetSaved, asset, isSaved); + } + }; + + ////////////////////////////////////////////////////////////////////////// + // Globals + EnvironmentVariable AssetManager::s_assetDB = nullptr; + ////////////////////////////////////////////////////////////////////////// + + //========================================================================= + // AssetDatabaseJob + // [4/3/2014] + //========================================================================= + AssetDatabaseJob::AssetDatabaseJob(AssetManager* owner, const Asset& asset, AssetHandler* assetHandler) + { + m_owner = owner; + m_asset = AssetInternal::WeakAsset(asset); + m_assetHandler = assetHandler; + owner->AddJob(this); + } + + //========================================================================= + // ~AssetDatabaseJob + // [4/3/2014] + //========================================================================= + AssetDatabaseJob::~AssetDatabaseJob() + { + // Make sure that the asset reference is cleared out prior to removing the job registration. + // It's possible that clearing this reference will trigger the cleanup code for the asset, so if we wait for the + // destructor to clear it *after* the RemoveJob call, then HasActiveJobsOrStreamerRequests() will be able to return + // false even though the job is still executing asset-related code. + m_asset = {}; + m_owner->RemoveJob(this); + } + + //========================================================================= + // Create + // [6/12/2012] + //========================================================================= + bool AssetManager::Create(const Descriptor& desc) + { + AZ_Assert(!s_assetDB || !s_assetDB.Get(), "AssetManager already created!"); + + if (!s_assetDB) + { + s_assetDB = Environment::CreateVariable(kAssetDBInstanceVarName); + } + if (!s_assetDB.Get()) + { + s_assetDB.Set(aznew AssetManager(desc)); + } + + return true; + } + + //========================================================================= + // Destroy + // [6/12/2012] + //========================================================================= + void AssetManager::Destroy() + { + AZ_Assert(s_assetDB, "AssetManager not created!"); + delete (*s_assetDB); + *s_assetDB = nullptr; + } + + //========================================================================= + // IsReady + //========================================================================= + bool AssetManager::IsReady() + { + if (!s_assetDB) + { + s_assetDB = Environment::FindVariable(kAssetDBInstanceVarName); + } + + return s_assetDB && *s_assetDB; + } + + //========================================================================= + // Instance + //========================================================================= + AssetManager& AssetManager::Instance() + { + if (!s_assetDB) + { + s_assetDB = Environment::FindVariable(kAssetDBInstanceVarName); + } + + AZ_Assert(s_assetDB && *s_assetDB, "AssetManager not created!"); + return *(*s_assetDB); + } + + bool AssetManager::SetInstance(AssetManager* assetManager) + { + if (!s_assetDB) + { + s_assetDB = Environment::CreateVariable(kAssetDBInstanceVarName); + } + + // The old instance needs to be null or else it will leak on the assignment. + AZ_Assert(!(*s_assetDB), + "AssetManager::SetInstance was called without first destroying the old instance and setting it to nullptr. " + "This will cause the previous AssetManager instance to leak." ); + + (*s_assetDB) = assetManager; + return true; + } + + //========================================================================= + // AssetDatabase + // [6/12/2012] + //========================================================================= + AssetManager::AssetManager(const AssetManager::Descriptor& desc) + : m_mainThreadId(AZStd::this_thread::get_id()) + , m_debugAssetEvents(AZ::Interface::Get()) + { + (void)desc; + + AssetManagerBus::Handler::BusConnect(); + } + + //========================================================================= + // ~AssetManager + // [6/12/2012] + //========================================================================= + AssetManager::~AssetManager() + { + PrepareShutDown(); + + // Acquire the asset lock to make sure nobody else is trying to do anything fancy with assets + AZStd::scoped_lock assetLock(m_assetMutex); + + while (!m_handlers.empty()) + { + AssetHandlerMap::iterator it = m_handlers.begin(); + AssetHandler* handler = it->second; + UnregisterHandler(handler); + delete handler; + } + + AssetManagerBus::Handler::BusDisconnect(); + } + + //========================================================================= + // DispatchEvents + // [04/02/2014] + //========================================================================= + void AssetManager::DispatchEvents() + { + AZ_PROFILE_FUNCTION(AzCore); + AssetManagerNotificationBus::Broadcast(&AssetManagerNotificationBus::Events::OnAssetEventsDispatchBegin); + while (AssetBus::QueuedEventCount()) + { + AssetBus::ExecuteQueuedEvents(); + } + AssetManagerNotificationBus::Broadcast(&AssetManagerNotificationBus::Events::OnAssetEventsDispatchEnd); + } + + //========================================================================= + void AssetManager::SetAssetInfoUpgradingEnabled(bool enable) + { + m_assetInfoUpgradingEnabled = enable; + } + + bool AssetManager::GetAssetInfoUpgradingEnabled() const + { +#if defined(_RELEASE) + // in release ("FINAL") builds, we never do this. + return false; +#else + return m_assetInfoUpgradingEnabled; +#endif + } + + bool AssetManager::ShouldCancelAllActiveJobs() const + { + return m_cancelAllActiveJobs; + } + + void AssetManager::SetParallelDependentLoadingEnabled(bool enable) + { + m_enableParallelDependentLoading = enable; + } + + bool AssetManager::GetParallelDependentLoadingEnabled() const + { + return m_enableParallelDependentLoading; + } + + void AssetManager::PrepareShutDown() + { + m_cancelAllActiveJobs = true; + + // We want to ensure that no active load jobs are in flight and + // therefore we need to wait till all jobs have completed. Please note that jobs get deleted automatically once they complete. + WaitForActiveJobsAndStreamerRequestsToFinish(); + + m_ownedAssetContainerLookup.clear(); + m_ownedAssetContainers.clear(); + m_assetContainers.clear(); + + // Ensure that there are no queued events on the AssetBus + DispatchEvents(); + } + + void AssetManager::WaitForActiveJobsAndStreamerRequestsToFinish() + { + while (HasActiveJobsOrStreamerRequests()) + { + DispatchEvents(); + AZStd::this_thread::yield(); + } + } + + //========================================================================= + // RegisterHandler + // [7/9/2014] + //========================================================================= + void AssetManager::RegisterHandler(AssetHandler* handler, const AssetType& assetType) + { + AZ_Error("AssetDatabase", handler != nullptr, "Attempting to register a null asset handler!"); + if (handler) + { + if (m_handlers.insert(AZStd::make_pair(assetType, handler)).second) + { + handler->m_nHandledTypes++; + } + else + { + AZ_Error("AssetDatabase", false, "Asset type %s already has a handler registered! New registration ignored!", assetType.ToString().c_str()); + } + } + } + + //========================================================================= + // UnregisterHandler + // [7/9/2014] + //========================================================================= + void AssetManager::UnregisterHandler(AssetHandler* handler) + { + AZ_Error("AssetDatabase", handler != nullptr, "Attempting to unregister a null asset handler!"); + if (handler) + { + for (AssetHandlerMap::iterator it = m_handlers.begin(); it != m_handlers.end(); /*++it*/) + { + if (it->second == handler) + { + // When unregistering asset handlers, it's possible that there are still some load jobs that have "finished" but + // haven't destroyed themselves yet by the time the asset handler gets unregistered. LoadAssetJob contains a weak + // asset reference that doesn't clear until the job is destroyed, which happens *after* the OnAssetReady + // notification is triggered. If the thread gets swapped out between the OnAssetReady and the job destruction, + // the job will still be holding onto an asset reference for this asset handler, and it will trigger the + // error below. To ensure that this case doesn't happen, we will instead call + // WaitForActiveJobsAndStreamerRequestsToFinish() to make sure that any in-process jobs have completely cleaned + // themselves up before proceeding forward. + // One example of this pattern occurs in unit tests, where the test loads an asset, validates it, destroys the + // asset, and unregisters the handler, all in rapid succession. This would extremely infrequently + // (~1 per 5000 runs) trigger the error case if we didn't wait for the jobs to finish here. + WaitForActiveJobsAndStreamerRequestsToFinish(); + + { + // this scope is used to control the scope of the lock. + AZStd::lock_guard assetLock(m_assetMutex); + for (const auto &assetEntry : m_assets) + { + // is the handler that handles this type, this handler we're removing? + if (assetEntry.second->m_registeredHandler == handler) + { + AZ_Error("AssetManager", false, "Asset handler for %s is being removed, when assetid %s is still loaded!\n", + assetEntry.second->GetType().ToString().c_str(), + assetEntry.second->GetId().ToString().c_str()); // this will write the name IF AVAILABLE + assetEntry.second->UnregisterWithHandler(); + } + } + } + it = m_handlers.erase(it); + handler->m_nHandledTypes--; + } + else + { + ++it; } } + } + } - for(auto&& asset : assetsToRelease) + //========================================================================= + // RegisterCatalog + // [8/27/2012] + //========================================================================= + void AssetManager::RegisterCatalog(AssetCatalog* catalog, const AssetType& assetType) + { + AZ_Error("AssetDatabase", catalog != nullptr, "Attempting to register a null catalog!"); + if (catalog) + { + AZStd::scoped_lock l(m_catalogMutex); + if (m_catalogs.insert(AZStd::make_pair(assetType, catalog)).second == false) { - bool removeFromHash = asset->IsRegisterReadonlyAndShareable(); - // default creation token implies that the asset was not created by the asset manager and therefore it cannot be in the asset map. - removeFromHash = asset->m_creationToken == s_defaultCreationToken ? false : removeFromHash; + AZ_Error("AssetDatabase", false, "Asset type %s already has a catalog registered! New registration ignored!", assetType.ToString().c_str()); + } + } + } - ReleaseAsset(asset, asset->GetId(), asset->GetType(), removeFromHash, asset->m_creationToken); + //========================================================================= + // UnregisterCatalog + // [8/27/2012] + //========================================================================= + void AssetManager::UnregisterCatalog(AssetCatalog* catalog) + { + AZ_Error("AssetDatabase", catalog != nullptr, "Attempting to unregister a null catalog!"); + if (catalog) + { + AZStd::scoped_lock l(m_catalogMutex); + for (AssetCatalogMap::iterator iter = m_catalogs.begin(); iter != m_catalogs.end(); ) + { + if (iter->second == catalog) + { + iter = m_catalogs.erase(iter); + } + else + { + ++iter; + } + + } + } + } + + //========================================================================= + // GetHandledAssetTypes + // [6/27/2016] + //========================================================================= + void AssetManager::GetHandledAssetTypes(AssetCatalog* catalog, AZStd::vector& assetTypes) + { + for (AssetCatalogMap::iterator iter = m_catalogs.begin(); iter != m_catalogs.end(); iter++) + { + if (iter->second == catalog) + { + assetTypes.push_back(iter->first); + } + } + } + + void AssetManager::SuspendAssetRelease() + { + ++m_suspendAssetRelease; + } + + void AssetManager::ResumeAssetRelease() + { + if(--m_suspendAssetRelease != 0) + { + return; + } + + AZStd::scoped_lock assetLock(m_assetMutex); + // First, release any containers that were loading this asset + for (auto asset = m_assets.begin();asset != m_assets.end();) + { + if (asset->second->m_useCount == 0) + { + auto releaseAsset = asset->second; + ++asset; + ReleaseAssetContainersForAsset(releaseAsset); + } + else + { + ++asset; } } - AssetData::AssetStatus AssetManager::BlockUntilLoadComplete(const Asset& asset) + // Second, release the assets themselves + + AZStd::vector assetsToRelease; + + for(auto&& asset : m_assets) { - if(asset.GetStatus() == AssetData::AssetStatus::NotLoaded) + if(asset.second->m_weakUseCount == 0) { - AZ_Error("AssetManager", false, "BlockUntilLoadComplete must be called after an asset has been queued for load. Asset %s (%s) is not queued for load", - asset.GetHint().c_str(), asset.GetId().ToString().c_str()); + // Keep a separate list of assets to release, because releasing them will modify the m_assets list that we're + // currently looping on. + assetsToRelease.push_back(asset.second); } - else if(!asset.IsReady()) - { - // If this is the main thread we'll need to call DispatchEvents to make sure the events we're waiting on actually fire - // since the main thread is typically responsible for calling DispatchEvents elsewhere - const bool shouldDispatch = AZStd::this_thread::get_id() == m_mainThreadId; - - // Wait for the asset and all queued dependencies to finish loading. - WaitForAsset blockingWait(asset, shouldDispatch); - - blockingWait.WaitUntilReady(); - } - - return asset.GetStatus(); } - //========================================================================= - // FindAsset - //========================================================================= - Asset AssetManager::FindAsset(const AssetId& assetId, AssetLoadBehavior assetReferenceLoadBehavior) + for(auto&& asset : assetsToRelease) { - // Look up the asset id in the catalog, and use the result of that instead. - // If assetId is a legacy id, assetInfo.m_assetId will be the canonical id. Otherwise, assetInfo.m_assetID == assetId. - // This is because only canonical ids are stored in m_assets (see below). - // Only do the look up if upgrading is enabled - AZ::Data::AssetInfo assetInfo; - if (GetAssetInfoUpgradingEnabled()) + bool removeFromHash = asset->IsRegisterReadonlyAndShareable(); + // default creation token implies that the asset was not created by the asset manager and therefore it cannot be in the asset map. + removeFromHash = asset->m_creationToken == s_defaultCreationToken ? false : removeFromHash; + + ReleaseAsset(asset, asset->GetId(), asset->GetType(), removeFromHash, asset->m_creationToken); + } + } + + AssetData::AssetStatus AssetManager::BlockUntilLoadComplete(const Asset& asset) + { + if(asset.GetStatus() == AssetData::AssetStatus::NotLoaded) + { + AZ_Error("AssetManager", false, "BlockUntilLoadComplete must be called after an asset has been queued for load. Asset %s (%s) is not queued for load", + asset.GetHint().c_str(), asset.GetId().ToString().c_str()); + } + else if(!asset.IsReady()) + { + // If this is the main thread we'll need to call DispatchEvents to make sure the events we're waiting on actually fire + // since the main thread is typically responsible for calling DispatchEvents elsewhere + const bool shouldDispatch = AZStd::this_thread::get_id() == m_mainThreadId; + + // Wait for the asset and all queued dependencies to finish loading. + WaitForAsset blockingWait(asset, shouldDispatch); + + blockingWait.WaitUntilReady(); + } + + return asset.GetStatus(); + } + + //========================================================================= + // FindAsset + //========================================================================= + Asset AssetManager::FindAsset(const AssetId& assetId, AssetLoadBehavior assetReferenceLoadBehavior) + { + // Look up the asset id in the catalog, and use the result of that instead. + // If assetId is a legacy id, assetInfo.m_assetId will be the canonical id. Otherwise, assetInfo.m_assetID == assetId. + // This is because only canonical ids are stored in m_assets (see below). + // Only do the look up if upgrading is enabled + AZ::Data::AssetInfo assetInfo; + if (GetAssetInfoUpgradingEnabled()) + { + AssetCatalogRequestBus::BroadcastResult(assetInfo, &AssetCatalogRequestBus::Events::GetAssetInfoById, assetId); + } + + // If the catalog is not available, use the original assetId + const AssetId& assetToFind(assetInfo.m_assetId.IsValid() ? assetInfo.m_assetId : assetId); + + AZStd::scoped_lock assetLock(m_assetMutex); + AssetMap::iterator it = m_assets.find(assetToFind); + if (it != m_assets.end()) + { + Asset asset(assetReferenceLoadBehavior); + asset.SetData(it->second); + + return asset; + } + return Asset(assetReferenceLoadBehavior); + } + + AZStd::pair GetEffectiveDeadlineAndPriority( + const AssetHandler& handler, AssetType assetType, const AssetLoadParameters& loadParams) + { + AZStd::chrono::milliseconds deadline; + AZ::IO::IStreamerTypes::Priority priority; + + handler.GetDefaultAssetLoadPriority(assetType, deadline, priority); + + if (loadParams.m_deadline) + { + deadline = loadParams.m_deadline.value(); + } + + if (loadParams.m_priority) + { + priority = loadParams.m_priority.value(); + } + + return make_pair(deadline, priority); + } + + //========================================================================= + // GetAsset + // [6/19/2012] + //========================================================================= + Asset AssetManager::GetAsset(const AssetId& assetId, const AssetType& assetType, AssetLoadBehavior assetReferenceLoadBehavior, const AssetLoadParameters& loadParams) + { + // If parallel dependent loads are disabled, just try to load the requested asset directly, and let it trigger + // dependent loads as they're encountered. + // Parallel dependent loads are disabled during asset building because there is no guarantee that dependency information + // will be available and complete until after all assets are finished building. + if(!GetParallelDependentLoadingEnabled()) + { + return GetAssetInternal(assetId, assetType, assetReferenceLoadBehavior, loadParams); + } + + // Otherwise, use Asset Containers to load all dependent assets in parallel. + + Asset asset = FindOrCreateAsset(assetId, assetType, assetReferenceLoadBehavior); + + if(!asset || (!loadParams.m_reloadMissingDependencies && asset.IsReady())) + { + // If the asset is already ready, just return it and skip the container + return AZStd::move(asset); + } + + auto container = GetAssetContainer(asset, loadParams); + + AZStd::scoped_lock lock(m_assetContainerMutex); + + m_ownedAssetContainers.insert({ container.get(), container }); + + // Only insert a new entry into m_ownedAssetContainerLookup if one doesn't already exist for this container. + // Because it's a multimap, it is possible to add duplicate entries by mistake. + bool entryExists = false; + auto rangeItr = m_ownedAssetContainerLookup.equal_range(assetId); + for (auto itr = rangeItr.first; itr != rangeItr.second; ++itr) + { + if (itr->second == container.get()) + { + entryExists = true; + break; + } + } + + // Entry for this container doesn't exist yet, so add it. + if (!entryExists) + { + m_ownedAssetContainerLookup.insert({ assetId, container.get() }); + } + + return asset; + } + + Asset AssetManager::GetAssetInternal(const AssetId& assetId, [[maybe_unused]] const AssetType& assetType, + AssetLoadBehavior assetReferenceLoadBehavior, const AssetLoadParameters& loadParams, AssetInfo assetInfo /*= () */, bool signalLoaded /*= false */) + { + AZ_PROFILE_FUNCTION(AzCore); + + AZ_Error("AssetDatabase", assetId.IsValid(), "GetAsset called with invalid asset Id."); + AZ_Error("AssetDatabase", !assetType.IsNull(), "GetAsset called with invalid asset type."); + bool assetMissing = false; + + { + AZ_PROFILE_SCOPE(AzCore, "GetAsset: GetAssetInfo"); + + // Attempt to look up asset info from catalog + // This is so that when assetId is a legacy id, we're operating on the canonical id anyway + if (!assetInfo.m_assetId.IsValid()) { AssetCatalogRequestBus::BroadcastResult(assetInfo, &AssetCatalogRequestBus::Events::GetAssetInfoById, assetId); } - // If the catalog is not available, use the original assetId - const AssetId& assetToFind(assetInfo.m_assetId.IsValid() ? assetInfo.m_assetId : assetId); + // If the asset was found in the catalog, ensure the type infos match + if (assetInfo.m_assetId.IsValid()) + { + AZ_Warning("AssetManager", assetInfo.m_assetType == assetType, + "Requested asset id %s with type %s, but type is actually %s.", + assetId.ToString().c_str(), assetType.ToString().c_str(), + assetInfo.m_assetType.ToString().c_str()); + } + else + { + AZ_Warning("AssetManager", false, "GetAsset called for asset which does not exist in asset catalog and cannot be loaded. Asset may be missing, not processed or moved. AssetId: %s", + assetId.ToString().c_str()); + // If asset not found, use the id and type given. We will create a valid asset, but it will likely get an error + // status below if the asset handler doesn't reroute it to a default asset. + assetInfo.m_assetId = assetId; + assetInfo.m_assetType = assetType; + assetMissing = true; + } + } + + AZ_PROFILE_SCOPE(AzCore, "GetAsset: %s", assetInfo.m_relativePath.c_str()); + AZ_ASSET_NAMED_SCOPE("GetAsset: %s", assetInfo.m_relativePath.c_str()); + + AZStd::shared_ptr dataStream; + AssetStreamInfo loadInfo; + bool triggerAssetErrorNotification = false; + bool wasUnloaded = false; + AssetHandler* handler = nullptr; + AssetData* assetData = nullptr; + Asset asset; // Used to hold a reference while job is dispatched and while outside of the assetMutex lock. + + // Control the scope of the assetMutex lock + { AZStd::scoped_lock assetLock(m_assetMutex); - AssetMap::iterator it = m_assets.find(assetToFind); - if (it != m_assets.end()) + bool isNewEntry = false; + + // check if asset already exists { - Asset asset(assetReferenceLoadBehavior); - asset.SetData(it->second); + AZ_PROFILE_SCOPE(AzCore, "GetAsset: FindAsset"); - return asset; - } - return Asset(assetReferenceLoadBehavior); - } - - AZStd::pair GetEffectiveDeadlineAndPriority( - const AssetHandler& handler, AssetType assetType, const AssetLoadParameters& loadParams) - { - AZStd::chrono::milliseconds deadline; - AZ::IO::IStreamerTypes::Priority priority; - - handler.GetDefaultAssetLoadPriority(assetType, deadline, priority); - - if (loadParams.m_deadline) - { - deadline = loadParams.m_deadline.value(); - } - - if (loadParams.m_priority) - { - priority = loadParams.m_priority.value(); - } - - return make_pair(deadline, priority); - } - - //========================================================================= - // GetAsset - // [6/19/2012] - //========================================================================= - Asset AssetManager::GetAsset(const AssetId& assetId, const AssetType& assetType, AssetLoadBehavior assetReferenceLoadBehavior, const AssetLoadParameters& loadParams) - { - // If parallel dependent loads are disabled, just try to load the requested asset directly, and let it trigger - // dependent loads as they're encountered. - // Parallel dependent loads are disabled during asset building because there is no guarantee that dependency information - // will be available and complete until after all assets are finished building. - if(!GetParallelDependentLoadingEnabled()) - { - return GetAssetInternal(assetId, assetType, assetReferenceLoadBehavior, loadParams); - } - - // Otherwise, use Asset Containers to load all dependent assets in parallel. - - Asset asset = FindOrCreateAsset(assetId, assetType, assetReferenceLoadBehavior); - - if(!asset || (!loadParams.m_reloadMissingDependencies && asset.IsReady())) - { - // If the asset is already ready, just return it and skip the container - return AZStd::move(asset); - } - - auto container = GetAssetContainer(asset, loadParams); - - AZStd::scoped_lock lock(m_assetContainerMutex); - - m_ownedAssetContainers.insert({ container.get(), container }); - - // Only insert a new entry into m_ownedAssetContainerLookup if one doesn't already exist for this container. - // Because it's a multimap, it is possible to add duplicate entries by mistake. - bool entryExists = false; - auto rangeItr = m_ownedAssetContainerLookup.equal_range(assetId); - for (auto itr = rangeItr.first; itr != rangeItr.second; ++itr) - { - if (itr->second == container.get()) + AssetMap::iterator it = m_assets.find(assetInfo.m_assetId); + if (it != m_assets.end()) { - entryExists = true; - break; - } - } - - // Entry for this container doesn't exist yet, so add it. - if (!entryExists) - { - m_ownedAssetContainerLookup.insert({ assetId, container.get() }); - } - - return asset; - } - - Asset AssetManager::GetAssetInternal(const AssetId& assetId, [[maybe_unused]] const AssetType& assetType, - AssetLoadBehavior assetReferenceLoadBehavior, const AssetLoadParameters& loadParams, AssetInfo assetInfo /*= () */, bool signalLoaded /*= false */) - { - AZ_PROFILE_FUNCTION(AzCore); - - AZ_Error("AssetDatabase", assetId.IsValid(), "GetAsset called with invalid asset Id."); - AZ_Error("AssetDatabase", !assetType.IsNull(), "GetAsset called with invalid asset type."); - bool assetMissing = false; - - { - AZ_PROFILE_SCOPE(AzCore, "GetAsset: GetAssetInfo"); - - // Attempt to look up asset info from catalog - // This is so that when assetId is a legacy id, we're operating on the canonical id anyway - if (!assetInfo.m_assetId.IsValid()) - { - AssetCatalogRequestBus::BroadcastResult(assetInfo, &AssetCatalogRequestBus::Events::GetAssetInfoById, assetId); - } - - // If the asset was found in the catalog, ensure the type infos match - if (assetInfo.m_assetId.IsValid()) - { - AZ_Warning("AssetManager", assetInfo.m_assetType == assetType, - "Requested asset id %s with type %s, but type is actually %s.", - assetId.ToString().c_str(), assetType.ToString().c_str(), - assetInfo.m_assetType.ToString().c_str()); + assetData = it->second; + asset.SetData(assetData); } else { - AZ_Warning("AssetManager", false, "GetAsset called for asset which does not exist in asset catalog and cannot be loaded. Asset may be missing, not processed or moved. AssetId: %s", - assetId.ToString().c_str()); - - // If asset not found, use the id and type given. We will create a valid asset, but it will likely get an error - // status below if the asset handler doesn't reroute it to a default asset. - assetInfo.m_assetId = assetId; - assetInfo.m_assetType = assetType; - assetMissing = true; + isNewEntry = true; } } - AZ_PROFILE_SCOPE(AzCore, "GetAsset: %s", assetInfo.m_relativePath.c_str()); - AZ_ASSET_NAMED_SCOPE("GetAsset: %s", assetInfo.m_relativePath.c_str()); - - AZStd::shared_ptr dataStream; - AssetStreamInfo loadInfo; - bool triggerAssetErrorNotification = false; - bool wasUnloaded = false; - AssetHandler* handler = nullptr; - AssetData* assetData = nullptr; - Asset asset; // Used to hold a reference while job is dispatched and while outside of the assetMutex lock. - - // Control the scope of the assetMutex lock { - AZStd::scoped_lock assetLock(m_assetMutex); - bool isNewEntry = false; + AZ_PROFILE_SCOPE(AzCore, "GetAsset: FindAssetHandler"); - // check if asset already exists + // find the asset type handler + AssetHandlerMap::iterator handlerIt = m_handlers.find(assetInfo.m_assetType); + AZ_Error("AssetDatabase", handlerIt != m_handlers.end(), "No handler was registered for this asset [type:%s id:%s]!", + assetInfo.m_assetType.ToString().c_str(), assetInfo.m_assetId.ToString().c_str()); + if (handlerIt != m_handlers.end()) { - AZ_PROFILE_SCOPE(AzCore, "GetAsset: FindAsset"); - - AssetMap::iterator it = m_assets.find(assetInfo.m_assetId); - if (it != m_assets.end()) + // Create the asset ptr and insert it into our asset map. + handler = handlerIt->second; + if (isNewEntry) { - assetData = it->second; - asset.SetData(assetData); - } - else - { - isNewEntry = true; - } - } + AZ_PROFILE_SCOPE(AzCore, "GetAsset: CreateAsset"); - { - AZ_PROFILE_SCOPE(AzCore, "GetAsset: FindAssetHandler"); - - // find the asset type handler - AssetHandlerMap::iterator handlerIt = m_handlers.find(assetInfo.m_assetType); - AZ_Error("AssetDatabase", handlerIt != m_handlers.end(), "No handler was registered for this asset [type:%s id:%s]!", - assetInfo.m_assetType.ToString().c_str(), assetInfo.m_assetId.ToString().c_str()); - if (handlerIt != m_handlers.end()) - { - // Create the asset ptr and insert it into our asset map. - handler = handlerIt->second; - if (isNewEntry) + assetData = handler->CreateAsset(assetInfo.m_assetId, assetInfo.m_assetType); + if (assetData) { - AZ_PROFILE_SCOPE(AzCore, "GetAsset: CreateAsset"); - - assetData = handler->CreateAsset(assetInfo.m_assetId, assetInfo.m_assetType); - if (assetData) - { - assetData->m_assetId = assetInfo.m_assetId; - assetData->m_creationToken = ++m_creationTokenGenerator; - assetData->RegisterWithHandler(handler); - asset.SetData(assetData); - } - else - { - AZ_Error("AssetDatabase", false, "Failed to create asset with (id=%s, type=%s)", - assetInfo.m_assetId.ToString().c_str(), - assetInfo.m_assetType.ToString().c_str()); - } - } - } - } - - if (assetData) - { - if (isNewEntry && assetData->IsRegisterReadonlyAndShareable()) - { - AZ_PROFILE_SCOPE(AzCore, "GetAsset: RegisterAsset"); - m_assets.insert(AZStd::make_pair(assetInfo.m_assetId, assetData)); - } - if (assetData->GetStatus() == AssetData::AssetStatus::NotLoaded) - { - assetData->m_status = AssetData::AssetStatus::Queued; - UpdateDebugStatus(asset); - loadInfo = GetModifiedLoadStreamInfoForAsset(asset, handler); - wasUnloaded = true; - - if (loadInfo.IsValid()) - { - // Create the AssetDataStream instance here so it can claim an asset reference inside the lock (for a total - // count of 2 before starting the load), otherwise the refcount will be 1, and the load could be canceled - // before it is started, which creates state consistency issues. - - dataStream = AZStd::make_shared(handler->GetAssetBufferAllocator()); + assetData->m_assetId = assetInfo.m_assetId; + assetData->m_creationToken = ++m_creationTokenGenerator; + assetData->RegisterWithHandler(handler); + asset.SetData(assetData); } else { - // Asset creation was successful, but asset loading isn't, so trigger the OnAssetError notification - triggerAssetErrorNotification = true; + AZ_Error("AssetDatabase", false, "Failed to create asset with (id=%s, type=%s)", + assetInfo.m_assetId.ToString().c_str(), + assetInfo.m_assetType.ToString().c_str()); } } } } - if (!assetInfo.m_relativePath.empty()) + if (assetData) { - asset.m_assetHint = assetInfo.m_relativePath; - } - - asset.SetAutoLoadBehavior(assetReferenceLoadBehavior); - - // We delay queueing the async file I/O until we release m_assetMutex - if (dataStream) - { - AZ_Assert(loadInfo.IsValid(), "Expected valid stream info when dataStream is valid."); - constexpr bool isReload = false; - QueueAsyncStreamLoad(asset, dataStream, loadInfo, isReload, - handler, loadParams, signalLoaded); - } - else - { - AZ_Assert(!loadInfo.IsValid(), "Expected invalid stream info when dataStream is invalid."); - - if(!wasUnloaded && assetData && assetData->GetStatus() == AssetData::AssetStatus::Queued) + if (isNewEntry && assetData->IsRegisterReadonlyAndShareable()) { - auto&& [deadline, priority] = GetEffectiveDeadlineAndPriority(*handler, assetData->GetType(), loadParams); - - RescheduleStreamerRequest(assetData->GetId(), deadline, priority); + AZ_PROFILE_SCOPE(AzCore, "GetAsset: RegisterAsset"); + m_assets.insert(AZStd::make_pair(assetInfo.m_assetId, assetData)); } - - if (triggerAssetErrorNotification) + if (assetData->GetStatus() == AssetData::AssetStatus::NotLoaded) { - // If the asset was missing from the catalog, we already printed an error, so we can skip printing this one. - if (!assetMissing) + assetData->m_status = AssetData::AssetStatus::Queued; + UpdateDebugStatus(asset); + loadInfo = GetModifiedLoadStreamInfoForAsset(asset, handler); + wasUnloaded = true; + + if (loadInfo.IsValid()) { - AZ_Error("AssetDatabase", false, "Failed to retrieve required information for asset %s (%s)", - assetInfo.m_assetId.ToString().c_str(), - assetInfo.m_relativePath.empty() ? "" : assetInfo.m_relativePath.c_str()); - } + // Create the AssetDataStream instance here so it can claim an asset reference inside the lock (for a total + // count of 2 before starting the load), otherwise the refcount will be 1, and the load could be canceled + // before it is started, which creates state consistency issues. - PostLoad(asset, false, false, handler); - } - } - - return asset; - } - - void AssetManager::UpdateDebugStatus(const AZ::Data::Asset& asset) - { - if(!m_debugAssetEvents) - { - m_debugAssetEvents = AZ::Interface::Get(); - } - - if(m_debugAssetEvents) - { - m_debugAssetEvents->AssetStatusUpdate(asset.GetId(), asset.GetStatus()); - } - } - - Asset AssetManager::FindOrCreateAsset(const AssetId& assetId, const AssetType& assetType, AssetLoadBehavior assetReferenceLoadBehavior) - { - AZStd::scoped_lock asset_lock(m_assetMutex); - - Asset asset = FindAsset(assetId, assetReferenceLoadBehavior); - - if (!asset) - { - asset = CreateAsset(assetId, assetType, assetReferenceLoadBehavior); - } - - return asset; - } - - //========================================================================= - // CreateAsset - // [8/31/2012] - //========================================================================= - Asset AssetManager::CreateAsset(const AssetId& assetId, const AssetType& assetType, AssetLoadBehavior assetReferenceLoadBehavior) - { - AZStd::scoped_lock asset_lock(m_assetMutex); - - // check if asset already exist - AssetMap::iterator it = m_assets.find(assetId); - if (it == m_assets.end()) - { - // find the asset type handler - AssetHandlerMap::iterator handlerIt = m_handlers.find(assetType); - AZ_Error("AssetDatabase", handlerIt != m_handlers.end(), "No handler was registered for this asset (id=%s, type=%s)!", assetId.ToString().c_str(), assetType.ToString().c_str()); - if (handlerIt != m_handlers.end()) - { - // Create the asset ptr - AssetHandler* handler = handlerIt->second; - auto assetData = handler->CreateAsset(assetId, assetType); - AZ_Error("AssetDatabase", assetData, "Failed to create asset with (id=%s, type=%s)", assetId.ToString().c_str(), assetType.ToString().c_str()); - if (assetData) - { - assetData->m_assetId = assetId; - assetData->m_creationToken = ++m_creationTokenGenerator; - assetData->RegisterWithHandler(handler); - if (assetData->IsRegisterReadonlyAndShareable()) - { - m_assets.insert(AZStd::make_pair(assetId, assetData)); - } - - Asset asset(assetReferenceLoadBehavior); - asset.SetData(assetData); - - return asset; - } - } - } - else - { - AZ_Error("AssetDatabase", false, "Asset (id=%s, type=%s) already exists in the database! Asset not created!", assetId.ToString().c_str(), assetType.ToString().c_str()); - } - return Asset(assetReferenceLoadBehavior); - } - - //========================================================================= - // ReleaseAsset - //========================================================================= - void AssetManager::ReleaseAsset(AssetData* asset, AssetId assetId, AssetType assetType, bool removeAssetFromHash, int creationToken) - { - AZ_Assert(asset, "Cannot release NULL AssetPtr!"); - - if(m_suspendAssetRelease) - { - return; - } - - bool wasInAssetsHash = false; // We do support assets that are not registered in the asset manager (with the same ID too). - bool destroyAsset = false; - - if (removeAssetFromHash) - { - AZStd::scoped_lock asset_lock(m_assetMutex); - AssetMap::iterator it = m_assets.find(assetId); - // need to check the count again in here in case - // someone was trying to get the asset on another thread - // Set it to -1 so only this thread will attempt to clean up the cache and delete the asset - int expectedRefCount = 0; - // if the assetId is not in the map or if the identifierId - // do not match it implies that the asset has been already destroyed. - // if the usecount is non zero it implies that we cannot destroy this asset. - if (it != m_assets.end() && it->second->m_creationToken == creationToken && it->second->m_weakUseCount.compare_exchange_strong(expectedRefCount, -1)) - { - wasInAssetsHash = true; - m_assets.erase(it); - destroyAsset = true; - } - } - else - { - // if an asset is not shareable, it implies that that asset is not in the map - // and therefore once its ref count goes to zero it cannot go back up again and therefore we can safely destroy it - destroyAsset = true; - } - - // We have to separate the code which was removing the asset from the m_asset map while being locked, but then actually destroy the asset - // while the lock is not held since destroying the asset while holding the lock can cause a deadlock. - if (destroyAsset) - { - if(m_debugAssetEvents) - { - m_debugAssetEvents->ReleaseAsset(assetId); - } - - // find the asset type handler - AssetHandlerMap::iterator handlerIt = m_handlers.find(assetType); - if (handlerIt != m_handlers.end()) - { - AssetHandler* handler = handlerIt->second; - if (asset) - { - handler->DestroyAsset(asset); - - if (wasInAssetsHash) - { - AssetBus::QueueEvent(assetId, &AssetBus::Events::OnAssetUnloaded, assetId, assetType); - } - } - } - else - { - AZ_Assert(false, "No handler was registered for asset of type %s but it was still in the AssetManager as %s", assetType.ToString().c_str(), asset->GetId().ToString().c_str()); - } - } - } - - void AssetManager::OnAssetUnused(AssetData* asset) - { - // If we're currently suspending asset releases, don't get rid of the asset containers either. - if (m_suspendAssetRelease) - { - return; - } - - ReleaseAssetContainersForAsset(asset); - } - - void AssetManager::ReleaseAssetContainersForAsset(AssetData* asset) - { - // Release any containers that were loading this asset - AZStd::scoped_lock lock(m_assetContainerMutex); - - AssetId assetId = asset->GetId(); - - auto rangeItr = m_ownedAssetContainerLookup.equal_range(assetId); - - for (auto itr = rangeItr.first; itr != rangeItr.second;) - { - AZ_Assert(itr->second->GetContainerAssetId() == assetId, - "Asset container is incorrectly associated with the asset being destroyed."); - itr->second->ClearRootAsset(); - - // Only remove owned asset containers if they aren't currently loading. - // If they *are* currently loading, removing them could cause dependent asset loads that were triggered to - // remain in a perpetual loading state. Instead, leave the containers for now, they will get removed during - // the OnAssetContainerReady callback. - if (!itr->second->IsLoading()) - { - m_ownedAssetContainers.erase(itr->second); - itr = m_ownedAssetContainerLookup.erase(itr); - } - else - { - ++itr; - } - } - } - - //========================================================================= - // SaveAsset - // [9/13/2012] - //========================================================================= - void AssetManager::SaveAsset(const Asset& asset) - { - AssetHandler* handler; - { - // find the asset type handler - AssetHandlerMap::iterator handlerIt = m_handlers.find(asset.GetType()); - AZ_Assert(handlerIt != m_handlers.end(), "No handler was registered for this asset [type:%s id:%s]!", asset.GetType().ToString().c_str(), asset.GetId().ToString().c_str()); - handler = handlerIt->second; - } - - // start the data saving - SaveAssetJob* saveJob = aznew SaveAssetJob(JobContext::GetGlobalContext(), this, asset, handler); - saveJob->Start(); - } - - //========================================================================= - // ReloadAsset - //========================================================================= - void AssetManager::ReloadAsset(const AssetId& assetId, AssetLoadBehavior assetReferenceLoadBehavior, bool isAutoReload) - { - AZStd::scoped_lock assetLock(m_assetMutex); - auto assetIter = m_assets.find(assetId); - - if (assetIter == m_assets.end() || assetIter->second->IsLoading()) - { - // Only existing assets can be reloaded. - return; - } - - auto reloadIter = m_reloads.find(assetId); - if (reloadIter != m_reloads.end()) - { - auto curStatus = reloadIter->second.GetData()->GetStatus(); - // We don't need another reload if we're in "Queued" state because that reload has not actually begun yet. - // If it is in Loading state we want to pass by and allow the new assetData to be created and start the new reload - // As the current load could already be stale - if (curStatus == AssetData::AssetStatus::Queued) - { - return; - } - else if (curStatus == AssetData::AssetStatus::Loading || curStatus == AssetData::AssetStatus::StreamReady) - { - // Don't flood the tick bus - this value will be checked when the asset load completes - reloadIter->second->SetRequeue(true); - return; - } - } - - AssetData* newAssetData = nullptr; - AssetHandler* handler = nullptr; - - bool preventAutoReload = isAutoReload && assetIter->second && !assetIter->second->HandleAutoReload(); - - // when Asset's constructor is called (the one that takes an AssetData), it updates the AssetID - // of the Asset to be the real latest canonical assetId of the asset, so we cache that here instead of have it happen - // implicitly and repeatedly for anything we call. - Asset currentAsset(assetIter->second, AZ::Data::AssetLoadBehavior::Default); - - if (!assetIter->second->IsRegisterReadonlyAndShareable() && !preventAutoReload) - { - // Reloading an "instance asset" is basically a no-op. - // We'll simply notify users to reload the asset. - AssetBus::QueueFunction(&AssetManager::NotifyAssetReloaded, this, currentAsset); - return; - } - else - { - AssetBus::QueueFunction(&AssetManager::NotifyAssetPreReload, this, currentAsset); - } - - // Current AssetData has requested not to be auto reloaded - if (preventAutoReload) - { - return; - } - - // Resolve the asset handler and allocate new data for the reload. - { - AssetHandlerMap::iterator handlerIt = m_handlers.find(currentAsset.GetType()); - AZ_Assert(handlerIt != m_handlers.end(), "No handler was registered for this asset [type:%s id:%s]!", - currentAsset.GetType().ToString().c_str(), currentAsset.GetId().ToString().c_str()); - handler = handlerIt->second; - - newAssetData = handler->CreateAsset(currentAsset.GetId(), currentAsset.GetType()); - if (newAssetData) - { - newAssetData->m_assetId = currentAsset.GetId(); - newAssetData->RegisterWithHandler(handler); - } - } - - if (newAssetData) - { - // For reloaded assets, we need to hold an internal reference to ensure the data - // isn't immediately destroyed. Since reloads are not a shipping feature, we'll - // hold this reference indefinitely, but we'll only hold the most recent one for - // a given asset Id. - - newAssetData->m_status = AssetData::AssetStatus::Queued; - Asset newAsset(newAssetData, assetReferenceLoadBehavior); - - m_reloads[newAsset.GetId()] = newAsset; - - UpdateDebugStatus(newAsset); - - AZStd::shared_ptr dataStream; - AssetStreamInfo loadInfo = GetModifiedLoadStreamInfoForAsset(newAsset, handler); - constexpr bool isReload = true; - if (loadInfo.IsValid()) - { - // Create the AssetDataStream instance here so it can claim an asset reference inside the lock (for a total - // count of 2 before starting the load), otherwise the refcount will be 1, and the load could be canceled - // before it is started, which creates state consistency issues. - - dataStream = AZStd::make_shared(handler->GetAssetBufferAllocator()); - if (dataStream) - { - // Currently there isn't a clear use case for needing to adjust priority for reloads so the default load priority is used - constexpr bool signalLoaded = false; // this is a reload, so don't signal dependent-asset loads - QueueAsyncStreamLoad(newAsset, dataStream, loadInfo, isReload, - handler, {}, signalLoaded); + dataStream = AZStd::make_shared(handler->GetAssetBufferAllocator()); } else { - AZ_Assert(false, "Failed to create dataStream to reload asset %s (%s)", - newAsset.GetId().ToString().c_str(), - newAsset.GetHint().c_str()); + // Asset creation was successful, but asset loading isn't, so trigger the OnAssetError notification + triggerAssetErrorNotification = true; } } - else + } + } + + if (!assetInfo.m_relativePath.empty()) + { + asset.m_assetHint = assetInfo.m_relativePath; + } + + asset.SetAutoLoadBehavior(assetReferenceLoadBehavior); + + // We delay queueing the async file I/O until we release m_assetMutex + if (dataStream) + { + AZ_Assert(loadInfo.IsValid(), "Expected valid stream info when dataStream is valid."); + constexpr bool isReload = false; + QueueAsyncStreamLoad(asset, dataStream, loadInfo, isReload, + handler, loadParams, signalLoaded); + } + else + { + AZ_Assert(!loadInfo.IsValid(), "Expected invalid stream info when dataStream is invalid."); + + if(!wasUnloaded && assetData && assetData->GetStatus() == AssetData::AssetStatus::Queued) + { + auto&& [deadline, priority] = GetEffectiveDeadlineAndPriority(*handler, assetData->GetType(), loadParams); + + RescheduleStreamerRequest(assetData->GetId(), deadline, priority); + } + + if (triggerAssetErrorNotification) + { + // If the asset was missing from the catalog, we already printed an error, so we can skip printing this one. + if (!assetMissing) { - // Asset creation was successful, but asset loading isn't, so trigger the OnAssetError notification AZ_Error("AssetDatabase", false, "Failed to retrieve required information for asset %s (%s)", - newAsset.GetId().ToString().c_str(), - newAsset.GetHint().c_str()); - - constexpr bool loadSucceeded = false; - AssetManager::Instance().PostLoad(newAsset, loadSucceeded, isReload, handler); + assetInfo.m_assetId.ToString().c_str(), + assetInfo.m_relativePath.empty() ? "" : assetInfo.m_relativePath.c_str()); } + PostLoad(asset, false, false, handler); } } - //========================================================================= - // ReloadAssetFromData - //========================================================================= - void AssetManager::ReloadAssetFromData(const Asset& asset) + return asset; + } + + void AssetManager::UpdateDebugStatus(const AZ::Data::Asset& asset) + { + if(!m_debugAssetEvents) { - bool shouldAssignAssetData = false; - - { - AZ_Assert(asset.Get(), "Asset data for reload is missing."); - AZStd::scoped_lock assetLock(m_assetMutex); - AZ_Assert( - m_assets.find(asset.GetId()) != m_assets.end(), - "Unable to reload asset %s because it's not in the AssetManager's asset list.", asset.ToString().c_str()); - AZ_Assert( - m_assets.find(asset.GetId()) == m_assets.end() || - asset->RTTI_GetType() == m_assets.find(asset.GetId())->second->RTTI_GetType(), - "New and old data types are mismatched!"); - - auto found = m_assets.find(asset.GetId()); - if ((found == m_assets.end()) || (asset->RTTI_GetType() != found->second->RTTI_GetType())) - { - return; // this will just lead to crashes down the line and the above asserts cover this. - } - - AssetData* newData = asset.Get(); - - if (found->second != newData) - { - // Notify users that we are about to change asset - AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetPreReload, asset); - - // Resolve the asset handler and account for the new asset instance. - { - [[maybe_unused]] AssetHandlerMap::iterator handlerIt = m_handlers.find(newData->GetType()); - AZ_Assert( - handlerIt != m_handlers.end(), "No handler was registered for this asset [type:%s id:%s]!", - newData->GetType().ToString().c_str(), newData->GetId().ToString().c_str()); - } - - shouldAssignAssetData = true; - } - } - - // We specifically perform this outside of the m_assetMutex lock so that the lock isn't held at the point that - // OnAssetReload is triggered inside of AssignAssetData. Otherwise, we open up a high potential for deadlocks. - if (shouldAssignAssetData) - { - AssignAssetData(asset); - } + m_debugAssetEvents = AZ::Interface::Get(); } - //========================================================================= - // GetHandler - //========================================================================= - AssetHandler* AssetManager::GetHandler(const AssetType& assetType) + if(m_debugAssetEvents) { - auto handlerEntry = m_handlers.find(assetType); - if (handlerEntry != m_handlers.end()) - { - return handlerEntry->second; - } - return nullptr; + m_debugAssetEvents->AssetStatusUpdate(asset.GetId(), asset.GetStatus()); + } + } + + Asset AssetManager::FindOrCreateAsset(const AssetId& assetId, const AssetType& assetType, AssetLoadBehavior assetReferenceLoadBehavior) + { + AZStd::scoped_lock asset_lock(m_assetMutex); + + Asset asset = FindAsset(assetId, assetReferenceLoadBehavior); + + if (!asset) + { + asset = CreateAsset(assetId, assetType, assetReferenceLoadBehavior); } - //========================================================================= - // AssignAssetData - //========================================================================= - void AssetManager::AssignAssetData(const Asset& asset) + return asset; + } + + //========================================================================= + // CreateAsset + // [8/31/2012] + //========================================================================= + Asset AssetManager::CreateAsset(const AssetId& assetId, const AssetType& assetType, AssetLoadBehavior assetReferenceLoadBehavior) + { + AZStd::scoped_lock asset_lock(m_assetMutex); + + // check if asset already exist + AssetMap::iterator it = m_assets.find(assetId); + if (it == m_assets.end()) { - AZ_Assert(asset.Get(), "Reloaded data is missing!"); - - const AssetId& assetId = asset.GetId(); - - asset->m_status = AssetData::AssetStatus::Ready; - UpdateDebugStatus(asset); - - if (asset->IsRegisterReadonlyAndShareable()) + // find the asset type handler + AssetHandlerMap::iterator handlerIt = m_handlers.find(assetType); + AZ_Error("AssetDatabase", handlerIt != m_handlers.end(), "No handler was registered for this asset (id=%s, type=%s)!", assetId.ToString().c_str(), assetType.ToString().c_str()); + if (handlerIt != m_handlers.end()) { - bool requeue{ false }; + // Create the asset ptr + AssetHandler* handler = handlerIt->second; + auto assetData = handler->CreateAsset(assetId, assetType); + AZ_Error("AssetDatabase", assetData, "Failed to create asset with (id=%s, type=%s)", assetId.ToString().c_str(), assetType.ToString().c_str()); + if (assetData) { - AZStd::scoped_lock assetLock(m_assetMutex); - auto found = m_assets.find(assetId); - AZ_Assert(found == m_assets.end() || asset.Get()->RTTI_GetType() == found->second->RTTI_GetType(), - "New and old data types are mismatched!"); - - // if we are here it implies that we have two assets with the same asset id, and we are - // trying to replace the old asset with the new asset which was not created using the asset manager system. - // In this scenario if any other system have cached the old asset then the asset wont be destroyed - // because of creation token mismatch when it's ref count finally goes to zero. Since the old asset is not shareable anymore - // manually setting the creationToken to default creation token will ensure that the asset is destroyed correctly. - asset.m_assetData->m_creationToken = ++m_creationTokenGenerator; - if (found != m_assets.end()) + assetData->m_assetId = assetId; + assetData->m_creationToken = ++m_creationTokenGenerator; + assetData->RegisterWithHandler(handler); + if (assetData->IsRegisterReadonlyAndShareable()) { - found->second->m_creationToken = AZ::Data::s_defaultCreationToken; + m_assets.insert(AZStd::make_pair(assetId, assetData)); } - // Held references to old data are retained, but replace the entry in the DB for future requests. - // Fire an OnAssetReloaded message so listeners can react to the new data. - m_assets[assetId] = asset.Get(); + Asset asset(assetReferenceLoadBehavior); + asset.SetData(assetData); - // Release the reload reference. - auto reloadInfo = m_reloads.find(assetId); - if (reloadInfo != m_reloads.end()) - { - requeue = reloadInfo->second->GetRequeue(); - m_reloads.erase(reloadInfo); - } + return asset; } - // Call reloaded before we can call ReloadAsset below to preserve order - AssetBus::Event(assetId, &AssetBus::Events::OnAssetReloaded, asset); - // Release the lock before we call reload - if (requeue) + } + } + else + { + AZ_Error("AssetDatabase", false, "Asset (id=%s, type=%s) already exists in the database! Asset not created!", assetId.ToString().c_str(), assetType.ToString().c_str()); + } + return Asset(assetReferenceLoadBehavior); + } + + //========================================================================= + // ReleaseAsset + //========================================================================= + void AssetManager::ReleaseAsset(AssetData* asset, AssetId assetId, AssetType assetType, bool removeAssetFromHash, int creationToken) + { + AZ_Assert(asset, "Cannot release NULL AssetPtr!"); + + if(m_suspendAssetRelease) + { + return; + } + + bool wasInAssetsHash = false; // We do support assets that are not registered in the asset manager (with the same ID too). + bool destroyAsset = false; + + if (removeAssetFromHash) + { + AZStd::scoped_lock asset_lock(m_assetMutex); + AssetMap::iterator it = m_assets.find(assetId); + // need to check the count again in here in case + // someone was trying to get the asset on another thread + // Set it to -1 so only this thread will attempt to clean up the cache and delete the asset + int expectedRefCount = 0; + // if the assetId is not in the map or if the identifierId + // do not match it implies that the asset has been already destroyed. + // if the usecount is non zero it implies that we cannot destroy this asset. + if (it != m_assets.end() && it->second->m_creationToken == creationToken && it->second->m_weakUseCount.compare_exchange_strong(expectedRefCount, -1)) + { + wasInAssetsHash = true; + m_assets.erase(it); + destroyAsset = true; + } + } + else + { + // if an asset is not shareable, it implies that that asset is not in the map + // and therefore once its ref count goes to zero it cannot go back up again and therefore we can safely destroy it + destroyAsset = true; + } + + // We have to separate the code which was removing the asset from the m_asset map while being locked, but then actually destroy the asset + // while the lock is not held since destroying the asset while holding the lock can cause a deadlock. + if (destroyAsset) + { + if(m_debugAssetEvents) + { + m_debugAssetEvents->ReleaseAsset(assetId); + } + + // find the asset type handler + AssetHandlerMap::iterator handlerIt = m_handlers.find(assetType); + if (handlerIt != m_handlers.end()) + { + AssetHandler* handler = handlerIt->second; + if (asset) { - ReloadAsset(assetId, asset.GetAutoLoadBehavior()); + handler->DestroyAsset(asset); + + if (wasInAssetsHash) + { + AssetBus::QueueEvent(assetId, &AssetBus::Events::OnAssetUnloaded, assetId, assetType); + } } } else { - AssetBus::Event(assetId, &AssetBus::Events::OnAssetReloaded, asset); + AZ_Assert(false, "No handler was registered for asset of type %s but it was still in the AssetManager as %s", assetType.ToString().c_str(), asset->GetId().ToString().c_str()); + } + } + } + + void AssetManager::OnAssetUnused(AssetData* asset) + { + // If we're currently suspending asset releases, don't get rid of the asset containers either. + if (m_suspendAssetRelease) + { + return; + } + + ReleaseAssetContainersForAsset(asset); + } + + void AssetManager::ReleaseAssetContainersForAsset(AssetData* asset) + { + // Release any containers that were loading this asset + AZStd::scoped_lock lock(m_assetContainerMutex); + + AssetId assetId = asset->GetId(); + + auto rangeItr = m_ownedAssetContainerLookup.equal_range(assetId); + + for (auto itr = rangeItr.first; itr != rangeItr.second;) + { + AZ_Assert(itr->second->GetContainerAssetId() == assetId, + "Asset container is incorrectly associated with the asset being destroyed."); + itr->second->ClearRootAsset(); + + // Only remove owned asset containers if they aren't currently loading. + // If they *are* currently loading, removing them could cause dependent asset loads that were triggered to + // remain in a perpetual loading state. Instead, leave the containers for now, they will get removed during + // the OnAssetContainerReady callback. + if (!itr->second->IsLoading()) + { + m_ownedAssetContainers.erase(itr->second); + itr = m_ownedAssetContainerLookup.erase(itr); + } + else + { + ++itr; + } + } + } + + //========================================================================= + // SaveAsset + // [9/13/2012] + //========================================================================= + void AssetManager::SaveAsset(const Asset& asset) + { + AssetHandler* handler; + { + // find the asset type handler + AssetHandlerMap::iterator handlerIt = m_handlers.find(asset.GetType()); + AZ_Assert(handlerIt != m_handlers.end(), "No handler was registered for this asset [type:%s id:%s]!", asset.GetType().ToString().c_str(), asset.GetId().ToString().c_str()); + handler = handlerIt->second; + } + + // start the data saving + SaveAssetJob* saveJob = aznew SaveAssetJob(JobContext::GetGlobalContext(), this, asset, handler); + saveJob->Start(); + } + + //========================================================================= + // ReloadAsset + //========================================================================= + void AssetManager::ReloadAsset(const AssetId& assetId, AssetLoadBehavior assetReferenceLoadBehavior, bool isAutoReload) + { + AZStd::scoped_lock assetLock(m_assetMutex); + auto assetIter = m_assets.find(assetId); + + if (assetIter == m_assets.end() || assetIter->second->IsLoading()) + { + // Only existing assets can be reloaded. + return; + } + + auto reloadIter = m_reloads.find(assetId); + if (reloadIter != m_reloads.end()) + { + auto curStatus = reloadIter->second.GetData()->GetStatus(); + // We don't need another reload if we're in "Queued" state because that reload has not actually begun yet. + // If it is in Loading state we want to pass by and allow the new assetData to be created and start the new reload + // As the current load could already be stale + if (curStatus == AssetData::AssetStatus::Queued) + { + return; + } + else if (curStatus == AssetData::AssetStatus::Loading || curStatus == AssetData::AssetStatus::StreamReady) + { + // Don't flood the tick bus - this value will be checked when the asset load completes + reloadIter->second->SetRequeue(true); + return; } } - //========================================================================= - // GetModifiedLoadStreamInfoForAsset - //========================================================================= - AssetStreamInfo AssetManager::GetModifiedLoadStreamInfoForAsset(const Asset& asset, AssetHandler* handler) + AssetData* newAssetData = nullptr; + AssetHandler* handler = nullptr; + + bool preventAutoReload = isAutoReload && assetIter->second && !assetIter->second->HandleAutoReload(); + + // when Asset's constructor is called (the one that takes an AssetData), it updates the AssetID + // of the Asset to be the real latest canonical assetId of the asset, so we cache that here instead of have it happen + // implicitly and repeatedly for anything we call. + Asset currentAsset(assetIter->second, AZ::Data::AssetLoadBehavior::Default); + + if (!assetIter->second->IsRegisterReadonlyAndShareable() && !preventAutoReload) { - AssetStreamInfo loadInfo = GetLoadStreamInfoForAsset(asset.GetId(), asset.GetType()); - if (!loadInfo.IsValid()) - { - // opportunity for handler to do default substitution: - AZ::Data::AssetId fallbackId = handler->AssetMissingInCatalog(asset); - if (fallbackId.IsValid()) - { - loadInfo = GetLoadStreamInfoForAsset(fallbackId, asset.GetType()); - } - } - - // Give the handler an opportunity to modify any of the load info before creating the dataStream. - handler->GetCustomAssetStreamInfoForLoad(loadInfo); - - return loadInfo; + // Reloading an "instance asset" is basically a no-op. + // We'll simply notify users to reload the asset. + AssetBus::QueueFunction(&AssetManager::NotifyAssetReloaded, this, currentAsset); + return; + } + else + { + AssetBus::QueueFunction(&AssetManager::NotifyAssetPreReload, this, currentAsset); } - //========================================================================= - // QueueAsyncStreamLoad - //========================================================================= - void AssetManager::QueueAsyncStreamLoad(Asset asset, AZStd::shared_ptr dataStream, - const AZ::Data::AssetStreamInfo& streamInfo, bool isReload, - AssetHandler* handler, const AssetLoadParameters& loadParams, bool signalLoaded) + // Current AssetData has requested not to be auto reloaded + if (preventAutoReload) { - AZ_PROFILE_FUNCTION(AzCore); + return; + } - // Set up the callback that will process the asset data once the raw file load is finished. - // The callback is declared as mutable so that we can clear weakAsset within the callback. The refcount in weakAsset - // can trigger an AssetManager::ReleaseAsset call. If this occurs during lambda cleanup, it could happen at any time - // on the file streamer thread as streamer requests get recycled, including during (or after) AssetManager shutdown. - // By controlling when the refcount is changed, we can ensure that it occurs while the AssetManager is still active. - auto assetDataStreamCallback = [this, loadParams, handler, dataStream, signalLoaded, isReload, - weakAsset = AssetInternal::WeakAsset(asset)] - (AZ::IO::IStreamerTypes::RequestStatus status) mutable + // Resolve the asset handler and allocate new data for the reload. + { + AssetHandlerMap::iterator handlerIt = m_handlers.find(currentAsset.GetType()); + AZ_Assert(handlerIt != m_handlers.end(), "No handler was registered for this asset [type:%s id:%s]!", + currentAsset.GetType().ToString().c_str(), currentAsset.GetId().ToString().c_str()); + handler = handlerIt->second; + + newAssetData = handler->CreateAsset(currentAsset.GetId(), currentAsset.GetType()); + if (newAssetData) { - auto assetId = weakAsset.GetId(); + newAssetData->m_assetId = currentAsset.GetId(); + newAssetData->RegisterWithHandler(handler); + } + } - Asset loadingAsset = weakAsset.GetStrongReference(); + if (newAssetData) + { + // For reloaded assets, we need to hold an internal reference to ensure the data + // isn't immediately destroyed. Since reloads are not a shipping feature, we'll + // hold this reference indefinitely, but we'll only hold the most recent one for + // a given asset Id. - if (loadingAsset) + newAssetData->m_status = AssetData::AssetStatus::Queued; + Asset newAsset(newAssetData, assetReferenceLoadBehavior); + + m_reloads[newAsset.GetId()] = newAsset; + + UpdateDebugStatus(newAsset); + + AZStd::shared_ptr dataStream; + AssetStreamInfo loadInfo = GetModifiedLoadStreamInfoForAsset(newAsset, handler); + constexpr bool isReload = true; + if (loadInfo.IsValid()) + { + // Create the AssetDataStream instance here so it can claim an asset reference inside the lock (for a total + // count of 2 before starting the load), otherwise the refcount will be 1, and the load could be canceled + // before it is started, which creates state consistency issues. + + dataStream = AZStd::make_shared(handler->GetAssetBufferAllocator()); + if (dataStream) { - AZ_PROFILE_SCOPE(AzCore, "AZ::Data::LoadAssetStreamerCallback %s", - loadingAsset.GetHint().c_str()); - { - AZStd::scoped_lock assetLock(m_assetMutex); - AssetData* data = loadingAsset.Get(); - if (data->GetStatus() != AssetData::AssetStatus::Queued) - { - AZ_Warning("AssetManager", false, "Asset %s no longer in Queued state, abandoning load", loadingAsset.GetId().ToString().c_str()); - return; - } - data->m_status = AssetData::AssetStatus::StreamReady; - } - - // The callback from AZ Streamer blocks the streaming thread until this function completes. To minimize the overhead, - // do the majority of the work in a separate job. - auto loadJob = aznew LoadAssetJob(this, loadingAsset, - dataStream, isReload, status, handler, loadParams, signalLoaded); - - bool jobQueued = false; - - // If there's already an active blocking request waiting for this load to complete, let that thread handle - // the load itself instead of consuming a second thread. - { - AZStd::scoped_lock requestLock(m_activeBlockingRequestMutex); - auto range = m_activeBlockingRequests.equal_range(assetId); - for(auto blockingRequest = range.first; blockingRequest != range.second; ++blockingRequest) - { - if(blockingRequest->second->QueueAssetLoadJob(loadJob)) - { - jobQueued = true; - break; - } - } - } - - if (!jobQueued) - { - loadJob->Start(); - } + // Currently there isn't a clear use case for needing to adjust priority for reloads so the default load priority is used + constexpr bool signalLoaded = false; // this is a reload, so don't signal dependent-asset loads + QueueAsyncStreamLoad(newAsset, dataStream, loadInfo, isReload, + handler, {}, signalLoaded); } else { - BlockingAssetLoadBus::Event(assetId, &BlockingAssetLoadBus::Events::OnLoadCanceled, assetId); - AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetCanceled, assetId); + AZ_Assert(false, "Failed to create dataStream to reload asset %s (%s)", + newAsset.GetId().ToString().c_str(), + newAsset.GetHint().c_str()); + } + } + else + { + // Asset creation was successful, but asset loading isn't, so trigger the OnAssetError notification + AZ_Error("AssetDatabase", false, "Failed to retrieve required information for asset %s (%s)", + newAsset.GetId().ToString().c_str(), + newAsset.GetHint().c_str()); + + constexpr bool loadSucceeded = false; + AssetManager::Instance().PostLoad(newAsset, loadSucceeded, isReload, handler); + } + + } + } + + //========================================================================= + // ReloadAssetFromData + //========================================================================= + void AssetManager::ReloadAssetFromData(const Asset& asset) + { + bool shouldAssignAssetData = false; + + { + AZ_Assert(asset.Get(), "Asset data for reload is missing."); + AZStd::scoped_lock assetLock(m_assetMutex); + AZ_Assert( + m_assets.find(asset.GetId()) != m_assets.end(), + "Unable to reload asset %s because it's not in the AssetManager's asset list.", asset.ToString().c_str()); + AZ_Assert( + m_assets.find(asset.GetId()) == m_assets.end() || + asset->RTTI_GetType() == m_assets.find(asset.GetId())->second->RTTI_GetType(), + "New and old data types are mismatched!"); + + auto found = m_assets.find(asset.GetId()); + if ((found == m_assets.end()) || (asset->RTTI_GetType() != found->second->RTTI_GetType())) + { + return; // this will just lead to crashes down the line and the above asserts cover this. + } + + AssetData* newData = asset.Get(); + + if (found->second != newData) + { + // Notify users that we are about to change asset + AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetPreReload, asset); + + // Resolve the asset handler and account for the new asset instance. + { + [[maybe_unused]] AssetHandlerMap::iterator handlerIt = m_handlers.find(newData->GetType()); + AZ_Assert( + handlerIt != m_handlers.end(), "No handler was registered for this asset [type:%s id:%s]!", + newData->GetType().ToString().c_str(), newData->GetId().ToString().c_str()); } - // *After* the loadJob has been created, clear our asset references and remove the active streamer requests. - // This needs to happen after the loadJob creation to ensure that on AssetManager shutdown, there are no brief - // windows in which requests and/or jobs are still active after we've removed our tracking of the requests and jobs. - - // Also, if the asset references don't get cleared until after the callback completes, or at some indeterminate later - // time when the File Streamer cleans up the file requests (for the weakAsset lambda parameter), then it's possible that - // they will trigger a ReleaseAsset call sometime after the AssetManager has begun to shut down, which can lead to - // race conditions. - - // Make sure the streamer request is removed first before the asset is released - // If the asset is released first it could lead to a race condition where another thread starts loading the asset - // again and attempts to add a new streamer request with the same ID before the old one has been removed, causing - // that load request to fail - RemoveActiveStreamerRequest(assetId); - weakAsset = {}; - loadingAsset.Reset(); - }; - - auto&& [deadline, priority] = GetEffectiveDeadlineAndPriority(*handler, asset.GetType(), loadParams); - - // Track the load request and queue the asset data stream load. - AddActiveStreamerRequest(asset.GetId(), dataStream); - dataStream->Open( - streamInfo.m_streamName, - streamInfo.m_dataOffset, - streamInfo.m_dataLen, - deadline, priority, assetDataStreamCallback); + shouldAssignAssetData = true; + } } - //========================================================================= - // NotifyAssetReady - //========================================================================= - void AssetManager::NotifyAssetReady(Asset asset) - { - AssetData* data = asset.Get(); - AZ_Assert(data, "NotifyAssetReady: asset is missing info!"); - data->m_status = AssetData::AssetStatus::Ready; - - AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetReady, asset); - } - - //========================================================================= - // NotifyAssetPreReload - //========================================================================= - void AssetManager::NotifyAssetPreReload(Asset asset) - { - AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetPreReload, asset); - } - - //========================================================================= - // NotifyAssetReloaded - //========================================================================= - void AssetManager::NotifyAssetReloaded(Asset asset) + // We specifically perform this outside of the m_assetMutex lock so that the lock isn't held at the point that + // OnAssetReload is triggered inside of AssignAssetData. Otherwise, we open up a high potential for deadlocks. + if (shouldAssignAssetData) { AssignAssetData(asset); } + } - //========================================================================= - // NotifyAssetReloaded - //========================================================================= - void AssetManager::NotifyAssetReloadError(Asset asset) + //========================================================================= + // GetHandler + //========================================================================= + AssetHandler* AssetManager::GetHandler(const AssetType& assetType) + { + auto handlerEntry = m_handlers.find(assetType); + if (handlerEntry != m_handlers.end()) { - // Failed reloads have no side effects. Just notify observers (error reporting, etc). + return handlerEntry->second; + } + return nullptr; + } + + //========================================================================= + // AssignAssetData + //========================================================================= + void AssetManager::AssignAssetData(const Asset& asset) + { + AZ_Assert(asset.Get(), "Reloaded data is missing!"); + + const AssetId& assetId = asset.GetId(); + + asset->m_status = AssetData::AssetStatus::Ready; + UpdateDebugStatus(asset); + + if (asset->IsRegisterReadonlyAndShareable()) + { + bool requeue{ false }; { - AZStd::lock_guard assetLock(m_assetMutex); - m_reloads.erase(asset.GetId()); - } - AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetReloadError, asset); - } - - //========================================================================= - // NotifyAssetError - //========================================================================= - void AssetManager::NotifyAssetError(Asset asset) - { - asset.Get()->m_status = AssetData::AssetStatus::Error; - AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetError, asset); - } - - void AssetManager::NotifyAssetCanceled(AssetId assetId) - { - AssetBus::Event(assetId, &AssetBus::Events::OnAssetCanceled, assetId); - } - - void AssetManager::NotifyAssetContainerReady(Asset asset) - { - AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetContainerReady, asset); - } - - //========================================================================= - // AddJob - // [04/02/2014] - //========================================================================= - void AssetManager::AddJob(AssetDatabaseJob* job) - { - AZStd::scoped_lock assetLock(m_activeJobOrRequestMutex); - - m_activeJobs.push_back(*job); - } - - //========================================================================= - // ValidateAndRegisterAssetLoading - //========================================================================= - bool AssetManager::ValidateAndRegisterAssetLoading(const Asset& asset) - { - AssetData* data = asset.Get(); - { - AZStd::scoped_lock assetLock(m_assetMutex); - if (data) + auto found = m_assets.find(assetId); + AZ_Assert(found == m_assets.end() || asset.Get()->RTTI_GetType() == found->second->RTTI_GetType(), + "New and old data types are mismatched!"); + + // if we are here it implies that we have two assets with the same asset id, and we are + // trying to replace the old asset with the new asset which was not created using the asset manager system. + // In this scenario if any other system have cached the old asset then the asset wont be destroyed + // because of creation token mismatch when it's ref count finally goes to zero. Since the old asset is not shareable anymore + // manually setting the creationToken to default creation token will ensure that the asset is destroyed correctly. + asset.m_assetData->m_creationToken = ++m_creationTokenGenerator; + if (found != m_assets.end()) { - // The purpose of this function is to validate this asset is still in a StreamReady - // and only then continue the load. We change status to loading if everything - // is expected which the blocking RegisterAssetLoading call does not do because it - // is already in loading status - if (data->GetStatus() != AssetData::AssetStatus::StreamReady) - { - // Something else has attempted to load this asset - return false; - } - data->m_status = AssetData::AssetStatus::Loading; - UpdateDebugStatus(asset); + found->second->m_creationToken = AZ::Data::s_defaultCreationToken; + } + + // Held references to old data are retained, but replace the entry in the DB for future requests. + // Fire an OnAssetReloaded message so listeners can react to the new data. + m_assets[assetId] = asset.Get(); + + // Release the reload reference. + auto reloadInfo = m_reloads.find(assetId); + if (reloadInfo != m_reloads.end()) + { + requeue = reloadInfo->second->GetRequeue(); + m_reloads.erase(reloadInfo); } } + // Call reloaded before we can call ReloadAsset below to preserve order + AssetBus::Event(assetId, &AssetBus::Events::OnAssetReloaded, asset); + // Release the lock before we call reload + if (requeue) + { + ReloadAsset(assetId, asset.GetAutoLoadBehavior()); + } + } + else + { + AssetBus::Event(assetId, &AssetBus::Events::OnAssetReloaded, asset); + } + } - return true; + //========================================================================= + // GetModifiedLoadStreamInfoForAsset + //========================================================================= + AssetStreamInfo AssetManager::GetModifiedLoadStreamInfoForAsset(const Asset& asset, AssetHandler* handler) + { + AssetStreamInfo loadInfo = GetLoadStreamInfoForAsset(asset.GetId(), asset.GetType()); + if (!loadInfo.IsValid()) + { + // opportunity for handler to do default substitution: + AZ::Data::AssetId fallbackId = handler->AssetMissingInCatalog(asset); + if (fallbackId.IsValid()) + { + loadInfo = GetLoadStreamInfoForAsset(fallbackId, asset.GetType()); + } } - //========================================================================= - // RegisterAssetLoading - //========================================================================= - void AssetManager::RegisterAssetLoading(const Asset& asset) - { - AZ_PROFILE_FUNCTION(AzCore); + // Give the handler an opportunity to modify any of the load info before creating the dataStream. + handler->GetCustomAssetStreamInfoForLoad(loadInfo); - AssetData* data = asset.Get(); + return loadInfo; + } + + //========================================================================= + // QueueAsyncStreamLoad + //========================================================================= + void AssetManager::QueueAsyncStreamLoad(Asset asset, AZStd::shared_ptr dataStream, + const AZ::Data::AssetStreamInfo& streamInfo, bool isReload, + AssetHandler* handler, const AssetLoadParameters& loadParams, bool signalLoaded) + { + AZ_PROFILE_FUNCTION(AzCore); + + // Set up the callback that will process the asset data once the raw file load is finished. + // The callback is declared as mutable so that we can clear weakAsset within the callback. The refcount in weakAsset + // can trigger an AssetManager::ReleaseAsset call. If this occurs during lambda cleanup, it could happen at any time + // on the file streamer thread as streamer requests get recycled, including during (or after) AssetManager shutdown. + // By controlling when the refcount is changed, we can ensure that it occurs while the AssetManager is still active. + auto assetDataStreamCallback = [this, loadParams, handler, dataStream, signalLoaded, isReload, + weakAsset = AssetInternal::WeakAsset(asset)] + (AZ::IO::IStreamerTypes::RequestStatus status) mutable + { + auto assetId = weakAsset.GetId(); + + Asset loadingAsset = weakAsset.GetStrongReference(); + + if (loadingAsset) + { + AZ_PROFILE_SCOPE(AzCore, "AZ::Data::LoadAssetStreamerCallback %s", + loadingAsset.GetHint().c_str()); + { + AZStd::scoped_lock assetLock(m_assetMutex); + AssetData* data = loadingAsset.Get(); + if (data->GetStatus() != AssetData::AssetStatus::Queued) + { + AZ_Warning("AssetManager", false, "Asset %s no longer in Queued state, abandoning load", loadingAsset.GetId().ToString().c_str()); + return; + } + data->m_status = AssetData::AssetStatus::StreamReady; + } + + // The callback from AZ Streamer blocks the streaming thread until this function completes. To minimize the overhead, + // do the majority of the work in a separate job. + auto loadJob = aznew LoadAssetJob(this, loadingAsset, + dataStream, isReload, status, handler, loadParams, signalLoaded); + + bool jobQueued = false; + + // If there's already an active blocking request waiting for this load to complete, let that thread handle + // the load itself instead of consuming a second thread. + { + AZStd::scoped_lock requestLock(m_activeBlockingRequestMutex); + auto range = m_activeBlockingRequests.equal_range(assetId); + for(auto blockingRequest = range.first; blockingRequest != range.second; ++blockingRequest) + { + if(blockingRequest->second->QueueAssetLoadJob(loadJob)) + { + jobQueued = true; + break; + } + } + } + + if (!jobQueued) + { + loadJob->Start(); + } + } + else + { + BlockingAssetLoadBus::Event(assetId, &BlockingAssetLoadBus::Events::OnLoadCanceled, assetId); + AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetCanceled, assetId); + } + + // *After* the loadJob has been created, clear our asset references and remove the active streamer requests. + // This needs to happen after the loadJob creation to ensure that on AssetManager shutdown, there are no brief + // windows in which requests and/or jobs are still active after we've removed our tracking of the requests and jobs. + + // Also, if the asset references don't get cleared until after the callback completes, or at some indeterminate later + // time when the File Streamer cleans up the file requests (for the weakAsset lambda parameter), then it's possible that + // they will trigger a ReleaseAsset call sometime after the AssetManager has begun to shut down, which can lead to + // race conditions. + + // Make sure the streamer request is removed first before the asset is released + // If the asset is released first it could lead to a race condition where another thread starts loading the asset + // again and attempts to add a new streamer request with the same ID before the old one has been removed, causing + // that load request to fail + RemoveActiveStreamerRequest(assetId); + weakAsset = {}; + loadingAsset.Reset(); + }; + + auto&& [deadline, priority] = GetEffectiveDeadlineAndPriority(*handler, asset.GetType(), loadParams); + + // Track the load request and queue the asset data stream load. + AddActiveStreamerRequest(asset.GetId(), dataStream); + dataStream->Open( + streamInfo.m_streamName, + streamInfo.m_dataOffset, + streamInfo.m_dataLen, + deadline, priority, assetDataStreamCallback); + } + + //========================================================================= + // NotifyAssetReady + //========================================================================= + void AssetManager::NotifyAssetReady(Asset asset) + { + AssetData* data = asset.Get(); + AZ_Assert(data, "NotifyAssetReady: asset is missing info!"); + data->m_status = AssetData::AssetStatus::Ready; + + AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetReady, asset); + } + + //========================================================================= + // NotifyAssetPreReload + //========================================================================= + void AssetManager::NotifyAssetPreReload(Asset asset) + { + AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetPreReload, asset); + } + + //========================================================================= + // NotifyAssetReloaded + //========================================================================= + void AssetManager::NotifyAssetReloaded(Asset asset) + { + AssignAssetData(asset); + } + + //========================================================================= + // NotifyAssetReloaded + //========================================================================= + void AssetManager::NotifyAssetReloadError(Asset asset) + { + // Failed reloads have no side effects. Just notify observers (error reporting, etc). + { + AZStd::lock_guard assetLock(m_assetMutex); + m_reloads.erase(asset.GetId()); + } + AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetReloadError, asset); + } + + //========================================================================= + // NotifyAssetError + //========================================================================= + void AssetManager::NotifyAssetError(Asset asset) + { + asset.Get()->m_status = AssetData::AssetStatus::Error; + AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetError, asset); + } + + void AssetManager::NotifyAssetCanceled(AssetId assetId) + { + AssetBus::Event(assetId, &AssetBus::Events::OnAssetCanceled, assetId); + } + + void AssetManager::NotifyAssetContainerReady(Asset asset) + { + AssetBus::Event(asset.GetId(), &AssetBus::Events::OnAssetContainerReady, asset); + } + + //========================================================================= + // AddJob + // [04/02/2014] + //========================================================================= + void AssetManager::AddJob(AssetDatabaseJob* job) + { + AZStd::scoped_lock assetLock(m_activeJobOrRequestMutex); + + m_activeJobs.push_back(*job); + } + + //========================================================================= + // ValidateAndRegisterAssetLoading + //========================================================================= + bool AssetManager::ValidateAndRegisterAssetLoading(const Asset& asset) + { + AssetData* data = asset.Get(); + { + + AZStd::scoped_lock assetLock(m_assetMutex); if (data) { + // The purpose of this function is to validate this asset is still in a StreamReady + // and only then continue the load. We change status to loading if everything + // is expected which the blocking RegisterAssetLoading call does not do because it + // is already in loading status + if (data->GetStatus() != AssetData::AssetStatus::StreamReady) + { + // Something else has attempted to load this asset + return false; + } data->m_status = AssetData::AssetStatus::Loading; UpdateDebugStatus(asset); } } - //========================================================================= - // UnregisterAssetLoadingByThread - //========================================================================= - void AssetManager::UnregisterAssetLoading([[maybe_unused]] const Asset& asset) + return true; + } + + //========================================================================= + // RegisterAssetLoading + //========================================================================= + void AssetManager::RegisterAssetLoading(const Asset& asset) + { + AZ_PROFILE_FUNCTION(AzCore); + + AssetData* data = asset.Get(); + if (data) { - AZ_PROFILE_FUNCTION(AzCore); - } - - //========================================================================= - // RemoveJob - // [04/02/2014] - //========================================================================= - void AssetManager::RemoveJob(AssetDatabaseJob* job) - { - AZStd::scoped_lock assetLock(m_activeJobOrRequestMutex); - - m_activeJobs.erase(*job); - } - - //========================================================================= - // AddActiveStreamerRequest - //========================================================================= - void AssetManager::AddActiveStreamerRequest(AssetId assetId, AZStd::shared_ptr readRequest) - { - AZStd::scoped_lock assetLock(m_activeJobOrRequestMutex); - - // Track the request to allow for manual cancellation and for validating completion before AssetManager shutdown - [[maybe_unused]] auto inserted = - m_activeAssetDataStreamRequests.insert(AZStd::make_pair(assetId, readRequest)); - AZ_Assert(inserted.second, "Failed to insert streaming request into map for later retrieval by asset."); - - } - - void AssetManager::RescheduleStreamerRequest(AssetId assetId, AZStd::chrono::milliseconds newDeadline, AZ::IO::IStreamerTypes::Priority newPriority) - { - AZStd::scoped_lock lock(m_activeJobOrRequestMutex); - - auto iterator = m_activeAssetDataStreamRequests.find(assetId); - - if (iterator != m_activeAssetDataStreamRequests.end()) - { - iterator->second->Reschedule(newDeadline, newPriority); - } - } - - //========================================================================= - // RemoveActiveStreamerRequest - //========================================================================= - void AssetManager::RemoveActiveStreamerRequest(AssetId assetData) - { - AZStd::scoped_lock assetLock(m_activeJobOrRequestMutex); - m_activeAssetDataStreamRequests.erase(assetData); - } - - //========================================================================= - // HasActiveJobsOrStreamerRequests - //========================================================================= - bool AssetManager::HasActiveJobsOrStreamerRequests() - { - AZStd::scoped_lock assetLock(m_activeJobOrRequestMutex); - - return (!(m_activeJobs.empty() && m_activeAssetDataStreamRequests.empty())); - } - - //========================================================================= - // AddBlockingRequest - //========================================================================= - void AssetManager::AddBlockingRequest(AssetId assetId, WaitForAsset* blockingRequest) - { - AZStd::scoped_lock requestLock(m_activeBlockingRequestMutex); - - [[maybe_unused]] auto inserted = m_activeBlockingRequests.insert(AZStd::make_pair(assetId, blockingRequest)); - AZ_Assert(inserted.second, "Failed to track blocking request for asset %s", assetId.ToString().c_str()); - } - - //========================================================================= - // RemoveBlockingRequest - //========================================================================= - void AssetManager::RemoveBlockingRequest(AssetId assetId, WaitForAsset* blockingRequest) - { - AZStd::scoped_lock requestLock(m_activeBlockingRequestMutex); - [[maybe_unused]] bool requestFound = false; - for (auto assetIdIterator = m_activeBlockingRequests.find(assetId); assetIdIterator != m_activeBlockingRequests.end(); ) - { - if (assetIdIterator->second == blockingRequest) - { - m_activeBlockingRequests.erase(assetIdIterator); - requestFound = true; - break; - } - else - { - assetIdIterator++; - } - } - - AZ_Assert(requestFound, "Failed to erase blocking request for asset %s", assetId.ToString().c_str()); - } - - - //========================================================================= - // GetLoadStreamInfoForAsset() - // [04/04/2014] - //========================================================================= - AssetStreamInfo AssetManager::GetLoadStreamInfoForAsset(const AssetId& assetId, const AssetType& assetType) - { - AZStd::scoped_lock catalogLock(m_catalogMutex); - AssetCatalogMap::iterator catIt = m_catalogs.find(assetType); - if (catIt == m_catalogs.end()) - { - AZ_Error("Asset", false, "Asset [type:%s id:%s] with this type doesn't have a catalog!", assetType.template ToString().c_str(), assetId.ToString().c_str()); - return AssetStreamInfo(); - } - return catIt->second->GetStreamInfoForLoad(assetId, assetType); - } - - //========================================================================= - // GetSaveStreamInfoForAsset() - // [04/04/2014] - //========================================================================= - AssetStreamInfo AssetManager::GetSaveStreamInfoForAsset(const AssetId& assetId, const AssetType& assetType) - { - AZStd::scoped_lock catalogLock(m_catalogMutex); - AssetCatalogMap::iterator catIt = m_catalogs.find(assetType); - if (catIt == m_catalogs.end()) - { - AZ_Error("Asset", false, "Asset [type:%s id:%s] with this type doesn't have a catalog!", assetType.template ToString().c_str(), assetId.ToString().c_str()); - return AssetStreamInfo(); - } - return catIt->second->GetStreamInfoForSave(assetId, assetType); - } - - //========================================================================= - // OnAssetReady - // [04/02/2014] - //========================================================================= - void AssetManager::OnAssetReady(const Asset& asset) - { - AZ_Assert(asset.Get(), "OnAssetReady fired for an asset with no data."); - - // Set status immediately from within the AssetManagerBus dispatch, so it's committed before anyone is notified (e.g. job to job, via AssetJobBus). - asset.Get()->m_status = AssetData::AssetStatus::ReadyPreNotify; + data->m_status = AssetData::AssetStatus::Loading; UpdateDebugStatus(asset); - - // Queue broadcast message for delivery on game thread. - AssetBus::QueueFunction(&AssetManager::NotifyAssetReady, this, Asset(asset)); } + } - //========================================================================= - // OnAssetError - //========================================================================= - void AssetManager::OnAssetError(const Asset& asset) + //========================================================================= + // UnregisterAssetLoadingByThread + //========================================================================= + void AssetManager::UnregisterAssetLoading([[maybe_unused]] const Asset& asset) + { + AZ_PROFILE_FUNCTION(AzCore); + } + + //========================================================================= + // RemoveJob + // [04/02/2014] + //========================================================================= + void AssetManager::RemoveJob(AssetDatabaseJob* job) + { + AZStd::scoped_lock assetLock(m_activeJobOrRequestMutex); + + m_activeJobs.erase(*job); + } + + //========================================================================= + // AddActiveStreamerRequest + //========================================================================= + void AssetManager::AddActiveStreamerRequest(AssetId assetId, AZStd::shared_ptr readRequest) + { + AZStd::scoped_lock assetLock(m_activeJobOrRequestMutex); + + // Track the request to allow for manual cancellation and for validating completion before AssetManager shutdown + [[maybe_unused]] auto inserted = + m_activeAssetDataStreamRequests.insert(AZStd::make_pair(assetId, readRequest)); + AZ_Assert(inserted.second, "Failed to insert streaming request into map for later retrieval by asset."); + + } + + void AssetManager::RescheduleStreamerRequest(AssetId assetId, AZStd::chrono::milliseconds newDeadline, AZ::IO::IStreamerTypes::Priority newPriority) + { + AZStd::scoped_lock lock(m_activeJobOrRequestMutex); + + auto iterator = m_activeAssetDataStreamRequests.find(assetId); + + if (iterator != m_activeAssetDataStreamRequests.end()) { - // Set status immediately from within the AssetManagerBus dispatch, so it's committed before anyone is notified (e.g. job to job, via AssetJobBus). - asset.Get()->m_status = AssetData::AssetStatus::Error; - UpdateDebugStatus(asset); - - // Queue broadcast message for delivery on game thread. - AssetBus::QueueFunction(&AssetManager::NotifyAssetError, this, Asset(asset)); + iterator->second->Reschedule(newDeadline, newPriority); } + } - void AssetManager::OnAssetCanceled(AssetId assetId) + //========================================================================= + // RemoveActiveStreamerRequest + //========================================================================= + void AssetManager::RemoveActiveStreamerRequest(AssetId assetData) + { + AZStd::scoped_lock assetLock(m_activeJobOrRequestMutex); + m_activeAssetDataStreamRequests.erase(assetData); + } + + //========================================================================= + // HasActiveJobsOrStreamerRequests + //========================================================================= + bool AssetManager::HasActiveJobsOrStreamerRequests() + { + AZStd::scoped_lock assetLock(m_activeJobOrRequestMutex); + + return (!(m_activeJobs.empty() && m_activeAssetDataStreamRequests.empty())); + } + + //========================================================================= + // AddBlockingRequest + //========================================================================= + void AssetManager::AddBlockingRequest(AssetId assetId, WaitForAsset* blockingRequest) + { + AZStd::scoped_lock requestLock(m_activeBlockingRequestMutex); + + [[maybe_unused]] auto inserted = m_activeBlockingRequests.insert(AZStd::make_pair(assetId, blockingRequest)); + AZ_Assert(inserted.second, "Failed to track blocking request for asset %s", assetId.ToString().c_str()); + } + + //========================================================================= + // RemoveBlockingRequest + //========================================================================= + void AssetManager::RemoveBlockingRequest(AssetId assetId, WaitForAsset* blockingRequest) + { + AZStd::scoped_lock requestLock(m_activeBlockingRequestMutex); + [[maybe_unused]] bool requestFound = false; + for (auto assetIdIterator = m_activeBlockingRequests.find(assetId); assetIdIterator != m_activeBlockingRequests.end(); ) { - // Queue broadcast message for delivery on game thread. - AssetBus::QueueFunction(&AssetManager::NotifyAssetCanceled, this, assetId); - } - - void AssetManager::ReleaseOwnedAssetContainer(AssetContainer* assetContainer) - { - AZ_Assert(assetContainer, "Trying to release a null assetContainer pointer!"); - AZStd::scoped_lock lock(m_assetContainerMutex); - auto rangeItr = m_ownedAssetContainerLookup.equal_range(assetContainer->GetContainerAssetId()); - - for (auto itr = rangeItr.first; itr != rangeItr.second; ++itr) + if (assetIdIterator->second == blockingRequest) { - if (itr->second == assetContainer) - { - m_ownedAssetContainerLookup.erase(itr); - break; - } - } - - m_ownedAssetContainers.erase(assetContainer); - } - - void AssetManager::OnAssetContainerReady(AssetContainer* assetContainer) - { - AssetBus::QueueFunction([this, assetContainer, asset = assetContainer->GetRootAsset()]() - { - NotifyAssetContainerReady(asset); - ReleaseOwnedAssetContainer(assetContainer); - }); - } - - void AssetManager::OnAssetContainerCanceled(AssetContainer* assetContainer) - { - AssetBus::QueueFunction([this, assetContainer]() - { - ReleaseOwnedAssetContainer(assetContainer); - }); - } - - //========================================================================= - // OnAssetReloaded - //========================================================================= - void AssetManager::OnAssetReloaded(const Asset& asset) - { - // Queue broadcast message for delivery on game thread. - AssetBus::QueueFunction(&AssetManager::NotifyAssetReloaded, this, Asset(asset)); - } - - //========================================================================= - // OnAssetReloadError - //========================================================================= - void AssetManager::OnAssetReloadError(const Asset& asset) - { - // Queue broadcast message for delivery on game thread. - AssetBus::QueueFunction(&AssetManager::NotifyAssetReloadError, this, Asset(asset)); - } - - - //========================================================================= - // AssetHandler - // [04/03/2014] - //========================================================================= - AssetHandler::AssetHandler() - : m_nHandledTypes(0) - { - } - - //========================================================================= - // ~AssetHandler - // [04/03/2014] - //========================================================================= - AssetHandler::~AssetHandler() - { - if (m_nHandledTypes > 0) - { - AssetManager::Instance().UnregisterHandler(this); - } - - AZ_Error("AssetDatabase", m_nHandledTypes == 0, "Asset handler is being destroyed but there are still %d asset types being handled by it!", (int)m_nHandledTypes); - } - - //========================================================================= - // LoadAssetDataFromStream - //========================================================================= - AssetHandler::LoadResult AssetHandler::LoadAssetDataFromStream( - const Asset& asset, - AZStd::shared_ptr stream, - const AssetFilterCB& assetLoadFilterCB) - { - AZ_PROFILE_SCOPE(AzCore, "AssetHandler::LoadAssetData - %s", asset.GetHint().c_str()); - -#ifdef AZ_ENABLE_TRACING - auto start = AZStd::chrono::system_clock::now(); -#endif - - LoadResult result = LoadAssetData(asset, stream, assetLoadFilterCB); - -#ifdef AZ_ENABLE_TRACING - auto loadMs = AZStd::chrono::duration_cast( - AZStd::chrono::system_clock::now() - start); - AZ_Warning("AssetDatabase", (!cl_assetLoadWarningEnable) || - loadMs <= AZStd::chrono::milliseconds(cl_assetLoadWarningMsThreshold), - "Load time threshold exceeded: LoadAssetData call for %s took %" PRId64 " ms", - asset.GetHint().c_str(), loadMs.count()); -#endif - - return result; - } - - //========================================================================= - // InitAsset - // [04/03/2014] - //========================================================================= - void AssetHandler::InitAsset(const Asset& asset, bool loadStageSucceeded, bool isReload) - { - if (loadStageSucceeded) - { - if (isReload) - { - AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetReloaded, asset); - } - else - { - AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetReady, asset); - } + m_activeBlockingRequests.erase(assetIdIterator); + requestFound = true; + break; } else { - if (!isReload) - { - AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetError, asset); - } - else - { - AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetReloadError, asset); - } + assetIdIterator++; } } - void AssetManager::ValidateAndPostLoad(AZ::Data::Asset& asset, bool loadSucceeded, - bool isReload, AZ::Data::AssetHandler* assetHandler) + AZ_Assert(requestFound, "Failed to erase blocking request for asset %s", assetId.ToString().c_str()); + } + + + //========================================================================= + // GetLoadStreamInfoForAsset() + // [04/04/2014] + //========================================================================= + AssetStreamInfo AssetManager::GetLoadStreamInfoForAsset(const AssetId& assetId, const AssetType& assetType) + { + AZStd::scoped_lock catalogLock(m_catalogMutex); + AssetCatalogMap::iterator catIt = m_catalogs.find(assetType); + if (catIt == m_catalogs.end()) { + AZ_Error("Asset", false, "Asset [type:%s id:%s] with this type doesn't have a catalog!", assetType.template ToString().c_str(), assetId.ToString().c_str()); + return AssetStreamInfo(); + } + return catIt->second->GetStreamInfoForLoad(assetId, assetType); + } + + //========================================================================= + // GetSaveStreamInfoForAsset() + // [04/04/2014] + //========================================================================= + AssetStreamInfo AssetManager::GetSaveStreamInfoForAsset(const AssetId& assetId, const AssetType& assetType) + { + AZStd::scoped_lock catalogLock(m_catalogMutex); + AssetCatalogMap::iterator catIt = m_catalogs.find(assetType); + if (catIt == m_catalogs.end()) + { + AZ_Error("Asset", false, "Asset [type:%s id:%s] with this type doesn't have a catalog!", assetType.template ToString().c_str(), assetId.ToString().c_str()); + return AssetStreamInfo(); + } + return catIt->second->GetStreamInfoForSave(assetId, assetType); + } + + //========================================================================= + // OnAssetReady + // [04/02/2014] + //========================================================================= + void AssetManager::OnAssetReady(const Asset& asset) + { + AZ_Assert(asset.Get(), "OnAssetReady fired for an asset with no data."); + + // Set status immediately from within the AssetManagerBus dispatch, so it's committed before anyone is notified (e.g. job to job, via AssetJobBus). + asset.Get()->m_status = AssetData::AssetStatus::ReadyPreNotify; + UpdateDebugStatus(asset); + + // Queue broadcast message for delivery on game thread. + AssetBus::QueueFunction(&AssetManager::NotifyAssetReady, this, Asset(asset)); + } + + //========================================================================= + // OnAssetError + //========================================================================= + void AssetManager::OnAssetError(const Asset& asset) + { + // Set status immediately from within the AssetManagerBus dispatch, so it's committed before anyone is notified (e.g. job to job, via AssetJobBus). + asset.Get()->m_status = AssetData::AssetStatus::Error; + UpdateDebugStatus(asset); + + // Queue broadcast message for delivery on game thread. + AssetBus::QueueFunction(&AssetManager::NotifyAssetError, this, Asset(asset)); + } + + void AssetManager::OnAssetCanceled(AssetId assetId) + { + // Queue broadcast message for delivery on game thread. + AssetBus::QueueFunction(&AssetManager::NotifyAssetCanceled, this, assetId); + } + + void AssetManager::ReleaseOwnedAssetContainer(AssetContainer* assetContainer) + { + AZ_Assert(assetContainer, "Trying to release a null assetContainer pointer!"); + AZStd::scoped_lock lock(m_assetContainerMutex); + auto rangeItr = m_ownedAssetContainerLookup.equal_range(assetContainer->GetContainerAssetId()); + + for (auto itr = rangeItr.first; itr != rangeItr.second; ++itr) + { + if (itr->second == assetContainer) { - // We may need to revalidate that this asset hasn't already passed through postLoad - AZStd::scoped_lock assetLock(m_assetMutex); - if (asset->IsReady() || asset->m_status == AssetData::AssetStatus::LoadedPreReady) - { - return; - } - asset->m_status = AssetData::AssetStatus::LoadedPreReady; - UpdateDebugStatus(asset); + m_ownedAssetContainerLookup.erase(itr); + break; } - PostLoad(asset, loadSucceeded, isReload, assetHandler); } - void AssetManager::PostLoad(AZ::Data::Asset& asset, bool loadSucceeded, - bool isReload, AZ::Data::AssetHandler* assetHandler) - { - AZ_PROFILE_FUNCTION(AzCore); - if (!assetHandler) - { - assetHandler = GetHandler(asset.GetType()); - } + m_ownedAssetContainers.erase(assetContainer); + } - if (assetHandler) + void AssetManager::OnAssetContainerReady(AssetContainer* assetContainer) + { + AssetBus::QueueFunction([this, assetContainer, asset = assetContainer->GetRootAsset()]() + { + NotifyAssetContainerReady(asset); + ReleaseOwnedAssetContainer(assetContainer); + }); + } + + void AssetManager::OnAssetContainerCanceled(AssetContainer* assetContainer) + { + AssetBus::QueueFunction([this, assetContainer]() + { + ReleaseOwnedAssetContainer(assetContainer); + }); + } + + //========================================================================= + // OnAssetReloaded + //========================================================================= + void AssetManager::OnAssetReloaded(const Asset& asset) + { + // Queue broadcast message for delivery on game thread. + AssetBus::QueueFunction(&AssetManager::NotifyAssetReloaded, this, Asset(asset)); + } + + //========================================================================= + // OnAssetReloadError + //========================================================================= + void AssetManager::OnAssetReloadError(const Asset& asset) + { + // Queue broadcast message for delivery on game thread. + AssetBus::QueueFunction(&AssetManager::NotifyAssetReloadError, this, Asset(asset)); + } + + + //========================================================================= + // AssetHandler + // [04/03/2014] + //========================================================================= + AssetHandler::AssetHandler() + : m_nHandledTypes(0) + { + } + + //========================================================================= + // ~AssetHandler + // [04/03/2014] + //========================================================================= + AssetHandler::~AssetHandler() + { + if (m_nHandledTypes > 0) + { + AssetManager::Instance().UnregisterHandler(this); + } + + AZ_Error("AssetDatabase", m_nHandledTypes == 0, "Asset handler is being destroyed but there are still %d asset types being handled by it!", (int)m_nHandledTypes); + } + + //========================================================================= + // LoadAssetDataFromStream + //========================================================================= + AssetHandler::LoadResult AssetHandler::LoadAssetDataFromStream( + const Asset& asset, + AZStd::shared_ptr stream, + const AssetFilterCB& assetLoadFilterCB) + { + AZ_PROFILE_SCOPE(AzCore, "AssetHandler::LoadAssetData - %s", asset.GetHint().c_str()); + +#ifdef AZ_ENABLE_TRACING + auto start = AZStd::chrono::system_clock::now(); +#endif + + LoadResult result = LoadAssetData(asset, stream, assetLoadFilterCB); + +#ifdef AZ_ENABLE_TRACING + auto loadMs = AZStd::chrono::duration_cast( + AZStd::chrono::system_clock::now() - start); + AZ_Warning("AssetDatabase", (!cl_assetLoadWarningEnable) || + loadMs <= AZStd::chrono::milliseconds(cl_assetLoadWarningMsThreshold), + "Load time threshold exceeded: LoadAssetData call for %s took %" PRId64 " ms", + asset.GetHint().c_str(), loadMs.count()); +#endif + + return result; + } + + //========================================================================= + // InitAsset + // [04/03/2014] + //========================================================================= + void AssetHandler::InitAsset(const Asset& asset, bool loadStageSucceeded, bool isReload) + { + if (loadStageSucceeded) + { + if (isReload) { - // Queue the result for dispatch to main thread. - assetHandler->InitAsset(asset, loadSucceeded, isReload); + AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetReloaded, asset); } else { - AZ_Warning("AssetManager", false, "Couldn't find handler for asset %s (%s)", asset.GetId().ToString().c_str(), asset.GetHint().c_str()); + AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetReady, asset); } + } + else + { + if (!isReload) + { + AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetError, asset); + } + else + { + AssetManagerBus::Broadcast(&AssetManagerBus::Events::OnAssetReloadError, asset); + } + } + } - // Notify any dependent jobs. - BlockingAssetLoadBus::Event(asset.GetId(), &BlockingAssetLoadBus::Events::OnLoadComplete); + void AssetManager::ValidateAndPostLoad(AZ::Data::Asset& asset, bool loadSucceeded, + bool isReload, AZ::Data::AssetHandler* assetHandler) + { + { + // We may need to revalidate that this asset hasn't already passed through postLoad + AZStd::scoped_lock assetLock(m_assetMutex); + if (asset->IsReady() || asset->m_status == AssetData::AssetStatus::LoadedPreReady) + { + return; + } + asset->m_status = AssetData::AssetStatus::LoadedPreReady; + UpdateDebugStatus(asset); + } + PostLoad(asset, loadSucceeded, isReload, assetHandler); + } - UnregisterAssetLoading(asset); + void AssetManager::PostLoad(AZ::Data::Asset& asset, bool loadSucceeded, + bool isReload, AZ::Data::AssetHandler* assetHandler) + { + AZ_PROFILE_FUNCTION(AzCore); + if (!assetHandler) + { + assetHandler = GetHandler(asset.GetType()); } - AZStd::shared_ptr AssetManager::GetAssetContainer(Asset asset, const AssetLoadParameters& loadParams) + if (assetHandler) { - // If we're doing a custom load through a filter just hand back a one off container - if (loadParams.m_assetLoadFilterCB) - { - return CreateAssetContainer(asset, loadParams); - } + // Queue the result for dispatch to main thread. + assetHandler->InitAsset(asset, loadSucceeded, isReload); + } + else + { + AZ_Warning("AssetManager", false, "Couldn't find handler for asset %s (%s)", asset.GetId().ToString().c_str(), asset.GetHint().c_str()); + } - AZStd::scoped_lock containerLock(m_assetContainerMutex); - AssetContainerKey containerKey{ asset.GetId(), loadParams }; + // Notify any dependent jobs. + BlockingAssetLoadBus::Event(asset.GetId(), &BlockingAssetLoadBus::Events::OnLoadComplete); - auto curIter = m_assetContainers.find(containerKey); - if (curIter != m_assetContainers.end()) + UnregisterAssetLoading(asset); + } + + AZStd::shared_ptr AssetManager::GetAssetContainer(Asset asset, const AssetLoadParameters& loadParams) + { + // If we're doing a custom load through a filter just hand back a one off container + if (loadParams.m_assetLoadFilterCB) + { + return CreateAssetContainer(asset, loadParams); + } + + AZStd::scoped_lock containerLock(m_assetContainerMutex); + AssetContainerKey containerKey{ asset.GetId(), loadParams }; + + auto curIter = m_assetContainers.find(containerKey); + if (curIter != m_assetContainers.end()) + { + auto newRef = curIter->second.lock(); + if (newRef && newRef->IsValid()) { - auto newRef = curIter->second.lock(); - if (newRef && newRef->IsValid()) - { - return newRef; - } - auto newContainer = CreateAssetContainer(asset, loadParams); - curIter->second = newContainer; - return newContainer; + return newRef; } auto newContainer = CreateAssetContainer(asset, loadParams); - - m_assetContainers.insert({ containerKey, newContainer }); - + curIter->second = newContainer; return newContainer; } + auto newContainer = CreateAssetContainer(asset, loadParams); - AZStd::shared_ptr AssetManager::CreateAssetContainer(Asset asset, const AssetLoadParameters& loadParams) const - { - return AZStd::shared_ptr( aznew AssetContainer(AZStd::move(asset), loadParams)); - } - } // namespace Data -} // namespace AZ + m_assetContainers.insert({ containerKey, newContainer }); + + return newContainer; + } + + AZStd::shared_ptr AssetManager::CreateAssetContainer(Asset asset, const AssetLoadParameters& loadParams) const + { + return AZStd::shared_ptr( aznew AssetContainer(AZStd::move(asset), loadParams)); + } +} // namespace AZ::Data size_t AZStd::hash::operator()(const AZ::Data::AssetContainerKey& obj) const { diff --git a/Code/Framework/AzCore/AzCore/Asset/AssetManager.h b/Code/Framework/AzCore/AzCore/Asset/AssetManager.h index f109bb278c..9666d434c1 100644 --- a/Code/Framework/AzCore/AzCore/Asset/AssetManager.h +++ b/Code/Framework/AzCore/AzCore/Asset/AssetManager.h @@ -169,14 +169,14 @@ namespace AZ /// Register handler with the system for a particular asset type. /// A handler should be registered for each asset type it handles. /// Please note that all the handlers are registered just once during app startup from the main thread - /// and therefore this is not a thread safe method and should not be invoked from different threads. + /// and therefore this is not a thread safe method and should not be invoked from different threads. void RegisterHandler(AssetHandler* handler, const AssetType& assetType); /// Unregister handler from the asset system. /// Please note that all the handlers are unregistered just once during app shutdown from the main thread /// and therefore this is not a thread safe method and should not be invoked from different threads. void UnregisterHandler(AssetHandler* handler); // @} - + // @{ Asset catalog management /// Register a catalog with the system for a particular asset type. /// A catalog should be registered for each asset type it is responsible for. @@ -295,7 +295,7 @@ namespace AZ /** * Old 'legacy' assetIds and asset hints can be automatically replaced with new ones during deserialize / assignment. * This operation can be somewhat costly, and its only useful if the program subsequently re-saves the files its loading so that - * the asset hints and assetIds actually persist. Thus, it can be disabled in situations where you know you are not going to be + * the asset hints and assetIds actually persist. Thus, it can be disabled in situations where you know you are not going to be * saving over or creating new source files (for example builders/background apps) * By default, it is enabled. */ @@ -316,7 +316,7 @@ namespace AZ * This method must be invoked before you start unregistering handlers manually and shutting down the asset manager. * This method ensures that all jobs in flight are either canceled or completed. * This method is automatically called in the destructor but if you are unregistering handlers manually, - * you must invoke it yourself. + * you must invoke it yourself. */ void PrepareShutDown(); @@ -366,7 +366,7 @@ namespace AZ /** * Creates a new shared AssetContainer with an optional loadFilter * **/ - AZStd::shared_ptr CreateAssetContainer(Asset asset, const AssetLoadParameters& loadParams = AssetLoadParameters{}) const; + virtual AZStd::shared_ptr CreateAssetContainer(Asset asset, const AssetLoadParameters& loadParams = AssetLoadParameters{}) const; /** @@ -452,7 +452,7 @@ namespace AZ // Variant of RegisterAssetLoading used for jobs which have been queued and need to verify the status of the asset - // before loading in order to prevent cases where a load is queued, then a blocking load goes through, then the queued + // before loading in order to prevent cases where a load is queued, then a blocking load goes through, then the queued // load is processed. This validation step leaves the loaded (And potentially modified) data as is in that case. bool ValidateAndRegisterAssetLoading(const Asset& asset); @@ -482,7 +482,7 @@ namespace AZ * the blocking. That will result in a single thread deadlock. * * If you need to queue work, the logic needs to be similar to this: - * + * AssetHandler::LoadResult MyAssetHandler::LoadAssetData(const Asset& asset, AZStd::shared_ptr stream, const AZ::Data::AssetFilterCB& assetLoadFilterCB) { @@ -496,13 +496,13 @@ namespace AZ } else { - // queue job to load asset in thread identified by m_loadingThreadId + // queue job to load asset in thread identified by m_loadingThreadId auto* queuedJob = QueueLoadingOnOtherThread(...); // block waiting for queued job to complete queuedJob->BlockUntilComplete(); } - + . . . @@ -525,7 +525,7 @@ namespace AZ //! Result from LoadAssetData - it either finished loading, didn't finish and is waiting for more data, or had an error. enum class LoadResult : u8 { - + Error, // The provided data failed to load correctly MoreDataRequired, // The provided data loaded correctly, but more data is required to finish the asset load LoadComplete // The provided data loaded correctly, and the asset has been created diff --git a/Code/Framework/AzCore/AzCore/Asset/AssetManagerBus.h b/Code/Framework/AzCore/AzCore/Asset/AssetManagerBus.h index f76ea19589..44707645d0 100644 --- a/Code/Framework/AzCore/AzCore/Asset/AssetManagerBus.h +++ b/Code/Framework/AzCore/AzCore/Asset/AssetManagerBus.h @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -129,7 +130,8 @@ namespace AZ /// Remove a catalog from our delta list and rebuild the catalog from remaining items virtual bool RemoveDeltaCatalog(AZStd::shared_ptr /*deltaCatalog*/) { return true; } /// Creates a manifest with the given DeltaCatalog name - virtual bool CreateBundleManifest(const AZStd::string& /*deltaCatalogPath*/, const AZStd::vector& /*dependentBundleNames*/, const AZStd::string& /*fileDirectory*/, int /*bundleVersion*/, const AZStd::vector& /*levelDirs*/) { return false; } + virtual bool CreateBundleManifest(const AZStd::string& /*deltaCatalogPath*/, const AZStd::vector& /*dependentBundleNames*/, + const AZStd::string& /*fileDirectory*/, int /*bundleVersion*/, const AZStd::vector& /*levelDirs*/) { return false; } /// Creates an instance of a registry containing info for just the specified files, and writes it out to a file at the specified path virtual bool CreateDeltaCatalog(const AZStd::vector& /*files*/, const AZStd::string& /*filePath*/) { return false; } diff --git a/Code/Framework/AzCore/AzCore/Component/EntityUtils.cpp b/Code/Framework/AzCore/AzCore/Component/EntityUtils.cpp index fcc8cd6424..54e40c1fc0 100644 --- a/Code/Framework/AzCore/AzCore/Component/EntityUtils.cpp +++ b/Code/Framework/AzCore/AzCore/Component/EntityUtils.cpp @@ -10,292 +10,289 @@ #include #include -namespace AZ +namespace AZ::EntityUtils { - namespace EntityUtils + //========================================================================= + // Reflect + //========================================================================= + void Reflect(ReflectContext* context) { - //========================================================================= - // Reflect - //========================================================================= - void Reflect(ReflectContext* context) + if (auto serializeContext = azrtti_cast(context)) { - if (auto serializeContext = azrtti_cast(context)) + serializeContext->Class()-> + Version(1)-> + Field("Entities", &SerializableEntityContainer::m_entities); + } + } + + struct StackDataType + { + const SerializeContext::ClassData* m_classData; + const SerializeContext::ClassElement* m_elementData; + void* m_dataPtr; + bool m_isModifiedContainer; + }; + + //========================================================================= + // EnumerateEntityIds + //========================================================================= + void EnumerateEntityIds(const void* classPtr, const Uuid& classUuid, const EntityIdVisitor& visitor, SerializeContext* context) + { + AZ_PROFILE_FUNCTION(AzCore); + + if (!context) + { + context = GetApplicationSerializeContext(); + if (!context) { - serializeContext->Class()-> - Version(1)-> - Field("Entities", &SerializableEntityContainer::m_entities); + AZ_Error("Serialization", false, "No serialize context provided! Failed to get component application default serialize context! ComponentApp is not started or input serialize context should not be null!"); + return; } } + AZStd::vector parentStack; + parentStack.reserve(30); + auto beginCB = [ &](void* ptr, const SerializeContext::ClassData* classData, const SerializeContext::ClassElement* elementData) -> bool + { + (void)elementData; - struct StackDataType + if (classData->m_typeId == SerializeTypeInfo::GetUuid()) + { + // determine if this is entity ref or just entityId (please refer to the function documentation for more info) + bool isEntityId = false; + if (!parentStack.empty() && parentStack.back()->m_typeId == SerializeTypeInfo::GetUuid()) + { + // our parent in the entity (currently entity has only one EntityId member, but we can check the offset for future proof + AZ_Assert(elementData && strcmp(elementData->m_name, "Id") == 0, "class Entity, should have only ONE EntityId member, the actual entity id!"); + isEntityId = true; + } + + EntityId* entityIdPtr = (elementData->m_flags & SerializeContext::ClassElement::FLG_POINTER) ? + *reinterpret_cast(ptr) : reinterpret_cast(ptr); + visitor(*entityIdPtr, isEntityId, elementData); + } + + parentStack.push_back(classData); + return true; + }; + + auto endCB = [ &]() -> bool + { + parentStack.pop_back(); + return true; + }; + + SerializeContext::EnumerateInstanceCallContext callContext( + beginCB, + endCB, + context, + SerializeContext::ENUM_ACCESS_FOR_READ, + nullptr + ); + + context->EnumerateInstanceConst( + &callContext, + classPtr, + classUuid, + nullptr, + nullptr + ); + } + + //========================================================================= + // GetApplicationSerializeContext + //========================================================================= + SerializeContext* GetApplicationSerializeContext() + { + SerializeContext* context = nullptr; + EBUS_EVENT_RESULT(context, ComponentApplicationBus, GetSerializeContext); + return context; + } + + //========================================================================= + // FindFirstDerivedComponent + //========================================================================= + Component* FindFirstDerivedComponent(const Entity* entity, const Uuid& typeId) + { + for (AZ::Component* component : entity->GetComponents()) { - const SerializeContext::ClassData* m_classData; - const SerializeContext::ClassElement* m_elementData; - void* m_dataPtr; - bool m_isModifiedContainer; + if (azrtti_istypeof(typeId, component)) + { + return component; + } + } + return nullptr; + } + + Component* FindFirstDerivedComponent(EntityId entityId, const Uuid& typeId) + { + Entity* entity{}; + ComponentApplicationBus::BroadcastResult(entity, &ComponentApplicationRequests::FindEntity, entityId); + return entity ? FindFirstDerivedComponent(entity, typeId) : nullptr; + } + + //========================================================================= + // FindDerivedComponents + //========================================================================= + Entity::ComponentArrayType FindDerivedComponents(const Entity* entity, const Uuid& typeId) + { + Entity::ComponentArrayType result; + for (AZ::Component* component : entity->GetComponents()) + { + if (azrtti_istypeof(typeId, component)) + { + result.push_back(component); + } + } + return result; + } + + Entity::ComponentArrayType FindDerivedComponents(EntityId entityId, const Uuid& typeId) + { + Entity* entity{}; + ComponentApplicationBus::BroadcastResult(entity, &ComponentApplicationRequests::FindEntity, entityId); + return entity ? FindDerivedComponents(entity, typeId) : Entity::ComponentArrayType(); + } + + bool EnumerateBaseRecursive(SerializeContext* context, const EnumerateBaseRecursiveVisitor& baseClassVisitor, const TypeId& typeToExamine) + { + AZ_Assert(context, "CheckDeclaresSerializeBaseClass called with no serialize context."); + if (!context) + { + return false; + } + + AZStd::fixed_vector knownBaseClasses = { typeToExamine }; // avoid allocating heap here if possible. 64 types are 64*sizeof(Uuid) which is only 1k. + bool foundBaseClass = false; + auto enumerateBaseVisitor = [&baseClassVisitor, &knownBaseClasses](const AZ::SerializeContext::ClassData* classData, const TypeId& examineTypeId) + { + if (!classData) + { + return false; + } + + if (AZStd::find(knownBaseClasses.begin(), knownBaseClasses.end(), classData->m_typeId) == knownBaseClasses.end()) + { + if (knownBaseClasses.size() == 64) + { + // this should be pretty unlikely since a single class would have to have many other classes in its heirarchy + // and it'd all have to be basically in one layer, as we are popping as we explore. + AZ_WarningOnce("EntityUtils", false, "While trying to find a base class, all available slots were consumed. consider increasing the size of knownBaseClasses.\n"); + // we cannot continue any further, assume we did not find it. + return false; + } + knownBaseClasses.push_back(classData->m_typeId); + } + + return baseClassVisitor(classData, examineTypeId); }; - //========================================================================= - // EnumerateEntityIds - //========================================================================= - void EnumerateEntityIds(const void* classPtr, const Uuid& classUuid, const EntityIdVisitor& visitor, SerializeContext* context) + while (!knownBaseClasses.empty() && !foundBaseClass) { - AZ_PROFILE_FUNCTION(AzCore); + TypeId toExamine = knownBaseClasses.back(); + knownBaseClasses.pop_back(); - if (!context) - { - context = GetApplicationSerializeContext(); - if (!context) - { - AZ_Error("Serialization", false, "No serialize context provided! Failed to get component application default serialize context! ComponentApp is not started or input serialize context should not be null!"); - return; - } - } - AZStd::vector parentStack; - parentStack.reserve(30); - auto beginCB = [ &](void* ptr, const SerializeContext::ClassData* classData, const SerializeContext::ClassElement* elementData) -> bool - { - (void)elementData; - - if (classData->m_typeId == SerializeTypeInfo::GetUuid()) - { - // determine if this is entity ref or just entityId (please refer to the function documentation for more info) - bool isEntityId = false; - if (!parentStack.empty() && parentStack.back()->m_typeId == SerializeTypeInfo::GetUuid()) - { - // our parent in the entity (currently entity has only one EntityId member, but we can check the offset for future proof - AZ_Assert(elementData && strcmp(elementData->m_name, "Id") == 0, "class Entity, should have only ONE EntityId member, the actual entity id!"); - isEntityId = true; - } - - EntityId* entityIdPtr = (elementData->m_flags & SerializeContext::ClassElement::FLG_POINTER) ? - *reinterpret_cast(ptr) : reinterpret_cast(ptr); - visitor(*entityIdPtr, isEntityId, elementData); - } - - parentStack.push_back(classData); - return true; - }; - - auto endCB = [ &]() -> bool - { - parentStack.pop_back(); - return true; - }; - - SerializeContext::EnumerateInstanceCallContext callContext( - beginCB, - endCB, - context, - SerializeContext::ENUM_ACCESS_FOR_READ, - nullptr - ); - - context->EnumerateInstanceConst( - &callContext, - classPtr, - classUuid, - nullptr, - nullptr - ); + context->EnumerateBase(enumerateBaseVisitor, toExamine); } - //========================================================================= - // GetApplicationSerializeContext - //========================================================================= - SerializeContext* GetApplicationSerializeContext() - { - SerializeContext* context = nullptr; - EBUS_EVENT_RESULT(context, ComponentApplicationBus, GetSerializeContext); - return context; - } + return foundBaseClass; + } - //========================================================================= - // FindFirstDerivedComponent - //========================================================================= - Component* FindFirstDerivedComponent(const Entity* entity, const Uuid& typeId) + bool CheckIfClassIsDeprecated(SerializeContext* context, const TypeId& typeToExamine) + { + bool isDeprecated = false; + auto classVisitorFn = [&isDeprecated](const AZ::SerializeContext::ClassData* classData, const TypeId& /*rttiBase*/) { - for (AZ::Component* component : entity->GetComponents()) - { - if (azrtti_istypeof(typeId, component)) - { - return component; - } - } - return nullptr; - } - - Component* FindFirstDerivedComponent(EntityId entityId, const Uuid& typeId) - { - Entity* entity{}; - ComponentApplicationBus::BroadcastResult(entity, &ComponentApplicationRequests::FindEntity, entityId); - return entity ? FindFirstDerivedComponent(entity, typeId) : nullptr; - } - - //========================================================================= - // FindDerivedComponents - //========================================================================= - Entity::ComponentArrayType FindDerivedComponents(const Entity* entity, const Uuid& typeId) - { - Entity::ComponentArrayType result; - for (AZ::Component* component : entity->GetComponents()) - { - if (azrtti_istypeof(typeId, component)) - { - result.push_back(component); - } - } - return result; - } - - Entity::ComponentArrayType FindDerivedComponents(EntityId entityId, const Uuid& typeId) - { - Entity* entity{}; - ComponentApplicationBus::BroadcastResult(entity, &ComponentApplicationRequests::FindEntity, entityId); - return entity ? FindDerivedComponents(entity, typeId) : Entity::ComponentArrayType(); - } - - bool EnumerateBaseRecursive(SerializeContext* context, const EnumerateBaseRecursiveVisitor& baseClassVisitor, const TypeId& typeToExamine) - { - AZ_Assert(context, "CheckDeclaresSerializeBaseClass called with no serialize context."); - if (!context) + // Stop iterating once we stop receiving SerializeContext::ClassData*. + if (!classData) { return false; } - AZStd::fixed_vector knownBaseClasses = { typeToExamine }; // avoid allocating heap here if possible. 64 types are 64*sizeof(Uuid) which is only 1k. - bool foundBaseClass = false; - auto enumerateBaseVisitor = [&baseClassVisitor, &knownBaseClasses](const AZ::SerializeContext::ClassData* classData, const TypeId& examineTypeId) - { - if (!classData) - { - return false; - } - - if (AZStd::find(knownBaseClasses.begin(), knownBaseClasses.end(), classData->m_typeId) == knownBaseClasses.end()) - { - if (knownBaseClasses.size() == 64) - { - // this should be pretty unlikely since a single class would have to have many other classes in its heirarchy - // and it'd all have to be basically in one layer, as we are popping as we explore. - AZ_WarningOnce("EntityUtils", false, "While trying to find a base class, all available slots were consumed. consider increasing the size of knownBaseClasses.\n"); - // we cannot continue any further, assume we did not find it. - return false; - } - knownBaseClasses.push_back(classData->m_typeId); - } - - return baseClassVisitor(classData, examineTypeId); - }; - - while (!knownBaseClasses.empty() && !foundBaseClass) - { - TypeId toExamine = knownBaseClasses.back(); - knownBaseClasses.pop_back(); - - context->EnumerateBase(enumerateBaseVisitor, toExamine); - } - - return foundBaseClass; - } - - bool CheckIfClassIsDeprecated(SerializeContext* context, const TypeId& typeToExamine) - { - bool isDeprecated = false; - auto classVisitorFn = [&isDeprecated](const AZ::SerializeContext::ClassData* classData, const TypeId& /*rttiBase*/) - { - // Stop iterating once we stop receiving SerializeContext::ClassData*. - if (!classData) - { - return false; - } - - // Stop iterating if we've found that the class is deprecated - if (classData->IsDeprecated()) - { - isDeprecated = true; - return false; - } - - return true; // keep iterating - }; - - // Check if the type is deprecated - const AZ::SerializeContext::ClassData* classData = context->FindClassData(typeToExamine); + // Stop iterating if we've found that the class is deprecated if (classData->IsDeprecated()) { - return true; - } - - // Check if any of its bases are deprecated - EnumerateBaseRecursive(context, classVisitorFn, typeToExamine); - - return isDeprecated; - } - - bool CheckDeclaresSerializeBaseClass(SerializeContext* context, const TypeId& typeToFind, const TypeId& typeToExamine) - { - AZ_Assert(context, "CheckDeclaresSerializeBaseClass called with no serialize context."); - if (!context) - { + isDeprecated = true; return false; } - bool foundBaseClass = false; - auto baseClassVisitorFn = [&typeToFind, &foundBaseClass](const AZ::SerializeContext::ClassData* reflectedBase, const TypeId& /*rttiBase*/) - { - if (!reflectedBase) - { - foundBaseClass = false; - return false; // stop iterating - } + return true; // keep iterating + }; - foundBaseClass = (reflectedBase->m_typeId == typeToFind); - if (foundBaseClass) - { - return false; // we have a base, stop iterating - } - - return true; // keep iterating - }; - - EnumerateBaseRecursive(context, baseClassVisitorFn, typeToExamine); - - return foundBaseClass; - } - - bool RemoveDuplicateServicesOfAndAfterIterator( - const ComponentDescriptor::DependencyArrayType::iterator& iterator, - ComponentDescriptor::DependencyArrayType& providedServiceArray, - const Entity* entity) + // Check if the type is deprecated + const AZ::SerializeContext::ClassData* classData = context->FindClassData(typeToExamine); + if (classData->IsDeprecated()) { - // Build types that strip out AZ_Warnings will complain that entity is unused without this. - (void)entity; - if (iterator == providedServiceArray.end()) - { - return false; - } - - bool duplicateFound = false; - - for (ComponentDescriptor::DependencyArrayType::iterator duplicateCheckIter = AZStd::next(iterator); - duplicateCheckIter != providedServiceArray.end();) - { - if (*iterator == *duplicateCheckIter) - { - AZ_Warning("Entity", false, "Duplicate service %d found on entity %s [%s]", - *duplicateCheckIter, - entity ? entity->GetName().c_str() : "Entity not provided", - entity ? entity->GetId().ToString().c_str() : ""); - duplicateCheckIter = providedServiceArray.erase(duplicateCheckIter); - duplicateFound = true; - } - else - { - ++duplicateCheckIter; - } - } - return duplicateFound; + return true; } - } // namespace EntityUtils -} // namespace AZ + + // Check if any of its bases are deprecated + EnumerateBaseRecursive(context, classVisitorFn, typeToExamine); + + return isDeprecated; + } + + bool CheckDeclaresSerializeBaseClass(SerializeContext* context, const TypeId& typeToFind, const TypeId& typeToExamine) + { + AZ_Assert(context, "CheckDeclaresSerializeBaseClass called with no serialize context."); + if (!context) + { + return false; + } + + bool foundBaseClass = false; + auto baseClassVisitorFn = [&typeToFind, &foundBaseClass](const AZ::SerializeContext::ClassData* reflectedBase, const TypeId& /*rttiBase*/) + { + if (!reflectedBase) + { + foundBaseClass = false; + return false; // stop iterating + } + + foundBaseClass = (reflectedBase->m_typeId == typeToFind); + if (foundBaseClass) + { + return false; // we have a base, stop iterating + } + + return true; // keep iterating + }; + + EnumerateBaseRecursive(context, baseClassVisitorFn, typeToExamine); + + return foundBaseClass; + } + + bool RemoveDuplicateServicesOfAndAfterIterator( + const ComponentDescriptor::DependencyArrayType::iterator& iterator, + ComponentDescriptor::DependencyArrayType& providedServiceArray, + const Entity* entity) + { + // Build types that strip out AZ_Warnings will complain that entity is unused without this. + (void)entity; + if (iterator == providedServiceArray.end()) + { + return false; + } + + bool duplicateFound = false; + + for (ComponentDescriptor::DependencyArrayType::iterator duplicateCheckIter = AZStd::next(iterator); + duplicateCheckIter != providedServiceArray.end();) + { + if (*iterator == *duplicateCheckIter) + { + AZ_Warning("Entity", false, "Duplicate service %d found on entity %s [%s]", + *duplicateCheckIter, + entity ? entity->GetName().c_str() : "Entity not provided", + entity ? entity->GetId().ToString().c_str() : ""); + duplicateCheckIter = providedServiceArray.erase(duplicateCheckIter); + duplicateFound = true; + } + else + { + ++duplicateCheckIter; + } + } + return duplicateFound; + } +} // namespace AZ::EntityUtils diff --git a/Code/Framework/AzCore/AzCore/Compression/zstd_compression.cpp b/Code/Framework/AzCore/AzCore/Compression/zstd_compression.cpp index 9db59bc781..ecab62d123 100644 --- a/Code/Framework/AzCore/AzCore/Compression/zstd_compression.cpp +++ b/Code/Framework/AzCore/AzCore/Compression/zstd_compression.cpp @@ -57,6 +57,7 @@ void ZStd::StartCompressor(unsigned int compressionLevel) ZSTD_customMem customAlloc; customAlloc.customAlloc = reinterpret_cast(&AllocateMem); customAlloc.customFree = &FreeMem; + customAlloc.opaque = nullptr; AZ_UNUSED(compressionLevel); m_streamCompression = (ZSTD_createCStream_advanced(customAlloc)); diff --git a/Code/Framework/AzCore/AzCore/Debug/AssetTracking.cpp b/Code/Framework/AzCore/AzCore/Debug/AssetTracking.cpp index 3cb895c992..c03b75d118 100644 --- a/Code/Framework/AzCore/AzCore/Debug/AssetTracking.cpp +++ b/Code/Framework/AzCore/AzCore/Debug/AssetTracking.cpp @@ -14,323 +14,313 @@ #include #include -namespace AZ +namespace AZ::Debug { - namespace Debug + namespace { - namespace + struct AssetTreeNode; + + // Per-thread data that needs to be stored. + struct ThreadData { - struct AssetTreeNode; - - // Per-thread data that needs to be stored. - struct ThreadData - { - AZStd::vector m_currentAssetStack; - }; - - // Access thread data through a virtual function to ensure that the same thread-local data is being shared across DLLs. - // Otherwise, the thread_local variables are replicated across DLLs that link the AzCore library, and you'll get a - // different version in each module. - class ThreadDataProvider - { - public: - virtual ThreadData& GetThreadData() = 0; - }; - } - - class AssetTrackingImpl final : - public ThreadDataProvider - { - public: - AZ_TYPE_INFO(AssetTrackingImpl, "{01E2A099-3523-40BE-80E0-E0ADD861BEE1}"); - AZ_CLASS_ALLOCATOR(AssetTrackingImpl, OSAllocator, 0); - - AssetTrackingImpl(AssetTreeBase* assetTree, AssetAllocationTableBase* allocationTable); - ~AssetTrackingImpl(); - - void AssetBegin(const char* id, const char* file, int line); - void AssetAttach(void* otherAllocation, const char* file, int line); - void AssetEnd(); - - ThreadData& GetThreadData() override; - - private: - static EnvironmentVariable& GetEnvironmentVariable(); - static AssetTrackingImpl* GetSharedInstance(); - static ThreadData& GetSharedThreadData(); - - using PrimaryAssets = AZStd::unordered_map, AZStd::equal_to, AZStdAssetTrackingAllocator>; - using ThreadData = ThreadData; - using mutex_type = AZStd::mutex; - using lock_type = AZStd::lock_guard; - - mutex_type m_mutex; - PrimaryAssets m_primaryAssets; - AssetTreeNodeBase* m_assetRoot = nullptr; - AssetAllocationTableBase* m_allocationTable = nullptr; - bool m_performingAnalysis = false; - - friend class AssetTracking; - friend class AssetTracking::Scope; + AZStd::vector m_currentAssetStack; }; + // Access thread data through a virtual function to ensure that the same thread-local data is being shared across DLLs. + // Otherwise, the thread_local variables are replicated across DLLs that link the AzCore library, and you'll get a + // different version in each module. + class ThreadDataProvider + { + public: + virtual ThreadData& GetThreadData() = 0; + }; } -} + + class AssetTrackingImpl final : + public ThreadDataProvider + { + public: + AZ_TYPE_INFO(AssetTrackingImpl, "{01E2A099-3523-40BE-80E0-E0ADD861BEE1}"); + AZ_CLASS_ALLOCATOR(AssetTrackingImpl, OSAllocator, 0); + + AssetTrackingImpl(AssetTreeBase* assetTree, AssetAllocationTableBase* allocationTable); + ~AssetTrackingImpl(); + + void AssetBegin(const char* id, const char* file, int line); + void AssetAttach(void* otherAllocation, const char* file, int line); + void AssetEnd(); + + ThreadData& GetThreadData() override; + + private: + static EnvironmentVariable& GetEnvironmentVariable(); + static AssetTrackingImpl* GetSharedInstance(); + static ThreadData& GetSharedThreadData(); + + using PrimaryAssets = AZStd::unordered_map, AZStd::equal_to, AZStdAssetTrackingAllocator>; + using ThreadData = ThreadData; + using mutex_type = AZStd::mutex; + using lock_type = AZStd::lock_guard; + + mutex_type m_mutex; + PrimaryAssets m_primaryAssets; + AssetTreeNodeBase* m_assetRoot = nullptr; + AssetAllocationTableBase* m_allocationTable = nullptr; + bool m_performingAnalysis = false; + + friend class AssetTracking; + friend class AssetTracking::Scope; + }; + /////////////////////////////////////////////////////////////////////////////// // AssetTrackingImpl methods /////////////////////////////////////////////////////////////////////////////// -namespace AZ -{ - namespace Debug + AssetTrackingImpl::AssetTrackingImpl(AssetTreeBase* assetTree, AssetAllocationTableBase* allocationTable) : + m_assetRoot(&assetTree->GetRoot()), + m_allocationTable(allocationTable) { - AssetTrackingImpl::AssetTrackingImpl(AssetTreeBase* assetTree, AssetAllocationTableBase* allocationTable) : - m_assetRoot(&assetTree->GetRoot()), - m_allocationTable(allocationTable) - { - AZ_Assert(!GetSharedInstance(), "Only one AssetTrackingImpl can exist!"); + AZ_Assert(!GetSharedInstance(), "Only one AssetTrackingImpl can exist!"); - GetEnvironmentVariable().Set(this); - AllocatorManager::Instance().EnterProfilingMode(); + GetEnvironmentVariable().Set(this); + AllocatorManager::Instance().EnterProfilingMode(); + } + + AssetTrackingImpl::~AssetTrackingImpl() + { + AllocatorManager::Instance().ExitProfilingMode(); + GetEnvironmentVariable().Reset(); + } + + void AssetTrackingImpl::AssetBegin(const char* id, const char* file, int line) + { + // In the future it may be desirable to organize assets based on where in code the asset was entered into. + // For now these are ignored. + AZ_UNUSED(file); + AZ_UNUSED(line); + + using namespace Internal; + + AssetTrackingId assetId(id); + auto& threadData = GetSharedThreadData(); + AssetTreeNodeBase* parentAsset = threadData.m_currentAssetStack.empty() ? nullptr : threadData.m_currentAssetStack.back(); + AssetTreeNodeBase* childAsset; + AssetPrimaryInfo* assetPrimaryInfo; + + if (!parentAsset) + { + parentAsset = m_assetRoot; } - AssetTrackingImpl::~AssetTrackingImpl() { - AllocatorManager::Instance().ExitProfilingMode(); - GetEnvironmentVariable().Reset(); - } + lock_type lock(m_mutex); - void AssetTrackingImpl::AssetBegin(const char* id, const char* file, int line) - { - // In the future it may be desirable to organize assets based on where in code the asset was entered into. - // For now these are ignored. - AZ_UNUSED(file); - AZ_UNUSED(line); + // Locate or create the primary record for this asset + auto primaryItr = m_primaryAssets.find(assetId); - using namespace Internal; - - AssetTrackingId assetId(id); - auto& threadData = GetSharedThreadData(); - AssetTreeNodeBase* parentAsset = threadData.m_currentAssetStack.empty() ? nullptr : threadData.m_currentAssetStack.back(); - AssetTreeNodeBase* childAsset; - AssetPrimaryInfo* assetPrimaryInfo; - - if (!parentAsset) + if (primaryItr != m_primaryAssets.end()) { - parentAsset = m_assetRoot; - } - - { - lock_type lock(m_mutex); - - // Locate or create the primary record for this asset - auto primaryItr = m_primaryAssets.find(assetId); - - if (primaryItr != m_primaryAssets.end()) - { - assetPrimaryInfo = &primaryItr->second; - } - else - { - auto insertResult = m_primaryAssets.emplace(assetId, AssetPrimaryInfo()); - assetPrimaryInfo = &insertResult.first->second; - assetPrimaryInfo->m_id = &insertResult.first->first; - } - - // Add this asset to the stack for this thread's context - childAsset = parentAsset->FindOrAddChild(assetId, assetPrimaryInfo); - } - - threadData.m_currentAssetStack.push_back(childAsset); - } - - void AssetTrackingImpl::AssetAttach(void* otherAllocation, const char* file, int line) - { - AZ_UNUSED(file); - AZ_UNUSED(line); - - using namespace Internal; - - AssetTreeNodeBase* assetInfo = m_allocationTable->FindAllocation(otherAllocation); - - // We will push back a nullptr if there is no asset, this is necessary to balance the call to AssetEnd() - GetSharedThreadData().m_currentAssetStack.push_back(assetInfo); - } - - void AssetTrackingImpl::AssetEnd() - { - AZ_Assert(!GetSharedThreadData().m_currentAssetStack.empty(), "AssetEnd() called without matching AssetBegin() or AssetAttach. Use the AZ_ASSET_NAMED_SCOPE and AZ_ASSET_ATTACH_TO_SCOPE macros to avoid this!"); - GetSharedThreadData().m_currentAssetStack.pop_back(); - } - - AssetTrackingImpl* AssetTrackingImpl::GetSharedInstance() - { - auto environmentVariable = GetEnvironmentVariable(); - - if(environmentVariable) - { - return *environmentVariable; - } - - return nullptr; - } - - ThreadData& AssetTrackingImpl::GetSharedThreadData() - { - // Cast to the base type so our virtual call doesn't get optimized away. We require GetThreadData() to be executed in the same DLL every time. - return static_cast(GetSharedInstance())->GetThreadData(); - } - - AssetTrackingImpl::ThreadData& AssetTrackingImpl::GetThreadData() - { - static thread_local ThreadData* data = nullptr; - static thread_local typename AZStd::aligned_storage_t storage; - - if (!data) - { - data = new (&storage) ThreadData; - } - - return *data; - } - - EnvironmentVariable& AssetTrackingImpl::GetEnvironmentVariable() - { - static EnvironmentVariable assetTrackingImpl = Environment::CreateVariable(AzTypeInfo::Name()); - - return assetTrackingImpl; - } - - /////////////////////////////////////////////////////////////////////////////// - // AssetTracking::Scope functions - /////////////////////////////////////////////////////////////////////////////// - - AssetTracking::Scope AssetTracking::Scope::ScopeFromAssetId(const char* file, int line, const char* fmt, ...) - { - if (auto impl = AssetTrackingImpl::GetSharedInstance()) - { - static const int BUFFER_SIZE = 1024; - - char buffer[BUFFER_SIZE]; - va_list args; - va_start(args, fmt); - azvsnprintf(buffer, BUFFER_SIZE, fmt, args); - va_end(args); - - impl->AssetBegin(buffer, file, line); - } - - return Scope(); - } - - AssetTracking::Scope AssetTracking::Scope::ScopeFromAttachment(void* attachTo, const char* file, int line) - { - if (auto impl = AssetTrackingImpl::GetSharedInstance()) - { - impl->AssetAttach(attachTo, file, line); - } - - return Scope(); - } - - AssetTracking::Scope::~Scope() - { - if (auto impl = AssetTrackingImpl::GetSharedInstance()) - { - impl->AssetEnd(); - } - } - - AssetTracking::Scope::Scope() - { - } - - /////////////////////////////////////////////////////////////////////////////// - // AssetTracking functions - /////////////////////////////////////////////////////////////////////////////// - - void AssetTracking::EnterScopeByAssetId(const char* file, int line, const char* fmt, ...) - { - if (auto impl = AssetTrackingImpl::GetSharedInstance()) - { - static const int BUFFER_SIZE = 1024; - - char buffer[BUFFER_SIZE]; - va_list args; - va_start(args, fmt); - azvsnprintf(buffer, BUFFER_SIZE, fmt, args); - va_end(args); - - impl->AssetBegin(buffer, file, line); - } - } - - void AssetTracking::EnterScopeByAttachment(void* attachTo, const char* file, int line) - { - if (auto impl = AssetTrackingImpl::GetSharedInstance()) - { - impl->AssetAttach(attachTo, file, line); - } - } - - void AssetTracking::ExitScope() - { - if (auto impl = AssetTrackingImpl::GetSharedInstance()) - { - impl->AssetEnd(); - } - } - - const char* AssetTracking::GetDebugScope() - { - // Output debug information about the current asset scope in the current thread. - // Do not use in production code. -#ifndef RELEASE - static const int BUFFER_SIZE = 1024; - static char buffer[BUFFER_SIZE]; - const auto& assetStack = AssetTrackingImpl::GetSharedInstance()->GetThreadData().m_currentAssetStack; - - if (assetStack.empty()) - { - azsnprintf(buffer, BUFFER_SIZE, ""); + assetPrimaryInfo = &primaryItr->second; } else { - char* pos = buffer; - for (auto itr = assetStack.rbegin(); itr != assetStack.rend(); ++itr) - { - pos += azsnprintf(pos, BUFFER_SIZE - (pos - buffer), "%s\n", (*itr)->GetAssetPrimaryInfo()->m_id->m_id.c_str()); - - if (pos >= buffer + BUFFER_SIZE) - { - break; - } - } + auto insertResult = m_primaryAssets.emplace(assetId, AssetPrimaryInfo()); + assetPrimaryInfo = &insertResult.first->second; + assetPrimaryInfo->m_id = &insertResult.first->first; } - return buffer; -#else - return ""; -#endif + // Add this asset to the stack for this thread's context + childAsset = parentAsset->FindOrAddChild(assetId, assetPrimaryInfo); } - AssetTracking::AssetTracking(AssetTreeBase* assetTree, AssetAllocationTableBase* allocationTable) + threadData.m_currentAssetStack.push_back(childAsset); + } + + void AssetTrackingImpl::AssetAttach(void* otherAllocation, const char* file, int line) + { + AZ_UNUSED(file); + AZ_UNUSED(line); + + using namespace Internal; + + AssetTreeNodeBase* assetInfo = m_allocationTable->FindAllocation(otherAllocation); + + // We will push back a nullptr if there is no asset, this is necessary to balance the call to AssetEnd() + GetSharedThreadData().m_currentAssetStack.push_back(assetInfo); + } + + void AssetTrackingImpl::AssetEnd() + { + AZ_Assert(!GetSharedThreadData().m_currentAssetStack.empty(), "AssetEnd() called without matching AssetBegin() or AssetAttach. Use the AZ_ASSET_NAMED_SCOPE and AZ_ASSET_ATTACH_TO_SCOPE macros to avoid this!"); + GetSharedThreadData().m_currentAssetStack.pop_back(); + } + + AssetTrackingImpl* AssetTrackingImpl::GetSharedInstance() + { + auto environmentVariable = GetEnvironmentVariable(); + + if(environmentVariable) { - m_impl.reset(aznew AssetTrackingImpl(assetTree, allocationTable)); + return *environmentVariable; } - AssetTracking::~AssetTracking() + return nullptr; + } + + ThreadData& AssetTrackingImpl::GetSharedThreadData() + { + // Cast to the base type so our virtual call doesn't get optimized away. We require GetThreadData() to be executed in the same DLL every time. + return static_cast(GetSharedInstance())->GetThreadData(); + } + + AssetTrackingImpl::ThreadData& AssetTrackingImpl::GetThreadData() + { + static thread_local ThreadData* data = nullptr; + static thread_local typename AZStd::aligned_storage_t storage; + + if (!data) { + data = new (&storage) ThreadData; } - AssetTreeNodeBase* AssetTracking::GetCurrentThreadAsset() const - { - const auto& assetStack = m_impl->GetThreadData().m_currentAssetStack; - AssetTreeNodeBase* result = assetStack.empty() ? nullptr : assetStack.back(); + return *data; + } - return result; + EnvironmentVariable& AssetTrackingImpl::GetEnvironmentVariable() + { + static EnvironmentVariable assetTrackingImpl = Environment::CreateVariable(AzTypeInfo::Name()); + + return assetTrackingImpl; + } + + /////////////////////////////////////////////////////////////////////////////// + // AssetTracking::Scope functions + /////////////////////////////////////////////////////////////////////////////// + + AssetTracking::Scope AssetTracking::Scope::ScopeFromAssetId(const char* file, int line, const char* fmt, ...) + { + if (auto impl = AssetTrackingImpl::GetSharedInstance()) + { + static const int BUFFER_SIZE = 1024; + + char buffer[BUFFER_SIZE]; + va_list args; + va_start(args, fmt); + azvsnprintf(buffer, BUFFER_SIZE, fmt, args); + va_end(args); + + impl->AssetBegin(buffer, file, line); + } + + return Scope(); + } + + AssetTracking::Scope AssetTracking::Scope::ScopeFromAttachment(void* attachTo, const char* file, int line) + { + if (auto impl = AssetTrackingImpl::GetSharedInstance()) + { + impl->AssetAttach(attachTo, file, line); + } + + return Scope(); + } + + AssetTracking::Scope::~Scope() + { + if (auto impl = AssetTrackingImpl::GetSharedInstance()) + { + impl->AssetEnd(); } } + AssetTracking::Scope::Scope() + { + } + + /////////////////////////////////////////////////////////////////////////////// + // AssetTracking functions + /////////////////////////////////////////////////////////////////////////////// + + void AssetTracking::EnterScopeByAssetId(const char* file, int line, const char* fmt, ...) + { + if (auto impl = AssetTrackingImpl::GetSharedInstance()) + { + static const int BUFFER_SIZE = 1024; + + char buffer[BUFFER_SIZE]; + va_list args; + va_start(args, fmt); + azvsnprintf(buffer, BUFFER_SIZE, fmt, args); + va_end(args); + + impl->AssetBegin(buffer, file, line); + } + } + + void AssetTracking::EnterScopeByAttachment(void* attachTo, const char* file, int line) + { + if (auto impl = AssetTrackingImpl::GetSharedInstance()) + { + impl->AssetAttach(attachTo, file, line); + } + } + + void AssetTracking::ExitScope() + { + if (auto impl = AssetTrackingImpl::GetSharedInstance()) + { + impl->AssetEnd(); + } + } + + const char* AssetTracking::GetDebugScope() + { + // Output debug information about the current asset scope in the current thread. + // Do not use in production code. +#ifndef RELEASE + static const int BUFFER_SIZE = 1024; + static char buffer[BUFFER_SIZE]; + const auto& assetStack = AssetTrackingImpl::GetSharedInstance()->GetThreadData().m_currentAssetStack; + + if (assetStack.empty()) + { + azsnprintf(buffer, BUFFER_SIZE, ""); + } + else + { + char* pos = buffer; + for (auto itr = assetStack.rbegin(); itr != assetStack.rend(); ++itr) + { + pos += azsnprintf(pos, BUFFER_SIZE - (pos - buffer), "%s\n", (*itr)->GetAssetPrimaryInfo()->m_id->m_id.c_str()); + + if (pos >= buffer + BUFFER_SIZE) + { + break; + } + } + } + + return buffer; +#else + return ""; +#endif + } + + AssetTracking::AssetTracking(AssetTreeBase* assetTree, AssetAllocationTableBase* allocationTable) + { + m_impl.reset(aznew AssetTrackingImpl(assetTree, allocationTable)); + } + + AssetTracking::~AssetTracking() + { + } + + AssetTreeNodeBase* AssetTracking::GetCurrentThreadAsset() const + { + const auto& assetStack = m_impl->GetThreadData().m_currentAssetStack; + AssetTreeNodeBase* result = assetStack.empty() ? nullptr : assetStack.back(); + + return result; + } } // namespace AzFramework diff --git a/Code/Framework/AzCore/AzCore/Debug/EventTrace.cpp b/Code/Framework/AzCore/AzCore/Debug/EventTrace.cpp index 88a78de031..58fa1f6cca 100644 --- a/Code/Framework/AzCore/AzCore/Debug/EventTrace.cpp +++ b/Code/Framework/AzCore/AzCore/Debug/EventTrace.cpp @@ -11,19 +11,19 @@ #include #include -namespace AZ +namespace AZ::Debug { - namespace Debug + EventTrace::ScopedSlice::ScopedSlice(const char* name, const char* category) + : m_Name(name) + , m_Category(category) + , m_Time(AZStd::GetTimeNowMicroSecond()) { - EventTrace::ScopedSlice::ScopedSlice(const char* name, const char* category) - : m_Name(name) - , m_Category(category) - , m_Time(AZStd::GetTimeNowMicroSecond()) - {} - - EventTrace::ScopedSlice::~ScopedSlice() - { - EventTraceDrillerBus::TryQueueBroadcast(&EventTraceDrillerInterface::RecordSlice, m_Name, m_Category, AZStd::this_thread::get_id(), m_Time, (uint32_t)(AZStd::GetTimeNowMicroSecond() - m_Time)); - } } -} + + EventTrace::ScopedSlice::~ScopedSlice() + { + EventTraceDrillerBus::TryQueueBroadcast( + &EventTraceDrillerInterface::RecordSlice, m_Name, m_Category, AZStd::this_thread::get_id(), m_Time, + (uint32_t)(AZStd::GetTimeNowMicroSecond() - m_Time)); + } +} // namespace AZ::Debug diff --git a/Code/Framework/AzCore/AzCore/Debug/EventTraceDriller.cpp b/Code/Framework/AzCore/AzCore/Debug/EventTraceDriller.cpp index 658021b018..d0722616f3 100644 --- a/Code/Framework/AzCore/AzCore/Debug/EventTraceDriller.cpp +++ b/Code/Framework/AzCore/AzCore/Debug/EventTraceDriller.cpp @@ -11,151 +11,149 @@ #include #include -namespace AZ +namespace AZ::Debug { - namespace Debug + namespace Crc { - namespace Crc + constexpr u32 EventTraceDriller = AZ_CRC_CE("EventTraceDriller"); + constexpr u32 Slice = AZ_CRC_CE("Slice"); + constexpr u32 ThreadInfo = AZ_CRC_CE("ThreadInfo"); + constexpr u32 Name = AZ_CRC_CE("Name"); + constexpr u32 Category = AZ_CRC_CE("Category"); + constexpr u32 ThreadId = AZ_CRC_CE("ThreadId"); + constexpr u32 Timestamp = AZ_CRC_CE("Timestamp"); + constexpr u32 Duration = AZ_CRC_CE("Duration"); + constexpr u32 Instant = AZ_CRC_CE("Instant"); + } + + EventTraceDriller::EventTraceDriller() + { + EventTraceDrillerSetupBus::Handler::BusConnect(); + AZStd::ThreadDrillerEventBus::Handler::BusConnect(); + } + + EventTraceDriller::~EventTraceDriller() + { + AZStd::ThreadDrillerEventBus::Handler::BusDisconnect(); + EventTraceDrillerSetupBus::Handler::BusDisconnect(); + } + + void EventTraceDriller::Start(const Param* params, int numParams) + { + (void)params; + (void)numParams; + + EventTraceDrillerBus::Handler::BusConnect(); + TickBus::Handler::BusConnect(); + + EventTraceDrillerBus::AllowFunctionQueuing(true); + } + + void EventTraceDriller::Stop() + { + EventTraceDrillerBus::AllowFunctionQueuing(false); + EventTraceDrillerBus::ClearQueuedEvents(); + + EventTraceDrillerBus::Handler::BusDisconnect(); + TickBus::Handler::BusDisconnect(); + } + + void EventTraceDriller::OnTick(float deltaTime, ScriptTimePoint time) + { + (void)deltaTime; + (void)time; + + AZ_TRACE_METHOD(); + RecordThreads(); + EventTraceDrillerBus::ExecuteQueuedEvents(); + } + + void EventTraceDriller::SetThreadName(const AZStd::thread_id& id, const char* name) + { + AZStd::lock_guard lock(m_ThreadMutex); + m_Threads[(size_t)id.m_id] = ThreadData{ name }; + } + + void EventTraceDriller::OnThreadEnter(const AZStd::thread::id& id, const AZStd::thread_desc* desc) + { + if (desc && desc->m_name) { - const u32 EventTraceDriller = AZ_CRC("EventTraceDriller", 0xf7aeae55); - const u32 Slice = AZ_CRC("Slice", 0x3dae78a5); - const u32 ThreadInfo = AZ_CRC("ThreadInfo", 0x89bf78be); - const u32 Name = AZ_CRC("Name", 0x5e237e06); - const u32 Category = AZ_CRC("Category", 0x064c19c1); - const u32 ThreadId = AZ_CRC("ThreadId", 0xd0fd9043); - const u32 Timestamp = AZ_CRC("Timestamp", 0xa5d6e63e); - const u32 Duration = AZ_CRC("Duration", 0x865f80c0); - const u32 Instant = AZ_CRC("Instant", 0x0e9047ad); + SetThreadName(id, desc->m_name); } + } - EventTraceDriller::EventTraceDriller() + void EventTraceDriller::OnThreadExit(const AZStd::thread::id& id) + { + AZStd::lock_guard lock(m_ThreadMutex); + m_Threads.erase((size_t)id.m_id); + } + + void EventTraceDriller::RecordThreads() + { + if (!m_output || m_Threads.empty()) { - EventTraceDrillerSetupBus::Handler::BusConnect(); - AZStd::ThreadDrillerEventBus::Handler::BusConnect(); + return; } + // Main bus mutex guards m_output. + auto& context = EventTraceDrillerBus::GetOrCreateContext(); - EventTraceDriller::~EventTraceDriller() - { - AZStd::ThreadDrillerEventBus::Handler::BusDisconnect(); - EventTraceDrillerSetupBus::Handler::BusDisconnect(); - } - - void EventTraceDriller::Start(const Param* params, int numParams) - { - (void)params; - (void)numParams; - - EventTraceDrillerBus::Handler::BusConnect(); - TickBus::Handler::BusConnect(); - - EventTraceDrillerBus::AllowFunctionQueuing(true); - } - - void EventTraceDriller::Stop() - { - EventTraceDrillerBus::AllowFunctionQueuing(false); - EventTraceDrillerBus::ClearQueuedEvents(); - - EventTraceDrillerBus::Handler::BusDisconnect(); - TickBus::Handler::BusDisconnect(); - } - - void EventTraceDriller::OnTick(float deltaTime, ScriptTimePoint time) - { - (void)deltaTime; - (void)time; - - AZ_TRACE_METHOD(); - RecordThreads(); - EventTraceDrillerBus::ExecuteQueuedEvents(); - } - - void EventTraceDriller::SetThreadName(const AZStd::thread_id& id, const char* name) - { - AZStd::lock_guard lock(m_ThreadMutex); - m_Threads[(size_t)id.m_id] = ThreadData{ name }; - } - - void EventTraceDriller::OnThreadEnter(const AZStd::thread::id& id, const AZStd::thread_desc* desc) - { - if (desc && desc->m_name) - { - SetThreadName(id, desc->m_name); - } - } - - void EventTraceDriller::OnThreadExit(const AZStd::thread::id& id) - { - AZStd::lock_guard lock(m_ThreadMutex); - m_Threads.erase((size_t)id.m_id); - } - - void EventTraceDriller::RecordThreads() - { - if (m_output && m_Threads.size()) - { - // Main bus mutex guards m_output. - auto& context = EventTraceDrillerBus::GetOrCreateContext(); - - AZStd::scoped_lock lock(context.m_contextMutex, m_ThreadMutex); - for (const auto& keyValue : m_Threads) - { - m_output->BeginTag(Crc::EventTraceDriller); - m_output->BeginTag(Crc::ThreadInfo); - m_output->Write(Crc::ThreadId, keyValue.first); - m_output->Write(Crc::Name, keyValue.second.name); - m_output->EndTag(Crc::ThreadInfo); - m_output->EndTag(Crc::EventTraceDriller); - } - } - } - - void EventTraceDriller::RecordSlice( - const char* name, - const char* category, - const AZStd::thread_id threadId, - AZ::u64 timestamp, - AZ::u32 duration) + AZStd::scoped_lock lock(context.m_contextMutex, m_ThreadMutex); + for (const auto& keyValue : m_Threads) { m_output->BeginTag(Crc::EventTraceDriller); - m_output->BeginTag(Crc::Slice); - m_output->Write(Crc::Name, name); - m_output->Write(Crc::Category, category); - m_output->Write(Crc::ThreadId, (size_t)threadId.m_id); - m_output->Write(Crc::Timestamp, timestamp); - m_output->Write(Crc::Duration, std::max(duration, 1u)); - m_output->EndTag(Crc::Slice); - m_output->EndTag(Crc::EventTraceDriller); - } - - void EventTraceDriller::RecordInstantGlobal( - const char* name, - const char* category, - AZ::u64 timestamp) - { - m_output->BeginTag(Crc::EventTraceDriller); - m_output->BeginTag(Crc::Instant); - m_output->Write(Crc::Name, name); - m_output->Write(Crc::Category, category); - m_output->Write(Crc::Timestamp, timestamp); - m_output->EndTag(Crc::Instant); - m_output->EndTag(Crc::EventTraceDriller); - } - - void EventTraceDriller::RecordInstantThread( - const char* name, - const char* category, - const AZStd::thread_id threadId, - AZ::u64 timestamp) - { - m_output->BeginTag(Crc::EventTraceDriller); - m_output->BeginTag(Crc::Instant); - m_output->Write(Crc::Name, name); - m_output->Write(Crc::Category, category); - m_output->Write(Crc::ThreadId, (size_t)threadId.m_id); - m_output->Write(Crc::Timestamp, timestamp); - m_output->EndTag(Crc::Instant); + m_output->BeginTag(Crc::ThreadInfo); + m_output->Write(Crc::ThreadId, keyValue.first); + m_output->Write(Crc::Name, keyValue.second.name); + m_output->EndTag(Crc::ThreadInfo); m_output->EndTag(Crc::EventTraceDriller); } } -} + + void EventTraceDriller::RecordSlice( + const char* name, + const char* category, + const AZStd::thread_id threadId, + AZ::u64 timestamp, + AZ::u32 duration) + { + m_output->BeginTag(Crc::EventTraceDriller); + m_output->BeginTag(Crc::Slice); + m_output->Write(Crc::Name, name); + m_output->Write(Crc::Category, category); + m_output->Write(Crc::ThreadId, (size_t)threadId.m_id); + m_output->Write(Crc::Timestamp, timestamp); + m_output->Write(Crc::Duration, std::max(duration, 1u)); + m_output->EndTag(Crc::Slice); + m_output->EndTag(Crc::EventTraceDriller); + } + + void EventTraceDriller::RecordInstantGlobal( + const char* name, + const char* category, + AZ::u64 timestamp) + { + m_output->BeginTag(Crc::EventTraceDriller); + m_output->BeginTag(Crc::Instant); + m_output->Write(Crc::Name, name); + m_output->Write(Crc::Category, category); + m_output->Write(Crc::Timestamp, timestamp); + m_output->EndTag(Crc::Instant); + m_output->EndTag(Crc::EventTraceDriller); + } + + void EventTraceDriller::RecordInstantThread( + const char* name, + const char* category, + const AZStd::thread_id threadId, + AZ::u64 timestamp) + { + m_output->BeginTag(Crc::EventTraceDriller); + m_output->BeginTag(Crc::Instant); + m_output->Write(Crc::Name, name); + m_output->Write(Crc::Category, category); + m_output->Write(Crc::ThreadId, (size_t)threadId.m_id); + m_output->Write(Crc::Timestamp, timestamp); + m_output->EndTag(Crc::Instant); + m_output->EndTag(Crc::EventTraceDriller); + } +} // namespace AZ::Debug diff --git a/Code/Framework/AzCore/AzCore/Debug/TraceMessagesDriller.cpp b/Code/Framework/AzCore/AzCore/Debug/TraceMessagesDriller.cpp index 7e9e5b146e..dbe66838a4 100644 --- a/Code/Framework/AzCore/AzCore/Debug/TraceMessagesDriller.cpp +++ b/Code/Framework/AzCore/AzCore/Debug/TraceMessagesDriller.cpp @@ -9,94 +9,91 @@ #include #include -namespace AZ +namespace AZ::Debug { - namespace Debug + //========================================================================= + // Start + // [2/6/2013] + //========================================================================= + void TraceMessagesDriller::Start(const Param* params, int numParams) { - //========================================================================= - // Start - // [2/6/2013] - //========================================================================= - void TraceMessagesDriller::Start(const Param* params, int numParams) - { - (void)params; - (void)numParams; - BusConnect(); - } + (void)params; + (void)numParams; + BusConnect(); + } - //========================================================================= - // Stop - // [2/6/2013] - //========================================================================= - void TraceMessagesDriller::Stop() - { - BusDisconnect(); - } + //========================================================================= + // Stop + // [2/6/2013] + //========================================================================= + void TraceMessagesDriller::Stop() + { + BusDisconnect(); + } - //========================================================================= - // OnAssert - // [2/6/2013] - //========================================================================= - void TraceMessagesDriller::OnAssert(const char* message) - { - // Not sure if we can really capture assert since the code will stop executing very soon. - m_output->BeginTag(AZ_CRC("TraceMessagesDriller", 0xa61d1b00)); - m_output->Write(AZ_CRC("OnAssert", 0xb74db4ce), message); - m_output->EndTag(AZ_CRC("TraceMessagesDriller", 0xa61d1b00)); - } + //========================================================================= + // OnAssert + // [2/6/2013] + //========================================================================= + void TraceMessagesDriller::OnAssert(const char* message) + { + // Not sure if we can really capture assert since the code will stop executing very soon. + m_output->BeginTag(AZ_CRC_CE("TraceMessagesDriller")); + m_output->Write(AZ_CRC_CE("OnAssert"), message); + m_output->EndTag(AZ_CRC_CE("TraceMessagesDriller")); + } - //========================================================================= - // OnException - // [2/6/2013] - //========================================================================= - void TraceMessagesDriller::OnException(const char* message) - { - // Not sure if we can really capture exception since the code will stop executing very soon. - m_output->BeginTag(AZ_CRC("TraceMessagesDriller", 0xa61d1b00)); - m_output->Write(AZ_CRC("OnException", 0xfe457d12), message); - m_output->EndTag(AZ_CRC("TraceMessagesDriller", 0xa61d1b00)); - } + //========================================================================= + // OnException + // [2/6/2013] + //========================================================================= + void TraceMessagesDriller::OnException(const char* message) + { + // Not sure if we can really capture exception since the code will stop executing very soon. + m_output->BeginTag(AZ_CRC_CE("TraceMessagesDriller")); + m_output->Write(AZ_CRC_CE("OnException"), message); + m_output->EndTag(AZ_CRC_CE("TraceMessagesDriller")); + } - //========================================================================= - // OnError - // [2/6/2013] - //========================================================================= - void TraceMessagesDriller::OnError(const char* window, const char* message) - { - m_output->BeginTag(AZ_CRC("TraceMessagesDriller", 0xa61d1b00)); - m_output->BeginTag(AZ_CRC("OnError", 0x4993c634)); - m_output->Write(AZ_CRC("Window", 0x8be4f9dd), window); - m_output->Write(AZ_CRC("Message", 0xb6bd307f), message); - m_output->EndTag(AZ_CRC("OnError", 0x4993c634)); - m_output->EndTag(AZ_CRC("TraceMessagesDriller", 0xa61d1b00)); - } + //========================================================================= + // OnError + // [2/6/2013] + //========================================================================= + void TraceMessagesDriller::OnError(const char* window, const char* message) + { + m_output->BeginTag(AZ_CRC_CE("TraceMessagesDriller")); + m_output->BeginTag(AZ_CRC_CE("OnError")); + m_output->Write(AZ_CRC_CE("Window"), window); + m_output->Write(AZ_CRC_CE("Message"), message); + m_output->EndTag(AZ_CRC_CE("OnError")); + m_output->EndTag(AZ_CRC_CE("TraceMessagesDriller")); + } - //========================================================================= - // OnWarning - // [2/6/2013] - //========================================================================= - void TraceMessagesDriller::OnWarning(const char* window, const char* message) - { - m_output->BeginTag(AZ_CRC("TraceMessagesDriller", 0xa61d1b00)); - m_output->BeginTag(AZ_CRC("OnWarning", 0x7d90abea)); - m_output->Write(AZ_CRC("Window", 0x8be4f9dd), window); - m_output->Write(AZ_CRC("Message", 0xb6bd307f), message); - m_output->EndTag(AZ_CRC("OnWarning", 0x7d90abea)); - m_output->EndTag(AZ_CRC("TraceMessagesDriller", 0xa61d1b00)); - } + //========================================================================= + // OnWarning + // [2/6/2013] + //========================================================================= + void TraceMessagesDriller::OnWarning(const char* window, const char* message) + { + m_output->BeginTag(AZ_CRC_CE("TraceMessagesDriller")); + m_output->BeginTag(AZ_CRC_CE("OnWarning")); + m_output->Write(AZ_CRC_CE("Window"), window); + m_output->Write(AZ_CRC_CE("Message"), message); + m_output->EndTag(AZ_CRC_CE("OnWarning")); + m_output->EndTag(AZ_CRC_CE("TraceMessagesDriller")); + } - //========================================================================= - // OnPrintf - // [2/6/2013] - //========================================================================= - void TraceMessagesDriller::OnPrintf(const char* window, const char* message) - { - m_output->BeginTag(AZ_CRC("TraceMessagesDriller", 0xa61d1b00)); - m_output->BeginTag(AZ_CRC("OnPrintf", 0xd4b5c294)); - m_output->Write(AZ_CRC("Window", 0x8be4f9dd), window); - m_output->Write(AZ_CRC("Message", 0xb6bd307f), message); - m_output->EndTag(AZ_CRC("OnPrintf", 0xd4b5c294)); - m_output->EndTag(AZ_CRC("TraceMessagesDriller", 0xa61d1b00)); - } - } // namespace Debug + //========================================================================= + // OnPrintf + // [2/6/2013] + //========================================================================= + void TraceMessagesDriller::OnPrintf(const char* window, const char* message) + { + m_output->BeginTag(AZ_CRC_CE("TraceMessagesDriller")); + m_output->BeginTag(AZ_CRC_CE("OnPrintf")); + m_output->Write(AZ_CRC_CE("Window"), window); + m_output->Write(AZ_CRC_CE("Message"), message); + m_output->EndTag(AZ_CRC_CE("OnPrintf")); + m_output->EndTag(AZ_CRC_CE("TraceMessagesDriller")); + } } // namespace AZ diff --git a/Code/Framework/AzCore/AzCore/Debug/TraceReflection.cpp b/Code/Framework/AzCore/AzCore/Debug/TraceReflection.cpp index debbea5235..329a709994 100644 --- a/Code/Framework/AzCore/AzCore/Debug/TraceReflection.cpp +++ b/Code/Framework/AzCore/AzCore/Debug/TraceReflection.cpp @@ -12,283 +12,280 @@ #include #include -namespace AZ +namespace AZ::Debug { - namespace Debug + //! Trace Message Event Handler for Automation. + //! Since TraceMessageBus will be called from multiple threads and + //! python interpreter is single threaded, all the bus calls are + //! queued into a list and called at the end of the frame in the main thread. + //! @note this class is not using the usual AZ_EBUS_BEHAVIOR_BINDER + //! macro as the signature needs to be changed to connect to Tick bus. + class TraceMessageBusHandler + : public AZ::Debug::TraceMessageBus::Handler + , public AZ::BehaviorEBusHandler + , public AZ::TickBus::Handler { - //! Trace Message Event Handler for Automation. - //! Since TraceMessageBus will be called from multiple threads and - //! python interpreter is single threaded, all the bus calls are - //! queued into a list and called at the end of the frame in the main thread. - //! @note this class is not using the usual AZ_EBUS_BEHAVIOR_BINDER - //! macro as the signature needs to be changed to connect to Tick bus. - class TraceMessageBusHandler - : public AZ::Debug::TraceMessageBus::Handler - , public AZ::BehaviorEBusHandler - , public AZ::TickBus::Handler + public: + AZ_CLASS_ALLOCATOR(TraceMessageBusHandler, AZ::SystemAllocator, 0); + AZ_RTTI(TraceMessageBusHandler, "{5CDBAF09-5EB0-48AC-B327-2AF8601BB550}", AZ::BehaviorEBusHandler); + + TraceMessageBusHandler(); + + using EventFunctionsParameterPack = AZStd::Internal::pack_traits_arg_sequence< + decltype(&TraceMessageBusHandler::OnPreAssert), + decltype(&TraceMessageBusHandler::OnPreError), + decltype(&TraceMessageBusHandler::OnPreWarning), + decltype(&TraceMessageBusHandler::OnAssert), + decltype(&TraceMessageBusHandler::OnError), + decltype(&TraceMessageBusHandler::OnWarning), + decltype(&TraceMessageBusHandler::OnException), + decltype(&TraceMessageBusHandler::OnPrintf), + decltype(&TraceMessageBusHandler::OnOutput) + >; + + enum { - public: - AZ_CLASS_ALLOCATOR(TraceMessageBusHandler, AZ::SystemAllocator, 0); - AZ_RTTI(TraceMessageBusHandler, "{5CDBAF09-5EB0-48AC-B327-2AF8601BB550}", AZ::BehaviorEBusHandler); - - TraceMessageBusHandler(); - - using EventFunctionsParameterPack = AZStd::Internal::pack_traits_arg_sequence< - decltype(&TraceMessageBusHandler::OnPreAssert), - decltype(&TraceMessageBusHandler::OnPreError), - decltype(&TraceMessageBusHandler::OnPreWarning), - decltype(&TraceMessageBusHandler::OnAssert), - decltype(&TraceMessageBusHandler::OnError), - decltype(&TraceMessageBusHandler::OnWarning), - decltype(&TraceMessageBusHandler::OnException), - decltype(&TraceMessageBusHandler::OnPrintf), - decltype(&TraceMessageBusHandler::OnOutput) - >; - - enum - { - FN_OnPreAssert = 0, - FN_OnPreError, - FN_OnPreWarning, - FN_OnAssert, - FN_OnError, - FN_OnWarning, - FN_OnException, - FN_OnPrintf, - FN_OnOutput, - FN_MAX - }; - - static inline constexpr const char* m_functionNames[FN_MAX] = - { - "OnPreAssert", - "OnPreError", - "OnPreWarning", - "OnAssert", - "OnError", - "OnWarning", - "OnException", - "OnPrintf", - "OnOutput" - }; - - // AZ::BehaviorEBusHandler overrides... - int GetFunctionIndex(const char* functionName) const override; - void Disconnect() override; - bool Connect(AZ::BehaviorValueParameter* id = nullptr) override; - bool IsConnected() override; - bool IsConnectedId(AZ::BehaviorValueParameter* id) override; - - // TraceMessageBus - /* - * Note: Since at editor runtime there is already have a handler, for automation (OnPreAssert, OnPreWarning, OnPreWarning) - * must be used instead of (OnAssert, OnWarning, OnError) - */ - bool OnPreAssert(const char* fileName, int line, const char* func, const char* message) override; - bool OnPreError(const char* window, const char* fileName, int line, const char* func, const char* message) override; - bool OnPreWarning(const char* window, const char* fileName, int line, const char* func, const char* message) override; - bool OnAssert(const char* message) override; - bool OnError(const char* window, const char* message) override; - bool OnWarning(const char* window, const char* message) override; - bool OnException(const char* message) override; - bool OnPrintf(const char* window, const char* message) override; - bool OnOutput(const char* window, const char* message) override; - - // AZ::TickBus::Handler overrides ... - void OnTick(float deltaTime, AZ::ScriptTimePoint time) override; - int GetTickOrder() override; - - private: - void QueueMessageCall(AZStd::function messageCall); - void FlushMessageCalls(); - - AZStd::list> m_messageCalls; - AZStd::mutex m_messageCallsLock; + FN_OnPreAssert = 0, + FN_OnPreError, + FN_OnPreWarning, + FN_OnAssert, + FN_OnError, + FN_OnWarning, + FN_OnException, + FN_OnPrintf, + FN_OnOutput, + FN_MAX }; - TraceMessageBusHandler::TraceMessageBusHandler() + static inline constexpr const char* m_functionNames[FN_MAX] = { - m_events.resize(FN_MAX); + "OnPreAssert", + "OnPreError", + "OnPreWarning", + "OnAssert", + "OnError", + "OnWarning", + "OnException", + "OnPrintf", + "OnOutput" + }; - SetEvent(&TraceMessageBusHandler::OnPreAssert, m_functionNames[FN_OnPreAssert]); - SetEvent(&TraceMessageBusHandler::OnPreError, m_functionNames[FN_OnPreError]); - SetEvent(&TraceMessageBusHandler::OnPreWarning, m_functionNames[FN_OnPreWarning]); - SetEvent(&TraceMessageBusHandler::OnAssert, m_functionNames[FN_OnAssert]); - SetEvent(&TraceMessageBusHandler::OnError, m_functionNames[FN_OnError]); - SetEvent(&TraceMessageBusHandler::OnWarning, m_functionNames[FN_OnWarning]); - SetEvent(&TraceMessageBusHandler::OnException, m_functionNames[FN_OnException]); - SetEvent(&TraceMessageBusHandler::OnPrintf, m_functionNames[FN_OnPrintf]); - SetEvent(&TraceMessageBusHandler::OnOutput, m_functionNames[FN_OnOutput]); - } + // AZ::BehaviorEBusHandler overrides... + int GetFunctionIndex(const char* functionName) const override; + void Disconnect() override; + bool Connect(AZ::BehaviorValueParameter* id = nullptr) override; + bool IsConnected() override; + bool IsConnectedId(AZ::BehaviorValueParameter* id) override; - int TraceMessageBusHandler::GetFunctionIndex(const char* functionName) const + // TraceMessageBus + /* + * Note: Since at editor runtime there is already have a handler, for automation (OnPreAssert, OnPreWarning, OnPreWarning) + * must be used instead of (OnAssert, OnWarning, OnError) + */ + bool OnPreAssert(const char* fileName, int line, const char* func, const char* message) override; + bool OnPreError(const char* window, const char* fileName, int line, const char* func, const char* message) override; + bool OnPreWarning(const char* window, const char* fileName, int line, const char* func, const char* message) override; + bool OnAssert(const char* message) override; + bool OnError(const char* window, const char* message) override; + bool OnWarning(const char* window, const char* message) override; + bool OnException(const char* message) override; + bool OnPrintf(const char* window, const char* message) override; + bool OnOutput(const char* window, const char* message) override; + + // AZ::TickBus::Handler overrides ... + void OnTick(float deltaTime, AZ::ScriptTimePoint time) override; + int GetTickOrder() override; + + private: + void QueueMessageCall(AZStd::function messageCall); + void FlushMessageCalls(); + + AZStd::list> m_messageCalls; + AZStd::mutex m_messageCallsLock; + }; + + TraceMessageBusHandler::TraceMessageBusHandler() + { + m_events.resize(FN_MAX); + + SetEvent(&TraceMessageBusHandler::OnPreAssert, m_functionNames[FN_OnPreAssert]); + SetEvent(&TraceMessageBusHandler::OnPreError, m_functionNames[FN_OnPreError]); + SetEvent(&TraceMessageBusHandler::OnPreWarning, m_functionNames[FN_OnPreWarning]); + SetEvent(&TraceMessageBusHandler::OnAssert, m_functionNames[FN_OnAssert]); + SetEvent(&TraceMessageBusHandler::OnError, m_functionNames[FN_OnError]); + SetEvent(&TraceMessageBusHandler::OnWarning, m_functionNames[FN_OnWarning]); + SetEvent(&TraceMessageBusHandler::OnException, m_functionNames[FN_OnException]); + SetEvent(&TraceMessageBusHandler::OnPrintf, m_functionNames[FN_OnPrintf]); + SetEvent(&TraceMessageBusHandler::OnOutput, m_functionNames[FN_OnOutput]); + } + + int TraceMessageBusHandler::GetFunctionIndex(const char* functionName) const + { + for (int i = 0; i < FN_MAX; ++i) { - for (int i = 0; i < FN_MAX; ++i) + if (azstricmp(functionName, m_functionNames[i]) == 0) { - if (azstricmp(functionName, m_functionNames[i]) == 0) - { - return i; - } + return i; } - return -1; } + return -1; + } - void TraceMessageBusHandler::Disconnect() + void TraceMessageBusHandler::Disconnect() + { + AZ::Debug::TraceMessageBus::Handler::BusDisconnect(); + AZ::TickBus::Handler::BusDisconnect(); + } + + bool TraceMessageBusHandler::Connect(AZ::BehaviorValueParameter* id) + { + AZ::TickBus::Handler::BusConnect(); + return AZ::Internal::EBusConnector::Connect(this, id); + } + + bool TraceMessageBusHandler::IsConnected() + { + return AZ::Internal::EBusConnector::IsConnected(this); + } + + bool TraceMessageBusHandler::IsConnectedId(AZ::BehaviorValueParameter* id) + { + return AZ::Internal::EBusConnector::IsConnectedId(this, id); + } + + ////////////////////////////////////////////////////////////////////////// + // TraceMessageBusHandler Implementation + inline bool TraceMessageBusHandler::OnPreAssert(const char* fileName, int line, const char* func, const char* message) + { + QueueMessageCall( + [this, fileNameString = AZStd::string(fileName), line, funcString = AZStd::string(func), messageString = AZStd::string(message)]() { - AZ::Debug::TraceMessageBus::Handler::BusDisconnect(); - AZ::TickBus::Handler::BusDisconnect(); - } + Call(FN_OnPreAssert, fileNameString.c_str(), line, funcString.c_str(), messageString.c_str()); + }); + return false; + } - bool TraceMessageBusHandler::Connect(AZ::BehaviorValueParameter* id) + inline bool TraceMessageBusHandler::OnPreError(const char* window, const char* fileName, int line, const char* func, const char* message) + { + QueueMessageCall( + [this, windowString = AZStd::string(window), fileNameString = AZStd::string(fileName), line, funcString = AZStd::string(func), messageString = AZStd::string(message)]() { - AZ::TickBus::Handler::BusConnect(); - return AZ::Internal::EBusConnector::Connect(this, id); - } + Call(FN_OnPreError, windowString.c_str(), fileNameString.c_str(), line, funcString.c_str(), messageString.c_str()); + }); + return false; + } - bool TraceMessageBusHandler::IsConnected() + inline bool TraceMessageBusHandler::OnPreWarning(const char* window, const char* fileName, int line, const char* func, const char* message) + { + QueueMessageCall( + [this, windowString = AZStd::string(window), fileNameString = AZStd::string(fileName), line, funcString = AZStd::string(func), messageString = AZStd::string(message)]() { - return AZ::Internal::EBusConnector::IsConnected(this); - } + return Call(FN_OnPreWarning, windowString.c_str(), fileNameString.c_str(), line, funcString.c_str(), messageString.c_str()); + }); + return false; + } - bool TraceMessageBusHandler::IsConnectedId(AZ::BehaviorValueParameter* id) + inline bool TraceMessageBusHandler::OnAssert(const char* message) + { + QueueMessageCall( + [this, messageString = AZStd::string(message)]() { - return AZ::Internal::EBusConnector::IsConnectedId(this, id); - } + return Call(FN_OnAssert, messageString.c_str()); + }); + return false; + } - ////////////////////////////////////////////////////////////////////////// - // TraceMessageBusHandler Implementation - inline bool TraceMessageBusHandler::OnPreAssert(const char* fileName, int line, const char* func, const char* message) + inline bool TraceMessageBusHandler::OnError(const char* window, const char* message) + { + QueueMessageCall( + [this, windowString = AZStd::string(window), messageString = AZStd::string(message)]() { - QueueMessageCall( - [this, fileNameString = AZStd::string(fileName), line, funcString = AZStd::string(func), messageString = AZStd::string(message)]() - { - Call(FN_OnPreAssert, fileNameString.c_str(), line, funcString.c_str(), messageString.c_str()); - }); - return false; - } + return Call(FN_OnError, windowString.c_str(), messageString.c_str()); + }); + return false; + } - inline bool TraceMessageBusHandler::OnPreError(const char* window, const char* fileName, int line, const char* func, const char* message) + inline bool TraceMessageBusHandler::OnWarning(const char* window, const char* message) + { + QueueMessageCall( + [this, windowString = AZStd::string(window), messageString = AZStd::string(message)]() { - QueueMessageCall( - [this, windowString = AZStd::string(window), fileNameString = AZStd::string(fileName), line, funcString = AZStd::string(func), messageString = AZStd::string(message)]() - { - Call(FN_OnPreError, windowString.c_str(), fileNameString.c_str(), line, funcString.c_str(), messageString.c_str()); - }); - return false; - } + return Call(FN_OnWarning, windowString.c_str(), messageString.c_str()); + }); + return false; + } - inline bool TraceMessageBusHandler::OnPreWarning(const char* window, const char* fileName, int line, const char* func, const char* message) + inline bool TraceMessageBusHandler::OnException(const char* message) + { + QueueMessageCall( + [this, messageString = AZStd::string(message)]() { - QueueMessageCall( - [this, windowString = AZStd::string(window), fileNameString = AZStd::string(fileName), line, funcString = AZStd::string(func), messageString = AZStd::string(message)]() - { - return Call(FN_OnPreWarning, windowString.c_str(), fileNameString.c_str(), line, funcString.c_str(), messageString.c_str()); - }); - return false; - } + return Call(FN_OnException, messageString.c_str()); + }); + return false; + } - inline bool TraceMessageBusHandler::OnAssert(const char* message) + inline bool TraceMessageBusHandler::OnPrintf(const char* window, const char* message) + { + QueueMessageCall( + [this, windowString = AZStd::string(window), messageString = AZStd::string(message)]() { - QueueMessageCall( - [this, messageString = AZStd::string(message)]() - { - return Call(FN_OnAssert, messageString.c_str()); - }); - return false; - } + return Call(FN_OnPrintf, windowString.c_str(), messageString.c_str()); + }); + return false; + } - inline bool TraceMessageBusHandler::OnError(const char* window, const char* message) + inline bool TraceMessageBusHandler::OnOutput(const char* window, const char* message) + { + QueueMessageCall( + [this, windowString = AZStd::string(window), messageString = AZStd::string(message)]() { - QueueMessageCall( - [this, windowString = AZStd::string(window), messageString = AZStd::string(message)]() - { - return Call(FN_OnError, windowString.c_str(), messageString.c_str()); - }); - return false; - } + return Call(FN_OnOutput, windowString.c_str(), messageString.c_str()); + }); + return false; + } - inline bool TraceMessageBusHandler::OnWarning(const char* window, const char* message) - { - QueueMessageCall( - [this, windowString = AZStd::string(window), messageString = AZStd::string(message)]() - { - return Call(FN_OnWarning, windowString.c_str(), messageString.c_str()); - }); - return false; - } + void TraceMessageBusHandler::OnTick( + [[maybe_unused]] float deltaTime, + [[maybe_unused]] AZ::ScriptTimePoint time) + { + FlushMessageCalls(); + } - inline bool TraceMessageBusHandler::OnException(const char* message) - { - QueueMessageCall( - [this, messageString = AZStd::string(message)]() - { - return Call(FN_OnException, messageString.c_str()); - }); - return false; - } + int TraceMessageBusHandler::GetTickOrder() + { + return AZ::TICK_LAST; + } - inline bool TraceMessageBusHandler::OnPrintf(const char* window, const char* message) - { - QueueMessageCall( - [this, windowString = AZStd::string(window), messageString = AZStd::string(message)]() - { - return Call(FN_OnPrintf, windowString.c_str(), messageString.c_str()); - }); - return false; - } + void TraceMessageBusHandler::QueueMessageCall(AZStd::function messageCall) + { + AZStd::lock_guard lock(m_messageCallsLock); + m_messageCalls.emplace_back(messageCall); + } - inline bool TraceMessageBusHandler::OnOutput(const char* window, const char* message) - { - QueueMessageCall( - [this, windowString = AZStd::string(window), messageString = AZStd::string(message)]() - { - return Call(FN_OnOutput, windowString.c_str(), messageString.c_str()); - }); - return false; - } - - void TraceMessageBusHandler::OnTick( - [[maybe_unused]] float deltaTime, - [[maybe_unused]] AZ::ScriptTimePoint time) - { - FlushMessageCalls(); - } - - int TraceMessageBusHandler::GetTickOrder() - { - return AZ::TICK_LAST; - } - - void TraceMessageBusHandler::QueueMessageCall(AZStd::function messageCall) + void TraceMessageBusHandler::FlushMessageCalls() + { + AZStd::list> messageCalls; { AZStd::lock_guard lock(m_messageCallsLock); - m_messageCalls.push_back(messageCall); + m_messageCalls.swap(messageCalls); // Move calls to a new list to release the lock as soon as possible } - void TraceMessageBusHandler::FlushMessageCalls() + for (auto& messageCall : messageCalls) { - AZStd::list> messageCalls; - { - AZStd::lock_guard lock(m_messageCallsLock); - m_messageCalls.swap(messageCalls); // Move calls to a new list to release the lock as soon as possible - } - - for (auto& messageCall : messageCalls) - { - messageCall(); - } - } - - void TraceReflect(ReflectContext* context) - { - if (BehaviorContext* behaviorContext = azrtti_cast(context)) - { - behaviorContext->EBus("TraceMessageBus") - ->Attribute(AZ::Script::Attributes::Module, "debug") - ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Automation) - ->Handler() - ; - } + messageCall(); } } -} + + void TraceReflect(ReflectContext* context) + { + if (BehaviorContext* behaviorContext = azrtti_cast(context)) + { + behaviorContext->EBus("TraceMessageBus") + ->Attribute(AZ::Script::Attributes::Module, "debug") + ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Automation) + ->Handler() + ; + } + } +} // namespace AZ::Debug diff --git a/Code/Framework/AzCore/AzCore/Driller/Driller.cpp b/Code/Framework/AzCore/AzCore/Driller/Driller.cpp index 41abd7793e..7e986be81e 100644 --- a/Code/Framework/AzCore/AzCore/Driller/Driller.cpp +++ b/Code/Framework/AzCore/AzCore/Driller/Driller.cpp @@ -14,291 +14,288 @@ #include -namespace AZ +namespace AZ::Debug { - namespace Debug + class DrillerManagerImpl + : public DrillerManager { - class DrillerManagerImpl - : public DrillerManager + public: + AZ_CLASS_ALLOCATOR(DrillerManagerImpl, OSAllocator, 0); + + using SessionListType = forward_list::type; + SessionListType m_sessions; + using DrillerArrayType = vector::type; + DrillerArrayType m_drillers; + + ~DrillerManagerImpl() override; + + void Register(Driller* factory) override; + void Unregister(Driller* factory) override; + + void FrameUpdate() override; + + DrillerSession* Start(DrillerOutputStream& output, const DrillerListType& drillerList, int numFrames = -1) override; + void Stop(DrillerSession* session) override; + + int GetNumDrillers() const override { return static_cast(m_drillers.size()); } + Driller* GetDriller(int index) override { return m_drillers[index]; } + }; + + ////////////////////////////////////////////////////////////////////////// + // Driller + + //========================================================================= + // Register + // [3/17/2011] + //========================================================================= + AZ::u32 Driller::GetId() const + { + return AZ::Crc32(GetName()); + } + + ////////////////////////////////////////////////////////////////////////// + + ////////////////////////////////////////////////////////////////////////// + // Driller Manager + + //========================================================================= + // Register + // [3/17/2011] + //========================================================================= + DrillerManager* DrillerManager::Create(/*const Descriptor& desc*/) + { + const bool createAllocator = !AZ::AllocatorInstance::IsReady(); + if (createAllocator) { - public: - AZ_CLASS_ALLOCATOR(DrillerManagerImpl, OSAllocator, 0); - - typedef forward_list::type SessionListType; - SessionListType m_sessions; - typedef vector::type DrillerArrayType; - DrillerArrayType m_drillers; - - ~DrillerManagerImpl() override; - - void Register(Driller* factory) override; - void Unregister(Driller* factory) override; - - void FrameUpdate() override; - - DrillerSession* Start(DrillerOutputStream& output, const DrillerListType& drillerList, int numFrames = -1) override; - void Stop(DrillerSession* session) override; - - int GetNumDrillers() const override { return static_cast(m_drillers.size()); } - Driller* GetDriller(int index) override { return m_drillers[index]; } - }; - - ////////////////////////////////////////////////////////////////////////// - // Driller - - //========================================================================= - // Register - // [3/17/2011] - //========================================================================= - AZ::u32 Driller::GetId() const - { - return AZ::Crc32(GetName()); + AZ::AllocatorInstance::Create(); } - ////////////////////////////////////////////////////////////////////////// + DrillerManagerImpl* impl = aznew DrillerManagerImpl; + impl->m_ownsOSAllocator = createAllocator; + return impl; + } - ////////////////////////////////////////////////////////////////////////// - // Driller Manager - - //========================================================================= - // Register - // [3/17/2011] - //========================================================================= - DrillerManager* DrillerManager::Create(/*const Descriptor& desc*/) + //========================================================================= + // Register + // [3/17/2011] + //========================================================================= + void DrillerManager::Destroy(DrillerManager* manager) + { + const bool allocatorCreated = manager->m_ownsOSAllocator; + delete manager; + if (allocatorCreated) { - const bool createAllocator = !AZ::AllocatorInstance::IsReady(); - if (createAllocator) - { - AZ::AllocatorInstance::Create(); - } + AZ::AllocatorInstance::Destroy(); + } + } - DrillerManagerImpl* impl = aznew DrillerManagerImpl; - impl->m_ownsOSAllocator = createAllocator; - return impl; + ////////////////////////////////////////////////////////////////////////// + + ////////////////////////////////////////////////////////////////////////// + // DrillerManagerImpl + + //========================================================================= + // ~DrillerManagerImpl + // [3/17/2011] + //========================================================================= + DrillerManagerImpl::~DrillerManagerImpl() + { + while (!m_sessions.empty()) + { + Stop(&m_sessions.front()); } - //========================================================================= - // Register - // [3/17/2011] - //========================================================================= - void DrillerManager::Destroy(DrillerManager* manager) + while (!m_drillers.empty()) { - const bool allocatorCreated = manager->m_ownsOSAllocator; - delete manager; - if (allocatorCreated) - { - AZ::AllocatorInstance::Destroy(); - } + Driller* driller = m_drillers[0]; + Unregister(driller); + delete driller; } + } - ////////////////////////////////////////////////////////////////////////// - - ////////////////////////////////////////////////////////////////////////// - // DrillerManagerImpl - - //========================================================================= - // ~DrillerManagerImpl - // [3/17/2011] - //========================================================================= - DrillerManagerImpl::~DrillerManagerImpl() + //========================================================================= + // Register + // [3/17/2011] + //========================================================================= + void + DrillerManagerImpl::Register(Driller* driller) + { + AZ_Assert(driller, "You must provide a valid factory!"); + for (size_t i = 0; i < m_drillers.size(); ++i) { - while (!m_sessions.empty()) - { - Stop(&m_sessions.front()); - } - - while (!m_drillers.empty()) - { - Driller* driller = m_drillers[0]; - Unregister(driller); - delete driller; - } - } - - //========================================================================= - // Register - // [3/17/2011] - //========================================================================= - void - DrillerManagerImpl::Register(Driller* driller) - { - AZ_Assert(driller, "You must provide a valid factory!"); - for (size_t i = 0; i < m_drillers.size(); ++i) - { - if (m_drillers[i]->GetId() == driller->GetId()) - { - AZ_Error("Debug", false, "Driller with id %08x has already been registered! You can't have two factory instances for the same driller type", driller->GetId()); - return; - } - } - m_drillers.push_back(driller); - } - - //========================================================================= - // Unregister - // [3/17/2011] - //========================================================================= - void - DrillerManagerImpl::Unregister(Driller* driller) - { - AZ_Assert(driller, "You must provide a valid factory!"); - for (DrillerArrayType::iterator iter = m_drillers.begin(); iter != m_drillers.end(); ++iter) - { - if ((*iter)->GetId() == driller->GetId()) - { - m_drillers.erase(iter); - return; - } - } - - AZ_Error("Debug", false, "Failed to find driller factory with id %08x", driller->GetId()); - } - - //========================================================================= - // FrameUpdate - // [3/17/2011] - //========================================================================= - void - DrillerManagerImpl::FrameUpdate() - { - if (m_sessions.empty()) + if (m_drillers[i]->GetId() == driller->GetId()) { + AZ_Error("Debug", false, "Driller with id %08x has already been registered! You can't have two factory instances for the same driller type", driller->GetId()); return; } + } + m_drillers.push_back(driller); + } - AZStd::lock_guard lock(DrillerEBusMutex::GetMutex()); ///< Make sure no driller is writing to the stream - for (SessionListType::iterator sessionIter = m_sessions.begin(); sessionIter != m_sessions.end(); ) + //========================================================================= + // Unregister + // [3/17/2011] + //========================================================================= + void + DrillerManagerImpl::Unregister(Driller* driller) + { + AZ_Assert(driller, "You must provide a valid factory!"); + for (DrillerArrayType::iterator iter = m_drillers.begin(); iter != m_drillers.end(); ++iter) + { + if ((*iter)->GetId() == driller->GetId()) { - DrillerSession& s = *sessionIter; - - // tick the drillers directly if they care. - for (size_t i = 0; i < s.drillers.size(); ++i) - { - s.drillers[i]->Update(); - } - - s.output->EndTag(AZ_CRC("Frame", 0xb5f83ccd)); - - s.output->OnEndOfFrame(); - - s.curFrame++; - - if (s.numFrames != -1) - { - if (s.curFrame == s.numFrames) - { - Stop(&s); - continue; - } - } - - s.output->BeginTag(AZ_CRC("Frame", 0xb5f83ccd)); - s.output->Write(AZ_CRC("FrameNum", 0x85a1a919), s.curFrame); - - ++sessionIter; + m_drillers.erase(iter); + return; } } - //========================================================================= - // Start - // [3/17/2011] - //========================================================================= - DrillerSession* - DrillerManagerImpl::Start(DrillerOutputStream& output, const DrillerListType& drillerList, int numFrames) + AZ_Error("Debug", false, "Failed to find driller factory with id %08x", driller->GetId()); + } + + //========================================================================= + // FrameUpdate + // [3/17/2011] + //========================================================================= + void + DrillerManagerImpl::FrameUpdate() + { + if (m_sessions.empty()) { - if (drillerList.empty()) + return; + } + + AZStd::lock_guard lock(DrillerEBusMutex::GetMutex()); ///< Make sure no driller is writing to the stream + for (SessionListType::iterator sessionIter = m_sessions.begin(); sessionIter != m_sessions.end(); ) + { + DrillerSession& s = *sessionIter; + + // tick the drillers directly if they care. + for (size_t i = 0; i < s.drillers.size(); ++i) { - return nullptr; + s.drillers[i]->Update(); } - m_sessions.push_back(); - DrillerSession& s = m_sessions.back(); - s.curFrame = 0; - s.numFrames = numFrames; - s.output = &output; + s.output->EndTag(AZ_CRC("Frame", 0xb5f83ccd)); - s.output->WriteHeader(); // first write the header in the stream + s.output->OnEndOfFrame(); - s.output->BeginTag(AZ_CRC("StartData", 0xecf3f53f)); - s.output->Write(AZ_CRC("Platform", 0x3952d0cb), (unsigned int)g_currentPlatform); - for (DrillerListType::const_iterator iDriller = drillerList.begin(); iDriller != drillerList.end(); ++iDriller) + s.curFrame++; + + if (s.numFrames != -1) { - const DrillerInfo& di = *iDriller; - s.output->BeginTag(AZ_CRC("Driller", 0xa6e1fb73)); - s.output->Write(AZ_CRC("Name", 0x5e237e06), di.id); - for (int iParam = 0; iParam < (int)di.params.size(); ++iParam) + if (s.curFrame == s.numFrames) { - s.output->BeginTag(AZ_CRC("Param", 0xa4fa7c89)); - s.output->Write(AZ_CRC("Name", 0x5e237e06), di.params[iParam].name); - s.output->Write(AZ_CRC("Description", 0x6de44026), di.params[iParam].desc); - s.output->Write(AZ_CRC("Type", 0x8cde5729), di.params[iParam].type); - s.output->Write(AZ_CRC("Value", 0x1d775834), di.params[iParam].value); - s.output->EndTag(AZ_CRC("Param", 0xa4fa7c89)); + Stop(&s); + continue; } - s.output->EndTag(AZ_CRC("Driller", 0xa6e1fb73)); } - s.output->EndTag(AZ_CRC("StartData", 0xecf3f53f)); s.output->BeginTag(AZ_CRC("Frame", 0xb5f83ccd)); s.output->Write(AZ_CRC("FrameNum", 0x85a1a919), s.curFrame); - { - AZStd::lock_guard lock(DrillerEBusMutex::GetMutex()); ///< Make sure no driller is writing to the stream - for (DrillerListType::const_iterator iDriller = drillerList.begin(); iDriller != drillerList.end(); ++iDriller) - { - Driller* driller = nullptr; - const DrillerInfo& di = *iDriller; - for (size_t iDesc = 0; iDesc < m_drillers.size(); ++iDesc) - { - if (m_drillers[iDesc]->GetId() == di.id) - { - driller = m_drillers[iDesc]; - AZ_Assert(driller->m_output == nullptr, "Driller with id %08x is already have an output stream %p (currently we support only 1 at a time)", di.id, driller->m_output); - driller->m_output = &output; - driller->Start(di.params.data(), static_cast(di.params.size())); - s.drillers.push_back(driller); - break; - } - } - AZ_Warning("Driller", driller != nullptr, "We can't start a driller with id %d!", di.id); - } - } - return &s; + ++sessionIter; } + } - - //========================================================================= - // Stop - // [3/17/2011] - //========================================================================= - void - DrillerManagerImpl::Stop(DrillerSession* session) + //========================================================================= + // Start + // [3/17/2011] + //========================================================================= + DrillerSession* + DrillerManagerImpl::Start(DrillerOutputStream& output, const DrillerListType& drillerList, int numFrames) + { + if (drillerList.empty()) { - SessionListType::iterator iter; - for (iter = m_sessions.begin(); iter != m_sessions.end(); ++iter) + return nullptr; + } + + m_sessions.push_back(); + DrillerSession& s = m_sessions.back(); + s.curFrame = 0; + s.numFrames = numFrames; + s.output = &output; + + s.output->WriteHeader(); // first write the header in the stream + + s.output->BeginTag(AZ_CRC("StartData", 0xecf3f53f)); + s.output->Write(AZ_CRC("Platform", 0x3952d0cb), (unsigned int)g_currentPlatform); + for (DrillerListType::const_iterator iDriller = drillerList.begin(); iDriller != drillerList.end(); ++iDriller) + { + const DrillerInfo& di = *iDriller; + s.output->BeginTag(AZ_CRC("Driller", 0xa6e1fb73)); + s.output->Write(AZ_CRC("Name", 0x5e237e06), di.id); + for (int iParam = 0; iParam < (int)di.params.size(); ++iParam) { - if (&*iter == session) - { - break; - } + s.output->BeginTag(AZ_CRC("Param", 0xa4fa7c89)); + s.output->Write(AZ_CRC("Name", 0x5e237e06), di.params[iParam].name); + s.output->Write(AZ_CRC("Description", 0x6de44026), di.params[iParam].desc); + s.output->Write(AZ_CRC("Type", 0x8cde5729), di.params[iParam].type); + s.output->Write(AZ_CRC("Value", 0x1d775834), di.params[iParam].value); + s.output->EndTag(AZ_CRC("Param", 0xa4fa7c89)); } + s.output->EndTag(AZ_CRC("Driller", 0xa6e1fb73)); + } + s.output->EndTag(AZ_CRC("StartData", 0xecf3f53f)); - AZ_Assert(iter != m_sessions.end(), "We did not find session ID 0x%08x in the list!", session); - if (iter != m_sessions.end()) + s.output->BeginTag(AZ_CRC("Frame", 0xb5f83ccd)); + s.output->Write(AZ_CRC("FrameNum", 0x85a1a919), s.curFrame); + + { + AZStd::lock_guard lock(DrillerEBusMutex::GetMutex()); ///< Make sure no driller is writing to the stream + for (DrillerListType::const_iterator iDriller = drillerList.begin(); iDriller != drillerList.end(); ++iDriller) { - DrillerSession& s = *session; - + Driller* driller = nullptr; + const DrillerInfo& di = *iDriller; + for (size_t iDesc = 0; iDesc < m_drillers.size(); ++iDesc) { - AZStd::lock_guard lock(DrillerEBusMutex::GetMutex()); - for (size_t i = 0; i < s.drillers.size(); ++i) + if (m_drillers[iDesc]->GetId() == di.id) { - s.drillers[i]->Stop(); - s.drillers[i]->m_output = nullptr; + driller = m_drillers[iDesc]; + AZ_Assert(driller->m_output == nullptr, "Driller with id %08x is already have an output stream %p (currently we support only 1 at a time)", di.id, driller->m_output); + driller->m_output = &output; + driller->Start(di.params.data(), static_cast(di.params.size())); + s.drillers.push_back(driller); + break; } } - s.output->EndTag(AZ_CRC("Frame", 0xb5f83ccd)); - m_sessions.erase(iter); + AZ_Warning("Driller", driller != nullptr, "We can't start a driller with id %d!", di.id); } } - } // namespace Debug -} // namespace AZ + return &s; + } + + + //========================================================================= + // Stop + // [3/17/2011] + //========================================================================= + void + DrillerManagerImpl::Stop(DrillerSession* session) + { + SessionListType::iterator iter; + for (iter = m_sessions.begin(); iter != m_sessions.end(); ++iter) + { + if (&*iter == session) + { + break; + } + } + + AZ_Assert(iter != m_sessions.end(), "We did not find session ID 0x%08x in the list!", session); + if (iter != m_sessions.end()) + { + DrillerSession& s = *session; + + { + AZStd::lock_guard lock(DrillerEBusMutex::GetMutex()); + for (size_t i = 0; i < s.drillers.size(); ++i) + { + s.drillers[i]->Stop(); + s.drillers[i]->m_output = nullptr; + } + } + s.output->EndTag(AZ_CRC("Frame", 0xb5f83ccd)); + m_sessions.erase(iter); + } + } +} // namespace AZ::Debug diff --git a/Code/Framework/AzCore/AzCore/Driller/DrillerBus.cpp b/Code/Framework/AzCore/AzCore/Driller/DrillerBus.cpp index 163db8a68b..a46736aa87 100644 --- a/Code/Framework/AzCore/AzCore/Driller/DrillerBus.cpp +++ b/Code/Framework/AzCore/AzCore/Driller/DrillerBus.cpp @@ -12,57 +12,54 @@ #include #include -namespace AZ +namespace AZ::Debug { - namespace Debug + ////////////////////////////////////////////////////////////////////////// + // Globals + // We need to synchronize all driller evens, so we have proper order, and access to the data + // We use a global mutex which should be used for all driller operations. + // The mutex is held in an environment variable so it works across DLLs. + EnvironmentVariable s_drillerGlobalMutex; + ////////////////////////////////////////////////////////////////////////// + + + //========================================================================= + // lock + // [4/11/2011] + //========================================================================= + void DrillerEBusMutex::lock() { - ////////////////////////////////////////////////////////////////////////// - // Globals - // We need to synchronize all driller evens, so we have proper order, and access to the data - // We use a global mutex which should be used for all driller operations. - // The mutex is held in an environment variable so it works across DLLs. - EnvironmentVariable s_drillerGlobalMutex; - ////////////////////////////////////////////////////////////////////////// + GetMutex().lock(); + } - - //========================================================================= - // lock - // [4/11/2011] - //========================================================================= - void DrillerEBusMutex::lock() - { - GetMutex().lock(); - } + //========================================================================= + // try_lock + // [4/11/2011] + //========================================================================= + bool DrillerEBusMutex::try_lock() + { + return GetMutex().try_lock(); + } - //========================================================================= - // try_lock - // [4/11/2011] - //========================================================================= - bool DrillerEBusMutex::try_lock() - { - return GetMutex().try_lock(); - } + //========================================================================= + // unlock + // [4/11/2011] + //========================================================================= + void DrillerEBusMutex::unlock() + { + GetMutex().unlock(); + } - //========================================================================= - // unlock - // [4/11/2011] - //========================================================================= - void DrillerEBusMutex::unlock() + //========================================================================= + // unlock + // [4/11/2011] + //========================================================================= + AZStd::recursive_mutex& DrillerEBusMutex::GetMutex() + { + if (!s_drillerGlobalMutex) { - GetMutex().unlock(); + s_drillerGlobalMutex = Environment::CreateVariable(AZ_FUNCTION_SIGNATURE); } - - //========================================================================= - // unlock - // [4/11/2011] - //========================================================================= - AZStd::recursive_mutex& DrillerEBusMutex::GetMutex() - { - if (!s_drillerGlobalMutex) - { - s_drillerGlobalMutex = Environment::CreateVariable(AZ_FUNCTION_SIGNATURE); - } - return *s_drillerGlobalMutex; - } - } // namespace Debug -} // namespace AZ + return *s_drillerGlobalMutex; + } +} // namespace AZ::Debug diff --git a/Code/Framework/AzCore/AzCore/Driller/Stream.cpp b/Code/Framework/AzCore/AzCore/Driller/Stream.cpp index 14e983b09c..c86755149c 100644 --- a/Code/Framework/AzCore/AzCore/Driller/Stream.cpp +++ b/Code/Framework/AzCore/AzCore/Driller/Stream.cpp @@ -24,873 +24,870 @@ # include #endif // AZ_FILE_STREAM_COMPRESSION -namespace AZ +namespace AZ::Debug { - namespace Debug + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // Driller output stream + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + void DrillerOutputStream::Write(u32 name, const AZ::Vector3& v) { - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - // Driller output stream - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - void DrillerOutputStream::Write(u32 name, const AZ::Vector3& v) - { - float data[4]; - unsigned int dataSize = 3 * sizeof(float); - v.StoreToFloat4(data); - StreamEntry de; - de.name = name; - de.sizeAndFlags = dataSize; - WriteBinary(de); - WriteBinary(data, dataSize); - } - void DrillerOutputStream::Write(u32 name, const AZ::Vector4& v) - { - float data[4]; - unsigned int dataSize = 4 * sizeof(float); - v.StoreToFloat4(data); - StreamEntry de; - de.name = name; - de.sizeAndFlags = dataSize; - WriteBinary(de); - WriteBinary(data, dataSize); - } - void DrillerOutputStream::Write(u32 name, const AZ::Aabb& aabb) - { - float data[7]; - unsigned int dataSize = 6 * sizeof(float); - aabb.GetMin().StoreToFloat4(data); - aabb.GetMax().StoreToFloat4(&data[3]); - StreamEntry de; - de.name = name; - de.sizeAndFlags = dataSize; - WriteBinary(de); - WriteBinary(data, dataSize); - } - void DrillerOutputStream::Write(u32 name, const AZ::Obb& obb) - { - float data[10]; - unsigned int dataSize = 10 * sizeof(float); // position (Vector3), rotation (Quaternion) and halfLengths (Vector3) - obb.GetPosition().StoreToFloat3(data); - obb.GetRotation().StoreToFloat4(&data[3]); - obb.GetHalfLengths().StoreToFloat3(&data[7]); - StreamEntry de; - de.name = name; - de.sizeAndFlags = dataSize; - WriteBinary(de); - WriteBinary(data, dataSize); - } - void DrillerOutputStream::Write(u32 name, const AZ::Transform& tm) - { - float data[12]; - unsigned int dataSize = 12 * sizeof(float); - const Matrix3x4 matrix3x4 = Matrix3x4::CreateFromTransform(tm); - matrix3x4.StoreToRowMajorFloat12(data); - StreamEntry de; - de.name = name; - de.sizeAndFlags = dataSize; - WriteBinary(de); - WriteBinary(data, dataSize); - } - void DrillerOutputStream::Write(u32 name, const AZ::Matrix3x3& tm) - { - float data[9]; - unsigned int dataSize = 9 * sizeof(float); - tm.StoreToRowMajorFloat9(data); - StreamEntry de; - de.name = name; - de.sizeAndFlags = dataSize; - WriteBinary(de); - WriteBinary(data, dataSize); - } - void DrillerOutputStream::Write(u32 name, const AZ::Matrix4x4& tm) - { - float data[16]; - unsigned int dataSize = 16 * sizeof(float); - tm.StoreToRowMajorFloat16(data); - StreamEntry de; - de.name = name; - de.sizeAndFlags = dataSize; - WriteBinary(de); - WriteBinary(data, dataSize); - } - void DrillerOutputStream::Write(u32 name, const AZ::Quaternion& tm) - { - float data[4]; - unsigned int dataSize = 4 * sizeof(float); - tm.StoreToFloat4(data); - StreamEntry de; - de.name = name; - de.sizeAndFlags = dataSize; - WriteBinary(de); - WriteBinary(data, dataSize); - } - void DrillerOutputStream::Write(u32 name, const AZ::Plane& plane) - { - Write(name, plane.GetPlaneEquationCoefficients()); - } - void DrillerOutputStream::WriteHeader() - { - StreamHeader sh; // StreamHeader should be endianess independent. - WriteBinary(&sh, sizeof(sh)); - } + float data[4]; + unsigned int dataSize = 3 * sizeof(float); + v.StoreToFloat4(data); + StreamEntry de; + de.name = name; + de.sizeAndFlags = dataSize; + WriteBinary(de); + WriteBinary(data, dataSize); + } + void DrillerOutputStream::Write(u32 name, const AZ::Vector4& v) + { + float data[4]; + unsigned int dataSize = 4 * sizeof(float); + v.StoreToFloat4(data); + StreamEntry de; + de.name = name; + de.sizeAndFlags = dataSize; + WriteBinary(de); + WriteBinary(data, dataSize); + } + void DrillerOutputStream::Write(u32 name, const AZ::Aabb& aabb) + { + float data[7]; + unsigned int dataSize = 6 * sizeof(float); + aabb.GetMin().StoreToFloat4(data); + aabb.GetMax().StoreToFloat4(&data[3]); + StreamEntry de; + de.name = name; + de.sizeAndFlags = dataSize; + WriteBinary(de); + WriteBinary(data, dataSize); + } + void DrillerOutputStream::Write(u32 name, const AZ::Obb& obb) + { + float data[10]; + unsigned int dataSize = 10 * sizeof(float); // position (Vector3), rotation (Quaternion) and halfLengths (Vector3) + obb.GetPosition().StoreToFloat3(data); + obb.GetRotation().StoreToFloat4(&data[3]); + obb.GetHalfLengths().StoreToFloat3(&data[7]); + StreamEntry de; + de.name = name; + de.sizeAndFlags = dataSize; + WriteBinary(de); + WriteBinary(data, dataSize); + } + void DrillerOutputStream::Write(u32 name, const AZ::Transform& tm) + { + float data[12]; + unsigned int dataSize = 12 * sizeof(float); + const Matrix3x4 matrix3x4 = Matrix3x4::CreateFromTransform(tm); + matrix3x4.StoreToRowMajorFloat12(data); + StreamEntry de; + de.name = name; + de.sizeAndFlags = dataSize; + WriteBinary(de); + WriteBinary(data, dataSize); + } + void DrillerOutputStream::Write(u32 name, const AZ::Matrix3x3& tm) + { + float data[9]; + unsigned int dataSize = 9 * sizeof(float); + tm.StoreToRowMajorFloat9(data); + StreamEntry de; + de.name = name; + de.sizeAndFlags = dataSize; + WriteBinary(de); + WriteBinary(data, dataSize); + } + void DrillerOutputStream::Write(u32 name, const AZ::Matrix4x4& tm) + { + float data[16]; + unsigned int dataSize = 16 * sizeof(float); + tm.StoreToRowMajorFloat16(data); + StreamEntry de; + de.name = name; + de.sizeAndFlags = dataSize; + WriteBinary(de); + WriteBinary(data, dataSize); + } + void DrillerOutputStream::Write(u32 name, const AZ::Quaternion& tm) + { + float data[4]; + unsigned int dataSize = 4 * sizeof(float); + tm.StoreToFloat4(data); + StreamEntry de; + de.name = name; + de.sizeAndFlags = dataSize; + WriteBinary(de); + WriteBinary(data, dataSize); + } + void DrillerOutputStream::Write(u32 name, const AZ::Plane& plane) + { + Write(name, plane.GetPlaneEquationCoefficients()); + } + void DrillerOutputStream::WriteHeader() + { + StreamHeader sh; // StreamHeader should be endianess independent. + WriteBinary(&sh, sizeof(sh)); + } - void DrillerOutputStream::WriteTimeUTC(u32 name) - { - AZStd::sys_time_t now = AZStd::GetTimeUTCMilliSecond(); - Write(name, now); - } + void DrillerOutputStream::WriteTimeUTC(u32 name) + { + AZStd::sys_time_t now = AZStd::GetTimeUTCMilliSecond(); + Write(name, now); + } - void DrillerOutputStream::WriteTimeMicrosecond(u32 name) - { - AZStd::sys_time_t now = AZStd::GetTimeNowMicroSecond(); - Write(name, now); - } + void DrillerOutputStream::WriteTimeMicrosecond(u32 name) + { + AZStd::sys_time_t now = AZStd::GetTimeNowMicroSecond(); + Write(name, now); + } - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - // Driller Input Stream - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - bool DrillerInputStream::ReadHeader() + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // Driller Input Stream + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + bool DrillerInputStream::ReadHeader() + { + DrillerOutputStream::StreamHeader sh; // StreamHeader should be endianess independent. + unsigned int numRead = ReadBinary(&sh, sizeof(sh)); + (void)numRead; + AZ_Error("IO", numRead == sizeof(sh), "We should have atleast %d bytes in the stream to read the header!", sizeof(sh)); + if (numRead != sizeof(sh)) { - DrillerOutputStream::StreamHeader sh; // StreamHeader should be endianess independent. - unsigned int numRead = ReadBinary(&sh, sizeof(sh)); - (void)numRead; - AZ_Error("IO", numRead == sizeof(sh), "We should have atleast %d bytes in the stream to read the header!", sizeof(sh)); - if (numRead != sizeof(sh)) - { - return false; - } - m_isEndianSwap = AZ::IsBigEndian(static_cast(sh.platform)) != AZ::IsBigEndian(AZ::g_currentPlatform); - return true; - } - - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - // Driller file stream - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - //========================================================================= - // DrillerOutputFileStream::DrillerOutputFileStream - // [3/23/2011] - //========================================================================= - DrillerOutputFileStream::DrillerOutputFileStream() - { -#if defined(AZ_FILE_STREAM_COMPRESSION) - m_zlib = azcreate(ZLib, (&AllocatorInstance::GetAllocator()), OSAllocator); - m_zlib->StartCompressor(2); -#endif - } - - //========================================================================= - // DrillerOutputFileStream::~DrillerOutputFileStream - // [3/23/2011] - //========================================================================= - DrillerOutputFileStream::~DrillerOutputFileStream() - { -#if defined(AZ_FILE_STREAM_COMPRESSION) - azdestroy(m_zlib, OSAllocator); -#endif - } - - //========================================================================= - // DrillerOutputFileStream::Open - // [3/23/2011] - //========================================================================= - bool DrillerOutputFileStream::Open(const char* fileName, int mode, int platformFlags) - { - if (IO::SystemFile::Open(fileName, mode, platformFlags)) - { - m_dataBuffer.reserve(100 * 1024); -#if defined(AZ_FILE_STREAM_COMPRESSION) - // // Enable optional: encode the file in the same format as the streamer so they are interchangeable - // IO::CompressorHeader ch; - // ch.SetAZCS(); - // ch.m_compressorId = IO::CompressorZLib::TypeId(); - // ch.m_uncompressedSize = 0; // will be updated later - // AZStd::endian_swap(ch.m_compressorId); - // AZStd::endian_swap(ch.m_uncompressedSize); - // IO::SystemFile::Write(&ch,sizeof(ch)); - // IO::CompressorZLibHeader zlibHdr; - // zlibHdr.m_numSeekPoints = 0; - // IO::SystemFile::Write(&zlibHdr,sizeof(zlibHdr)); -#endif - return true; - } return false; } + m_isEndianSwap = AZ::IsBigEndian(static_cast(sh.platform)) != AZ::IsBigEndian(AZ::g_currentPlatform); + return true; + } - //========================================================================= - // DrillerOutputFileStream::Close - // [3/23/2011] - //========================================================================= - void DrillerOutputFileStream::Close() + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // Driller file stream + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + //========================================================================= + // DrillerOutputFileStream::DrillerOutputFileStream + // [3/23/2011] + //========================================================================= + DrillerOutputFileStream::DrillerOutputFileStream() + { +#if defined(AZ_FILE_STREAM_COMPRESSION) + m_zlib = azcreate(ZLib, (&AllocatorInstance::GetAllocator()), OSAllocator); + m_zlib->StartCompressor(2); +#endif + } + + //========================================================================= + // DrillerOutputFileStream::~DrillerOutputFileStream + // [3/23/2011] + //========================================================================= + DrillerOutputFileStream::~DrillerOutputFileStream() + { +#if defined(AZ_FILE_STREAM_COMPRESSION) + azdestroy(m_zlib, OSAllocator); +#endif + } + + //========================================================================= + // DrillerOutputFileStream::Open + // [3/23/2011] + //========================================================================= + bool DrillerOutputFileStream::Open(const char* fileName, int mode, int platformFlags) + { + if (IO::SystemFile::Open(fileName, mode, platformFlags)) { - unsigned int dataSizeInBuffer = static_cast(m_dataBuffer.size()); + m_dataBuffer.reserve(100 * 1024); +#if defined(AZ_FILE_STREAM_COMPRESSION) + // // Enable optional: encode the file in the same format as the streamer so they are interchangeable + // IO::CompressorHeader ch; + // ch.SetAZCS(); + // ch.m_compressorId = IO::CompressorZLib::TypeId(); + // ch.m_uncompressedSize = 0; // will be updated later + // AZStd::endian_swap(ch.m_compressorId); + // AZStd::endian_swap(ch.m_uncompressedSize); + // IO::SystemFile::Write(&ch,sizeof(ch)); + // IO::CompressorZLibHeader zlibHdr; + // zlibHdr.m_numSeekPoints = 0; + // IO::SystemFile::Write(&zlibHdr,sizeof(zlibHdr)); +#endif + return true; + } + return false; + } + + //========================================================================= + // DrillerOutputFileStream::Close + // [3/23/2011] + //========================================================================= + void DrillerOutputFileStream::Close() + { + unsigned int dataSizeInBuffer = static_cast(m_dataBuffer.size()); + { +#if defined(AZ_FILE_STREAM_COMPRESSION) + unsigned int minCompressBufferSize = m_zlib->GetMinCompressedBufferSize(dataSizeInBuffer); + if (m_compressionBuffer.size() < minCompressBufferSize) // grow compression buffer if needed + { + m_compressionBuffer.clear(); + m_compressionBuffer.resize(minCompressBufferSize); + } + unsigned int compressedSize; + do + { + compressedSize = m_zlib->Compress(m_dataBuffer.data(), dataSizeInBuffer, m_compressionBuffer.data(), (unsigned)m_compressionBuffer.size(), ZLib::FT_FINISH); + if (compressedSize) + { + IO::SystemFile::Write(m_compressionBuffer.data(), compressedSize); + } + } while (compressedSize > 0); + m_zlib->ResetCompressor(); +#else + if (dataSizeInBuffer) + { + IO::SystemFile::Write(m_dataBuffer.data(), m_dataBuffer.size()); + } +#endif + m_dataBuffer.clear(); + } + IO::SystemFile::Close(); + } + //========================================================================= + // DrillerOutputFileStream::WriteBinary + // [3/23/2011] + //========================================================================= + void DrillerOutputFileStream::WriteBinary(const void* data, unsigned int dataSize) + { + size_t dataSizeInBuffer = m_dataBuffer.size(); + if (dataSizeInBuffer + dataSize > m_dataBuffer.capacity()) + { + if (dataSizeInBuffer > 0) { #if defined(AZ_FILE_STREAM_COMPRESSION) - unsigned int minCompressBufferSize = m_zlib->GetMinCompressedBufferSize(dataSizeInBuffer); + // we need to flush the data + unsigned int dataToCompress = static_cast(dataSizeInBuffer); + unsigned int minCompressBufferSize = m_zlib->GetMinCompressedBufferSize(dataToCompress); if (m_compressionBuffer.size() < minCompressBufferSize) // grow compression buffer if needed { m_compressionBuffer.clear(); m_compressionBuffer.resize(minCompressBufferSize); } - unsigned int compressedSize; - do + while (dataToCompress > 0) { - compressedSize = m_zlib->Compress(m_dataBuffer.data(), dataSizeInBuffer, m_compressionBuffer.data(), (unsigned)m_compressionBuffer.size(), ZLib::FT_FINISH); + unsigned int compressedSize = m_zlib->Compress(m_dataBuffer.data(), dataToCompress, m_compressionBuffer.data(), (unsigned)m_compressionBuffer.size()); if (compressedSize) { IO::SystemFile::Write(m_compressionBuffer.data(), compressedSize); } - } while (compressedSize > 0); - m_zlib->ResetCompressor(); -#else - if (dataSizeInBuffer) - { - IO::SystemFile::Write(m_dataBuffer.data(), m_dataBuffer.size()); } +#else + IO::SystemFile::Write(m_dataBuffer.data(), m_dataBuffer.size()); #endif m_dataBuffer.clear(); } - IO::SystemFile::Close(); } - //========================================================================= - // DrillerOutputFileStream::WriteBinary - // [3/23/2011] - //========================================================================= - void DrillerOutputFileStream::WriteBinary(const void* data, unsigned int dataSize) - { - size_t dataSizeInBuffer = m_dataBuffer.size(); - if (dataSizeInBuffer + dataSize > m_dataBuffer.capacity()) - { - if (dataSizeInBuffer > 0) - { + m_dataBuffer.insert(m_dataBuffer.end(), reinterpret_cast(data), reinterpret_cast(data) + dataSize); + } + + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // Driller file input stream + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + + //========================================================================= + // DrillerInputFileStream::DrillerInputFileStream + // [3/23/2011] + //========================================================================= + DrillerInputFileStream::DrillerInputFileStream() + { #if defined(AZ_FILE_STREAM_COMPRESSION) - // we need to flush the data - unsigned int dataToCompress = static_cast(dataSizeInBuffer); - unsigned int minCompressBufferSize = m_zlib->GetMinCompressedBufferSize(dataToCompress); - if (m_compressionBuffer.size() < minCompressBufferSize) // grow compression buffer if needed - { - m_compressionBuffer.clear(); - m_compressionBuffer.resize(minCompressBufferSize); - } - while (dataToCompress > 0) - { - unsigned int compressedSize = m_zlib->Compress(m_dataBuffer.data(), dataToCompress, m_compressionBuffer.data(), (unsigned)m_compressionBuffer.size()); - if (compressedSize) - { - IO::SystemFile::Write(m_compressionBuffer.data(), compressedSize); - } - } + m_zlib = azcreate(ZLib, (&AllocatorInstance::GetAllocator()), OSAllocator); + m_zlib->StartDecompressor(); +#endif + } + + //========================================================================= + // DrillerInputFileStream::DrillerInputFileStream + // [3/23/2011] + //========================================================================= + DrillerInputFileStream::~DrillerInputFileStream() + { +#if defined(AZ_FILE_STREAM_COMPRESSION) + azdestroy(m_zlib, OSAllocator); +#endif + } + + //========================================================================= + // DrillerInputFileStream::Open + // [3/23/2011] + //========================================================================= + bool DrillerInputFileStream::Open(const char* fileName, int mode, int platformFlags) + { + if (IO::SystemFile::Open(fileName, mode, platformFlags)) + { + DrillerOutputStream::StreamHeader sh; +#if defined(AZ_FILE_STREAM_COMPRESSION) + // TODO: optional encode the file in the same format as the streamer so they are interchangeable +#endif + // first read the header of the stream file. + return ReadHeader(); + } + return false; + } + //========================================================================= + // DrillerInputFileStream::ReadBinary + // [3/23/2011] + //========================================================================= + unsigned int DrillerInputFileStream::ReadBinary(void* data, unsigned int maxDataSize) + { + // make sure the compressed buffer if full enough... + size_t dataToLoad = maxDataSize * 2; + m_compressedData.reserve(dataToLoad); + while (m_compressedData.size() < dataToLoad) + { + unsigned char buffer[10 * 1024]; + IO::SystemFile::SizeType bytesRead = Read(AZ_ARRAY_SIZE(buffer), buffer); + if (bytesRead > 0) + { + m_compressedData.insert(m_compressedData.end(), (unsigned char*)buffer, buffer + bytesRead); + } + if (bytesRead < AZ_ARRAY_SIZE(buffer)) + { + break; + } + } +#if defined(AZ_FILE_STREAM_COMPRESSION) + unsigned int dataSize = maxDataSize; + unsigned int bytesProcessed = m_zlib->Decompress(m_compressedData.data(), (unsigned)m_compressedData.size(), data, dataSize); + unsigned int readSize = maxDataSize - dataSize; // Zlib::Decompress decrements the dataSize parameter by the amount uncompressed #else - IO::SystemFile::Write(m_dataBuffer.data(), m_dataBuffer.size()); + unsigned int bytesProcessed = AZStd::GetMin((unsigned int)m_compressedData.size(), maxDataSize); + unsigned int readSize = bytesProcessed; + memcpy(data, m_compressedData.data(), readSize); #endif - m_dataBuffer.clear(); - } - } - m_dataBuffer.insert(m_dataBuffer.end(), reinterpret_cast(data), reinterpret_cast(data) + dataSize); - } + m_compressedData.erase(m_compressedData.begin(), m_compressedData.begin() + bytesProcessed); + return readSize; + } - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - // Driller file input stream - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - - //========================================================================= - // DrillerInputFileStream::DrillerInputFileStream - // [3/23/2011] - //========================================================================= - DrillerInputFileStream::DrillerInputFileStream() - { + //========================================================================= + // DrillerInputFileStream::Close + // [3/23/2011] + //========================================================================= + void DrillerInputFileStream::Close() + { #if defined(AZ_FILE_STREAM_COMPRESSION) - m_zlib = azcreate(ZLib, (&AllocatorInstance::GetAllocator()), OSAllocator); - m_zlib->StartDecompressor(); -#endif - } - - //========================================================================= - // DrillerInputFileStream::DrillerInputFileStream - // [3/23/2011] - //========================================================================= - DrillerInputFileStream::~DrillerInputFileStream() + if (m_zlib) { -#if defined(AZ_FILE_STREAM_COMPRESSION) - azdestroy(m_zlib, OSAllocator); -#endif + m_zlib->ResetDecompressor(); } +#endif // AZ_FILE_STREAM_COMPRESSION + AZ::IO::SystemFile::Close(); + } - //========================================================================= - // DrillerInputFileStream::Open - // [3/23/2011] - //========================================================================= - bool DrillerInputFileStream::Open(const char* fileName, int mode, int platformFlags) + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // DrillerSAXParser + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + //========================================================================= + // DrillerSAXParser + // [3/23/2011] + //========================================================================= + DrillerSAXParser::DrillerSAXParser(const TagCallbackType& tcb, const DataCallbackType& dcb) + : m_tagCallback(tcb) + , m_dataCallback(dcb) + { + } + + //========================================================================= + // ProcessStream + // [3/23/2011] + //========================================================================= + void + DrillerSAXParser::ProcessStream(DrillerInputStream& stream) + { + static const int processChunkSize = 15 * 1024; + char buffer[processChunkSize]; + unsigned int dataSize; + bool isEndianSwap = stream.IsEndianSwap(); + while ((dataSize = stream.ReadBinary(buffer, processChunkSize)) > 0) { - if (IO::SystemFile::Open(fileName, mode, platformFlags)) + char* dataStart = buffer; + char* dataEnd = dataStart + dataSize; + bool dataInBuffer = false; + if (!m_buffer.empty()) { - DrillerOutputStream::StreamHeader sh; -#if defined(AZ_FILE_STREAM_COMPRESSION) - // TODO: optional encode the file in the same format as the streamer so they are interchangeable -#endif - // first read the header of the stream file. - return ReadHeader(); + m_buffer.insert(m_buffer.end(), dataStart, dataEnd); + dataStart = m_buffer.data(); + dataEnd = dataStart + m_buffer.size(); + dataInBuffer = true; } - return false; - } - //========================================================================= - // DrillerInputFileStream::ReadBinary - // [3/23/2011] - //========================================================================= - unsigned int DrillerInputFileStream::ReadBinary(void* data, unsigned int maxDataSize) - { - // make sure the compressed buffer if full enough... - size_t dataToLoad = maxDataSize * 2; - m_compressedData.reserve(dataToLoad); - while (m_compressedData.size() < dataToLoad) + const int entrySize = sizeof(DrillerOutputStream::StreamEntry); + while (dataStart != dataEnd) { - unsigned char buffer[10 * 1024]; - IO::SystemFile::SizeType bytesRead = Read(AZ_ARRAY_SIZE(buffer), buffer); - if (bytesRead > 0) - { - m_compressedData.insert(m_compressedData.end(), (unsigned char*)buffer, buffer + bytesRead); - } - if (bytesRead < AZ_ARRAY_SIZE(buffer)) + if ((dataEnd - dataStart) < entrySize) // we need at least one entry to proceed { + // not enough data to process, buffer it. + if (!dataInBuffer) + { + m_buffer.insert(m_buffer.end(), dataStart, dataEnd); + } break; } - } -#if defined(AZ_FILE_STREAM_COMPRESSION) - unsigned int dataSize = maxDataSize; - unsigned int bytesProcessed = m_zlib->Decompress(m_compressedData.data(), (unsigned)m_compressedData.size(), data, dataSize); - unsigned int readSize = maxDataSize - dataSize; // Zlib::Decompress decrements the dataSize parameter by the amount uncompressed -#else - unsigned int bytesProcessed = AZStd::GetMin((unsigned int)m_compressedData.size(), maxDataSize); - unsigned int readSize = bytesProcessed; - memcpy(data, m_compressedData.data(), readSize); -#endif - m_compressedData.erase(m_compressedData.begin(), m_compressedData.begin() + bytesProcessed); - return readSize; - } - //========================================================================= - // DrillerInputFileStream::Close - // [3/23/2011] - //========================================================================= - void DrillerInputFileStream::Close() - { -#if defined(AZ_FILE_STREAM_COMPRESSION) - if (m_zlib) - { - m_zlib->ResetDecompressor(); - } -#endif // AZ_FILE_STREAM_COMPRESSION - AZ::IO::SystemFile::Close(); - } - - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - // DrillerSAXParser - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - //========================================================================= - // DrillerSAXParser - // [3/23/2011] - //========================================================================= - DrillerSAXParser::DrillerSAXParser(const TagCallbackType& tcb, const DataCallbackType& dcb) - : m_tagCallback(tcb) - , m_dataCallback(dcb) - { - } - - //========================================================================= - // ProcessStream - // [3/23/2011] - //========================================================================= - void - DrillerSAXParser::ProcessStream(DrillerInputStream& stream) - { - static const int processChunkSize = 15 * 1024; - char buffer[processChunkSize]; - unsigned int dataSize; - bool isEndianSwap = stream.IsEndianSwap(); - while ((dataSize = stream.ReadBinary(buffer, processChunkSize)) > 0) - { - char* dataStart = buffer; - char* dataEnd = dataStart + dataSize; - bool dataInBuffer = false; - if (!m_buffer.empty()) + DrillerOutputStream::StreamEntry* se = reinterpret_cast(dataStart); + if (isEndianSwap) { - m_buffer.insert(m_buffer.end(), dataStart, dataEnd); - dataStart = m_buffer.data(); - dataEnd = dataStart + m_buffer.size(); - dataInBuffer = true; + // endian swap + AZStd::endian_swap(se->name); + AZStd::endian_swap(se->sizeAndFlags); } - const int entrySize = sizeof(DrillerOutputStream::StreamEntry); - while (dataStart != dataEnd) + + u32 dataType = (se->sizeAndFlags & DrillerOutputStream::StreamEntry::dataInternalMask) >> DrillerOutputStream::StreamEntry::dataInternalShift; + u32 value = se->sizeAndFlags & DrillerOutputStream::StreamEntry::dataSizeMask; + Data de; + de.m_name = se->name; + de.m_stringPool = stream.GetStringPool(); + de.m_isPooledString = false; + de.m_isPooledStringCrc32 = false; + switch (dataType) { - if ((dataEnd - dataStart) < entrySize) // we need at least one entry to proceed + case DrillerOutputStream::StreamEntry::INT_TAG: + { + bool isStart = (value != 0); + m_tagCallback(se->name, isStart); + dataStart += entrySize; + } break; + case DrillerOutputStream::StreamEntry::INT_DATA_U8: + { + u8 value8 = static_cast(value); + de.m_data = &value8; + de.m_dataSize = 1; + de.m_isEndianSwap = false; + m_dataCallback(de); + dataStart += entrySize; + } break; + case DrillerOutputStream::StreamEntry::INT_DATA_U16: + { + u16 value16 = static_cast(value); + de.m_data = &value16; + de.m_dataSize = 2; + de.m_isEndianSwap = false; + m_dataCallback(de); + dataStart += entrySize; + } break; + case DrillerOutputStream::StreamEntry::INT_DATA_U29: + { + de.m_data = &value; + de.m_dataSize = 4; + de.m_isEndianSwap = false; + m_dataCallback(de); + dataStart += entrySize; + } break; + case DrillerOutputStream::StreamEntry::INT_POOLED_STRING: + { + unsigned int userDataSize = value; + if ((userDataSize + entrySize) <= (unsigned)(dataEnd - dataStart)) { - // not enough data to process, buffer it. + // Add string to the pool + AZ_Assert(de.m_stringPool != nullptr, "We require a string pool to parse this stream"); + AZ::u32 crc32; + const char* stringPtr; + dataStart += entrySize; + de.m_stringPool->InsertCopy(reinterpret_cast(dataStart), userDataSize, crc32, &stringPtr); + de.m_dataSize = userDataSize; + de.m_isEndianSwap = isEndianSwap; + de.m_isPooledString = true; + de.m_data = const_cast(static_cast(stringPtr)); + m_dataCallback(de); + dataStart += userDataSize; + } + else + { + // we can't process data right now add it to the buffer (if we have not done that already) if (!dataInBuffer) { m_buffer.insert(m_buffer.end(), dataStart, dataEnd); } - break; + dataEnd = dataStart; // exit the loop } - - DrillerOutputStream::StreamEntry* se = reinterpret_cast(dataStart); - if (isEndianSwap) + } break; + case DrillerOutputStream::StreamEntry::INT_POOLED_STRING_CRC32: + { + de.m_isPooledStringCrc32 = true; + AZ_Assert(value == 4, "The data size for a pooled string crc32 should be 4 bytes!"); + } // continue to INT_SIZE + case DrillerOutputStream::StreamEntry::INT_SIZE: + { + unsigned int userDataSize = value; + if ((userDataSize + entrySize) <= (unsigned)(dataEnd - dataStart)) // do we have all the date we need to process... { - // endian swap - AZStd::endian_swap(se->name); - AZStd::endian_swap(se->sizeAndFlags); - } - - u32 dataType = (se->sizeAndFlags & DrillerOutputStream::StreamEntry::dataInternalMask) >> DrillerOutputStream::StreamEntry::dataInternalShift; - u32 value = se->sizeAndFlags & DrillerOutputStream::StreamEntry::dataSizeMask; - Data de; - de.m_name = se->name; - de.m_stringPool = stream.GetStringPool(); - de.m_isPooledString = false; - de.m_isPooledStringCrc32 = false; - switch (dataType) - { - case DrillerOutputStream::StreamEntry::INT_TAG: - { - bool isStart = (value != 0); - m_tagCallback(se->name, isStart); dataStart += entrySize; - } break; - case DrillerOutputStream::StreamEntry::INT_DATA_U8: - { - u8 value8 = static_cast(value); - de.m_data = &value8; - de.m_dataSize = 1; - de.m_isEndianSwap = false; + de.m_data = dataStart; + de.m_dataSize = userDataSize; + de.m_isEndianSwap = isEndianSwap; m_dataCallback(de); - dataStart += entrySize; - } break; - case DrillerOutputStream::StreamEntry::INT_DATA_U16: - { - u16 value16 = static_cast(value); - de.m_data = &value16; - de.m_dataSize = 2; - de.m_isEndianSwap = false; - m_dataCallback(de); - dataStart += entrySize; - } break; - case DrillerOutputStream::StreamEntry::INT_DATA_U29: - { - de.m_data = &value; - de.m_dataSize = 4; - de.m_isEndianSwap = false; - m_dataCallback(de); - dataStart += entrySize; - } break; - case DrillerOutputStream::StreamEntry::INT_POOLED_STRING: - { - unsigned int userDataSize = value; - if ((userDataSize + entrySize) <= (unsigned)(dataEnd - dataStart)) - { - // Add string to the pool - AZ_Assert(de.m_stringPool != nullptr, "We require a string pool to parse this stream"); - AZ::u32 crc32; - const char* stringPtr; - dataStart += entrySize; - de.m_stringPool->InsertCopy(reinterpret_cast(dataStart), userDataSize, crc32, &stringPtr); - de.m_dataSize = userDataSize; - de.m_isEndianSwap = isEndianSwap; - de.m_isPooledString = true; - de.m_data = const_cast(static_cast(stringPtr)); - m_dataCallback(de); - dataStart += userDataSize; - } - else - { - // we can't process data right now add it to the buffer (if we have not done that already) - if (!dataInBuffer) - { - m_buffer.insert(m_buffer.end(), dataStart, dataEnd); - } - dataEnd = dataStart; // exit the loop - } - } break; - case DrillerOutputStream::StreamEntry::INT_POOLED_STRING_CRC32: - { - de.m_isPooledStringCrc32 = true; - AZ_Assert(value == 4, "The data size for a pooled string crc32 should be 4 bytes!"); - } // continue to INT_SIZE - case DrillerOutputStream::StreamEntry::INT_SIZE: - { - unsigned int userDataSize = value; - if ((userDataSize + entrySize) <= (unsigned)(dataEnd - dataStart)) // do we have all the date we need to process... - { - dataStart += entrySize; - de.m_data = dataStart; - de.m_dataSize = userDataSize; - de.m_isEndianSwap = isEndianSwap; - m_dataCallback(de); - dataStart += userDataSize; - } - else - { - // we can't process data right now add it to the buffer (if we have not done that already) - if (!dataInBuffer) - { - m_buffer.insert(m_buffer.end(), dataStart, dataEnd); - } - dataEnd = dataStart; // exit the loop - } - } break; - default: - { - AZ_Error("DrillerSAXParser",false,"Encounted unknown symbol (%i) while processing stream (%s). Aborting stream.\n",dataType, stream.GetIdentifier()); - - // If we can't process anything, we want to just escape the loop, to avoid spinning infinitely - dataEnd = dataStart; - } break; + dataStart += userDataSize; } - } - if (dataInBuffer) // if the data was in the buffer remove the processed data! - { - m_buffer.erase(m_buffer.begin(), m_buffer.begin() + (dataStart - m_buffer.data())); - } - } - } - - void DrillerSAXParser::Data::Read(AZ::Vector3& v) const - { - AZ_Assert(m_dataSize == sizeof(float) * 3, "We are expecting 3 floats for Vector3 element 0x%08x with size %d bytes", m_name, m_dataSize); - float* data = reinterpret_cast(m_data); - if (m_isEndianSwap) - { - AZStd::endian_swap(data, data + 3); - m_isEndianSwap = false; - } - v = Vector3::CreateFromFloat3(data); - } - void DrillerSAXParser::Data::Read(AZ::Vector4& v) const - { - AZ_Assert(m_dataSize == sizeof(float) * 4, "We are expecting 4 floats for Vector4 element 0x%08x with size %d bytes", m_name, m_dataSize); - float* data = reinterpret_cast(m_data); - if (m_isEndianSwap) - { - AZStd::endian_swap(data, data + 4); - m_isEndianSwap = false; - } - v = Vector4::CreateFromFloat4(data); - } - void DrillerSAXParser::Data::Read(AZ::Aabb& aabb) const - { - AZ_Assert(m_dataSize == sizeof(float) * 6, "We are expecting 6 floats for Aabb element 0x%08x with size %d bytes", m_name, m_dataSize); - float* data = reinterpret_cast(m_data); - if (m_isEndianSwap) - { - AZStd::endian_swap(data, data + 6); - m_isEndianSwap = false; - } - Vector3 min = Vector3::CreateFromFloat3(data); - Vector3 max = Vector3::CreateFromFloat3(&data[3]); - aabb = Aabb::CreateFromMinMax(min, max); - } - void DrillerSAXParser::Data::Read(AZ::Obb& obb) const - { - AZ_Assert(m_dataSize == sizeof(float) * 10, "We are expecting 10 floats for Obb element 0x%08x with size %d bytes", m_name, m_dataSize); - float* data = reinterpret_cast(m_data); - if (m_isEndianSwap) - { - AZStd::endian_swap(data, data + 10); - m_isEndianSwap = false; - } - Vector3 position = Vector3::CreateFromFloat3(data); - Quaternion rotation = Quaternion::CreateFromFloat4(&data[3]); - Vector3 halfLengths = Vector3::CreateFromFloat3(&data[7]); - obb = Obb::CreateFromPositionRotationAndHalfLengths(position, rotation, halfLengths); - } - void DrillerSAXParser::Data::Read(AZ::Transform& tm) const - { - AZ_Assert(m_dataSize == sizeof(float) * 12, "We are expecting 12 floats for Transform element 0x%08x with size %d bytes", m_name, m_dataSize); - float* data = reinterpret_cast(m_data); - if (m_isEndianSwap) - { - AZStd::endian_swap(data, data + 12); - m_isEndianSwap = false; - } - const Matrix3x4 matrix3x4 = Matrix3x4::CreateFromRowMajorFloat12(data); - tm = Transform::CreateFromMatrix3x4(matrix3x4); - } - void DrillerSAXParser::Data::Read(AZ::Matrix3x3& tm) const - { - AZ_Assert(m_dataSize == sizeof(float) * 9, "We are expecting 9 floats for Matrix3x3 element 0x%08x with size %d bytes", m_name, m_dataSize); - float* data = reinterpret_cast(m_data); - if (m_isEndianSwap) - { - AZStd::endian_swap(data, data + 9); - m_isEndianSwap = false; - } - tm = Matrix3x3::CreateFromRowMajorFloat9(data); - } - void DrillerSAXParser::Data::Read(AZ::Matrix4x4& tm) const - { - AZ_Assert(m_dataSize == sizeof(float) * 16, "We are expecting 16 floats for Matrix4x4 element 0x%08x with size %d bytes", m_name, m_dataSize); - float* data = reinterpret_cast(m_data); - if (m_isEndianSwap) - { - AZStd::endian_swap(data, data + 16); - m_isEndianSwap = false; - } - tm = Matrix4x4::CreateFromRowMajorFloat16(data); - } - void DrillerSAXParser::Data::Read(AZ::Quaternion& tm) const - { - AZ_Assert(m_dataSize == sizeof(float) * 4, "We are expecting 4 floats for Quaternion element 0x%08x with size %d bytes", m_name, m_dataSize); - float* data = reinterpret_cast(m_data); - if (m_isEndianSwap) - { - AZStd::endian_swap(data, data + 4); - m_isEndianSwap = false; - } - tm = Quaternion::CreateFromFloat4(data); - } - void DrillerSAXParser::Data::Read(AZ::Plane& plane) const - { - AZ::Vector4 coeff; - Read(coeff); - plane = Plane::CreateFromCoefficients(coeff.GetX(), coeff.GetY(), coeff.GetZ(), coeff.GetW()); - } - - const char* DrillerSAXParser::Data::PrepareString(unsigned int& stringLength) const - { - const char* srcData = reinterpret_cast(m_data); - stringLength = m_dataSize; - if (m_stringPool) - { - AZ::u32 crc32; - const char* stringPtr; - if (m_isPooledStringCrc32) - { - crc32 = *reinterpret_cast(m_data); - if (m_isEndianSwap) + else { - AZStd::endian_swap(crc32); + // we can't process data right now add it to the buffer (if we have not done that already) + if (!dataInBuffer) + { + m_buffer.insert(m_buffer.end(), dataStart, dataEnd); + } + dataEnd = dataStart; // exit the loop } - stringPtr = m_stringPool->Find(crc32); - AZ_Assert(stringPtr != nullptr, "Failed to find string with id 0x%08x in the string pool, proper stream read is impossible!", crc32); - stringLength = static_cast(strlen(stringPtr)); - } - else if (m_isPooledString) + } break; + default: { - stringPtr = srcData; // already stored in the pool just transfer the pointer + AZ_Error("DrillerSAXParser",false,"Encounted unknown symbol (%i) while processing stream (%s). Aborting stream.\n",dataType, stream.GetIdentifier()); + + // If we can't process anything, we want to just escape the loop, to avoid spinning infinitely + dataEnd = dataStart; + } break; } - else + } + if (dataInBuffer) // if the data was in the buffer remove the processed data! + { + m_buffer.erase(m_buffer.begin(), m_buffer.begin() + (dataStart - m_buffer.data())); + } + } + } + + void DrillerSAXParser::Data::Read(AZ::Vector3& v) const + { + AZ_Assert(m_dataSize == sizeof(float) * 3, "We are expecting 3 floats for Vector3 element 0x%08x with size %d bytes", m_name, m_dataSize); + float* data = reinterpret_cast(m_data); + if (m_isEndianSwap) + { + AZStd::endian_swap(data, data + 3); + m_isEndianSwap = false; + } + v = Vector3::CreateFromFloat3(data); + } + void DrillerSAXParser::Data::Read(AZ::Vector4& v) const + { + AZ_Assert(m_dataSize == sizeof(float) * 4, "We are expecting 4 floats for Vector4 element 0x%08x with size %d bytes", m_name, m_dataSize); + float* data = reinterpret_cast(m_data); + if (m_isEndianSwap) + { + AZStd::endian_swap(data, data + 4); + m_isEndianSwap = false; + } + v = Vector4::CreateFromFloat4(data); + } + void DrillerSAXParser::Data::Read(AZ::Aabb& aabb) const + { + AZ_Assert(m_dataSize == sizeof(float) * 6, "We are expecting 6 floats for Aabb element 0x%08x with size %d bytes", m_name, m_dataSize); + float* data = reinterpret_cast(m_data); + if (m_isEndianSwap) + { + AZStd::endian_swap(data, data + 6); + m_isEndianSwap = false; + } + Vector3 min = Vector3::CreateFromFloat3(data); + Vector3 max = Vector3::CreateFromFloat3(&data[3]); + aabb = Aabb::CreateFromMinMax(min, max); + } + void DrillerSAXParser::Data::Read(AZ::Obb& obb) const + { + AZ_Assert(m_dataSize == sizeof(float) * 10, "We are expecting 10 floats for Obb element 0x%08x with size %d bytes", m_name, m_dataSize); + float* data = reinterpret_cast(m_data); + if (m_isEndianSwap) + { + AZStd::endian_swap(data, data + 10); + m_isEndianSwap = false; + } + Vector3 position = Vector3::CreateFromFloat3(data); + Quaternion rotation = Quaternion::CreateFromFloat4(&data[3]); + Vector3 halfLengths = Vector3::CreateFromFloat3(&data[7]); + obb = Obb::CreateFromPositionRotationAndHalfLengths(position, rotation, halfLengths); + } + void DrillerSAXParser::Data::Read(AZ::Transform& tm) const + { + AZ_Assert(m_dataSize == sizeof(float) * 12, "We are expecting 12 floats for Transform element 0x%08x with size %d bytes", m_name, m_dataSize); + float* data = reinterpret_cast(m_data); + if (m_isEndianSwap) + { + AZStd::endian_swap(data, data + 12); + m_isEndianSwap = false; + } + const Matrix3x4 matrix3x4 = Matrix3x4::CreateFromRowMajorFloat12(data); + tm = Transform::CreateFromMatrix3x4(matrix3x4); + } + void DrillerSAXParser::Data::Read(AZ::Matrix3x3& tm) const + { + AZ_Assert(m_dataSize == sizeof(float) * 9, "We are expecting 9 floats for Matrix3x3 element 0x%08x with size %d bytes", m_name, m_dataSize); + float* data = reinterpret_cast(m_data); + if (m_isEndianSwap) + { + AZStd::endian_swap(data, data + 9); + m_isEndianSwap = false; + } + tm = Matrix3x3::CreateFromRowMajorFloat9(data); + } + void DrillerSAXParser::Data::Read(AZ::Matrix4x4& tm) const + { + AZ_Assert(m_dataSize == sizeof(float) * 16, "We are expecting 16 floats for Matrix4x4 element 0x%08x with size %d bytes", m_name, m_dataSize); + float* data = reinterpret_cast(m_data); + if (m_isEndianSwap) + { + AZStd::endian_swap(data, data + 16); + m_isEndianSwap = false; + } + tm = Matrix4x4::CreateFromRowMajorFloat16(data); + } + void DrillerSAXParser::Data::Read(AZ::Quaternion& tm) const + { + AZ_Assert(m_dataSize == sizeof(float) * 4, "We are expecting 4 floats for Quaternion element 0x%08x with size %d bytes", m_name, m_dataSize); + float* data = reinterpret_cast(m_data); + if (m_isEndianSwap) + { + AZStd::endian_swap(data, data + 4); + m_isEndianSwap = false; + } + tm = Quaternion::CreateFromFloat4(data); + } + void DrillerSAXParser::Data::Read(AZ::Plane& plane) const + { + AZ::Vector4 coeff; + Read(coeff); + plane = Plane::CreateFromCoefficients(coeff.GetX(), coeff.GetY(), coeff.GetZ(), coeff.GetW()); + } + + const char* DrillerSAXParser::Data::PrepareString(unsigned int& stringLength) const + { + const char* srcData = reinterpret_cast(m_data); + stringLength = m_dataSize; + if (m_stringPool) + { + AZ::u32 crc32; + const char* stringPtr; + if (m_isPooledStringCrc32) + { + crc32 = *reinterpret_cast(m_data); + if (m_isEndianSwap) { - // Store copy of the string in the pool to save memory (keep only one reference of the string). - m_stringPool->InsertCopy(reinterpret_cast(srcData), stringLength, crc32, &stringPtr); + AZStd::endian_swap(crc32); } - srcData = stringPtr; + stringPtr = m_stringPool->Find(crc32); + AZ_Assert(stringPtr != nullptr, "Failed to find string with id 0x%08x in the string pool, proper stream read is impossible!", crc32); + stringLength = static_cast(strlen(stringPtr)); + } + else if (m_isPooledString) + { + stringPtr = srcData; // already stored in the pool just transfer the pointer } else { - AZ_Assert(m_isPooledString == false && m_isPooledStringCrc32 == false, "This stream requires using of a string pool as the string is send only once and afterwards only the Crc32 is used!"); + // Store copy of the string in the pool to save memory (keep only one reference of the string). + m_stringPool->InsertCopy(reinterpret_cast(srcData), stringLength, crc32, &stringPtr); } - return srcData; + srcData = stringPtr; + } + else + { + AZ_Assert(m_isPooledString == false && m_isPooledStringCrc32 == false, "This stream requires using of a string pool as the string is send only once and afterwards only the Crc32 is used!"); + } + return srcData; + } + + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // DrillerDOMParser + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + + //========================================================================= + // Node::GetTag + // [1/23/2013] + //========================================================================= + const DrillerDOMParser::Node* DrillerDOMParser::Node::GetTag(u32 tagName) const + { + const Node* tagNode = nullptr; + for (Node::NodeListType::const_iterator i = m_tags.begin(); i != m_tags.end(); ++i) + { + if ((*i).m_name == tagName) + { + tagNode = &*i; + break; + } + } + return tagNode; + } + + //========================================================================= + // Node::GetData + // [3/23/2011] + //========================================================================= + const DrillerDOMParser::Data* DrillerDOMParser::Node::GetData(u32 dataName) const + { + const Data* dataNode = nullptr; + for (Node::DataListType::const_iterator i = m_data.begin(); i != m_data.end(); ++i) + { + if (i->m_name == dataName) + { + dataNode = &*i; + break; + } + } + return dataNode; + } + + //========================================================================= + // DrillerDOMParser + // [3/23/2011] + //========================================================================= + DrillerDOMParser::DrillerDOMParser(bool isPersistentInputData) + : DrillerSAXParser(TagCallbackType(this, &DrillerDOMParser::OnTag), DataCallbackType(this, &DrillerDOMParser::OnData)) + , m_isPersistentInputData(isPersistentInputData) + { + m_root.m_name = 0; + m_root.m_parent = nullptr; + m_topNode = &m_root; + } + static int g_numFree = 0; + //========================================================================= + // ~DrillerDOMParser + // [3/23/2011] + //========================================================================= + DrillerDOMParser::~DrillerDOMParser() + { + DeleteNode(m_root); + } + + //========================================================================= + // OnTag + // [3/23/2011] + //========================================================================= + void + DrillerDOMParser::OnTag(AZ::u32 name, bool isOpen) + { + if (isOpen) + { + m_topNode->m_tags.push_back(); + Node& node = m_topNode->m_tags.back(); + node.m_name = name; + node.m_parent = m_topNode; + + m_topNode = &node; + } + else + { + AZ_Assert(m_topNode->m_name == name, "We have opened tag with name 0x%08x and closing with name 0x%08x", m_topNode->m_name, name); + m_topNode = m_topNode->m_parent; + } + } + //========================================================================= + // OnData + // [3/23/2011] + //========================================================================= + void + DrillerDOMParser::OnData(const Data& data) + { + Data de = data; + if (!m_isPersistentInputData) + { + de.m_data = azmalloc(data.m_dataSize, 1, OSAllocator); + memcpy(const_cast(de.m_data), data.m_data, data.m_dataSize); + } + m_topNode->m_data.push_back(de); + } + //========================================================================= + // DeleteNode + // [3/23/2011] + //========================================================================= + void + DrillerDOMParser::DeleteNode(Node& node) + { + if (!m_isPersistentInputData) + { + for (Node::DataListType::iterator iter = node.m_data.begin(); iter != node.m_data.end(); ++iter) + { + azfree(iter->m_data, OSAllocator, iter->m_dataSize); + ++g_numFree; + } + node.m_data.clear(); + } + for (Node::NodeListType::iterator iter = node.m_tags.begin(); iter != node.m_tags.end(); ++iter) + { + DeleteNode(*iter); + } + node.m_tags.clear(); + } + + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // DrillerSAXParserHandler + ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + + //========================================================================= + // DrillerSAXParserHandler + // [3/14/2013] + //========================================================================= + DrillerSAXParserHandler::DrillerSAXParserHandler(DrillerHandlerParser* rootHandler) + : DrillerSAXParser(TagCallbackType(this, &DrillerSAXParserHandler::OnTag), DataCallbackType(this, &DrillerSAXParserHandler::OnData)) + { + // Push the root element + m_stack.push_back(rootHandler); + } + + //========================================================================= + // OnTag + // [3/14/2013] + //========================================================================= + void DrillerSAXParserHandler::OnTag(u32 name, bool isOpen) + { + if (m_stack.empty()) + { + return; } - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - // DrillerDOMParser - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - - //========================================================================= - // Node::GetTag - // [1/23/2013] - //========================================================================= - const DrillerDOMParser::Node* DrillerDOMParser::Node::GetTag(u32 tagName) const + DrillerHandlerParser* childHandler = nullptr; + DrillerHandlerParser* currentHandler = m_stack.back(); + if (isOpen) { - const Node* tagNode = nullptr; - for (Node::NodeListType::const_iterator i = m_tags.begin(); i != m_tags.end(); ++i) + if (currentHandler != nullptr) { - if ((*i).m_name == tagName) + childHandler = currentHandler->OnEnterTag(name); + AZ_Warning("Driller", !currentHandler->IsWarnOnUnsupportedTags() || childHandler != nullptr, "Could not find handler for tag 0x%08x", name); + } + m_stack.push_back(childHandler); + } + else + { + m_stack.pop_back(); + if (!m_stack.empty()) + { + DrillerHandlerParser* parentHandler = m_stack.back(); + if (parentHandler) { - tagNode = &*i; - break; - } - } - return tagNode; - } - - //========================================================================= - // Node::GetData - // [3/23/2011] - //========================================================================= - const DrillerDOMParser::Data* DrillerDOMParser::Node::GetData(u32 dataName) const - { - const Data* dataNode = nullptr; - for (Node::DataListType::const_iterator i = m_data.begin(); i != m_data.end(); ++i) - { - if (i->m_name == dataName) - { - dataNode = &*i; - break; - } - } - return dataNode; - } - - //========================================================================= - // DrillerDOMParser - // [3/23/2011] - //========================================================================= - DrillerDOMParser::DrillerDOMParser(bool isPersistentInputData) - : DrillerSAXParser(TagCallbackType(this, &DrillerDOMParser::OnTag), DataCallbackType(this, &DrillerDOMParser::OnData)) - , m_isPersistentInputData(isPersistentInputData) - { - m_root.m_name = 0; - m_root.m_parent = nullptr; - m_topNode = &m_root; - } - static int g_numFree = 0; - //========================================================================= - // ~DrillerDOMParser - // [3/23/2011] - //========================================================================= - DrillerDOMParser::~DrillerDOMParser() - { - DeleteNode(m_root); - } - - //========================================================================= - // OnTag - // [3/23/2011] - //========================================================================= - void - DrillerDOMParser::OnTag(AZ::u32 name, bool isOpen) - { - if (isOpen) - { - m_topNode->m_tags.push_back(); - Node& node = m_topNode->m_tags.back(); - node.m_name = name; - node.m_parent = m_topNode; - - m_topNode = &node; - } - else - { - AZ_Assert(m_topNode->m_name == name, "We have opened tag with name 0x%08x and closing with name 0x%08x", m_topNode->m_name, name); - m_topNode = m_topNode->m_parent; - } - } - //========================================================================= - // OnData - // [3/23/2011] - //========================================================================= - void - DrillerDOMParser::OnData(const Data& data) - { - Data de = data; - if (!m_isPersistentInputData) - { - de.m_data = azmalloc(data.m_dataSize, 1, OSAllocator); - memcpy(const_cast(de.m_data), data.m_data, data.m_dataSize); - } - m_topNode->m_data.push_back(de); - } - //========================================================================= - // DeleteNode - // [3/23/2011] - //========================================================================= - void - DrillerDOMParser::DeleteNode(Node& node) - { - if (!m_isPersistentInputData) - { - for (Node::DataListType::iterator iter = node.m_data.begin(); iter != node.m_data.end(); ++iter) - { - azfree(iter->m_data, OSAllocator, iter->m_dataSize); - ++g_numFree; - } - node.m_data.clear(); - } - for (Node::NodeListType::iterator iter = node.m_tags.begin(); iter != node.m_tags.end(); ++iter) - { - DeleteNode(*iter); - } - node.m_tags.clear(); - } - - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - // DrillerSAXParserHandler - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - - //========================================================================= - // DrillerSAXParserHandler - // [3/14/2013] - //========================================================================= - DrillerSAXParserHandler::DrillerSAXParserHandler(DrillerHandlerParser* rootHandler) - : DrillerSAXParser(TagCallbackType(this, &DrillerSAXParserHandler::OnTag), DataCallbackType(this, &DrillerSAXParserHandler::OnData)) - { - // Push the root element - m_stack.push_back(rootHandler); - } - - //========================================================================= - // OnTag - // [3/14/2013] - //========================================================================= - void DrillerSAXParserHandler::OnTag(u32 name, bool isOpen) - { - if (m_stack.size() == 0) - { - return; - } - - DrillerHandlerParser* childHandler = nullptr; - DrillerHandlerParser* currentHandler = m_stack.back(); - if (isOpen) - { - if (currentHandler != nullptr) - { - childHandler = currentHandler->OnEnterTag(name); - AZ_Warning("Driller", !currentHandler->IsWarnOnUnsupportedTags() || childHandler != nullptr, "Could not find handler for tag 0x%08x", name); - } - m_stack.push_back(childHandler); - } - else - { - m_stack.pop_back(); - if (m_stack.size() > 0) - { - DrillerHandlerParser* parentHandler = m_stack.back(); - if (parentHandler) - { - parentHandler->OnExitTag(currentHandler, name); - } + parentHandler->OnExitTag(currentHandler, name); } } } + } - //========================================================================= - // OnData - // [3/14/2013] - //========================================================================= - void DrillerSAXParserHandler::OnData(const DrillerSAXParser::Data& data) + //========================================================================= + // OnData + // [3/14/2013] + //========================================================================= + void DrillerSAXParserHandler::OnData(const DrillerSAXParser::Data& data) + { + if (m_stack.empty()) { - if (m_stack.size() == 0) - { - return; - } - - DrillerHandlerParser* currentHandler = m_stack.back(); - if (currentHandler) - { - currentHandler->OnData(data); - } + return; } - } // namespace Debug -} // namespace AZ + + DrillerHandlerParser* currentHandler = m_stack.back(); + if (currentHandler) + { + currentHandler->OnData(data); + } + } +} // namespace AZ::Debug diff --git a/Code/Framework/AzCore/AzCore/IO/CompressionBus.cpp b/Code/Framework/AzCore/AzCore/IO/CompressionBus.cpp index fb9f8841a2..7878ec6e9e 100644 --- a/Code/Framework/AzCore/AzCore/IO/CompressionBus.cpp +++ b/Code/Framework/AzCore/AzCore/IO/CompressionBus.cpp @@ -8,38 +8,35 @@ #include -namespace AZ +namespace AZ::IO { - namespace IO + CompressionInfo::CompressionInfo(CompressionInfo&& rhs) { - CompressionInfo::CompressionInfo(CompressionInfo&& rhs) - { - *this = AZStd::move(rhs); - } + *this = AZStd::move(rhs); + } - CompressionInfo& CompressionInfo::operator=(CompressionInfo&& rhs) - { - m_decompressor = AZStd::move(rhs.m_decompressor); - m_archiveFilename = AZStd::move(rhs.m_archiveFilename); - m_compressionTag = rhs.m_compressionTag; - m_offset = rhs.m_offset; - m_compressedSize = rhs.m_compressedSize; - m_uncompressedSize = rhs.m_uncompressedSize; - m_conflictResolution = rhs.m_conflictResolution; - m_isCompressed = rhs.m_isCompressed; - m_isSharedPak = rhs.m_isSharedPak; + CompressionInfo& CompressionInfo::operator=(CompressionInfo&& rhs) + { + m_decompressor = AZStd::move(rhs.m_decompressor); + m_archiveFilename = AZStd::move(rhs.m_archiveFilename); + m_compressionTag = rhs.m_compressionTag; + m_offset = rhs.m_offset; + m_compressedSize = rhs.m_compressedSize; + m_uncompressedSize = rhs.m_uncompressedSize; + m_conflictResolution = rhs.m_conflictResolution; + m_isCompressed = rhs.m_isCompressed; + m_isSharedPak = rhs.m_isSharedPak; - return *this; - } + return *this; + } - namespace CompressionUtils + namespace CompressionUtils + { + bool FindCompressionInfo(CompressionInfo& info, const AZStd::string_view filename) { - bool FindCompressionInfo(CompressionInfo& info, const AZStd::string_view filename) - { - bool result = false; - CompressionBus::Broadcast(&CompressionBus::Events::FindCompressionInfo, result, info, filename); - return result; - } + bool result = false; + CompressionBus::Broadcast(&CompressionBus::Events::FindCompressionInfo, result, info, filename); + return result; } } -} +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/Compressor.cpp b/Code/Framework/AzCore/AzCore/IO/Compressor.cpp index e223730ce8..16527422ad 100644 --- a/Code/Framework/AzCore/AzCore/IO/Compressor.cpp +++ b/Code/Framework/AzCore/AzCore/IO/Compressor.cpp @@ -10,32 +10,29 @@ #include #include -namespace AZ +namespace AZ::IO { - namespace IO + //========================================================================= + // WriteHeaderAndData + // [12/13/2012] + //========================================================================= + bool Compressor::WriteHeaderAndData(CompressorStream* compressorStream) { - //========================================================================= - // WriteHeaderAndData - // [12/13/2012] - //========================================================================= - bool Compressor::WriteHeaderAndData(CompressorStream* compressorStream) + AZ_Assert(compressorStream->CanWrite(), "Stream is not open for write!"); + AZ_Assert(compressorStream->GetCompressorData(), "Stream doesn't have attached compressor, call WriteCompressed first!"); + AZ_Assert(compressorStream->GetCompressorData()->m_compressor == this, "Invalid compressor data! Data belongs to a different compressor"); + CompressorHeader header; + header.SetAZCS(); + header.m_compressorId = GetTypeId(); + header.m_uncompressedSize = compressorStream->GetCompressorData()->m_uncompressedSize; + AZStd::endian_swap(header.m_compressorId); + AZStd::endian_swap(header.m_uncompressedSize); + GenericStream* baseStream = compressorStream->GetWrappedStream(); + if (baseStream->WriteAtOffset(sizeof(CompressorHeader), &header, 0U) == sizeof(CompressorHeader)) { - AZ_Assert(compressorStream->CanWrite(), "Stream is not open for write!"); - AZ_Assert(compressorStream->GetCompressorData(), "Stream doesn't have attached compressor, call WriteCompressed first!"); - AZ_Assert(compressorStream->GetCompressorData()->m_compressor == this, "Invalid compressor data! Data belongs to a different compressor"); - CompressorHeader header; - header.SetAZCS(); - header.m_compressorId = GetTypeId(); - header.m_uncompressedSize = compressorStream->GetCompressorData()->m_uncompressedSize; - AZStd::endian_swap(header.m_compressorId); - AZStd::endian_swap(header.m_uncompressedSize); - GenericStream* baseStream = compressorStream->GetWrappedStream(); - if (baseStream->WriteAtOffset(sizeof(CompressorHeader), &header, 0U) == sizeof(CompressorHeader)) - { - return true; - } - - return false; + return true; } - } // namespace IO -} // namespace AZ + + return false; + } +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/Compressor.h b/Code/Framework/AzCore/AzCore/IO/Compressor.h index 9b910a0ea4..340366d82f 100644 --- a/Code/Framework/AzCore/AzCore/IO/Compressor.h +++ b/Code/Framework/AzCore/AzCore/IO/Compressor.h @@ -5,74 +5,67 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ -#ifndef AZCORE_IO_COMPRESSOR_H -#define AZCORE_IO_COMPRESSOR_H +#pragma once #include -namespace AZ +namespace AZ::IO { - namespace IO + class CompressorStream; + + /** + * Compressor/Decompressor base interface. + * Used for all stream compressors. + */ + class Compressor { - class CompressorStream; + public: + typedef AZ::u64 SizeType; + static const int m_maxHeaderSize = 4096; /// When we open a stream to check if it's compressed we read the first m_maxHeaderSize bytes. - /** - * Compressor/Decompressor base interface. - * Used for all stream compressors. - */ - class Compressor - { - public: - typedef AZ::u64 SizeType; - static const int m_maxHeaderSize = 4096; /// When we open a stream to check if it's compressed we read the first m_maxHeaderSize bytes. + virtual ~Compressor() {} + /// Return compressor type id. + virtual AZ::u32 GetTypeId() const = 0; + /// Called when we open a stream to Read for the first time. Data contains the first. dataSize <= m_maxHeaderSize. + virtual bool ReadHeaderAndData(CompressorStream* stream, AZ::u8* data, unsigned int dataSize) = 0; + /// Called when we are about to start writing to a compressed stream. (Must be called first to write compressor header) + virtual bool WriteHeaderAndData(CompressorStream* stream); + /// Forwarded function from the Device when we from a compressed stream. + virtual SizeType Read(CompressorStream* stream, SizeType byteSize, SizeType offset, void* buffer) = 0; + /// Forwarded function from the Device when we write to a compressed stream. + virtual SizeType Write(CompressorStream* stream, SizeType byteSize, const void* data, SizeType offset = SizeType(-1)) = 0; + /// Write a seek point. + virtual bool WriteSeekPoint(CompressorStream* stream) { (void)stream; return false; } + /// Initializes Compressor for writing data. + virtual bool StartCompressor(CompressorStream* stream, int compressionLevel, SizeType autoSeekDataSize) { (void)stream; (void)compressionLevel; (void)autoSeekDataSize; return false; } + /// Called just before we close the stream. All compression data will be flushed and finalized. (You can't add data afterwards). + virtual bool Close(CompressorStream* stream) = 0; + }; - virtual ~Compressor() {} - /// Return compressor type id. - virtual AZ::u32 GetTypeId() const = 0; - /// Called when we open a stream to Read for the first time. Data contains the first. dataSize <= m_maxHeaderSize. - virtual bool ReadHeaderAndData(CompressorStream* stream, AZ::u8* data, unsigned int dataSize) = 0; - /// Called when we are about to start writing to a compressed stream. (Must be called first to write compressor header) - virtual bool WriteHeaderAndData(CompressorStream* stream); - /// Forwarded function from the Device when we from a compressed stream. - virtual SizeType Read(CompressorStream* stream, SizeType byteSize, SizeType offset, void* buffer) = 0; - /// Forwarded function from the Device when we write to a compressed stream. - virtual SizeType Write(CompressorStream* stream, SizeType byteSize, const void* data, SizeType offset = SizeType(-1)) = 0; - /// Write a seek point. - virtual bool WriteSeekPoint(CompressorStream* stream) { (void)stream; return false; } - /// Initializes Compressor for writing data. - virtual bool StartCompressor(CompressorStream* stream, int compressionLevel, SizeType autoSeekDataSize) { (void)stream; (void)compressionLevel; (void)autoSeekDataSize; return false; } - /// Called just before we close the stream. All compression data will be flushed and finalized. (You can't add data afterwards). - virtual bool Close(CompressorStream* stream) = 0; - }; + /** + * Base compressor data assigned for all compressors. + */ + class CompressorData + { + public: + virtual ~CompressorData() {} - /** - * Base compressor data assigned for all compressors. - */ - class CompressorData - { - public: - virtual ~CompressorData() {} + Compressor* m_compressor; + AZ::u64 m_uncompressedSize; + }; - Compressor* m_compressor; - AZ::u64 m_uncompressedSize; - }; + /** + * All data is stored in network order (big endian). + */ + struct CompressorHeader + { + CompressorHeader() { m_azcs[0] = 0; m_azcs[1] = 0; m_azcs[2] = 0; m_azcs[3] = 0; } - /** - * All data is stored in network order (big endian). - */ - struct CompressorHeader - { - CompressorHeader() { m_azcs[0] = 0; m_azcs[1] = 0; m_azcs[2] = 0; m_azcs[3] = 0; } + bool IsValid() const { return (m_azcs[0] == 'A' && m_azcs[1] == 'Z' && m_azcs[2] == 'C' && m_azcs[3] == 'S'); } + void SetAZCS() { m_azcs[0] = 'A'; m_azcs[1] = 'Z'; m_azcs[2] = 'C'; m_azcs[3] = 'S'; } - inline bool IsValid() const { return (m_azcs[0] == 'A' && m_azcs[1] == 'Z' && m_azcs[2] == 'C' && m_azcs[3] == 'S'); } - void SetAZCS() { m_azcs[0] = 'A'; m_azcs[1] = 'Z'; m_azcs[2] = 'C'; m_azcs[3] = 'S'; } - - char m_azcs[4]; ///< String contains 'AZCS' AmaZon Compressed Stream - AZ::u32 m_compressorId; ///< Compression method. - AZ::u64 m_uncompressedSize; ///< Uncompressed file size. - }; - } // namespace IO -} // namespace AZ - -#endif // AZCORE_IO_COMPRESSOR_H -#pragma once + char m_azcs[4]; ///< String contains 'AZCS' AmaZon Compressed Stream + AZ::u32 m_compressorId; ///< Compression method. + AZ::u64 m_uncompressedSize; ///< Uncompressed file size. + }; +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/CompressorStream.cpp b/Code/Framework/AzCore/AzCore/IO/CompressorStream.cpp index 6f82cc428d..a1012ee404 100644 --- a/Code/Framework/AzCore/AzCore/IO/CompressorStream.cpp +++ b/Code/Framework/AzCore/AzCore/IO/CompressorStream.cpp @@ -15,9 +15,7 @@ #include #include -namespace AZ -{ -namespace IO +namespace AZ::IO { /*! \brief Constructs a compressor stream using the supplied filename and OpenFlags to open a file on disk @@ -300,7 +298,4 @@ Compressor* CompressorStream::CreateCompressor(AZ::u32 compressorId) return m_compressor.get(); } -} // namespace IO -} // namespace AZ - - +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/CompressorZLib.cpp b/Code/Framework/AzCore/AzCore/IO/CompressorZLib.cpp index f973c0e95a..03a218dbfe 100644 --- a/Code/Framework/AzCore/AzCore/IO/CompressorZLib.cpp +++ b/Code/Framework/AzCore/AzCore/IO/CompressorZLib.cpp @@ -13,543 +13,540 @@ #include #include -namespace AZ +namespace AZ::IO { - namespace IO + //========================================================================= + // CompressorZLib + // [12/13/2012] + //========================================================================= + CompressorZLib::CompressorZLib(unsigned int decompressionCachePerStream, unsigned int dataBufferSize) + : m_lastReadStream(nullptr) + , m_lastReadStreamOffset(0) + , m_lastReadStreamSize(0) + , m_compressedDataBuffer(nullptr) + , m_compressedDataBufferSize(dataBufferSize) + , m_compressedDataBufferUseCount(0) + , m_decompressionCachePerStream(decompressionCachePerStream) + { - //========================================================================= - // CompressorZLib - // [12/13/2012] - //========================================================================= - CompressorZLib::CompressorZLib(unsigned int decompressionCachePerStream, unsigned int dataBufferSize) - : m_lastReadStream(nullptr) - , m_lastReadStreamOffset(0) - , m_lastReadStreamSize(0) - , m_compressedDataBuffer(nullptr) - , m_compressedDataBufferSize(dataBufferSize) - , m_compressedDataBufferUseCount(0) - , m_decompressionCachePerStream(decompressionCachePerStream) + AZ_Assert((dataBufferSize % (32 * 1024)) == 0, "Data buffer size %d must be multiple of 32 KB!", dataBufferSize); + AZ_Assert((decompressionCachePerStream % (32 * 1024)) == 0, "Decompress cache size %d must be multiple of 32 KB!", decompressionCachePerStream); + } + //========================================================================= + // !CompressorZLib + // [12/13/2012] + //========================================================================= + CompressorZLib::~CompressorZLib() + { + AZ_Warning("IO", m_compressedDataBufferUseCount == 0, "CompressorZLib has it's data buffer still referenced, it means that %d compressed streams have NOT closed! Freeing data...", m_compressedDataBufferUseCount); + while (m_compressedDataBufferUseCount) { - AZ_Assert((dataBufferSize % (32 * 1024)) == 0, "Data buffer size %d must be multiple of 32 KB!", dataBufferSize); - AZ_Assert((decompressionCachePerStream % (32 * 1024)) == 0, "Decompress cache size %d must be multiple of 32 KB!", decompressionCachePerStream); + ReleaseDataBuffer(); } + } - //========================================================================= - // !CompressorZLib - // [12/13/2012] - //========================================================================= - CompressorZLib::~CompressorZLib() + //========================================================================= + // GetTypeId + // [12/13/2012] + //========================================================================= + AZ::u32 CompressorZLib::TypeId() + { + return AZ_CRC("ZLib", 0x73887d3a); + } + + //========================================================================= + // ReadHeaderAndData + // [12/13/2012] + //========================================================================= + bool CompressorZLib::ReadHeaderAndData(CompressorStream* stream, AZ::u8* data, unsigned int dataSize) + { + if (stream->GetCompressorData() != nullptr) // we already have compressor data { - AZ_Warning("IO", m_compressedDataBufferUseCount == 0, "CompressorZLib has it's data buffer still referenced, it means that %d compressed streams have NOT closed! Freeing data...", m_compressedDataBufferUseCount); - while (m_compressedDataBufferUseCount) - { - ReleaseDataBuffer(); - } - } - - //========================================================================= - // GetTypeId - // [12/13/2012] - //========================================================================= - AZ::u32 CompressorZLib::TypeId() - { - return AZ_CRC("ZLib", 0x73887d3a); - } - - //========================================================================= - // ReadHeaderAndData - // [12/13/2012] - //========================================================================= - bool CompressorZLib::ReadHeaderAndData(CompressorStream* stream, AZ::u8* data, unsigned int dataSize) - { - if (stream->GetCompressorData() != nullptr) // we already have compressor data - { - return false; - } - - // Read the ZLib header should be after the default compression header... - // We should not be in this function otherwise. - if (dataSize < sizeof(CompressorZLibHeader) + sizeof(ZLib::Header)) - { - AZ_Assert(false, "We did not read enough data, we have only %d bytes left in the buffer and we need %d!", dataSize, sizeof(CompressorZLibHeader) + sizeof(ZLib::Header)); - return false; - } - - AcquireDataBuffer(); - - CompressorZLibHeader* hdr = reinterpret_cast(data); - AZStd::endian_swap(hdr->m_numSeekPoints); - dataSize -= sizeof(CompressorZLibHeader); - data += sizeof(CompressorZLibHeader); - - CompressorZLibData* zlibData = aznew CompressorZLibData; - zlibData->m_compressor = this; - zlibData->m_uncompressedSize = 0; - zlibData->m_zlibHeader = *reinterpret_cast(data); - dataSize -= sizeof(zlibData->m_zlibHeader); - data += sizeof(zlibData->m_zlibHeader); - zlibData->m_decompressNextOffset = sizeof(CompressorHeader) + sizeof(CompressorZLibHeader) + sizeof(ZLib::Header); // start after the headers - - AZ_Assert(hdr->m_numSeekPoints > 0, "We should have at least one seek point for the entire stream!"); - - // go the end of the file and read all sync points. - SizeType compressedFileEnd = stream->GetLength(); - if (compressedFileEnd == 0) - { - delete zlibData; - return false; - } - - zlibData->m_seekPoints.resize(hdr->m_numSeekPoints); - SizeType dataToRead = sizeof(CompressorZLibSeekPoint) * static_cast(hdr->m_numSeekPoints); - SizeType seekPointOffset = compressedFileEnd - dataToRead; - AZ_Assert(seekPointOffset <= compressedFileEnd, "We have an invalid archive, this is impossible!"); - GenericStream* baseStream = stream->GetWrappedStream(); - if (baseStream->ReadAtOffset(dataToRead, zlibData->m_seekPoints.data(), seekPointOffset) != dataToRead) - { - delete zlibData; - return false; - } - for (size_t i = 0; i < zlibData->m_seekPoints.size(); ++i) - { - AZStd::endian_swap(zlibData->m_seekPoints[i].m_compressedOffset); - AZStd::endian_swap(zlibData->m_seekPoints[i].m_uncompressedOffset); - } - - if (m_decompressionCachePerStream) - { - zlibData->m_decompressedCache = reinterpret_cast(azmalloc(m_decompressionCachePerStream, m_CompressedDataBufferAlignment, AZ::SystemAllocator, "CompressorZLib")); - } - - zlibData->m_decompressLastOffset = seekPointOffset; // set the start address of the seek points as the last valid read address for the compressed stream. - - zlibData->m_zlib.StartDecompressor(&zlibData->m_zlibHeader); - - stream->SetCompressorData(zlibData); - - return true; - } - - //========================================================================= - // WriteHeaderAndData - // [12/13/2012] - //========================================================================= - bool CompressorZLib::WriteHeaderAndData(CompressorStream* stream) - { - if (!Compressor::WriteHeaderAndData(stream)) - { - return false; - } - - CompressorZLibData* compressorData = static_cast(stream->GetCompressorData()); - CompressorZLibHeader header; - header.m_numSeekPoints = static_cast(compressorData->m_seekPoints.size()); - AZStd::endian_swap(header.m_numSeekPoints); - GenericStream* baseStream = stream->GetWrappedStream(); - if (baseStream->WriteAtOffset(sizeof(header), &header, sizeof(CompressorHeader)) == sizeof(header)) - { - return true; - } - return false; } - //========================================================================= - // FillFromDecompressCache - // [12/14/2012] - //========================================================================= - inline CompressorZLib::SizeType CompressorZLib::FillFromDecompressCache(CompressorZLibData* zlibData, void*& buffer, SizeType& byteSize, SizeType& offset) + // Read the ZLib header should be after the default compression header... + // We should not be in this function otherwise. + if (dataSize < sizeof(CompressorZLibHeader) + sizeof(ZLib::Header)) { - SizeType firstOffsetInCache = zlibData->m_decompressedCacheOffset; - SizeType lastOffsetInCache = firstOffsetInCache + zlibData->m_decompressedCacheDataSize; - SizeType firstDataOffset = offset; - SizeType lastDataOffset = offset + byteSize; - SizeType numCopied = 0; - if (firstOffsetInCache < lastDataOffset && lastOffsetInCache > firstDataOffset) // check if there is data in the cache - { - size_t copyOffsetStart = 0; - size_t copyOffsetEnd = zlibData->m_decompressedCacheDataSize; - - size_t bufferCopyOffset = 0; - - if (firstOffsetInCache < firstDataOffset) - { - copyOffsetStart = static_cast(firstDataOffset - firstOffsetInCache); - } - else - { - bufferCopyOffset = static_cast(firstOffsetInCache - firstDataOffset); - } - - if (lastOffsetInCache >= lastDataOffset) - { - copyOffsetEnd -= static_cast(lastOffsetInCache - lastDataOffset); - } - else if (bufferCopyOffset > 0) // the cache block is in the middle of the data, we can't use it (since we need to split buffer request into 2) - { - return 0; - } - - numCopied = copyOffsetEnd - copyOffsetStart; - memcpy(static_cast(buffer) + bufferCopyOffset, zlibData->m_decompressedCache + copyOffsetStart, static_cast(numCopied)); - - // adjust pointers and sizes - byteSize -= numCopied; - if (bufferCopyOffset == 0) - { - // copied in the start - buffer = reinterpret_cast(buffer) + numCopied; - offset += numCopied; - } - } - - return numCopied; + AZ_Assert(false, "We did not read enough data, we have only %d bytes left in the buffer and we need %d!", dataSize, sizeof(CompressorZLibHeader) + sizeof(ZLib::Header)); + return false; } - //========================================================================= - // FillFromCompressedCache - // [12/17/2012] - //========================================================================= - inline CompressorZLib::SizeType CompressorZLib::FillCompressedBuffer(CompressorStream* stream) + AcquireDataBuffer(); + + CompressorZLibHeader* hdr = reinterpret_cast(data); + AZStd::endian_swap(hdr->m_numSeekPoints); + dataSize -= sizeof(CompressorZLibHeader); + data += sizeof(CompressorZLibHeader); + + CompressorZLibData* zlibData = aznew CompressorZLibData; + zlibData->m_compressor = this; + zlibData->m_uncompressedSize = 0; + zlibData->m_zlibHeader = *reinterpret_cast(data); + dataSize -= sizeof(zlibData->m_zlibHeader); + data += sizeof(zlibData->m_zlibHeader); + zlibData->m_decompressNextOffset = sizeof(CompressorHeader) + sizeof(CompressorZLibHeader) + sizeof(ZLib::Header); // start after the headers + + AZ_Assert(hdr->m_numSeekPoints > 0, "We should have at least one seek point for the entire stream!"); + + // go the end of the file and read all sync points. + SizeType compressedFileEnd = stream->GetLength(); + if (compressedFileEnd == 0) { - CompressorZLibData* zlibData = static_cast(stream->GetCompressorData()); - SizeType dataFromBuffer = 0; - if (stream == m_lastReadStream) // if the buffer is filled with data from the current stream, try to reuse - { - if (zlibData->m_decompressNextOffset > m_lastReadStreamOffset) - { - SizeType offsetInCache = zlibData->m_decompressNextOffset - m_lastReadStreamOffset; - if (offsetInCache < m_lastReadStreamSize) // last check if there is data overlap - { - // copy the usable part at the start of the - SizeType toMove = m_lastReadStreamSize - offsetInCache; - memmove(m_compressedDataBuffer, &m_compressedDataBuffer[static_cast(offsetInCache)], static_cast(toMove)); - dataFromBuffer += toMove; - } - } - } - - SizeType toReadFromStream = m_compressedDataBufferSize - dataFromBuffer; - SizeType readOffset = zlibData->m_decompressNextOffset + dataFromBuffer; - if (readOffset + toReadFromStream > zlibData->m_decompressLastOffset) - { - // don't read pass the end - AZ_Assert(readOffset <= zlibData->m_decompressLastOffset, "Read offset should always be before the end of stream!"); - toReadFromStream = zlibData->m_decompressLastOffset - readOffset; - } - - SizeType numReadFromStream = 0; - if (toReadFromStream) // if we did not reuse the whole buffer, read some data from the stream - { - GenericStream* baseStream = stream->GetWrappedStream(); - numReadFromStream = baseStream->ReadAtOffset(toReadFromStream, &m_compressedDataBuffer[static_cast(dataFromBuffer)], readOffset); - } - - // update what's actually in the read data buffer. - m_lastReadStream = stream; - m_lastReadStreamOffset = zlibData->m_decompressNextOffset; - m_lastReadStreamSize = dataFromBuffer + numReadFromStream; - return m_lastReadStreamSize; + delete zlibData; + return false; } - /** - * Helper class to find the best seek point for a specific offset. - */ - struct CompareUpper + zlibData->m_seekPoints.resize(hdr->m_numSeekPoints); + SizeType dataToRead = sizeof(CompressorZLibSeekPoint) * static_cast(hdr->m_numSeekPoints); + SizeType seekPointOffset = compressedFileEnd - dataToRead; + AZ_Assert(seekPointOffset <= compressedFileEnd, "We have an invalid archive, this is impossible!"); + GenericStream* baseStream = stream->GetWrappedStream(); + if (baseStream->ReadAtOffset(dataToRead, zlibData->m_seekPoints.data(), seekPointOffset) != dataToRead) { - inline bool operator()(const AZ::u64& offset, const CompressorZLibSeekPoint& sp) const {return offset < sp.m_uncompressedOffset; } - }; - - //========================================================================= - // Read - // [12/13/2012] - //========================================================================= - CompressorZLib::SizeType CompressorZLib::Read(CompressorStream* stream, SizeType byteSize, SizeType offset, void* buffer) + delete zlibData; + return false; + } + for (size_t i = 0; i < zlibData->m_seekPoints.size(); ++i) { - AZ_Assert(stream->GetCompressorData(), "This stream doesn't have decompression enabled!"); - CompressorZLibData* zlibData = static_cast(stream->GetCompressorData()); - AZ_Assert(!zlibData->m_zlib.IsCompressorStarted(), "You can't read/decompress while writing a compressed stream %s!"); + AZStd::endian_swap(zlibData->m_seekPoints[i].m_compressedOffset); + AZStd::endian_swap(zlibData->m_seekPoints[i].m_uncompressedOffset); + } - // check if the request can be finished from the decompressed cache - SizeType numRead = FillFromDecompressCache(zlibData, buffer, byteSize, offset); - if (byteSize == 0) // are we done + if (m_decompressionCachePerStream) + { + zlibData->m_decompressedCache = reinterpret_cast(azmalloc(m_decompressionCachePerStream, m_CompressedDataBufferAlignment, AZ::SystemAllocator, "CompressorZLib")); + } + + zlibData->m_decompressLastOffset = seekPointOffset; // set the start address of the seek points as the last valid read address for the compressed stream. + + zlibData->m_zlib.StartDecompressor(&zlibData->m_zlibHeader); + + stream->SetCompressorData(zlibData); + + return true; + } + + //========================================================================= + // WriteHeaderAndData + // [12/13/2012] + //========================================================================= + bool CompressorZLib::WriteHeaderAndData(CompressorStream* stream) + { + if (!Compressor::WriteHeaderAndData(stream)) + { + return false; + } + + CompressorZLibData* compressorData = static_cast(stream->GetCompressorData()); + CompressorZLibHeader header; + header.m_numSeekPoints = static_cast(compressorData->m_seekPoints.size()); + AZStd::endian_swap(header.m_numSeekPoints); + GenericStream* baseStream = stream->GetWrappedStream(); + if (baseStream->WriteAtOffset(sizeof(header), &header, sizeof(CompressorHeader)) == sizeof(header)) + { + return true; + } + + return false; + } + + //========================================================================= + // FillFromDecompressCache + // [12/14/2012] + //========================================================================= + inline CompressorZLib::SizeType CompressorZLib::FillFromDecompressCache(CompressorZLibData* zlibData, void*& buffer, SizeType& byteSize, SizeType& offset) + { + SizeType firstOffsetInCache = zlibData->m_decompressedCacheOffset; + SizeType lastOffsetInCache = firstOffsetInCache + zlibData->m_decompressedCacheDataSize; + SizeType firstDataOffset = offset; + SizeType lastDataOffset = offset + byteSize; + SizeType numCopied = 0; + if (firstOffsetInCache < lastDataOffset && lastOffsetInCache > firstDataOffset) // check if there is data in the cache + { + size_t copyOffsetStart = 0; + size_t copyOffsetEnd = zlibData->m_decompressedCacheDataSize; + + size_t bufferCopyOffset = 0; + + if (firstOffsetInCache < firstDataOffset) { - return numRead; + copyOffsetStart = static_cast(firstDataOffset - firstOffsetInCache); + } + else + { + bufferCopyOffset = static_cast(firstOffsetInCache - firstDataOffset); } - // find the best seek point for current offset - CompressorZLibData::SeekPointArray::iterator it = AZStd::upper_bound(zlibData->m_seekPoints.begin(), zlibData->m_seekPoints.end(), offset, CompareUpper()); - AZ_Assert(it != zlibData->m_seekPoints.begin(), "This should be impossible, we should always have a valid seek point at 0 offset!"); - const CompressorZLibSeekPoint& bestSeekPoint = *(--it); // get the previous (so it includes the current offset) - - // if read is continuous continue with decompression - bool isJumpToSeekPoint = false; - SizeType lastOffsetInCache = zlibData->m_decompressedCacheOffset + zlibData->m_decompressedCacheDataSize; - if (bestSeekPoint.m_uncompressedOffset > lastOffsetInCache) // if the best seek point is forward, jump forward to it. + if (lastOffsetInCache >= lastDataOffset) { - isJumpToSeekPoint = true; + copyOffsetEnd -= static_cast(lastOffsetInCache - lastDataOffset); } - else if (offset < lastOffsetInCache) // if the seek point is in the past and the requested offset is not in the cache jump back to it. + else if (bufferCopyOffset > 0) // the cache block is in the middle of the data, we can't use it (since we need to split buffer request into 2) { - isJumpToSeekPoint = true; + return 0; } - if (isJumpToSeekPoint) - { - zlibData->m_decompressNextOffset = bestSeekPoint.m_compressedOffset; // set next read point - zlibData->m_decompressedCacheOffset = bestSeekPoint.m_uncompressedOffset; // set uncompressed offset - zlibData->m_decompressedCacheDataSize = 0; // invalidate the cache - zlibData->m_zlib.ResetDecompressor(&zlibData->m_zlibHeader); // reset decompressor and setup the header. - } + numCopied = copyOffsetEnd - copyOffsetStart; + memcpy(static_cast(buffer) + bufferCopyOffset, zlibData->m_decompressedCache + copyOffsetStart, static_cast(numCopied)); - // decompress and move forward until the request is done - while (byteSize > 0) + // adjust pointers and sizes + byteSize -= numCopied; + if (bufferCopyOffset == 0) { - // fill buffer with compressed data - SizeType compressedDataSize = FillCompressedBuffer(stream); - if (compressedDataSize == 0) + // copied in the start + buffer = reinterpret_cast(buffer) + numCopied; + offset += numCopied; + } + } + + return numCopied; + } + + //========================================================================= + // FillFromCompressedCache + // [12/17/2012] + //========================================================================= + inline CompressorZLib::SizeType CompressorZLib::FillCompressedBuffer(CompressorStream* stream) + { + CompressorZLibData* zlibData = static_cast(stream->GetCompressorData()); + SizeType dataFromBuffer = 0; + if (stream == m_lastReadStream) // if the buffer is filled with data from the current stream, try to reuse + { + if (zlibData->m_decompressNextOffset > m_lastReadStreamOffset) + { + SizeType offsetInCache = zlibData->m_decompressNextOffset - m_lastReadStreamOffset; + if (offsetInCache < m_lastReadStreamSize) // last check if there is data overlap { - return numRead; // we are done reading and obviously we did not managed to read all data + // copy the usable part at the start of the + SizeType toMove = m_lastReadStreamSize - offsetInCache; + memmove(m_compressedDataBuffer, &m_compressedDataBuffer[static_cast(offsetInCache)], static_cast(toMove)); + dataFromBuffer += toMove; } - unsigned int processedCompressedData = 0; - while (byteSize > 0 && processedCompressedData < compressedDataSize) // decompressed data either until we are done with the request (byteSize == 0) or we need to fill the compression buffer again. - { - // if we have data in the cache move to the next offset, we always move forward by default. - zlibData->m_decompressedCacheOffset += zlibData->m_decompressedCacheDataSize; - - // decompress in the cache buffer - u32 availDecompressedCacheSize = m_decompressionCachePerStream; // reset buffer size - unsigned int processed = zlibData->m_zlib.Decompress(&m_compressedDataBuffer[processedCompressedData], static_cast(compressedDataSize) - processedCompressedData, zlibData->m_decompressedCache, availDecompressedCacheSize); - zlibData->m_decompressedCacheDataSize = m_decompressionCachePerStream - availDecompressedCacheSize; - if (processed == 0) - { - break; // we processed everything we could, load more compressed data. - } - processedCompressedData += processed; - // fill what we can from the cache - numRead += FillFromDecompressCache(zlibData, buffer, byteSize, offset); - } - // update next read position the the compressed stream - zlibData->m_decompressNextOffset += processedCompressedData; } + } + + SizeType toReadFromStream = m_compressedDataBufferSize - dataFromBuffer; + SizeType readOffset = zlibData->m_decompressNextOffset + dataFromBuffer; + if (readOffset + toReadFromStream > zlibData->m_decompressLastOffset) + { + // don't read pass the end + AZ_Assert(readOffset <= zlibData->m_decompressLastOffset, "Read offset should always be before the end of stream!"); + toReadFromStream = zlibData->m_decompressLastOffset - readOffset; + } + + SizeType numReadFromStream = 0; + if (toReadFromStream) // if we did not reuse the whole buffer, read some data from the stream + { + GenericStream* baseStream = stream->GetWrappedStream(); + numReadFromStream = baseStream->ReadAtOffset(toReadFromStream, &m_compressedDataBuffer[static_cast(dataFromBuffer)], readOffset); + } + + // update what's actually in the read data buffer. + m_lastReadStream = stream; + m_lastReadStreamOffset = zlibData->m_decompressNextOffset; + m_lastReadStreamSize = dataFromBuffer + numReadFromStream; + return m_lastReadStreamSize; + } + + /** + * Helper class to find the best seek point for a specific offset. + */ + struct CompareUpper + { + inline bool operator()(const AZ::u64& offset, const CompressorZLibSeekPoint& sp) const {return offset < sp.m_uncompressedOffset; } + }; + + //========================================================================= + // Read + // [12/13/2012] + //========================================================================= + CompressorZLib::SizeType CompressorZLib::Read(CompressorStream* stream, SizeType byteSize, SizeType offset, void* buffer) + { + AZ_Assert(stream->GetCompressorData(), "This stream doesn't have decompression enabled!"); + CompressorZLibData* zlibData = static_cast(stream->GetCompressorData()); + AZ_Assert(!zlibData->m_zlib.IsCompressorStarted(), "You can't read/decompress while writing a compressed stream %s!"); + + // check if the request can be finished from the decompressed cache + SizeType numRead = FillFromDecompressCache(zlibData, buffer, byteSize, offset); + if (byteSize == 0) // are we done + { return numRead; } - //========================================================================= - // Write - // [12/13/2012] - //========================================================================= - CompressorZLib::SizeType CompressorZLib::Write(CompressorStream* stream, SizeType byteSize, const void* data, SizeType offset) + // find the best seek point for current offset + CompressorZLibData::SeekPointArray::iterator it = AZStd::upper_bound(zlibData->m_seekPoints.begin(), zlibData->m_seekPoints.end(), offset, CompareUpper()); + AZ_Assert(it != zlibData->m_seekPoints.begin(), "This should be impossible, we should always have a valid seek point at 0 offset!"); + const CompressorZLibSeekPoint& bestSeekPoint = *(--it); // get the previous (so it includes the current offset) + + // if read is continuous continue with decompression + bool isJumpToSeekPoint = false; + SizeType lastOffsetInCache = zlibData->m_decompressedCacheOffset + zlibData->m_decompressedCacheDataSize; + if (bestSeekPoint.m_uncompressedOffset > lastOffsetInCache) // if the best seek point is forward, jump forward to it. { - (void)offset; + isJumpToSeekPoint = true; + } + else if (offset < lastOffsetInCache) // if the seek point is in the past and the requested offset is not in the cache jump back to it. + { + isJumpToSeekPoint = true; + } - AZ_Assert(stream && stream->GetCompressorData(), "This stream doesn't have compression enabled! Call Stream::WriteCompressed after you create the file!"); - AZ_Assert(offset == SizeType(-1) || offset == stream->GetCurPos(), "We can write compressed data only at the end of the stream!"); + if (isJumpToSeekPoint) + { + zlibData->m_decompressNextOffset = bestSeekPoint.m_compressedOffset; // set next read point + zlibData->m_decompressedCacheOffset = bestSeekPoint.m_uncompressedOffset; // set uncompressed offset + zlibData->m_decompressedCacheDataSize = 0; // invalidate the cache + zlibData->m_zlib.ResetDecompressor(&zlibData->m_zlibHeader); // reset decompressor and setup the header. + } - m_lastReadStream = nullptr; // invalidate last read position, otherwise m_dataBuffer will be corrupted (as we are about to write in it). - - CompressorZLibData* zlibData = static_cast(stream->GetCompressorData()); - AZ_Assert(!zlibData->m_zlib.IsDecompressorStarted(), "You can't write while reading/decompressing a compressed stream!"); - - const u8* bytes = reinterpret_cast(data); - unsigned int dataToCompress = static_cast(byteSize); - while (dataToCompress != 0) + // decompress and move forward until the request is done + while (byteSize > 0) + { + // fill buffer with compressed data + SizeType compressedDataSize = FillCompressedBuffer(stream); + if (compressedDataSize == 0) { - unsigned int oldDataToCompress = dataToCompress; - unsigned int compressedSize = zlibData->m_zlib.Compress(bytes, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize); - if (compressedSize) - { - GenericStream* baseStream = stream->GetWrappedStream(); - SizeType numWritten = baseStream->Write(compressedSize, m_compressedDataBuffer); - if (numWritten != compressedSize) - { - return numWritten; // error we could not write all data - } - } - bytes += oldDataToCompress - dataToCompress; + return numRead; // we are done reading and obviously we did not managed to read all data } - zlibData->m_uncompressedSize += byteSize; - - if (zlibData->m_autoSeekSize > 0) + unsigned int processedCompressedData = 0; + while (byteSize > 0 && processedCompressedData < compressedDataSize) // decompressed data either until we are done with the request (byteSize == 0) or we need to fill the compression buffer again. { - // insert a seek point if needed. - if (zlibData->m_seekPoints.empty()) + // if we have data in the cache move to the next offset, we always move forward by default. + zlibData->m_decompressedCacheOffset += zlibData->m_decompressedCacheDataSize; + + // decompress in the cache buffer + u32 availDecompressedCacheSize = m_decompressionCachePerStream; // reset buffer size + unsigned int processed = zlibData->m_zlib.Decompress(&m_compressedDataBuffer[processedCompressedData], static_cast(compressedDataSize) - processedCompressedData, zlibData->m_decompressedCache, availDecompressedCacheSize); + zlibData->m_decompressedCacheDataSize = m_decompressionCachePerStream - availDecompressedCacheSize; + if (processed == 0) { - if (zlibData->m_uncompressedSize >= zlibData->m_autoSeekSize) - { - WriteSeekPoint(stream); - } + break; // we processed everything we could, load more compressed data. } - else if ((zlibData->m_uncompressedSize - zlibData->m_seekPoints.back().m_uncompressedOffset) > zlibData->m_autoSeekSize) + processedCompressedData += processed; + // fill what we can from the cache + numRead += FillFromDecompressCache(zlibData, buffer, byteSize, offset); + } + // update next read position the the compressed stream + zlibData->m_decompressNextOffset += processedCompressedData; + } + return numRead; + } + + //========================================================================= + // Write + // [12/13/2012] + //========================================================================= + CompressorZLib::SizeType CompressorZLib::Write(CompressorStream* stream, SizeType byteSize, const void* data, SizeType offset) + { + (void)offset; + + AZ_Assert(stream && stream->GetCompressorData(), "This stream doesn't have compression enabled! Call Stream::WriteCompressed after you create the file!"); + AZ_Assert(offset == SizeType(-1) || offset == stream->GetCurPos(), "We can write compressed data only at the end of the stream!"); + + m_lastReadStream = nullptr; // invalidate last read position, otherwise m_dataBuffer will be corrupted (as we are about to write in it). + + CompressorZLibData* zlibData = static_cast(stream->GetCompressorData()); + AZ_Assert(!zlibData->m_zlib.IsDecompressorStarted(), "You can't write while reading/decompressing a compressed stream!"); + + const u8* bytes = reinterpret_cast(data); + unsigned int dataToCompress = static_cast(byteSize); + while (dataToCompress != 0) + { + unsigned int oldDataToCompress = dataToCompress; + unsigned int compressedSize = zlibData->m_zlib.Compress(bytes, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize); + if (compressedSize) + { + GenericStream* baseStream = stream->GetWrappedStream(); + SizeType numWritten = baseStream->Write(compressedSize, m_compressedDataBuffer); + if (numWritten != compressedSize) + { + return numWritten; // error we could not write all data + } + } + bytes += oldDataToCompress - dataToCompress; + } + zlibData->m_uncompressedSize += byteSize; + + if (zlibData->m_autoSeekSize > 0) + { + // insert a seek point if needed. + if (zlibData->m_seekPoints.empty()) + { + if (zlibData->m_uncompressedSize >= zlibData->m_autoSeekSize) { WriteSeekPoint(stream); } } - return byteSize; + else if ((zlibData->m_uncompressedSize - zlibData->m_seekPoints.back().m_uncompressedOffset) > zlibData->m_autoSeekSize) + { + WriteSeekPoint(stream); + } } + return byteSize; + } - //========================================================================= - // WriteSeekPoint - // [12/13/2012] - //========================================================================= - bool CompressorZLib::WriteSeekPoint(CompressorStream* stream) + //========================================================================= + // WriteSeekPoint + // [12/13/2012] + //========================================================================= + bool CompressorZLib::WriteSeekPoint(CompressorStream* stream) + { + AZ_Assert(stream && stream->GetCompressorData(), "This stream doesn't have compression enabled! Call Stream::WriteCompressed after you create the file!"); + CompressorZLibData* zlibData = static_cast(stream->GetCompressorData()); + + m_lastReadStream = nullptr; // invalidate last read position, otherwise m_dataBuffer will be corrupted (as we are about to write in it). + + unsigned int compressedSize; + unsigned int dataToCompress = 0; + do { - AZ_Assert(stream && stream->GetCompressorData(), "This stream doesn't have compression enabled! Call Stream::WriteCompressed after you create the file!"); - CompressorZLibData* zlibData = static_cast(stream->GetCompressorData()); + compressedSize = zlibData->m_zlib.Compress(nullptr, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize, ZLib::FT_FULL_FLUSH); + if (compressedSize) + { + GenericStream* baseStream = stream->GetWrappedStream(); + SizeType numWritten = baseStream->Write(compressedSize, m_compressedDataBuffer); + if (numWritten != compressedSize) + { + return false; // error we wrote less than than requested! + } + } + } while (dataToCompress != 0); + CompressorZLibSeekPoint sp; + sp.m_compressedOffset = stream->GetLength(); + sp.m_uncompressedOffset = zlibData->m_uncompressedSize; + zlibData->m_seekPoints.push_back(sp); + return true; + } + + //========================================================================= + // StartCompressor + // [12/13/2012] + //========================================================================= + bool CompressorZLib::StartCompressor(CompressorStream* stream, int compressionLevel, SizeType autoSeekDataSize) + { + AZ_Assert(stream && stream->GetCompressorData() == nullptr, "Stream has compressor already enabled!"); + + AcquireDataBuffer(); + + CompressorZLibData* zlibData = aznew CompressorZLibData; + zlibData->m_compressor = this; + zlibData->m_zlibHeader = 0; // not used for compression + zlibData->m_uncompressedSize = 0; + zlibData->m_autoSeekSize = autoSeekDataSize; + compressionLevel = AZ::GetClamp(compressionLevel, 1, 9); // remap to zlib levels + + zlibData->m_zlib.StartCompressor(compressionLevel); + + stream->SetCompressorData(zlibData); + + if (WriteHeaderAndData(stream)) + { + // add the first and always present seek point at the start of the compressed stream + CompressorZLibSeekPoint sp; + sp.m_compressedOffset = sizeof(CompressorHeader) + sizeof(CompressorZLibHeader) + sizeof(zlibData->m_zlibHeader); + sp.m_uncompressedOffset = 0; + zlibData->m_seekPoints.push_back(sp); + return true; + } + return false; + } + + //========================================================================= + // Close + // [12/13/2012] + //========================================================================= + bool CompressorZLib::Close(CompressorStream* stream) + { + AZ_Assert(stream->IsOpen(), "Stream is not open to be closed!"); + + CompressorZLibData* zlibData = static_cast(stream->GetCompressorData()); + GenericStream* baseStream = stream->GetWrappedStream(); + + bool result = true; + if (zlibData->m_zlib.IsCompressorStarted()) + { m_lastReadStream = nullptr; // invalidate last read position, otherwise m_dataBuffer will be corrupted (as we are about to write in it). + // flush all compressed data unsigned int compressedSize; unsigned int dataToCompress = 0; do { - compressedSize = zlibData->m_zlib.Compress(nullptr, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize, ZLib::FT_FULL_FLUSH); + compressedSize = zlibData->m_zlib.Compress(nullptr, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize, ZLib::FT_FINISH); if (compressedSize) { - GenericStream* baseStream = stream->GetWrappedStream(); - SizeType numWritten = baseStream->Write(compressedSize, m_compressedDataBuffer); - if (numWritten != compressedSize) - { - return false; // error we wrote less than than requested! - } + baseStream->Write(compressedSize, m_compressedDataBuffer); } } while (dataToCompress != 0); - CompressorZLibSeekPoint sp; - sp.m_compressedOffset = stream->GetLength(); - sp.m_uncompressedOffset = zlibData->m_uncompressedSize; - zlibData->m_seekPoints.push_back(sp); - return true; - } - - //========================================================================= - // StartCompressor - // [12/13/2012] - //========================================================================= - bool CompressorZLib::StartCompressor(CompressorStream* stream, int compressionLevel, SizeType autoSeekDataSize) - { - AZ_Assert(stream && stream->GetCompressorData() == nullptr, "Stream has compressor already enabled!"); - - AcquireDataBuffer(); - - CompressorZLibData* zlibData = aznew CompressorZLibData; - zlibData->m_compressor = this; - zlibData->m_zlibHeader = 0; // not used for compression - zlibData->m_uncompressedSize = 0; - zlibData->m_autoSeekSize = autoSeekDataSize; - compressionLevel = AZ::GetClamp(compressionLevel, 1, 9); // remap to zlib levels - - zlibData->m_zlib.StartCompressor(compressionLevel); - - stream->SetCompressorData(zlibData); - - if (WriteHeaderAndData(stream)) + result = WriteHeaderAndData(stream); + if (result) { - // add the first and always present seek point at the start of the compressed stream - CompressorZLibSeekPoint sp; - sp.m_compressedOffset = sizeof(CompressorHeader) + sizeof(CompressorZLibHeader) + sizeof(zlibData->m_zlibHeader); - sp.m_uncompressedOffset = 0; - zlibData->m_seekPoints.push_back(sp); - return true; - } - return false; - } - - //========================================================================= - // Close - // [12/13/2012] - //========================================================================= - bool CompressorZLib::Close(CompressorStream* stream) - { - AZ_Assert(stream->IsOpen(), "Stream is not open to be closed!"); - - CompressorZLibData* zlibData = static_cast(stream->GetCompressorData()); - GenericStream* baseStream = stream->GetWrappedStream(); - - bool result = true; - if (zlibData->m_zlib.IsCompressorStarted()) - { - m_lastReadStream = nullptr; // invalidate last read position, otherwise m_dataBuffer will be corrupted (as we are about to write in it). - - // flush all compressed data - unsigned int compressedSize; - unsigned int dataToCompress = 0; - do + // now write the seek points and the end of the file + for (size_t i = 0; i < zlibData->m_seekPoints.size(); ++i) { - compressedSize = zlibData->m_zlib.Compress(nullptr, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize, ZLib::FT_FINISH); - if (compressedSize) - { - baseStream->Write(compressedSize, m_compressedDataBuffer); - } - } while (dataToCompress != 0); - - result = WriteHeaderAndData(stream); - if (result) - { - // now write the seek points and the end of the file - for (size_t i = 0; i < zlibData->m_seekPoints.size(); ++i) - { - AZStd::endian_swap(zlibData->m_seekPoints[i].m_compressedOffset); - AZStd::endian_swap(zlibData->m_seekPoints[i].m_uncompressedOffset); - } - SizeType dataToWrite = zlibData->m_seekPoints.size() * sizeof(CompressorZLibSeekPoint); - baseStream->Seek(0U, GenericStream::SeekMode::ST_SEEK_END); - result = (baseStream->Write(dataToWrite, zlibData->m_seekPoints.data()) == dataToWrite); + AZStd::endian_swap(zlibData->m_seekPoints[i].m_compressedOffset); + AZStd::endian_swap(zlibData->m_seekPoints[i].m_uncompressedOffset); } + SizeType dataToWrite = zlibData->m_seekPoints.size() * sizeof(CompressorZLibSeekPoint); + baseStream->Seek(0U, GenericStream::SeekMode::ST_SEEK_END); + result = (baseStream->Write(dataToWrite, zlibData->m_seekPoints.data()) == dataToWrite); } - else - { - if (m_lastReadStream == stream) - { - m_lastReadStream = nullptr; // invalidate the data in m_dataBuffer if it was from the current stream. - } - } - - // if we have decompressor cache delete it - if (zlibData->m_decompressedCache) - { - azfree(zlibData->m_decompressedCache, AZ::SystemAllocator, m_decompressionCachePerStream, m_CompressedDataBufferAlignment); - } - - ReleaseDataBuffer(); - - // last step reset strream compressor data. - stream->SetCompressorData(nullptr); - return result; } - - //========================================================================= - // AcquireDataBuffer - // [2/27/2013] - //========================================================================= - void CompressorZLib::AcquireDataBuffer() + else { - if (m_compressedDataBuffer == nullptr) + if (m_lastReadStream == stream) { - AZ_Assert(m_compressedDataBufferUseCount == 0, "Buffer usecount should be 0 if the buffer is NULL"); - m_compressedDataBuffer = reinterpret_cast(azmalloc(m_compressedDataBufferSize, m_CompressedDataBufferAlignment, AZ::SystemAllocator, "CompressorZLib")); - m_lastReadStream = nullptr; // reset the cache info in the m_dataBuffer + m_lastReadStream = nullptr; // invalidate the data in m_dataBuffer if it was from the current stream. } - ++m_compressedDataBufferUseCount; } - //========================================================================= - // ReleaseDataBuffer - // [2/27/2013] - //========================================================================= - void CompressorZLib::ReleaseDataBuffer() + // if we have decompressor cache delete it + if (zlibData->m_decompressedCache) { - --m_compressedDataBufferUseCount; - if (m_compressedDataBufferUseCount == 0) - { - AZ_Assert(m_compressedDataBuffer != nullptr, "Invalid data buffer! We should have a non null pointer!"); - azfree(m_compressedDataBuffer, AZ::SystemAllocator, m_compressedDataBufferSize, m_CompressedDataBufferAlignment); - m_compressedDataBuffer = nullptr; - m_lastReadStream = nullptr; // reset the cache info in the m_dataBuffer - } + azfree(zlibData->m_decompressedCache, AZ::SystemAllocator, m_decompressionCachePerStream, m_CompressedDataBufferAlignment); } - } // namespace IO -} // namespace AZ + + ReleaseDataBuffer(); + + // last step reset strream compressor data. + stream->SetCompressorData(nullptr); + return result; + } + + //========================================================================= + // AcquireDataBuffer + // [2/27/2013] + //========================================================================= + void CompressorZLib::AcquireDataBuffer() + { + if (m_compressedDataBuffer == nullptr) + { + AZ_Assert(m_compressedDataBufferUseCount == 0, "Buffer usecount should be 0 if the buffer is NULL"); + m_compressedDataBuffer = reinterpret_cast(azmalloc(m_compressedDataBufferSize, m_CompressedDataBufferAlignment, AZ::SystemAllocator, "CompressorZLib")); + m_lastReadStream = nullptr; // reset the cache info in the m_dataBuffer + } + ++m_compressedDataBufferUseCount; + } + + //========================================================================= + // ReleaseDataBuffer + // [2/27/2013] + //========================================================================= + void CompressorZLib::ReleaseDataBuffer() + { + --m_compressedDataBufferUseCount; + if (m_compressedDataBufferUseCount == 0) + { + AZ_Assert(m_compressedDataBuffer != nullptr, "Invalid data buffer! We should have a non null pointer!"); + azfree(m_compressedDataBuffer, AZ::SystemAllocator, m_compressedDataBufferSize, m_CompressedDataBufferAlignment); + m_compressedDataBuffer = nullptr; + m_lastReadStream = nullptr; // reset the cache info in the m_dataBuffer + } + } +} // namespace AZ::IO #endif // #if !defined(AZCORE_EXCLUDE_ZLIB) diff --git a/Code/Framework/AzCore/AzCore/IO/CompressorZStd.cpp b/Code/Framework/AzCore/AzCore/IO/CompressorZStd.cpp index b1631d2d22..91f380d73b 100644 --- a/Code/Framework/AzCore/AzCore/IO/CompressorZStd.cpp +++ b/Code/Framework/AzCore/AzCore/IO/CompressorZStd.cpp @@ -14,478 +14,475 @@ #include #include -namespace AZ +namespace AZ::IO { - namespace IO + CompressorZStd::CompressorZStd(unsigned int decompressionCachePerStream, unsigned int dataBufferSize) + : m_compressedDataBufferSize(dataBufferSize) + , m_decompressionCachePerStream(decompressionCachePerStream) + { - CompressorZStd::CompressorZStd(unsigned int decompressionCachePerStream, unsigned int dataBufferSize) - : m_compressedDataBufferSize(dataBufferSize) - , m_decompressionCachePerStream(decompressionCachePerStream) + AZ_Assert((dataBufferSize % (32 * 1024)) == 0, "Data buffer size %d must be multiple of 32 KB.", dataBufferSize); + AZ_Assert((decompressionCachePerStream % (32 * 1024)) == 0, "Decompress cache size %d must be multiple of 32 KB.", decompressionCachePerStream); + } + CompressorZStd::~CompressorZStd() + { + AZ_Warning("IO", m_compressedDataBufferUseCount == 0, "CompressorZStd has it's data buffer still referenced, it means that %d compressed streams have NOT closed. Freeing data...", m_compressedDataBufferUseCount); + while (m_compressedDataBufferUseCount) { - AZ_Assert((dataBufferSize % (32 * 1024)) == 0, "Data buffer size %d must be multiple of 32 KB.", dataBufferSize); - AZ_Assert((decompressionCachePerStream % (32 * 1024)) == 0, "Decompress cache size %d must be multiple of 32 KB.", decompressionCachePerStream); + ReleaseDataBuffer(); } + } - CompressorZStd::~CompressorZStd() + AZ::u32 CompressorZStd::TypeId() + { + return AZ_CRC("ZStd", 0x72fd505e); + } + + bool CompressorZStd::ReadHeaderAndData(CompressorStream* stream, AZ::u8* data, unsigned int dataSize) + { + if (stream->GetCompressorData() != nullptr) // we already have compressor data { - AZ_Warning("IO", m_compressedDataBufferUseCount == 0, "CompressorZStd has it's data buffer still referenced, it means that %d compressed streams have NOT closed. Freeing data...", m_compressedDataBufferUseCount); - while (m_compressedDataBufferUseCount) - { - ReleaseDataBuffer(); - } - } - - AZ::u32 CompressorZStd::TypeId() - { - return AZ_CRC("ZStd", 0x72fd505e); - } - - bool CompressorZStd::ReadHeaderAndData(CompressorStream* stream, AZ::u8* data, unsigned int dataSize) - { - if (stream->GetCompressorData() != nullptr) // we already have compressor data - { - return false; - } - - // Read the ZStd header should be after the default compression header... - // We should not be in this function otherwise. - if (dataSize < sizeof(CompressorZStdHeader) + sizeof(ZStd::Header)) - { - AZ_Error("CompressorZStd", false, "We did not read enough data, we have only %d bytes left in the buffer and we need %d.", dataSize, sizeof(CompressorZStdHeader) + sizeof(ZStd::Header)); - return false; - } - - AcquireDataBuffer(); - - CompressorZStdHeader* hdr = reinterpret_cast(data); - dataSize -= sizeof(CompressorZStdHeader); - data += sizeof(CompressorZStdHeader); - - AZStd::unique_ptr zstdData = AZStd::make_unique(); - zstdData->m_compressor = this; - zstdData->m_uncompressedSize = 0; - zstdData->m_zstdHeader = *reinterpret_cast(data); - dataSize -= sizeof(zstdData->m_zstdHeader); - data += sizeof(zstdData->m_zstdHeader); - zstdData->m_decompressNextOffset = sizeof(CompressorHeader) + sizeof(CompressorZStdHeader) + sizeof(ZStd::Header); // start after the headers - - AZ_Error("CompressorZStd", hdr->m_numSeekPoints > 0, "We should have at least one seek point for the entire stream."); - - // go the end of the file and read all sync points. - SizeType compressedFileEnd = stream->GetLength(); - if (compressedFileEnd == 0) - { - return false; - } - - zstdData->m_seekPoints.resize(hdr->m_numSeekPoints); - SizeType dataToRead = sizeof(CompressorZStdSeekPoint) * static_cast(hdr->m_numSeekPoints); - SizeType seekPointOffset = compressedFileEnd - dataToRead; - - if (seekPointOffset > compressedFileEnd) - { - AZ_Error("CompressorZStd", false, "We have an invalid archive, this is impossible."); - return false; - } - - GenericStream* baseStream = stream->GetWrappedStream(); - if (baseStream->ReadAtOffset(dataToRead, zstdData->m_seekPoints.data(), seekPointOffset) != dataToRead) - { - return false; - } - - if (m_decompressionCachePerStream) - { - zstdData->m_decompressedCache = reinterpret_cast(azmalloc(m_decompressionCachePerStream, m_CompressedDataBufferAlignment, AZ::SystemAllocator, "CompressorZStd")); - } - - zstdData->m_decompressLastOffset = seekPointOffset; // set the start address of the seek points as the last valid read address for the compressed stream. - - zstdData->m_zstd.StartDecompressor(); - - stream->SetCompressorData(zstdData.release()); - - return true; - } - - bool CompressorZStd::WriteHeaderAndData(CompressorStream* stream) - { - if (!Compressor::WriteHeaderAndData(stream)) - { - return false; - } - - CompressorZStdData* compressorData = static_cast(stream->GetCompressorData()); - CompressorZStdHeader header; - header.m_numSeekPoints = aznumeric_caster(compressorData->m_seekPoints.size()); - GenericStream* baseStream = stream->GetWrappedStream(); - if (baseStream->WriteAtOffset(sizeof(header), &header, sizeof(CompressorHeader)) == sizeof(header)) - { - return true; - } - return false; } - inline CompressorZStd::SizeType CompressorZStd::FillFromDecompressCache(CompressorZStdData* zstdData, void*& buffer, SizeType& byteSize, SizeType& offset) + // Read the ZStd header should be after the default compression header... + // We should not be in this function otherwise. + if (dataSize < sizeof(CompressorZStdHeader) + sizeof(ZStd::Header)) { - SizeType firstOffsetInCache = zstdData->m_decompressedCacheOffset; - SizeType lastOffsetInCache = firstOffsetInCache + zstdData->m_decompressedCacheDataSize; - SizeType firstDataOffset = offset; - SizeType lastDataOffset = offset + byteSize; - SizeType numCopied = 0; - if (firstOffsetInCache < lastDataOffset && lastOffsetInCache >= firstDataOffset) // check if there is data in the cache - { - size_t copyOffsetStart = 0; - size_t copyOffsetEnd = zstdData->m_decompressedCacheDataSize; - - size_t bufferCopyOffset = 0; - - if (firstOffsetInCache < firstDataOffset) - { - copyOffsetStart = aznumeric_caster(firstDataOffset - firstOffsetInCache); - } - else - { - bufferCopyOffset = aznumeric_caster(firstOffsetInCache - firstDataOffset); - } - - if (lastOffsetInCache >= lastDataOffset) - { - copyOffsetEnd -= static_cast(lastOffsetInCache - lastDataOffset); - } - else if (bufferCopyOffset > 0) // the cache block is in the middle of the data, we can't use it (since we need to split buffer request into 2) - { - return 0; - } - - numCopied = copyOffsetEnd - copyOffsetStart; - memcpy(static_cast(buffer) + bufferCopyOffset, zstdData->m_decompressedCache + copyOffsetStart, static_cast(numCopied)); - - // adjust pointers and sizes - byteSize -= numCopied; - if (bufferCopyOffset == 0) - { - // copied in the start - buffer = reinterpret_cast(buffer) + numCopied; - offset += numCopied; - } - } - - return numCopied; + AZ_Error("CompressorZStd", false, "We did not read enough data, we have only %d bytes left in the buffer and we need %d.", dataSize, sizeof(CompressorZStdHeader) + sizeof(ZStd::Header)); + return false; } - inline CompressorZStd::SizeType CompressorZStd::FillCompressedBuffer(CompressorStream* stream) + AcquireDataBuffer(); + + CompressorZStdHeader* hdr = reinterpret_cast(data); + dataSize -= sizeof(CompressorZStdHeader); + data += sizeof(CompressorZStdHeader); + + AZStd::unique_ptr zstdData = AZStd::make_unique(); + zstdData->m_compressor = this; + zstdData->m_uncompressedSize = 0; + zstdData->m_zstdHeader = *reinterpret_cast(data); + dataSize -= sizeof(zstdData->m_zstdHeader); + data += sizeof(zstdData->m_zstdHeader); + zstdData->m_decompressNextOffset = sizeof(CompressorHeader) + sizeof(CompressorZStdHeader) + sizeof(ZStd::Header); // start after the headers + + AZ_Error("CompressorZStd", hdr->m_numSeekPoints > 0, "We should have at least one seek point for the entire stream."); + + // go the end of the file and read all sync points. + SizeType compressedFileEnd = stream->GetLength(); + if (compressedFileEnd == 0) { - CompressorZStdData* zstdData = static_cast(stream->GetCompressorData()); - SizeType dataFromBuffer = 0; - if (stream == m_lastReadStream) // if the buffer is filled with data from the current stream, try to reuse - { - if (zstdData->m_decompressNextOffset > m_lastReadStreamOffset) - { - SizeType offsetInCache = zstdData->m_decompressNextOffset - m_lastReadStreamOffset; - if (offsetInCache < m_lastReadStreamSize) // last check if there is data overlap - { - // copy the usable part at the start of the buffer - SizeType toMove = m_lastReadStreamSize - offsetInCache; - memcpy(m_compressedDataBuffer, &m_compressedDataBuffer[static_cast(offsetInCache)], static_cast(toMove)); - dataFromBuffer += toMove; - } - } - } - - SizeType toReadFromStream = m_compressedDataBufferSize - dataFromBuffer; - SizeType readOffset = zstdData->m_decompressNextOffset + dataFromBuffer; - if (readOffset + toReadFromStream > zstdData->m_decompressLastOffset) - { - // don't read past the end - AZ_Assert(readOffset <= zstdData->m_decompressLastOffset, "Read offset should always be before the end of stream."); - toReadFromStream = zstdData->m_decompressLastOffset - readOffset; - } - - SizeType numReadFromStream = 0; - if (toReadFromStream) // if we did not reuse the whole buffer, read some data from the stream - { - GenericStream* baseStream = stream->GetWrappedStream(); - numReadFromStream = baseStream->ReadAtOffset(toReadFromStream, &m_compressedDataBuffer[static_cast(dataFromBuffer)], readOffset); - } - - // update what's actually in the read data buffer. - m_lastReadStream = stream; - m_lastReadStreamOffset = zstdData->m_decompressNextOffset; - m_lastReadStreamSize = dataFromBuffer + numReadFromStream; - return m_lastReadStreamSize; + return false; } - struct ZStdCompareUpper + zstdData->m_seekPoints.resize(hdr->m_numSeekPoints); + SizeType dataToRead = sizeof(CompressorZStdSeekPoint) * static_cast(hdr->m_numSeekPoints); + SizeType seekPointOffset = compressedFileEnd - dataToRead; + + if (seekPointOffset > compressedFileEnd) { - bool operator()(const AZ::u64& offset, const CompressorZStdSeekPoint& sp) const - { - return offset < sp.m_uncompressedOffset; - } - }; + AZ_Error("CompressorZStd", false, "We have an invalid archive, this is impossible."); + return false; + } - CompressorZStd::SizeType CompressorZStd::Read(CompressorStream* stream, SizeType byteSize, SizeType offset, void* buffer) + GenericStream* baseStream = stream->GetWrappedStream(); + if (baseStream->ReadAtOffset(dataToRead, zstdData->m_seekPoints.data(), seekPointOffset) != dataToRead) { - AZ_Assert(stream->GetCompressorData(), "This stream doesn't have decompression enabled."); - CompressorZStdData* zstdData = static_cast(stream->GetCompressorData()); - AZ_Assert(!zstdData->m_zstd.IsCompressorStarted(), "You can't read/decompress while writing a compressed stream %s."); + return false; + } - // check if the request can be finished from the decompressed cache - SizeType numRead = FillFromDecompressCache(zstdData, buffer, byteSize, offset); - if (byteSize == 0) // are we done + if (m_decompressionCachePerStream) + { + zstdData->m_decompressedCache = reinterpret_cast(azmalloc(m_decompressionCachePerStream, m_CompressedDataBufferAlignment, AZ::SystemAllocator, "CompressorZStd")); + } + + zstdData->m_decompressLastOffset = seekPointOffset; // set the start address of the seek points as the last valid read address for the compressed stream. + + zstdData->m_zstd.StartDecompressor(); + + stream->SetCompressorData(zstdData.release()); + + return true; + } + + bool CompressorZStd::WriteHeaderAndData(CompressorStream* stream) + { + if (!Compressor::WriteHeaderAndData(stream)) + { + return false; + } + + CompressorZStdData* compressorData = static_cast(stream->GetCompressorData()); + CompressorZStdHeader header; + header.m_numSeekPoints = aznumeric_caster(compressorData->m_seekPoints.size()); + GenericStream* baseStream = stream->GetWrappedStream(); + if (baseStream->WriteAtOffset(sizeof(header), &header, sizeof(CompressorHeader)) == sizeof(header)) + { + return true; + } + + return false; + } + + inline CompressorZStd::SizeType CompressorZStd::FillFromDecompressCache(CompressorZStdData* zstdData, void*& buffer, SizeType& byteSize, SizeType& offset) + { + SizeType firstOffsetInCache = zstdData->m_decompressedCacheOffset; + SizeType lastOffsetInCache = firstOffsetInCache + zstdData->m_decompressedCacheDataSize; + SizeType firstDataOffset = offset; + SizeType lastDataOffset = offset + byteSize; + SizeType numCopied = 0; + if (firstOffsetInCache < lastDataOffset && lastOffsetInCache >= firstDataOffset) // check if there is data in the cache + { + size_t copyOffsetStart = 0; + size_t copyOffsetEnd = zstdData->m_decompressedCacheDataSize; + + size_t bufferCopyOffset = 0; + + if (firstOffsetInCache < firstDataOffset) { - return numRead; + copyOffsetStart = aznumeric_caster(firstDataOffset - firstOffsetInCache); + } + else + { + bufferCopyOffset = aznumeric_caster(firstOffsetInCache - firstDataOffset); } - // find the best seek point for current offset - CompressorZStdData::SeekPointArray::iterator it = AZStd::upper_bound(zstdData->m_seekPoints.begin(), zstdData->m_seekPoints.end(), offset, ZStdCompareUpper()); - AZ_Assert(it != zstdData->m_seekPoints.begin(), "This should be impossible, we should always have a valid seek point at 0 offset."); - const CompressorZStdSeekPoint& bestSeekPoint = *(--it); // get the previous (so it includes the current offset) - - // if read is continuous continue with decompression - bool isJumpToSeekPoint = false; - SizeType lastOffsetInCache = zstdData->m_decompressedCacheOffset + zstdData->m_decompressedCacheDataSize; - if (bestSeekPoint.m_uncompressedOffset > lastOffsetInCache) // if the best seek point is forward, jump forward to it. + if (lastOffsetInCache >= lastDataOffset) { - isJumpToSeekPoint = true; + copyOffsetEnd -= static_cast(lastOffsetInCache - lastDataOffset); } - else if (offset < lastOffsetInCache) // if the seek point is in the past and the requested offset is not in the cache jump back to it. + else if (bufferCopyOffset > 0) // the cache block is in the middle of the data, we can't use it (since we need to split buffer request into 2) { - isJumpToSeekPoint = true; + return 0; } - if (isJumpToSeekPoint) - { - zstdData->m_decompressNextOffset = bestSeekPoint.m_compressedOffset; // set next read point - zstdData->m_decompressedCacheOffset = bestSeekPoint.m_uncompressedOffset; // set uncompressed offset - zstdData->m_decompressedCacheDataSize = 0; // invalidate the cache - zstdData->m_zstd.ResetDecompressor(&zstdData->m_zstdHeader); // reset decompressor and setup the header. - } + numCopied = copyOffsetEnd - copyOffsetStart; + memcpy(static_cast(buffer) + bufferCopyOffset, zstdData->m_decompressedCache + copyOffsetStart, static_cast(numCopied)); - // decompress and move forward until the request is done - while (byteSize > 0) + // adjust pointers and sizes + byteSize -= numCopied; + if (bufferCopyOffset == 0) { - // fill buffer with compressed data - SizeType compressedDataSize = FillCompressedBuffer(stream); - if (compressedDataSize == 0) + // copied in the start + buffer = reinterpret_cast(buffer) + numCopied; + offset += numCopied; + } + } + + return numCopied; + } + + inline CompressorZStd::SizeType CompressorZStd::FillCompressedBuffer(CompressorStream* stream) + { + CompressorZStdData* zstdData = static_cast(stream->GetCompressorData()); + SizeType dataFromBuffer = 0; + if (stream == m_lastReadStream) // if the buffer is filled with data from the current stream, try to reuse + { + if (zstdData->m_decompressNextOffset > m_lastReadStreamOffset) + { + SizeType offsetInCache = zstdData->m_decompressNextOffset - m_lastReadStreamOffset; + if (offsetInCache < m_lastReadStreamSize) // last check if there is data overlap { - return numRead; // we are done reading and obviously we did not managed to read all data + // copy the usable part at the start of the buffer + SizeType toMove = m_lastReadStreamSize - offsetInCache; + memcpy(m_compressedDataBuffer, &m_compressedDataBuffer[static_cast(offsetInCache)], static_cast(toMove)); + dataFromBuffer += toMove; } - unsigned int processedCompressedData = 0; - while (byteSize > 0 && processedCompressedData < compressedDataSize) // decompressed data either until we are done with the request (byteSize == 0) or we need to fill the compression buffer again. - { - // if we have data in the cache move to the next offset, we always move forward by default. - zstdData->m_decompressedCacheOffset += zstdData->m_decompressedCacheDataSize; - - // decompress in the cache buffer - u32 availDecompressedCacheSize = m_decompressionCachePerStream; // reset buffer size - size_t nextBlockSize; - unsigned int processed = zstdData->m_zstd.Decompress(&m_compressedDataBuffer[processedCompressedData], - static_cast(compressedDataSize) - processedCompressedData, - zstdData->m_decompressedCache, - availDecompressedCacheSize, - &nextBlockSize); - zstdData->m_decompressedCacheDataSize = m_decompressionCachePerStream - availDecompressedCacheSize; - if (processed == 0) - { - break; // we processed everything we could, load more compressed data. - } - processedCompressedData += processed; - // fill what we can from the cache - numRead += FillFromDecompressCache(zstdData, buffer, byteSize, offset); - } - // update next read position the the compressed stream - zstdData->m_decompressNextOffset += processedCompressedData; } + } + + SizeType toReadFromStream = m_compressedDataBufferSize - dataFromBuffer; + SizeType readOffset = zstdData->m_decompressNextOffset + dataFromBuffer; + if (readOffset + toReadFromStream > zstdData->m_decompressLastOffset) + { + // don't read past the end + AZ_Assert(readOffset <= zstdData->m_decompressLastOffset, "Read offset should always be before the end of stream."); + toReadFromStream = zstdData->m_decompressLastOffset - readOffset; + } + + SizeType numReadFromStream = 0; + if (toReadFromStream) // if we did not reuse the whole buffer, read some data from the stream + { + GenericStream* baseStream = stream->GetWrappedStream(); + numReadFromStream = baseStream->ReadAtOffset(toReadFromStream, &m_compressedDataBuffer[static_cast(dataFromBuffer)], readOffset); + } + + // update what's actually in the read data buffer. + m_lastReadStream = stream; + m_lastReadStreamOffset = zstdData->m_decompressNextOffset; + m_lastReadStreamSize = dataFromBuffer + numReadFromStream; + return m_lastReadStreamSize; + } + + struct ZStdCompareUpper + { + bool operator()(const AZ::u64& offset, const CompressorZStdSeekPoint& sp) const + { + return offset < sp.m_uncompressedOffset; + } + }; + + CompressorZStd::SizeType CompressorZStd::Read(CompressorStream* stream, SizeType byteSize, SizeType offset, void* buffer) + { + AZ_Assert(stream->GetCompressorData(), "This stream doesn't have decompression enabled."); + CompressorZStdData* zstdData = static_cast(stream->GetCompressorData()); + AZ_Assert(!zstdData->m_zstd.IsCompressorStarted(), "You can't read/decompress while writing a compressed stream %s."); + + // check if the request can be finished from the decompressed cache + SizeType numRead = FillFromDecompressCache(zstdData, buffer, byteSize, offset); + if (byteSize == 0) // are we done + { return numRead; } - CompressorZStd::SizeType CompressorZStd::Write(CompressorStream* stream, SizeType byteSize, const void* data, SizeType offset) + // find the best seek point for current offset + CompressorZStdData::SeekPointArray::iterator it = AZStd::upper_bound(zstdData->m_seekPoints.begin(), zstdData->m_seekPoints.end(), offset, ZStdCompareUpper()); + AZ_Assert(it != zstdData->m_seekPoints.begin(), "This should be impossible, we should always have a valid seek point at 0 offset."); + const CompressorZStdSeekPoint& bestSeekPoint = *(--it); // get the previous (so it includes the current offset) + + // if read is continuous continue with decompression + bool isJumpToSeekPoint = false; + SizeType lastOffsetInCache = zstdData->m_decompressedCacheOffset + zstdData->m_decompressedCacheDataSize; + if (bestSeekPoint.m_uncompressedOffset > lastOffsetInCache) // if the best seek point is forward, jump forward to it. { - AZ_UNUSED(offset); + isJumpToSeekPoint = true; + } + else if (offset < lastOffsetInCache) // if the seek point is in the past and the requested offset is not in the cache jump back to it. + { + isJumpToSeekPoint = true; + } - AZ_Assert(stream && stream->GetCompressorData(), "This stream doesn't have compression enabled. Call Stream::WriteCompressed after you create the file."); - AZ_Assert(offset == SizeType(-1) || offset == stream->GetCurPos(), "We can write compressed data only at the end of the stream."); + if (isJumpToSeekPoint) + { + zstdData->m_decompressNextOffset = bestSeekPoint.m_compressedOffset; // set next read point + zstdData->m_decompressedCacheOffset = bestSeekPoint.m_uncompressedOffset; // set uncompressed offset + zstdData->m_decompressedCacheDataSize = 0; // invalidate the cache + zstdData->m_zstd.ResetDecompressor(&zstdData->m_zstdHeader); // reset decompressor and setup the header. + } - m_lastReadStream = nullptr; // invalidate last read position, otherwise m_dataBuffer will be corrupted (as we are about to write in it). - - CompressorZStdData* zstdData = static_cast(stream->GetCompressorData()); - AZ_Assert(!zstdData->m_zstd.IsDecompressorStarted(), "You can't write while reading/decompressing a compressed stream."); - - const u8* bytes = reinterpret_cast(data); - unsigned int dataToCompress = aznumeric_caster(byteSize); - while (dataToCompress != 0) + // decompress and move forward until the request is done + while (byteSize > 0) + { + // fill buffer with compressed data + SizeType compressedDataSize = FillCompressedBuffer(stream); + if (compressedDataSize == 0) { - unsigned int oldDataToCompress = dataToCompress; - unsigned int compressedSize = zstdData->m_zstd.Compress(bytes, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize); - if (compressedSize) - { - GenericStream* baseStream = stream->GetWrappedStream(); - SizeType numWritten = baseStream->Write(compressedSize, m_compressedDataBuffer); - if (numWritten != compressedSize) - { - return numWritten; // error we could not write all data - } - } - bytes += oldDataToCompress - dataToCompress; + return numRead; // we are done reading and obviously we did not managed to read all data } - zstdData->m_uncompressedSize += byteSize; - - if (zstdData->m_autoSeekSize > 0) + unsigned int processedCompressedData = 0; + while (byteSize > 0 && processedCompressedData < compressedDataSize) // decompressed data either until we are done with the request (byteSize == 0) or we need to fill the compression buffer again. { - // insert a seek point if needed. - if (zstdData->m_seekPoints.empty()) + // if we have data in the cache move to the next offset, we always move forward by default. + zstdData->m_decompressedCacheOffset += zstdData->m_decompressedCacheDataSize; + + // decompress in the cache buffer + u32 availDecompressedCacheSize = m_decompressionCachePerStream; // reset buffer size + size_t nextBlockSize; + unsigned int processed = zstdData->m_zstd.Decompress(&m_compressedDataBuffer[processedCompressedData], + static_cast(compressedDataSize) - processedCompressedData, + zstdData->m_decompressedCache, + availDecompressedCacheSize, + &nextBlockSize); + zstdData->m_decompressedCacheDataSize = m_decompressionCachePerStream - availDecompressedCacheSize; + if (processed == 0) { - if (zstdData->m_uncompressedSize >= zstdData->m_autoSeekSize) - { - WriteSeekPoint(stream); - } + break; // we processed everything we could, load more compressed data. } - else if ((zstdData->m_uncompressedSize - zstdData->m_seekPoints.back().m_uncompressedOffset) > zstdData->m_autoSeekSize) + processedCompressedData += processed; + // fill what we can from the cache + numRead += FillFromDecompressCache(zstdData, buffer, byteSize, offset); + } + // update next read position the the compressed stream + zstdData->m_decompressNextOffset += processedCompressedData; + } + return numRead; + } + + CompressorZStd::SizeType CompressorZStd::Write(CompressorStream* stream, SizeType byteSize, const void* data, SizeType offset) + { + AZ_UNUSED(offset); + + AZ_Assert(stream && stream->GetCompressorData(), "This stream doesn't have compression enabled. Call Stream::WriteCompressed after you create the file."); + AZ_Assert(offset == SizeType(-1) || offset == stream->GetCurPos(), "We can write compressed data only at the end of the stream."); + + m_lastReadStream = nullptr; // invalidate last read position, otherwise m_dataBuffer will be corrupted (as we are about to write in it). + + CompressorZStdData* zstdData = static_cast(stream->GetCompressorData()); + AZ_Assert(!zstdData->m_zstd.IsDecompressorStarted(), "You can't write while reading/decompressing a compressed stream."); + + const u8* bytes = reinterpret_cast(data); + unsigned int dataToCompress = aznumeric_caster(byteSize); + while (dataToCompress != 0) + { + unsigned int oldDataToCompress = dataToCompress; + unsigned int compressedSize = zstdData->m_zstd.Compress(bytes, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize); + if (compressedSize) + { + GenericStream* baseStream = stream->GetWrappedStream(); + SizeType numWritten = baseStream->Write(compressedSize, m_compressedDataBuffer); + if (numWritten != compressedSize) + { + return numWritten; // error we could not write all data + } + } + bytes += oldDataToCompress - dataToCompress; + } + zstdData->m_uncompressedSize += byteSize; + + if (zstdData->m_autoSeekSize > 0) + { + // insert a seek point if needed. + if (zstdData->m_seekPoints.empty()) + { + if (zstdData->m_uncompressedSize >= zstdData->m_autoSeekSize) { WriteSeekPoint(stream); } } - return byteSize; + else if ((zstdData->m_uncompressedSize - zstdData->m_seekPoints.back().m_uncompressedOffset) > zstdData->m_autoSeekSize) + { + WriteSeekPoint(stream); + } } + return byteSize; + } - bool CompressorZStd::WriteSeekPoint(CompressorStream* stream) + bool CompressorZStd::WriteSeekPoint(CompressorStream* stream) + { + AZ_Assert(stream && stream->GetCompressorData(), "This stream doesn't have compression enabled. Call Stream::WriteCompressed after you create the file."); + CompressorZStdData* zstdData = static_cast(stream->GetCompressorData()); + + m_lastReadStream = nullptr; // invalidate last read position, otherwise m_dataBuffer will be corrupted (as we are about to write in it). + + unsigned int compressedSize; + unsigned int dataToCompress = 0; + do { - AZ_Assert(stream && stream->GetCompressorData(), "This stream doesn't have compression enabled. Call Stream::WriteCompressed after you create the file."); - CompressorZStdData* zstdData = static_cast(stream->GetCompressorData()); + compressedSize = zstdData->m_zstd.Compress(nullptr, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize, ZStd::FT_FULL_FLUSH); + if (compressedSize) + { + GenericStream* baseStream = stream->GetWrappedStream(); + SizeType numWritten = baseStream->Write(compressedSize, m_compressedDataBuffer); + if (numWritten != compressedSize) + { + return false; // error we wrote less than than requested! + } + } + } while (dataToCompress != 0); + CompressorZStdSeekPoint sp; + sp.m_compressedOffset = stream->GetLength(); + sp.m_uncompressedOffset = zstdData->m_uncompressedSize; + zstdData->m_seekPoints.push_back(sp); + return true; + } + + bool CompressorZStd::StartCompressor(CompressorStream* stream, int compressionLevel, SizeType autoSeekDataSize) + { + AZ_Assert(stream && !stream->GetCompressorData(), "Stream has compressor already enabled."); + + AcquireDataBuffer(); + + CompressorZStdData* zstdData = aznew CompressorZStdData; + zstdData->m_compressor = this; + zstdData->m_zstdHeader = 0; // not used for compression + zstdData->m_uncompressedSize = 0; + zstdData->m_autoSeekSize = autoSeekDataSize; + compressionLevel = AZ::GetClamp(compressionLevel, 1, 9); // remap to zlib levels + + zstdData->m_zstd.StartCompressor(compressionLevel); + + stream->SetCompressorData(zstdData); + + if (WriteHeaderAndData(stream)) + { + // add the first and always present seek point at the start of the compressed stream + CompressorZStdSeekPoint sp; + sp.m_compressedOffset = sizeof(CompressorHeader) + sizeof(CompressorZStdHeader) + sizeof(zstdData->m_zstdHeader); + sp.m_uncompressedOffset = 0; + zstdData->m_seekPoints.push_back(sp); + return true; + } + return false; + } + + bool CompressorZStd::Close(CompressorStream* stream) + { + AZ_Assert(stream->IsOpen(), "Stream is not open to be closed."); + + CompressorZStdData* zstdData = static_cast(stream->GetCompressorData()); + GenericStream* baseStream = stream->GetWrappedStream(); + + bool result = true; + if (zstdData->m_zstd.IsCompressorStarted()) + { m_lastReadStream = nullptr; // invalidate last read position, otherwise m_dataBuffer will be corrupted (as we are about to write in it). + // flush all compressed data unsigned int compressedSize; unsigned int dataToCompress = 0; do { - compressedSize = zstdData->m_zstd.Compress(nullptr, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize, ZStd::FT_FULL_FLUSH); + compressedSize = zstdData->m_zstd.Compress(nullptr, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize, ZStd::FT_FINISH); if (compressedSize) { - GenericStream* baseStream = stream->GetWrappedStream(); - SizeType numWritten = baseStream->Write(compressedSize, m_compressedDataBuffer); - if (numWritten != compressedSize) - { - return false; // error we wrote less than than requested! - } + baseStream->Write(compressedSize, m_compressedDataBuffer); } } while (dataToCompress != 0); - CompressorZStdSeekPoint sp; - sp.m_compressedOffset = stream->GetLength(); - sp.m_uncompressedOffset = zstdData->m_uncompressedSize; - zstdData->m_seekPoints.push_back(sp); - return true; + result = WriteHeaderAndData(stream); + if (result) + { + SizeType dataToWrite = zstdData->m_seekPoints.size() * sizeof(CompressorZStdSeekPoint); + baseStream->Seek(0U, GenericStream::SeekMode::ST_SEEK_END); + result = (baseStream->Write(dataToWrite, zstdData->m_seekPoints.data()) == dataToWrite); + } } - - bool CompressorZStd::StartCompressor(CompressorStream* stream, int compressionLevel, SizeType autoSeekDataSize) + else { - AZ_Assert(stream && !stream->GetCompressorData(), "Stream has compressor already enabled."); - - AcquireDataBuffer(); - - CompressorZStdData* zstdData = aznew CompressorZStdData; - zstdData->m_compressor = this; - zstdData->m_zstdHeader = 0; // not used for compression - zstdData->m_uncompressedSize = 0; - zstdData->m_autoSeekSize = autoSeekDataSize; - compressionLevel = AZ::GetClamp(compressionLevel, 1, 9); // remap to zlib levels - - zstdData->m_zstd.StartCompressor(compressionLevel); - - stream->SetCompressorData(zstdData); - - if (WriteHeaderAndData(stream)) + if (m_lastReadStream == stream) { - // add the first and always present seek point at the start of the compressed stream - CompressorZStdSeekPoint sp; - sp.m_compressedOffset = sizeof(CompressorHeader) + sizeof(CompressorZStdHeader) + sizeof(zstdData->m_zstdHeader); - sp.m_uncompressedOffset = 0; - zstdData->m_seekPoints.push_back(sp); - return true; + m_lastReadStream = nullptr; // invalidate the data in m_dataBuffer if it was from the current stream. } - return false; } - bool CompressorZStd::Close(CompressorStream* stream) + // if we have decompressor cache delete it + if (zstdData->m_decompressedCache) { - AZ_Assert(stream->IsOpen(), "Stream is not open to be closed."); - - CompressorZStdData* zstdData = static_cast(stream->GetCompressorData()); - GenericStream* baseStream = stream->GetWrappedStream(); - - bool result = true; - if (zstdData->m_zstd.IsCompressorStarted()) - { - m_lastReadStream = nullptr; // invalidate last read position, otherwise m_dataBuffer will be corrupted (as we are about to write in it). - - // flush all compressed data - unsigned int compressedSize; - unsigned int dataToCompress = 0; - do - { - compressedSize = zstdData->m_zstd.Compress(nullptr, dataToCompress, m_compressedDataBuffer, m_compressedDataBufferSize, ZStd::FT_FINISH); - if (compressedSize) - { - baseStream->Write(compressedSize, m_compressedDataBuffer); - } - } while (dataToCompress != 0); - - result = WriteHeaderAndData(stream); - if (result) - { - SizeType dataToWrite = zstdData->m_seekPoints.size() * sizeof(CompressorZStdSeekPoint); - baseStream->Seek(0U, GenericStream::SeekMode::ST_SEEK_END); - result = (baseStream->Write(dataToWrite, zstdData->m_seekPoints.data()) == dataToWrite); - } - } - else - { - if (m_lastReadStream == stream) - { - m_lastReadStream = nullptr; // invalidate the data in m_dataBuffer if it was from the current stream. - } - } - - // if we have decompressor cache delete it - if (zstdData->m_decompressedCache) - { - azfree(zstdData->m_decompressedCache, AZ::SystemAllocator, m_decompressionCachePerStream, m_CompressedDataBufferAlignment); - } - - ReleaseDataBuffer(); - - // last step reset strream compressor data. - stream->SetCompressorData(nullptr); - return result; + azfree(zstdData->m_decompressedCache, AZ::SystemAllocator, m_decompressionCachePerStream, m_CompressedDataBufferAlignment); } - void CompressorZStd::AcquireDataBuffer() + ReleaseDataBuffer(); + + // last step reset strream compressor data. + stream->SetCompressorData(nullptr); + return result; + } + + void CompressorZStd::AcquireDataBuffer() + { + if (m_compressedDataBuffer == nullptr) { - if (m_compressedDataBuffer == nullptr) - { - AZ_Assert(m_compressedDataBufferUseCount == 0, "Buffer usecount should be 0 if the buffer is NULL"); - m_compressedDataBuffer = reinterpret_cast(azmalloc(m_compressedDataBufferSize, m_CompressedDataBufferAlignment, AZ::SystemAllocator, "CompressorZStd")); - m_lastReadStream = nullptr; // reset the cache info in the m_dataBuffer - } - ++m_compressedDataBufferUseCount; + AZ_Assert(m_compressedDataBufferUseCount == 0, "Buffer usecount should be 0 if the buffer is NULL"); + m_compressedDataBuffer = reinterpret_cast(azmalloc(m_compressedDataBufferSize, m_CompressedDataBufferAlignment, AZ::SystemAllocator, "CompressorZStd")); + m_lastReadStream = nullptr; // reset the cache info in the m_dataBuffer } + ++m_compressedDataBufferUseCount; + } - void CompressorZStd::ReleaseDataBuffer() + void CompressorZStd::ReleaseDataBuffer() + { + --m_compressedDataBufferUseCount; + if (m_compressedDataBufferUseCount == 0) { - --m_compressedDataBufferUseCount; - if (m_compressedDataBufferUseCount == 0) - { - AZ_Assert(m_compressedDataBuffer, "Invalid data buffer. We should have a non null pointer."); - azfree(m_compressedDataBuffer, AZ::SystemAllocator, m_compressedDataBufferSize, m_CompressedDataBufferAlignment); - m_compressedDataBuffer = nullptr; - m_lastReadStream = nullptr; // reset the cache info in the m_dataBuffer - } + AZ_Assert(m_compressedDataBuffer, "Invalid data buffer. We should have a non null pointer."); + azfree(m_compressedDataBuffer, AZ::SystemAllocator, m_compressedDataBufferSize, m_CompressedDataBufferAlignment); + m_compressedDataBuffer = nullptr; + m_lastReadStream = nullptr; // reset the cache info in the m_dataBuffer } - } // namespace IO -} // namespace AZ + } +} // namespace AZ::IO #endif // #if !defined(AZCORE_EXCLUDE_ZSTD) diff --git a/Code/Framework/AzCore/AzCore/IO/FileIO.cpp b/Code/Framework/AzCore/AzCore/IO/FileIO.cpp index 837aca8d84..3522187131 100644 --- a/Code/Framework/AzCore/AzCore/IO/FileIO.cpp +++ b/Code/Framework/AzCore/AzCore/IO/FileIO.cpp @@ -21,485 +21,482 @@ # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ #endif -namespace AZ +namespace AZ::IO { - namespace IO + static EnvironmentVariable g_fileIOInstance; + static EnvironmentVariable g_directFileIOInstance; + static const char* s_EngineFileIOName = "EngineFileIO"; + static const char* s_DirectFileIOName = "DirectFileIO"; + + FileIOBase* FileIOBase::GetInstance() { - static EnvironmentVariable g_fileIOInstance; - static EnvironmentVariable g_directFileIOInstance; - static const char* s_EngineFileIOName = "EngineFileIO"; - static const char* s_DirectFileIOName = "DirectFileIO"; - - FileIOBase* FileIOBase::GetInstance() + if (!g_fileIOInstance) { - if (!g_fileIOInstance) - { - g_fileIOInstance = Environment::FindVariable(s_EngineFileIOName); - } - - return g_fileIOInstance ? (*g_fileIOInstance) : nullptr; + g_fileIOInstance = Environment::FindVariable(s_EngineFileIOName); } - void FileIOBase::SetInstance(FileIOBase* instance) + return g_fileIOInstance ? (*g_fileIOInstance) : nullptr; + } + + void FileIOBase::SetInstance(FileIOBase* instance) + { + if (!g_fileIOInstance) { - if (!g_fileIOInstance) - { - g_fileIOInstance = Environment::CreateVariable(s_EngineFileIOName); - (*g_fileIOInstance) = nullptr; - } - - // at this point we're guaranteed to have g_fileIOInstance. Its value might be null. - - if ((instance) && (g_fileIOInstance) && (*g_fileIOInstance)) - { - AZ_Error("FileIO", false, "FileIOBase::SetInstance was called without first destroying the old instance and setting it to nullptr"); - } - - (*g_fileIOInstance) = instance; + g_fileIOInstance = Environment::CreateVariable(s_EngineFileIOName); + (*g_fileIOInstance) = nullptr; } - FileIOBase* FileIOBase::GetDirectInstance() + // at this point we're guaranteed to have g_fileIOInstance. Its value might be null. + + if ((instance) && (g_fileIOInstance) && (*g_fileIOInstance)) { - if (!g_directFileIOInstance) - { - g_directFileIOInstance = Environment::FindVariable(s_DirectFileIOName); - } - - // for backwards compatibilty, return the regular instance if this is not attached - if (!g_directFileIOInstance) - { - return GetInstance(); - } - - return g_directFileIOInstance ? (*g_directFileIOInstance) : nullptr; + AZ_Error("FileIO", false, "FileIOBase::SetInstance was called without first destroying the old instance and setting it to nullptr"); } - void FileIOBase::SetDirectInstance(FileIOBase* instance) + (*g_fileIOInstance) = instance; + } + + FileIOBase* FileIOBase::GetDirectInstance() + { + if (!g_directFileIOInstance) { - if (!g_directFileIOInstance) - { - g_directFileIOInstance = Environment::CreateVariable(s_DirectFileIOName); - (*g_directFileIOInstance) = nullptr; - } - - // at this point we're guaranteed to have g_directFileIOInstance. Its value might be null. - - if ((instance) && (g_directFileIOInstance) && (*g_directFileIOInstance)) - { - AZ_Error("FileIO", false, "FileIOBase::SetDirectInstance was called without first destroying the old instance and setting it to nullptr"); - } - - (*g_directFileIOInstance) = instance; + g_directFileIOInstance = Environment::FindVariable(s_DirectFileIOName); } - AZStd::optional FileIOBase::ConvertToAlias(const AZ::IO::PathView& path) const + // for backwards compatibilty, return the regular instance if this is not attached + if (!g_directFileIOInstance) { - AZ::IO::FixedMaxPath convertedPath; - if (ConvertToAlias(convertedPath, path)) - { - return convertedPath; - } - - return AZStd::nullopt; + return GetInstance(); } - AZStd::optional FileIOBase::ResolvePath(const AZ::IO::PathView& path) const - { - AZ::IO::FixedMaxPath resolvedPath; - if (ResolvePath(resolvedPath, path)) - { - return resolvedPath; - } + return g_directFileIOInstance ? (*g_directFileIOInstance) : nullptr; + } - return AZStd::nullopt; + void FileIOBase::SetDirectInstance(FileIOBase* instance) + { + if (!g_directFileIOInstance) + { + g_directFileIOInstance = Environment::CreateVariable(s_DirectFileIOName); + (*g_directFileIOInstance) = nullptr; } - SeekType GetSeekTypeFromFSeekMode(int mode) - { - switch (mode) - { - case SEEK_SET: - return SeekType::SeekFromStart; - case SEEK_CUR: - return SeekType::SeekFromCurrent; - case SEEK_END: - return SeekType::SeekFromEnd; - } + // at this point we're guaranteed to have g_directFileIOInstance. Its value might be null. - // Must have some default, hitting here means some random int mode + if ((instance) && (g_directFileIOInstance) && (*g_directFileIOInstance)) + { + AZ_Error("FileIO", false, "FileIOBase::SetDirectInstance was called without first destroying the old instance and setting it to nullptr"); + } + + (*g_directFileIOInstance) = instance; + } + + AZStd::optional FileIOBase::ConvertToAlias(const AZ::IO::PathView& path) const + { + AZ::IO::FixedMaxPath convertedPath; + if (ConvertToAlias(convertedPath, path)) + { + return convertedPath; + } + + return AZStd::nullopt; + } + + AZStd::optional FileIOBase::ResolvePath(const AZ::IO::PathView& path) const + { + AZ::IO::FixedMaxPath resolvedPath; + if (ResolvePath(resolvedPath, path)) + { + return resolvedPath; + } + + return AZStd::nullopt; + } + + SeekType GetSeekTypeFromFSeekMode(int mode) + { + switch (mode) + { + case SEEK_SET: return SeekType::SeekFromStart; + case SEEK_CUR: + return SeekType::SeekFromCurrent; + case SEEK_END: + return SeekType::SeekFromEnd; } - int GetFSeekModeFromSeekType(SeekType type) - { - switch (type) - { - case SeekType::SeekFromStart: - return SEEK_SET; - case SeekType::SeekFromCurrent: - return SEEK_CUR; - case SeekType::SeekFromEnd: - return SEEK_END; - } + // Must have some default, hitting here means some random int mode + return SeekType::SeekFromStart; + } + int GetFSeekModeFromSeekType(SeekType type) + { + switch (type) + { + case SeekType::SeekFromStart: return SEEK_SET; + case SeekType::SeekFromCurrent: + return SEEK_CUR; + case SeekType::SeekFromEnd: + return SEEK_END; } - void UpdateOpenModeForReading(OpenMode& openMode) + return SEEK_SET; + } + + void UpdateOpenModeForReading(OpenMode& openMode) + { + if (AnyFlag(openMode & OpenMode::ModeRead)) { - if (AnyFlag(openMode & OpenMode::ModeRead)) + if (AnyFlag(openMode & OpenMode::ModeText)) { - if (AnyFlag(openMode & OpenMode::ModeText)) - { - OpenMode extraModes = openMode & (OpenMode::ModeUpdate | OpenMode::ModeAppend); - openMode = OpenMode::ModeRead | OpenMode::ModeBinary | extraModes; - } - else if (!AnyFlag(openMode & OpenMode::ModeBinary)) - { - // if you haven't supplied any flag, supply binary - openMode = openMode | OpenMode::ModeBinary; - } + OpenMode extraModes = openMode & (OpenMode::ModeUpdate | OpenMode::ModeAppend); + openMode = OpenMode::ModeRead | OpenMode::ModeBinary | extraModes; + } + else if (!AnyFlag(openMode & OpenMode::ModeBinary)) + { + // if you haven't supplied any flag, supply binary + openMode = openMode | OpenMode::ModeBinary; } } + } - OpenMode GetOpenModeFromStringMode(const char* mode) + OpenMode GetOpenModeFromStringMode(const char* mode) + { + OpenMode openMode = OpenMode::Invalid; + + if (strstr(mode, "w")) { - OpenMode openMode = OpenMode::Invalid; - - if (strstr(mode, "w")) - { - openMode |= OpenMode::ModeWrite; - } - - if (strstr(mode, "r")) - { - openMode |= OpenMode::ModeRead; - } - - if (strstr(mode, "a")) - { - openMode |= OpenMode::ModeAppend; - } - - if (strstr(mode, "b")) - { - openMode |= OpenMode::ModeBinary; - } - - if (strstr(mode, "t")) - { - openMode |= OpenMode::ModeText; - } - - if (strstr(mode, "+")) - { - openMode |= OpenMode::ModeUpdate; - } - - UpdateOpenModeForReading(openMode); - - return openMode; + openMode |= OpenMode::ModeWrite; } - const char* GetStringModeFromOpenMode(OpenMode mode) + if (strstr(mode, "r")) { - UpdateOpenModeForReading(mode); - // Append is highest priority, followed by write and then read - // APPEND - if (AnyFlag(mode & OpenMode::ModeAppend)) + openMode |= OpenMode::ModeRead; + } + + if (strstr(mode, "a")) + { + openMode |= OpenMode::ModeAppend; + } + + if (strstr(mode, "b")) + { + openMode |= OpenMode::ModeBinary; + } + + if (strstr(mode, "t")) + { + openMode |= OpenMode::ModeText; + } + + if (strstr(mode, "+")) + { + openMode |= OpenMode::ModeUpdate; + } + + UpdateOpenModeForReading(openMode); + + return openMode; + } + + const char* GetStringModeFromOpenMode(OpenMode mode) + { + UpdateOpenModeForReading(mode); + // Append is highest priority, followed by write and then read + // APPEND + if (AnyFlag(mode & OpenMode::ModeAppend)) + { + if (AnyFlag(mode & OpenMode::ModeUpdate)) { - if (AnyFlag(mode & OpenMode::ModeUpdate)) - { - if (AnyFlag(mode & OpenMode::ModeBinary)) - { - return "a+b"; - } - if (AnyFlag(mode & OpenMode::ModeText)) - { - return "a+t"; - } - return "a+"; - } if (AnyFlag(mode & OpenMode::ModeBinary)) { - return "ab"; + return "a+b"; } if (AnyFlag(mode & OpenMode::ModeText)) { - return "at"; + return "a+t"; } - return "a"; + return "a+"; } - - // WRITE - if (AnyFlag(mode & OpenMode::ModeWrite)) + if (AnyFlag(mode & OpenMode::ModeBinary)) + { + return "ab"; + } + if (AnyFlag(mode & OpenMode::ModeText)) + { + return "at"; + } + return "a"; + } + + // WRITE + if (AnyFlag(mode & OpenMode::ModeWrite)) + { + if (AnyFlag(mode & OpenMode::ModeUpdate)) { - if (AnyFlag(mode & OpenMode::ModeUpdate)) - { - if (AnyFlag(mode & OpenMode::ModeBinary)) - { - return "w+b"; - } - if (AnyFlag(mode & OpenMode::ModeText)) - { - return "w+t"; - } - return "w+"; - } if (AnyFlag(mode & OpenMode::ModeBinary)) { - return "wb"; + return "w+b"; } if (AnyFlag(mode & OpenMode::ModeText)) { - return "wt"; + return "w+t"; } - return "w"; + return "w+"; } - - // READ - if (AnyFlag(mode & OpenMode::ModeRead)) + if (AnyFlag(mode & OpenMode::ModeBinary)) + { + return "wb"; + } + if (AnyFlag(mode & OpenMode::ModeText)) + { + return "wt"; + } + return "w"; + } + + // READ + if (AnyFlag(mode & OpenMode::ModeRead)) + { + if (AnyFlag(mode & OpenMode::ModeUpdate)) { - if (AnyFlag(mode & OpenMode::ModeUpdate)) - { - if (AnyFlag(mode & OpenMode::ModeBinary)) - { - return "r+b"; - } - if (AnyFlag(mode & OpenMode::ModeText)) - { - return "r+t"; - } - return "r+"; - } if (AnyFlag(mode & OpenMode::ModeBinary)) { - return "rb"; + return "r+b"; } if (AnyFlag(mode & OpenMode::ModeText)) { - return "rt"; + return "r+t"; } - return "r"; + return "r+"; } - - // Bad open mode passed in - AZ_Error("FileIO", false, "A bad open mode was sent to GetStringModeFromOpenMode()"); - return ""; + if (AnyFlag(mode & OpenMode::ModeBinary)) + { + return "rb"; + } + if (AnyFlag(mode & OpenMode::ModeText)) + { + return "rt"; + } + return "r"; } - bool NameMatchesFilter(const char* name, const char* filter) + // Bad open mode passed in + AZ_Error("FileIO", false, "A bad open mode was sent to GetStringModeFromOpenMode()"); + return ""; + } + + bool NameMatchesFilter(const char* name, const char* filter) + { + return AZStd::wildcard_match(filter, name); + } + + FileIOStream::FileIOStream() + : m_handle(InvalidHandle) + , m_mode(OpenMode::Invalid) + , m_ownsHandle(true) + { + + } + + FileIOStream::FileIOStream(HandleType fileHandle, AZ::IO::OpenMode mode, bool ownsHandle) + : m_handle(fileHandle) + , m_mode(mode) + , m_ownsHandle(ownsHandle) + { + + FileIOBase* fileIO = FileIOBase::GetInstance(); + AZ_Assert(fileIO, "FileIO is not initialized."); + AZStd::array resolvedPath{ {0} }; + fileIO->GetFilename(m_handle, resolvedPath.data(), resolvedPath.size() - 1); + m_filename = resolvedPath.data(); + } + + FileIOStream::FileIOStream(const char* path, AZ::IO::OpenMode mode, bool errorOnFailure) + : m_handle(InvalidHandle) + , m_mode(mode) + , m_errorOnFailure(errorOnFailure) + { + Open(path, mode); + } + + FileIOStream::~FileIOStream() + { + if (m_ownsHandle) { - return AZStd::wildcard_match(filter, name); + Close(); } + } - FileIOStream::FileIOStream() - : m_handle(InvalidHandle) - , m_mode(OpenMode::Invalid) - , m_ownsHandle(true) + bool FileIOStream::Open(const char* path, OpenMode mode) + { + AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); + FileIOBase* fileIO = FileIOBase::GetInstance(); + + Close(); + + const Result result = fileIO->Open(path, mode, m_handle); + m_ownsHandle = IsOpen(); + m_mode = mode; + + if (IsOpen()) { - - } - - FileIOStream::FileIOStream(HandleType fileHandle, AZ::IO::OpenMode mode, bool ownsHandle) - : m_handle(fileHandle) - , m_mode(mode) - , m_ownsHandle(ownsHandle) - { - - FileIOBase* fileIO = FileIOBase::GetInstance(); - AZ_Assert(fileIO, "FileIO is not initialized."); + // Not using supplied path parameter as it may be unresolved AZStd::array resolvedPath{ {0} }; fileIO->GetFilename(m_handle, resolvedPath.data(), resolvedPath.size() - 1); m_filename = resolvedPath.data(); } - - FileIOStream::FileIOStream(const char* path, AZ::IO::OpenMode mode, bool errorOnFailure) - : m_handle(InvalidHandle) - , m_mode(mode) - , m_errorOnFailure(errorOnFailure) + else { - Open(path, mode); + // remember the file name so you can try again with ReOpen + m_filename = path; } - FileIOStream::~FileIOStream() - { - if (m_ownsHandle) - { - Close(); - } - } + AZ_PROFILE_INTERVAL_START_COLORED(AzCore, &m_filename, 0xff0000ff, "FileIO: %s", m_filename.c_str()); + return result; + } - bool FileIOStream::Open(const char* path, OpenMode mode) + bool FileIOStream::ReOpen() + { + Close(); + return (m_mode != OpenMode::Invalid) ? Open(m_filename.data(), m_mode) : false; + } + + void FileIOStream::Close() + { + if (m_handle != InvalidHandle) { AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); - FileIOBase* fileIO = FileIOBase::GetInstance(); - Close(); - - const Result result = fileIO->Open(path, mode, m_handle); - m_ownsHandle = IsOpen(); - m_mode = mode; - - if (IsOpen()) - { - // Not using supplied path parameter as it may be unresolved - AZStd::array resolvedPath{ {0} }; - fileIO->GetFilename(m_handle, resolvedPath.data(), resolvedPath.size() - 1); - m_filename = resolvedPath.data(); - } - else - { - // remember the file name so you can try again with ReOpen - m_filename = path; - } - - AZ_PROFILE_INTERVAL_START_COLORED(AzCore, &m_filename, 0xff0000ff, "FileIO: %s", m_filename.c_str()); - return result; + FileIOBase::GetInstance()->Close(m_handle); + m_handle = InvalidHandle; + m_ownsHandle = false; + AZ_PROFILE_INTERVAL_END(AzCore, &m_filename); } + } - bool FileIOStream::ReOpen() + bool FileIOStream::IsOpen() const + { + return (m_handle != InvalidHandle); + } + + /*! + \brief Retrieves underlying FileIO Handle from file stream + \return HandleType + */ + HandleType FileIOStream::GetHandle() const + { + return m_handle; + } + + /*! + \brief Retrieves filename + \return const char* + */ + const char* FileIOStream::GetFilename() const + { + return m_filename.data(); + } + + /*! + \brief Retrieves OpenMode flags used to open this file + \return OpenMode + */ + AZ::IO::OpenMode FileIOStream::GetModeFlags() const + { + return m_mode; + } + + bool FileIOStream::CanSeek() const + { + return true; + } + + bool FileIOStream::CanRead() const + { + return (m_mode & (OpenMode::ModeRead | OpenMode::ModeUpdate)) != OpenMode::Invalid; + } + + bool FileIOStream::CanWrite() const + { + return (m_mode & (OpenMode::ModeWrite | OpenMode::ModeAppend | OpenMode::ModeUpdate)) != OpenMode::Invalid; + } + + void FileIOStream::Seek(OffsetType bytes, SeekMode mode) + { + AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); + AZ_Assert(IsOpen(), "Cannot seek on a FileIOStream that is not open."); + + SeekType seekType = SeekType::SeekFromCurrent; + switch (mode) { - Close(); - return (m_mode != OpenMode::Invalid) ? Open(m_filename.data(), m_mode) : false; + case GenericStream::ST_SEEK_BEGIN: + seekType = SeekType::SeekFromStart; + break; + case GenericStream::ST_SEEK_CUR: + seekType = SeekType::SeekFromCurrent; + break; + case GenericStream::ST_SEEK_END: + seekType = SeekType::SeekFromEnd; + break; + default: + seekType = SeekType::SeekFromCurrent; + break; } - void FileIOStream::Close() + const Result result = FileIOBase::GetInstance()->Seek(m_handle, static_cast(bytes), seekType); + (void)result; + AZ_Error("FileIOStream", result.GetResultCode() == ResultCode::Success, "Seek failed."); + } + + SizeType FileIOStream::Read(SizeType bytes, void* oBuffer) + { + AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); + AZ_Assert(IsOpen(), "Cannot read from a FileIOStream that is not open."); + + AZ::u64 bytesRead = 0; + const Result result = FileIOBase::GetInstance()->Read(m_handle, oBuffer, bytes, m_errorOnFailure, &bytesRead); + (void)result; + AZ_Error("FileIOStream", result.GetResultCode() == ResultCode::Success, "Read failed in file %s.", m_filename.empty() ? "NULL" : m_filename.c_str()); + return static_cast(bytesRead); + } + + SizeType FileIOStream::Write(SizeType bytes, const void* iBuffer) + { + AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); + AZ_Assert(IsOpen(), "Cannot write to a FileIOStream that is not open."); + + AZ::u64 bytesWritten = 0; + const Result result = FileIOBase::GetInstance()->Write(m_handle, iBuffer, bytes, &bytesWritten); + (void)result; + AZ_Error("FileIOStream", result.GetResultCode() == ResultCode::Success, "Write failed."); + return static_cast(bytesWritten); + } + + SizeType FileIOStream::GetCurPos() const + { + AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); + AZ_Assert(IsOpen(), "Cannot use a FileIOStream that is not open."); + + AZ::u64 currentPosition = 0; + const Result result = FileIOBase::GetInstance()->Tell(m_handle, currentPosition); + (void)result; + AZ_Error("FileIOStream", result.GetResultCode() == ResultCode::Success, "GetCurPos failed."); + return static_cast(currentPosition); + } + + SizeType FileIOStream::GetLength() const + { + AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); + AZ_Assert(IsOpen(), "Cannot use a FileIOStream that is not open."); + + SizeType fileLengthBytes = 0; + if (!FileIOBase::GetInstance()->Size(m_handle, fileLengthBytes)) { - if (m_handle != InvalidHandle) - { - AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); - - FileIOBase::GetInstance()->Close(m_handle); - m_handle = InvalidHandle; - m_ownsHandle = false; - AZ_PROFILE_INTERVAL_END(AzCore, &m_filename); - } + AZ_Error("FileIOStream", false, "GetLength failed."); } - bool FileIOStream::IsOpen() const - { - return (m_handle != InvalidHandle); - } + return fileLengthBytes; + } - /*! - \brief Retrieves underlying FileIO Handle from file stream - \return HandleType - */ - HandleType FileIOStream::GetHandle() const - { - return m_handle; - } - - /*! - \brief Retrieves filename - \return const char* - */ - const char* FileIOStream::GetFilename() const - { - return m_filename.data(); - } - - /*! - \brief Retrieves OpenMode flags used to open this file - \return OpenMode - */ - AZ::IO::OpenMode FileIOStream::GetModeFlags() const - { - return m_mode; - } - - bool FileIOStream::CanSeek() const - { - return true; - } - - bool FileIOStream::CanRead() const - { - return (m_mode & (OpenMode::ModeRead | OpenMode::ModeUpdate)) != OpenMode::Invalid; - } - - bool FileIOStream::CanWrite() const - { - return (m_mode & (OpenMode::ModeWrite | OpenMode::ModeAppend | OpenMode::ModeUpdate)) != OpenMode::Invalid; - } - - void FileIOStream::Seek(OffsetType bytes, SeekMode mode) - { - AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); - AZ_Assert(IsOpen(), "Cannot seek on a FileIOStream that is not open."); - - SeekType seekType = SeekType::SeekFromCurrent; - switch (mode) - { - case GenericStream::ST_SEEK_BEGIN: - seekType = SeekType::SeekFromStart; - break; - case GenericStream::ST_SEEK_CUR: - seekType = SeekType::SeekFromCurrent; - break; - case GenericStream::ST_SEEK_END: - seekType = SeekType::SeekFromEnd; - break; - default: - seekType = SeekType::SeekFromCurrent; - break; - } - - const Result result = FileIOBase::GetInstance()->Seek(m_handle, static_cast(bytes), seekType); - (void)result; - AZ_Error("FileIOStream", result.GetResultCode() == ResultCode::Success, "Seek failed."); - } - - SizeType FileIOStream::Read(SizeType bytes, void* oBuffer) - { - AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); - AZ_Assert(IsOpen(), "Cannot read from a FileIOStream that is not open."); - - AZ::u64 bytesRead = 0; - const Result result = FileIOBase::GetInstance()->Read(m_handle, oBuffer, bytes, m_errorOnFailure, &bytesRead); - (void)result; - AZ_Error("FileIOStream", result.GetResultCode() == ResultCode::Success, "Read failed in file %s.", m_filename.empty() ? "NULL" : m_filename.c_str()); - return static_cast(bytesRead); - } - - SizeType FileIOStream::Write(SizeType bytes, const void* iBuffer) - { - AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); - AZ_Assert(IsOpen(), "Cannot write to a FileIOStream that is not open."); - - AZ::u64 bytesWritten = 0; - const Result result = FileIOBase::GetInstance()->Write(m_handle, iBuffer, bytes, &bytesWritten); - (void)result; - AZ_Error("FileIOStream", result.GetResultCode() == ResultCode::Success, "Write failed."); - return static_cast(bytesWritten); - } - - SizeType FileIOStream::GetCurPos() const - { - AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); - AZ_Assert(IsOpen(), "Cannot use a FileIOStream that is not open."); - - AZ::u64 currentPosition = 0; - const Result result = FileIOBase::GetInstance()->Tell(m_handle, currentPosition); - (void)result; - AZ_Error("FileIOStream", result.GetResultCode() == ResultCode::Success, "GetCurPos failed."); - return static_cast(currentPosition); - } - - SizeType FileIOStream::GetLength() const - { - AZ_Assert(FileIOBase::GetInstance(), "FileIO is not initialized."); - AZ_Assert(IsOpen(), "Cannot use a FileIOStream that is not open."); - - SizeType fileLengthBytes = 0; - if (!FileIOBase::GetInstance()->Size(m_handle, fileLengthBytes)) - { - AZ_Error("FileIOStream", false, "GetLength failed."); - } - - return fileLengthBytes; - } - - } // namespace IO -} // namespace AZ +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/IOUtils.cpp b/Code/Framework/AzCore/AzCore/IO/IOUtils.cpp index 1e3a31f8ab..222a36ef70 100644 --- a/Code/Framework/AzCore/AzCore/IO/IOUtils.cpp +++ b/Code/Framework/AzCore/AzCore/IO/IOUtils.cpp @@ -10,69 +10,64 @@ #include #include /// this_thread sleep_for. -namespace AZ +namespace AZ::IO { - namespace IO - { - int TranslateOpenModeToSystemFileMode(const char* path, OpenMode mode) + int TranslateOpenModeToSystemFileMode(const char* path, OpenMode mode) + { + int systemFileMode = 0; + bool read = AnyFlag(mode & OpenMode::ModeRead) || AnyFlag(mode & OpenMode::ModeUpdate); + bool write = AnyFlag(mode & OpenMode::ModeWrite) || AnyFlag(mode & OpenMode::ModeUpdate) || AnyFlag(mode & OpenMode::ModeAppend); + if (write) { - int systemFileMode = 0; - bool read = AnyFlag(mode & OpenMode::ModeRead) || AnyFlag(mode & OpenMode::ModeUpdate); - bool write = AnyFlag(mode & OpenMode::ModeWrite) || AnyFlag(mode & OpenMode::ModeUpdate) || AnyFlag(mode & OpenMode::ModeAppend); - if (write) + // If writing the file, create the file in all cases (except r+) + if (!SystemFile::Exists(path) && !(AnyFlag(mode & OpenMode::ModeRead) && AnyFlag(mode & OpenMode::ModeUpdate))) { - // If writing the file, create the file in all cases (except r+) - if (!SystemFile::Exists(path) && !(AnyFlag(mode & OpenMode::ModeRead) && AnyFlag(mode & OpenMode::ModeUpdate))) - { - // LocalFileIO creates by default - systemFileMode |= SystemFile::SF_OPEN_CREATE; - } - - if (AnyFlag(mode & OpenMode::ModeCreatePath)) - { - systemFileMode |= SystemFile::SF_OPEN_CREATE_PATH; - } - - // If appending, append. - if (AnyFlag(mode & OpenMode::ModeAppend)) - { - systemFileMode |= SystemFile::SF_OPEN_APPEND; - } - // If writing and not appending, empty the file - else if (AnyFlag(mode & OpenMode::ModeWrite)) - { - systemFileMode |= SystemFile::SF_OPEN_TRUNCATE; - } - - // If reading, set read/write, otherwise just write - if (read) - { - systemFileMode |= SystemFile::SF_OPEN_READ_WRITE; - } - else - { - systemFileMode |= SystemFile::SF_OPEN_WRITE_ONLY; - } - } - else if (read) - { - systemFileMode |= SystemFile::SF_OPEN_READ_ONLY; + // LocalFileIO creates by default + systemFileMode |= SystemFile::SF_OPEN_CREATE; } - return systemFileMode; + if (AnyFlag(mode & OpenMode::ModeCreatePath)) + { + systemFileMode |= SystemFile::SF_OPEN_CREATE_PATH; + } + + // If appending, append. + if (AnyFlag(mode & OpenMode::ModeAppend)) + { + systemFileMode |= SystemFile::SF_OPEN_APPEND; + } + // If writing and not appending, empty the file + else if (AnyFlag(mode & OpenMode::ModeWrite)) + { + systemFileMode |= SystemFile::SF_OPEN_TRUNCATE; + } + + // If reading, set read/write, otherwise just write + if (read) + { + systemFileMode |= SystemFile::SF_OPEN_READ_WRITE; + } + else + { + systemFileMode |= SystemFile::SF_OPEN_WRITE_ONLY; + } + } + else if (read) + { + systemFileMode |= SystemFile::SF_OPEN_READ_ONLY; } - bool RetryOpenStream(FileIOStream& stream, int numRetries, int delayBetweenRetry) + return systemFileMode; + } + + bool RetryOpenStream(FileIOStream& stream, int numRetries, int delayBetweenRetry) + { + while ((!stream.IsOpen()) && (numRetries > 0)) { - while ((!stream.IsOpen()) && (numRetries > 0)) - { - numRetries--; - AZStd::this_thread::sleep_for(AZStd::chrono::milliseconds(delayBetweenRetry)); - stream.ReOpen(); - } - return stream.IsOpen(); + numRetries--; + AZStd::this_thread::sleep_for(AZStd::chrono::milliseconds(delayBetweenRetry)); + stream.ReOpen(); } - } // namespace IO -} // namespace AZ - - + return stream.IsOpen(); + } +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/Streamer/BlockCache.cpp b/Code/Framework/AzCore/AzCore/IO/Streamer/BlockCache.cpp index e838324408..6c873f3050 100644 --- a/Code/Framework/AzCore/AzCore/IO/Streamer/BlockCache.cpp +++ b/Code/Framework/AzCore/AzCore/IO/Streamer/BlockCache.cpp @@ -15,736 +15,733 @@ #include #include -namespace AZ +namespace AZ::IO { - namespace IO + AZStd::shared_ptr BlockCacheConfig::AddStreamStackEntry( + const HardwareInformation& hardware, AZStd::shared_ptr parent) { - AZStd::shared_ptr BlockCacheConfig::AddStreamStackEntry( - const HardwareInformation& hardware, AZStd::shared_ptr parent) + size_t blockSize; + switch (m_blockSize) { - size_t blockSize; - switch (m_blockSize) - { - case BlockSize::MaxTransfer: - blockSize = hardware.m_maxTransfer; - break; - case BlockSize::MemoryAlignment: - blockSize = hardware.m_maxPhysicalSectorSize; - break; - case BlockSize::SizeAlignment: - blockSize = hardware.m_maxLogicalSectorSize; - break; - default: - blockSize = m_blockSize; - break; - } - - u32 cacheSize = static_cast(m_cacheSizeMib * 1_mib); - if (blockSize * 2 > cacheSize) - { - AZ_Warning("Streamer", false, "Size (%u) for BlockCache isn't big enough to hold at least two cache blocks of size (%zu). " - "The cache size will be increased to fit 2 cache blocks.", cacheSize, blockSize); - cacheSize = aznumeric_caster(blockSize * 2); - } - - auto stackEntry = AZStd::make_shared( - cacheSize, aznumeric_cast(blockSize), aznumeric_cast(hardware.m_maxPhysicalSectorSize), false); - stackEntry->SetNext(AZStd::move(parent)); - return stackEntry; + case BlockSize::MaxTransfer: + blockSize = hardware.m_maxTransfer; + break; + case BlockSize::MemoryAlignment: + blockSize = hardware.m_maxPhysicalSectorSize; + break; + case BlockSize::SizeAlignment: + blockSize = hardware.m_maxLogicalSectorSize; + break; + default: + blockSize = m_blockSize; + break; } - void BlockCacheConfig::Reflect(AZ::ReflectContext* context) + u32 cacheSize = static_cast(m_cacheSizeMib * 1_mib); + if (blockSize * 2 > cacheSize) { - if (auto serializeContext = azrtti_cast(context); serializeContext != nullptr) - { - serializeContext->Enum() - ->Version(1) - ->Value("MaxTransfer", BlockSize::MaxTransfer) - ->Value("MemoryAlignment", BlockSize::MemoryAlignment) - ->Value("SizeAlignment", BlockSize::SizeAlignment); - - serializeContext->Class() - ->Version(1) - ->Field("CacheSizeMib", &BlockCacheConfig::m_cacheSizeMib) - ->Field("BlockSize", &BlockCacheConfig::m_blockSize); - } + AZ_Warning("Streamer", false, "Size (%u) for BlockCache isn't big enough to hold at least two cache blocks of size (%zu). " + "The cache size will be increased to fit 2 cache blocks.", cacheSize, blockSize); + cacheSize = aznumeric_caster(blockSize * 2); } - static constexpr char CacheHitRateName[] = "Cache hit rate"; - static constexpr char CacheableName[] = "Cacheable"; + auto stackEntry = AZStd::make_shared( + cacheSize, aznumeric_cast(blockSize), aznumeric_cast(hardware.m_maxPhysicalSectorSize), false); + stackEntry->SetNext(AZStd::move(parent)); + return stackEntry; + } - void BlockCache::Section::Prefix(const Section& section) + void BlockCacheConfig::Reflect(AZ::ReflectContext* context) + { + if (auto serializeContext = azrtti_cast(context); serializeContext != nullptr) { - AZ_Assert(section.m_used, "Trying to prefix an unused section"); - AZ_Assert(!m_wait && !section.m_wait, "Can't merge two section that are already waiting for data to be loaded."); + serializeContext->Enum() + ->Version(1) + ->Value("MaxTransfer", BlockSize::MaxTransfer) + ->Value("MemoryAlignment", BlockSize::MemoryAlignment) + ->Value("SizeAlignment", BlockSize::SizeAlignment); - if (m_used) + serializeContext->Class() + ->Version(1) + ->Field("CacheSizeMib", &BlockCacheConfig::m_cacheSizeMib) + ->Field("BlockSize", &BlockCacheConfig::m_blockSize); + } + } + + static constexpr char CacheHitRateName[] = "Cache hit rate"; + static constexpr char CacheableName[] = "Cacheable"; + + void BlockCache::Section::Prefix(const Section& section) + { + AZ_Assert(section.m_used, "Trying to prefix an unused section"); + AZ_Assert(!m_wait && !section.m_wait, "Can't merge two section that are already waiting for data to be loaded."); + + if (m_used) + { + AZ_Assert(m_blockOffset == 0, "Unable to add a block cache to this one as this block requires an offset upon completion."); + + AZ_Assert(section.m_readOffset < m_readOffset, "The block that's being merged needs to come before this block."); + m_readOffset = section.m_readOffset + section.m_blockOffset; // Remove any alignment that might have been added. + m_readSize += section.m_readSize - section.m_blockOffset; + + AZ_Assert(section.m_output < m_output, "The block that's being merged needs to come before this block."); + m_output = section.m_output; + m_copySize += section.m_copySize; + } + else + { + m_used = true; + m_readOffset = section.m_readOffset + section.m_blockOffset; + m_readSize = section.m_readSize - section.m_blockOffset; + m_output = section.m_output; + m_copySize = section.m_copySize; + } + m_blockOffset = 0; // Two merged sections do not support caching. + } + + BlockCache::BlockCache(u64 cacheSize, u32 blockSize, u32 alignment, bool onlyEpilogWrites) + : StreamStackEntry("Block cache") + , m_alignment(alignment) + , m_onlyEpilogWrites(onlyEpilogWrites) + { + AZ_Assert(IStreamerTypes::IsPowerOf2(alignment), "Alignment needs to be a power of 2."); + AZ_Assert(IStreamerTypes::IsAlignedTo(blockSize, alignment), "Block size needs to be a multiple of the alignment."); + + m_numBlocks = aznumeric_caster(cacheSize / blockSize); + m_cacheSize = cacheSize - (cacheSize % blockSize); // Only use the amount needed for the cache. + m_blockSize = blockSize; + if (m_numBlocks == 1) + { + m_onlyEpilogWrites = true; + } + + m_cache = reinterpret_cast(AZ::AllocatorInstance::Get().Allocate( + m_cacheSize, alignment, 0, "AZ::IO::Streamer BlockCache", __FILE__, __LINE__)); + m_cachedPaths = AZStd::unique_ptr(new RequestPath[m_numBlocks]); + m_cachedOffsets = AZStd::unique_ptr(new u64[m_numBlocks]); + m_blockLastTouched = AZStd::unique_ptr(new TimePoint[m_numBlocks]); + m_inFlightRequests = AZStd::unique_ptr(new FileRequest*[m_numBlocks]); + + ResetCache(); + } + + BlockCache::~BlockCache() + { + AZ::AllocatorInstance::Get().DeAllocate(m_cache, m_cacheSize, m_alignment); + } + + void BlockCache::QueueRequest(FileRequest* request) + { + AZ_Assert(request, "QueueRequest was provided a null request."); + + AZStd::visit([this, request](auto&& args) + { + using Command = AZStd::decay_t; + if constexpr (AZStd::is_same_v) { - AZ_Assert(m_blockOffset == 0, "Unable to add a block cache to this one as this block requires an offset upon completion."); - - AZ_Assert(section.m_readOffset < m_readOffset, "The block that's being merged needs to come before this block."); - m_readOffset = section.m_readOffset + section.m_blockOffset; // Remove any alignment that might have been added. - m_readSize += section.m_readSize - section.m_blockOffset; - - AZ_Assert(section.m_output < m_output, "The block that's being merged needs to come before this block."); - m_output = section.m_output; - m_copySize += section.m_copySize; + ReadFile(request, args); + return; } else { - m_used = true; - m_readOffset = section.m_readOffset + section.m_blockOffset; - m_readSize = section.m_readSize - section.m_blockOffset; - m_output = section.m_output; - m_copySize = section.m_copySize; - } - m_blockOffset = 0; // Two merged sections do not support caching. - } - - BlockCache::BlockCache(u64 cacheSize, u32 blockSize, u32 alignment, bool onlyEpilogWrites) - : StreamStackEntry("Block cache") - , m_alignment(alignment) - , m_onlyEpilogWrites(onlyEpilogWrites) - { - AZ_Assert(IStreamerTypes::IsPowerOf2(alignment), "Alignment needs to be a power of 2."); - AZ_Assert(IStreamerTypes::IsAlignedTo(blockSize, alignment), "Block size needs to be a multiple of the alignment."); - - m_numBlocks = aznumeric_caster(cacheSize / blockSize); - m_cacheSize = cacheSize - (cacheSize % blockSize); // Only use the amount needed for the cache. - m_blockSize = blockSize; - if (m_numBlocks == 1) - { - m_onlyEpilogWrites = true; - } - - m_cache = reinterpret_cast(AZ::AllocatorInstance::Get().Allocate( - m_cacheSize, alignment, 0, "AZ::IO::Streamer BlockCache", __FILE__, __LINE__)); - m_cachedPaths = AZStd::unique_ptr(new RequestPath[m_numBlocks]); - m_cachedOffsets = AZStd::unique_ptr(new u64[m_numBlocks]); - m_blockLastTouched = AZStd::unique_ptr(new TimePoint[m_numBlocks]); - m_inFlightRequests = AZStd::unique_ptr(new FileRequest*[m_numBlocks]); - - ResetCache(); - } - - BlockCache::~BlockCache() - { - AZ::AllocatorInstance::Get().DeAllocate(m_cache, m_cacheSize, m_alignment); - } - - void BlockCache::QueueRequest(FileRequest* request) - { - AZ_Assert(request, "QueueRequest was provided a null request."); - - AZStd::visit([this, request](auto&& args) - { - using Command = AZStd::decay_t; - if constexpr (AZStd::is_same_v) + if constexpr (AZStd::is_same_v) { - ReadFile(request, args); + FlushCache(args.m_path); + } + else if constexpr (AZStd::is_same_v) + { + FlushEntireCache(); + } + StreamStackEntry::QueueRequest(request); + } + }, request->GetCommand()); + } + + bool BlockCache::ExecuteRequests() + { + size_t delayedCount = m_delayedSections.size(); + + bool delayedRequestProcessed = false; + for (size_t i = 0; i < delayedCount; ++i) + { + Section& delayed = m_delayedSections.front(); + AZ_Assert(delayed.m_parent, "Delayed section doesn't have a reference to the original request."); + auto data = AZStd::get_if(&delayed.m_parent->GetCommand()); + AZ_Assert(data, "A request in the delayed queue of the BlockCache didn't have a parent with read data."); + // This call can add the same section to the back of the queue if there's not + // enough space. Because of this the entry needs to be removed from the delayed + // list no matter what the result is of ServiceFromCache. + if (ServiceFromCache(delayed.m_parent, delayed, data->m_path, data->m_sharedRead) != CacheResult::Delayed) + { + delayedRequestProcessed = true; + } + m_delayedSections.pop_front(); + } + bool nextResult = StreamStackEntry::ExecuteRequests(); + return nextResult || delayedRequestProcessed; + } + + void BlockCache::UpdateStatus(Status& status) const + { + StreamStackEntry::UpdateStatus(status); + s32 numAvailableSlots = CalculateAvailableRequestSlots(); + status.m_numAvailableSlots = AZStd::min(status.m_numAvailableSlots, numAvailableSlots); + status.m_isIdle = status.m_isIdle && + static_cast(numAvailableSlots) == m_numBlocks && + m_delayedSections.empty(); + } + + void BlockCache::UpdateCompletionEstimates(AZStd::chrono::system_clock::time_point now, AZStd::vector& internalPending, + StreamerContext::PreparedQueue::iterator pendingBegin, StreamerContext::PreparedQueue::iterator pendingEnd) + { + // Have the stack downstream estimate the completion time for the requests that are waiting for a slot to execute in. + AddDelayedRequests(internalPending); + + StreamStackEntry::UpdateCompletionEstimates(now, internalPending, pendingBegin, pendingEnd); + + // The in-flight requests don't have to be updated because the subdivided request will bubble up in order so the final + // write will be the latest completion time. Requests that have a wait on another request though will need to be update + // as the estimation of the in-flight request needs to be copied to the wait request to get an accurate prediction. + UpdatePendingRequestEstimations(); + + // Technically here the wait commands for the delayed sections should be updated as well, but it's the parent that's interesting, + // not the wait so don't waste cycles updating the wait. + } + + void BlockCache::AddDelayedRequests(AZStd::vector& internalPending) + { + for (auto& section : m_delayedSections) + { + internalPending.push_back(section.m_parent); + } + } + + void BlockCache::UpdatePendingRequestEstimations() + { + for (auto it : m_pendingRequests) + { + Section& section = it.second; + AZ_Assert(section.m_cacheBlockIndex != s_fileNotCached, "An in-flight cache section doesn't have a cache block associated with it."); + AZ_Assert(m_inFlightRequests[section.m_cacheBlockIndex], + "Cache block %i is reported as being in-flight but has no request.", section.m_cacheBlockIndex); + if (section.m_wait) + { + AZ_Assert(section.m_parent, "A cache section with a wait request pending is missing a parent to wait on."); + auto largestTime = AZStd::max(section.m_parent->GetEstimatedCompletion(), it.first->GetEstimatedCompletion()); + section.m_wait->SetEstimatedCompletion(largestTime); + } + } + } + + void BlockCache::ReadFile(FileRequest* request, FileRequest::ReadData& data) + { + if (!m_next) + { + request->SetStatus(IStreamerTypes::RequestStatus::Failed); + m_context->MarkRequestAsCompleted(request); + return; + } + + auto continueReadFile = [this, request](FileRequest& fileSizeRequest) + { + AZ_PROFILE_FUNCTION(AzCore); + AZ_Assert(m_numMetaDataRetrievalInProgress > 0, + "More requests have completed meta data retrieval in the Block Cache than were requested."); + m_numMetaDataRetrievalInProgress--; + if (fileSizeRequest.GetStatus() == IStreamerTypes::RequestStatus::Completed) + { + auto& requestInfo = AZStd::get(fileSizeRequest.GetCommand()); + if (requestInfo.m_found) + { + ContinueReadFile(request, requestInfo.m_fileSize); return; } - else + } + // Couldn't find the file size so don't try to split and pass the request to the next entry in the stack. + StreamStackEntry::QueueRequest(request); + }; + m_numMetaDataRetrievalInProgress++; + FileRequest* fileSizeRequest = m_context->GetNewInternalRequest(); + fileSizeRequest->CreateFileMetaDataRetrieval(data.m_path); + fileSizeRequest->SetCompletionCallback(AZStd::move(continueReadFile)); + StreamStackEntry::QueueRequest(fileSizeRequest); + } + void BlockCache::ContinueReadFile(FileRequest* request, u64 fileLength) + { + Section prolog; + Section main; + Section epilog; + + auto& data = AZStd::get(request->GetCommand()); + + if (!SplitRequest(prolog, main, epilog, data.m_path, fileLength, data.m_offset, data.m_size, + reinterpret_cast(data.m_output))) + { + m_context->MarkRequestAsCompleted(request); + return; + } + + if (prolog.m_used || epilog.m_used) + { + m_cacheableStat.PushSample(1.0); + Statistic::PlotImmediate(m_name, CacheableName, m_cacheableStat.GetMostRecentSample()); + } + else + { + // Nothing to cache so simply forward the call to the next entry in the stack for direct reading. + m_cacheableStat.PushSample(0.0); + Statistic::PlotImmediate(m_name, CacheableName, m_cacheableStat.GetMostRecentSample()); + m_next->QueueRequest(request); + return; + } + + bool fullyCached = true; + if (prolog.m_used) + { + if (m_onlyEpilogWrites && (main.m_used || epilog.m_used)) + { + // Only the epilog is allowed to write to the cache, but a previous read could + // still have cached the prolog, so check the cache and use the data if it's there + // otherwise merge the section with the main section to have the data read. + if (ReadFromCache(request, prolog, data.m_path) == CacheResult::CacheMiss) { - if constexpr (AZStd::is_same_v) - { - FlushCache(args.m_path); - } - else if constexpr (AZStd::is_same_v) - { - FlushEntireCache(); - } - StreamStackEntry::QueueRequest(request); - } - }, request->GetCommand()); - } - - bool BlockCache::ExecuteRequests() - { - size_t delayedCount = m_delayedSections.size(); - - bool delayedRequestProcessed = false; - for (size_t i = 0; i < delayedCount; ++i) - { - Section& delayed = m_delayedSections.front(); - AZ_Assert(delayed.m_parent, "Delayed section doesn't have a reference to the original request."); - auto data = AZStd::get_if(&delayed.m_parent->GetCommand()); - AZ_Assert(data, "A request in the delayed queue of the BlockCache didn't have a parent with read data."); - // This call can add the same section to the back of the queue if there's not - // enough space. Because of this the entry needs to be removed from the delayed - // list no matter what the result is of ServiceFromCache. - if (ServiceFromCache(delayed.m_parent, delayed, data->m_path, data->m_sharedRead) != CacheResult::Delayed) - { - delayedRequestProcessed = true; - } - m_delayedSections.pop_front(); - } - bool nextResult = StreamStackEntry::ExecuteRequests(); - return nextResult || delayedRequestProcessed; - } - - void BlockCache::UpdateStatus(Status& status) const - { - StreamStackEntry::UpdateStatus(status); - s32 numAvailableSlots = CalculateAvailableRequestSlots(); - status.m_numAvailableSlots = AZStd::min(status.m_numAvailableSlots, numAvailableSlots); - status.m_isIdle = status.m_isIdle && - static_cast(numAvailableSlots) == m_numBlocks && - m_delayedSections.empty(); - } - - void BlockCache::UpdateCompletionEstimates(AZStd::chrono::system_clock::time_point now, AZStd::vector& internalPending, - StreamerContext::PreparedQueue::iterator pendingBegin, StreamerContext::PreparedQueue::iterator pendingEnd) - { - // Have the stack downstream estimate the completion time for the requests that are waiting for a slot to execute in. - AddDelayedRequests(internalPending); - - StreamStackEntry::UpdateCompletionEstimates(now, internalPending, pendingBegin, pendingEnd); - - // The in-flight requests don't have to be updated because the subdivided request will bubble up in order so the final - // write will be the latest completion time. Requests that have a wait on another request though will need to be update - // as the estimation of the in-flight request needs to be copied to the wait request to get an accurate prediction. - UpdatePendingRequestEstimations(); - - // Technically here the wait commands for the delayed sections should be updated as well, but it's the parent that's interesting, - // not the wait so don't waste cycles updating the wait. - } - - void BlockCache::AddDelayedRequests(AZStd::vector& internalPending) - { - for (auto& section : m_delayedSections) - { - internalPending.push_back(section.m_parent); - } - } - - void BlockCache::UpdatePendingRequestEstimations() - { - for (auto it : m_pendingRequests) - { - Section& section = it.second; - AZ_Assert(section.m_cacheBlockIndex != s_fileNotCached, "An in-flight cache section doesn't have a cache block associated with it."); - AZ_Assert(m_inFlightRequests[section.m_cacheBlockIndex], - "Cache block %i is reported as being in-flight but has no request.", section.m_cacheBlockIndex); - if (section.m_wait) - { - AZ_Assert(section.m_parent, "A cache section with a wait request pending is missing a parent to wait on."); - auto largestTime = AZStd::max(section.m_parent->GetEstimatedCompletion(), it.first->GetEstimatedCompletion()); - section.m_wait->SetEstimatedCompletion(largestTime); - } - } - } - - void BlockCache::ReadFile(FileRequest* request, FileRequest::ReadData& data) - { - if (!m_next) - { - request->SetStatus(IStreamerTypes::RequestStatus::Failed); - m_context->MarkRequestAsCompleted(request); - return; - } - - auto continueReadFile = [this, request](FileRequest& fileSizeRequest) - { - AZ_PROFILE_FUNCTION(AzCore); - AZ_Assert(m_numMetaDataRetrievalInProgress > 0, - "More requests have completed meta data retrieval in the Block Cache than were requested."); - m_numMetaDataRetrievalInProgress--; - if (fileSizeRequest.GetStatus() == IStreamerTypes::RequestStatus::Completed) - { - auto& requestInfo = AZStd::get(fileSizeRequest.GetCommand()); - if (requestInfo.m_found) - { - ContinueReadFile(request, requestInfo.m_fileSize); - return; - } - } - // Couldn't find the file size so don't try to split and pass the request to the next entry in the stack. - StreamStackEntry::QueueRequest(request); - }; - m_numMetaDataRetrievalInProgress++; - FileRequest* fileSizeRequest = m_context->GetNewInternalRequest(); - fileSizeRequest->CreateFileMetaDataRetrieval(data.m_path); - fileSizeRequest->SetCompletionCallback(AZStd::move(continueReadFile)); - StreamStackEntry::QueueRequest(fileSizeRequest); - } - void BlockCache::ContinueReadFile(FileRequest* request, u64 fileLength) - { - Section prolog; - Section main; - Section epilog; - - auto& data = AZStd::get(request->GetCommand()); - - if (!SplitRequest(prolog, main, epilog, data.m_path, fileLength, data.m_offset, data.m_size, - reinterpret_cast(data.m_output))) - { - m_context->MarkRequestAsCompleted(request); - return; - } - - if (prolog.m_used || epilog.m_used) - { - m_cacheableStat.PushSample(1.0); - Statistic::PlotImmediate(m_name, CacheableName, m_cacheableStat.GetMostRecentSample()); - } - else - { - // Nothing to cache so simply forward the call to the next entry in the stack for direct reading. - m_cacheableStat.PushSample(0.0); - Statistic::PlotImmediate(m_name, CacheableName, m_cacheableStat.GetMostRecentSample()); - m_next->QueueRequest(request); - return; - } - - bool fullyCached = true; - if (prolog.m_used) - { - if (m_onlyEpilogWrites && (main.m_used || epilog.m_used)) - { - // Only the epilog is allowed to write to the cache, but a previous read could - // still have cached the prolog, so check the cache and use the data if it's there - // otherwise merge the section with the main section to have the data read. - if (ReadFromCache(request, prolog, data.m_path) == CacheResult::CacheMiss) - { - // The data isn't cached so put the prolog in front of the main section - // so it's read in one read request. If main wasn't used, prefixing the prolog - // will cause it to be filled in and used. - main.Prefix(prolog); - m_hitRateStat.PushSample(0.0); - Statistic::PlotImmediate(m_name, CacheHitRateName, m_hitRateStat.GetMostRecentSample()); - } - else - { - m_hitRateStat.PushSample(1.0); - Statistic::PlotImmediate(m_name, CacheHitRateName, m_hitRateStat.GetMostRecentSample()); - } + // The data isn't cached so put the prolog in front of the main section + // so it's read in one read request. If main wasn't used, prefixing the prolog + // will cause it to be filled in and used. + main.Prefix(prolog); + m_hitRateStat.PushSample(0.0); + Statistic::PlotImmediate(m_name, CacheHitRateName, m_hitRateStat.GetMostRecentSample()); } else { - // If m_onlyEpilogWrites is set but main and epilog are not filled in, it means that - // the request was so small it fits in one cache block, in which case the prolog and - // epilog are practically the same. Or this code is reached because both prolog and - // epilog are allowed to write. - bool readFromCache = (ServiceFromCache(request, prolog, data.m_path, data.m_sharedRead) == CacheResult::ReadFromCache); - fullyCached = readFromCache && fullyCached; - - m_hitRateStat.PushSample(readFromCache ? 1.0 : 0.0); + m_hitRateStat.PushSample(1.0); Statistic::PlotImmediate(m_name, CacheHitRateName, m_hitRateStat.GetMostRecentSample()); } } - - if (main.m_used) + else { - FileRequest* mainRequest = m_context->GetNewInternalRequest(); - // No need for a callback as there's nothing to do after the read has been completed. - mainRequest->CreateRead(request, main.m_output, main.m_readSize, data.m_path, - main.m_readOffset, main.m_readSize, data.m_sharedRead); - m_next->QueueRequest(mainRequest); - fullyCached = false; - } - - if (epilog.m_used) - { - bool readFromCache = (ServiceFromCache(request, epilog, data.m_path, data.m_sharedRead) == CacheResult::ReadFromCache); + // If m_onlyEpilogWrites is set but main and epilog are not filled in, it means that + // the request was so small it fits in one cache block, in which case the prolog and + // epilog are practically the same. Or this code is reached because both prolog and + // epilog are allowed to write. + bool readFromCache = (ServiceFromCache(request, prolog, data.m_path, data.m_sharedRead) == CacheResult::ReadFromCache); fullyCached = readFromCache && fullyCached; m_hitRateStat.PushSample(readFromCache ? 1.0 : 0.0); Statistic::PlotImmediate(m_name, CacheHitRateName, m_hitRateStat.GetMostRecentSample()); } + } - if (fullyCached) + if (main.m_used) + { + FileRequest* mainRequest = m_context->GetNewInternalRequest(); + // No need for a callback as there's nothing to do after the read has been completed. + mainRequest->CreateRead(request, main.m_output, main.m_readSize, data.m_path, + main.m_readOffset, main.m_readSize, data.m_sharedRead); + m_next->QueueRequest(mainRequest); + fullyCached = false; + } + + if (epilog.m_used) + { + bool readFromCache = (ServiceFromCache(request, epilog, data.m_path, data.m_sharedRead) == CacheResult::ReadFromCache); + fullyCached = readFromCache && fullyCached; + + m_hitRateStat.PushSample(readFromCache ? 1.0 : 0.0); + Statistic::PlotImmediate(m_name, CacheHitRateName, m_hitRateStat.GetMostRecentSample()); + } + + if (fullyCached) + { + request->SetStatus(IStreamerTypes::RequestStatus::Completed); + m_context->MarkRequestAsCompleted(request); + } + } + + void BlockCache::FlushCache(const RequestPath& filePath) + { + for (u32 i = 0; i < m_numBlocks; ++i) + { + if (m_cachedPaths[i] == filePath) { - request->SetStatus(IStreamerTypes::RequestStatus::Completed); - m_context->MarkRequestAsCompleted(request); + ResetCacheEntry(i); } } + } - void BlockCache::FlushCache(const RequestPath& filePath) + void BlockCache::FlushEntireCache() + { + ResetCache(); + } + + void BlockCache::CollectStatistics(AZStd::vector& statistics) const + { + statistics.push_back(Statistic::CreatePercentage(m_name, CacheHitRateName, CalculateHitRatePercentage())); + statistics.push_back(Statistic::CreatePercentage(m_name, CacheableName, CalculateCacheableRatePercentage())); + statistics.push_back(Statistic::CreateInteger(m_name, "Available slots", CalculateAvailableRequestSlots())); + + StreamStackEntry::CollectStatistics(statistics); + } + + double BlockCache::CalculateHitRatePercentage() const + { + return m_hitRateStat.GetAverage(); + } + + double BlockCache::CalculateCacheableRatePercentage() const + { + return m_cacheableStat.GetAverage(); + } + + s32 BlockCache::CalculateAvailableRequestSlots() const + { + return aznumeric_cast(m_numBlocks) - m_numInFlightRequests - m_numMetaDataRetrievalInProgress - + aznumeric_cast(m_delayedSections.size()); + } + + BlockCache::CacheResult BlockCache::ReadFromCache(FileRequest* request, Section& section, const RequestPath& filePath) + { + u32 cacheLocation = FindInCache(filePath, section.m_readOffset); + if (cacheLocation != s_fileNotCached) { - for (u32 i = 0; i < m_numBlocks; ++i) - { - if (m_cachedPaths[i] == filePath) - { - ResetCacheEntry(i); - } - } + return ReadFromCache(request, section, cacheLocation); } - - void BlockCache::FlushEntireCache() + else { - ResetCache(); + return CacheResult::CacheMiss; } + } - void BlockCache::CollectStatistics(AZStd::vector& statistics) const + BlockCache::CacheResult BlockCache::ReadFromCache(FileRequest* request, Section& section, u32 cacheBlock) + { + if (!IsCacheBlockInFlight(cacheBlock)) { - statistics.push_back(Statistic::CreatePercentage(m_name, CacheHitRateName, CalculateHitRatePercentage())); - statistics.push_back(Statistic::CreatePercentage(m_name, CacheableName, CalculateCacheableRatePercentage())); - statistics.push_back(Statistic::CreateInteger(m_name, "Available slots", CalculateAvailableRequestSlots())); - - StreamStackEntry::CollectStatistics(statistics); + TouchBlock(cacheBlock); + memcpy(section.m_output, GetCacheBlockData(cacheBlock) + section.m_blockOffset, section.m_copySize); + return CacheResult::ReadFromCache; } - - double BlockCache::CalculateHitRatePercentage() const + else { - return m_hitRateStat.GetAverage(); + AZ_Assert(section.m_wait == nullptr, "A wait request has to be set on a block cache section, but one has already been assigned."); + FileRequest* wait = m_context->GetNewInternalRequest(); + wait->CreateWait(request); + section.m_cacheBlockIndex = cacheBlock; + section.m_parent = request; + section.m_wait = wait; + m_pendingRequests.emplace(m_inFlightRequests[cacheBlock], section); + return CacheResult::Queued; } + } - double BlockCache::CalculateCacheableRatePercentage() const - { - return m_cacheableStat.GetAverage(); - } + BlockCache::CacheResult BlockCache::ServiceFromCache( + FileRequest* request, Section& section, const RequestPath& filePath, bool sharedRead) + { + AZ_Assert(m_next, "ServiceFromCache in BlockCache was called when the cache doesn't have a way to read files."); - s32 BlockCache::CalculateAvailableRequestSlots() const + u32 cacheLocation = FindInCache(filePath, section.m_readOffset); + if (cacheLocation == s_fileNotCached) { - return aznumeric_cast(m_numBlocks) - m_numInFlightRequests - m_numMetaDataRetrievalInProgress - - aznumeric_cast(m_delayedSections.size()); - } + m_hitRateStat.PushSample(0.0); + Statistic::PlotImmediate(m_name, CacheHitRateName, m_hitRateStat.GetMostRecentSample()); - BlockCache::CacheResult BlockCache::ReadFromCache(FileRequest* request, Section& section, const RequestPath& filePath) - { - u32 cacheLocation = FindInCache(filePath, section.m_readOffset); + section.m_parent = request; + cacheLocation = RecycleOldestBlock(filePath, section.m_readOffset); if (cacheLocation != s_fileNotCached) { - return ReadFromCache(request, section, cacheLocation); - } - else - { - return CacheResult::CacheMiss; - } - } + FileRequest* readRequest = m_context->GetNewInternalRequest(); + readRequest->CreateRead(request, GetCacheBlockData(cacheLocation), m_blockSize, filePath, section.m_readOffset, + section.m_readSize, sharedRead); + readRequest->SetCompletionCallback([this](FileRequest& request) + { + AZ_PROFILE_FUNCTION(AzCore); + CompleteRead(request); + }); + section.m_cacheBlockIndex = cacheLocation; + m_inFlightRequests[cacheLocation] = readRequest; + m_numInFlightRequests++; - BlockCache::CacheResult BlockCache::ReadFromCache(FileRequest* request, Section& section, u32 cacheBlock) - { - if (!IsCacheBlockInFlight(cacheBlock)) - { - TouchBlock(cacheBlock); - memcpy(section.m_output, GetCacheBlockData(cacheBlock) + section.m_blockOffset, section.m_copySize); - return CacheResult::ReadFromCache; - } - else - { - AZ_Assert(section.m_wait == nullptr, "A wait request has to be set on a block cache section, but one has already been assigned."); - FileRequest* wait = m_context->GetNewInternalRequest(); - wait->CreateWait(request); - section.m_cacheBlockIndex = cacheBlock; - section.m_parent = request; - section.m_wait = wait; - m_pendingRequests.emplace(m_inFlightRequests[cacheBlock], section); + // If set, this is the wait added by the delay. + if (section.m_wait) + { + m_context->MarkRequestAsCompleted(section.m_wait); + section.m_wait = nullptr; + } + + m_pendingRequests.emplace(readRequest, section); + m_next->QueueRequest(readRequest); return CacheResult::Queued; } - } - - BlockCache::CacheResult BlockCache::ServiceFromCache( - FileRequest* request, Section& section, const RequestPath& filePath, bool sharedRead) - { - AZ_Assert(m_next, "ServiceFromCache in BlockCache was called when the cache doesn't have a way to read files."); - - u32 cacheLocation = FindInCache(filePath, section.m_readOffset); - if (cacheLocation == s_fileNotCached) - { - m_hitRateStat.PushSample(0.0); - Statistic::PlotImmediate(m_name, CacheHitRateName, m_hitRateStat.GetMostRecentSample()); - - section.m_parent = request; - cacheLocation = RecycleOldestBlock(filePath, section.m_readOffset); - if (cacheLocation != s_fileNotCached) - { - FileRequest* readRequest = m_context->GetNewInternalRequest(); - readRequest->CreateRead(request, GetCacheBlockData(cacheLocation), m_blockSize, filePath, section.m_readOffset, - section.m_readSize, sharedRead); - readRequest->SetCompletionCallback([this](FileRequest& request) - { - AZ_PROFILE_FUNCTION(AzCore); - CompleteRead(request); - }); - section.m_cacheBlockIndex = cacheLocation; - m_inFlightRequests[cacheLocation] = readRequest; - m_numInFlightRequests++; - - // If set, this is the wait added by the delay. - if (section.m_wait) - { - m_context->MarkRequestAsCompleted(section.m_wait); - section.m_wait = nullptr; - } - - m_pendingRequests.emplace(readRequest, section); - m_next->QueueRequest(readRequest); - return CacheResult::Queued; - } - else - { - // There's no more space in the cache to store this request to. This is because there are more in-flight requests than - // there are slots in the cache. Delay the request until there's a slot available but add a wait for the section to - // make sure the request can't complete if some parts are read. - if (!section.m_wait) - { - section.m_wait = m_context->GetNewInternalRequest(); - section.m_wait->CreateWait(request); - } - m_delayedSections.push_back(section); - return CacheResult::Delayed; - } - } else { - // If set, this is the wait added by the delay when the cache was full. - if (section.m_wait) + // There's no more space in the cache to store this request to. This is because there are more in-flight requests than + // there are slots in the cache. Delay the request until there's a slot available but add a wait for the section to + // make sure the request can't complete if some parts are read. + if (!section.m_wait) { - m_context->MarkRequestAsCompleted(section.m_wait); - section.m_wait = nullptr; + section.m_wait = m_context->GetNewInternalRequest(); + section.m_wait->CreateWait(request); } - - m_hitRateStat.PushSample(1.0); - Statistic::PlotImmediate(m_name, CacheHitRateName, m_hitRateStat.GetMostRecentSample()); - - return ReadFromCache(request, section, cacheLocation); + m_delayedSections.push_back(section); + return CacheResult::Delayed; } } - - void BlockCache::CompleteRead(FileRequest& request) + else { - auto requestInfo = m_pendingRequests.equal_range(&request); - AZ_Assert(requestInfo.first != requestInfo.second, "Block cache was asked to complete a file request it never queued."); - - IStreamerTypes::RequestStatus requestStatus = request.GetStatus(); - bool requestWasSuccessful = requestStatus == IStreamerTypes::RequestStatus::Completed; - u32 cacheBlockIndex = requestInfo.first->second.m_cacheBlockIndex; - - for (auto it = requestInfo.first; it != requestInfo.second; ++it) + // If set, this is the wait added by the delay when the cache was full. + if (section.m_wait) { - Section& section = it->second; - AZ_Assert(section.m_cacheBlockIndex == cacheBlockIndex, - "Section associated with the file request is referencing the incorrect cache block (%u vs %u).", cacheBlockIndex, section.m_cacheBlockIndex); - if (section.m_wait) - { - section.m_wait->SetStatus(requestStatus); - m_context->MarkRequestAsCompleted(section.m_wait); - section.m_wait = nullptr; - } + m_context->MarkRequestAsCompleted(section.m_wait); + section.m_wait = nullptr; + } - if (requestWasSuccessful) - { - memcpy(section.m_output, GetCacheBlockData(cacheBlockIndex) + section.m_blockOffset, section.m_copySize); - } + m_hitRateStat.PushSample(1.0); + Statistic::PlotImmediate(m_name, CacheHitRateName, m_hitRateStat.GetMostRecentSample()); + + return ReadFromCache(request, section, cacheLocation); + } + } + + void BlockCache::CompleteRead(FileRequest& request) + { + auto requestInfo = m_pendingRequests.equal_range(&request); + AZ_Assert(requestInfo.first != requestInfo.second, "Block cache was asked to complete a file request it never queued."); + + IStreamerTypes::RequestStatus requestStatus = request.GetStatus(); + bool requestWasSuccessful = requestStatus == IStreamerTypes::RequestStatus::Completed; + u32 cacheBlockIndex = requestInfo.first->second.m_cacheBlockIndex; + + for (auto it = requestInfo.first; it != requestInfo.second; ++it) + { + Section& section = it->second; + AZ_Assert(section.m_cacheBlockIndex == cacheBlockIndex, + "Section associated with the file request is referencing the incorrect cache block (%u vs %u).", cacheBlockIndex, section.m_cacheBlockIndex); + if (section.m_wait) + { + section.m_wait->SetStatus(requestStatus); + m_context->MarkRequestAsCompleted(section.m_wait); + section.m_wait = nullptr; } if (requestWasSuccessful) { - TouchBlock(cacheBlockIndex); - m_inFlightRequests[cacheBlockIndex] = nullptr; + memcpy(section.m_output, GetCacheBlockData(cacheBlockIndex) + section.m_blockOffset, section.m_copySize); } - else - { - ResetCacheEntry(cacheBlockIndex); - } - AZ_Assert(m_numInFlightRequests > 0, "Clearing out an in-flight request, but there shouldn't be any in flight according to records."); - m_numInFlightRequests--; - m_pendingRequests.erase(&request); } - bool BlockCache::SplitRequest(Section& prolog, Section& main, Section& epilog, - [[maybe_unused]] const RequestPath& filePath, u64 fileLength, - u64 offset, u64 size, u8* buffer) const + if (requestWasSuccessful) { - AZ_Assert(offset + size <= fileLength, "File at path '%s' is being read past the end of the file.", filePath.GetRelativePath()); + TouchBlock(cacheBlockIndex); + m_inFlightRequests[cacheBlockIndex] = nullptr; + } + else + { + ResetCacheEntry(cacheBlockIndex); + } + AZ_Assert(m_numInFlightRequests > 0, "Clearing out an in-flight request, but there shouldn't be any in flight according to records."); + m_numInFlightRequests--; + m_pendingRequests.erase(&request); + } - // - // Prolog - // This looks at the request and sees if there's anything in front of the file that should be cached. This also - // deals with the situation where the entire file request fits inside the cache which could mean there's data - // left after the file as well that could be cached. - // - u64 roundedOffsetStart = AZ_SIZE_ALIGN_DOWN(offset, aznumeric_cast(m_blockSize)); - - u64 blockReadSizeStart = AZStd::min(fileLength - roundedOffsetStart, aznumeric_cast(m_blockSize)); - // Check if the request is on the left edge of the cache block, which means there's nothing in front of it - // that could be cached. - if (roundedOffsetStart == offset) - { - if (offset + size >= fileLength) - { - // The entire (remainder) of the file is read so there's nothing to cache - main.m_readOffset = offset; - main.m_readSize = size; - main.m_output = buffer; - main.m_used = true; - return true; - } - else if (size < blockReadSizeStart) - { - // The entire request fits inside a single cache block, but there's more file to read. - prolog.m_readOffset = offset; - prolog.m_readSize = blockReadSizeStart; - prolog.m_blockOffset = 0; - prolog.m_output = buffer; - prolog.m_copySize = size; - prolog.m_used = true; - return true; - } - // In any other case it means that the entire block would be read so caching has no effect. - } - else - { - // There is a portion of the file before that's not requested so always cache this block. - const u64 blockOffset = offset - roundedOffsetStart; - prolog.m_readOffset = roundedOffsetStart; - prolog.m_blockOffset = blockOffset; - prolog.m_output = buffer; - prolog.m_used = true; + bool BlockCache::SplitRequest(Section& prolog, Section& main, Section& epilog, + [[maybe_unused]] const RequestPath& filePath, u64 fileLength, + u64 offset, u64 size, u8* buffer) const + { + AZ_Assert(offset + size <= fileLength, "File at path '%s' is being read past the end of the file.", filePath.GetRelativePath()); - const bool isEntirelyInCache = blockOffset + size <= blockReadSizeStart; - if (isEntirelyInCache) - { - // The read size is already clamped to the file size above when blockReadSizeStart is set. - AZ_Assert(roundedOffsetStart + blockReadSizeStart <= fileLength, - "Read size in block cache was set to %llu but this is beyond the file length of %llu.", - roundedOffsetStart + blockReadSizeStart, fileLength); - prolog.m_readSize = blockReadSizeStart; - prolog.m_copySize = size; + // + // Prolog + // This looks at the request and sees if there's anything in front of the file that should be cached. This also + // deals with the situation where the entire file request fits inside the cache which could mean there's data + // left after the file as well that could be cached. + // + u64 roundedOffsetStart = AZ_SIZE_ALIGN_DOWN(offset, aznumeric_cast(m_blockSize)); - // There won't be anything else coming after this so continue reading. - return true; - } - else - { - prolog.m_readSize = blockReadSizeStart; - prolog.m_copySize = blockReadSizeStart - blockOffset; - } - } - - - // - // Epilog - // Since the prolog already takes care of the situation where the file fits entirely in the cache the epilog is - // much simpler as it only has to look at the case where there is more file after the request to read for caching. - // - u64 roundedOffsetEnd = AZ_SIZE_ALIGN_DOWN(offset + size, aznumeric_cast(m_blockSize)); - u64 copySize = offset + size - roundedOffsetEnd; - u64 blockReadSizeEnd = m_blockSize; - if ((roundedOffsetEnd + blockReadSizeEnd) > fileLength) + u64 blockReadSizeStart = AZStd::min(fileLength - roundedOffsetStart, aznumeric_cast(m_blockSize)); + // Check if the request is on the left edge of the cache block, which means there's nothing in front of it + // that could be cached. + if (roundedOffsetStart == offset) + { + if (offset + size >= fileLength) { - blockReadSizeEnd = fileLength - roundedOffsetEnd; - } - - // If the read doesn't align with the edge of the cache - if (copySize != 0 && copySize < blockReadSizeEnd) - { - epilog.m_readOffset = roundedOffsetEnd; - epilog.m_readSize = blockReadSizeEnd; - epilog.m_blockOffset = 0; - epilog.m_output = buffer + (roundedOffsetEnd - offset); - epilog.m_copySize = copySize; - epilog.m_used = true; - } - - // - // Main - // If this point is reached there's potentially a block between the prolog and epilog that can be directly read. - // - u64 adjustedOffset = offset; - if (prolog.m_used) - { - adjustedOffset += prolog.m_copySize; - size -= prolog.m_copySize; - } - if (epilog.m_used) - { - size -= epilog.m_copySize; - } - AZ_Assert(IStreamerTypes::IsAlignedTo(adjustedOffset, m_blockSize), - "The adjustments made by the prolog should guarantee the offset is aligned to a cache block."); - if (size != 0) - { - main.m_readOffset = adjustedOffset; + // The entire (remainder) of the file is read so there's nothing to cache + main.m_readOffset = offset; main.m_readSize = size; - main.m_output = buffer + (adjustedOffset - offset); + main.m_output = buffer; main.m_used = true; + return true; } - - return true; - } - - u8* BlockCache::GetCacheBlockData(u32 index) - { - AZ_Assert(index < m_numBlocks, "Index for touch a cache entry in the BlockCache is out of bounds."); - return m_cache + (index * m_blockSize); - } - - void BlockCache::TouchBlock(u32 index) - { - AZ_Assert(index < m_numBlocks, "Index for touch a cache entry in the BlockCache is out of bounds."); - m_blockLastTouched[index] = AZStd::chrono::high_resolution_clock::now(); - } - - u32 BlockCache::RecycleOldestBlock(const RequestPath& filePath, u64 offset) - { - AZ_Assert((offset & (m_blockSize - 1)) == 0, "The offset used to recycle a block cache needs to be a multiple of the block size."); - - // Find the oldest cache block. - TimePoint oldest = m_blockLastTouched[0]; - u32 oldestIndex = 0; - for (u32 i = 1; i < m_numBlocks; ++i) + else if (size < blockReadSizeStart) { - if (m_blockLastTouched[i] < oldest && !m_inFlightRequests[i]) - { - oldest = m_blockLastTouched[i]; - oldestIndex = i; - } + // The entire request fits inside a single cache block, but there's more file to read. + prolog.m_readOffset = offset; + prolog.m_readSize = blockReadSizeStart; + prolog.m_blockOffset = 0; + prolog.m_output = buffer; + prolog.m_copySize = size; + prolog.m_used = true; + return true; } + // In any other case it means that the entire block would be read so caching has no effect. + } + else + { + // There is a portion of the file before that's not requested so always cache this block. + const u64 blockOffset = offset - roundedOffsetStart; + prolog.m_readOffset = roundedOffsetStart; + prolog.m_blockOffset = blockOffset; + prolog.m_output = buffer; + prolog.m_used = true; - if (!IsCacheBlockInFlight(oldestIndex)) + const bool isEntirelyInCache = blockOffset + size <= blockReadSizeStart; + if (isEntirelyInCache) { - // Recycle the block. - m_cachedPaths[oldestIndex] = filePath; - m_cachedOffsets[oldestIndex] = offset; - TouchBlock(oldestIndex); - return oldestIndex; + // The read size is already clamped to the file size above when blockReadSizeStart is set. + AZ_Assert(roundedOffsetStart + blockReadSizeStart <= fileLength, + "Read size in block cache was set to %llu but this is beyond the file length of %llu.", + roundedOffsetStart + blockReadSizeStart, fileLength); + prolog.m_readSize = blockReadSizeStart; + prolog.m_copySize = size; + + // There won't be anything else coming after this so continue reading. + return true; } else { - return s_fileNotCached; + prolog.m_readSize = blockReadSizeStart; + prolog.m_copySize = blockReadSizeStart - blockOffset; } } - u32 BlockCache::FindInCache(const RequestPath& filePath, u64 offset) const - { - AZ_Assert((offset & (m_blockSize - 1)) == 0, "The offset used to find a block in the block cache needs to be a multiple of the block size."); - for (u32 i = 0; i < m_numBlocks; ++i) - { - if (m_cachedPaths[i] == filePath && m_cachedOffsets[i] == offset) - { - return i; - } - } + // + // Epilog + // Since the prolog already takes care of the situation where the file fits entirely in the cache the epilog is + // much simpler as it only has to look at the case where there is more file after the request to read for caching. + // + u64 roundedOffsetEnd = AZ_SIZE_ALIGN_DOWN(offset + size, aznumeric_cast(m_blockSize)); + u64 copySize = offset + size - roundedOffsetEnd; + u64 blockReadSizeEnd = m_blockSize; + if ((roundedOffsetEnd + blockReadSizeEnd) > fileLength) + { + blockReadSizeEnd = fileLength - roundedOffsetEnd; + } + + // If the read doesn't align with the edge of the cache + if (copySize != 0 && copySize < blockReadSizeEnd) + { + epilog.m_readOffset = roundedOffsetEnd; + epilog.m_readSize = blockReadSizeEnd; + epilog.m_blockOffset = 0; + epilog.m_output = buffer + (roundedOffsetEnd - offset); + epilog.m_copySize = copySize; + epilog.m_used = true; + } + + // + // Main + // If this point is reached there's potentially a block between the prolog and epilog that can be directly read. + // + u64 adjustedOffset = offset; + if (prolog.m_used) + { + adjustedOffset += prolog.m_copySize; + size -= prolog.m_copySize; + } + if (epilog.m_used) + { + size -= epilog.m_copySize; + } + AZ_Assert(IStreamerTypes::IsAlignedTo(adjustedOffset, m_blockSize), + "The adjustments made by the prolog should guarantee the offset is aligned to a cache block."); + if (size != 0) + { + main.m_readOffset = adjustedOffset; + main.m_readSize = size; + main.m_output = buffer + (adjustedOffset - offset); + main.m_used = true; + } + + return true; + } + + u8* BlockCache::GetCacheBlockData(u32 index) + { + AZ_Assert(index < m_numBlocks, "Index for touch a cache entry in the BlockCache is out of bounds."); + return m_cache + (index * m_blockSize); + } + + void BlockCache::TouchBlock(u32 index) + { + AZ_Assert(index < m_numBlocks, "Index for touch a cache entry in the BlockCache is out of bounds."); + m_blockLastTouched[index] = AZStd::chrono::high_resolution_clock::now(); + } + + u32 BlockCache::RecycleOldestBlock(const RequestPath& filePath, u64 offset) + { + AZ_Assert((offset & (m_blockSize - 1)) == 0, "The offset used to recycle a block cache needs to be a multiple of the block size."); + + // Find the oldest cache block. + TimePoint oldest = m_blockLastTouched[0]; + u32 oldestIndex = 0; + for (u32 i = 1; i < m_numBlocks; ++i) + { + if (m_blockLastTouched[i] < oldest && !m_inFlightRequests[i]) + { + oldest = m_blockLastTouched[i]; + oldestIndex = i; + } + } + + if (!IsCacheBlockInFlight(oldestIndex)) + { + // Recycle the block. + m_cachedPaths[oldestIndex] = filePath; + m_cachedOffsets[oldestIndex] = offset; + TouchBlock(oldestIndex); + return oldestIndex; + } + else + { return s_fileNotCached; } + } - bool BlockCache::IsCacheBlockInFlight(u32 index) const + u32 BlockCache::FindInCache(const RequestPath& filePath, u64 offset) const + { + AZ_Assert((offset & (m_blockSize - 1)) == 0, "The offset used to find a block in the block cache needs to be a multiple of the block size."); + for (u32 i = 0; i < m_numBlocks; ++i) { - AZ_Assert(index < m_numBlocks, "Index for checking if a cache block is in flight is out of bounds."); - return m_inFlightRequests[index] != nullptr; - } - - void BlockCache::ResetCacheEntry(u32 index) - { - AZ_Assert(index < m_numBlocks, "Index for resetting a cache entry in the BlockCache is out of bounds."); - - m_cachedPaths[index].Clear(); - m_cachedOffsets[index] = 0; - m_blockLastTouched[index] = TimePoint::min(); - m_inFlightRequests[index] = nullptr; - } - - void BlockCache::ResetCache() - { - for (u32 i = 0; i < m_numBlocks; ++i) + if (m_cachedPaths[i] == filePath && m_cachedOffsets[i] == offset) { - ResetCacheEntry(i); + return i; } - m_numInFlightRequests = 0; } - } // namespace IO -} // namespace AZ + + return s_fileNotCached; + } + + bool BlockCache::IsCacheBlockInFlight(u32 index) const + { + AZ_Assert(index < m_numBlocks, "Index for checking if a cache block is in flight is out of bounds."); + return m_inFlightRequests[index] != nullptr; + } + + void BlockCache::ResetCacheEntry(u32 index) + { + AZ_Assert(index < m_numBlocks, "Index for resetting a cache entry in the BlockCache is out of bounds."); + + m_cachedPaths[index].Clear(); + m_cachedOffsets[index] = 0; + m_blockLastTouched[index] = TimePoint::min(); + m_inFlightRequests[index] = nullptr; + } + + void BlockCache::ResetCache() + { + for (u32 i = 0; i < m_numBlocks; ++i) + { + ResetCacheEntry(i); + } + m_numInFlightRequests = 0; + } +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/Streamer/DedicatedCache.cpp b/Code/Framework/AzCore/AzCore/IO/Streamer/DedicatedCache.cpp index e0e512e21f..b80a1ea724 100644 --- a/Code/Framework/AzCore/AzCore/IO/Streamer/DedicatedCache.cpp +++ b/Code/Framework/AzCore/AzCore/IO/Streamer/DedicatedCache.cpp @@ -12,320 +12,317 @@ #include #include -namespace AZ +namespace AZ::IO { - namespace IO + AZStd::shared_ptr DedicatedCacheConfig::AddStreamStackEntry( + const HardwareInformation& hardware, AZStd::shared_ptr parent) { - AZStd::shared_ptr DedicatedCacheConfig::AddStreamStackEntry( - const HardwareInformation& hardware, AZStd::shared_ptr parent) + size_t blockSize; + switch (m_blockSize) { - size_t blockSize; - switch (m_blockSize) + case BlockCacheConfig::BlockSize::MaxTransfer: + blockSize = hardware.m_maxTransfer; + break; + case BlockCacheConfig::BlockSize::MemoryAlignment: + blockSize = hardware.m_maxPhysicalSectorSize; + break; + case BlockCacheConfig::BlockSize::SizeAlignment: + blockSize = hardware.m_maxLogicalSectorSize; + break; + default: + blockSize = m_blockSize; + break; + } + + u32 cacheSize = static_cast(m_cacheSizeMib * 1_mib); + if (blockSize > cacheSize) + { + AZ_Warning("Streamer", false, "Size (%u) for DedicatedCache isn't big enough to hold at least one cache blocks of size (%zu). " + "The cache size will be increased to fit one cache block.", cacheSize, blockSize); + cacheSize = aznumeric_caster(blockSize); + } + + auto stackEntry = AZStd::make_shared( + cacheSize, aznumeric_cast(blockSize), aznumeric_cast(hardware.m_maxPhysicalSectorSize), m_writeOnlyEpilog); + stackEntry->SetNext(AZStd::move(parent)); + return stackEntry; + } + + void DedicatedCacheConfig::Reflect(AZ::ReflectContext* context) + { + if (auto serializeContext = azrtti_cast(context); serializeContext != nullptr) + { + serializeContext->Class() + ->Version(1) + ->Field("CacheSizeMib", &DedicatedCacheConfig::m_cacheSizeMib) + ->Field("BlockSize", &DedicatedCacheConfig::m_blockSize) + ->Field("WriteOnlyEpilog", &DedicatedCacheConfig::m_writeOnlyEpilog); + } + } + + + + // + // DedicatedCache + // + + DedicatedCache::DedicatedCache(u64 cacheSize, u32 blockSize, u32 alignment, bool onlyEpilogWrites) + : StreamStackEntry("Dedicated cache") + , m_cacheSize(cacheSize) + , m_alignment(alignment) + , m_blockSize(blockSize) + , m_onlyEpilogWrites(onlyEpilogWrites) + { + } + + void DedicatedCache::SetNext(AZStd::shared_ptr next) + { + m_next = AZStd::move(next); + for (AZStd::unique_ptr& cache : m_cachedFileCaches) + { + cache->SetNext(m_next); + } + } + + void DedicatedCache::SetContext(StreamerContext& context) + { + StreamStackEntry::SetContext(context); + for (AZStd::unique_ptr& cache : m_cachedFileCaches) + { + cache->SetContext(context); + } + } + + void DedicatedCache::PrepareRequest(FileRequest* request) + { + AZ_Assert(request, "PrepareRequest was provided a null request."); + + // Claim the requests so other entries can't claim it and make updates. + AZStd::visit([this, request](auto&& args) + { + using Command = AZStd::decay_t; + if constexpr (AZStd::is_same_v) { - case BlockCacheConfig::BlockSize::MaxTransfer: - blockSize = hardware.m_maxTransfer; - break; - case BlockCacheConfig::BlockSize::MemoryAlignment: - blockSize = hardware.m_maxPhysicalSectorSize; - break; - case BlockCacheConfig::BlockSize::SizeAlignment: - blockSize = hardware.m_maxLogicalSectorSize; - break; - default: - blockSize = m_blockSize; - break; + args.m_range = FileRange::CreateRangeForEntireFile(); + m_context->PushPreparedRequest(request); } - - u32 cacheSize = static_cast(m_cacheSizeMib * 1_mib); - if (blockSize > cacheSize) + else if constexpr (AZStd::is_same_v) { - AZ_Warning("Streamer", false, "Size (%u) for DedicatedCache isn't big enough to hold at least one cache blocks of size (%zu). " - "The cache size will be increased to fit one cache block.", cacheSize, blockSize); - cacheSize = aznumeric_caster(blockSize); - } - - auto stackEntry = AZStd::make_shared( - cacheSize, aznumeric_cast(blockSize), aznumeric_cast(hardware.m_maxPhysicalSectorSize), m_writeOnlyEpilog); - stackEntry->SetNext(AZStd::move(parent)); - return stackEntry; - } - - void DedicatedCacheConfig::Reflect(AZ::ReflectContext* context) - { - if (auto serializeContext = azrtti_cast(context); serializeContext != nullptr) - { - serializeContext->Class() - ->Version(1) - ->Field("CacheSizeMib", &DedicatedCacheConfig::m_cacheSizeMib) - ->Field("BlockSize", &DedicatedCacheConfig::m_blockSize) - ->Field("WriteOnlyEpilog", &DedicatedCacheConfig::m_writeOnlyEpilog); - } - } - - - - // - // DedicatedCache - // - - DedicatedCache::DedicatedCache(u64 cacheSize, u32 blockSize, u32 alignment, bool onlyEpilogWrites) - : StreamStackEntry("Dedicated cache") - , m_cacheSize(cacheSize) - , m_alignment(alignment) - , m_blockSize(blockSize) - , m_onlyEpilogWrites(onlyEpilogWrites) - { - } - - void DedicatedCache::SetNext(AZStd::shared_ptr next) - { - m_next = AZStd::move(next); - for (AZStd::unique_ptr& cache : m_cachedFileCaches) - { - cache->SetNext(m_next); - } - } - - void DedicatedCache::SetContext(StreamerContext& context) - { - StreamStackEntry::SetContext(context); - for (AZStd::unique_ptr& cache : m_cachedFileCaches) - { - cache->SetContext(context); - } - } - - void DedicatedCache::PrepareRequest(FileRequest* request) - { - AZ_Assert(request, "PrepareRequest was provided a null request."); - - // Claim the requests so other entries can't claim it and make updates. - AZStd::visit([this, request](auto&& args) - { - using Command = AZStd::decay_t; - if constexpr (AZStd::is_same_v) - { - args.m_range = FileRange::CreateRangeForEntireFile(); - m_context->PushPreparedRequest(request); - } - else if constexpr (AZStd::is_same_v) - { - args.m_range = FileRange::CreateRangeForEntireFile(); - m_context->PushPreparedRequest(request); - } - else - { - StreamStackEntry::PrepareRequest(request); - } - }, request->GetCommand()); - } - - void DedicatedCache::QueueRequest(FileRequest* request) - { - AZ_Assert(request, "QueueRequest was provided a null request."); - - AZStd::visit([this, request](auto&& args) - { - using Command = AZStd::decay_t; - if constexpr (AZStd::is_same_v) - { - ReadFile(request, args); - return; - } - else if constexpr (AZStd::is_same_v) - { - CreateDedicatedCache(request, args); - return; - } - else if constexpr (AZStd::is_same_v) - { - DestroyDedicatedCache(request, args); - return; - } - else - { - if constexpr (AZStd::is_same_v) - { - FlushCache(args.m_path); - } - else if constexpr (AZStd::is_same_v) - { - FlushEntireCache(); - } - StreamStackEntry::QueueRequest(request); - } - }, request->GetCommand()); - } - - bool DedicatedCache::ExecuteRequests() - { - bool hasProcessedRequest = false; - for (AZStd::unique_ptr& cache : m_cachedFileCaches) - { - hasProcessedRequest = cache->ExecuteRequests() || hasProcessedRequest; - } - return StreamStackEntry::ExecuteRequests() || hasProcessedRequest; - } - - void DedicatedCache::UpdateStatus(Status& status) const - { - // Available slots are not updated because the dedicated caches are often - // small and specific to a tiny subset of files that are loaded. It would therefore - // return a small number of slots that would needlessly hamper streaming as it doesn't - // apply to the majority of files. - - bool isIdle = true; - for (auto& cache : m_cachedFileCaches) - { - Status blockStatus; - cache->UpdateStatus(blockStatus); - isIdle = isIdle && blockStatus.m_isIdle; - } - status.m_isIdle = status.m_isIdle && isIdle; - StreamStackEntry::UpdateStatus(status); - } - - void DedicatedCache::UpdateCompletionEstimates(AZStd::chrono::system_clock::time_point now, - AZStd::vector& internalPending, StreamerContext::PreparedQueue::iterator pendingBegin, - StreamerContext::PreparedQueue::iterator pendingEnd) - { - for (auto& cache : m_cachedFileCaches) - { - cache->AddDelayedRequests(internalPending); - } - - StreamStackEntry::UpdateCompletionEstimates(now, internalPending, pendingBegin, pendingEnd); - - for (auto& cache : m_cachedFileCaches) - { - cache->UpdatePendingRequestEstimations(); - } - } - - void DedicatedCache::ReadFile(FileRequest* request, FileRequest::ReadData& data) - { - size_t index = FindCache(data.m_path, data.m_offset); - if (index == s_fileNotFound) - { - m_usagePercentageStat.PushSample(0.0); - if (m_next) - { - m_next->QueueRequest(request); - } + args.m_range = FileRange::CreateRangeForEntireFile(); + m_context->PushPreparedRequest(request); } else { - m_usagePercentageStat.PushSample(1.0); - BlockCache& cache = *m_cachedFileCaches[index]; - cache.QueueRequest(request); -#if AZ_STREAMER_ADD_EXTRA_PROFILING_INFO - m_overallHitRateStat.PushSample(cache.CalculateHitRatePercentage()); - m_overallCacheableRateStat.PushSample(cache.CalculateCacheableRatePercentage()); -#endif + StreamStackEntry::PrepareRequest(request); } - } + }, request->GetCommand()); + } - void DedicatedCache::FlushCache(const RequestPath& filePath) + void DedicatedCache::QueueRequest(FileRequest* request) + { + AZ_Assert(request, "QueueRequest was provided a null request."); + + AZStd::visit([this, request](auto&& args) { - size_t count = m_cachedFileNames.size(); - for (size_t i = 0; i < count; ++i) + using Command = AZStd::decay_t; + if constexpr (AZStd::is_same_v) { - if (m_cachedFileNames[i] == filePath) - { - // Flush the entire block cache as it's entirely dedicated to the found file. - m_cachedFileCaches[i]->FlushEntireCache(); - } + ReadFile(request, args); + return; } - } - - void DedicatedCache::FlushEntireCache() - { - for (AZStd::unique_ptr& cache : m_cachedFileCaches) + else if constexpr (AZStd::is_same_v) { - cache->FlushEntireCache(); + CreateDedicatedCache(request, args); + return; } - } - - void DedicatedCache::CollectStatistics(AZStd::vector& statistics) const - { - statistics.push_back(Statistic::CreatePercentage(m_name, "Reads from dedicated cache", m_usagePercentageStat.GetAverage())); -#if AZ_STREAMER_ADD_EXTRA_PROFILING_INFO - statistics.push_back(Statistic::CreatePercentage(m_name, "Overall cacheable rate", m_overallCacheableRateStat.GetAverage())); - statistics.push_back(Statistic::CreatePercentage(m_name, "Overall hit rate", m_overallHitRateStat.GetAverage())); -#endif - statistics.push_back(Statistic::CreateInteger(m_name, "Num dedicated caches", aznumeric_caster(m_cachedFileNames.size()))); - StreamStackEntry::CollectStatistics(statistics); - } - - void DedicatedCache::CreateDedicatedCache(FileRequest* request, FileRequest::CreateDedicatedCacheData& data) - { - size_t index = FindCache(data.m_path, data.m_range); - if (index == s_fileNotFound) + else if constexpr (AZStd::is_same_v) { - index = m_cachedFileCaches.size(); - m_cachedFileNames.push_back(data.m_path); - m_cachedFileRanges.push_back(data.m_range); - m_cachedFileCaches.push_back(AZStd::make_unique(m_cacheSize, m_blockSize, m_alignment, m_onlyEpilogWrites)); - m_cachedFileCaches[index]->SetNext(m_next); - m_cachedFileCaches[index]->SetContext(*m_context); - m_cachedFileRefCounts.push_back(1); + DestroyDedicatedCache(request, args); + return; } else { - ++m_cachedFileRefCounts[index]; + if constexpr (AZStd::is_same_v) + { + FlushCache(args.m_path); + } + else if constexpr (AZStd::is_same_v) + { + FlushEntireCache(); + } + StreamStackEntry::QueueRequest(request); } - request->SetStatus(IStreamerTypes::RequestStatus::Completed); - m_context->MarkRequestAsCompleted(request); + }, request->GetCommand()); + } + + bool DedicatedCache::ExecuteRequests() + { + bool hasProcessedRequest = false; + for (AZStd::unique_ptr& cache : m_cachedFileCaches) + { + hasProcessedRequest = cache->ExecuteRequests() || hasProcessedRequest; + } + return StreamStackEntry::ExecuteRequests() || hasProcessedRequest; + } + + void DedicatedCache::UpdateStatus(Status& status) const + { + // Available slots are not updated because the dedicated caches are often + // small and specific to a tiny subset of files that are loaded. It would therefore + // return a small number of slots that would needlessly hamper streaming as it doesn't + // apply to the majority of files. + + bool isIdle = true; + for (auto& cache : m_cachedFileCaches) + { + Status blockStatus; + cache->UpdateStatus(blockStatus); + isIdle = isIdle && blockStatus.m_isIdle; + } + status.m_isIdle = status.m_isIdle && isIdle; + StreamStackEntry::UpdateStatus(status); + } + + void DedicatedCache::UpdateCompletionEstimates(AZStd::chrono::system_clock::time_point now, + AZStd::vector& internalPending, StreamerContext::PreparedQueue::iterator pendingBegin, + StreamerContext::PreparedQueue::iterator pendingEnd) + { + for (auto& cache : m_cachedFileCaches) + { + cache->AddDelayedRequests(internalPending); } - void DedicatedCache::DestroyDedicatedCache(FileRequest* request, FileRequest::DestroyDedicatedCacheData& data) - { - size_t index = FindCache(data.m_path, data.m_range); - if (index != s_fileNotFound) - { - if (m_cachedFileRefCounts[index] > 0) - { - --m_cachedFileRefCounts[index]; - if (m_cachedFileRefCounts[index] == 0) - { - m_cachedFileNames.erase(m_cachedFileNames.begin() + index); - m_cachedFileRanges.erase(m_cachedFileRanges.begin() + index); - m_cachedFileCaches.erase(m_cachedFileCaches.begin() + index); - m_cachedFileRefCounts.erase(m_cachedFileRefCounts.begin() + index); - } - request->SetStatus(IStreamerTypes::RequestStatus::Completed); - m_context->MarkRequestAsCompleted(request); - return; - } - } - request->SetStatus(IStreamerTypes::RequestStatus::Failed); - m_context->MarkRequestAsCompleted(request); - } + StreamStackEntry::UpdateCompletionEstimates(now, internalPending, pendingBegin, pendingEnd); - size_t DedicatedCache::FindCache(const RequestPath& filename, FileRange range) + for (auto& cache : m_cachedFileCaches) { - size_t count = m_cachedFileNames.size(); - for (size_t i = 0; i < count; ++i) - { - if (m_cachedFileNames[i] == filename && m_cachedFileRanges[i] == range) - { - return i; - } - } - return s_fileNotFound; + cache->UpdatePendingRequestEstimations(); } + } - size_t DedicatedCache::FindCache(const RequestPath& filename, u64 offset) + void DedicatedCache::ReadFile(FileRequest* request, FileRequest::ReadData& data) + { + size_t index = FindCache(data.m_path, data.m_offset); + if (index == s_fileNotFound) { - size_t count = m_cachedFileNames.size(); - for (size_t i = 0; i < count; ++i) + m_usagePercentageStat.PushSample(0.0); + if (m_next) { - if (m_cachedFileNames[i] == filename && m_cachedFileRanges[i].IsInRange(offset)) - { - return i; - } + m_next->QueueRequest(request); } - return s_fileNotFound; } - } // namespace IO -} // namespace AZ + else + { + m_usagePercentageStat.PushSample(1.0); + BlockCache& cache = *m_cachedFileCaches[index]; + cache.QueueRequest(request); +#if AZ_STREAMER_ADD_EXTRA_PROFILING_INFO + m_overallHitRateStat.PushSample(cache.CalculateHitRatePercentage()); + m_overallCacheableRateStat.PushSample(cache.CalculateCacheableRatePercentage()); +#endif + } + } + + void DedicatedCache::FlushCache(const RequestPath& filePath) + { + size_t count = m_cachedFileNames.size(); + for (size_t i = 0; i < count; ++i) + { + if (m_cachedFileNames[i] == filePath) + { + // Flush the entire block cache as it's entirely dedicated to the found file. + m_cachedFileCaches[i]->FlushEntireCache(); + } + } + } + + void DedicatedCache::FlushEntireCache() + { + for (AZStd::unique_ptr& cache : m_cachedFileCaches) + { + cache->FlushEntireCache(); + } + } + + void DedicatedCache::CollectStatistics(AZStd::vector& statistics) const + { + statistics.push_back(Statistic::CreatePercentage(m_name, "Reads from dedicated cache", m_usagePercentageStat.GetAverage())); +#if AZ_STREAMER_ADD_EXTRA_PROFILING_INFO + statistics.push_back(Statistic::CreatePercentage(m_name, "Overall cacheable rate", m_overallCacheableRateStat.GetAverage())); + statistics.push_back(Statistic::CreatePercentage(m_name, "Overall hit rate", m_overallHitRateStat.GetAverage())); +#endif + statistics.push_back(Statistic::CreateInteger(m_name, "Num dedicated caches", aznumeric_caster(m_cachedFileNames.size()))); + StreamStackEntry::CollectStatistics(statistics); + } + + void DedicatedCache::CreateDedicatedCache(FileRequest* request, FileRequest::CreateDedicatedCacheData& data) + { + size_t index = FindCache(data.m_path, data.m_range); + if (index == s_fileNotFound) + { + index = m_cachedFileCaches.size(); + m_cachedFileNames.push_back(data.m_path); + m_cachedFileRanges.push_back(data.m_range); + m_cachedFileCaches.push_back(AZStd::make_unique(m_cacheSize, m_blockSize, m_alignment, m_onlyEpilogWrites)); + m_cachedFileCaches[index]->SetNext(m_next); + m_cachedFileCaches[index]->SetContext(*m_context); + m_cachedFileRefCounts.push_back(1); + } + else + { + ++m_cachedFileRefCounts[index]; + } + request->SetStatus(IStreamerTypes::RequestStatus::Completed); + m_context->MarkRequestAsCompleted(request); + } + + void DedicatedCache::DestroyDedicatedCache(FileRequest* request, FileRequest::DestroyDedicatedCacheData& data) + { + size_t index = FindCache(data.m_path, data.m_range); + if (index != s_fileNotFound) + { + if (m_cachedFileRefCounts[index] > 0) + { + --m_cachedFileRefCounts[index]; + if (m_cachedFileRefCounts[index] == 0) + { + m_cachedFileNames.erase(m_cachedFileNames.begin() + index); + m_cachedFileRanges.erase(m_cachedFileRanges.begin() + index); + m_cachedFileCaches.erase(m_cachedFileCaches.begin() + index); + m_cachedFileRefCounts.erase(m_cachedFileRefCounts.begin() + index); + } + request->SetStatus(IStreamerTypes::RequestStatus::Completed); + m_context->MarkRequestAsCompleted(request); + return; + } + } + request->SetStatus(IStreamerTypes::RequestStatus::Failed); + m_context->MarkRequestAsCompleted(request); + } + + size_t DedicatedCache::FindCache(const RequestPath& filename, FileRange range) + { + size_t count = m_cachedFileNames.size(); + for (size_t i = 0; i < count; ++i) + { + if (m_cachedFileNames[i] == filename && m_cachedFileRanges[i] == range) + { + return i; + } + } + return s_fileNotFound; + } + + size_t DedicatedCache::FindCache(const RequestPath& filename, u64 offset) + { + size_t count = m_cachedFileNames.size(); + for (size_t i = 0; i < count; ++i) + { + if (m_cachedFileNames[i] == filename && m_cachedFileRanges[i].IsInRange(offset)) + { + return i; + } + } + return s_fileNotFound; + } +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/Streamer/FileRange.cpp b/Code/Framework/AzCore/AzCore/IO/Streamer/FileRange.cpp index df4f77b722..3a568d3f47 100644 --- a/Code/Framework/AzCore/AzCore/IO/Streamer/FileRange.cpp +++ b/Code/Framework/AzCore/AzCore/IO/Streamer/FileRange.cpp @@ -8,104 +8,101 @@ #include -namespace AZ +namespace AZ::IO { - namespace IO + FileRange FileRange::CreateRange(u64 offset, u64 size) { - FileRange FileRange::CreateRange(u64 offset, u64 size) - { - FileRange result; - result.m_hasOffsetEndSet = true; - result.m_isEntireFile = false; - result.m_offsetBegin = offset; - result.m_offsetEnd = offset + size; - return result; - } + FileRange result; + result.m_hasOffsetEndSet = true; + result.m_isEntireFile = false; + result.m_offsetBegin = offset; + result.m_offsetEnd = offset + size; + return result; + } - FileRange FileRange::CreateRangeForEntireFile() - { - FileRange result; - result.m_hasOffsetEndSet = false; - result.m_isEntireFile = true; - result.m_offsetBegin = 0; - result.m_offsetEnd = (static_cast(1) << 63) - 1; - return result; - } + FileRange FileRange::CreateRangeForEntireFile() + { + FileRange result; + result.m_hasOffsetEndSet = false; + result.m_isEntireFile = true; + result.m_offsetBegin = 0; + result.m_offsetEnd = (static_cast(1) << 63) - 1; + return result; + } - FileRange FileRange::CreateRangeForEntireFile(u64 fileSize) - { - FileRange result; - result.m_hasOffsetEndSet = true; - result.m_isEntireFile = true; - result.m_offsetBegin = 0; - result.m_offsetEnd = fileSize; - return result; - } + FileRange FileRange::CreateRangeForEntireFile(u64 fileSize) + { + FileRange result; + result.m_hasOffsetEndSet = true; + result.m_isEntireFile = true; + result.m_offsetBegin = 0; + result.m_offsetEnd = fileSize; + return result; + } - FileRange::FileRange() - : m_isEntireFile(false) - , m_offsetBegin(0) - , m_hasOffsetEndSet(false) - , m_offsetEnd(0) - { - } + FileRange::FileRange() + : m_isEntireFile(false) + , m_offsetBegin(0) + , m_hasOffsetEndSet(false) + , m_offsetEnd(0) + { + } - bool FileRange::operator==(const FileRange& rhs) const + bool FileRange::operator==(const FileRange& rhs) const + { + if (m_isEntireFile) { - if (m_isEntireFile) - { - return rhs.m_isEntireFile && m_offsetBegin == rhs.m_offsetBegin; - } - else - { - return m_offsetBegin == rhs.m_offsetBegin && m_offsetEnd == rhs.m_offsetEnd; - } + return rhs.m_isEntireFile && m_offsetBegin == rhs.m_offsetBegin; } + else + { + return m_offsetBegin == rhs.m_offsetBegin && m_offsetEnd == rhs.m_offsetEnd; + } + } - bool FileRange::operator!=(const FileRange& rhs) const + bool FileRange::operator!=(const FileRange& rhs) const + { + if (m_isEntireFile) { - if (m_isEntireFile) - { - return !rhs.m_isEntireFile || m_offsetBegin != rhs.m_offsetBegin; - } - else - { - return m_offsetBegin != rhs.m_offsetBegin || m_offsetEnd != rhs.m_offsetEnd; - } + return !rhs.m_isEntireFile || m_offsetBegin != rhs.m_offsetBegin; } + else + { + return m_offsetBegin != rhs.m_offsetBegin || m_offsetEnd != rhs.m_offsetEnd; + } + } - bool FileRange::IsEntireFile() const - { - return m_isEntireFile != 0; - } + bool FileRange::IsEntireFile() const + { + return m_isEntireFile != 0; + } - bool FileRange::IsSizeKnown() const - { - // m_hasOffsetEndSet being zero has the special meaning that the file size has not - // specifically been set yet. - return m_hasOffsetEndSet != 0; - } + bool FileRange::IsSizeKnown() const + { + // m_hasOffsetEndSet being zero has the special meaning that the file size has not + // specifically been set yet. + return m_hasOffsetEndSet != 0; + } - bool FileRange::IsInRange(u64 offset) const - { - return m_offsetBegin <= offset && offset < m_offsetEnd; - } + bool FileRange::IsInRange(u64 offset) const + { + return m_offsetBegin <= offset && offset < m_offsetEnd; + } - u64 FileRange::GetOffset() const - { - return m_offsetBegin; - } + u64 FileRange::GetOffset() const + { + return m_offsetBegin; + } - u64 FileRange::GetSize() const - { - AZ_Assert(m_hasOffsetEndSet, "Calling GetSize on a FileRange that doesn't have a size specified."); - return m_offsetEnd - m_offsetBegin; - } + u64 FileRange::GetSize() const + { + AZ_Assert(m_hasOffsetEndSet, "Calling GetSize on a FileRange that doesn't have a size specified."); + return m_offsetEnd - m_offsetBegin; + } - u64 FileRange::GetEndPoint() const - { - AZ_Assert(m_hasOffsetEndSet, "Calling GetEndPoint on a FileRange that doesn't have an end offset specified."); - return m_offsetEnd; - } - } // namespace IO -} // namesapce AZ + u64 FileRange::GetEndPoint() const + { + AZ_Assert(m_hasOffsetEndSet, "Calling GetEndPoint on a FileRange that doesn't have an end offset specified."); + return m_offsetEnd; + } +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/Streamer/FileRequest.cpp b/Code/Framework/AzCore/AzCore/IO/Streamer/FileRequest.cpp index 7b9cde76d3..fc05b77b36 100644 --- a/Code/Framework/AzCore/AzCore/IO/Streamer/FileRequest.cpp +++ b/Code/Framework/AzCore/AzCore/IO/Streamer/FileRequest.cpp @@ -12,469 +12,466 @@ #include #include -namespace AZ +namespace AZ::IO { - namespace IO + // + // Command structures. + // + + FileRequest::ExternalRequestData::ExternalRequestData(FileRequestPtr&& request) + : m_request(AZStd::move(request)) + {} + + FileRequest::RequestPathStoreData::RequestPathStoreData(RequestPath path) + : m_path(AZStd::move(path)) + {} + + FileRequest::ReadRequestData::ReadRequestData(RequestPath path, void* output, u64 outputSize, u64 offset, u64 size, + AZStd::chrono::system_clock::time_point deadline, IStreamerTypes::Priority priority) + : m_path(AZStd::move(path)) + , m_allocator(nullptr) + , m_deadline(deadline) + , m_output(output) + , m_outputSize(outputSize) + , m_offset(offset) + , m_size(size) + , m_priority(priority) + , m_memoryType(IStreamerTypes::MemoryType::ReadWrite) // Only generic memory can be assigned externally. + {} + + FileRequest::ReadRequestData::ReadRequestData(RequestPath path, IStreamerTypes::RequestMemoryAllocator* allocator, + u64 offset, u64 size, AZStd::chrono::system_clock::time_point deadline, IStreamerTypes::Priority priority) + : m_path(AZStd::move(path)) + , m_allocator(allocator) + , m_deadline(deadline) + , m_output(nullptr) + , m_outputSize(0) + , m_offset(offset) + , m_size(size) + , m_priority(priority) + , m_memoryType(IStreamerTypes::MemoryType::ReadWrite) // Only generic memory can be assigned externally. + {} + + FileRequest::ReadRequestData::~ReadRequestData() { - // - // Command structures. - // - - FileRequest::ExternalRequestData::ExternalRequestData(FileRequestPtr&& request) - : m_request(AZStd::move(request)) - {} - - FileRequest::RequestPathStoreData::RequestPathStoreData(RequestPath path) - : m_path(AZStd::move(path)) - {} - - FileRequest::ReadRequestData::ReadRequestData(RequestPath path, void* output, u64 outputSize, u64 offset, u64 size, - AZStd::chrono::system_clock::time_point deadline, IStreamerTypes::Priority priority) - : m_path(AZStd::move(path)) - , m_allocator(nullptr) - , m_deadline(deadline) - , m_output(output) - , m_outputSize(outputSize) - , m_offset(offset) - , m_size(size) - , m_priority(priority) - , m_memoryType(IStreamerTypes::MemoryType::ReadWrite) // Only generic memory can be assigned externally. - {} - - FileRequest::ReadRequestData::ReadRequestData(RequestPath path, IStreamerTypes::RequestMemoryAllocator* allocator, - u64 offset, u64 size, AZStd::chrono::system_clock::time_point deadline, IStreamerTypes::Priority priority) - : m_path(AZStd::move(path)) - , m_allocator(allocator) - , m_deadline(deadline) - , m_output(nullptr) - , m_outputSize(0) - , m_offset(offset) - , m_size(size) - , m_priority(priority) - , m_memoryType(IStreamerTypes::MemoryType::ReadWrite) // Only generic memory can be assigned externally. - {} - - FileRequest::ReadRequestData::~ReadRequestData() + if (m_allocator != nullptr) { - if (m_allocator != nullptr) + if (m_output != nullptr) { - if (m_output != nullptr) - { - m_allocator->Release(m_output); - } - m_allocator->UnlockAllocator(); + m_allocator->Release(m_output); } + m_allocator->UnlockAllocator(); } + } - FileRequest::ReadData::ReadData(void* output, u64 outputSize, const RequestPath& path, u64 offset, u64 size, bool sharedRead) - : m_output(output) - , m_outputSize(outputSize) - , m_path(path) - , m_offset(offset) - , m_size(size) - , m_sharedRead(sharedRead) - {} + FileRequest::ReadData::ReadData(void* output, u64 outputSize, const RequestPath& path, u64 offset, u64 size, bool sharedRead) + : m_output(output) + , m_outputSize(outputSize) + , m_path(path) + , m_offset(offset) + , m_size(size) + , m_sharedRead(sharedRead) + {} - FileRequest::CompressedReadData::CompressedReadData(CompressionInfo&& compressionInfo, void* output, u64 readOffset, u64 readSize) - : m_compressionInfo(AZStd::move(compressionInfo)) - , m_output(output) - , m_readOffset(readOffset) - , m_readSize(readSize) - {} + FileRequest::CompressedReadData::CompressedReadData(CompressionInfo&& compressionInfo, void* output, u64 readOffset, u64 readSize) + : m_compressionInfo(AZStd::move(compressionInfo)) + , m_output(output) + , m_readOffset(readOffset) + , m_readSize(readSize) + {} - FileRequest::FileExistsCheckData::FileExistsCheckData(const RequestPath& path) - : m_path(path) - {} + FileRequest::FileExistsCheckData::FileExistsCheckData(const RequestPath& path) + : m_path(path) + {} - FileRequest::FileMetaDataRetrievalData::FileMetaDataRetrievalData(const RequestPath& path) - : m_path(path) - {} + FileRequest::FileMetaDataRetrievalData::FileMetaDataRetrievalData(const RequestPath& path) + : m_path(path) + {} - FileRequest::CancelData::CancelData(FileRequestPtr target) - : m_target(AZStd::move(target)) - {} + FileRequest::CancelData::CancelData(FileRequestPtr target) + : m_target(AZStd::move(target)) + {} - FileRequest::FlushData::FlushData(RequestPath path) - : m_path(AZStd::move(path)) - {} + FileRequest::FlushData::FlushData(RequestPath path) + : m_path(AZStd::move(path)) + {} - FileRequest::RescheduleData::RescheduleData(FileRequestPtr target, AZStd::chrono::system_clock::time_point newDeadline, - IStreamerTypes::Priority newPriority) - : m_target(AZStd::move(target)) - , m_newDeadline(newDeadline) - , m_newPriority(newPriority) - {} + FileRequest::RescheduleData::RescheduleData(FileRequestPtr target, AZStd::chrono::system_clock::time_point newDeadline, + IStreamerTypes::Priority newPriority) + : m_target(AZStd::move(target)) + , m_newDeadline(newDeadline) + , m_newPriority(newPriority) + {} - FileRequest::CreateDedicatedCacheData::CreateDedicatedCacheData(RequestPath path, const FileRange& range) - : m_path(AZStd::move(path)) - , m_range(range) - {} + FileRequest::CreateDedicatedCacheData::CreateDedicatedCacheData(RequestPath path, const FileRange& range) + : m_path(AZStd::move(path)) + , m_range(range) + {} - FileRequest::DestroyDedicatedCacheData::DestroyDedicatedCacheData(RequestPath path, const FileRange& range) - : m_path(AZStd::move(path)) - , m_range(range) - {} + FileRequest::DestroyDedicatedCacheData::DestroyDedicatedCacheData(RequestPath path, const FileRange& range) + : m_path(AZStd::move(path)) + , m_range(range) + {} - FileRequest::ReportData::ReportData(ReportType reportType) - : m_reportType(reportType) - {} + FileRequest::ReportData::ReportData(ReportType reportType) + : m_reportType(reportType) + {} - FileRequest::CustomData::CustomData(AZStd::any data, bool failWhenUnhandled) - : m_data(AZStd::move(data)) - , m_failWhenUnhandled(failWhenUnhandled) - {} + FileRequest::CustomData::CustomData(AZStd::any data, bool failWhenUnhandled) + : m_data(AZStd::move(data)) + , m_failWhenUnhandled(failWhenUnhandled) + {} - // - // FileRequest - // + // + // FileRequest + // - FileRequest::FileRequest(Usage usage) - : m_usage(usage) + FileRequest::FileRequest(Usage usage) + : m_usage(usage) + { + Reset(); + } + + FileRequest::~FileRequest() + { + Reset(); + } + + void FileRequest::CreateRequestLink(FileRequestPtr&& request) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'RequestLink', but another task was already assigned."); + m_parent = request->m_request.m_parent; + request->m_request.m_parent = this; + m_dependencies++; + m_command.emplace(AZStd::move(request)); + } + + void FileRequest::CreateRequestPathStore(FileRequest* parent, RequestPath path) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'CreateRequestPathStore', but another task was already assigned."); + m_command.emplace(AZStd::move(path)); + SetOptionalParent(parent); + } + + void FileRequest::CreateReadRequest(RequestPath path, void* output, u64 outputSize, u64 offset, u64 size, + AZStd::chrono::system_clock::time_point deadline, IStreamerTypes::Priority priority) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'ReadRequest', but another task was already assigned."); + m_command.emplace(AZStd::move(path), output, outputSize, offset, size, deadline, priority); + } + + void FileRequest::CreateReadRequest(RequestPath path, IStreamerTypes::RequestMemoryAllocator* allocator, u64 offset, u64 size, + AZStd::chrono::system_clock::time_point deadline, IStreamerTypes::Priority priority) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'ReadRequest', but another task was already assigned."); + m_command.emplace(AZStd::move(path), allocator, offset, size, deadline, priority); + } + + void FileRequest::CreateRead(FileRequest* parent, void* output, u64 outputSize, const RequestPath& path, + u64 offset, u64 size, bool sharedRead) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'Read', but another task was already assigned."); + m_command.emplace(output, outputSize, AZStd::move(path), offset, size, sharedRead); + SetOptionalParent(parent); + } + + void FileRequest::CreateCompressedRead(FileRequest* parent, const CompressionInfo& compressionInfo, + void* output, u64 readOffset, u64 readSize) + { + CreateCompressedRead(parent, CompressionInfo(compressionInfo), output, readOffset, readSize); + } + + void FileRequest::CreateCompressedRead(FileRequest* parent, CompressionInfo&& compressionInfo, + void* output, u64 readOffset, u64 readSize) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'CompressedRead', but another task was already assigned."); + m_command.emplace(AZStd::move(compressionInfo), output, readOffset, readSize); + SetOptionalParent(parent); + } + + void FileRequest::CreateWait(FileRequest* parent) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'Wait', but another task was already assigned."); + m_command.emplace(); + SetOptionalParent(parent); + } + + void FileRequest::CreateFileExistsCheck(const RequestPath& path) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'FileExistsCheck', but another task was already assigned."); + m_command.emplace(path); + } + + void FileRequest::CreateFileMetaDataRetrieval(const RequestPath& path) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'FileMetaDataRetrieval', but another task was already assigned."); + m_command.emplace(path); + } + + void FileRequest::CreateCancel(FileRequestPtr target) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'Cancel', but another task was already assigned."); + m_command.emplace(AZStd::move(target)); + } + + void FileRequest::CreateReschedule(FileRequestPtr target, AZStd::chrono::system_clock::time_point newDeadline, + IStreamerTypes::Priority newPriority) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'Reschedule', but another task was already assigned."); + m_command.emplace(AZStd::move(target), newDeadline, newPriority); + } + + void FileRequest::CreateFlush(RequestPath path) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'Flush', but another task was already assigned."); + m_command.emplace(AZStd::move(path)); + } + + void FileRequest::CreateFlushAll() + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'FlushAll', but another task was already assigned."); + m_command.emplace(); + } + + void FileRequest::CreateDedicatedCacheCreation(RequestPath path, const FileRange& range, FileRequest* parent) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'CreateDedicateCache', but another task was already assigned."); + m_command.emplace(AZStd::move(path), range); + SetOptionalParent(parent); + } + + void FileRequest::CreateDedicatedCacheDestruction(RequestPath path, const FileRange& range, FileRequest* parent) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'DestroyDedicateCache', but another task was already assigned."); + m_command.emplace(AZStd::move(path), range); + SetOptionalParent(parent); + } + + void FileRequest::CreateReport(ReportData::ReportType reportType) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'Report', but another task was already assigned."); + m_command.emplace(reportType); + } + + void FileRequest::CreateCustom(AZStd::any data, bool failWhenUnhandled, FileRequest* parent) + { + AZ_Assert(AZStd::holds_alternative(m_command), + "Attempting to set FileRequest to 'Custom', but another task was already assigned."); + m_command.emplace(AZStd::move(data), failWhenUnhandled); + SetOptionalParent(parent); + } + + void FileRequest::SetCompletionCallback(OnCompletionCallback callback) + { + m_onCompletion = AZStd::move(callback); + } + + FileRequest::CommandVariant& FileRequest::GetCommand() + { + return m_command; + } + + const FileRequest::CommandVariant& FileRequest::GetCommand() const + { + return m_command; + } + + IStreamerTypes::RequestStatus FileRequest::GetStatus() const + { + return m_status; + } + + void FileRequest::SetStatus(IStreamerTypes::RequestStatus newStatus) + { + IStreamerTypes::RequestStatus currentStatus = m_status; + switch (newStatus) { - Reset(); - } - - FileRequest::~FileRequest() - { - Reset(); - } - - void FileRequest::CreateRequestLink(FileRequestPtr&& request) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'RequestLink', but another task was already assigned."); - m_parent = request->m_request.m_parent; - request->m_request.m_parent = this; - m_dependencies++; - m_command.emplace(AZStd::move(request)); - } - - void FileRequest::CreateRequestPathStore(FileRequest* parent, RequestPath path) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'CreateRequestPathStore', but another task was already assigned."); - m_command.emplace(AZStd::move(path)); - SetOptionalParent(parent); - } - - void FileRequest::CreateReadRequest(RequestPath path, void* output, u64 outputSize, u64 offset, u64 size, - AZStd::chrono::system_clock::time_point deadline, IStreamerTypes::Priority priority) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'ReadRequest', but another task was already assigned."); - m_command.emplace(AZStd::move(path), output, outputSize, offset, size, deadline, priority); - } - - void FileRequest::CreateReadRequest(RequestPath path, IStreamerTypes::RequestMemoryAllocator* allocator, u64 offset, u64 size, - AZStd::chrono::system_clock::time_point deadline, IStreamerTypes::Priority priority) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'ReadRequest', but another task was already assigned."); - m_command.emplace(AZStd::move(path), allocator, offset, size, deadline, priority); - } - - void FileRequest::CreateRead(FileRequest* parent, void* output, u64 outputSize, const RequestPath& path, - u64 offset, u64 size, bool sharedRead) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'Read', but another task was already assigned."); - m_command.emplace(output, outputSize, AZStd::move(path), offset, size, sharedRead); - SetOptionalParent(parent); - } - - void FileRequest::CreateCompressedRead(FileRequest* parent, const CompressionInfo& compressionInfo, - void* output, u64 readOffset, u64 readSize) - { - CreateCompressedRead(parent, CompressionInfo(compressionInfo), output, readOffset, readSize); - } - - void FileRequest::CreateCompressedRead(FileRequest* parent, CompressionInfo&& compressionInfo, - void* output, u64 readOffset, u64 readSize) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'CompressedRead', but another task was already assigned."); - m_command.emplace(AZStd::move(compressionInfo), output, readOffset, readSize); - SetOptionalParent(parent); - } - - void FileRequest::CreateWait(FileRequest* parent) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'Wait', but another task was already assigned."); - m_command.emplace(); - SetOptionalParent(parent); - } - - void FileRequest::CreateFileExistsCheck(const RequestPath& path) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'FileExistsCheck', but another task was already assigned."); - m_command.emplace(path); - } - - void FileRequest::CreateFileMetaDataRetrieval(const RequestPath& path) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'FileMetaDataRetrieval', but another task was already assigned."); - m_command.emplace(path); - } - - void FileRequest::CreateCancel(FileRequestPtr target) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'Cancel', but another task was already assigned."); - m_command.emplace(AZStd::move(target)); - } - - void FileRequest::CreateReschedule(FileRequestPtr target, AZStd::chrono::system_clock::time_point newDeadline, - IStreamerTypes::Priority newPriority) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'Reschedule', but another task was already assigned."); - m_command.emplace(AZStd::move(target), newDeadline, newPriority); - } - - void FileRequest::CreateFlush(RequestPath path) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'Flush', but another task was already assigned."); - m_command.emplace(AZStd::move(path)); - } - - void FileRequest::CreateFlushAll() - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'FlushAll', but another task was already assigned."); - m_command.emplace(); - } - - void FileRequest::CreateDedicatedCacheCreation(RequestPath path, const FileRange& range, FileRequest* parent) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'CreateDedicateCache', but another task was already assigned."); - m_command.emplace(AZStd::move(path), range); - SetOptionalParent(parent); - } - - void FileRequest::CreateDedicatedCacheDestruction(RequestPath path, const FileRange& range, FileRequest* parent) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'DestroyDedicateCache', but another task was already assigned."); - m_command.emplace(AZStd::move(path), range); - SetOptionalParent(parent); - } - - void FileRequest::CreateReport(ReportData::ReportType reportType) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'Report', but another task was already assigned."); - m_command.emplace(reportType); - } - - void FileRequest::CreateCustom(AZStd::any data, bool failWhenUnhandled, FileRequest* parent) - { - AZ_Assert(AZStd::holds_alternative(m_command), - "Attempting to set FileRequest to 'Custom', but another task was already assigned."); - m_command.emplace(AZStd::move(data), failWhenUnhandled); - SetOptionalParent(parent); - } - - void FileRequest::SetCompletionCallback(OnCompletionCallback callback) - { - m_onCompletion = AZStd::move(callback); - } - - FileRequest::CommandVariant& FileRequest::GetCommand() - { - return m_command; - } - - const FileRequest::CommandVariant& FileRequest::GetCommand() const - { - return m_command; - } - - IStreamerTypes::RequestStatus FileRequest::GetStatus() const - { - return m_status; - } - - void FileRequest::SetStatus(IStreamerTypes::RequestStatus newStatus) - { - IStreamerTypes::RequestStatus currentStatus = m_status; - switch (newStatus) + case IStreamerTypes::RequestStatus::Pending: + [[fallthrough]]; + case IStreamerTypes::RequestStatus::Queued: + [[fallthrough]]; + case IStreamerTypes::RequestStatus::Processing: + if (currentStatus == IStreamerTypes::RequestStatus::Failed || + currentStatus == IStreamerTypes::RequestStatus::Canceled || + currentStatus == IStreamerTypes::RequestStatus::Completed) { - case IStreamerTypes::RequestStatus::Pending: - [[fallthrough]]; - case IStreamerTypes::RequestStatus::Queued: - [[fallthrough]]; - case IStreamerTypes::RequestStatus::Processing: - if (currentStatus == IStreamerTypes::RequestStatus::Failed || - currentStatus == IStreamerTypes::RequestStatus::Canceled || - currentStatus == IStreamerTypes::RequestStatus::Completed) - { - return; - } - break; - case IStreamerTypes::RequestStatus::Completed: - if (currentStatus == IStreamerTypes::RequestStatus::Failed || currentStatus == IStreamerTypes::RequestStatus::Canceled) - { - return; - } - break; - case IStreamerTypes::RequestStatus::Canceled: - if (currentStatus == IStreamerTypes::RequestStatus::Failed || currentStatus == IStreamerTypes::RequestStatus::Completed) - { - return; - } - break; - case IStreamerTypes::RequestStatus::Failed: - [[fallthrough]]; - default: - break; + return; } - m_status = newStatus; - } - - FileRequest* FileRequest::GetParent() - { - return m_parent; - } - - const FileRequest* FileRequest::GetParent() const - { - return m_parent; - } - - size_t FileRequest::GetNumDependencies() const - { - return m_dependencies; - } - - bool FileRequest::FailsWhenUnhandled() const - { - return AZStd::visit([](auto&& args) + break; + case IStreamerTypes::RequestStatus::Completed: + if (currentStatus == IStreamerTypes::RequestStatus::Failed || currentStatus == IStreamerTypes::RequestStatus::Canceled) { - using Command = AZStd::decay_t; - if constexpr (AZStd::is_same_v) - { - AZ_Assert(false, - "Request does not contain a valid command. It may have been reset already or was never assigned a command."); - return true; - } - else if constexpr (AZStd::is_same_v) - { - return args.m_failWhenUnhandled; - } - else - { - return Command::s_failWhenUnhandled; - } - }, m_command); - } - - void FileRequest::Reset() - { - m_command = AZStd::monostate{}; - m_onCompletion = &OnCompletionPlaceholder; - m_estimatedCompletion = AZStd::chrono::system_clock::time_point(); - m_parent = nullptr; - m_status = IStreamerTypes::RequestStatus::Pending; - m_dependencies = 0; - } - - void FileRequest::SetOptionalParent(FileRequest* parent) - { - if (parent) - { - m_parent = parent; - AZ_Assert(parent->m_dependencies < std::numeric_limitsm_dependencies)>::max(), - "A file request dependency was added, but the parent can't have any more dependencies."); - ++parent->m_dependencies; + return; } - } - - bool FileRequest::WorksOn(FileRequestPtr& request) const - { - const FileRequest* current = this; - while (current) + break; + case IStreamerTypes::RequestStatus::Canceled: + if (currentStatus == IStreamerTypes::RequestStatus::Failed || currentStatus == IStreamerTypes::RequestStatus::Completed) { - auto* link = AZStd::get_if(¤t->m_command); - if (!link) - { - current = current->m_parent; - } - else - { - return link->m_request == request; - } + return; } - return false; + break; + case IStreamerTypes::RequestStatus::Failed: + [[fallthrough]]; + default: + break; } + m_status = newStatus; + } - size_t FileRequest::GetPendingId() const - { - return m_pendingId; - } + FileRequest* FileRequest::GetParent() + { + return m_parent; + } - void FileRequest::SetEstimatedCompletion(AZStd::chrono::system_clock::time_point time) + const FileRequest* FileRequest::GetParent() const + { + return m_parent; + } + + size_t FileRequest::GetNumDependencies() const + { + return m_dependencies; + } + + bool FileRequest::FailsWhenUnhandled() const + { + return AZStd::visit([](auto&& args) { - FileRequest* current = this; - do + using Command = AZStd::decay_t; + if constexpr (AZStd::is_same_v) + { + AZ_Assert(false, + "Request does not contain a valid command. It may have been reset already or was never assigned a command."); + return true; + } + else if constexpr (AZStd::is_same_v) + { + return args.m_failWhenUnhandled; + } + else + { + return Command::s_failWhenUnhandled; + } + }, m_command); + } + + void FileRequest::Reset() + { + m_command = AZStd::monostate{}; + m_onCompletion = &OnCompletionPlaceholder; + m_estimatedCompletion = AZStd::chrono::system_clock::time_point(); + m_parent = nullptr; + m_status = IStreamerTypes::RequestStatus::Pending; + m_dependencies = 0; + } + + void FileRequest::SetOptionalParent(FileRequest* parent) + { + if (parent) + { + m_parent = parent; + AZ_Assert(parent->m_dependencies < std::numeric_limitsm_dependencies)>::max(), + "A file request dependency was added, but the parent can't have any more dependencies."); + ++parent->m_dependencies; + } + } + + bool FileRequest::WorksOn(FileRequestPtr& request) const + { + const FileRequest* current = this; + while (current) + { + auto* link = AZStd::get_if(¤t->m_command); + if (!link) { - current->m_estimatedCompletion = time; current = current->m_parent; - } while (current); - } - - AZStd::chrono::system_clock::time_point FileRequest::GetEstimatedCompletion() const - { - return m_estimatedCompletion; - } - - // - // ExternalFileRequest - // - - ExternalFileRequest::ExternalFileRequest(StreamerContext* owner) - : m_request(FileRequest::Usage::External) - , m_owner(owner) - { - } - - void ExternalFileRequest::add_ref() - { - m_refCount++; - } - - void ExternalFileRequest::release() - { - if (--m_refCount == 0) + } + else { - AZ_Assert(m_owner, "No owning context set for the file request."); - m_owner->RecycleRequest(this); + return link->m_request == request; } } + return false; + } - bool operator==(const FileRequestHandle& lhs, const FileRequestPtr& rhs) - { - return lhs.m_request == &rhs->m_request; - } + size_t FileRequest::GetPendingId() const + { + return m_pendingId; + } - bool operator==(const FileRequestPtr& lhs, const FileRequestHandle& rhs) + void FileRequest::SetEstimatedCompletion(AZStd::chrono::system_clock::time_point time) + { + FileRequest* current = this; + do { - return rhs == lhs; - } + current->m_estimatedCompletion = time; + current = current->m_parent; + } while (current); + } - bool operator!=(const FileRequestHandle& lhs, const FileRequestPtr& rhs) - { - return !(lhs == rhs); - } + AZStd::chrono::system_clock::time_point FileRequest::GetEstimatedCompletion() const + { + return m_estimatedCompletion; + } - bool operator!=(const FileRequestPtr& lhs, const FileRequestHandle& rhs) + // + // ExternalFileRequest + // + + ExternalFileRequest::ExternalFileRequest(StreamerContext* owner) + : m_request(FileRequest::Usage::External) + , m_owner(owner) + { + } + + void ExternalFileRequest::add_ref() + { + m_refCount++; + } + + void ExternalFileRequest::release() + { + if (--m_refCount == 0) { - return !(rhs == lhs); + AZ_Assert(m_owner, "No owning context set for the file request."); + m_owner->RecycleRequest(this); } - } // namespace IO -} // namespace AZ + } + + bool operator==(const FileRequestHandle& lhs, const FileRequestPtr& rhs) + { + return lhs.m_request == &rhs->m_request; + } + + bool operator==(const FileRequestPtr& lhs, const FileRequestHandle& rhs) + { + return rhs == lhs; + } + + bool operator!=(const FileRequestHandle& lhs, const FileRequestPtr& rhs) + { + return !(lhs == rhs); + } + + bool operator!=(const FileRequestPtr& lhs, const FileRequestHandle& rhs) + { + return !(rhs == lhs); + } +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/Streamer/FullFileDecompressor.cpp b/Code/Framework/AzCore/AzCore/IO/Streamer/FullFileDecompressor.cpp index 797f96e53f..723a5d62c8 100644 --- a/Code/Framework/AzCore/AzCore/IO/Streamer/FullFileDecompressor.cpp +++ b/Code/Framework/AzCore/AzCore/IO/Streamer/FullFileDecompressor.cpp @@ -21,720 +21,717 @@ #include #include -namespace AZ +namespace AZ::IO { - namespace IO + AZStd::shared_ptr FullFileDecompressorConfig::AddStreamStackEntry( + const HardwareInformation& hardware, AZStd::shared_ptr parent) { - AZStd::shared_ptr FullFileDecompressorConfig::AddStreamStackEntry( - const HardwareInformation& hardware, AZStd::shared_ptr parent) - { - auto stackEntry = AZStd::make_shared( - m_maxNumReads, m_maxNumJobs, aznumeric_caster(hardware.m_maxPhysicalSectorSize)); - stackEntry->SetNext(AZStd::move(parent)); - return stackEntry; - } + auto stackEntry = AZStd::make_shared( + m_maxNumReads, m_maxNumJobs, aznumeric_caster(hardware.m_maxPhysicalSectorSize)); + stackEntry->SetNext(AZStd::move(parent)); + return stackEntry; + } - void FullFileDecompressorConfig::Reflect(AZ::ReflectContext* context) + void FullFileDecompressorConfig::Reflect(AZ::ReflectContext* context) + { + if (auto serializeContext = azrtti_cast(context); serializeContext != nullptr) { - if (auto serializeContext = azrtti_cast(context); serializeContext != nullptr) - { - serializeContext->Class() - ->Version(1) - ->Field("MaxNumReads", &FullFileDecompressorConfig::m_maxNumReads) - ->Field("MaxNumJobs", &FullFileDecompressorConfig::m_maxNumJobs); - } + serializeContext->Class() + ->Version(1) + ->Field("MaxNumReads", &FullFileDecompressorConfig::m_maxNumReads) + ->Field("MaxNumJobs", &FullFileDecompressorConfig::m_maxNumJobs); } + } #if AZ_STREAMER_ADD_EXTRA_PROFILING_INFO - static constexpr char DecompBoundName[] = "Decompression bound"; - static constexpr char ReadBoundName[] = "Read bound"; + static constexpr char DecompBoundName[] = "Decompression bound"; + static constexpr char ReadBoundName[] = "Read bound"; #endif // AZ_STREAMER_ADD_EXTRA_PROFILING_INFO - bool FullFileDecompressor::DecompressionInformation::IsProcessing() const - { - return !!m_compressedData; - } - - FullFileDecompressor::FullFileDecompressor(u32 maxNumReads, u32 maxNumJobs, u32 alignment) - : StreamStackEntry("Full file decompressor") - , m_maxNumReads(maxNumReads) - , m_maxNumJobs(maxNumJobs) - , m_alignment(alignment) - { - JobManagerDesc jobDesc; + bool FullFileDecompressor::DecompressionInformation::IsProcessing() const + { + return !!m_compressedData; + } + + FullFileDecompressor::FullFileDecompressor(u32 maxNumReads, u32 maxNumJobs, u32 alignment) + : StreamStackEntry("Full file decompressor") + , m_maxNumReads(maxNumReads) + , m_maxNumJobs(maxNumJobs) + , m_alignment(alignment) + { + JobManagerDesc jobDesc; jobDesc.m_jobManagerName = "Full File Decompressor"; - u32 numThreads = AZ::GetMin(maxNumJobs, AZStd::thread::hardware_concurrency()); - for (u32 i = 0; i < numThreads; ++i) - { - jobDesc.m_workerThreads.push_back(JobManagerThreadDesc()); - } - m_decompressionJobManager = AZStd::make_unique(jobDesc); - m_decompressionjobContext = AZStd::make_unique(*m_decompressionJobManager); + u32 numThreads = AZ::GetMin(maxNumJobs, AZStd::thread::hardware_concurrency()); + for (u32 i = 0; i < numThreads; ++i) + { + jobDesc.m_workerThreads.push_back(JobManagerThreadDesc()); + } + m_decompressionJobManager = AZStd::make_unique(jobDesc); + m_decompressionjobContext = AZStd::make_unique(*m_decompressionJobManager); - m_processingJobs = AZStd::make_unique(maxNumJobs); + m_processingJobs = AZStd::make_unique(maxNumJobs); - m_readBuffers = AZStd::make_unique(maxNumReads); - m_readRequests = AZStd::make_unique(maxNumReads); - m_readBufferStatus = AZStd::make_unique(maxNumReads); - for (u32 i = 0; i < maxNumReads; ++i) - { - m_readBufferStatus[i] = ReadBufferStatus::Unused; - } - - // Add initial dummy values to the stats to avoid division by zero later on and avoid needing branches. - m_bytesDecompressed.PushEntry(1); - m_decompressionDurationMicroSec.PushEntry(1); + m_readBuffers = AZStd::make_unique(maxNumReads); + m_readRequests = AZStd::make_unique(maxNumReads); + m_readBufferStatus = AZStd::make_unique(maxNumReads); + for (u32 i = 0; i < maxNumReads; ++i) + { + m_readBufferStatus[i] = ReadBufferStatus::Unused; } - void FullFileDecompressor::PrepareRequest(FileRequest* request) - { - AZ_Assert(request, "PrepareRequest was provided a null request."); + // Add initial dummy values to the stats to avoid division by zero later on and avoid needing branches. + m_bytesDecompressed.PushEntry(1); + m_decompressionDurationMicroSec.PushEntry(1); + } - AZStd::visit([this, request](auto&& args) + void FullFileDecompressor::PrepareRequest(FileRequest* request) + { + AZ_Assert(request, "PrepareRequest was provided a null request."); + + AZStd::visit([this, request](auto&& args) + { + using Command = AZStd::decay_t; + if constexpr (AZStd::is_same_v) { - using Command = AZStd::decay_t; - if constexpr (AZStd::is_same_v) - { - PrepareReadRequest(request, args); - } - else if constexpr (AZStd::is_same_v || - AZStd::is_same_v) - { - PrepareDedicatedCache(request, args.m_path); - } - else - { - StreamStackEntry::PrepareRequest(request); - } - }, request->GetCommand()); + PrepareReadRequest(request, args); + } + else if constexpr (AZStd::is_same_v || + AZStd::is_same_v) + { + PrepareDedicatedCache(request, args.m_path); + } + else + { + StreamStackEntry::PrepareRequest(request); + } + }, request->GetCommand()); + } + + void FullFileDecompressor::QueueRequest(FileRequest* request) + { + AZ_Assert(request, "QueueRequest was provided a null request."); + + AZStd::visit([this, request](auto&& args) + { + using Command = AZStd::decay_t; + if constexpr (AZStd::is_same_v) + { + m_pendingReads.push_back(request); + } + else if constexpr (AZStd::is_same_v) + { + m_pendingFileExistChecks.push_back(request); + } + else + { + StreamStackEntry::QueueRequest(request); + } + }, request->GetCommand()); + } + + bool FullFileDecompressor::ExecuteRequests() + { + bool result = false; + // First queue jobs as this might open up new read slots. + if (m_numInFlightReads > 0 && m_numRunningJobs < m_maxNumJobs) + { + result = StartDecompressions(); } - void FullFileDecompressor::QueueRequest(FileRequest* request) + // Queue as many new reads as possible. + while (!m_pendingReads.empty() && m_numInFlightReads < m_maxNumReads) { - AZ_Assert(request, "QueueRequest was provided a null request."); - - AZStd::visit([this, request](auto&& args) - { - using Command = AZStd::decay_t; - if constexpr (AZStd::is_same_v) - { - m_pendingReads.push_back(request); - } - else if constexpr (AZStd::is_same_v) - { - m_pendingFileExistChecks.push_back(request); - } - else - { - StreamStackEntry::QueueRequest(request); - } - }, request->GetCommand()); + StartArchiveRead(m_pendingReads.front()); + m_pendingReads.pop_front(); + result = true; } - bool FullFileDecompressor::ExecuteRequests() + // If nothing else happened and there is at least one pending file exist check request, run one of those. + if (!result && !m_pendingFileExistChecks.empty()) { - bool result = false; - // First queue jobs as this might open up new read slots. - if (m_numInFlightReads > 0 && m_numRunningJobs < m_maxNumJobs) - { - result = StartDecompressions(); - } - - // Queue as many new reads as possible. - while (!m_pendingReads.empty() && m_numInFlightReads < m_maxNumReads) - { - StartArchiveRead(m_pendingReads.front()); - m_pendingReads.pop_front(); - result = true; - } - - // If nothing else happened and there is at least one pending file exist check request, run one of those. - if (!result && !m_pendingFileExistChecks.empty()) - { - FileExistsCheck(m_pendingFileExistChecks.front()); - m_pendingFileExistChecks.pop_front(); - result = true; - } + FileExistsCheck(m_pendingFileExistChecks.front()); + m_pendingFileExistChecks.pop_front(); + result = true; + } #if AZ_STREAMER_ADD_EXTRA_PROFILING_INFO - bool allPendingDecompression = true; - bool allReading = true; - for (u32 i = 0; i < m_maxNumReads; ++i) - { - allPendingDecompression = - allPendingDecompression && (m_readBufferStatus[i] == ReadBufferStatus::PendingDecompression); - allReading = - allReading && (m_readBufferStatus[i] == ReadBufferStatus::ReadInFlight); - } + bool allPendingDecompression = true; + bool allReading = true; + for (u32 i = 0; i < m_maxNumReads; ++i) + { + allPendingDecompression = + allPendingDecompression && (m_readBufferStatus[i] == ReadBufferStatus::PendingDecompression); + allReading = + allReading && (m_readBufferStatus[i] == ReadBufferStatus::ReadInFlight); + } - m_decompressionBoundStat.PushSample(allPendingDecompression ? 1.0 : 0.0); - Statistic::PlotImmediate(m_name, DecompBoundName, m_decompressionBoundStat.GetMostRecentSample()); + m_decompressionBoundStat.PushSample(allPendingDecompression ? 1.0 : 0.0); + Statistic::PlotImmediate(m_name, DecompBoundName, m_decompressionBoundStat.GetMostRecentSample()); - m_readBoundStat.PushSample(allReading && (m_numRunningJobs < m_maxNumJobs) ? 1.0 : 0.0); - Statistic::PlotImmediate(m_name, ReadBoundName, m_readBoundStat.GetMostRecentSample()); + m_readBoundStat.PushSample(allReading && (m_numRunningJobs < m_maxNumJobs) ? 1.0 : 0.0); + Statistic::PlotImmediate(m_name, ReadBoundName, m_readBoundStat.GetMostRecentSample()); #endif - return StreamStackEntry::ExecuteRequests() || result; - } + return StreamStackEntry::ExecuteRequests() || result; + } - void FullFileDecompressor::UpdateStatus(Status& status) const + void FullFileDecompressor::UpdateStatus(Status& status) const + { + StreamStackEntry::UpdateStatus(status); + s32 numAvailableSlots = aznumeric_cast(m_maxNumReads - m_numInFlightReads); + status.m_numAvailableSlots = AZStd::min(status.m_numAvailableSlots, numAvailableSlots); + status.m_isIdle = status.m_isIdle && IsIdle(); + } + + void FullFileDecompressor::UpdateCompletionEstimates(AZStd::chrono::system_clock::time_point now, AZStd::vector& internalPending, + StreamerContext::PreparedQueue::iterator pendingBegin, StreamerContext::PreparedQueue::iterator pendingEnd) + { + // Create predictions for all pending requests. Some will be further processed after this. + AZStd::reverse_copy(m_pendingFileExistChecks.begin(), m_pendingFileExistChecks.end(), AZStd::back_inserter(internalPending)); + AZStd::reverse_copy(m_pendingReads.begin(), m_pendingReads.end(), AZStd::back_inserter(internalPending)); + + StreamStackEntry::UpdateCompletionEstimates(now, internalPending, pendingBegin, pendingEnd); + + double totalBytesDecompressed = aznumeric_caster(m_bytesDecompressed.GetTotal()); + double totalDecompressionDuration = aznumeric_caster(m_decompressionDurationMicroSec.GetTotal()); + AZStd::chrono::microseconds cumulativeDelay = AZStd::chrono::microseconds::max(); + + // Check the number of jobs that are processing. + for (u32 i = 0; i < m_maxNumJobs; ++i) { - StreamStackEntry::UpdateStatus(status); - s32 numAvailableSlots = aznumeric_cast(m_maxNumReads - m_numInFlightReads); - status.m_numAvailableSlots = AZStd::min(status.m_numAvailableSlots, numAvailableSlots); - status.m_isIdle = status.m_isIdle && IsIdle(); - } - - void FullFileDecompressor::UpdateCompletionEstimates(AZStd::chrono::system_clock::time_point now, AZStd::vector& internalPending, - StreamerContext::PreparedQueue::iterator pendingBegin, StreamerContext::PreparedQueue::iterator pendingEnd) - { - // Create predictions for all pending requests. Some will be further processed after this. - AZStd::reverse_copy(m_pendingFileExistChecks.begin(), m_pendingFileExistChecks.end(), AZStd::back_inserter(internalPending)); - AZStd::reverse_copy(m_pendingReads.begin(), m_pendingReads.end(), AZStd::back_inserter(internalPending)); - - StreamStackEntry::UpdateCompletionEstimates(now, internalPending, pendingBegin, pendingEnd); - - double totalBytesDecompressed = aznumeric_caster(m_bytesDecompressed.GetTotal()); - double totalDecompressionDuration = aznumeric_caster(m_decompressionDurationMicroSec.GetTotal()); - AZStd::chrono::microseconds cumulativeDelay = AZStd::chrono::microseconds::max(); - - // Check the number of jobs that are processing. - for (u32 i = 0; i < m_maxNumJobs; ++i) + if (m_processingJobs[i].IsProcessing()) { - if (m_processingJobs[i].IsProcessing()) - { - FileRequest* compressedRequest = m_processingJobs[i].m_waitRequest->GetParent(); - AZ_Assert(compressedRequest, "A wait request attached to FullFileDecompressor was completed but didn't have a parent compressed request."); - auto data = AZStd::get_if(&compressedRequest->GetCommand()); - AZ_Assert(data, "Compressed request in the decompression queue in FullFileDecompressor didn't contain compression read data."); - - size_t bytesToDecompress = data->m_compressionInfo.m_compressedSize; - auto decompressionDuration = AZStd::chrono::microseconds( - aznumeric_cast((bytesToDecompress * totalDecompressionDuration) / totalBytesDecompressed)); - auto timeInProcessing = now - m_processingJobs[i].m_jobStartTime; - auto timeLeft = decompressionDuration > timeInProcessing ? decompressionDuration - timeInProcessing : AZStd::chrono::microseconds(0); - // Get the shortest time as this indicates the next decompression to become available. - cumulativeDelay = AZStd::min(timeLeft, cumulativeDelay); - m_processingJobs[i].m_waitRequest->SetEstimatedCompletion(now + timeLeft); - } - } - if (cumulativeDelay == AZStd::chrono::microseconds::max()) - { - cumulativeDelay = AZStd::chrono::microseconds(0); - } - - // Next update all reads that are in flight. These will have an estimation for the read to complete, but will then be queued - // for decompression, so add the time needed decompression. Assume that decompression happens in parallel. - AZStd::chrono::microseconds decompressionDelay = - AZStd::chrono::microseconds(aznumeric_cast(m_decompressionJobDelayMicroSec.CalculateAverage())); - AZStd::chrono::microseconds smallestDecompressionDuration = AZStd::chrono::microseconds::max(); - for (u32 i = 0; i < m_maxNumReads; ++i) - { - AZStd::chrono::system_clock::time_point baseTime; - switch (m_readBufferStatus[i]) - { - case ReadBufferStatus::Unused: - continue; - case ReadBufferStatus::ReadInFlight: - // Internal read requests can start and complete but pending finalization before they're ever scheduled in which case - // the estimated time is not set. - baseTime = m_readRequests[i]->GetEstimatedCompletion(); - if (baseTime == AZStd::chrono::system_clock::time_point()) - { - baseTime = now; - } - break; - case ReadBufferStatus::PendingDecompression: - baseTime = now; - break; - default: - AZ_Assert(false, "Unsupported buffer type: %i.", m_readBufferStatus[i]); - continue; - } - - baseTime += cumulativeDelay; // Delay until the first decompression slot becomes available. - baseTime += decompressionDelay; // The average time it takes for the job system to pick up the decompression job. - - // Calculate the amount of time it will take to decompress the data. - FileRequest* compressedRequest = m_readRequests[i]->GetParent(); + FileRequest* compressedRequest = m_processingJobs[i].m_waitRequest->GetParent(); + AZ_Assert(compressedRequest, "A wait request attached to FullFileDecompressor was completed but didn't have a parent compressed request."); auto data = AZStd::get_if(&compressedRequest->GetCommand()); - + AZ_Assert(data, "Compressed request in the decompression queue in FullFileDecompressor didn't contain compression read data."); + size_t bytesToDecompress = data->m_compressionInfo.m_compressedSize; auto decompressionDuration = AZStd::chrono::microseconds( aznumeric_cast((bytesToDecompress * totalDecompressionDuration) / totalBytesDecompressed)); - smallestDecompressionDuration = AZStd::min(smallestDecompressionDuration, decompressionDuration); - baseTime += decompressionDuration; - - m_readRequests[i]->SetEstimatedCompletion(baseTime); - } - if (smallestDecompressionDuration != AZStd::chrono::microseconds::max()) - { - cumulativeDelay += smallestDecompressionDuration; // Time after which the decompression jobs and pending reads have completed. - } - - // For all internally pending compressed reads add the decompression time. The read time will have already been added downstream. - // Because this call will go from the top of the stack to the bottom, but estimation is calculated from the bottom to the top, this - // list should be processed in reverse order. - for (auto pendingIt = internalPending.rbegin(); pendingIt != internalPending.rend(); ++pendingIt) - { - EstimateCompressedReadRequest(*pendingIt, cumulativeDelay, decompressionDelay, - totalDecompressionDuration, totalBytesDecompressed); - } - - // Finally add a prediction for all the requests that are waiting to be queued. - for (auto requestIt = pendingBegin; requestIt != pendingEnd; ++requestIt) - { - EstimateCompressedReadRequest(*requestIt, cumulativeDelay, decompressionDelay, - totalDecompressionDuration, totalBytesDecompressed); + auto timeInProcessing = now - m_processingJobs[i].m_jobStartTime; + auto timeLeft = decompressionDuration > timeInProcessing ? decompressionDuration - timeInProcessing : AZStd::chrono::microseconds(0); + // Get the shortest time as this indicates the next decompression to become available. + cumulativeDelay = AZStd::min(timeLeft, cumulativeDelay); + m_processingJobs[i].m_waitRequest->SetEstimatedCompletion(now + timeLeft); } } - - void FullFileDecompressor::EstimateCompressedReadRequest(FileRequest* request, AZStd::chrono::microseconds& cumulativeDelay, - AZStd::chrono::microseconds decompressionDelay, double totalDecompressionDurationUs, double totalBytesDecompressed) const + if (cumulativeDelay == AZStd::chrono::microseconds::max()) { - auto data = AZStd::get_if(&request->GetCommand()); - if (data) - { - AZStd::chrono::microseconds processingTime = decompressionDelay; - size_t bytesToDecompress = data->m_compressionInfo.m_compressedSize; - processingTime += AZStd::chrono::microseconds( - aznumeric_cast((bytesToDecompress * totalDecompressionDurationUs) / totalBytesDecompressed)); - - cumulativeDelay += processingTime; - request->SetEstimatedCompletion(request->GetEstimatedCompletion() + processingTime); - } + cumulativeDelay = AZStd::chrono::microseconds(0); } - void FullFileDecompressor::CollectStatistics(AZStd::vector& statistics) const + // Next update all reads that are in flight. These will have an estimation for the read to complete, but will then be queued + // for decompression, so add the time needed decompression. Assume that decompression happens in parallel. + AZStd::chrono::microseconds decompressionDelay = + AZStd::chrono::microseconds(aznumeric_cast(m_decompressionJobDelayMicroSec.CalculateAverage())); + AZStd::chrono::microseconds smallestDecompressionDuration = AZStd::chrono::microseconds::max(); + for (u32 i = 0; i < m_maxNumReads; ++i) { - constexpr double bytesToMB = 1.0 / (1024.0 * 1024.0); - constexpr double usToSec = 1.0 / (1000.0 * 1000.0); - constexpr double usToMs = 1.0 / 1000.0; - - if (m_bytesDecompressed.GetNumRecorded() > 1) // There's always a default added. + AZStd::chrono::system_clock::time_point baseTime; + switch (m_readBufferStatus[i]) { - //It only makes sense to add decompression statistics when reading from PAK files. - statistics.push_back(Statistic::CreateInteger(m_name, "Available decompression slots", m_maxNumJobs - m_numRunningJobs)); - statistics.push_back(Statistic::CreateInteger(m_name, "Available read slots", m_maxNumReads - m_numInFlightReads)); - statistics.push_back(Statistic::CreateInteger(m_name, "Pending decompression", m_numPendingDecompression)); - statistics.push_back(Statistic::CreateFloat(m_name, "Buffer memory (MB)", m_memoryUsage * bytesToMB)); + case ReadBufferStatus::Unused: + continue; + case ReadBufferStatus::ReadInFlight: + // Internal read requests can start and complete but pending finalization before they're ever scheduled in which case + // the estimated time is not set. + baseTime = m_readRequests[i]->GetEstimatedCompletion(); + if (baseTime == AZStd::chrono::system_clock::time_point()) + { + baseTime = now; + } + break; + case ReadBufferStatus::PendingDecompression: + baseTime = now; + break; + default: + AZ_Assert(false, "Unsupported buffer type: %i.", m_readBufferStatus[i]); + continue; + } - double averageJobStartDelay = m_decompressionJobDelayMicroSec.CalculateAverage() * usToMs; - statistics.push_back(Statistic::CreateFloat(m_name, "Decompression job delay (avg. ms)", averageJobStartDelay)); + baseTime += cumulativeDelay; // Delay until the first decompression slot becomes available. + baseTime += decompressionDelay; // The average time it takes for the job system to pick up the decompression job. - double totalBytesDecompressedMB = m_bytesDecompressed.GetTotal() * bytesToMB; - double totalDecompressionTimeSec = m_decompressionDurationMicroSec.GetTotal() * usToSec; - statistics.push_back(Statistic::CreateFloat(m_name, "Decompression Speed per job (avg. mbps)", totalBytesDecompressedMB / totalDecompressionTimeSec)); + // Calculate the amount of time it will take to decompress the data. + FileRequest* compressedRequest = m_readRequests[i]->GetParent(); + auto data = AZStd::get_if(&compressedRequest->GetCommand()); + + size_t bytesToDecompress = data->m_compressionInfo.m_compressedSize; + auto decompressionDuration = AZStd::chrono::microseconds( + aznumeric_cast((bytesToDecompress * totalDecompressionDuration) / totalBytesDecompressed)); + smallestDecompressionDuration = AZStd::min(smallestDecompressionDuration, decompressionDuration); + baseTime += decompressionDuration; + + m_readRequests[i]->SetEstimatedCompletion(baseTime); + } + if (smallestDecompressionDuration != AZStd::chrono::microseconds::max()) + { + cumulativeDelay += smallestDecompressionDuration; // Time after which the decompression jobs and pending reads have completed. + } + + // For all internally pending compressed reads add the decompression time. The read time will have already been added downstream. + // Because this call will go from the top of the stack to the bottom, but estimation is calculated from the bottom to the top, this + // list should be processed in reverse order. + for (auto pendingIt = internalPending.rbegin(); pendingIt != internalPending.rend(); ++pendingIt) + { + EstimateCompressedReadRequest(*pendingIt, cumulativeDelay, decompressionDelay, + totalDecompressionDuration, totalBytesDecompressed); + } + + // Finally add a prediction for all the requests that are waiting to be queued. + for (auto requestIt = pendingBegin; requestIt != pendingEnd; ++requestIt) + { + EstimateCompressedReadRequest(*requestIt, cumulativeDelay, decompressionDelay, + totalDecompressionDuration, totalBytesDecompressed); + } + } + + void FullFileDecompressor::EstimateCompressedReadRequest(FileRequest* request, AZStd::chrono::microseconds& cumulativeDelay, + AZStd::chrono::microseconds decompressionDelay, double totalDecompressionDurationUs, double totalBytesDecompressed) const + { + auto data = AZStd::get_if(&request->GetCommand()); + if (data) + { + AZStd::chrono::microseconds processingTime = decompressionDelay; + size_t bytesToDecompress = data->m_compressionInfo.m_compressedSize; + processingTime += AZStd::chrono::microseconds( + aznumeric_cast((bytesToDecompress * totalDecompressionDurationUs) / totalBytesDecompressed)); + + cumulativeDelay += processingTime; + request->SetEstimatedCompletion(request->GetEstimatedCompletion() + processingTime); + } + } + + void FullFileDecompressor::CollectStatistics(AZStd::vector& statistics) const + { + constexpr double bytesToMB = 1.0 / (1024.0 * 1024.0); + constexpr double usToSec = 1.0 / (1000.0 * 1000.0); + constexpr double usToMs = 1.0 / 1000.0; + + if (m_bytesDecompressed.GetNumRecorded() > 1) // There's always a default added. + { + //It only makes sense to add decompression statistics when reading from PAK files. + statistics.push_back(Statistic::CreateInteger(m_name, "Available decompression slots", m_maxNumJobs - m_numRunningJobs)); + statistics.push_back(Statistic::CreateInteger(m_name, "Available read slots", m_maxNumReads - m_numInFlightReads)); + statistics.push_back(Statistic::CreateInteger(m_name, "Pending decompression", m_numPendingDecompression)); + statistics.push_back(Statistic::CreateFloat(m_name, "Buffer memory (MB)", m_memoryUsage * bytesToMB)); + + double averageJobStartDelay = m_decompressionJobDelayMicroSec.CalculateAverage() * usToMs; + statistics.push_back(Statistic::CreateFloat(m_name, "Decompression job delay (avg. ms)", averageJobStartDelay)); + + double totalBytesDecompressedMB = m_bytesDecompressed.GetTotal() * bytesToMB; + double totalDecompressionTimeSec = m_decompressionDurationMicroSec.GetTotal() * usToSec; + statistics.push_back(Statistic::CreateFloat(m_name, "Decompression Speed per job (avg. mbps)", totalBytesDecompressedMB / totalDecompressionTimeSec)); #if AZ_STREAMER_ADD_EXTRA_PROFILING_INFO - statistics.push_back(Statistic::CreatePercentage(m_name, DecompBoundName, m_decompressionBoundStat.GetAverage())); - statistics.push_back(Statistic::CreatePercentage(m_name, ReadBoundName, m_readBoundStat.GetAverage())); + statistics.push_back(Statistic::CreatePercentage(m_name, DecompBoundName, m_decompressionBoundStat.GetAverage())); + statistics.push_back(Statistic::CreatePercentage(m_name, ReadBoundName, m_readBoundStat.GetAverage())); #endif - } - - StreamStackEntry::CollectStatistics(statistics); } - bool FullFileDecompressor::IsIdle() const - { - return - m_pendingReads.empty() && - m_pendingFileExistChecks.empty() && - m_numInFlightReads == 0 && - m_numPendingDecompression == 0 && - m_numRunningJobs == 0; - } + StreamStackEntry::CollectStatistics(statistics); + } - void FullFileDecompressor::PrepareReadRequest(FileRequest* request, FileRequest::ReadRequestData& data) + bool FullFileDecompressor::IsIdle() const + { + return + m_pendingReads.empty() && + m_pendingFileExistChecks.empty() && + m_numInFlightReads == 0 && + m_numPendingDecompression == 0 && + m_numRunningJobs == 0; + } + + void FullFileDecompressor::PrepareReadRequest(FileRequest* request, FileRequest::ReadRequestData& data) + { + CompressionInfo info; + if (CompressionUtils::FindCompressionInfo(info, data.m_path.GetRelativePath())) { - CompressionInfo info; - if (CompressionUtils::FindCompressionInfo(info, data.m_path.GetRelativePath())) + FileRequest* nextRequest = m_context->GetNewInternalRequest(); + if (info.m_isCompressed) { - FileRequest* nextRequest = m_context->GetNewInternalRequest(); - if (info.m_isCompressed) - { - AZ_Assert(info.m_decompressor, - "FullFileDecompressor::PrepareRequest found a compressed file, but no decompressor to decompress with."); - nextRequest->CreateCompressedRead(request, AZStd::move(info), data.m_output, data.m_offset, data.m_size); - } - else - { - FileRequest* pathStorageRequest = m_context->GetNewInternalRequest(); - pathStorageRequest->CreateRequestPathStore(request, AZStd::move(info.m_archiveFilename)); - auto& pathStorage = AZStd::get(pathStorageRequest->GetCommand()); - - nextRequest->CreateRead(pathStorageRequest, data.m_output, data.m_outputSize, pathStorage.m_path, - info.m_offset + data.m_offset, data.m_size, info.m_isSharedPak); - } - - if (info.m_conflictResolution == ConflictResolution::PreferFile) - { - auto callback = [this, nextRequest](const FileRequest& checkRequest) - { - AZ_PROFILE_FUNCTION(AzCore); - auto check = AZStd::get_if(&checkRequest.GetCommand()); - AZ_Assert(check, - "Callback in FullFileDecompressor::PrepareReadRequest expected FileExistsCheck but got another command."); - if (check->m_found) - { - FileRequest* originalRequest = m_context->RejectRequest(nextRequest); - if (AZStd::holds_alternative(originalRequest->GetCommand())) - { - originalRequest = m_context->RejectRequest(originalRequest); - } - StreamStackEntry::PrepareRequest(originalRequest); - } - else - { - m_context->PushPreparedRequest(nextRequest); - } - }; - FileRequest* fileCheckRequest = m_context->GetNewInternalRequest(); - fileCheckRequest->CreateFileExistsCheck(data.m_path); - fileCheckRequest->SetCompletionCallback(AZStd::move(callback)); - StreamStackEntry::QueueRequest(fileCheckRequest); - } - else - { - m_context->PushPreparedRequest(nextRequest); - } + AZ_Assert(info.m_decompressor, + "FullFileDecompressor::PrepareRequest found a compressed file, but no decompressor to decompress with."); + nextRequest->CreateCompressedRead(request, AZStd::move(info), data.m_output, data.m_offset, data.m_size); } else { - StreamStackEntry::PrepareRequest(request); - } - } + FileRequest* pathStorageRequest = m_context->GetNewInternalRequest(); + pathStorageRequest->CreateRequestPathStore(request, AZStd::move(info.m_archiveFilename)); + auto& pathStorage = AZStd::get(pathStorageRequest->GetCommand()); - void FullFileDecompressor::PrepareDedicatedCache(FileRequest* request, const RequestPath& path) - { - CompressionInfo info; - if (CompressionUtils::FindCompressionInfo(info, path.GetRelativePath())) + nextRequest->CreateRead(pathStorageRequest, data.m_output, data.m_outputSize, pathStorage.m_path, + info.m_offset + data.m_offset, data.m_size, info.m_isSharedPak); + } + + if (info.m_conflictResolution == ConflictResolution::PreferFile) { - FileRequest* nextRequest = m_context->GetNewInternalRequest(); - AZStd::visit([request, &info, nextRequest](auto&& args) + auto callback = [this, nextRequest](const FileRequest& checkRequest) { - using Command = AZStd::decay_t; - if constexpr (AZStd::is_same_v) + AZ_PROFILE_FUNCTION(AzCore); + auto check = AZStd::get_if(&checkRequest.GetCommand()); + AZ_Assert(check, + "Callback in FullFileDecompressor::PrepareReadRequest expected FileExistsCheck but got another command."); + if (check->m_found) { - nextRequest->CreateDedicatedCacheCreation(AZStd::move(info.m_archiveFilename), - FileRange::CreateRange(info.m_offset, info.m_compressedSize), request); - } - else if constexpr (AZStd::is_same_v) - { - nextRequest->CreateDedicatedCacheDestruction(AZStd::move(info.m_archiveFilename), - FileRange::CreateRange(info.m_offset, info.m_compressedSize), request); - } - }, request->GetCommand()); - - if (info.m_conflictResolution == ConflictResolution::PreferFile) - { - auto callback = [this, nextRequest](const FileRequest& checkRequest) - { - AZ_PROFILE_FUNCTION(AzCore); - auto check = AZStd::get_if(&checkRequest.GetCommand()); - AZ_Assert(check, - "Callback in FullFileDecompressor::PrepareDedicatedCache expected FileExistsCheck but got another command."); - if (check->m_found) + FileRequest* originalRequest = m_context->RejectRequest(nextRequest); + if (AZStd::holds_alternative(originalRequest->GetCommand())) { - FileRequest* originalRequest = nextRequest->GetParent(); - m_context->RejectRequest(nextRequest); - StreamStackEntry::PrepareRequest(originalRequest); + originalRequest = m_context->RejectRequest(originalRequest); } - else - { - m_context->PushPreparedRequest(nextRequest); - } - }; - FileRequest* fileCheckRequest = m_context->GetNewInternalRequest(); - fileCheckRequest->CreateFileExistsCheck(path); - fileCheckRequest->SetCompletionCallback(AZStd::move(callback)); - StreamStackEntry::QueueRequest(fileCheckRequest); - } - else - { - m_context->PushPreparedRequest(nextRequest); - } - } - else - { - StreamStackEntry::PrepareRequest(request); - } - } - - void FullFileDecompressor::FileExistsCheck(FileRequest* checkRequest) - { - auto& fileCheckRequest = AZStd::get(checkRequest->GetCommand()); - CompressionInfo info; - if (CompressionUtils::FindCompressionInfo(info, fileCheckRequest.m_path.GetRelativePath())) - { - fileCheckRequest.m_found = true; - } - else - { - // The file isn't in the archive but might still exist as a loose file, so let the next node have a shot. - StreamStackEntry::QueueRequest(checkRequest); - } - } - - void FullFileDecompressor::StartArchiveRead(FileRequest* compressedReadRequest) - { - if (!m_next) - { - compressedReadRequest->SetStatus(IStreamerTypes::RequestStatus::Failed); - m_context->MarkRequestAsCompleted(compressedReadRequest); - return; - } - - for (u32 i = 0; i < m_maxNumReads; ++i) - { - if (m_readBufferStatus[i] == ReadBufferStatus::Unused) - { - auto data = AZStd::get_if(&compressedReadRequest->GetCommand()); - AZ_Assert(data, "Compressed request that's starting a read in FullFileDecompressor didn't contain compression read data."); - AZ_Assert(data->m_compressionInfo.m_decompressor, - "FileRequest for FullFileDecompressor is missing a decompression callback."); - - CompressionInfo& info = data->m_compressionInfo; - AZ_Assert(info.m_decompressor, "FullFileDecompressor is planning to a queue a request for reading but couldn't find a decompressor."); - - // The buffer is aligned down but the offset is not corrected. If the offset was adjusted it would mean the same data is read - // multiple times and negates the block cache's ability to detect these cases. By still adjusting it means that the reads between - // the BlockCache's prolog and epilog are read into aligned buffers. - size_t offsetAdjustment = info.m_offset - AZ_SIZE_ALIGN_DOWN(info.m_offset, aznumeric_cast(m_alignment)); - size_t bufferSize = AZ_SIZE_ALIGN_UP((info.m_compressedSize + offsetAdjustment), aznumeric_cast(m_alignment)); - m_readBuffers[i] = reinterpret_cast(AZ::AllocatorInstance::Get().Allocate( - bufferSize, m_alignment, 0, "AZ::IO::Streamer FullFileDecompressor", __FILE__, __LINE__)); - m_memoryUsage += bufferSize; - - FileRequest* archiveReadRequest = m_context->GetNewInternalRequest(); - archiveReadRequest->CreateRead(compressedReadRequest, m_readBuffers[i] + offsetAdjustment, bufferSize, info.m_archiveFilename, - info.m_offset, info.m_compressedSize, info.m_isSharedPak); - archiveReadRequest->SetCompletionCallback( - [this, readSlot = i](FileRequest& request) - { - AZ_PROFILE_FUNCTION(AzCore); - FinishArchiveRead(&request, readSlot); - }); - m_next->QueueRequest(archiveReadRequest); - - m_readRequests[i] = archiveReadRequest; - m_readBufferStatus[i] = ReadBufferStatus::ReadInFlight; - - AZ_Assert(m_numInFlightReads < m_maxNumReads, - "A FileRequest was queued for reading in FullFileDecompressor, but there's no slots available."); - m_numInFlightReads++; - - return; - } - } - AZ_Assert(false, "%u of %u read slots are use in the FullFileDecompressor, but no empty slot was found.", m_numInFlightReads, m_maxNumReads); - } - - void FullFileDecompressor::FinishArchiveRead(FileRequest* readRequest, u32 readSlot) - { - AZ_Assert(m_readRequests[readSlot] == readRequest, - "Request in the archive read slot isn't the same as request that's being completed."); - - FileRequest* compressedRequest = readRequest->GetParent(); - AZ_Assert(compressedRequest, "Read requests started by FullFileDecompressor is missing a parent request."); - - if (readRequest->GetStatus() == IStreamerTypes::RequestStatus::Completed) - { - m_readBufferStatus[readSlot] = ReadBufferStatus::PendingDecompression; - ++m_numPendingDecompression; - - // Add this wait so the compressed request isn't fully completed yet as only the read part is done. The - // job thread will finish this wait, which in turn will trigger this function again on the main streaming thread. - FileRequest* waitRequest = m_context->GetNewInternalRequest(); - waitRequest->CreateWait(compressedRequest); - m_readRequests[readSlot] = waitRequest; - } - else - { - auto data = AZStd::get_if(&compressedRequest->GetCommand()); - AZ_Assert(data, "Compressed request in FullFileDecompressor that finished unsuccessfully didn't contain compression read data."); - CompressionInfo& info = data->m_compressionInfo; - size_t offsetAdjustment = info.m_offset - AZ_SIZE_ALIGN_DOWN(info.m_offset, aznumeric_cast(m_alignment)); - size_t bufferSize = AZ_SIZE_ALIGN_UP((info.m_compressedSize + offsetAdjustment), aznumeric_cast(m_alignment)); - m_memoryUsage -= bufferSize; - - if (m_readBuffers[readSlot] != nullptr) - { - AZ::AllocatorInstance::Get().DeAllocate(m_readBuffers[readSlot], bufferSize, m_alignment); - m_readBuffers[readSlot] = nullptr; - } - m_readRequests[readSlot] = nullptr; - m_readBufferStatus[readSlot] = ReadBufferStatus::Unused; - AZ_Assert(m_numInFlightReads > 0, - "Trying to decrement a read request after it was canceled or failed in FullFileDecompressor, " - "but no read requests are supposed to be queued."); - m_numInFlightReads--; - } - } - - bool FullFileDecompressor::StartDecompressions() - { - bool queuedJobs = false; - u32 jobSlot = 0; - for (u32 readSlot = 0; readSlot < m_maxNumReads; ++readSlot) - { - // Find completed read. - if (m_readBufferStatus[readSlot] != ReadBufferStatus::PendingDecompression) - { - continue; - } - - // Find decompression slot - for (; jobSlot < m_maxNumJobs; ++jobSlot) - { - if (m_processingJobs[jobSlot].IsProcessing()) - { - continue; - } - - FileRequest* waitRequest = m_readRequests[readSlot]; - AZ_Assert(AZStd::holds_alternative(waitRequest->GetCommand()), - "File request waiting for decompression wasn't marked as being a wait operation."); - FileRequest* compressedRequest = waitRequest->GetParent(); - AZ_Assert(compressedRequest, "Read requests started by FullFileDecompressor is missing a parent request."); - - waitRequest->SetCompletionCallback([this, jobSlot](FileRequest& request) - { - AZ_PROFILE_FUNCTION(AzCore); - FinishDecompression(&request, jobSlot); - }); - - DecompressionInformation& info = m_processingJobs[jobSlot]; - info.m_waitRequest = waitRequest; - info.m_queueStartTime = AZStd::chrono::high_resolution_clock::now(); - info.m_jobStartTime = info.m_queueStartTime; // Set these to the same in case the scheduler requests an update before the job has started. - info.m_compressedData = m_readBuffers[readSlot]; // Transfer ownership of the pointer. - m_readBuffers[readSlot] = nullptr; - - AZ::Job* decompressionJob; - auto data = AZStd::get_if(&compressedRequest->GetCommand()); - AZ_Assert(data, "Compressed request in FullFileDecompressor that's starting decompression didn't contain compression read data."); - AZ_Assert(data->m_compressionInfo.m_decompressor, "FullFileDecompressor is queuing a decompression job but couldn't find a decompressor."); - - info.m_alignmentOffset = aznumeric_caster(data->m_compressionInfo.m_offset - - AZ_SIZE_ALIGN_DOWN(data->m_compressionInfo.m_offset, aznumeric_cast(m_alignment))); - - if (data->m_readOffset == 0 && data->m_readSize == data->m_compressionInfo.m_uncompressedSize) - { - auto job = [this, &info]() - { - FullDecompression(m_context, info); - }; - decompressionJob = AZ::CreateJobFunction(job, true, m_decompressionjobContext.get()); + StreamStackEntry::PrepareRequest(originalRequest); } else { - m_memoryUsage += data->m_compressionInfo.m_uncompressedSize; - auto job = [this, &info]() - { - PartialDecompression(m_context, info); - }; - decompressionJob = AZ::CreateJobFunction(job, true, m_decompressionjobContext.get()); + m_context->PushPreparedRequest(nextRequest); } - --m_numPendingDecompression; - ++m_numRunningJobs; - decompressionJob->Start(); - - m_readRequests[readSlot] = nullptr; - m_readBufferStatus[readSlot] = ReadBufferStatus::Unused; - AZ_Assert(m_numInFlightReads > 0, "Trying to decrement a read request after it's queued for decompression in FullFileDecompressor, but no read requests are supposed to be queued."); - m_numInFlightReads--; - - queuedJobs = true; - break; - } - - if (m_numInFlightReads == 0 || m_numRunningJobs == m_maxNumJobs) - { - return queuedJobs; - } + }; + FileRequest* fileCheckRequest = m_context->GetNewInternalRequest(); + fileCheckRequest->CreateFileExistsCheck(data.m_path); + fileCheckRequest->SetCompletionCallback(AZStd::move(callback)); + StreamStackEntry::QueueRequest(fileCheckRequest); } - return queuedJobs; + else + { + m_context->PushPreparedRequest(nextRequest); + } + } + else + { + StreamStackEntry::PrepareRequest(request); + } + } + + void FullFileDecompressor::PrepareDedicatedCache(FileRequest* request, const RequestPath& path) + { + CompressionInfo info; + if (CompressionUtils::FindCompressionInfo(info, path.GetRelativePath())) + { + FileRequest* nextRequest = m_context->GetNewInternalRequest(); + AZStd::visit([request, &info, nextRequest](auto&& args) + { + using Command = AZStd::decay_t; + if constexpr (AZStd::is_same_v) + { + nextRequest->CreateDedicatedCacheCreation(AZStd::move(info.m_archiveFilename), + FileRange::CreateRange(info.m_offset, info.m_compressedSize), request); + } + else if constexpr (AZStd::is_same_v) + { + nextRequest->CreateDedicatedCacheDestruction(AZStd::move(info.m_archiveFilename), + FileRange::CreateRange(info.m_offset, info.m_compressedSize), request); + } + }, request->GetCommand()); + + if (info.m_conflictResolution == ConflictResolution::PreferFile) + { + auto callback = [this, nextRequest](const FileRequest& checkRequest) + { + AZ_PROFILE_FUNCTION(AzCore); + auto check = AZStd::get_if(&checkRequest.GetCommand()); + AZ_Assert(check, + "Callback in FullFileDecompressor::PrepareDedicatedCache expected FileExistsCheck but got another command."); + if (check->m_found) + { + FileRequest* originalRequest = nextRequest->GetParent(); + m_context->RejectRequest(nextRequest); + StreamStackEntry::PrepareRequest(originalRequest); + } + else + { + m_context->PushPreparedRequest(nextRequest); + } + }; + FileRequest* fileCheckRequest = m_context->GetNewInternalRequest(); + fileCheckRequest->CreateFileExistsCheck(path); + fileCheckRequest->SetCompletionCallback(AZStd::move(callback)); + StreamStackEntry::QueueRequest(fileCheckRequest); + } + else + { + m_context->PushPreparedRequest(nextRequest); + } + } + else + { + StreamStackEntry::PrepareRequest(request); + } + } + + void FullFileDecompressor::FileExistsCheck(FileRequest* checkRequest) + { + auto& fileCheckRequest = AZStd::get(checkRequest->GetCommand()); + CompressionInfo info; + if (CompressionUtils::FindCompressionInfo(info, fileCheckRequest.m_path.GetRelativePath())) + { + fileCheckRequest.m_found = true; + } + else + { + // The file isn't in the archive but might still exist as a loose file, so let the next node have a shot. + StreamStackEntry::QueueRequest(checkRequest); + } + } + + void FullFileDecompressor::StartArchiveRead(FileRequest* compressedReadRequest) + { + if (!m_next) + { + compressedReadRequest->SetStatus(IStreamerTypes::RequestStatus::Failed); + m_context->MarkRequestAsCompleted(compressedReadRequest); + return; } - void FullFileDecompressor::FinishDecompression([[maybe_unused]] FileRequest* waitRequest, u32 jobSlot) + for (u32 i = 0; i < m_maxNumReads; ++i) { - DecompressionInformation& jobInfo = m_processingJobs[jobSlot]; - AZ_Assert(jobInfo.m_waitRequest == waitRequest, "Job slot didn't contain the expected wait request."); + if (m_readBufferStatus[i] == ReadBufferStatus::Unused) + { + auto data = AZStd::get_if(&compressedReadRequest->GetCommand()); + AZ_Assert(data, "Compressed request that's starting a read in FullFileDecompressor didn't contain compression read data."); + AZ_Assert(data->m_compressionInfo.m_decompressor, + "FileRequest for FullFileDecompressor is missing a decompression callback."); - auto endTime = AZStd::chrono::high_resolution_clock::now(); + CompressionInfo& info = data->m_compressionInfo; + AZ_Assert(info.m_decompressor, "FullFileDecompressor is planning to a queue a request for reading but couldn't find a decompressor."); - FileRequest* compressedRequest = jobInfo.m_waitRequest->GetParent(); - AZ_Assert(compressedRequest, "A wait request attached to FullFileDecompressor was completed but didn't have a parent compressed request."); + // The buffer is aligned down but the offset is not corrected. If the offset was adjusted it would mean the same data is read + // multiple times and negates the block cache's ability to detect these cases. By still adjusting it means that the reads between + // the BlockCache's prolog and epilog are read into aligned buffers. + size_t offsetAdjustment = info.m_offset - AZ_SIZE_ALIGN_DOWN(info.m_offset, aznumeric_cast(m_alignment)); + size_t bufferSize = AZ_SIZE_ALIGN_UP((info.m_compressedSize + offsetAdjustment), aznumeric_cast(m_alignment)); + m_readBuffers[i] = reinterpret_cast(AZ::AllocatorInstance::Get().Allocate( + bufferSize, m_alignment, 0, "AZ::IO::Streamer FullFileDecompressor", __FILE__, __LINE__)); + m_memoryUsage += bufferSize; + + FileRequest* archiveReadRequest = m_context->GetNewInternalRequest(); + archiveReadRequest->CreateRead(compressedReadRequest, m_readBuffers[i] + offsetAdjustment, bufferSize, info.m_archiveFilename, + info.m_offset, info.m_compressedSize, info.m_isSharedPak); + archiveReadRequest->SetCompletionCallback( + [this, readSlot = i](FileRequest& request) + { + AZ_PROFILE_FUNCTION(AzCore); + FinishArchiveRead(&request, readSlot); + }); + m_next->QueueRequest(archiveReadRequest); + + m_readRequests[i] = archiveReadRequest; + m_readBufferStatus[i] = ReadBufferStatus::ReadInFlight; + + AZ_Assert(m_numInFlightReads < m_maxNumReads, + "A FileRequest was queued for reading in FullFileDecompressor, but there's no slots available."); + m_numInFlightReads++; + + return; + } + } + AZ_Assert(false, "%u of %u read slots are use in the FullFileDecompressor, but no empty slot was found.", m_numInFlightReads, m_maxNumReads); + } + + void FullFileDecompressor::FinishArchiveRead(FileRequest* readRequest, u32 readSlot) + { + AZ_Assert(m_readRequests[readSlot] == readRequest, + "Request in the archive read slot isn't the same as request that's being completed."); + + FileRequest* compressedRequest = readRequest->GetParent(); + AZ_Assert(compressedRequest, "Read requests started by FullFileDecompressor is missing a parent request."); + + if (readRequest->GetStatus() == IStreamerTypes::RequestStatus::Completed) + { + m_readBufferStatus[readSlot] = ReadBufferStatus::PendingDecompression; + ++m_numPendingDecompression; + + // Add this wait so the compressed request isn't fully completed yet as only the read part is done. The + // job thread will finish this wait, which in turn will trigger this function again on the main streaming thread. + FileRequest* waitRequest = m_context->GetNewInternalRequest(); + waitRequest->CreateWait(compressedRequest); + m_readRequests[readSlot] = waitRequest; + } + else + { auto data = AZStd::get_if(&compressedRequest->GetCommand()); - AZ_Assert(data, "Compressed request in FullFileDecompressor that completed decompression didn't contain compression read data."); + AZ_Assert(data, "Compressed request in FullFileDecompressor that finished unsuccessfully didn't contain compression read data."); CompressionInfo& info = data->m_compressionInfo; size_t offsetAdjustment = info.m_offset - AZ_SIZE_ALIGN_DOWN(info.m_offset, aznumeric_cast(m_alignment)); size_t bufferSize = AZ_SIZE_ALIGN_UP((info.m_compressedSize + offsetAdjustment), aznumeric_cast(m_alignment)); m_memoryUsage -= bufferSize; - if (data->m_readOffset != 0 || data->m_readSize != data->m_compressionInfo.m_uncompressedSize) + + if (m_readBuffers[readSlot] != nullptr) { - m_memoryUsage -= data->m_compressionInfo.m_uncompressedSize; + AZ::AllocatorInstance::Get().DeAllocate(m_readBuffers[readSlot], bufferSize, m_alignment); + m_readBuffers[readSlot] = nullptr; + } + m_readRequests[readSlot] = nullptr; + m_readBufferStatus[readSlot] = ReadBufferStatus::Unused; + AZ_Assert(m_numInFlightReads > 0, + "Trying to decrement a read request after it was canceled or failed in FullFileDecompressor, " + "but no read requests are supposed to be queued."); + m_numInFlightReads--; + } + } + + bool FullFileDecompressor::StartDecompressions() + { + bool queuedJobs = false; + u32 jobSlot = 0; + for (u32 readSlot = 0; readSlot < m_maxNumReads; ++readSlot) + { + // Find completed read. + if (m_readBufferStatus[readSlot] != ReadBufferStatus::PendingDecompression) + { + continue; } - m_decompressionJobDelayMicroSec.PushEntry(AZStd::chrono::duration_cast( - jobInfo.m_jobStartTime - jobInfo.m_queueStartTime).count()); - m_decompressionDurationMicroSec.PushEntry(AZStd::chrono::duration_cast( - endTime - jobInfo.m_jobStartTime).count()); - m_bytesDecompressed.PushEntry(data->m_compressionInfo.m_compressedSize); + // Find decompression slot + for (; jobSlot < m_maxNumJobs; ++jobSlot) + { + if (m_processingJobs[jobSlot].IsProcessing()) + { + continue; + } - AZ::AllocatorInstance::Get().DeAllocate(jobInfo.m_compressedData, bufferSize, m_alignment); - jobInfo.m_compressedData = nullptr; - AZ_Assert(m_numRunningJobs > 0, "About to complete a decompression job, but the internal count doesn't see a running job."); - --m_numRunningJobs; - return; + FileRequest* waitRequest = m_readRequests[readSlot]; + AZ_Assert(AZStd::holds_alternative(waitRequest->GetCommand()), + "File request waiting for decompression wasn't marked as being a wait operation."); + FileRequest* compressedRequest = waitRequest->GetParent(); + AZ_Assert(compressedRequest, "Read requests started by FullFileDecompressor is missing a parent request."); + + waitRequest->SetCompletionCallback([this, jobSlot](FileRequest& request) + { + AZ_PROFILE_FUNCTION(AzCore); + FinishDecompression(&request, jobSlot); + }); + + DecompressionInformation& info = m_processingJobs[jobSlot]; + info.m_waitRequest = waitRequest; + info.m_queueStartTime = AZStd::chrono::high_resolution_clock::now(); + info.m_jobStartTime = info.m_queueStartTime; // Set these to the same in case the scheduler requests an update before the job has started. + info.m_compressedData = m_readBuffers[readSlot]; // Transfer ownership of the pointer. + m_readBuffers[readSlot] = nullptr; + + AZ::Job* decompressionJob; + auto data = AZStd::get_if(&compressedRequest->GetCommand()); + AZ_Assert(data, "Compressed request in FullFileDecompressor that's starting decompression didn't contain compression read data."); + AZ_Assert(data->m_compressionInfo.m_decompressor, "FullFileDecompressor is queuing a decompression job but couldn't find a decompressor."); + + info.m_alignmentOffset = aznumeric_caster(data->m_compressionInfo.m_offset - + AZ_SIZE_ALIGN_DOWN(data->m_compressionInfo.m_offset, aznumeric_cast(m_alignment))); + + if (data->m_readOffset == 0 && data->m_readSize == data->m_compressionInfo.m_uncompressedSize) + { + auto job = [this, &info]() + { + FullDecompression(m_context, info); + }; + decompressionJob = AZ::CreateJobFunction(job, true, m_decompressionjobContext.get()); + } + else + { + m_memoryUsage += data->m_compressionInfo.m_uncompressedSize; + auto job = [this, &info]() + { + PartialDecompression(m_context, info); + }; + decompressionJob = AZ::CreateJobFunction(job, true, m_decompressionjobContext.get()); + } + --m_numPendingDecompression; + ++m_numRunningJobs; + decompressionJob->Start(); + + m_readRequests[readSlot] = nullptr; + m_readBufferStatus[readSlot] = ReadBufferStatus::Unused; + AZ_Assert(m_numInFlightReads > 0, "Trying to decrement a read request after it's queued for decompression in FullFileDecompressor, but no read requests are supposed to be queued."); + m_numInFlightReads--; + + queuedJobs = true; + break; + } + + if (m_numInFlightReads == 0 || m_numRunningJobs == m_maxNumJobs) + { + return queuedJobs; + } } + return queuedJobs; + } - void FullFileDecompressor::FullDecompression(StreamerContext* context, DecompressionInformation& info) + void FullFileDecompressor::FinishDecompression([[maybe_unused]] FileRequest* waitRequest, u32 jobSlot) + { + DecompressionInformation& jobInfo = m_processingJobs[jobSlot]; + AZ_Assert(jobInfo.m_waitRequest == waitRequest, "Job slot didn't contain the expected wait request."); + + auto endTime = AZStd::chrono::high_resolution_clock::now(); + + FileRequest* compressedRequest = jobInfo.m_waitRequest->GetParent(); + AZ_Assert(compressedRequest, "A wait request attached to FullFileDecompressor was completed but didn't have a parent compressed request."); + auto data = AZStd::get_if(&compressedRequest->GetCommand()); + AZ_Assert(data, "Compressed request in FullFileDecompressor that completed decompression didn't contain compression read data."); + CompressionInfo& info = data->m_compressionInfo; + size_t offsetAdjustment = info.m_offset - AZ_SIZE_ALIGN_DOWN(info.m_offset, aznumeric_cast(m_alignment)); + size_t bufferSize = AZ_SIZE_ALIGN_UP((info.m_compressedSize + offsetAdjustment), aznumeric_cast(m_alignment)); + m_memoryUsage -= bufferSize; + if (data->m_readOffset != 0 || data->m_readSize != data->m_compressionInfo.m_uncompressedSize) { - info.m_jobStartTime = AZStd::chrono::high_resolution_clock::now(); - - FileRequest* compressedRequest = info.m_waitRequest->GetParent(); - AZ_Assert(compressedRequest, "A wait request attached to FullFileDecompressor was completed but didn't have a parent compressed request."); - auto request = AZStd::get_if(&compressedRequest->GetCommand()); - AZ_Assert(request, "Compressed request in FullFileDecompressor that's running full decompression didn't contain compression read data."); - CompressionInfo& compressionInfo = request->m_compressionInfo; - AZ_Assert(compressionInfo.m_decompressor, "Full decompressor job started, but there's no decompressor callback assigned."); - - AZ_Assert(request->m_readOffset == 0, "FullFileDecompressor is doing a full decompression on a file request with an offset (%zu).", - request->m_readOffset); - AZ_Assert(compressionInfo.m_uncompressedSize == request->m_readSize, - "FullFileDecompressor is doing a full decompression, but the target buffer size (%llu) doesn't match the decompressed size (%zu).", - request->m_readSize, compressionInfo.m_uncompressedSize); - - bool success = compressionInfo.m_decompressor(compressionInfo, info.m_compressedData + info.m_alignmentOffset, - compressionInfo.m_compressedSize, request->m_output, compressionInfo.m_uncompressedSize); - info.m_waitRequest->SetStatus(success ? IStreamerTypes::RequestStatus::Completed : IStreamerTypes::RequestStatus::Failed); - - context->MarkRequestAsCompleted(info.m_waitRequest); - context->WakeUpSchedulingThread(); + m_memoryUsage -= data->m_compressionInfo.m_uncompressedSize; } - void FullFileDecompressor::PartialDecompression(StreamerContext* context, DecompressionInformation& info) - { - info.m_jobStartTime = AZStd::chrono::high_resolution_clock::now(); + m_decompressionJobDelayMicroSec.PushEntry(AZStd::chrono::duration_cast( + jobInfo.m_jobStartTime - jobInfo.m_queueStartTime).count()); + m_decompressionDurationMicroSec.PushEntry(AZStd::chrono::duration_cast( + endTime - jobInfo.m_jobStartTime).count()); + m_bytesDecompressed.PushEntry(data->m_compressionInfo.m_compressedSize); - FileRequest* compressedRequest = info.m_waitRequest->GetParent(); - AZ_Assert(compressedRequest, "A wait request attached to FullFileDecompressor was completed but didn't have a parent compressed request."); - auto request = AZStd::get_if(&compressedRequest->GetCommand()); - AZ_Assert(request, "Compressed request in FullFileDecompressor that's running partial decompression didn't contain compression read data."); - CompressionInfo& compressionInfo = request->m_compressionInfo; - AZ_Assert(compressionInfo.m_decompressor, "Partial decompressor job started, but there's no decompressor callback assigned."); + AZ::AllocatorInstance::Get().DeAllocate(jobInfo.m_compressedData, bufferSize, m_alignment); + jobInfo.m_compressedData = nullptr; + AZ_Assert(m_numRunningJobs > 0, "About to complete a decompression job, but the internal count doesn't see a running job."); + --m_numRunningJobs; + return; + } - AZStd::unique_ptr decompressionBuffer = AZStd::unique_ptr(new u8[compressionInfo.m_uncompressedSize]); - bool success = compressionInfo.m_decompressor(compressionInfo, info.m_compressedData + info.m_alignmentOffset, - compressionInfo.m_compressedSize, decompressionBuffer.get(), compressionInfo.m_uncompressedSize); - info.m_waitRequest->SetStatus(success ? IStreamerTypes::RequestStatus::Completed : IStreamerTypes::RequestStatus::Failed); - - memcpy(request->m_output, decompressionBuffer.get() + request->m_readOffset, request->m_readSize); + void FullFileDecompressor::FullDecompression(StreamerContext* context, DecompressionInformation& info) + { + info.m_jobStartTime = AZStd::chrono::high_resolution_clock::now(); - context->MarkRequestAsCompleted(info.m_waitRequest); - context->WakeUpSchedulingThread(); - } - } // namespace IO -} // namespace AZ + FileRequest* compressedRequest = info.m_waitRequest->GetParent(); + AZ_Assert(compressedRequest, "A wait request attached to FullFileDecompressor was completed but didn't have a parent compressed request."); + auto request = AZStd::get_if(&compressedRequest->GetCommand()); + AZ_Assert(request, "Compressed request in FullFileDecompressor that's running full decompression didn't contain compression read data."); + CompressionInfo& compressionInfo = request->m_compressionInfo; + AZ_Assert(compressionInfo.m_decompressor, "Full decompressor job started, but there's no decompressor callback assigned."); + + AZ_Assert(request->m_readOffset == 0, "FullFileDecompressor is doing a full decompression on a file request with an offset (%zu).", + request->m_readOffset); + AZ_Assert(compressionInfo.m_uncompressedSize == request->m_readSize, + "FullFileDecompressor is doing a full decompression, but the target buffer size (%llu) doesn't match the decompressed size (%zu).", + request->m_readSize, compressionInfo.m_uncompressedSize); + + bool success = compressionInfo.m_decompressor(compressionInfo, info.m_compressedData + info.m_alignmentOffset, + compressionInfo.m_compressedSize, request->m_output, compressionInfo.m_uncompressedSize); + info.m_waitRequest->SetStatus(success ? IStreamerTypes::RequestStatus::Completed : IStreamerTypes::RequestStatus::Failed); + + context->MarkRequestAsCompleted(info.m_waitRequest); + context->WakeUpSchedulingThread(); + } + + void FullFileDecompressor::PartialDecompression(StreamerContext* context, DecompressionInformation& info) + { + info.m_jobStartTime = AZStd::chrono::high_resolution_clock::now(); + + FileRequest* compressedRequest = info.m_waitRequest->GetParent(); + AZ_Assert(compressedRequest, "A wait request attached to FullFileDecompressor was completed but didn't have a parent compressed request."); + auto request = AZStd::get_if(&compressedRequest->GetCommand()); + AZ_Assert(request, "Compressed request in FullFileDecompressor that's running partial decompression didn't contain compression read data."); + CompressionInfo& compressionInfo = request->m_compressionInfo; + AZ_Assert(compressionInfo.m_decompressor, "Partial decompressor job started, but there's no decompressor callback assigned."); + + AZStd::unique_ptr decompressionBuffer = AZStd::unique_ptr(new u8[compressionInfo.m_uncompressedSize]); + bool success = compressionInfo.m_decompressor(compressionInfo, info.m_compressedData + info.m_alignmentOffset, + compressionInfo.m_compressedSize, decompressionBuffer.get(), compressionInfo.m_uncompressedSize); + info.m_waitRequest->SetStatus(success ? IStreamerTypes::RequestStatus::Completed : IStreamerTypes::RequestStatus::Failed); + + memcpy(request->m_output, decompressionBuffer.get() + request->m_readOffset, request->m_readSize); + + context->MarkRequestAsCompleted(info.m_waitRequest); + context->WakeUpSchedulingThread(); + } +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IO/Streamer/ReadSplitter.cpp b/Code/Framework/AzCore/AzCore/IO/Streamer/ReadSplitter.cpp index 00c1c63933..a952e31a93 100644 --- a/Code/Framework/AzCore/AzCore/IO/Streamer/ReadSplitter.cpp +++ b/Code/Framework/AzCore/AzCore/IO/Streamer/ReadSplitter.cpp @@ -14,376 +14,373 @@ #include #include -namespace AZ +namespace AZ::IO { - namespace IO + AZStd::shared_ptr ReadSplitterConfig::AddStreamStackEntry( + const HardwareInformation& hardware, AZStd::shared_ptr parent) { - AZStd::shared_ptr ReadSplitterConfig::AddStreamStackEntry( - const HardwareInformation& hardware, AZStd::shared_ptr parent) + size_t splitSize; + switch (m_splitSize) { - size_t splitSize; - switch (m_splitSize) - { - case SplitSize::MaxTransfer: - splitSize = hardware.m_maxTransfer; - break; - case SplitSize::MemoryAlignment: - splitSize = hardware.m_maxPhysicalSectorSize; - break; - default: - splitSize = m_splitSize; - break; - } - - size_t bufferSize = m_bufferSizeMib * 1_mib; - if (bufferSize < splitSize) - { - AZ_Warning("Streamer", false, "The buffer size for the Read Splitter is smaller than the individual split size. " - "It will be increased to fit at least one split."); - bufferSize = splitSize; - } - - auto stackEntry = AZStd::make_shared( - splitSize, - aznumeric_caster(hardware.m_maxPhysicalSectorSize), - aznumeric_caster(hardware.m_maxLogicalSectorSize), - bufferSize, m_adjustOffset, m_splitAlignedRequests); - stackEntry->SetNext(AZStd::move(parent)); - return stackEntry; + case SplitSize::MaxTransfer: + splitSize = hardware.m_maxTransfer; + break; + case SplitSize::MemoryAlignment: + splitSize = hardware.m_maxPhysicalSectorSize; + break; + default: + splitSize = m_splitSize; + break; } - void ReadSplitterConfig::Reflect(AZ::ReflectContext* context) + size_t bufferSize = m_bufferSizeMib * 1_mib; + if (bufferSize < splitSize) { - if (auto serializeContext = azrtti_cast(context); serializeContext != nullptr) - { - serializeContext->Enum() - ->Version(1) - ->Value("MaxTransfer", SplitSize::MaxTransfer) - ->Value("MemoryAlignment", SplitSize::MemoryAlignment); - - serializeContext->Class() - ->Version(1) - ->Field("BufferSizeMib", &ReadSplitterConfig::m_bufferSizeMib) - ->Field("SplitSize", &ReadSplitterConfig::m_splitSize) - ->Field("AdjustOffset", &ReadSplitterConfig::m_adjustOffset) - ->Field("SplitAlignedRequests", &ReadSplitterConfig::m_splitAlignedRequests); - } + AZ_Warning("Streamer", false, "The buffer size for the Read Splitter is smaller than the individual split size. " + "It will be increased to fit at least one split."); + bufferSize = splitSize; } - static constexpr char AvgNumSubReadsName[] = "Avg. num sub reads"; - static constexpr char AlignedReadsName[] = "Aligned reads"; - static constexpr char NumAvailableBufferSlotsName[] = "Num available buffer slots"; - static constexpr char NumPendingReadsName[] = "Num pending reads"; + auto stackEntry = AZStd::make_shared( + splitSize, + aznumeric_caster(hardware.m_maxPhysicalSectorSize), + aznumeric_caster(hardware.m_maxLogicalSectorSize), + bufferSize, m_adjustOffset, m_splitAlignedRequests); + stackEntry->SetNext(AZStd::move(parent)); + return stackEntry; + } - ReadSplitter::ReadSplitter(u64 maxReadSize, u32 memoryAlignment, u32 sizeAlignment, size_t bufferSize, - bool adjustOffset, bool splitAlignedRequests) - : StreamStackEntry("Read splitter") - , m_buffer(nullptr) - , m_bufferSize(bufferSize) - , m_maxReadSize(maxReadSize) - , m_memoryAlignment(memoryAlignment) - , m_sizeAlignment(sizeAlignment) - , m_adjustOffset(adjustOffset) - , m_splitAlignedRequests(splitAlignedRequests) + void ReadSplitterConfig::Reflect(AZ::ReflectContext* context) + { + if (auto serializeContext = azrtti_cast(context); serializeContext != nullptr) { - AZ_Assert(IStreamerTypes::IsPowerOf2(memoryAlignment), "Memory alignment needs to be a power of 2"); - AZ_Assert(IStreamerTypes::IsPowerOf2(sizeAlignment), "Size alignment needs to be a power of 2"); - AZ_Assert(IStreamerTypes::IsAlignedTo(maxReadSize, sizeAlignment), - "Maximum read size isn't aligned to a multiple of the size alignment."); + serializeContext->Enum() + ->Version(1) + ->Value("MaxTransfer", SplitSize::MaxTransfer) + ->Value("MemoryAlignment", SplitSize::MemoryAlignment); - size_t numBufferSlots = bufferSize / maxReadSize; - // Don't divide the reads up in more sub-reads than there are dependencies available. - numBufferSlots = AZStd::min(numBufferSlots, FileRequest::GetMaxNumDependencies()); - m_bufferCopyInformation = AZStd::unique_ptr(new BufferCopyInformation[numBufferSlots]); - m_availableBufferSlots.reserve(numBufferSlots); - for (u32 i = aznumeric_caster(numBufferSlots); i > 0; --i) - { - m_availableBufferSlots.push_back(i - 1); - } + serializeContext->Class() + ->Version(1) + ->Field("BufferSizeMib", &ReadSplitterConfig::m_bufferSizeMib) + ->Field("SplitSize", &ReadSplitterConfig::m_splitSize) + ->Field("AdjustOffset", &ReadSplitterConfig::m_adjustOffset) + ->Field("SplitAlignedRequests", &ReadSplitterConfig::m_splitAlignedRequests); + } + } + + static constexpr char AvgNumSubReadsName[] = "Avg. num sub reads"; + static constexpr char AlignedReadsName[] = "Aligned reads"; + static constexpr char NumAvailableBufferSlotsName[] = "Num available buffer slots"; + static constexpr char NumPendingReadsName[] = "Num pending reads"; + + ReadSplitter::ReadSplitter(u64 maxReadSize, u32 memoryAlignment, u32 sizeAlignment, size_t bufferSize, + bool adjustOffset, bool splitAlignedRequests) + : StreamStackEntry("Read splitter") + , m_buffer(nullptr) + , m_bufferSize(bufferSize) + , m_maxReadSize(maxReadSize) + , m_memoryAlignment(memoryAlignment) + , m_sizeAlignment(sizeAlignment) + , m_adjustOffset(adjustOffset) + , m_splitAlignedRequests(splitAlignedRequests) + { + AZ_Assert(IStreamerTypes::IsPowerOf2(memoryAlignment), "Memory alignment needs to be a power of 2"); + AZ_Assert(IStreamerTypes::IsPowerOf2(sizeAlignment), "Size alignment needs to be a power of 2"); + AZ_Assert(IStreamerTypes::IsAlignedTo(maxReadSize, sizeAlignment), + "Maximum read size isn't aligned to a multiple of the size alignment."); + + size_t numBufferSlots = bufferSize / maxReadSize; + // Don't divide the reads up in more sub-reads than there are dependencies available. + numBufferSlots = AZStd::min(numBufferSlots, FileRequest::GetMaxNumDependencies()); + m_bufferCopyInformation = AZStd::unique_ptr(new BufferCopyInformation[numBufferSlots]); + m_availableBufferSlots.reserve(numBufferSlots); + for (u32 i = aznumeric_caster(numBufferSlots); i > 0; --i) + { + m_availableBufferSlots.push_back(i - 1); + } + } + + ReadSplitter::~ReadSplitter() + { + if (m_buffer) + { + AZ::AllocatorInstance::Get().DeAllocate(m_buffer, m_bufferSize, m_memoryAlignment); + } + } + + void ReadSplitter::QueueRequest(FileRequest* request) + { + AZ_Assert(request, "QueueRequest was provided a null request."); + if (!m_next) + { + request->SetStatus(IStreamerTypes::RequestStatus::Failed); + m_context->MarkRequestAsCompleted(request); + return; } - ReadSplitter::~ReadSplitter() + auto data = AZStd::get_if(&request->GetCommand()); + if (data == nullptr) { - if (m_buffer) - { - AZ::AllocatorInstance::Get().DeAllocate(m_buffer, m_bufferSize, m_memoryAlignment); - } + StreamStackEntry::QueueRequest(request); + return; } - void ReadSplitter::QueueRequest(FileRequest* request) - { - AZ_Assert(request, "QueueRequest was provided a null request."); - if (!m_next) - { - request->SetStatus(IStreamerTypes::RequestStatus::Failed); - m_context->MarkRequestAsCompleted(request); - return; - } + m_averageNumSubReadsStat.PushSample(aznumeric_cast((data->m_size / m_maxReadSize) + 1)); + Statistic::PlotImmediate(m_name, AvgNumSubReadsName, m_averageNumSubReadsStat.GetMostRecentSample()); - auto data = AZStd::get_if(&request->GetCommand()); - if (data == nullptr) + bool isAligned = IStreamerTypes::IsAlignedTo(data->m_output, m_memoryAlignment); + if (m_adjustOffset) + { + isAligned = isAligned && IStreamerTypes::IsAlignedTo(data->m_offset, m_sizeAlignment); + } + + if (isAligned || m_bufferSize == 0) + { + m_alignedReadsStat.PushSample(isAligned ? 1.0 : 0.0); + if (!m_splitAlignedRequests) { StreamStackEntry::QueueRequest(request); - return; - } - - m_averageNumSubReadsStat.PushSample(aznumeric_cast((data->m_size / m_maxReadSize) + 1)); - Statistic::PlotImmediate(m_name, AvgNumSubReadsName, m_averageNumSubReadsStat.GetMostRecentSample()); - - bool isAligned = IStreamerTypes::IsAlignedTo(data->m_output, m_memoryAlignment); - if (m_adjustOffset) - { - isAligned = isAligned && IStreamerTypes::IsAlignedTo(data->m_offset, m_sizeAlignment); - } - - if (isAligned || m_bufferSize == 0) - { - m_alignedReadsStat.PushSample(isAligned ? 1.0 : 0.0); - if (!m_splitAlignedRequests) - { - StreamStackEntry::QueueRequest(request); - } - else - { - QueueAlignedRead(request); - } } else { - m_alignedReadsStat.PushSample(0.0); - InitializeBuffer(); - QueueBufferedRead(request); + QueueAlignedRead(request); } } - - void ReadSplitter::QueueAlignedRead(FileRequest* request) + else { - auto data = AZStd::get_if(&request->GetCommand()); - AZ_Assert(data != nullptr, "Provided request to queue by the Read Splitter did not contain a read command."); + m_alignedReadsStat.PushSample(0.0); + InitializeBuffer(); + QueueBufferedRead(request); + } + } - if (data->m_size <= m_maxReadSize) - { - StreamStackEntry::QueueRequest(request); - return; - } + void ReadSplitter::QueueAlignedRead(FileRequest* request) + { + auto data = AZStd::get_if(&request->GetCommand()); + AZ_Assert(data != nullptr, "Provided request to queue by the Read Splitter did not contain a read command."); - PendingRead pendingRead; - pendingRead.m_request = request; - pendingRead.m_output = reinterpret_cast(data->m_output); - pendingRead.m_outputSize = data->m_outputSize; - pendingRead.m_readSize = data->m_size; - pendingRead.m_offset = data->m_offset; - pendingRead.m_isBuffered = false; - - if (!m_pendingReads.empty()) - { - m_pendingReads.push_back(pendingRead); - return; - } - - if (!QueueAlignedRead(pendingRead)) - { - m_pendingReads.push_back(pendingRead); - } + if (data->m_size <= m_maxReadSize) + { + StreamStackEntry::QueueRequest(request); + return; } - bool ReadSplitter::QueueAlignedRead(PendingRead& pending) + PendingRead pendingRead; + pendingRead.m_request = request; + pendingRead.m_output = reinterpret_cast(data->m_output); + pendingRead.m_outputSize = data->m_outputSize; + pendingRead.m_readSize = data->m_size; + pendingRead.m_offset = data->m_offset; + pendingRead.m_isBuffered = false; + + if (!m_pendingReads.empty()) { - auto data = AZStd::get_if(&pending.m_request->GetCommand()); - AZ_Assert(data != nullptr, "Provided request to queue by the Read Splitter did not contain a read command."); + m_pendingReads.push_back(pendingRead); + return; + } - while (pending.m_readSize > 0) + if (!QueueAlignedRead(pendingRead)) + { + m_pendingReads.push_back(pendingRead); + } + } + + bool ReadSplitter::QueueAlignedRead(PendingRead& pending) + { + auto data = AZStd::get_if(&pending.m_request->GetCommand()); + AZ_Assert(data != nullptr, "Provided request to queue by the Read Splitter did not contain a read command."); + + while (pending.m_readSize > 0) + { + if (pending.m_request->GetNumDependencies() >= FileRequest::GetMaxNumDependencies()) { - if (pending.m_request->GetNumDependencies() >= FileRequest::GetMaxNumDependencies()) + // Add a wait to make sure the read request isn't completed if all sub-reads completed before + // the ReadSplitter has had a chance to add new sub-reads to complete the read. + if (pending.m_wait == nullptr) { - // Add a wait to make sure the read request isn't completed if all sub-reads completed before - // the ReadSplitter has had a chance to add new sub-reads to complete the read. - if (pending.m_wait == nullptr) - { - pending.m_wait = m_context->GetNewInternalRequest(); - pending.m_wait->CreateWait(pending.m_request); - } - return false; + pending.m_wait = m_context->GetNewInternalRequest(); + pending.m_wait->CreateWait(pending.m_request); } + return false; + } - u64 readSize = m_maxReadSize; - size_t bufferSize = m_maxReadSize; - if (pending.m_readSize < m_maxReadSize) + u64 readSize = m_maxReadSize; + size_t bufferSize = m_maxReadSize; + if (pending.m_readSize < m_maxReadSize) + { + readSize = pending.m_readSize; + // This will be the last read so give the remainder of the output buffer to the final request. + bufferSize = pending.m_outputSize; + } + + FileRequest* subRequest = m_context->GetNewInternalRequest(); + subRequest->CreateRead(pending.m_request, pending.m_output, bufferSize, data->m_path, pending.m_offset, readSize, data->m_sharedRead); + subRequest->SetCompletionCallback([this](FileRequest&) { - readSize = pending.m_readSize; - // This will be the last read so give the remainder of the output buffer to the final request. - bufferSize = pending.m_outputSize; + AZ_PROFILE_FUNCTION(AzCore); + QueuePendingRequest(); + }); + m_next->QueueRequest(subRequest); + + pending.m_offset += readSize; + pending.m_readSize -= readSize; + pending.m_outputSize -= bufferSize; + pending.m_output += readSize; + } + if (pending.m_wait != nullptr) + { + m_context->MarkRequestAsCompleted(pending.m_wait); + pending.m_wait = nullptr; + } + return true; + } + + void ReadSplitter::QueueBufferedRead(FileRequest* request) + { + auto data = AZStd::get_if(&request->GetCommand()); + AZ_Assert(data != nullptr, "Provided request to queue by the Read Splitter did not contain a read command."); + + PendingRead pendingRead; + pendingRead.m_request = request; + pendingRead.m_output = reinterpret_cast(data->m_output); + pendingRead.m_outputSize = data->m_outputSize; + pendingRead.m_readSize = data->m_size; + pendingRead.m_offset = data->m_offset; + pendingRead.m_isBuffered = true; + + if (!m_pendingReads.empty()) + { + m_pendingReads.push_back(pendingRead); + return; + } + + if (!QueueBufferedRead(pendingRead)) + { + m_pendingReads.push_back(pendingRead); + } + } + + bool ReadSplitter::QueueBufferedRead(PendingRead& pending) + { + auto data = AZStd::get_if(&pending.m_request->GetCommand()); + AZ_Assert(data != nullptr, "Provided request to queue by the Read Splitter did not contain a read command."); + + while (pending.m_readSize > 0) + { + if (!m_availableBufferSlots.empty()) + { + u32 bufferSlot = m_availableBufferSlots.back(); + m_availableBufferSlots.pop_back(); + + u64 readSize; + u64 copySize; + u64 offset; + BufferCopyInformation& copyInfo = m_bufferCopyInformation[bufferSlot]; + copyInfo.m_target = pending.m_output; + + if (m_adjustOffset) + { + offset = AZ_SIZE_ALIGN_DOWN(pending.m_offset, aznumeric_cast(m_sizeAlignment)); + size_t bufferOffset = pending.m_offset - offset; + copyInfo.m_bufferOffset = bufferOffset; + readSize = AZStd::min(pending.m_readSize + bufferOffset, m_maxReadSize); + copySize = readSize - bufferOffset; } - + else + { + offset = pending.m_offset; + readSize = AZStd::min(pending.m_readSize, m_maxReadSize); + copySize = readSize; + } + AZ_Assert(readSize <= m_maxReadSize, "Read size %llu in read splitter exceeds the maximum split size of %llu.", + readSize, m_maxReadSize); + copyInfo.m_size = copySize; + FileRequest* subRequest = m_context->GetNewInternalRequest(); - subRequest->CreateRead(pending.m_request, pending.m_output, bufferSize, data->m_path, pending.m_offset, readSize, data->m_sharedRead); - subRequest->SetCompletionCallback([this](FileRequest&) + subRequest->CreateRead(pending.m_request, GetBufferSlot(bufferSlot), m_maxReadSize, data->m_path, + offset, readSize, data->m_sharedRead); + subRequest->SetCompletionCallback([this, bufferSlot]([[maybe_unused]] FileRequest& request) { AZ_PROFILE_FUNCTION(AzCore); + + BufferCopyInformation& copyInfo = m_bufferCopyInformation[bufferSlot]; + memcpy(copyInfo.m_target, GetBufferSlot(bufferSlot) + copyInfo.m_bufferOffset, copyInfo.m_size); + m_availableBufferSlots.push_back(bufferSlot); + QueuePendingRequest(); }); m_next->QueueRequest(subRequest); - pending.m_offset += readSize; - pending.m_readSize -= readSize; - pending.m_outputSize -= bufferSize; - pending.m_output += readSize; + pending.m_offset += copySize; + pending.m_readSize -= copySize; + pending.m_outputSize -= copySize; + pending.m_output += copySize; } - if (pending.m_wait != nullptr) + else { - m_context->MarkRequestAsCompleted(pending.m_wait); - pending.m_wait = nullptr; - } - return true; - } - - void ReadSplitter::QueueBufferedRead(FileRequest* request) - { - auto data = AZStd::get_if(&request->GetCommand()); - AZ_Assert(data != nullptr, "Provided request to queue by the Read Splitter did not contain a read command."); - - PendingRead pendingRead; - pendingRead.m_request = request; - pendingRead.m_output = reinterpret_cast(data->m_output); - pendingRead.m_outputSize = data->m_outputSize; - pendingRead.m_readSize = data->m_size; - pendingRead.m_offset = data->m_offset; - pendingRead.m_isBuffered = true; - - if (!m_pendingReads.empty()) - { - m_pendingReads.push_back(pendingRead); - return; - } - - if (!QueueBufferedRead(pendingRead)) - { - m_pendingReads.push_back(pendingRead); - } - } - - bool ReadSplitter::QueueBufferedRead(PendingRead& pending) - { - auto data = AZStd::get_if(&pending.m_request->GetCommand()); - AZ_Assert(data != nullptr, "Provided request to queue by the Read Splitter did not contain a read command."); - - while (pending.m_readSize > 0) - { - if (!m_availableBufferSlots.empty()) + // Add a wait to make sure the read request isn't completed if all sub-reads completed before + // the ReadSplitter has had a chance to add new sub-reads to complete the read. + if (pending.m_wait == nullptr) { - u32 bufferSlot = m_availableBufferSlots.back(); - m_availableBufferSlots.pop_back(); - - u64 readSize; - u64 copySize; - u64 offset; - BufferCopyInformation& copyInfo = m_bufferCopyInformation[bufferSlot]; - copyInfo.m_target = pending.m_output; - - if (m_adjustOffset) - { - offset = AZ_SIZE_ALIGN_DOWN(pending.m_offset, aznumeric_cast(m_sizeAlignment)); - size_t bufferOffset = pending.m_offset - offset; - copyInfo.m_bufferOffset = bufferOffset; - readSize = AZStd::min(pending.m_readSize + bufferOffset, m_maxReadSize); - copySize = readSize - bufferOffset; - } - else - { - offset = pending.m_offset; - readSize = AZStd::min(pending.m_readSize, m_maxReadSize); - copySize = readSize; - } - AZ_Assert(readSize <= m_maxReadSize, "Read size %llu in read splitter exceeds the maximum split size of %llu.", - readSize, m_maxReadSize); - copyInfo.m_size = copySize; - - FileRequest* subRequest = m_context->GetNewInternalRequest(); - subRequest->CreateRead(pending.m_request, GetBufferSlot(bufferSlot), m_maxReadSize, data->m_path, - offset, readSize, data->m_sharedRead); - subRequest->SetCompletionCallback([this, bufferSlot]([[maybe_unused]] FileRequest& request) - { - AZ_PROFILE_FUNCTION(AzCore); - - BufferCopyInformation& copyInfo = m_bufferCopyInformation[bufferSlot]; - memcpy(copyInfo.m_target, GetBufferSlot(bufferSlot) + copyInfo.m_bufferOffset, copyInfo.m_size); - m_availableBufferSlots.push_back(bufferSlot); - - QueuePendingRequest(); - }); - m_next->QueueRequest(subRequest); - - pending.m_offset += copySize; - pending.m_readSize -= copySize; - pending.m_outputSize -= copySize; - pending.m_output += copySize; - } - else - { - // Add a wait to make sure the read request isn't completed if all sub-reads completed before - // the ReadSplitter has had a chance to add new sub-reads to complete the read. - if (pending.m_wait == nullptr) - { - pending.m_wait = m_context->GetNewInternalRequest(); - pending.m_wait->CreateWait(pending.m_request); - } - return false; + pending.m_wait = m_context->GetNewInternalRequest(); + pending.m_wait->CreateWait(pending.m_request); } + return false; } - if (pending.m_wait != nullptr) + } + if (pending.m_wait != nullptr) + { + m_context->MarkRequestAsCompleted(pending.m_wait); + pending.m_wait = nullptr; + } + return true; + } + + void ReadSplitter::QueuePendingRequest() + { + if (!m_pendingReads.empty()) + { + PendingRead& pendingRead = m_pendingReads.front(); + if (pendingRead.m_isBuffered ? QueueBufferedRead(pendingRead) : QueueAlignedRead(pendingRead)) { - m_context->MarkRequestAsCompleted(pending.m_wait); - pending.m_wait = nullptr; - } - return true; - } - - void ReadSplitter::QueuePendingRequest() - { - if (!m_pendingReads.empty()) - { - PendingRead& pendingRead = m_pendingReads.front(); - if (pendingRead.m_isBuffered ? QueueBufferedRead(pendingRead) : QueueAlignedRead(pendingRead)) - { - m_pendingReads.pop_front(); - } + m_pendingReads.pop_front(); } } + } - void ReadSplitter::UpdateStatus(Status& status) const + void ReadSplitter::UpdateStatus(Status& status) const + { + StreamStackEntry::UpdateStatus(status); + if (m_bufferSize > 0) { - StreamStackEntry::UpdateStatus(status); - if (m_bufferSize > 0) - { - s32 numAvailableSlots = aznumeric_cast(m_availableBufferSlots.size()); - status.m_numAvailableSlots = AZStd::min(status.m_numAvailableSlots, numAvailableSlots); - status.m_isIdle = status.m_isIdle && m_pendingReads.empty(); - } + s32 numAvailableSlots = aznumeric_cast(m_availableBufferSlots.size()); + status.m_numAvailableSlots = AZStd::min(status.m_numAvailableSlots, numAvailableSlots); + status.m_isIdle = status.m_isIdle && m_pendingReads.empty(); } + } - void ReadSplitter::CollectStatistics(AZStd::vector& statistics) const - { - statistics.push_back(Statistic::CreateFloat(m_name, AvgNumSubReadsName, m_averageNumSubReadsStat.GetAverage())); - statistics.push_back(Statistic::CreatePercentage(m_name, AlignedReadsName, m_alignedReadsStat.GetAverage())); - statistics.push_back(Statistic::CreateInteger(m_name, NumAvailableBufferSlotsName, aznumeric_caster(m_availableBufferSlots.size()))); - statistics.push_back(Statistic::CreateInteger(m_name, NumPendingReadsName, aznumeric_caster(m_pendingReads.size()))); - StreamStackEntry::CollectStatistics(statistics); - } + void ReadSplitter::CollectStatistics(AZStd::vector& statistics) const + { + statistics.push_back(Statistic::CreateFloat(m_name, AvgNumSubReadsName, m_averageNumSubReadsStat.GetAverage())); + statistics.push_back(Statistic::CreatePercentage(m_name, AlignedReadsName, m_alignedReadsStat.GetAverage())); + statistics.push_back(Statistic::CreateInteger(m_name, NumAvailableBufferSlotsName, aznumeric_caster(m_availableBufferSlots.size()))); + statistics.push_back(Statistic::CreateInteger(m_name, NumPendingReadsName, aznumeric_caster(m_pendingReads.size()))); + StreamStackEntry::CollectStatistics(statistics); + } - void ReadSplitter::InitializeBuffer() + void ReadSplitter::InitializeBuffer() + { + // Lazy initialization to avoid allocating memory if it's not needed. + if (m_bufferSize != 0 && m_buffer == nullptr) { - // Lazy initialization to avoid allocating memory if it's not needed. - if (m_bufferSize != 0 && m_buffer == nullptr) - { - m_buffer = reinterpret_cast(AZ::AllocatorInstance::Get().Allocate( - m_bufferSize, m_memoryAlignment, 0, "AZ::IO::Streamer ReadSplitter", __FILE__, __LINE__)); - } + m_buffer = reinterpret_cast(AZ::AllocatorInstance::Get().Allocate( + m_bufferSize, m_memoryAlignment, 0, "AZ::IO::Streamer ReadSplitter", __FILE__, __LINE__)); } + } - u8* ReadSplitter::GetBufferSlot(size_t index) - { - AZ_Assert(m_buffer != nullptr, "A buffer slot was requested by the Read Splitter before the buffer was initialized."); - return m_buffer + (index * m_maxReadSize); - } - } // namespace IO -} // namesapce AZ + u8* ReadSplitter::GetBufferSlot(size_t index) + { + AZ_Assert(m_buffer != nullptr, "A buffer slot was requested by the Read Splitter before the buffer was initialized."); + return m_buffer + (index * m_maxReadSize); + } +} // namespace AZ::IO diff --git a/Code/Framework/AzCore/AzCore/IPC/SharedMemory.cpp b/Code/Framework/AzCore/AzCore/IPC/SharedMemory.cpp index af73ab4936..c3fa69a205 100644 --- a/Code/Framework/AzCore/AzCore/IPC/SharedMemory.cpp +++ b/Code/Framework/AzCore/AzCore/IPC/SharedMemory.cpp @@ -13,23 +13,18 @@ #include -namespace AZ +namespace AZ::Internal { - namespace Internal + struct RingData { - struct RingData - { - AZ::u32 m_readOffset; - AZ::u32 m_writeOffset; - AZ::u32 m_startOffset; - AZ::u32 m_endOffset; - AZ::u32 m_dataToRead; - AZ::u8 m_pad[32 - sizeof(AZStd::spin_mutex)]; - }; - } // namespace Internal -} // namespace AZ - - + AZ::u32 m_readOffset; + AZ::u32 m_writeOffset; + AZ::u32 m_startOffset; + AZ::u32 m_endOffset; + AZ::u32 m_dataToRead; + AZ::u8 m_pad[32 - sizeof(AZStd::spin_mutex)]; + }; +} // namespace AZ::Internal using namespace AZ; diff --git a/Code/Framework/AzCore/AzCore/Math/Geometry2DUtils.cpp b/Code/Framework/AzCore/AzCore/Math/Geometry2DUtils.cpp index 47a7e0a2db..912794a518 100644 --- a/Code/Framework/AzCore/AzCore/Math/Geometry2DUtils.cpp +++ b/Code/Framework/AzCore/AzCore/Math/Geometry2DUtils.cpp @@ -8,138 +8,135 @@ #include -namespace AZ +namespace AZ::Geometry2DUtils { - namespace Geometry2DUtils + float ShortestDistanceSqPointSegment(const Vector2& point, const Vector2& segmentStart, const Vector2& segmentEnd, + float epsilon) { - float ShortestDistanceSqPointSegment(const Vector2& point, const Vector2& segmentStart, const Vector2& segmentEnd, - float epsilon) + const AZ::Vector2 segmentVector = segmentEnd - segmentStart; + + // check if the line degenerates to a point + const float segmentLengthSq = segmentVector.GetLengthSq(); + if (segmentLengthSq < epsilon * epsilon) { - const AZ::Vector2 segmentVector = segmentEnd - segmentStart; - - // check if the line degenerates to a point - const float segmentLengthSq = segmentVector.GetLengthSq(); - if (segmentLengthSq < epsilon * epsilon) - { - return (point - segmentStart).GetLengthSq(); - } - - // if the point projects on to the line segment then the shortest distance is the perpendicular - const float projection = (point - segmentStart).Dot(segmentVector); - if (projection >= 0.0f && projection <= segmentLengthSq) - { - const Vector2 perpendicular = (point - segmentStart - projection / segmentLengthSq * segmentVector); - return perpendicular.GetLengthSq(); - } - - // otherwise the point must be closest to one of the end points of the segment - return GetMin( - (point - segmentStart).GetLengthSq(), - (point - segmentEnd).GetLengthSq()); + return (point - segmentStart).GetLengthSq(); } - float Signed2DTriangleArea(const Vector2& a, const Vector2& b, const Vector2& c) + // if the point projects on to the line segment then the shortest distance is the perpendicular + const float projection = (point - segmentStart).Dot(segmentVector); + if (projection >= 0.0f && projection <= segmentLengthSq) { - return 0.5f * ((a.GetX() - c.GetX()) * (b.GetY() - c.GetY()) - (a.GetY() - c.GetY()) * (b.GetX() - c.GetX())); + const Vector2 perpendicular = (point - segmentStart - projection / segmentLengthSq * segmentVector); + return perpendicular.GetLengthSq(); } - float ShortestDistanceSqSegmentSegment( - const Vector2& segment1Start, const Vector2& segment1End, - const Vector2& segment2Start, const Vector2& segment2End) + // otherwise the point must be closest to one of the end points of the segment + return GetMin( + (point - segmentStart).GetLengthSq(), + (point - segmentEnd).GetLengthSq()); + } + + float Signed2DTriangleArea(const Vector2& a, const Vector2& b, const Vector2& c) + { + return 0.5f * ((a.GetX() - c.GetX()) * (b.GetY() - c.GetY()) - (a.GetY() - c.GetY()) * (b.GetX() - c.GetX())); + } + + float ShortestDistanceSqSegmentSegment( + const Vector2& segment1Start, const Vector2& segment1End, + const Vector2& segment2Start, const Vector2& segment2End) + { + // if the segments cross, then the distance is zero + + // if the two ends of segment 2 are on different sides of segment 1, then these two triangles will have + // different winding orders (see Real-Time Collision Detection, Christer Ericson, ISBN 978-1558607323, + // Chapter 5.1.9.1) + const float area1 = Signed2DTriangleArea(segment1Start, segment1End, segment2End); + const float area2 = Signed2DTriangleArea(segment1Start, segment1End, segment2Start); + if (area1 * area2 < 0.0f) { - // if the segments cross, then the distance is zero - - // if the two ends of segment 2 are on different sides of segment 1, then these two triangles will have - // different winding orders (see Real-Time Collision Detection, Christer Ericson, ISBN 978-1558607323, - // Chapter 5.1.9.1) - const float area1 = Signed2DTriangleArea(segment1Start, segment1End, segment2End); - const float area2 = Signed2DTriangleArea(segment1Start, segment1End, segment2Start); - if (area1 * area2 < 0.0f) + // similarly we can check if the two ends of segment 1 are on different sides of segment 2 + const float area3 = Signed2DTriangleArea(segment2Start, segment2End, segment1Start); + const float area4 = area3 + area2 - area1; + if (area3 * area4 < 0.0f) { - // similarly we can check if the two ends of segment 1 are on different sides of segment 2 - const float area3 = Signed2DTriangleArea(segment2Start, segment2End, segment1Start); - const float area4 = area3 + area2 - area1; - if (area3 * area4 < 0.0f) - { - return 0.0f; - } + return 0.0f; } - - // otherwise the shortest distance must be between one of the segment end points and the other segment - return GetMin( - GetMin( - ShortestDistanceSqPointSegment(segment1Start, segment2Start, segment2End), - ShortestDistanceSqPointSegment(segment1End, segment2Start, segment2End)), - GetMin( - ShortestDistanceSqPointSegment(segment2Start, segment1Start, segment1End), - ShortestDistanceSqPointSegment(segment2End, segment1Start, segment1End)) - ); } - bool IsSimplePolygon(const AZStd::vector& vertices, float epsilon) + // otherwise the shortest distance must be between one of the segment end points and the other segment + return GetMin( + GetMin( + ShortestDistanceSqPointSegment(segment1Start, segment2Start, segment2End), + ShortestDistanceSqPointSegment(segment1End, segment2Start, segment2End)), + GetMin( + ShortestDistanceSqPointSegment(segment2Start, segment1Start, segment1End), + ShortestDistanceSqPointSegment(segment2End, segment1Start, segment1End)) + ); + } + + bool IsSimplePolygon(const AZStd::vector& vertices, float epsilon) + { + // note that this implementation is quadratic in the number of vertices + // if it becomes a bottleneck, there are approaches which are O(n log n), e.g. the Bentley-Ottmann algorithm + + const size_t vertexCount = vertices.size(); + + if (vertexCount < 3) { - // note that this implementation is quadratic in the number of vertices - // if it becomes a bottleneck, there are approaches which are O(n log n), e.g. the Bentley-Ottmann algorithm - - const size_t vertexCount = vertices.size(); - - if (vertexCount < 3) - { - return false; - } - - if (vertexCount == 3) - { - return true; - } - - const float epsilonSq = epsilon * epsilon; - - for (size_t i = 0; i < vertexCount; ++i) - { - // make it easy to nicely wrap indices - const size_t safeIndex = i + vertexCount; - - const size_t endIndex = (safeIndex - 1) % vertexCount; - const size_t beginIndex = (safeIndex + 2) % vertexCount; - - for (size_t j = beginIndex; j != endIndex; j = (j + 1) % vertexCount) - { - const float distSq = ShortestDistanceSqSegmentSegment( - vertices[i], - vertices[(i + 1) % vertexCount], - vertices[j], - vertices[(j + 1) % vertexCount] - ); - - if (distSq < epsilonSq) - { - return false; - } - } - } + return false; + } + if (vertexCount == 3) + { return true; } - bool IsConvex(const AZStd::vector& vertices) + const float epsilonSq = epsilon * epsilon; + + for (size_t i = 0; i < vertexCount; ++i) { - const size_t vertexCount = vertices.size(); + // make it easy to nicely wrap indices + const size_t safeIndex = i + vertexCount; - if (vertexCount < 3) - { - return false; - } + const size_t endIndex = (safeIndex - 1) % vertexCount; + const size_t beginIndex = (safeIndex + 2) % vertexCount; - for (size_t i = 0; i < vertexCount; ++i) + for (size_t j = beginIndex; j != endIndex; j = (j + 1) % vertexCount) { - if (Signed2DTriangleArea(vertices[i], vertices[(i + 1) % vertexCount], vertices[(i + 2) % vertexCount]) < 0.0f) + const float distSq = ShortestDistanceSqSegmentSegment( + vertices[i], + vertices[(i + 1) % vertexCount], + vertices[j], + vertices[(j + 1) % vertexCount] + ); + + if (distSq < epsilonSq) { return false; } } - - return true; } - } // namespace Geometry2DUtils -} // namespace AZ + + return true; + } + + bool IsConvex(const AZStd::vector& vertices) + { + const size_t vertexCount = vertices.size(); + + if (vertexCount < 3) + { + return false; + } + + for (size_t i = 0; i < vertexCount; ++i) + { + if (Signed2DTriangleArea(vertices[i], vertices[(i + 1) % vertexCount], vertices[(i + 2) % vertexCount]) < 0.0f) + { + return false; + } + } + + return true; + } +} // namespace AZ::Geometry2DUtils diff --git a/Code/Framework/AzCore/AzCore/Math/Sfmt.cpp b/Code/Framework/AzCore/AzCore/Math/Sfmt.cpp index 66404a9b3f..5f4dc9e5df 100644 --- a/Code/Framework/AzCore/AzCore/Math/Sfmt.cpp +++ b/Code/Framework/AzCore/AzCore/Math/Sfmt.cpp @@ -14,28 +14,26 @@ #include // for memset -namespace AZ +namespace AZ::SfmtInternal { - namespace SfmtInternal - { - static const int N32 = N * 4; - static const int N64 = N * 2; - static const int POS1 = 122; - static const int SL1 = 18; - static const int SR1 = 11; - static const int SL2 = 1; - static const int SR2 = 1; - static const unsigned int MSK1 = 0xdfffffefU; - static const unsigned int MSK2 = 0xddfecb7fU; - static const unsigned int MSK3 = 0xbffaffffU; - static const unsigned int MSK4 = 0xbffffff6U; - static const unsigned int PARITY1 = 0x00000001U; - static const unsigned int PARITY2 = 0x00000000U; - static const unsigned int PARITY3 = 0x00000000U; - static const unsigned int PARITY4 = 0x13c9e684U; + static const int N32 = N * 4; + static const int N64 = N * 2; + static const int POS1 = 122; + static const int SL1 = 18; + static const int SR1 = 11; + static const int SL2 = 1; + static const int SR2 = 1; + static const unsigned int MSK1 = 0xdfffffefU; + static const unsigned int MSK2 = 0xddfecb7fU; + static const unsigned int MSK3 = 0xbffaffffU; + static const unsigned int MSK4 = 0xbffffff6U; + static const unsigned int PARITY1 = 0x00000001U; + static const unsigned int PARITY2 = 0x00000000U; + static const unsigned int PARITY3 = 0x00000000U; + static const unsigned int PARITY4 = 0x13c9e684U; - /** a parity check vector which certificate the period of 2^{MEXP} */ - static unsigned int parity[4] = {PARITY1, PARITY2, PARITY3, PARITY4}; + /** a parity check vector which certificate the period of 2^{MEXP} */ + static unsigned int parity[4] = {PARITY1, PARITY2, PARITY3, PARITY4}; #ifdef ONLY64 # define idxof(_i) (_i ^ 1) @@ -45,259 +43,257 @@ namespace AZ #if AZ_TRAIT_USE_PLATFORM_SIMD_SSE - /** - * This function represents the recursion formula. - * @param a a 128-bit part of the internal state array - * @param b a 128-bit part of the internal state array - * @param c a 128-bit part of the internal state array - * @param d a 128-bit part of the internal state array - * @param mask 128-bit mask - * @return output - */ - AZ_FORCE_INLINE static Simd::Vec4::Int32Type simd_recursion(Simd::Vec4::Int32Type* a, Simd::Vec4::Int32Type* b, Simd::Vec4::Int32Type c, Simd::Vec4::Int32Type d, Simd::Vec4::Int32Type mask) + /** + * This function represents the recursion formula. + * @param a a 128-bit part of the internal state array + * @param b a 128-bit part of the internal state array + * @param c a 128-bit part of the internal state array + * @param d a 128-bit part of the internal state array + * @param mask 128-bit mask + * @return output + */ + AZ_FORCE_INLINE static Simd::Vec4::Int32Type simd_recursion(Simd::Vec4::Int32Type* a, Simd::Vec4::Int32Type* b, Simd::Vec4::Int32Type c, Simd::Vec4::Int32Type d, Simd::Vec4::Int32Type mask) + { + Simd::Vec4::Int32Type v, x, y, z; + x = *a; + y = _mm_srli_epi32(*b, SR1); + z = _mm_srli_si128(c, SR2); + v = _mm_slli_epi32(d, SL1); + z = Simd::Vec4::Xor(z, x); + z = Simd::Vec4::Xor(z, v); + x = _mm_slli_si128(x, SL2); + y = Simd::Vec4::And(y, mask); + z = Simd::Vec4::Xor(z, x); + z = Simd::Vec4::Xor(z, y); + return z; + } + + /** + * This function fills the internal state array with pseudorandom + * integers. + */ + inline void gen_rand_all(Sfmt& g) + { + int i; + Simd::Vec4::Int32Type r, r1, r2, mask; + mask = Simd::Vec4::LoadImmediate((int32_t)MSK4, (int32_t)MSK3, (int32_t)MSK2, (int32_t)MSK1); + + r1 = Simd::Vec4::LoadAligned((const int32_t*)&g.m_sfmt[N - 2].si); + r2 = Simd::Vec4::LoadAligned((const int32_t*)&g.m_sfmt[N - 1].si); + for (i = 0; i < N - POS1; i++) { - Simd::Vec4::Int32Type v, x, y, z; - x = *a; - y = _mm_srli_epi32(*b, SR1); - z = _mm_srli_si128(c, SR2); - v = _mm_slli_epi32(d, SL1); - z = Simd::Vec4::Xor(z, x); - z = Simd::Vec4::Xor(z, v); - x = _mm_slli_si128(x, SL2); - y = Simd::Vec4::And(y, mask); - z = Simd::Vec4::Xor(z, x); - z = Simd::Vec4::Xor(z, y); - return z; + r = simd_recursion(&g.m_sfmt[i].si, &g.m_sfmt[i + POS1].si, r1, r2, mask); + Simd::Vec4::StoreAligned((int32_t*)&g.m_sfmt[i].si, r); + r1 = r2; + r2 = r; } - - /** - * This function fills the internal state array with pseudorandom - * integers. - */ - inline void gen_rand_all(Sfmt& g) + for (; i < N; i++) { - int i; - Simd::Vec4::Int32Type r, r1, r2, mask; - mask = Simd::Vec4::LoadImmediate((int32_t)MSK4, (int32_t)MSK3, (int32_t)MSK2, (int32_t)MSK1); - - r1 = Simd::Vec4::LoadAligned((const int32_t*)&g.m_sfmt[N - 2].si); - r2 = Simd::Vec4::LoadAligned((const int32_t*)&g.m_sfmt[N - 1].si); - for (i = 0; i < N - POS1; i++) - { - r = simd_recursion(&g.m_sfmt[i].si, &g.m_sfmt[i + POS1].si, r1, r2, mask); - Simd::Vec4::StoreAligned((int32_t*)&g.m_sfmt[i].si, r); - r1 = r2; - r2 = r; - } - for (; i < N; i++) - { - r = simd_recursion(&g.m_sfmt[i].si, &g.m_sfmt[i + POS1 - N].si, r1, r2, mask); - Simd::Vec4::StoreAligned((int32_t*)&g.m_sfmt[i].si, r); - r1 = r2; - r2 = r; - } + r = simd_recursion(&g.m_sfmt[i].si, &g.m_sfmt[i + POS1 - N].si, r1, r2, mask); + Simd::Vec4::StoreAligned((int32_t*)&g.m_sfmt[i].si, r); + r1 = r2; + r2 = r; } + } - /** - * This function fills the user-specified array with pseudorandom - * integers. - * - * @param array an 128-bit array to be filled by pseudorandom numbers. - * @param size number of 128-bit pesudorandom numbers to be generated. - */ - inline void gen_rand_array(Sfmt& g, w128_t* array, int size) + /** + * This function fills the user-specified array with pseudorandom + * integers. + * + * @param array an 128-bit array to be filled by pseudorandom numbers. + * @param size number of 128-bit pesudorandom numbers to be generated. + */ + inline void gen_rand_array(Sfmt& g, w128_t* array, int size) + { + int i, j; + Simd::Vec4::Int32Type r, r1, r2, mask; + mask = Simd::Vec4::LoadImmediate((int32_t)MSK4, (int32_t)MSK3, (int32_t)MSK2, (int32_t)MSK1); + + r1 = Simd::Vec4::LoadAligned((const int32_t*)&g.m_sfmt[N - 2].si); + r2 = Simd::Vec4::LoadAligned((const int32_t*)&g.m_sfmt[N - 1].si); + for (i = 0; i < N - POS1; i++) { - int i, j; - Simd::Vec4::Int32Type r, r1, r2, mask; - mask = Simd::Vec4::LoadImmediate((int32_t)MSK4, (int32_t)MSK3, (int32_t)MSK2, (int32_t)MSK1); - - r1 = Simd::Vec4::LoadAligned((const int32_t*)&g.m_sfmt[N - 2].si); - r2 = Simd::Vec4::LoadAligned((const int32_t*)&g.m_sfmt[N - 1].si); - for (i = 0; i < N - POS1; i++) - { - r = simd_recursion(&g.m_sfmt[i].si, &g.m_sfmt[i + POS1].si, r1, r2, mask); - Simd::Vec4::StoreAligned((int32_t*)&array[i].si, r); - r1 = r2; - r2 = r; - } - for (; i < N; i++) - { - r = simd_recursion(&g.m_sfmt[i].si, &array[i + POS1 - N].si, r1, r2, mask); - Simd::Vec4::StoreAligned((int32_t*)&array[i].si, r); - r1 = r2; - r2 = r; - } - /* main loop */ - for (; i < size - N; i++) - { - r = simd_recursion(&array[i - N].si, &array[i + POS1 - N].si, r1, r2, mask); - Simd::Vec4::StoreAligned((int32_t*)&array[i].si, r); - r1 = r2; - r2 = r; - } - for (j = 0; j < 2 * N - size; j++) - { - r = Simd::Vec4::LoadAligned((const int32_t*)&array[j + size - N].si); - Simd::Vec4::StoreAligned((int32_t*)&g.m_sfmt[j].si, r); - } - for (; i < size; i++) - { - r = simd_recursion(&array[i - N].si, &array[i + POS1 - N].si, r1, r2, mask); - Simd::Vec4::StoreAligned((int32_t*)&array[i].si, r); - Simd::Vec4::StoreAligned((int32_t*)&g.m_sfmt[j++].si, r); - r1 = r2; - r2 = r; - } + r = simd_recursion(&g.m_sfmt[i].si, &g.m_sfmt[i + POS1].si, r1, r2, mask); + Simd::Vec4::StoreAligned((int32_t*)&array[i].si, r); + r1 = r2; + r2 = r; } + for (; i < N; i++) + { + r = simd_recursion(&g.m_sfmt[i].si, &array[i + POS1 - N].si, r1, r2, mask); + Simd::Vec4::StoreAligned((int32_t*)&array[i].si, r); + r1 = r2; + r2 = r; + } + /* main loop */ + for (; i < size - N; i++) + { + r = simd_recursion(&array[i - N].si, &array[i + POS1 - N].si, r1, r2, mask); + Simd::Vec4::StoreAligned((int32_t*)&array[i].si, r); + r1 = r2; + r2 = r; + } + for (j = 0; j < 2 * N - size; j++) + { + r = Simd::Vec4::LoadAligned((const int32_t*)&array[j + size - N].si); + Simd::Vec4::StoreAligned((int32_t*)&g.m_sfmt[j].si, r); + } + for (; i < size; i++) + { + r = simd_recursion(&array[i - N].si, &array[i + POS1 - N].si, r1, r2, mask); + Simd::Vec4::StoreAligned((int32_t*)&array[i].si, r); + Simd::Vec4::StoreAligned((int32_t*)&g.m_sfmt[j++].si, r); + r1 = r2; + r2 = r; + } + } #else - inline void rshift128(w128_t* out, w128_t const* in, int shift) + inline void rshift128(w128_t* out, w128_t const* in, int shift) + { + AZ::u64 th, tl, oh, ol; + #ifdef ONLY64 + th = ((AZ::u64)in->u[2] << 32) | ((AZ::u64)in->u[3]); + tl = ((AZ::u64)in->u[0] << 32) | ((AZ::u64)in->u[1]); + + oh = th >> (shift * 8); + ol = tl >> (shift * 8); + ol |= th << (64 - shift * 8); + out->u[0] = (AZ::u32)(ol >> 32); + out->u[1] = (AZ::u32)ol; + out->u[2] = (AZ::u32)(oh >> 32); + out->u[3] = (AZ::u32)oh; +#else + th = ((AZ::u64)in->u[3] << 32) | ((AZ::u64)in->u[2]); + tl = ((AZ::u64)in->u[1] << 32) | ((AZ::u64)in->u[0]); + + oh = th >> (shift * 8); + ol = tl >> (shift * 8); + ol |= th << (64 - shift * 8); + out->u[1] = (AZ::u32)(ol >> 32); + out->u[0] = (AZ::u32)ol; + out->u[3] = (AZ::u32)(oh >> 32); + out->u[2] = (AZ::u32)oh; +#endif + } + + inline void lshift128(w128_t* out, w128_t const* in, int shift) + { + AZ::u64 th, tl, oh, ol; +#ifdef ONLY64 + th = ((AZ::u64)in->u[2] << 32) | ((AZ::u64)in->u[3]); + tl = ((AZ::u64)in->u[0] << 32) | ((AZ::u64)in->u[1]); + + oh = th << (shift * 8); + ol = tl << (shift * 8); + oh |= tl >> (64 - shift * 8); + out->u[0] = (AZ::u32)(ol >> 32); + out->u[1] = (AZ::u32)ol; + out->u[2] = (AZ::u32)(oh >> 32); + out->u[3] = (AZ::u32)oh; +#else + th = ((AZ::u64)in->u[3] << 32) | ((AZ::u64)in->u[2]); + tl = ((AZ::u64)in->u[1] << 32) | ((AZ::u64)in->u[0]); + + oh = th << (shift * 8); + ol = tl << (shift * 8); + oh |= tl >> (64 - shift * 8); + out->u[1] = (AZ::u32)(ol >> 32); + out->u[0] = (AZ::u32)ol; + out->u[3] = (AZ::u32)(oh >> 32); + out->u[2] = (AZ::u32)oh; +#endif + } + + inline void do_recursion(w128_t* r, w128_t* a, w128_t* b, w128_t* c, w128_t* d) + { + w128_t x; + w128_t y; + lshift128(&x, a, SL2); + rshift128(&y, c, SR2); +#ifdef ONLY64 + r->u[0] = a->u[0] ^ x.u[0] ^ ((b->u[0] >> SR1) & MSK2) ^ y.u[0] ^ (d->u[0] << SL1); + r->u[1] = a->u[1] ^ x.u[1] ^ ((b->u[1] >> SR1) & MSK1) ^ y.u[1] ^ (d->u[1] << SL1); + r->u[2] = a->u[2] ^ x.u[2] ^ ((b->u[2] >> SR1) & MSK4) ^ y.u[2] ^ (d->u[2] << SL1); + r->u[3] = a->u[3] ^ x.u[3] ^ ((b->u[3] >> SR1) & MSK3) ^ y.u[3] ^ (d->u[3] << SL1); +#else + r->u[0] = a->u[0] ^ x.u[0] ^ ((b->u[0] >> SR1) & MSK1) ^ y.u[0] ^ (d->u[0] << SL1); + r->u[1] = a->u[1] ^ x.u[1] ^ ((b->u[1] >> SR1) & MSK2) ^ y.u[1] ^ (d->u[1] << SL1); + r->u[2] = a->u[2] ^ x.u[2] ^ ((b->u[2] >> SR1) & MSK3) ^ y.u[2] ^ (d->u[2] << SL1); + r->u[3] = a->u[3] ^ x.u[3] ^ ((b->u[3] >> SR1) & MSK4) ^ y.u[3] ^ (d->u[3] << SL1); +#endif + } + /** + * This function fills the internal state array with pseudorandom + * integers. + */ + inline void gen_rand_all(Sfmt& g) + { + int i; + w128_t* r1, * r2; + + r1 = &g.m_sfmt[N - 2]; + r2 = &g.m_sfmt[N - 1]; + for (i = 0; i < N - POS1; i++) { - AZ::u64 th, tl, oh, ol; - #ifdef ONLY64 - th = ((AZ::u64)in->u[2] << 32) | ((AZ::u64)in->u[3]); - tl = ((AZ::u64)in->u[0] << 32) | ((AZ::u64)in->u[1]); - - oh = th >> (shift * 8); - ol = tl >> (shift * 8); - ol |= th << (64 - shift * 8); - out->u[0] = (AZ::u32)(ol >> 32); - out->u[1] = (AZ::u32)ol; - out->u[2] = (AZ::u32)(oh >> 32); - out->u[3] = (AZ::u32)oh; - #else - th = ((AZ::u64)in->u[3] << 32) | ((AZ::u64)in->u[2]); - tl = ((AZ::u64)in->u[1] << 32) | ((AZ::u64)in->u[0]); - - oh = th >> (shift * 8); - ol = tl >> (shift * 8); - ol |= th << (64 - shift * 8); - out->u[1] = (AZ::u32)(ol >> 32); - out->u[0] = (AZ::u32)ol; - out->u[3] = (AZ::u32)(oh >> 32); - out->u[2] = (AZ::u32)oh; - #endif + do_recursion(&g.m_sfmt[i], &g.m_sfmt[i], &g.m_sfmt[i + POS1], r1, r2); + r1 = r2; + r2 = &g.m_sfmt[i]; } - - inline void lshift128(w128_t* out, w128_t const* in, int shift) + for (; i < N; i++) { - AZ::u64 th, tl, oh, ol; - #ifdef ONLY64 - th = ((AZ::u64)in->u[2] << 32) | ((AZ::u64)in->u[3]); - tl = ((AZ::u64)in->u[0] << 32) | ((AZ::u64)in->u[1]); - - oh = th << (shift * 8); - ol = tl << (shift * 8); - oh |= tl >> (64 - shift * 8); - out->u[0] = (AZ::u32)(ol >> 32); - out->u[1] = (AZ::u32)ol; - out->u[2] = (AZ::u32)(oh >> 32); - out->u[3] = (AZ::u32)oh; - #else - th = ((AZ::u64)in->u[3] << 32) | ((AZ::u64)in->u[2]); - tl = ((AZ::u64)in->u[1] << 32) | ((AZ::u64)in->u[0]); - - oh = th << (shift * 8); - ol = tl << (shift * 8); - oh |= tl >> (64 - shift * 8); - out->u[1] = (AZ::u32)(ol >> 32); - out->u[0] = (AZ::u32)ol; - out->u[3] = (AZ::u32)(oh >> 32); - out->u[2] = (AZ::u32)oh; - #endif + do_recursion(&g.m_sfmt[i], &g.m_sfmt[i], &g.m_sfmt[i + POS1 - N], r1, r2); + r1 = r2; + r2 = &g.m_sfmt[i]; } + } - inline void do_recursion(w128_t* r, w128_t* a, w128_t* b, w128_t* c, w128_t* d) + /** + * This function fills the user-specified array with pseudorandom + * integers. + * + * @param array an 128-bit array to be filled by pseudorandom numbers. + * @param size number of 128-bit pseudorandom numbers to be generated. + */ + inline void gen_rand_array(Sfmt& g, w128_t* array, int size) + { + int i, j; + w128_t* r1, * r2; + + r1 = &g.m_sfmt[N - 2]; + r2 = &g.m_sfmt[N - 1]; + for (i = 0; i < N - POS1; i++) { - w128_t x; - w128_t y; - lshift128(&x, a, SL2); - rshift128(&y, c, SR2); - #ifdef ONLY64 - r->u[0] = a->u[0] ^ x.u[0] ^ ((b->u[0] >> SR1) & MSK2) ^ y.u[0] ^ (d->u[0] << SL1); - r->u[1] = a->u[1] ^ x.u[1] ^ ((b->u[1] >> SR1) & MSK1) ^ y.u[1] ^ (d->u[1] << SL1); - r->u[2] = a->u[2] ^ x.u[2] ^ ((b->u[2] >> SR1) & MSK4) ^ y.u[2] ^ (d->u[2] << SL1); - r->u[3] = a->u[3] ^ x.u[3] ^ ((b->u[3] >> SR1) & MSK3) ^ y.u[3] ^ (d->u[3] << SL1); - #else - r->u[0] = a->u[0] ^ x.u[0] ^ ((b->u[0] >> SR1) & MSK1) ^ y.u[0] ^ (d->u[0] << SL1); - r->u[1] = a->u[1] ^ x.u[1] ^ ((b->u[1] >> SR1) & MSK2) ^ y.u[1] ^ (d->u[1] << SL1); - r->u[2] = a->u[2] ^ x.u[2] ^ ((b->u[2] >> SR1) & MSK3) ^ y.u[2] ^ (d->u[2] << SL1); - r->u[3] = a->u[3] ^ x.u[3] ^ ((b->u[3] >> SR1) & MSK4) ^ y.u[3] ^ (d->u[3] << SL1); - #endif + do_recursion(&array[i], &g.m_sfmt[i], &g.m_sfmt[i + POS1], r1, r2); + r1 = r2; + r2 = &array[i]; } - /** - * This function fills the internal state array with pseudorandom - * integers. - */ - inline void gen_rand_all(Sfmt& g) + for (; i < N; i++) { - int i; - w128_t* r1, * r2; - - r1 = &g.m_sfmt[N - 2]; - r2 = &g.m_sfmt[N - 1]; - for (i = 0; i < N - POS1; i++) - { - do_recursion(&g.m_sfmt[i], &g.m_sfmt[i], &g.m_sfmt[i + POS1], r1, r2); - r1 = r2; - r2 = &g.m_sfmt[i]; - } - for (; i < N; i++) - { - do_recursion(&g.m_sfmt[i], &g.m_sfmt[i], &g.m_sfmt[i + POS1 - N], r1, r2); - r1 = r2; - r2 = &g.m_sfmt[i]; - } + do_recursion(&array[i], &g.m_sfmt[i], &array[i + POS1 - N], r1, r2); + r1 = r2; + r2 = &array[i]; } - - /** - * This function fills the user-specified array with pseudorandom - * integers. - * - * @param array an 128-bit array to be filled by pseudorandom numbers. - * @param size number of 128-bit pseudorandom numbers to be generated. - */ - inline void gen_rand_array(Sfmt& g, w128_t* array, int size) + for (; i < size - N; i++) { - int i, j; - w128_t* r1, * r2; - - r1 = &g.m_sfmt[N - 2]; - r2 = &g.m_sfmt[N - 1]; - for (i = 0; i < N - POS1; i++) - { - do_recursion(&array[i], &g.m_sfmt[i], &g.m_sfmt[i + POS1], r1, r2); - r1 = r2; - r2 = &array[i]; - } - for (; i < N; i++) - { - do_recursion(&array[i], &g.m_sfmt[i], &array[i + POS1 - N], r1, r2); - r1 = r2; - r2 = &array[i]; - } - for (; i < size - N; i++) - { - do_recursion(&array[i], &array[i - N], &array[i + POS1 - N], r1, r2); - r1 = r2; - r2 = &array[i]; - } - for (j = 0; j < 2 * N - size; j++) - { - g.m_sfmt[j] = array[j + size - N]; - } - for (; i < size; i++, j++) - { - do_recursion(&array[i], &array[i - N], &array[i + POS1 - N], r1, r2); - r1 = r2; - r2 = &array[i]; - g.m_sfmt[j] = array[i]; - } + do_recursion(&array[i], &array[i - N], &array[i + POS1 - N], r1, r2); + r1 = r2; + r2 = &array[i]; } + for (j = 0; j < 2 * N - size; j++) + { + g.m_sfmt[j] = array[j + size - N]; + } + for (; i < size; i++, j++) + { + do_recursion(&array[i], &array[i - N], &array[i + POS1 - N], r1, r2); + r1 = r2; + r2 = &array[i]; + g.m_sfmt[j] = array[i]; + } + } #endif - } // SmftInternal -} // AZ - +} // namespace AZ::SfmtInternal using namespace AZ; diff --git a/Code/Framework/AzCore/AzCore/Math/Uuid.h b/Code/Framework/AzCore/AzCore/Math/Uuid.h index 6b77e7ec3e..eeacb04877 100644 --- a/Code/Framework/AzCore/AzCore/Math/Uuid.h +++ b/Code/Framework/AzCore/AzCore/Math/Uuid.h @@ -45,7 +45,7 @@ namespace AZ static constexpr int ValidUuidStringLength = 32; /// Number of characters (data only, no extra formatting) in a valid UUID string static const size_t MaxStringBuffer = 39; /// 32 Uuid + 4 dashes + 2 brackets + 1 terminate - Uuid() {} + Uuid() = default; Uuid(const char* string, size_t stringLength = 0) { *this = CreateString(string, stringLength); } static Uuid CreateNull(); diff --git a/Code/Framework/AzCore/AzCore/Math/Vector2.h b/Code/Framework/AzCore/AzCore/Math/Vector2.h index 7c37d74135..91eb61d6c8 100644 --- a/Code/Framework/AzCore/AzCore/Math/Vector2.h +++ b/Code/Framework/AzCore/AzCore/Math/Vector2.h @@ -30,7 +30,7 @@ namespace AZ Vector2() = default; - Vector2(const Vector2& v); + Vector2(const Vector2& v) = default; //! Constructs vector with all components set to the same specified value. explicit Vector2(float x); diff --git a/Code/Framework/AzCore/AzCore/Math/Vector2.inl b/Code/Framework/AzCore/AzCore/Math/Vector2.inl index 086be2bbc3..9691dd3a5c 100644 --- a/Code/Framework/AzCore/AzCore/Math/Vector2.inl +++ b/Code/Framework/AzCore/AzCore/Math/Vector2.inl @@ -8,13 +8,6 @@ namespace AZ { - AZ_MATH_INLINE Vector2::Vector2(const Vector2& v) - : m_value(v.m_value) - { - ; - } - - AZ_MATH_INLINE Vector2::Vector2(float x) : m_value(Simd::Vec2::Splat(x)) { diff --git a/Code/Framework/AzCore/AzCore/Memory/AllocatorManager.cpp b/Code/Framework/AzCore/AzCore/Memory/AllocatorManager.cpp index 3c09b4cae6..44ce08ebd9 100644 --- a/Code/Framework/AzCore/AzCore/Memory/AllocatorManager.cpp +++ b/Code/Framework/AzCore/AzCore/Memory/AllocatorManager.cpp @@ -20,44 +20,42 @@ #include #include -using namespace AZ; - #if !defined(RELEASE) && !defined(AZCORE_MEMORY_ENABLE_OVERRIDES) # define AZCORE_MEMORY_ENABLE_OVERRIDES #endif -namespace AZ +namespace AZ::Internal { - namespace Internal + struct AMStringHasher { - struct AMStringHasher + using is_transparent = void; + template + size_t operator()(const ConvertibleToStringView& key) { - using is_transparent = void; - template - size_t operator()(const ConvertibleToStringView& key) - { - return AZStd::hash{}(key); - } - }; - using AMString = AZStd::basic_string, AZStdIAllocator>; - using AllocatorNameMap = AZStd::unordered_map, AZStdIAllocator>; - using AllocatorRemappings = AZStd::unordered_map, AZStdIAllocator>; + return AZStd::hash{}(key); + } + }; + using AMString = AZStd::basic_string, AZStdIAllocator>; + using AllocatorNameMap = AZStd::unordered_map, AZStdIAllocator>; + using AllocatorRemappings = AZStd::unordered_map, AZStdIAllocator>; - // For allocators that are created before we have an environment, we keep some module-local data for them so that we can register them - // properly once the environment is attached. - struct PreEnvironmentAttachData - { - static const int MAX_UNREGISTERED_ALLOCATORS = 8; - AZStd::mutex m_mutex; - MallocSchema m_mallocSchema; - IAllocator* m_unregisteredAllocators[MAX_UNREGISTERED_ALLOCATORS]; - int m_unregisteredAllocatorCount = 0; - }; + // For allocators that are created before we have an environment, we keep some module-local data for them so that we can register them + // properly once the environment is attached. + struct PreEnvironmentAttachData + { + static const int MAX_UNREGISTERED_ALLOCATORS = 8; + AZStd::mutex m_mutex; + MallocSchema m_mallocSchema; + IAllocator* m_unregisteredAllocators[MAX_UNREGISTERED_ALLOCATORS]; + int m_unregisteredAllocatorCount = 0; + }; - } } -struct AZ::AllocatorManager::InternalData +namespace AZ +{ + +struct AllocatorManager::InternalData { explicit InternalData(const AZStdIAllocator& alloc) : m_allocatorMap(alloc) @@ -69,13 +67,13 @@ struct AZ::AllocatorManager::InternalData Internal::AllocatorRemappings m_remappingsReverse; }; -static AZ::EnvironmentVariable s_allocManager = nullptr; +static EnvironmentVariable s_allocManager = nullptr; static AllocatorManager* s_allocManagerDebug = nullptr; // For easier viewing in crash dumps /// Returns a module-local instance of data to use for allocators that are created before the environment is attached. -static AZ::Internal::PreEnvironmentAttachData& GetPreEnvironmentAttachData() +static Internal::PreEnvironmentAttachData& GetPreEnvironmentAttachData() { - static AZ::Internal::PreEnvironmentAttachData s_data; + static Internal::PreEnvironmentAttachData s_data; return s_data; } @@ -131,7 +129,7 @@ AllocatorManager& AllocatorManager::Instance() if (!s_allocManager) { AZ_Assert(Environment::IsReady(), "Environment must be ready before calling Instance()"); - s_allocManager = AZ::Environment::CreateVariable(AZ_CRC("AZ::AllocatorManager::s_allocManager", 0x6bdd908c)); + s_allocManager = Environment::CreateVariable(AZ_CRC_CE("AZ::AllocatorManager::s_allocManager")); // Register any allocators that were created in this module before we attached to the environment auto& data = GetPreEnvironmentAttachData(); @@ -156,9 +154,9 @@ AllocatorManager& AllocatorManager::Instance() ////////////////////////////////////////////////////////////////////////// // Create malloc schema using custom AZ_OS_MALLOC allocator. -AZ::MallocSchema* AllocatorManager::CreateMallocSchema() +MallocSchema* AllocatorManager::CreateMallocSchema() { - return static_cast(new(AZ_OS_MALLOC(sizeof(AZ::MallocSchema), alignof(AZ::MallocSchema))) AZ::MallocSchema()); + return static_cast(new(AZ_OS_MALLOC(sizeof(MallocSchema), alignof(MallocSchema))) MallocSchema()); } @@ -168,7 +166,7 @@ AZ::MallocSchema* AllocatorManager::CreateMallocSchema() //========================================================================= AllocatorManager::AllocatorManager() : m_profilingRefcount(0) - , m_mallocSchema(CreateMallocSchema(), [](AZ::MallocSchema* schema) + , m_mallocSchema(CreateMallocSchema(), [](MallocSchema* schema) { if (schema) { @@ -182,7 +180,7 @@ AllocatorManager::AllocatorManager() m_numAllocators = 0; m_isAllocatorLeaking = false; m_configurationFinalized = false; - m_defaultTrackingRecordMode = AZ::Debug::AllocationRecords::RECORD_NO_RECORDS; + m_defaultTrackingRecordMode = Debug::AllocationRecords::RECORD_NO_RECORDS; m_data = new (m_mallocSchema->Allocate(sizeof(InternalData), AZStd::alignment_of::value, 0)) InternalData(AZStdIAllocator(m_mallocSchema.get())); } @@ -411,12 +409,12 @@ AllocatorManager::RemoveOutOfMemoryListener() // [9/16/2011] //========================================================================= void -AllocatorManager::SetTrackingMode(AZ::Debug::AllocationRecords::Mode mode) +AllocatorManager::SetTrackingMode(Debug::AllocationRecords::Mode mode) { AZStd::lock_guard lock(m_allocatorListMutex); for (int i = 0; i < m_numAllocators; ++i) { - AZ::Debug::AllocationRecords* records = m_allocators[i]->GetRecords(); + Debug::AllocationRecords* records = m_allocators[i]->GetRecords(); if (records) { records->SetMode(mode); @@ -595,31 +593,31 @@ void AllocatorManager::GetAllocatorStats(size_t& allocatedBytes, size_t& capacit AZStd::lock_guard lock(m_allocatorListMutex); const int allocatorCount = GetNumAllocators(); - AZStd::unordered_map existingAllocators; - AZStd::unordered_map sourcesToAllocators; + AZStd::unordered_map existingAllocators; + AZStd::unordered_map sourcesToAllocators; // Build a mapping of original allocator sources to their allocators for (int i = 0; i < allocatorCount; ++i) { - AZ::IAllocator* allocator = GetAllocator(i); + IAllocator* allocator = GetAllocator(i); sourcesToAllocators.emplace(allocator->GetOriginalAllocationSource(), allocator); } for (int i = 0; i < allocatorCount; ++i) { - AZ::IAllocator* allocator = GetAllocator(i); - AZ::IAllocatorAllocate* source = allocator->GetAllocationSource(); - AZ::IAllocatorAllocate* originalSource = allocator->GetOriginalAllocationSource(); - AZ::IAllocatorAllocate* schema = allocator->GetSchema(); - AZ::IAllocator* alias = (source != originalSource) ? sourcesToAllocators[source] : nullptr; + IAllocator* allocator = GetAllocator(i); + IAllocatorAllocate* source = allocator->GetAllocationSource(); + IAllocatorAllocate* originalSource = allocator->GetOriginalAllocationSource(); + IAllocatorAllocate* schema = allocator->GetSchema(); + IAllocator* alias = (source != originalSource) ? sourcesToAllocators[source] : nullptr; if (schema && !alias) { // Check to see if this allocator's source maps to another allocator // Need to check both the schema and the allocator itself, as either one might be used as the alias depending on how it's implemented - AZStd::array checkAllocators = { { schema, allocator->GetAllocationSource() } }; + AZStd::array checkAllocators = { { schema, allocator->GetAllocationSource() } }; - for (AZ::IAllocatorAllocate* check : checkAllocators) + for (IAllocatorAllocate* check : checkAllocators) { auto existing = existingAllocators.emplace(check, allocator); @@ -631,7 +629,7 @@ void AllocatorManager::GetAllocatorStats(size_t& allocatedBytes, size_t& capacit } } - static const AZ::IAllocator* OS_ALLOCATOR = &AZ::AllocatorInstance::GetAllocator(); + static const IAllocator* OS_ALLOCATOR = &AllocatorInstance::GetAllocator(); size_t sourceAllocatedBytes = source->NumAllocatedBytes(); size_t sourceCapacityBytes = source->Capacity(); @@ -742,3 +740,5 @@ AllocatorManager::DebugBreak(void* address, const Debug::AllocationInfo& info) } } } + +} // namespace AZ diff --git a/Code/Framework/AzCore/AzCore/Memory/AllocatorOverrideShim.cpp b/Code/Framework/AzCore/AzCore/Memory/AllocatorOverrideShim.cpp index 154d59edd3..e4928e83c5 100644 --- a/Code/Framework/AzCore/AzCore/Memory/AllocatorOverrideShim.cpp +++ b/Code/Framework/AzCore/AzCore/Memory/AllocatorOverrideShim.cpp @@ -8,223 +8,220 @@ #include -namespace AZ +namespace AZ::Internal { - namespace Internal + AllocatorOverrideShim* AllocatorOverrideShim::Create(IAllocator* owningAllocator, IAllocatorAllocate* shimAllocationSource) { - AllocatorOverrideShim* AllocatorOverrideShim::Create(IAllocator* owningAllocator, IAllocatorAllocate* shimAllocationSource) + void* memory = shimAllocationSource->Allocate(sizeof(AllocatorOverrideShim), AZStd::alignment_of::value, 0); + auto result = new (memory) AllocatorOverrideShim(owningAllocator, shimAllocationSource); + return result; + } + + void AllocatorOverrideShim::Destroy(AllocatorOverrideShim* source) + { + auto shimAllocationSource = source->m_shimAllocationSource; + source->~AllocatorOverrideShim(); + shimAllocationSource->DeAllocate(source); + } + + AllocatorOverrideShim::AllocatorOverrideShim(IAllocator* owningAllocator, IAllocatorAllocate* shimAllocationSource) + : m_owningAllocator(owningAllocator) + , m_source(owningAllocator->GetOriginalAllocationSource()) + , m_overridingSource(owningAllocator->GetOriginalAllocationSource()) + , m_shimAllocationSource(shimAllocationSource) + , m_records(typename AllocationSet::hasher(), typename AllocationSet::key_eq(), StdAllocationSrc(shimAllocationSource)) + { + } + + void AllocatorOverrideShim::SetOverride(IAllocatorAllocate* source) + { + m_overridingSource = source; + } + + IAllocatorAllocate* AllocatorOverrideShim::GetOverride() const + { + return m_overridingSource; + } + + bool AllocatorOverrideShim::IsOverridden() const + { + return m_source != m_overridingSource; + } + + bool AllocatorOverrideShim::HasOrphanedAllocations() const + { + return !m_records.empty(); + } + + void AllocatorOverrideShim::SetFinalizedConfiguration() + { + m_finalizedConfiguration = true; + } + + typename AllocatorOverrideShim::pointer_type AllocatorOverrideShim::Allocate(size_type byteSize, size_type alignment, int flags, const char* name, const char* fileName, int lineNum, unsigned int suppressStackRecord) + { + pointer_type ptr = m_overridingSource->Allocate(byteSize, alignment, flags, name, fileName, lineNum, suppressStackRecord); + + if (!IsOverridden()) { - void* memory = shimAllocationSource->Allocate(sizeof(AllocatorOverrideShim), AZStd::alignment_of::value, 0); - auto result = new (memory) AllocatorOverrideShim(owningAllocator, shimAllocationSource); - return result; + lock_type lock(m_mutex); + m_records.insert(ptr); // Record in case we need to orphan this allocation later } - void AllocatorOverrideShim::Destroy(AllocatorOverrideShim* source) + return ptr; + } + + void AllocatorOverrideShim::DeAllocate(pointer_type ptr, size_type byteSize, size_type alignment) + { + IAllocatorAllocate* source = m_overridingSource; + bool destroy = false; + { - auto shimAllocationSource = source->m_shimAllocationSource; - source->~AllocatorOverrideShim(); - shimAllocationSource->DeAllocate(source); + lock_type lock(m_mutex); + + // Check to see if this came from a prior allocation source + if (m_records.erase(ptr) && IsOverridden()) + { + source = m_source; + + if (m_records.empty() && m_finalizedConfiguration) + { + // All orphaned records are gone; we are no longer needed + m_owningAllocator->SetAllocationSource(m_overridingSource); + destroy = true; // Must destroy outside the lock + } + } } - AllocatorOverrideShim::AllocatorOverrideShim(IAllocator* owningAllocator, IAllocatorAllocate* shimAllocationSource) - : m_owningAllocator(owningAllocator) - , m_source(owningAllocator->GetOriginalAllocationSource()) - , m_overridingSource(owningAllocator->GetOriginalAllocationSource()) - , m_shimAllocationSource(shimAllocationSource) - , m_records(typename AllocationSet::hasher(), typename AllocationSet::key_eq(), StdAllocationSrc(shimAllocationSource)) + source->DeAllocate(ptr, byteSize, alignment); + + if (destroy) { + Destroy(this); + } + } + + typename AllocatorOverrideShim::size_type AllocatorOverrideShim::Resize(pointer_type ptr, size_type newSize) + { + IAllocatorAllocate* source = m_overridingSource; + + if (IsOverridden()) + { + // Determine who owns the allocation + lock_type lock(m_mutex); + + if (m_records.count(ptr)) + { + source = m_source; + } } - void AllocatorOverrideShim::SetOverride(IAllocatorAllocate* source) + size_t result = source->Resize(ptr, newSize); + + return result; + } + + typename AllocatorOverrideShim::pointer_type AllocatorOverrideShim::ReAllocate(pointer_type ptr, size_type newSize, size_type newAlignment) + { + pointer_type newPtr = nullptr; + bool useOverride = true; + bool destroy = false; + + if (IsOverridden()) { - m_overridingSource = source; + lock_type lock(m_mutex); + + if (m_records.erase(ptr)) + { + // An old allocation needs to be transferred to the new, overriding allocator. + useOverride = false; // We'll do the reallocation here + size_t oldSize = m_source->AllocationSize(ptr); + + if (newSize) + { + newPtr = m_overridingSource->Allocate(newSize, newAlignment, 0); + memcpy(newPtr, ptr, AZStd::min(newSize, oldSize)); + } + + m_source->DeAllocate(ptr, oldSize); + + if (m_records.empty() && m_finalizedConfiguration) + { + // All orphaned records are gone; we are no longer needed + m_owningAllocator->SetAllocationSource(m_overridingSource); + destroy = true; // Must destroy outside the lock + } + } } - IAllocatorAllocate* AllocatorOverrideShim::GetOverride() const + if (useOverride) { - return m_overridingSource; - } - - bool AllocatorOverrideShim::IsOverridden() const - { - return m_source != m_overridingSource; - } - - bool AllocatorOverrideShim::HasOrphanedAllocations() const - { - return !m_records.empty(); - } - - void AllocatorOverrideShim::SetFinalizedConfiguration() - { - m_finalizedConfiguration = true; - } - - typename AllocatorOverrideShim::pointer_type AllocatorOverrideShim::Allocate(size_type byteSize, size_type alignment, int flags, const char* name, const char* fileName, int lineNum, unsigned int suppressStackRecord) - { - pointer_type ptr = m_overridingSource->Allocate(byteSize, alignment, flags, name, fileName, lineNum, suppressStackRecord); + // Default behavior, we weren't deleting an old allocation + newPtr = m_overridingSource->ReAllocate(ptr, newSize, newAlignment); if (!IsOverridden()) { + // Still need to do bookkeeping if we haven't been overridden yet lock_type lock(m_mutex); - m_records.insert(ptr); // Record in case we need to orphan this allocation later - } - - return ptr; - } - - void AllocatorOverrideShim::DeAllocate(pointer_type ptr, size_type byteSize, size_type alignment) - { - IAllocatorAllocate* source = m_overridingSource; - bool destroy = false; - - { - lock_type lock(m_mutex); - - // Check to see if this came from a prior allocation source - if (m_records.erase(ptr) && IsOverridden()) - { - source = m_source; - - if (m_records.empty() && m_finalizedConfiguration) - { - // All orphaned records are gone; we are no longer needed - m_owningAllocator->SetAllocationSource(m_overridingSource); - destroy = true; // Must destroy outside the lock - } - } - } - - source->DeAllocate(ptr, byteSize, alignment); - - if (destroy) - { - Destroy(this); + m_records.erase(ptr); + m_records.insert(newPtr); } } - typename AllocatorOverrideShim::size_type AllocatorOverrideShim::Resize(pointer_type ptr, size_type newSize) + if (destroy) { - IAllocatorAllocate* source = m_overridingSource; - - if (IsOverridden()) - { - // Determine who owns the allocation - lock_type lock(m_mutex); - - if (m_records.count(ptr)) - { - source = m_source; - } - } - - size_t result = source->Resize(ptr, newSize); - - return result; - } - - typename AllocatorOverrideShim::pointer_type AllocatorOverrideShim::ReAllocate(pointer_type ptr, size_type newSize, size_type newAlignment) - { - pointer_type newPtr = nullptr; - bool useOverride = true; - bool destroy = false; - - if (IsOverridden()) - { - lock_type lock(m_mutex); - - if (m_records.erase(ptr)) - { - // An old allocation needs to be transferred to the new, overriding allocator. - useOverride = false; // We'll do the reallocation here - size_t oldSize = m_source->AllocationSize(ptr); - - if (newSize) - { - newPtr = m_overridingSource->Allocate(newSize, newAlignment, 0); - memcpy(newPtr, ptr, AZStd::min(newSize, oldSize)); - } - - m_source->DeAllocate(ptr, oldSize); - - if (m_records.empty() && m_finalizedConfiguration) - { - // All orphaned records are gone; we are no longer needed - m_owningAllocator->SetAllocationSource(m_overridingSource); - destroy = true; // Must destroy outside the lock - } - } - } - - if (useOverride) - { - // Default behavior, we weren't deleting an old allocation - newPtr = m_overridingSource->ReAllocate(ptr, newSize, newAlignment); - - if (!IsOverridden()) - { - // Still need to do bookkeeping if we haven't been overridden yet - lock_type lock(m_mutex); - m_records.erase(ptr); - m_records.insert(newPtr); - } - } - - if (destroy) - { - Destroy(this); - } - - return newPtr; - } - - typename AllocatorOverrideShim::size_type AllocatorOverrideShim::AllocationSize(pointer_type ptr) - { - IAllocatorAllocate* source = m_overridingSource; - - if (IsOverridden()) - { - // Determine who owns the allocation - lock_type lock(m_mutex); - - if (m_records.count(ptr)) - { - source = m_source; - } - } - - return source->AllocationSize(ptr); - } - - void AllocatorOverrideShim::GarbageCollect() - { - m_source->GarbageCollect(); - } - - typename AllocatorOverrideShim::size_type AllocatorOverrideShim::NumAllocatedBytes() const - { - return m_source->NumAllocatedBytes(); - } - - typename AllocatorOverrideShim::size_type AllocatorOverrideShim::Capacity() const - { - return m_source->Capacity(); - } - - typename AllocatorOverrideShim::size_type AllocatorOverrideShim::GetMaxAllocationSize() const - { - return m_source->GetMaxAllocationSize(); - } - - auto AllocatorOverrideShim::GetMaxContiguousAllocationSize() const -> size_type - { - return m_source->GetMaxContiguousAllocationSize(); - } - - IAllocatorAllocate* AllocatorOverrideShim::GetSubAllocator() - { - return m_source->GetSubAllocator(); + Destroy(this); } + return newPtr; } -} + + typename AllocatorOverrideShim::size_type AllocatorOverrideShim::AllocationSize(pointer_type ptr) + { + IAllocatorAllocate* source = m_overridingSource; + + if (IsOverridden()) + { + // Determine who owns the allocation + lock_type lock(m_mutex); + + if (m_records.count(ptr)) + { + source = m_source; + } + } + + return source->AllocationSize(ptr); + } + + void AllocatorOverrideShim::GarbageCollect() + { + m_source->GarbageCollect(); + } + + typename AllocatorOverrideShim::size_type AllocatorOverrideShim::NumAllocatedBytes() const + { + return m_source->NumAllocatedBytes(); + } + + typename AllocatorOverrideShim::size_type AllocatorOverrideShim::Capacity() const + { + return m_source->Capacity(); + } + + typename AllocatorOverrideShim::size_type AllocatorOverrideShim::GetMaxAllocationSize() const + { + return m_source->GetMaxAllocationSize(); + } + + auto AllocatorOverrideShim::GetMaxContiguousAllocationSize() const -> size_type + { + return m_source->GetMaxContiguousAllocationSize(); + } + + IAllocatorAllocate* AllocatorOverrideShim::GetSubAllocator() + { + return m_source->GetSubAllocator(); + } + +} // namespace AZ::Internal diff --git a/Code/Framework/AzCore/AzCore/Memory/HphaSchema.cpp b/Code/Framework/AzCore/AzCore/Memory/HphaSchema.cpp index 6af8f201c2..6e40ccd8cd 100644 --- a/Code/Framework/AzCore/AzCore/Memory/HphaSchema.cpp +++ b/Code/Framework/AzCore/AzCore/Memory/HphaSchema.cpp @@ -140,8 +140,8 @@ namespace AZ { class const_iterator; class iterator { - typedef T& reference; - typedef T* pointer; + using reference = T&; + using pointer = T*; friend class const_iterator; T* mPtr; public: @@ -171,8 +171,8 @@ namespace AZ { class const_iterator { - typedef const T& reference; - typedef const T* pointer; + using reference = const T &; + using pointer = const T *; const T* mPtr; public: const_iterator() @@ -327,7 +327,7 @@ namespace AZ { uint64_t mSizeAndFlags; public: - typedef block_header* block_ptr; + using block_ptr = block_header *; size_t size() const { return mSizeAndFlags & ~BL_FLAG_MASK; } block_ptr next() const {return (block_ptr)((char*)mem() + size()); } block_ptr prev() const {return mPrev; } @@ -415,7 +415,7 @@ namespace AZ { void dec_ref() { HPPA_ASSERT(mUseCount > 0); mUseCount--; } bool check_marker(size_t marker) const { return mMarker == (marker ^ ((size_t)this)); } }; - typedef intrusive_list page_list; + using page_list = intrusive_list; class bucket { page_list mPageList; diff --git a/Code/Framework/AzCore/AzCore/Memory/MallocSchema.cpp b/Code/Framework/AzCore/AzCore/Memory/MallocSchema.cpp index 76a71e0f08..9aa31cd8b6 100644 --- a/Code/Framework/AzCore/AzCore/Memory/MallocSchema.cpp +++ b/Code/Framework/AzCore/AzCore/Memory/MallocSchema.cpp @@ -11,149 +11,168 @@ #include #include +namespace AZ::Internal +{ + struct Header + { + uint32_t offset; + uint32_t size; + }; +} // namespace AZ::Internal + namespace AZ { - namespace Internal + //--------------------------------------------------------------------- + // MallocSchema methods + //--------------------------------------------------------------------- + + MallocSchema::MallocSchema(const Descriptor& desc) + : m_bytesAllocated(0) { - struct Header + if (desc.m_useAZMalloc) { - uint32_t offset; - uint32_t size; - }; + static const int DEFAULT_ALIGNMENT = sizeof(void*) * 2; // Default malloc alignment + + m_mallocFn = [](size_t byteSize) + { + return AZ_OS_MALLOC(byteSize, DEFAULT_ALIGNMENT); + }; + m_freeFn = [](void* ptr) + { + AZ_OS_FREE(ptr); + }; + } + else + { + m_mallocFn = &malloc; + m_freeFn = &free; + } } -} -//--------------------------------------------------------------------- -// MallocSchema methods -//--------------------------------------------------------------------- - -AZ::MallocSchema::MallocSchema(const Descriptor& desc) : - m_bytesAllocated(0) -{ - if (desc.m_useAZMalloc) + MallocSchema::~MallocSchema() { - static const int DEFAULT_ALIGNMENT = sizeof(void*) * 2; // Default malloc alignment - - m_mallocFn = [](size_t byteSize) { return AZ_OS_MALLOC(byteSize, DEFAULT_ALIGNMENT); }; - m_freeFn = [](void* ptr) { AZ_OS_FREE(ptr); }; } - else + + MallocSchema::pointer_type MallocSchema::Allocate( + size_type byteSize, + size_type alignment, + int flags, + const char* name, + const char* fileName, + int lineNum, + unsigned int suppressStackRecord) { - m_mallocFn = &malloc; - m_freeFn = &free; + (void)flags; + (void)name; + (void)fileName; + (void)lineNum; + (void)suppressStackRecord; + + if (!byteSize) + { + return nullptr; + } + + if (alignment == 0) + { + alignment = sizeof(void*) * 2; // Default malloc alignment + } + + AZ_Assert(byteSize < 0x100000000ull, "Malloc allocator only allocates up to 4GB"); + + size_type required = byteSize + sizeof(Internal::Header) + + ((alignment > sizeof(double)) + ? alignment + : 0); // Malloc will align to a minimum boundary for native objects, so we only pad if aligning to a large value + void* data = (*m_mallocFn)(required); + void* result = PointerAlignUp(reinterpret_cast(reinterpret_cast(data) + sizeof(Internal::Header)), alignment); + Internal::Header* header = PointerAlignDown( + (Internal::Header*)(reinterpret_cast(result) - sizeof(Internal::Header)), AZStd::alignment_of::value); + + header->offset = static_cast(reinterpret_cast(result) - reinterpret_cast(data)); + header->size = static_cast(byteSize); + m_bytesAllocated += byteSize; + + return result; } -} -AZ::MallocSchema::~MallocSchema() -{ -} + void MallocSchema::DeAllocate(pointer_type ptr, size_type byteSize, size_type alignment) + { + (void)byteSize; + (void)alignment; -AZ::MallocSchema::pointer_type AZ::MallocSchema::Allocate(size_type byteSize, size_type alignment, int flags, const char* name, const char* fileName, int lineNum, unsigned int suppressStackRecord) -{ - (void)flags; - (void)name; - (void)fileName; - (void)lineNum; - (void)suppressStackRecord; + if (!ptr) + { + return; + } - if (!byteSize) + Internal::Header* header = PointerAlignDown( + reinterpret_cast(reinterpret_cast(ptr) - sizeof(Internal::Header)), + AZStd::alignment_of::value); + void* freePtr = reinterpret_cast(reinterpret_cast(ptr) - static_cast(header->offset)); + + m_bytesAllocated -= header->size; + (*m_freeFn)(freePtr); + } + + MallocSchema::pointer_type MallocSchema::ReAllocate(pointer_type ptr, size_type newSize, size_type newAlignment) + { + void* newPtr = Allocate(newSize, newAlignment, 0); + size_t oldSize = AllocationSize(ptr); + + memcpy(newPtr, ptr, AZStd::min(oldSize, newSize)); + DeAllocate(ptr, 0, 0); + + return newPtr; + } + + MallocSchema::size_type MallocSchema::Resize(pointer_type ptr, size_type newSize) + { + (void)ptr; + (void)newSize; + + return 0; + } + + MallocSchema::size_type MallocSchema::AllocationSize(pointer_type ptr) + { + if (!ptr) + { + return 0; + } + Internal::Header* header = PointerAlignDown( + reinterpret_cast(reinterpret_cast(ptr) - sizeof(Internal::Header)), + AZStd::alignment_of::value); + return header->size; + } + + MallocSchema::size_type MallocSchema::NumAllocatedBytes() const + { + return m_bytesAllocated; + } + + MallocSchema::size_type MallocSchema::Capacity() const + { + return 0; + } + + MallocSchema::size_type MallocSchema::GetMaxAllocationSize() const + { + return 0xFFFFFFFFull; + } + + MallocSchema::size_type MallocSchema::GetMaxContiguousAllocationSize() const + { + return AZ_CORE_MAX_ALLOCATOR_SIZE; + } + + IAllocatorAllocate* MallocSchema::GetSubAllocator() { return nullptr; } - if (alignment == 0) + void MallocSchema::GarbageCollect() { - alignment = sizeof(void*) * 2; // Default malloc alignment } - AZ_Assert(byteSize < 0x100000000ull, "Malloc allocator only allocates up to 4GB"); - - size_type required = byteSize + sizeof(Internal::Header) + ((alignment > sizeof(double)) ? alignment : 0); // Malloc will align to a minimum boundary for native objects, so we only pad if aligning to a large value - void* data = (*m_mallocFn)(required); - void* result = PointerAlignUp(reinterpret_cast(reinterpret_cast(data) + sizeof(Internal::Header)), alignment); - Internal::Header* header = PointerAlignDown((Internal::Header*)(reinterpret_cast(result) - sizeof(Internal::Header)), AZStd::alignment_of::value); - - header->offset = static_cast(reinterpret_cast(result) - reinterpret_cast(data)); - header->size = static_cast(byteSize); - m_bytesAllocated += byteSize; - - return result; -} - -void AZ::MallocSchema::DeAllocate(pointer_type ptr, size_type byteSize, size_type alignment) -{ - (void)byteSize; - (void)alignment; - - if (!ptr) - { - return; - } - - Internal::Header* header = PointerAlignDown(reinterpret_cast(reinterpret_cast(ptr) - sizeof(Internal::Header)), AZStd::alignment_of::value); - void* freePtr = reinterpret_cast(reinterpret_cast(ptr) - static_cast(header->offset)); - - m_bytesAllocated -= header->size; - (*m_freeFn)(freePtr); -} - -AZ::MallocSchema::pointer_type AZ::MallocSchema::ReAllocate(pointer_type ptr, size_type newSize, size_type newAlignment) -{ - void* newPtr = Allocate(newSize, newAlignment, 0); - size_t oldSize = AllocationSize(ptr); - - memcpy(newPtr, ptr, AZStd::min(oldSize, newSize)); - DeAllocate(ptr, 0, 0); - - return newPtr; -} - -AZ::MallocSchema::size_type AZ::MallocSchema::Resize(pointer_type ptr, size_type newSize) -{ - (void)ptr; - (void)newSize; - - return 0; -} - -AZ::MallocSchema::size_type AZ::MallocSchema::AllocationSize(pointer_type ptr) -{ - size_type result = 0; - - if (ptr) - { - Internal::Header* header = PointerAlignDown(reinterpret_cast(reinterpret_cast(ptr) - sizeof(Internal::Header)), AZStd::alignment_of::value); - result = header->size; - } - - return result; -} - -AZ::MallocSchema::size_type AZ::MallocSchema::NumAllocatedBytes() const -{ - return m_bytesAllocated; -} - -AZ::MallocSchema::size_type AZ::MallocSchema::Capacity() const -{ - return 0; -} - -AZ::MallocSchema::size_type AZ::MallocSchema::GetMaxAllocationSize() const -{ - return 0xFFFFFFFFull; -} - -AZ::MallocSchema::size_type AZ::MallocSchema::GetMaxContiguousAllocationSize() const -{ - return AZ_CORE_MAX_ALLOCATOR_SIZE; -} - -AZ::IAllocatorAllocate* AZ::MallocSchema::GetSubAllocator() -{ - return nullptr; -} - -void AZ::MallocSchema::GarbageCollect() -{ -} +} // namespace AZ diff --git a/Code/Framework/AzCore/AzCore/Memory/MemoryDriller.cpp b/Code/Framework/AzCore/AzCore/Memory/MemoryDriller.cpp index 2ea25c3397..dc35c6322b 100644 --- a/Code/Framework/AzCore/AzCore/Memory/MemoryDriller.cpp +++ b/Code/Framework/AzCore/AzCore/Memory/MemoryDriller.cpp @@ -15,280 +15,277 @@ #include #include -namespace AZ +namespace AZ::Debug { - namespace Debug + //========================================================================= + // MemoryDriller + // [2/6/2013] + //========================================================================= + MemoryDriller::MemoryDriller(const Descriptor& desc) { - //========================================================================= - // MemoryDriller - // [2/6/2013] - //========================================================================= - MemoryDriller::MemoryDriller(const Descriptor& desc) + (void)desc; + BusConnect(); + + AllocatorManager::Instance().EnterProfilingMode(); + { - (void)desc; - BusConnect(); - - AllocatorManager::Instance().EnterProfilingMode(); - - { - // Register all allocators that were created before the driller existed - auto allocatorLock = AllocatorManager::Instance().LockAllocators(); - - for (int i = 0; i < AllocatorManager::Instance().GetNumAllocators(); ++i) - { - IAllocator* allocator = AllocatorManager::Instance().GetAllocator(i); - RegisterAllocator(allocator); - } - } - } - - //========================================================================= - // ~MemoryDriller - // [2/6/2013] - //========================================================================= - MemoryDriller::~MemoryDriller() - { - BusDisconnect(); - AllocatorManager::Instance().ExitProfilingMode(); - } - - //========================================================================= - // Start - // [2/6/2013] - //========================================================================= - void MemoryDriller::Start(const Param* params, int numParams) - { - (void)params; - (void)numParams; - - // dump current allocations for all allocators with tracking + // Register all allocators that were created before the driller existed auto allocatorLock = AllocatorManager::Instance().LockAllocators(); + for (int i = 0; i < AllocatorManager::Instance().GetNumAllocators(); ++i) { IAllocator* allocator = AllocatorManager::Instance().GetAllocator(i); - if (auto records = allocator->GetRecords()) - { - RegisterAllocatorOutput(allocator); - const AllocationRecordsType& allocMap = records->GetMap(); - for (AllocationRecordsType::const_iterator allocIt = allocMap.begin(); allocIt != allocMap.end(); ++allocIt) - { - RegisterAllocationOutput(allocator, allocIt->first, &allocIt->second); - } - } + RegisterAllocator(allocator); } } + } - //========================================================================= - // Stop - // [2/6/2013] - //========================================================================= - void MemoryDriller::Stop() + //========================================================================= + // ~MemoryDriller + // [2/6/2013] + //========================================================================= + MemoryDriller::~MemoryDriller() + { + BusDisconnect(); + AllocatorManager::Instance().ExitProfilingMode(); + } + + //========================================================================= + // Start + // [2/6/2013] + //========================================================================= + void MemoryDriller::Start(const Param* params, int numParams) + { + (void)params; + (void)numParams; + + // dump current allocations for all allocators with tracking + auto allocatorLock = AllocatorManager::Instance().LockAllocators(); + for (int i = 0; i < AllocatorManager::Instance().GetNumAllocators(); ++i) { - } - - //========================================================================= - // RegisterAllocator - // [2/6/2013] - //========================================================================= - void MemoryDriller::RegisterAllocator(IAllocator* allocator) - { - // Ignore if our allocator is already registered - if (allocator->GetRecords() != nullptr) + IAllocator* allocator = AllocatorManager::Instance().GetAllocator(i); + if (auto records = allocator->GetRecords()) { - return; - } - - auto debugConfig = allocator->GetDebugConfig(); - - if (!debugConfig.m_excludeFromDebugging) - { - allocator->SetRecords(aznew Debug::AllocationRecords((unsigned char)debugConfig.m_stackRecordLevels, debugConfig.m_usesMemoryGuards, debugConfig.m_marksUnallocatedMemory, allocator->GetName())); - - m_allAllocatorRecords.push_back(allocator->GetRecords()); - - if (m_output == nullptr) - { - return; // we have no active output - } RegisterAllocatorOutput(allocator); - } - } - //========================================================================= - // RegisterAllocatorOutput - // [2/6/2013] - //========================================================================= - void MemoryDriller::RegisterAllocatorOutput(IAllocator* allocator) - { - auto records = allocator->GetRecords(); - m_output->BeginTag(AZ_CRC("MemoryDriller", 0x1b31269d)); - m_output->BeginTag(AZ_CRC("RegisterAllocator", 0x19f08114)); - m_output->Write(AZ_CRC("Name", 0x5e237e06), allocator->GetName()); - m_output->Write(AZ_CRC("Id", 0xbf396750), allocator); - m_output->Write(AZ_CRC("Capacity", 0xb5e8b174), allocator->GetAllocationSource()->Capacity()); - m_output->Write(AZ_CRC("RecordsId", 0x7caaca88), records); - if (records) - { - m_output->Write(AZ_CRC("RecordsMode", 0x764c147a), (char)records->GetMode()); - m_output->Write(AZ_CRC("NumStackLevels", 0xad9cff15), records->GetNumStackLevels()); - } - m_output->EndTag(AZ_CRC("RegisterAllocator", 0x19f08114)); - m_output->EndTag(AZ_CRC("MemoryDriller", 0x1b31269d)); - } - - //========================================================================= - // UnregisterAllocator - // [2/6/2013] - //========================================================================= - void MemoryDriller::UnregisterAllocator(IAllocator* allocator) - { - auto allocatorRecords = allocator->GetRecords(); - AZ_Assert(allocatorRecords, "This allocator is not registered with the memory driller!"); - for (auto records : m_allAllocatorRecords) - { - if (records == allocatorRecords) + const AllocationRecordsType& allocMap = records->GetMap(); + for (AllocationRecordsType::const_iterator allocIt = allocMap.begin(); allocIt != allocMap.end(); ++allocIt) { - m_allAllocatorRecords.remove(records); - break; + RegisterAllocationOutput(allocator, allocIt->first, &allocIt->second); } } - delete allocatorRecords; - allocator->SetRecords(nullptr); + } + } + + //========================================================================= + // Stop + // [2/6/2013] + //========================================================================= + void MemoryDriller::Stop() + { + } + + //========================================================================= + // RegisterAllocator + // [2/6/2013] + //========================================================================= + void MemoryDriller::RegisterAllocator(IAllocator* allocator) + { + // Ignore if our allocator is already registered + if (allocator->GetRecords() != nullptr) + { + return; + } + + auto debugConfig = allocator->GetDebugConfig(); + + if (!debugConfig.m_excludeFromDebugging) + { + allocator->SetRecords(aznew Debug::AllocationRecords((unsigned char)debugConfig.m_stackRecordLevels, debugConfig.m_usesMemoryGuards, debugConfig.m_marksUnallocatedMemory, allocator->GetName())); + + m_allAllocatorRecords.push_back(allocator->GetRecords()); + + if (m_output == nullptr) + { + return; // we have no active output + } + RegisterAllocatorOutput(allocator); + } + } + //========================================================================= + // RegisterAllocatorOutput + // [2/6/2013] + //========================================================================= + void MemoryDriller::RegisterAllocatorOutput(IAllocator* allocator) + { + auto records = allocator->GetRecords(); + m_output->BeginTag(AZ_CRC("MemoryDriller", 0x1b31269d)); + m_output->BeginTag(AZ_CRC("RegisterAllocator", 0x19f08114)); + m_output->Write(AZ_CRC("Name", 0x5e237e06), allocator->GetName()); + m_output->Write(AZ_CRC("Id", 0xbf396750), allocator); + m_output->Write(AZ_CRC("Capacity", 0xb5e8b174), allocator->GetAllocationSource()->Capacity()); + m_output->Write(AZ_CRC("RecordsId", 0x7caaca88), records); + if (records) + { + m_output->Write(AZ_CRC("RecordsMode", 0x764c147a), (char)records->GetMode()); + m_output->Write(AZ_CRC("NumStackLevels", 0xad9cff15), records->GetNumStackLevels()); + } + m_output->EndTag(AZ_CRC("RegisterAllocator", 0x19f08114)); + m_output->EndTag(AZ_CRC("MemoryDriller", 0x1b31269d)); + } + + //========================================================================= + // UnregisterAllocator + // [2/6/2013] + //========================================================================= + void MemoryDriller::UnregisterAllocator(IAllocator* allocator) + { + auto allocatorRecords = allocator->GetRecords(); + AZ_Assert(allocatorRecords, "This allocator is not registered with the memory driller!"); + for (auto records : m_allAllocatorRecords) + { + if (records == allocatorRecords) + { + m_allAllocatorRecords.remove(records); + break; + } + } + delete allocatorRecords; + allocator->SetRecords(nullptr); + + if (m_output == nullptr) + { + return; // we have no active output + } + m_output->BeginTag(AZ_CRC("MemoryDriller", 0x1b31269d)); + m_output->Write(AZ_CRC("UnregisterAllocator", 0xb2b54f93), allocator); + m_output->EndTag(AZ_CRC("MemoryDriller", 0x1b31269d)); + } + + //========================================================================= + // RegisterAllocation + // [2/6/2013] + //========================================================================= + void MemoryDriller::RegisterAllocation(IAllocator* allocator, void* address, size_t byteSize, size_t alignment, const char* name, const char* fileName, int lineNum, unsigned int stackSuppressCount) + { + auto records = allocator->GetRecords(); + if (records) + { + const AllocationInfo* info = records->RegisterAllocation(address, byteSize, alignment, name, fileName, lineNum, stackSuppressCount + 1); + if (m_output == nullptr) + { + return; // we have no active output + } + RegisterAllocationOutput(allocator, address, info); + } + } + + //========================================================================= + // RegisterAllocationOutput + // [2/6/2013] + //========================================================================= + void MemoryDriller::RegisterAllocationOutput(IAllocator* allocator, void* address, const AllocationInfo* info) + { + auto records = allocator->GetRecords(); + m_output->BeginTag(AZ_CRC("MemoryDriller", 0x1b31269d)); + m_output->BeginTag(AZ_CRC("RegisterAllocation", 0x992a9780)); + m_output->Write(AZ_CRC("RecordsId", 0x7caaca88), records); + m_output->Write(AZ_CRC("Address", 0x0d4e6f81), address); + if (info) + { + if (info->m_name) + { + m_output->Write(AZ_CRC("Name", 0x5e237e06), info->m_name); + } + m_output->Write(AZ_CRC("Alignment", 0x2cce1e5c), info->m_alignment); + m_output->Write(AZ_CRC("Size", 0xf7c0246a), info->m_byteSize); + if (info->m_fileName) + { + m_output->Write(AZ_CRC("FileName", 0x3c0be965), info->m_fileName); + m_output->Write(AZ_CRC("FileLine", 0xb33c2395), info->m_lineNum); + } + // copy the stack frames directly, resolving the stack should happen later as this is a SLOW procedure. + if (info->m_stackFrames) + { + m_output->Write(AZ_CRC("Stack", 0x41a87b6a), info->m_stackFrames, info->m_stackFrames + records->GetNumStackLevels()); + } + } + m_output->EndTag(AZ_CRC("RegisterAllocation", 0x992a9780)); + m_output->EndTag(AZ_CRC("MemoryDriller", 0x1b31269d)); + } + + //========================================================================= + // UnRegisterAllocation + // [2/6/2013] + //========================================================================= + void MemoryDriller::UnregisterAllocation(IAllocator* allocator, void* address, size_t byteSize, size_t alignment, AllocationInfo* info) + { + auto records = allocator->GetRecords(); + if (records) + { + records->UnregisterAllocation(address, byteSize, alignment, info); if (m_output == nullptr) { return; // we have no active output } m_output->BeginTag(AZ_CRC("MemoryDriller", 0x1b31269d)); - m_output->Write(AZ_CRC("UnregisterAllocator", 0xb2b54f93), allocator); - m_output->EndTag(AZ_CRC("MemoryDriller", 0x1b31269d)); - } - - //========================================================================= - // RegisterAllocation - // [2/6/2013] - //========================================================================= - void MemoryDriller::RegisterAllocation(IAllocator* allocator, void* address, size_t byteSize, size_t alignment, const char* name, const char* fileName, int lineNum, unsigned int stackSuppressCount) - { - auto records = allocator->GetRecords(); - if (records) - { - const AllocationInfo* info = records->RegisterAllocation(address, byteSize, alignment, name, fileName, lineNum, stackSuppressCount + 1); - if (m_output == nullptr) - { - return; // we have no active output - } - RegisterAllocationOutput(allocator, address, info); - } - } - - //========================================================================= - // RegisterAllocationOutput - // [2/6/2013] - //========================================================================= - void MemoryDriller::RegisterAllocationOutput(IAllocator* allocator, void* address, const AllocationInfo* info) - { - auto records = allocator->GetRecords(); - m_output->BeginTag(AZ_CRC("MemoryDriller", 0x1b31269d)); - m_output->BeginTag(AZ_CRC("RegisterAllocation", 0x992a9780)); + m_output->BeginTag(AZ_CRC("UnRegisterAllocation", 0xea5dc4cd)); m_output->Write(AZ_CRC("RecordsId", 0x7caaca88), records); m_output->Write(AZ_CRC("Address", 0x0d4e6f81), address); - if (info) - { - if (info->m_name) - { - m_output->Write(AZ_CRC("Name", 0x5e237e06), info->m_name); - } - m_output->Write(AZ_CRC("Alignment", 0x2cce1e5c), info->m_alignment); - m_output->Write(AZ_CRC("Size", 0xf7c0246a), info->m_byteSize); - if (info->m_fileName) - { - m_output->Write(AZ_CRC("FileName", 0x3c0be965), info->m_fileName); - m_output->Write(AZ_CRC("FileLine", 0xb33c2395), info->m_lineNum); - } - // copy the stack frames directly, resolving the stack should happen later as this is a SLOW procedure. - if (info->m_stackFrames) - { - m_output->Write(AZ_CRC("Stack", 0x41a87b6a), info->m_stackFrames, info->m_stackFrames + records->GetNumStackLevels()); - } - } - m_output->EndTag(AZ_CRC("RegisterAllocation", 0x992a9780)); + m_output->EndTag(AZ_CRC("UnRegisterAllocation", 0xea5dc4cd)); m_output->EndTag(AZ_CRC("MemoryDriller", 0x1b31269d)); } + } - //========================================================================= - // UnRegisterAllocation - // [2/6/2013] - //========================================================================= - void MemoryDriller::UnregisterAllocation(IAllocator* allocator, void* address, size_t byteSize, size_t alignment, AllocationInfo* info) + //========================================================================= + // ReallocateAllocation + // [10/1/2018] + //========================================================================= + void MemoryDriller::ReallocateAllocation(IAllocator* allocator, void* prevAddress, void* newAddress, size_t newByteSize, size_t newAlignment) + { + AllocationInfo info; + UnregisterAllocation(allocator, prevAddress, 0, 0, &info); + RegisterAllocation(allocator, newAddress, newByteSize, newAlignment, info.m_name, info.m_fileName, info.m_lineNum, 0); + } + + //========================================================================= + // ResizeAllocation + // [2/6/2013] + //========================================================================= + void MemoryDriller::ResizeAllocation(IAllocator* allocator, void* address, size_t newSize) + { + auto records = allocator->GetRecords(); + if (records) { - auto records = allocator->GetRecords(); - if (records) - { - records->UnregisterAllocation(address, byteSize, alignment, info); + records->ResizeAllocation(address, newSize); - if (m_output == nullptr) - { - return; // we have no active output - } - m_output->BeginTag(AZ_CRC("MemoryDriller", 0x1b31269d)); - m_output->BeginTag(AZ_CRC("UnRegisterAllocation", 0xea5dc4cd)); - m_output->Write(AZ_CRC("RecordsId", 0x7caaca88), records); - m_output->Write(AZ_CRC("Address", 0x0d4e6f81), address); - m_output->EndTag(AZ_CRC("UnRegisterAllocation", 0xea5dc4cd)); - m_output->EndTag(AZ_CRC("MemoryDriller", 0x1b31269d)); + if (m_output == nullptr) + { + return; // we have no active output + } + m_output->BeginTag(AZ_CRC("MemoryDriller", 0x1b31269d)); + m_output->BeginTag(AZ_CRC("ResizeAllocation", 0x8a9c78dc)); + m_output->Write(AZ_CRC("RecordsId", 0x7caaca88), records); + m_output->Write(AZ_CRC("Address", 0x0d4e6f81), address); + m_output->Write(AZ_CRC("Size", 0xf7c0246a), newSize); + m_output->EndTag(AZ_CRC("ResizeAllocation", 0x8a9c78dc)); + m_output->EndTag(AZ_CRC("MemoryDriller", 0x1b31269d)); + } + } + + void MemoryDriller::DumpAllAllocations() + { + // Create a copy so allocations done during the printing dont end up affecting the container + const AZStd::list allocationRecords = m_allAllocatorRecords; + + for (auto records : allocationRecords) + { + // Skip if we have had no allocations made + if (records->RequestedAllocs()) + { + records->EnumerateAllocations(AZ::Debug::PrintAllocationsCB(true, true)); } } + } - //========================================================================= - // ReallocateAllocation - // [10/1/2018] - //========================================================================= - void MemoryDriller::ReallocateAllocation(IAllocator* allocator, void* prevAddress, void* newAddress, size_t newByteSize, size_t newAlignment) - { - AllocationInfo info; - UnregisterAllocation(allocator, prevAddress, 0, 0, &info); - RegisterAllocation(allocator, newAddress, newByteSize, newAlignment, info.m_name, info.m_fileName, info.m_lineNum, 0); - } - - //========================================================================= - // ResizeAllocation - // [2/6/2013] - //========================================================================= - void MemoryDriller::ResizeAllocation(IAllocator* allocator, void* address, size_t newSize) - { - auto records = allocator->GetRecords(); - if (records) - { - records->ResizeAllocation(address, newSize); - - if (m_output == nullptr) - { - return; // we have no active output - } - m_output->BeginTag(AZ_CRC("MemoryDriller", 0x1b31269d)); - m_output->BeginTag(AZ_CRC("ResizeAllocation", 0x8a9c78dc)); - m_output->Write(AZ_CRC("RecordsId", 0x7caaca88), records); - m_output->Write(AZ_CRC("Address", 0x0d4e6f81), address); - m_output->Write(AZ_CRC("Size", 0xf7c0246a), newSize); - m_output->EndTag(AZ_CRC("ResizeAllocation", 0x8a9c78dc)); - m_output->EndTag(AZ_CRC("MemoryDriller", 0x1b31269d)); - } - } - - void MemoryDriller::DumpAllAllocations() - { - // Create a copy so allocations done during the printing dont end up affecting the container - const AZStd::list allocationRecords = m_allAllocatorRecords; - - for (auto records : allocationRecords) - { - // Skip if we have had no allocations made - if (records->RequestedAllocs()) - { - records->EnumerateAllocations(AZ::Debug::PrintAllocationsCB(true, true)); - } - } - } - - }// namespace Debug -} // namespace AZ +} // namespace AZ::Debug diff --git a/Code/Framework/AzCore/AzCore/Memory/PoolSchema.cpp b/Code/Framework/AzCore/AzCore/Memory/PoolSchema.cpp index 0bef6b7d28..9167864450 100644 --- a/Code/Framework/AzCore/AzCore/Memory/PoolSchema.cpp +++ b/Code/Framework/AzCore/AzCore/Memory/PoolSchema.cpp @@ -35,8 +35,8 @@ namespace AZ public: AZ_CLASS_ALLOCATOR(PoolAllocation, SystemAllocator, 0) - typedef typename Allocator::Page PageType; - typedef typename Allocator::Bucket BucketType; + using PageType = typename Allocator::Page; + using BucketType = typename Allocator::Bucket; PoolAllocation(Allocator* alloc, size_t pageSize, size_t minAllocationSize, size_t maxAllocationSize); virtual ~PoolAllocation(); @@ -89,7 +89,7 @@ namespace AZ void SetupFreeList(size_t elementSize, size_t pageDataBlockSize); /// We just use a free list of nodes which we cast to the pool type. - typedef AZStd::intrusive_slist > FreeListType; + using FreeListType = AZStd::intrusive_slist>; FreeListType m_freeList; u32 m_bin; @@ -103,7 +103,7 @@ namespace AZ */ struct Bucket { - typedef AZStd::intrusive_list > PageListType; + using PageListType = AZStd::intrusive_list>; PageListType m_pages; }; @@ -162,7 +162,7 @@ namespace AZ return page; } - typedef PoolAllocation AllocatorType; + using AllocatorType = PoolAllocation; IAllocatorAllocate* m_pageAllocator; AllocatorType m_allocator; void* m_staticDataBlock; @@ -199,7 +199,7 @@ namespace AZ void SetupFreeList(size_t elementSize, size_t pageDataBlockSize); /// We just use a free list of nodes which we cast to the pool type. - typedef AZStd::intrusive_slist > FreeListType; + using FreeListType = AZStd::intrusive_slist>; FreeListType m_freeList; AZStd::lock_free_intrusive_stack_node m_lfStack; ///< Lock Free stack node @@ -215,7 +215,7 @@ namespace AZ */ struct Bucket { - typedef AZStd::intrusive_list > PageListType; + using PageListType = AZStd::intrusive_list>; PageListType m_pages; }; @@ -291,7 +291,7 @@ namespace AZ ThreadPoolSchema::SetThreadPoolData m_threadPoolSetter; // Fox X64 we push/pop pages using the m_mutex to sync. Pages are - typedef Bucket::PageListType FreePagesType; + using FreePagesType = Bucket::PageListType; FreePagesType m_freePages; AZStd::vector m_threads; ///< Array with all separate thread data. Used to traverse end free elements. @@ -313,12 +313,12 @@ namespace AZ ThreadPoolData(ThreadPoolSchemaImpl* alloc, size_t pageSize, size_t minAllocationSize, size_t maxAllocationSize); ~ThreadPoolData(); - typedef PoolAllocation AllocatorType; + using AllocatorType = PoolAllocation; /** * Stack with freed elements from other threads. We don't need stamped stack since the ABA problem can not * happen here. We push from many threads and pop from only one (we don't push from it). */ - typedef AZStd::lock_free_intrusive_stack > FreedElementsStack; + using FreedElementsStack = AZStd::lock_free_intrusive_stack>; AllocatorType m_allocator; FreedElementsStack m_freedElements; diff --git a/Code/Framework/AzCore/AzCore/Module/Environment.cpp b/Code/Framework/AzCore/AzCore/Module/Environment.cpp index 71da948a35..790af730bf 100644 --- a/Code/Framework/AzCore/AzCore/Module/Environment.cpp +++ b/Code/Framework/AzCore/AzCore/Module/Environment.cpp @@ -24,10 +24,10 @@ namespace AZ class OSStdAllocator { public: - typedef void* pointer_type; - typedef AZStd::size_t size_type; - typedef AZStd::ptrdiff_t difference_type; - typedef AZStd::false_type allow_memory_leaks; ///< Regular allocators should not leak. + using pointer_type = void *; + using size_type = AZStd::size_t; + using difference_type = AZStd::ptrdiff_t; + using allow_memory_leaks = AZStd::false_type; ///< Regular allocators should not leak. OSStdAllocator(Environment::AllocatorInterface* allocator) : m_name("GlobalEnvironmentAllocator") @@ -122,7 +122,7 @@ namespace AZ : public EnvironmentInterface { public: - typedef AZStd::unordered_map, AZStd::equal_to, OSStdAllocator> MapType; + using MapType = AZStd::unordered_map, AZStd::equal_to, OSStdAllocator>; static EnvironmentInterface* Get(); static void Attach(EnvironmentInstance sourceEnvironment, bool useAsGetFallback); diff --git a/Code/Framework/AzCore/AzCore/Module/Internal/ModuleManagerSearchPathTool.cpp b/Code/Framework/AzCore/AzCore/Module/Internal/ModuleManagerSearchPathTool.cpp index 10aa9904a3..0797fef93f 100644 --- a/Code/Framework/AzCore/AzCore/Module/Internal/ModuleManagerSearchPathTool.cpp +++ b/Code/Framework/AzCore/AzCore/Module/Internal/ModuleManagerSearchPathTool.cpp @@ -10,21 +10,18 @@ #include #include -namespace AZ +namespace AZ::Internal { - namespace Internal + AZ::OSString ModuleManagerSearchPathTool::GetModuleDirectory(const AZ::DynamicModuleDescriptor& moduleDesc) { - AZ::OSString ModuleManagerSearchPathTool::GetModuleDirectory(const AZ::DynamicModuleDescriptor& moduleDesc) + // For each module that is loaded, attempt to set the module's folder as a path for dependent module resolution + AZ::OSString modulePath = moduleDesc.m_dynamicLibraryPath; + AZ::ComponentApplicationBus::Broadcast(&AZ::ComponentApplicationBus::Events::ResolveModulePath, modulePath); + auto lastPathSep = modulePath.find_last_of(AZ_TRAIT_OS_PATH_SEPARATOR); + if (lastPathSep != modulePath.npos) { - // For each module that is loaded, attempt to set the module's folder as a path for dependent module resolution - AZ::OSString modulePath = moduleDesc.m_dynamicLibraryPath; - AZ::ComponentApplicationBus::Broadcast(&AZ::ComponentApplicationBus::Events::ResolveModulePath, modulePath); - auto lastPathSep = modulePath.find_last_of(AZ_TRAIT_OS_PATH_SEPARATOR); - if (lastPathSep != modulePath.npos) - { - modulePath = modulePath.substr(0, lastPathSep); - } - return modulePath; + modulePath = modulePath.substr(0, lastPathSep); } - } // namespace Internal -} // namespace AZ + return modulePath; + } +} // namespace AZ::Internal diff --git a/Code/Framework/AzCore/AzCore/Name/Internal/NameData.cpp b/Code/Framework/AzCore/AzCore/Name/Internal/NameData.cpp index 574b0bcc7e..69bead11ac 100644 --- a/Code/Framework/AzCore/AzCore/Name/Internal/NameData.cpp +++ b/Code/Framework/AzCore/AzCore/Name/Internal/NameData.cpp @@ -9,45 +9,41 @@ #include #include -namespace AZ +namespace AZ::Internal { - namespace Internal + NameData::NameData(AZStd::string&& name, Hash hash) + : m_name{AZStd::move(name)} + , m_hash{hash} + {} + + AZStd::string_view NameData::GetName() const { - NameData::NameData(AZStd::string&& name, Hash hash) - : m_name{AZStd::move(name)} - , m_hash{hash} - {} + return m_name; + } - AZStd::string_view NameData::GetName() const - { - return m_name; - } + NameData::Hash NameData::GetHash() const + { + return m_hash; + } - NameData::Hash NameData::GetHash() const - { - return m_hash; - } + void NameData::add_ref() + { + AZ_Assert(m_useCount >= 0, "NameData has been deleted"); + ++m_useCount; + } - void NameData::add_ref() + void NameData::release() + { + // this could be released after we decrement the counter, therefore we will + // base the release on the hash which is stable + Hash hash = m_hash; + AZ_Assert(m_useCount > 0, "m_useCount is already 0!"); + if (m_useCount.fetch_sub(1) == 1) { - AZ_Assert(m_useCount >= 0, "NameData has been deleted"); - ++m_useCount; - } - - void NameData::release() - { - // this could be released after we decrement the counter, therefore we will - // base the release on the hash which is stable - Hash hash = m_hash; - AZ_Assert(m_useCount > 0, "m_useCount is already 0!"); - if (m_useCount.fetch_sub(1) == 1) + if (AZ::NameDictionary::IsReady()) { - if (AZ::NameDictionary::IsReady()) - { - AZ::NameDictionary::Instance().TryReleaseName(hash); - } + AZ::NameDictionary::Instance().TryReleaseName(hash); } } } -} - +} // namespace AZ::Internal diff --git a/Code/Framework/AzCore/AzCore/Platform.cpp b/Code/Framework/AzCore/AzCore/Platform.cpp index ad345f65e8..0defef826e 100644 --- a/Code/Framework/AzCore/AzCore/Platform.cpp +++ b/Code/Framework/AzCore/AzCore/Platform.cpp @@ -8,19 +8,16 @@ #include -namespace AZ +namespace AZ::Platform { - namespace Platform - { - MachineId s_machineId = MachineId(0); + MachineId s_machineId = MachineId(0); - void SetLocalMachineId(AZ::u32 machineId) + void SetLocalMachineId(AZ::u32 machineId) + { + AZ_Assert(machineId != 0, "0 machine ID is reserved!"); + if (s_machineId != 0) { - AZ_Assert(machineId != 0, "0 machine ID is reserved!"); - if (s_machineId != 0) - { - s_machineId = machineId; - } + s_machineId = machineId; } } -} +} // namespace AZ::Platform diff --git a/Code/Framework/AzCore/AzCore/RTTI/BehaviorContextUtilities.cpp b/Code/Framework/AzCore/AzCore/RTTI/BehaviorContextUtilities.cpp index 6fb03073b0..5632c258c3 100644 --- a/Code/Framework/AzCore/AzCore/RTTI/BehaviorContextUtilities.cpp +++ b/Code/Framework/AzCore/AzCore/RTTI/BehaviorContextUtilities.cpp @@ -117,9 +117,9 @@ namespace AZ if (!explicitOverloads.m_overloads.empty()) { - for (auto methodAndClass : explicitOverloads.m_overloads) + for (const auto& methodAndClass : explicitOverloads.m_overloads) { - overloads.push_back({ methodAndClass.first, methodAndClass.second }); + overloads.emplace_back(methodAndClass.first, methodAndClass.second); } } else @@ -128,7 +128,7 @@ namespace AZ do { - overloads.push_back({ overload, behaviorClass }); + overloads.emplace_back(overload, behaviorClass); overload = overload->m_overload; } while (overload); diff --git a/Code/Framework/AzCore/AzCore/Script/ScriptSystemComponent.cpp b/Code/Framework/AzCore/AzCore/Script/ScriptSystemComponent.cpp index 3b2aebdee6..4b71c57682 100644 --- a/Code/Framework/AzCore/AzCore/Script/ScriptSystemComponent.cpp +++ b/Code/Framework/AzCore/AzCore/Script/ScriptSystemComponent.cpp @@ -170,61 +170,77 @@ ScriptContext* ScriptSystemComponent::AddContext(ScriptContext* context, int ga ScriptContext* ScriptSystemComponent::AddContextWithId(ScriptContextId id) { AZ_Assert(m_contexts.empty() || id != ScriptContextIds::DefaultScriptContextId, "Default script context ID is reserved! Please provide a Unique context ID for you ScriptContext!"); - if (GetContext(id) == nullptr) + if (GetContext(id) != nullptr) { - m_contexts.emplace_back(); - ContextContainer& cc = m_contexts.back(); - cc.m_context = aznew ScriptContext(id); - cc.m_isOwner = true; - cc.m_garbageCollectorSteps = m_defaultGarbageCollectorSteps; - - cc.m_context->SetRequireHook(AZStd::bind(&ScriptSystemComponent::DefaultRequireHook, this, AZStd::placeholders::_1, AZStd::placeholders::_2, AZStd::placeholders::_3)); - - if (id != ScriptContextIds::CryScriptContextId) + return nullptr; + } + m_contexts.emplace_back(); + ContextContainer& cc = m_contexts.back(); + cc.m_context = aznew ScriptContext(id); + cc.m_isOwner = true; + cc.m_garbageCollectorSteps = m_defaultGarbageCollectorSteps; + cc.m_context->SetRequireHook( + [this](lua_State* lua, ScriptContext* context, const char* module) -> int { - // Reflect script classes - ComponentApplication* app = nullptr; - EBUS_EVENT_RESULT(app, ComponentApplicationBus, GetApplication); - if (app && app->GetDescriptor().m_enableScriptReflection) + return DefaultRequireHook(lua, context, module); + }); + + if (id != ScriptContextIds::CryScriptContextId) + { + // Reflect script classes + ComponentApplication* app = nullptr; + EBUS_EVENT_RESULT(app, ComponentApplicationBus, GetApplication); + if (app && app->GetDescriptor().m_enableScriptReflection) + { + if (app->GetBehaviorContext()) { - if (app->GetBehaviorContext()) - { - cc.m_context->BindTo(app->GetBehaviorContext()); - } - else - { - AZ_Error("Script", false, "We are asked to enabled scripting, but the Applicaion has no BehaviorContext! Scripting relies on BehaviorContext!"); - } + cc.m_context->BindTo(app->GetBehaviorContext()); + } + else + { + AZ_Error("Script", false, "We are asked to enabled scripting, but the Applicaion has no BehaviorContext! Scripting relies on BehaviorContext!"); } } - - return cc.m_context; } - return nullptr; + return cc.m_context; } void ScriptSystemComponent::RestoreDefaultRequireHook(ScriptContextId id) { - if (auto context = GetContext(id)) + auto context = GetContext(id); + if (!context) { - for (auto& inMemoryModule : m_inMemoryModules) - { - ClearAssetReferences(inMemoryModule.second->GetId()); - } - - m_inMemoryModules.clear(); - context->SetRequireHook(AZStd::bind(&ScriptSystemComponent::DefaultRequireHook, this, AZStd::placeholders::_1, AZStd::placeholders::_2, AZStd::placeholders::_3)); + return; } + + for (auto& inMemoryModule : m_inMemoryModules) + { + ClearAssetReferences(inMemoryModule.second->GetId()); + } + + m_inMemoryModules.clear(); + context->SetRequireHook( + [this](lua_State* lua, ScriptContext* context, const char* module) -> int + { + return DefaultRequireHook(lua, context, module); + }); } void ScriptSystemComponent::UseInMemoryRequireHook(const InMemoryScriptModules& modules, ScriptContextId id) { - if (auto context = GetContext(id)) + auto context = GetContext(id); + if (nullptr == context) { - m_inMemoryModules = modules; - context->SetRequireHook(AZStd::bind(&ScriptSystemComponent::InMemoryRequireHook, this, AZStd::placeholders::_1, AZStd::placeholders::_2, AZStd::placeholders::_3)); + return; } + + m_inMemoryModules = modules; + context->SetRequireHook( + [this](lua_State* lua, ScriptContext* context, const char* module) -> int + { + return InMemoryRequireHook(lua, context, module); + }); } //========================================================================= diff --git a/Code/Framework/AzCore/AzCore/ScriptCanvas/ScriptCanvasOnDemandNames.cpp b/Code/Framework/AzCore/AzCore/ScriptCanvas/ScriptCanvasOnDemandNames.cpp index b0d141bba9..d0bea11432 100644 --- a/Code/Framework/AzCore/AzCore/ScriptCanvas/ScriptCanvasOnDemandNames.cpp +++ b/Code/Framework/AzCore/AzCore/ScriptCanvas/ScriptCanvasOnDemandNames.cpp @@ -28,133 +28,130 @@ #include #include -namespace AZ +namespace AZ::ScriptCanvasOnDemandReflection { - namespace ScriptCanvasOnDemandReflection + // the use of this might have to come at the end of on demand reflection...instead of instantly + // basically, it required that dependent classes are reflected first, I'm not sure they are yet. + AZStd::string GetPrettyNameForAZTypeId(AZ::BehaviorContext& context, AZ::Uuid typeId) { - // the use of this might have to come at the end of on demand reflection...instead of instantly - // basically, it required that dependent classes are reflected first, I'm not sure they are yet. - AZStd::string GetPrettyNameForAZTypeId(AZ::BehaviorContext& context, AZ::Uuid typeId) + // return capitalized versions of what we need, otherwise just the regular name + // then strip all the stuff + if (typeId == azrtti_typeid()) { - // return capitalized versions of what we need, otherwise just the regular name - // then strip all the stuff - if (typeId == azrtti_typeid()) + return "AABB"; + } + else if (typeId == azrtti_typeid()) + { + return "Boolean"; + } + else if (typeId == azrtti_typeid()) + { + return "Color"; + } + else if (typeId == azrtti_typeid()) + { + return "CRC"; + } + else if (typeId == azrtti_typeid()) + { + return "EntityId"; + } + else if (typeId == azrtti_typeid()) + { + return "Matrix3x3"; + } + else if (typeId == azrtti_typeid()) + { + return "Matrix4x4"; + } + else if (typeId == azrtti_typeid()) + { + return "Number:s8"; + } + else if (typeId == azrtti_typeid()) + { + return "Number:s16"; + } + else if (typeId == azrtti_typeid()) + { + return "Number:s32"; + } + else if (typeId == azrtti_typeid()) + { + return "Number:s64"; + } + else if (typeId == azrtti_typeid()) + { + return "Number:u8"; + } + else if (typeId == azrtti_typeid()) + { + return "Number:u16"; + } + else if (typeId == azrtti_typeid()) + { + return "Number:u32"; + } + else if (typeId == azrtti_typeid()) + { + return "Number:u64"; + } + else if (typeId == azrtti_typeid()) + { + return "Number:float"; + } + else if (typeId == azrtti_typeid()) + { + return "Number"; + } + else if (typeId == azrtti_typeid()) + { + return "OBB"; + } + else if (typeId == azrtti_typeid()) + { + return "Plane"; + } + else if (typeId == azrtti_typeid()) + { + return "Quaternion"; + } + else if (typeId == azrtti_typeid() || typeId == azrtti_typeid()) + { + return "String"; + } + else if (typeId == azrtti_typeid()) + { + return "Transform"; + } + else if (typeId == azrtti_typeid()) + { + return "Vector2"; + } + else if (typeId == azrtti_typeid()) + { + return "Vector3"; + } + else if (typeId == azrtti_typeid()) + { + return "Vector4"; + } + else + { + auto bcClassIter = context.m_typeToClassMap.find(typeId); + if (bcClassIter != context.m_typeToClassMap.end()) { - return "AABB"; - } - else if (typeId == azrtti_typeid()) - { - return "Boolean"; - } - else if (typeId == azrtti_typeid()) - { - return "Color"; - } - else if (typeId == azrtti_typeid()) - { - return "CRC"; - } - else if (typeId == azrtti_typeid()) - { - return "EntityId"; - } - else if (typeId == azrtti_typeid()) - { - return "Matrix3x3"; - } - else if (typeId == azrtti_typeid()) - { - return "Matrix4x4"; - } - else if (typeId == azrtti_typeid()) - { - return "Number:s8"; - } - else if (typeId == azrtti_typeid()) - { - return "Number:s16"; - } - else if (typeId == azrtti_typeid()) - { - return "Number:s32"; - } - else if (typeId == azrtti_typeid()) - { - return "Number:s64"; - } - else if (typeId == azrtti_typeid()) - { - return "Number:u8"; - } - else if (typeId == azrtti_typeid()) - { - return "Number:u16"; - } - else if (typeId == azrtti_typeid()) - { - return "Number:u32"; - } - else if (typeId == azrtti_typeid()) - { - return "Number:u64"; - } - else if (typeId == azrtti_typeid()) - { - return "Number:float"; - } - else if (typeId == azrtti_typeid()) - { - return "Number"; - } - else if (typeId == azrtti_typeid()) - { - return "OBB"; - } - else if (typeId == azrtti_typeid()) - { - return "Plane"; - } - else if (typeId == azrtti_typeid()) - { - return "Quaternion"; - } - else if (typeId == azrtti_typeid() || typeId == azrtti_typeid()) - { - return "String"; - } - else if (typeId == azrtti_typeid()) - { - return "Transform"; - } - else if (typeId == azrtti_typeid()) - { - return "Vector2"; - } - else if (typeId == azrtti_typeid()) - { - return "Vector3"; - } - else if (typeId == azrtti_typeid()) - { - return "Vector4"; + const AZ::BehaviorClass& bcClass = *(bcClassIter->second); + AZStd::string uglyName = bcClass.m_name; + AZ::StringFunc::Replace(uglyName, "AZStd::", "", true); + AZ::StringFunc::Replace(uglyName, "AZ::", "", true); + AZ::StringFunc::Replace(uglyName, "::", ".", true); + return uglyName; } else { - auto bcClassIter = context.m_typeToClassMap.find(typeId); - if (bcClassIter != context.m_typeToClassMap.end()) - { - const AZ::BehaviorClass& bcClass = *(bcClassIter->second); - AZStd::string uglyName = bcClass.m_name; - AZ::StringFunc::Replace(uglyName, "AZStd::", "", true); - AZ::StringFunc::Replace(uglyName, "AZ::", "", true); - AZ::StringFunc::Replace(uglyName, "::", ".", true); - return uglyName; - } - else - { - return "Invalid"; - } + return "Invalid"; } } - } // namespace ScriptCanvasOnDemandReflection -} // namespace AZ + } +} // namespace AZ::ScriptCanvasOnDemandReflection diff --git a/Code/Framework/AzCore/AzCore/Serialization/AZStdContainers.inl b/Code/Framework/AzCore/AzCore/Serialization/AZStdContainers.inl index bae79a6fe7..a633af22da 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/AZStdContainers.inl +++ b/Code/Framework/AzCore/AzCore/Serialization/AZStdContainers.inl @@ -54,12 +54,8 @@ namespace AZStd namespace AZ { - //template - //class ScriptProperty; - namespace Internal { - template void SetupClassElementFromType(SerializeContext::ClassElement& classElement) { @@ -86,15 +82,14 @@ namespace AZ { auto uuid = AzTypeInfo::Uuid(); - using ContainerType = AttributeContainerType; - classElement.m_attributes.emplace_back(AZ_CRC("EnumType", 0xb177e1b5), CreateModuleAttribute(AZStd::move(uuid))); + classElement.m_attributes.emplace_back(AZ_CRC("EnumType", 0xb177e1b5), CreateModuleAttribute(AZStd::move(uuid))); } } template AZStd::enable_if_t::value> InitializeDefaultIfPodType(T& t) { - t = {}; + t = T{}; } template @@ -648,7 +643,6 @@ namespace AZ // Register our key type within an lvalue to rvalue wrapper as an attribute AZ::TypeId uuid = azrtti_typeid(); - using ContainerType = AttributeContainerType; /** * This should technically bind the reference value from the GetCurrentSerializeContextModule() call @@ -658,7 +652,7 @@ namespace AZ */ m_classElement.m_attributes.set_allocator(AZStdFunctorAllocator([]() -> IAllocatorAllocate& { return GetCurrentSerializeContextModule().GetAllocator(); })); - m_classElement.m_attributes.emplace_back(AZ_CRC("KeyType", 0x15bc5303), CreateModuleAttribute(AZStd::move(uuid))); + m_classElement.m_attributes.emplace_back(AZ_CRC("KeyType", 0x15bc5303), CreateModuleAttribute(AZStd::move(uuid))); } // Reflect our wrapped key and value types to serializeContext so that may later be used diff --git a/Code/Framework/AzCore/AzCore/Serialization/DataOverlayProviderMsgs.cpp b/Code/Framework/AzCore/AzCore/Serialization/DataOverlayProviderMsgs.cpp index 37f4623301..58f86bf831 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/DataOverlayProviderMsgs.cpp +++ b/Code/Framework/AzCore/AzCore/Serialization/DataOverlayProviderMsgs.cpp @@ -19,8 +19,11 @@ namespace AZ nodeStack.push_back(m_dataContainer); SerializeContext::EnumerateInstanceCallContext callContext( - AZStd::bind(&DataOverlayTarget::ElementBegin, this, &nodeStack, AZStd::placeholders::_1, AZStd::placeholders::_2, AZStd::placeholders::_3), - AZStd::bind(&DataOverlayTarget::ElementEnd, this, &nodeStack), + [this, &nodeStack](void* instancePointer, const SerializeContext::ClassData* classData, const SerializeContext::ClassElement* classElement)->bool + { + return ElementBegin(&nodeStack, instancePointer, classData, classElement); + }, + [this, &nodeStack]()->bool { return ElementEnd(&nodeStack); }, m_sc, SerializeContext::ENUM_ACCESS_FOR_READ, m_errorLogger diff --git a/Code/Framework/AzCore/AzCore/Serialization/DataPatch.cpp b/Code/Framework/AzCore/AzCore/Serialization/DataPatch.cpp index 6f1635148c..d27a5005b4 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/DataPatch.cpp +++ b/Code/Framework/AzCore/AzCore/Serialization/DataPatch.cpp @@ -36,7 +36,7 @@ namespace AZ class DataNode { public: - typedef AZStd::list ChildDataNodes; + using ChildDataNodes = AZStd::list; DataNode() { @@ -148,25 +148,28 @@ namespace AZ m_root.Reset(); m_currentNode = nullptr; - if (m_context && rootClassPtr) + if (!m_context || !rootClassPtr) { - SerializeContext::EnumerateInstanceCallContext callContext( - AZStd::bind(&DataNodeTree::BeginNode, this, AZStd::placeholders::_1, AZStd::placeholders::_2, AZStd::placeholders::_3), - AZStd::bind(&DataNodeTree::EndNode, this), - m_context, - SerializeContext::ENUM_ACCESS_FOR_READ, - nullptr - ); - - m_context->EnumerateInstanceConst( - &callContext, - rootClassPtr, - rootClassId, - nullptr, - nullptr - ); + return; } + SerializeContext::EnumerateInstanceCallContext callContext( + [this](void* instancePointer, const SerializeContext::ClassData* classData, const SerializeContext::ClassElement* classElement)->bool + { + return BeginNode(instancePointer, classData, classElement); + }, + [this]()->bool { return EndNode(); }, + m_context, + SerializeContext::ENUM_ACCESS_FOR_READ, + nullptr + ); + m_context->EnumerateInstanceConst( + &callContext, + rootClassPtr, + rootClassId, + nullptr, + nullptr + ); m_currentNode = nullptr; } diff --git a/Code/Framework/AzCore/AzCore/Serialization/EditContext.cpp b/Code/Framework/AzCore/AzCore/Serialization/EditContext.cpp index d0c433df16..8a4688d748 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/EditContext.cpp +++ b/Code/Framework/AzCore/AzCore/Serialization/EditContext.cpp @@ -34,7 +34,7 @@ namespace AZ } classIt->ClearElements(); } - for (auto enumIt : m_enumData) + for (auto& enumIt : m_enumData) { enumIt.second.ClearAttributes(); } @@ -103,7 +103,7 @@ namespace AZ //========================================================================= void ElementData::ClearAttributes() { - for (auto attrib : m_attributes) + for (auto& attrib : m_attributes) { delete attrib.second; } diff --git a/Code/Framework/AzCore/AzCore/Serialization/Json/JsonDeserializer.cpp b/Code/Framework/AzCore/AzCore/Serialization/Json/JsonDeserializer.cpp index a741294544..4e80d9ba69 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/Json/JsonDeserializer.cpp +++ b/Code/Framework/AzCore/AzCore/Serialization/Json/JsonDeserializer.cpp @@ -759,6 +759,7 @@ namespace AZ else { typeIdResult.m_determination = JsonDeserializer::TypeIdDetermination::FailedToDetermine; + typeIdResult.m_typeId = Uuid::CreateNull(); } } else if (input.IsString()) @@ -768,6 +769,7 @@ namespace AZ else { typeIdResult.m_determination = JsonDeserializer::TypeIdDetermination::FailedToDetermine; + typeIdResult.m_typeId = Uuid::CreateNull(); } switch (typeIdResult.m_determination) diff --git a/Code/Framework/AzCore/AzCore/Serialization/Json/JsonSerializationResult.cpp b/Code/Framework/AzCore/AzCore/Serialization/Json/JsonSerializationResult.cpp index 822c1c43d5..16bad5a466 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/Json/JsonSerializationResult.cpp +++ b/Code/Framework/AzCore/AzCore/Serialization/Json/JsonSerializationResult.cpp @@ -10,265 +10,264 @@ #include #include -namespace AZ +namespace AZ::JsonSerializationResult::Internal { - namespace JsonSerializationResult + template + void AppendToString(AZ::JsonSerializationResult::ResultCode code, + StringType& target, AZStd::string_view path) { - namespace Internal + if (code.GetTask() == static_cast(0)) { - template - void AppendToString(AZ::JsonSerializationResult::ResultCode code, - StringType& target, AZStd::string_view path) - { - if (code.GetTask() == static_cast(0)) - { - target.append("The result code wasn't initialized"); - return; - } - - target.append("The operation "); - switch (code.GetProcessing()) - { - case Processing::Halted: - target.append("has halted during "); - break; - case Processing::Altered: - target.append("has taken an alternative approach for "); - break; - case Processing::PartialAlter: - target.append("has taken a partially alternative approach for "); - break; - case Processing::Completed: - target.append("has completed "); - break; - default: - target.append("has unknown processing status for "); - break; - } - - switch (code.GetTask()) - { - case Tasks::RetrieveInfo: - target.append("a retrieve info operation "); - break; - case Tasks::CreateDefault: - target.append("a create default operation "); - break; - case Tasks::Convert: - target.append("a convert operation "); - break; - case Tasks::ReadField: - target.append("a read field operation "); - break; - case Tasks::WriteValue: - target.append("a write value operation "); - break; - case Tasks::Merge: - target.append("a merge operation "); - break; - case Tasks::CreatePatch: - target.append("a create patch operation "); - break; - case Tasks::Import: - target.append("an import operation"); - break; - default: - target.append("an unknown operation "); - break; - } - - if (!path.empty()) - { - target.append("for '"); - target.append(path.begin(), path.end()); - target.append("' "); - } - - switch (code.GetOutcome()) - { - case Outcomes::Success: - target.append("which resulted in success"); - break; - case Outcomes::DefaultsUsed: - target.append("by using only default values"); - break; - case Outcomes::PartialDefaults: - target.append("by using one or more default values"); - break; - case Outcomes::Skipped: - target.append("because a field or value was skipped"); - break; - case Outcomes::PartialSkip: - target.append("because one or more fields or values were skipped"); - break; - case Outcomes::Unavailable: - target.append("because the target was unavailable"); - break; - case Outcomes::Unsupported: - target.append("because the action was unsupported"); - break; - case Outcomes::TypeMismatch: - target.append("because the source and target are unrelated types"); - break; - case Outcomes::TestFailed: - target.append("because a test against a value failed"); - break; - case Outcomes::Missing: - target.append("because a required field or value was missing"); - break; - case Outcomes::Invalid: - target.append("because a field or element has an invalid value"); - break; - case Outcomes::Unknown: - target.append("because information was missing"); - break; - case Outcomes::Catastrophic: - target.append("because a catastrophic issue was encountered"); - break; - default: - break; - } - } - } // namespace JsonSerializationResultInternal - - ResultCode::ResultCode(Tasks task) - : m_code(0) - { - m_options.m_task = task; + target.append("The result code wasn't initialized"); + return; } - ResultCode::ResultCode(uint32_t code) - : m_code(code) - {} - - ResultCode::ResultCode(Tasks task, Outcomes outcome) + target.append("The operation "); + switch (code.GetProcessing()) { - m_options.m_task = task; - switch (outcome) - { - case Outcomes::Success: // fall through - case Outcomes::Skipped: // fall through - case Outcomes::PartialSkip: // fall through - case Outcomes::DefaultsUsed: // fall through - case Outcomes::PartialDefaults: - m_options.m_processing = Processing::Completed; - break; - case Outcomes::Unavailable: // fall through - case Outcomes::Unsupported: - m_options.m_processing = Processing::Altered; - break; - case Outcomes::TypeMismatch: // fall through - case Outcomes::TestFailed: // fall through - case Outcomes::Missing: // fall through - case Outcomes::Invalid: // fall through - case Outcomes::Unknown: // fall through - case Outcomes::Catastrophic: // fall through - default: - m_options.m_processing = Processing::Halted; - break; - } - m_options.m_outcome = outcome; + case Processing::Halted: + target.append("has halted during "); + break; + case Processing::Altered: + target.append("has taken an alternative approach for "); + break; + case Processing::PartialAlter: + target.append("has taken a partially alternative approach for "); + break; + case Processing::Completed: + target.append("has completed "); + break; + default: + target.append("has unknown processing status for "); + break; } - bool ResultCode::HasDoneWork() const + switch (code.GetTask()) { - return m_options.m_outcome != static_cast(0); + case Tasks::RetrieveInfo: + target.append("a retrieve info operation "); + break; + case Tasks::CreateDefault: + target.append("a create default operation "); + break; + case Tasks::Convert: + target.append("a convert operation "); + break; + case Tasks::ReadField: + target.append("a read field operation "); + break; + case Tasks::WriteValue: + target.append("a write value operation "); + break; + case Tasks::Merge: + target.append("a merge operation "); + break; + case Tasks::CreatePatch: + target.append("a create patch operation "); + break; + case Tasks::Import: + target.append("an import operation"); + break; + default: + target.append("an unknown operation "); + break; } - ResultCode& ResultCode::Combine(ResultCode other) + if (!path.empty()) { - *this = Combine(*this, other); - return *this; + target.append("for '"); + target.append(path.begin(), path.end()); + target.append("' "); } - ResultCode& ResultCode::Combine(const Result& other) + switch (code.GetOutcome()) { - *this = Combine(*this, other.GetResultCode()); - return *this; + case Outcomes::Success: + target.append("which resulted in success"); + break; + case Outcomes::DefaultsUsed: + target.append("by using only default values"); + break; + case Outcomes::PartialDefaults: + target.append("by using one or more default values"); + break; + case Outcomes::Skipped: + target.append("because a field or value was skipped"); + break; + case Outcomes::PartialSkip: + target.append("because one or more fields or values were skipped"); + break; + case Outcomes::Unavailable: + target.append("because the target was unavailable"); + break; + case Outcomes::Unsupported: + target.append("because the action was unsupported"); + break; + case Outcomes::TypeMismatch: + target.append("because the source and target are unrelated types"); + break; + case Outcomes::TestFailed: + target.append("because a test against a value failed"); + break; + case Outcomes::Missing: + target.append("because a required field or value was missing"); + break; + case Outcomes::Invalid: + target.append("because a field or element has an invalid value"); + break; + case Outcomes::Unknown: + target.append("because information was missing"); + break; + case Outcomes::Catastrophic: + target.append("because a catastrophic issue was encountered"); + break; + default: + break; } + } +} // namespace AZ::JsonSerializationResult::Internal - ResultCode ResultCode::Combine(ResultCode lhs, ResultCode rhs) +namespace AZ::JsonSerializationResult +{ + + ResultCode::ResultCode(Tasks task) + : m_code(0) + { + m_options.m_task = task; + } + + ResultCode::ResultCode(uint32_t code) + : m_code(code) + {} + + ResultCode::ResultCode(Tasks task, Outcomes outcome) + { + m_options.m_task = task; + switch (outcome) { - ResultCode result = ResultCode(AZStd::max(lhs.m_code, rhs.m_code)); - - if ((lhs.m_options.m_outcome == Outcomes::Success && rhs.m_options.m_outcome == Outcomes::DefaultsUsed) || - (lhs.m_options.m_outcome == Outcomes::DefaultsUsed && rhs.m_options.m_outcome == Outcomes::Success)) - { - result.m_options.m_outcome = Outcomes::PartialDefaults; - } - else if ((lhs.m_options.m_outcome == Outcomes::Success && rhs.m_options.m_outcome == Outcomes::Skipped) || - (lhs.m_options.m_outcome == Outcomes::Skipped && rhs.m_options.m_outcome == Outcomes::Success)) - { - result.m_options.m_outcome = Outcomes::PartialSkip; - } - - if ((lhs.m_options.m_processing == Processing::Completed && rhs.m_options.m_processing == Processing::Altered) || - (lhs.m_options.m_processing == Processing::Altered && rhs.m_options.m_processing == Processing::Completed)) - { - result.m_options.m_processing = Processing::PartialAlter; - } - - return result; + case Outcomes::Success: // fall through + case Outcomes::Skipped: // fall through + case Outcomes::PartialSkip: // fall through + case Outcomes::DefaultsUsed: // fall through + case Outcomes::PartialDefaults: + m_options.m_processing = Processing::Completed; + break; + case Outcomes::Unavailable: // fall through + case Outcomes::Unsupported: + m_options.m_processing = Processing::Altered; + break; + case Outcomes::TypeMismatch: // fall through + case Outcomes::TestFailed: // fall through + case Outcomes::Missing: // fall through + case Outcomes::Invalid: // fall through + case Outcomes::Unknown: // fall through + case Outcomes::Catastrophic: // fall through + default: + m_options.m_processing = Processing::Halted; + break; } + m_options.m_outcome = outcome; + } - Tasks ResultCode::GetTask() const + bool ResultCode::HasDoneWork() const + { + return m_options.m_outcome != static_cast(0); + } + + ResultCode& ResultCode::Combine(ResultCode other) + { + *this = Combine(*this, other); + return *this; + } + + ResultCode& ResultCode::Combine(const Result& other) + { + *this = Combine(*this, other.GetResultCode()); + return *this; + } + + ResultCode ResultCode::Combine(ResultCode lhs, ResultCode rhs) + { + ResultCode result = ResultCode(AZStd::max(lhs.m_code, rhs.m_code)); + + if ((lhs.m_options.m_outcome == Outcomes::Success && rhs.m_options.m_outcome == Outcomes::DefaultsUsed) || + (lhs.m_options.m_outcome == Outcomes::DefaultsUsed && rhs.m_options.m_outcome == Outcomes::Success)) { - return m_options.m_task; + result.m_options.m_outcome = Outcomes::PartialDefaults; } - - Processing ResultCode::GetProcessing() const + else if ((lhs.m_options.m_outcome == Outcomes::Success && rhs.m_options.m_outcome == Outcomes::Skipped) || + (lhs.m_options.m_outcome == Outcomes::Skipped && rhs.m_options.m_outcome == Outcomes::Success)) { - return m_options.m_processing == static_cast(0) ? - Processing::Completed : m_options.m_processing; + result.m_options.m_outcome = Outcomes::PartialSkip; } - Outcomes ResultCode::GetOutcome() const + if ((lhs.m_options.m_processing == Processing::Completed && rhs.m_options.m_processing == Processing::Altered) || + (lhs.m_options.m_processing == Processing::Altered && rhs.m_options.m_processing == Processing::Completed)) { - return m_options.m_outcome == static_cast(0) ? - Outcomes::DefaultsUsed : m_options.m_outcome; + result.m_options.m_processing = Processing::PartialAlter; } - void ResultCode::AppendToString(AZ::OSString& target, AZStd::string_view path) const - { - Internal::AppendToString(*this, target, path); - } + return result; + } - void ResultCode::AppendToString(AZStd::string& target, AZStd::string_view path) const - { - Internal::AppendToString(*this, target, path); - } + Tasks ResultCode::GetTask() const + { + return m_options.m_task; + } - AZStd::string ResultCode::ToString(AZStd::string_view path) const - { - AZStd::string result; - AppendToString(result, path); - return result; - } + Processing ResultCode::GetProcessing() const + { + return m_options.m_processing == static_cast(0) ? + Processing::Completed : m_options.m_processing; + } - AZ::OSString ResultCode::ToOSString(AZStd::string_view path) const - { - AZ::OSString result; - AppendToString(result, path); - return result; - } + Outcomes ResultCode::GetOutcome() const + { + return m_options.m_outcome == static_cast(0) ? + Outcomes::DefaultsUsed : m_options.m_outcome; + } + + void ResultCode::AppendToString(AZ::OSString& target, AZStd::string_view path) const + { + Internal::AppendToString(*this, target, path); + } + + void ResultCode::AppendToString(AZStd::string& target, AZStd::string_view path) const + { + Internal::AppendToString(*this, target, path); + } + + AZStd::string ResultCode::ToString(AZStd::string_view path) const + { + AZStd::string result; + AppendToString(result, path); + return result; + } + + AZ::OSString ResultCode::ToOSString(AZStd::string_view path) const + { + AZ::OSString result; + AppendToString(result, path); + return result; + } - Result::Result(const JsonIssueCallback& callback, AZStd::string_view message, ResultCode result, AZStd::string_view path) - : m_result(callback(message, result, path)) - {} + Result::Result(const JsonIssueCallback& callback, AZStd::string_view message, ResultCode result, AZStd::string_view path) + : m_result(callback(message, result, path)) + {} - Result::Result(const JsonIssueCallback& callback, AZStd::string_view message, Tasks task, Outcomes outcome, AZStd::string_view path) - : m_result(callback(message, ResultCode(task, outcome), path)) - {} + Result::Result(const JsonIssueCallback& callback, AZStd::string_view message, Tasks task, Outcomes outcome, AZStd::string_view path) + : m_result(callback(message, ResultCode(task, outcome), path)) + {} - Result::operator ResultCode() const - { - return m_result; - } + Result::operator ResultCode() const + { + return m_result; + } - ResultCode Result::GetResultCode() const - { - return m_result; - } - } // namespace JsonSerializationResult -} // namespace AZ + ResultCode Result::GetResultCode() const + { + return m_result; + } + +} // namespace AZ::JsonSerializationResult diff --git a/Code/Framework/AzCore/AzCore/Serialization/Json/JsonUtils.cpp b/Code/Framework/AzCore/AzCore/Serialization/Json/JsonUtils.cpp index 1a4e7b3e80..6d7edb0716 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/Json/JsonUtils.cpp +++ b/Code/Framework/AzCore/AzCore/Serialization/Json/JsonUtils.cpp @@ -24,438 +24,435 @@ #include -namespace AZ +namespace AZ::JsonSerializationUtils { - namespace JsonSerializationUtils + static const char* FileTypeTag = "Type"; + static const char* FileType = "JsonSerialization"; + static const char* VersionTag = "Version"; + static const char* ClassNameTag = "ClassName"; + static const char* ClassDataTag = "ClassData"; + + AZ::Outcome WriteJsonString(const rapidjson::Document& document, AZStd::string& jsonText, WriteJsonSettings settings) { - static const char* FileTypeTag = "Type"; - static const char* FileType = "JsonSerialization"; - static const char* VersionTag = "Version"; - static const char* ClassNameTag = "ClassName"; - static const char* ClassDataTag = "ClassData"; + AZ::IO::ByteContainerStream stream{&jsonText}; + return WriteJsonStream(document, stream, settings); + } - AZ::Outcome WriteJsonString(const rapidjson::Document& document, AZStd::string& jsonText, WriteJsonSettings settings) + AZ::Outcome WriteJsonFile(const rapidjson::Document& document, AZStd::string_view filePath, WriteJsonSettings settings) + { + // Write the json into memory first and then write the file, rather than passing a file stream to rapidjson. + // This should avoid creating a large number of micro-writes to the file. + AZStd::string fileContent; + auto outcome = WriteJsonString(document, fileContent, settings); + if (!outcome.IsSuccess()) { - AZ::IO::ByteContainerStream stream{&jsonText}; - return WriteJsonStream(document, stream, settings); + return outcome; } - AZ::Outcome WriteJsonFile(const rapidjson::Document& document, AZStd::string_view filePath, WriteJsonSettings settings) - { - // Write the json into memory first and then write the file, rather than passing a file stream to rapidjson. - // This should avoid creating a large number of micro-writes to the file. - AZStd::string fileContent; - auto outcome = WriteJsonString(document, fileContent, settings); - if (!outcome.IsSuccess()) - { - return outcome; - } + return AZ::Utils::WriteFile(fileContent, filePath); + } - return AZ::Utils::WriteFile(fileContent, filePath); + AZ::Outcome WriteJsonStream(const rapidjson::Document& document, IO::GenericStream& stream, WriteJsonSettings settings) + { + AZ::IO::RapidJSONStreamWriter jsonStreamWriter(&stream); + + rapidjson::PrettyWriter writer(jsonStreamWriter); + + if (settings.m_maxDecimalPlaces >= 0) + { + writer.SetMaxDecimalPlaces(settings.m_maxDecimalPlaces); } - AZ::Outcome WriteJsonStream(const rapidjson::Document& document, IO::GenericStream& stream, WriteJsonSettings settings) + if (document.Accept(writer)) { - AZ::IO::RapidJSONStreamWriter jsonStreamWriter(&stream); + return AZ::Success(); + } + else + { + return AZ::Failure(AZStd::string{"Json Writer failed"}); + } + } - rapidjson::PrettyWriter writer(jsonStreamWriter); - - if (settings.m_maxDecimalPlaces >= 0) - { - writer.SetMaxDecimalPlaces(settings.m_maxDecimalPlaces); - } - - if (document.Accept(writer)) - { - return AZ::Success(); - } - else - { - return AZ::Failure(AZStd::string{"Json Writer failed"}); - } + AZ::Outcome SaveObjectToStreamByType(const void* objectPtr, const Uuid& classId, IO::GenericStream& stream, + const void* defaultObjectPtr, const JsonSerializerSettings* settings) + { + if (!stream.CanWrite()) + { + return AZ::Failure(AZStd::string("The GenericStream can't be written to")); } - AZ::Outcome SaveObjectToStreamByType(const void* objectPtr, const Uuid& classId, IO::GenericStream& stream, - const void* defaultObjectPtr, const JsonSerializerSettings* settings) + JsonSerializerSettings saveSettings; + if (settings) { - if (!stream.CanWrite()) - { - return AZ::Failure(AZStd::string("The GenericStream can't be written to")); - } + saveSettings = *settings; + } - JsonSerializerSettings saveSettings; - if (settings) - { - saveSettings = *settings; - } - - AZ::SerializeContext* serializeContext = saveSettings.m_serializeContext; + AZ::SerializeContext* serializeContext = saveSettings.m_serializeContext; + if (!serializeContext) + { + AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationBus::Events::GetSerializeContext); if (!serializeContext) { - AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationBus::Events::GetSerializeContext); - if (!serializeContext) - { - return AZ::Failure(AZStd::string::format("Need SerializeContext for saving")); - } - saveSettings.m_serializeContext = serializeContext; + return AZ::Failure(AZStd::string::format("Need SerializeContext for saving")); } - - rapidjson::Document jsonDocument; - jsonDocument.SetObject(); - jsonDocument.AddMember(rapidjson::StringRef(FileTypeTag), rapidjson::StringRef(FileType), jsonDocument.GetAllocator()); - - rapidjson::Value serializedObject; - - JsonSerializationResult::ResultCode jsonResult = JsonSerialization::Store(serializedObject, jsonDocument.GetAllocator(), - objectPtr, defaultObjectPtr, classId, saveSettings); - - if (jsonResult.GetProcessing() != JsonSerializationResult::Processing::Completed) - { - return AZ::Failure(jsonResult.ToString("")); - } - - const SerializeContext::ClassData* classData = serializeContext->FindClassData(classId); - - jsonDocument.AddMember(rapidjson::StringRef(VersionTag), 1, jsonDocument.GetAllocator()); - jsonDocument.AddMember(rapidjson::StringRef(ClassNameTag), rapidjson::StringRef(classData->m_name), jsonDocument.GetAllocator()); - jsonDocument.AddMember(rapidjson::StringRef(ClassDataTag), AZStd::move(serializedObject), jsonDocument.GetAllocator()); - - AZ::IO::RapidJSONStreamWriter jsonStreamWriter(&stream); - rapidjson::PrettyWriter writer(jsonStreamWriter); - bool jsonWriteResult = jsonDocument.Accept(writer); - if (!jsonWriteResult) - { - return AZ::Failure(AZStd::string::format("Unable to write class %s with json serialization format'", - classId.ToString().data())); - } - - return AZ::Success(); + saveSettings.m_serializeContext = serializeContext; } - AZ::Outcome SaveObjectToFileByType(const void* classPtr, const Uuid& classId, const AZStd::string& filePath, - const void* defaultClassPtr, const JsonSerializerSettings* settings) + rapidjson::Document jsonDocument; + jsonDocument.SetObject(); + jsonDocument.AddMember(rapidjson::StringRef(FileTypeTag), rapidjson::StringRef(FileType), jsonDocument.GetAllocator()); + + rapidjson::Value serializedObject; + + JsonSerializationResult::ResultCode jsonResult = JsonSerialization::Store(serializedObject, jsonDocument.GetAllocator(), + objectPtr, defaultObjectPtr, classId, saveSettings); + + if (jsonResult.GetProcessing() != JsonSerializationResult::Processing::Completed) { - AZStd::vector buffer; - buffer.reserve(1024); - AZ::IO::ByteContainerStream > byteStream(&buffer); - auto saveResult = SaveObjectToStreamByType(classPtr, classId, byteStream, defaultClassPtr, settings); - if (saveResult.IsSuccess()) - { - AZ::IO::FileIOStream outputFileStream; - if (!outputFileStream.Open(filePath.c_str(), AZ::IO::OpenMode::ModeWrite | AZ::IO::OpenMode::ModeCreatePath | AZ::IO::OpenMode::ModeText)) - { - return AZ::Failure(AZStd::string::format("Error opening file '%s' for writing", filePath.c_str())); - } - outputFileStream.Write(buffer.size(), buffer.data()); - } - return saveResult; + return AZ::Failure(jsonResult.ToString("")); } - // Helper function to check whether the load outcome was success (for loading json serialization file) - bool WasLoadSuccess(JsonSerializationResult::Outcomes outcome) - { - return (outcome == JsonSerializationResult::Outcomes::Success - || outcome == JsonSerializationResult::Outcomes::DefaultsUsed - || outcome == JsonSerializationResult::Outcomes::PartialDefaults); - } - - AZ::Outcome PrepareDeserializerSettings(const JsonDeserializerSettings* inputSettings, JsonDeserializerSettings& returnSettings - , AZStd::string& deserializeError) - { - if (inputSettings) - { - returnSettings = *inputSettings; - } + const SerializeContext::ClassData* classData = serializeContext->FindClassData(classId); + jsonDocument.AddMember(rapidjson::StringRef(VersionTag), 1, jsonDocument.GetAllocator()); + jsonDocument.AddMember(rapidjson::StringRef(ClassNameTag), rapidjson::StringRef(classData->m_name), jsonDocument.GetAllocator()); + jsonDocument.AddMember(rapidjson::StringRef(ClassDataTag), AZStd::move(serializedObject), jsonDocument.GetAllocator()); + + AZ::IO::RapidJSONStreamWriter jsonStreamWriter(&stream); + rapidjson::PrettyWriter writer(jsonStreamWriter); + bool jsonWriteResult = jsonDocument.Accept(writer); + if (!jsonWriteResult) + { + return AZ::Failure(AZStd::string::format("Unable to write class %s with json serialization format'", + classId.ToString().data())); + } + + return AZ::Success(); + } + + AZ::Outcome SaveObjectToFileByType(const void* classPtr, const Uuid& classId, const AZStd::string& filePath, + const void* defaultClassPtr, const JsonSerializerSettings* settings) + { + AZStd::vector buffer; + buffer.reserve(1024); + AZ::IO::ByteContainerStream > byteStream(&buffer); + auto saveResult = SaveObjectToStreamByType(classPtr, classId, byteStream, defaultClassPtr, settings); + if (saveResult.IsSuccess()) + { + AZ::IO::FileIOStream outputFileStream; + if (!outputFileStream.Open(filePath.c_str(), AZ::IO::OpenMode::ModeWrite | AZ::IO::OpenMode::ModeCreatePath | AZ::IO::OpenMode::ModeText)) + { + return AZ::Failure(AZStd::string::format("Error opening file '%s' for writing", filePath.c_str())); + } + outputFileStream.Write(buffer.size(), buffer.data()); + } + return saveResult; + } + + // Helper function to check whether the load outcome was success (for loading json serialization file) + bool WasLoadSuccess(JsonSerializationResult::Outcomes outcome) + { + return (outcome == JsonSerializationResult::Outcomes::Success + || outcome == JsonSerializationResult::Outcomes::DefaultsUsed + || outcome == JsonSerializationResult::Outcomes::PartialDefaults); + } + + AZ::Outcome PrepareDeserializerSettings(const JsonDeserializerSettings* inputSettings, JsonDeserializerSettings& returnSettings + , AZStd::string& deserializeError) + { + if (inputSettings) + { + returnSettings = *inputSettings; + } + + if (!returnSettings.m_serializeContext) + { + AZ::ComponentApplicationBus::BroadcastResult(returnSettings.m_serializeContext, &AZ::ComponentApplicationBus::Events::GetSerializeContext); if (!returnSettings.m_serializeContext) { - AZ::ComponentApplicationBus::BroadcastResult(returnSettings.m_serializeContext, &AZ::ComponentApplicationBus::Events::GetSerializeContext); - if (!returnSettings.m_serializeContext) + return AZ::Failure(AZStd::string("Need SerializeContext for loading")); + } + } + + // Report unused data field as error by default + auto reporting = returnSettings.m_reporting; + auto issueReportingCallback = [&deserializeError, reporting](AZStd::string_view message, JsonSerializationResult::ResultCode result, AZStd::string_view target) -> JsonSerializationResult::ResultCode + { + using namespace JsonSerializationResult; + + if (!WasLoadSuccess(result.GetOutcome())) + { + // This if is a hack around fault in the JSON serialization system + // Jira: LY-106587 + if (message != "No part of the string could be interpreted as a uuid.") { - return AZ::Failure(AZStd::string("Need SerializeContext for loading")); + deserializeError.append(message); + deserializeError.append(AZStd::string::format(" '%s' \n", target.data())); } } - // Report unused data field as error by default - auto reporting = returnSettings.m_reporting; - auto issueReportingCallback = [&deserializeError, reporting](AZStd::string_view message, JsonSerializationResult::ResultCode result, AZStd::string_view target) -> JsonSerializationResult::ResultCode + if (reporting) { - using namespace JsonSerializationResult; + result = reporting(message, result, target); + } - if (!WasLoadSuccess(result.GetOutcome())) - { - // This if is a hack around fault in the JSON serialization system - // Jira: LY-106587 - if (message != "No part of the string could be interpreted as a uuid.") - { - deserializeError.append(message); - deserializeError.append(AZStd::string::format(" '%s' \n", target.data())); - } - } + return result; + }; - if (reporting) - { - result = reporting(message, result, target); - } + returnSettings.m_reporting = issueReportingCallback; - return result; - }; + return AZ::Success(); + } - returnSettings.m_reporting = issueReportingCallback; - return AZ::Success(); + AZ::Outcome ReadJsonString(AZStd::string_view jsonText) + { + if (jsonText.empty()) + { + return AZ::Failure(AZStd::string("Failed to parse JSON: input string is empty.")); } - - AZ::Outcome ReadJsonString(AZStd::string_view jsonText) + rapidjson::Document jsonDocument; + jsonDocument.Parse(jsonText.data(), jsonText.size()); + if (jsonDocument.HasParseError()) { - if (jsonText.empty()) + size_t lineNumber = 1; + + const size_t errorOffset = jsonDocument.GetErrorOffset(); + for (size_t searchOffset = jsonText.find('\n'); + searchOffset < errorOffset && searchOffset < AZStd::string::npos; + searchOffset = jsonText.find('\n', searchOffset + 1)) { - return AZ::Failure(AZStd::string("Failed to parse JSON: input string is empty.")); + lineNumber++; } - rapidjson::Document jsonDocument; - jsonDocument.Parse(jsonText.data(), jsonText.size()); - if (jsonDocument.HasParseError()) - { - size_t lineNumber = 1; + return AZ::Failure(AZStd::string::format("JSON parse error at line %zu: %s", lineNumber, rapidjson::GetParseError_En(jsonDocument.GetParseError()))); + } + else + { + return AZ::Success(AZStd::move(jsonDocument)); + } + } - const size_t errorOffset = jsonDocument.GetErrorOffset(); - for (size_t searchOffset = jsonText.find('\n'); - searchOffset < errorOffset && searchOffset < AZStd::string::npos; - searchOffset = jsonText.find('\n', searchOffset + 1)) - { - lineNumber++; - } - - return AZ::Failure(AZStd::string::format("JSON parse error at line %zu: %s", lineNumber, rapidjson::GetParseError_En(jsonDocument.GetParseError()))); - } - else - { - return AZ::Success(AZStd::move(jsonDocument)); - } + AZ::Outcome ReadJsonStream(IO::GenericStream& stream) + { + IO::SizeType length = stream.GetLength(); + + AZStd::vector memoryBuffer; + memoryBuffer.resize_no_construct(static_cast::size_type>(static_cast::size_type>(length) + 1)); + + IO::SizeType bytesRead = stream.Read(length, memoryBuffer.data()); + if (bytesRead != length) + { + return AZ::Failure(AZStd::string{"Cannot to read input stream."}); } - AZ::Outcome ReadJsonStream(IO::GenericStream& stream) + memoryBuffer.back() = 0; + + return ReadJsonString(AZStd::string_view{memoryBuffer.data(), memoryBuffer.size()}); + } + + AZ::Outcome ReadJsonFile(AZStd::string_view filePath, size_t maxFileSize) + { + // Read into memory first and then parse the json, rather than passing a file stream to rapidjson. + // This should avoid creating a large number of micro-reads from the file. + + auto readResult = AZ::Utils::ReadFile(filePath, maxFileSize); + if(!readResult.IsSuccess()) { - IO::SizeType length = stream.GetLength(); - - AZStd::vector memoryBuffer; - memoryBuffer.resize_no_construct(static_cast::size_type>(static_cast::size_type>(length) + 1)); - - IO::SizeType bytesRead = stream.Read(length, memoryBuffer.data()); - if (bytesRead != length) - { - return AZ::Failure(AZStd::string{"Cannot to read input stream."}); - } - - memoryBuffer.back() = 0; - - return ReadJsonString(AZStd::string_view{memoryBuffer.data(), memoryBuffer.size()}); + return AZ::Failure(readResult.GetError()); } - AZ::Outcome ReadJsonFile(AZStd::string_view filePath, size_t maxFileSize) + AZStd::string jsonContent = readResult.TakeValue(); + + auto result = ReadJsonString(jsonContent); + if (!result.IsSuccess()) { - // Read into memory first and then parse the json, rather than passing a file stream to rapidjson. - // This should avoid creating a large number of micro-reads from the file. + return AZ::Failure(AZStd::string::format("Failed to load '%.*s'. %s", AZ_STRING_ARG(filePath), result.GetError().c_str())); + } + else + { + return result; + } + } - auto readResult = AZ::Utils::ReadFile(filePath, maxFileSize); - if(!readResult.IsSuccess()) - { - return AZ::Failure(readResult.GetError()); - } - - AZStd::string jsonContent = readResult.TakeValue(); - - auto result = ReadJsonString(jsonContent); - if (!result.IsSuccess()) - { - return AZ::Failure(AZStd::string::format("Failed to load '%.*s'. %s", AZ_STRING_ARG(filePath), result.GetError().c_str())); - } - else - { - return result; - } + // Helper function to validate the JSON is structured with the standard header for a generic class + AZ::Outcome ValidateJsonClassHeader(const rapidjson::Document& jsonDocument) + { + auto typeItr = jsonDocument.FindMember(FileTypeTag); + if (typeItr == jsonDocument.MemberEnd() || !typeItr->value.IsString() || azstricmp(typeItr->value.GetString(), FileType) != 0) + { + return AZ::Failure(AZStd::string::format("Not a valid JsonSerialization file")); } - // Helper function to validate the JSON is structured with the standard header for a generic class - AZ::Outcome ValidateJsonClassHeader(const rapidjson::Document& jsonDocument) + auto nameItr = jsonDocument.FindMember(ClassNameTag); + if (nameItr == jsonDocument.MemberEnd() || !nameItr->value.IsString()) { - auto typeItr = jsonDocument.FindMember(FileTypeTag); - if (typeItr == jsonDocument.MemberEnd() || !typeItr->value.IsString() || azstricmp(typeItr->value.GetString(), FileType) != 0) - { - return AZ::Failure(AZStd::string::format("Not a valid JsonSerialization file")); - } - - auto nameItr = jsonDocument.FindMember(ClassNameTag); - if (nameItr == jsonDocument.MemberEnd() || !nameItr->value.IsString()) - { - return AZ::Failure(AZStd::string::format("File should contain ClassName")); - } - - auto dataItr = jsonDocument.FindMember(ClassDataTag); - // data can be empty but it should be an object - if (dataItr != jsonDocument.MemberEnd() && !dataItr->value.IsObject()) - { - return AZ::Failure(AZStd::string::format("ClassData should be an object")); - } - - return AZ::Success(); + return AZ::Failure(AZStd::string::format("File should contain ClassName")); } - AZ::Outcome LoadObjectFromStringByType(void* objectToLoad, const Uuid& classId, AZStd::string_view stream, - const JsonDeserializerSettings* settings) + auto dataItr = jsonDocument.FindMember(ClassDataTag); + // data can be empty but it should be an object + if (dataItr != jsonDocument.MemberEnd() && !dataItr->value.IsObject()) { - JsonDeserializerSettings loadSettings; - AZStd::string deserializeErrors; - auto prepare = PrepareDeserializerSettings(settings, loadSettings, deserializeErrors); - if (!prepare.IsSuccess()) - { - return AZ::Failure(prepare.GetError()); - } + return AZ::Failure(AZStd::string::format("ClassData should be an object")); + } - auto parseResult = ReadJsonString(stream); - if (!parseResult.IsSuccess()) - { - return AZ::Failure(parseResult.GetError()); - } + return AZ::Success(); + } - const rapidjson::Document& jsonDocument = parseResult.GetValue(); + AZ::Outcome LoadObjectFromStringByType(void* objectToLoad, const Uuid& classId, AZStd::string_view stream, + const JsonDeserializerSettings* settings) + { + JsonDeserializerSettings loadSettings; + AZStd::string deserializeErrors; + auto prepare = PrepareDeserializerSettings(settings, loadSettings, deserializeErrors); + if (!prepare.IsSuccess()) + { + return AZ::Failure(prepare.GetError()); + } - auto validateResult = ValidateJsonClassHeader(jsonDocument); - if (!validateResult.IsSuccess()) - { - return AZ::Failure(validateResult.GetError()); - } + auto parseResult = ReadJsonString(stream); + if (!parseResult.IsSuccess()) + { + return AZ::Failure(parseResult.GetError()); + } - const char* className = jsonDocument.FindMember(ClassNameTag)->value.GetString(); + const rapidjson::Document& jsonDocument = parseResult.GetValue(); - // validate class name - auto classData = loadSettings.m_serializeContext->FindClassData(classId); - if (!classData) - { - return AZ::Failure(AZStd::string::format("Try to load class from Id %s", classId.ToString().c_str())); - } + auto validateResult = ValidateJsonClassHeader(jsonDocument); + if (!validateResult.IsSuccess()) + { + return AZ::Failure(validateResult.GetError()); + } - if (azstricmp(classData->m_name, className) != 0) - { - return AZ::Failure(AZStd::string::format("Try to load class %s from class %s data", classData->m_name, className)); - } + const char* className = jsonDocument.FindMember(ClassNameTag)->value.GetString(); - JsonSerializationResult::ResultCode result = JsonSerialization::Load(objectToLoad, classId, jsonDocument.FindMember(ClassDataTag)->value, loadSettings); + // validate class name + auto classData = loadSettings.m_serializeContext->FindClassData(classId); + if (!classData) + { + return AZ::Failure(AZStd::string::format("Try to load class from Id %s", classId.ToString().c_str())); + } + + if (azstricmp(classData->m_name, className) != 0) + { + return AZ::Failure(AZStd::string::format("Try to load class %s from class %s data", classData->m_name, className)); + } + + JsonSerializationResult::ResultCode result = JsonSerialization::Load(objectToLoad, classId, jsonDocument.FindMember(ClassDataTag)->value, loadSettings); + + if (!WasLoadSuccess(result.GetOutcome()) || !deserializeErrors.empty()) + { + return AZ::Failure(deserializeErrors); + } + + return AZ::Success(); + } + + AZ::Outcome LoadObjectFromStreamByType(void* objectToLoad, const Uuid& classId, IO::GenericStream& stream, + const JsonDeserializerSettings* settings) + { + JsonDeserializerSettings loadSettings; + AZStd::string deserializeErrors; + auto prepare = PrepareDeserializerSettings(settings, loadSettings, deserializeErrors); + if (!prepare.IsSuccess()) + { + return AZ::Failure(prepare.GetError()); + } + + auto parseResult = ReadJsonStream(stream); + if (!parseResult.IsSuccess()) + { + return AZ::Failure(parseResult.GetError()); + } + + const rapidjson::Document& jsonDocument = parseResult.GetValue(); + + auto validateResult = ValidateJsonClassHeader(jsonDocument); + if (!validateResult.IsSuccess()) + { + return AZ::Failure(validateResult.GetError()); + } + + const char* className = jsonDocument.FindMember(ClassNameTag)->value.GetString(); + + // validate class name + auto classData = loadSettings.m_serializeContext->FindClassData(classId); + if (!classData) + { + return AZ::Failure(AZStd::string::format("Try to load class from Id %s", classId.ToString().c_str())); + } + + if (azstricmp(classData->m_name, className) != 0) + { + return AZ::Failure(AZStd::string::format("Try to load class %s from class %s data", classData->m_name, className)); + } + + JsonSerializationResult::ResultCode result = JsonSerialization::Load(objectToLoad, classId, jsonDocument.FindMember(ClassDataTag)->value, loadSettings); + + if (!WasLoadSuccess(result.GetOutcome()) || !deserializeErrors.empty()) + { + return AZ::Failure(deserializeErrors); + } + + return AZ::Success(); + } + + AZ::Outcome LoadAnyObjectFromStream(IO::GenericStream& stream, const JsonDeserializerSettings* settings) + { + JsonDeserializerSettings loadSettings; + AZStd::string deserializeErrors; + auto prepare = PrepareDeserializerSettings(settings, loadSettings, deserializeErrors); + if (!prepare.IsSuccess()) + { + return AZ::Failure(prepare.GetError()); + } + + auto parseResult = ReadJsonStream(stream); + if (!parseResult.IsSuccess()) + { + return AZ::Failure(parseResult.GetError()); + } + + const rapidjson::Document& jsonDocument = parseResult.GetValue(); + + auto validateResult = ValidateJsonClassHeader(jsonDocument); + if (!parseResult.IsSuccess()) + { + return AZ::Failure(parseResult.GetError()); + } + + const char* className = jsonDocument.FindMember(ClassNameTag)->value.GetString(); + AZStd::vector ids = loadSettings.m_serializeContext->FindClassId(AZ::Crc32(className)); + + // Load with first found class id + if (ids.size() >= 1) + { + auto classId = ids[0]; + AZStd::any anyData = loadSettings.m_serializeContext->CreateAny(classId); + auto& objectData = jsonDocument.FindMember(ClassDataTag)->value; + JsonSerializationResult::ResultCode result = JsonSerialization::Load(AZStd::any_cast(&anyData), classId, objectData, loadSettings); if (!WasLoadSuccess(result.GetOutcome()) || !deserializeErrors.empty()) { return AZ::Failure(deserializeErrors); } - return AZ::Success(); + return AZ::Success(anyData); } - AZ::Outcome LoadObjectFromStreamByType(void* objectToLoad, const Uuid& classId, IO::GenericStream& stream, - const JsonDeserializerSettings* settings) + return AZ::Failure(AZStd::string::format("Can't find serialize context for class %s", className)); + } + + AZ::Outcome LoadAnyObjectFromFile(const AZStd::string& filePath, const JsonDeserializerSettings* settings) + { + AZ::IO::FileIOStream inputFileStream; + if (!inputFileStream.Open(filePath.c_str(), AZ::IO::OpenMode::ModeRead | AZ::IO::OpenMode::ModeText)) { - JsonDeserializerSettings loadSettings; - AZStd::string deserializeErrors; - auto prepare = PrepareDeserializerSettings(settings, loadSettings, deserializeErrors); - if (!prepare.IsSuccess()) - { - return AZ::Failure(prepare.GetError()); - } - - auto parseResult = ReadJsonStream(stream); - if (!parseResult.IsSuccess()) - { - return AZ::Failure(parseResult.GetError()); - } - - const rapidjson::Document& jsonDocument = parseResult.GetValue(); - - auto validateResult = ValidateJsonClassHeader(jsonDocument); - if (!validateResult.IsSuccess()) - { - return AZ::Failure(validateResult.GetError()); - } - - const char* className = jsonDocument.FindMember(ClassNameTag)->value.GetString(); - - // validate class name - auto classData = loadSettings.m_serializeContext->FindClassData(classId); - if (!classData) - { - return AZ::Failure(AZStd::string::format("Try to load class from Id %s", classId.ToString().c_str())); - } - - if (azstricmp(classData->m_name, className) != 0) - { - return AZ::Failure(AZStd::string::format("Try to load class %s from class %s data", classData->m_name, className)); - } - - JsonSerializationResult::ResultCode result = JsonSerialization::Load(objectToLoad, classId, jsonDocument.FindMember(ClassDataTag)->value, loadSettings); - - if (!WasLoadSuccess(result.GetOutcome()) || !deserializeErrors.empty()) - { - return AZ::Failure(deserializeErrors); - } - - return AZ::Success(); - } - - AZ::Outcome LoadAnyObjectFromStream(IO::GenericStream& stream, const JsonDeserializerSettings* settings) - { - JsonDeserializerSettings loadSettings; - AZStd::string deserializeErrors; - auto prepare = PrepareDeserializerSettings(settings, loadSettings, deserializeErrors); - if (!prepare.IsSuccess()) - { - return AZ::Failure(prepare.GetError()); - } - - auto parseResult = ReadJsonStream(stream); - if (!parseResult.IsSuccess()) - { - return AZ::Failure(parseResult.GetError()); - } - - const rapidjson::Document& jsonDocument = parseResult.GetValue(); - - auto validateResult = ValidateJsonClassHeader(jsonDocument); - if (!parseResult.IsSuccess()) - { - return AZ::Failure(parseResult.GetError()); - } - - const char* className = jsonDocument.FindMember(ClassNameTag)->value.GetString(); - AZStd::vector ids = loadSettings.m_serializeContext->FindClassId(AZ::Crc32(className)); - - // Load with first found class id - if (ids.size() >= 1) - { - auto classId = ids[0]; - AZStd::any anyData = loadSettings.m_serializeContext->CreateAny(classId); - auto& objectData = jsonDocument.FindMember(ClassDataTag)->value; - JsonSerializationResult::ResultCode result = JsonSerialization::Load(AZStd::any_cast(&anyData), classId, objectData, loadSettings); - - if (!WasLoadSuccess(result.GetOutcome()) || !deserializeErrors.empty()) - { - return AZ::Failure(deserializeErrors); - } - - return AZ::Success(anyData); - } - - return AZ::Failure(AZStd::string::format("Can't find serialize context for class %s", className)); + return AZ::Failure(AZStd::string::format("Error opening file '%s' for reading", filePath.c_str())); } + return LoadAnyObjectFromStream(inputFileStream, settings); + } - AZ::Outcome LoadAnyObjectFromFile(const AZStd::string& filePath, const JsonDeserializerSettings* settings) - { - AZ::IO::FileIOStream inputFileStream; - if (!inputFileStream.Open(filePath.c_str(), AZ::IO::OpenMode::ModeRead | AZ::IO::OpenMode::ModeText)) - { - return AZ::Failure(AZStd::string::format("Error opening file '%s' for reading", filePath.c_str())); - } - return LoadAnyObjectFromStream(inputFileStream, settings); - } - - } // namespace JsonSerializationUtils -} // namespace AZ +} // namespace AZ::JsonSerializationUtils diff --git a/Code/Framework/AzCore/AzCore/Serialization/ObjectStream.cpp b/Code/Framework/AzCore/AzCore/Serialization/ObjectStream.cpp index 746c80f3ea..ac44ac150c 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/ObjectStream.cpp +++ b/Code/Framework/AzCore/AzCore/Serialization/ObjectStream.cpp @@ -1050,7 +1050,7 @@ namespace AZ } m_xmlNode = next; - Uuid specializedId; + Uuid specializedId = Uuid::CreateNull(); // now parse the node rapidxml::xml_attribute* attr = m_xmlNode->first_attribute(); while (attr) @@ -1643,12 +1643,15 @@ namespace AZ m_writeElementResultStack.push_back(WriteElement(ptr, classData, classElement)); return m_writeElementResultStack.back(); }; - auto closeElementCB = [this, classData]() + auto closeElementCB = [this, classTypeId = classData->m_typeId]() { if (m_writeElementResultStack.empty()) { - AZ_UNUSED(classData); // Prevent unused warning in release builds - AZ_Error("Serialize", false, "CloseElement is attempted to be called without a corresponding WriteElement when writing class %s", classData->m_name); + // ClassData could be dangling pointer if it was unreflected by the ObjectStreamWriteOverrideCB + // So use the classTypeId instead + AZ_UNUSED(classTypeId); + AZ_Error("Serialize", false, "CloseElement is attempted to be called without a corresponding WriteElement when writing class %s", + classTypeId.ToString>().c_str()); return true; } if (m_writeElementResultStack.back()) @@ -1665,16 +1668,14 @@ namespace AZ SerializeContext::ENUM_ACCESS_FOR_READ, &m_errorLogger ); - ObjectStreamWriteOverrideCB writeCB; - if (objectStreamWriteOverrideCB.Read(writeCB)) + if (objectStreamWriteOverrideCB.Invoke(callContext, objectPtr, *classData, classElement)) { - writeCB(callContext, objectPtr, *classData, classElement); return false; } else { auto objectStreamError = AZStd::string::format("Unable to invoke ObjectStream Write Element Override for class element %s of class data %s", - classElement->m_name ? classElement->m_name : "", classData->m_name); + classElement && classElement->m_name ? classElement->m_name : "", classData->m_name); m_errorLogger.ReportError(objectStreamError.c_str()); } } diff --git a/Code/Framework/AzCore/AzCore/Serialization/SerializationUtils.cpp b/Code/Framework/AzCore/AzCore/Serialization/SerializationUtils.cpp index 37eacd940e..8439ff8e2c 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/SerializationUtils.cpp +++ b/Code/Framework/AzCore/AzCore/Serialization/SerializationUtils.cpp @@ -18,502 +18,499 @@ #include -namespace AZ +namespace AZ::Utils { - namespace Utils + bool LoadObjectFromStreamInPlace(IO::GenericStream& stream, AZ::SerializeContext* context, const SerializeContext::ClassData* objectClassData, void* targetPointer, const FilterDescriptor& filterDesc) { - bool LoadObjectFromStreamInPlace(IO::GenericStream& stream, AZ::SerializeContext* context, const SerializeContext::ClassData* objectClassData, void* targetPointer, const FilterDescriptor& filterDesc) + AZ_PROFILE_FUNCTION(AzCore); + + AZ_Assert(objectClassData, "Class data is required."); + + if (!context) { - AZ_PROFILE_FUNCTION(AzCore); - - AZ_Assert(objectClassData, "Class data is required."); - - if (!context) - { - EBUS_EVENT_RESULT(context, ComponentApplicationBus, GetSerializeContext); - AZ_Assert(context, "No serialize context"); - } - - if (!context) - { - return false; - } - - AZ_Assert(targetPointer, "You must provide a target pointer"); - - bool foundSuccess = false; - using CreationCallback = AZStd::function; - auto handler = [&targetPointer, objectClassData, &foundSuccess](void** instance, const SerializeContext::ClassData** classData, const Uuid& classId, SerializeContext* context) - { - void* convertibleInstance{}; - if (objectClassData->ConvertFromType(convertibleInstance, classId, targetPointer, *context)) - { - foundSuccess = true; - if (instance) - { - // The ObjectStream will ask us for the address of the target to load into, so provide it. - *instance = convertibleInstance; - } - if (classData) - { - // The ObjectStream will ask us for the class data of the target being loaded into, so provide it if needed. - // This allows us to load directly into a generic object (templated containers, strings, etc). - *classData = objectClassData; - } - } - }; - bool readSuccess = ObjectStream::LoadBlocking(&stream, *context, ObjectStream::ClassReadyCB(), filterDesc, CreationCallback(handler, AZ::OSStdAllocator())); - - AZ_Warning("Serialization", readSuccess, "LoadObjectFromStreamInPlace: Stream did not deserialize correctly"); - AZ_Warning("Serialization", foundSuccess, "LoadObjectFromStreamInPlace: Did not find the expected type in the stream"); - - return readSuccess && foundSuccess; + EBUS_EVENT_RESULT(context, ComponentApplicationBus, GetSerializeContext); + AZ_Assert(context, "No serialize context"); } - bool LoadObjectFromStreamInPlace(IO::GenericStream& stream, AZ::SerializeContext* context, const Uuid& targetClassId, void* targetPointer, const FilterDescriptor& filterDesc) + if (!context) { - AZ_PROFILE_FUNCTION(AzCore); - - if (!context) - { - EBUS_EVENT_RESULT(context, ComponentApplicationBus, GetSerializeContext); - AZ_Assert(context, "No serialize context"); - } - - if (!context) - { - return false; - } - - const SerializeContext::ClassData* classData = context->FindClassData(targetClassId); - if (!classData) - { - AZ_Error("Serialization", false, - "Unable to locate class data for uuid \"%s\". This object cannot be serialized as a root element. " - "Make sure the Uuid is valid, or if this is a generic type, use the override that takes a ClassData pointer instead.", - targetClassId.ToString().c_str()); - return false; - } - - return LoadObjectFromStreamInPlace(stream, context, classData, targetPointer, filterDesc); - } - - bool LoadObjectFromFileInPlace(const AZStd::string& filePath, const Uuid& targetClassId, void* destination, AZ::SerializeContext* context /*= nullptr*/, const FilterDescriptor& filterDesc /*= FilterDescriptor()*/) - { - AZ::IO::FileIOStream fileStream; - if (!fileStream.Open(filePath.c_str(), IO::OpenMode::ModeRead | IO::OpenMode::ModeBinary)) - { - return false; - } - - return LoadObjectFromStreamInPlace(fileStream, context, targetClassId, destination, filterDesc); - } - - void* LoadObjectFromStream(IO::GenericStream& stream, AZ::SerializeContext* context, const Uuid* targetClassId, const FilterDescriptor& filterDesc) - { - AZ_PROFILE_FUNCTION(AzCore); - - if (!context) - { - EBUS_EVENT_RESULT(context, ComponentApplicationBus, GetSerializeContext); - AZ_Assert(context, "No serialize context"); - } - - if (!context) - { - return nullptr; - } - - void* loadedInstance = nullptr; - bool success = ObjectStream::LoadBlocking(&stream, *context, - [&loadedInstance, targetClassId](void* classPtr, const Uuid& classId, const SerializeContext* serializeContext) - { - if (targetClassId) - { - void* instance = serializeContext->DownCast(classPtr, classId, *targetClassId); - - // Given a valid object - if (instance) - { - AZ_Assert(!loadedInstance, "loadedInstance must be NULL, otherwise we are being invoked with multiple valid objects"); - loadedInstance = instance; - return; - } - } - else - { - if (!loadedInstance) - { - loadedInstance = classPtr; - return; - } - } - - auto classData = serializeContext->FindClassData(classId); - if (classData && classData->m_factory) - { - classData->m_factory->Destroy(classPtr); - } - }, - filterDesc, - ObjectStream::InplaceLoadRootInfoCB() - ); - - if (!success) - { - return nullptr; - } - - return loadedInstance; - } - - void* LoadObjectFromFile(const AZStd::string& filePath, const Uuid& targetClassId, SerializeContext* context, const FilterDescriptor& filterDesc, int /*platformFlags*/) - { - AZ_PROFILE_FUNCTION(AzCore); - - AZ::IO::FileIOStream fileStream; - if (!fileStream.Open(filePath.c_str(), IO::OpenMode::ModeRead | IO::OpenMode::ModeBinary)) - { - return nullptr; - } - - void* loadedObject = LoadObjectFromStream(fileStream, context, &targetClassId, filterDesc); - return loadedObject; - } - - bool SaveObjectToStream(IO::GenericStream& stream, DataStream::StreamType streamType, const void* classPtr, const Uuid& classId, SerializeContext* context, const SerializeContext::ClassData* classData) - { - AZ_PROFILE_FUNCTION(AzCore); - - if (!context) - { - EBUS_EVENT_RESULT(context, ComponentApplicationBus, GetSerializeContext); - - if(!context) - { - AZ_Assert(false, "No serialize context"); - return false; - } - } - - if (!classPtr) - { - AZ_Assert(false, "SaveObjectToStream: classPtr is null, object cannot be serialized."); - return false; - } - - AZ::ObjectStream* objectStream = AZ::ObjectStream::Create(&stream, *context, streamType); - if (!objectStream) - { - return false; - } - - if (!objectStream->WriteClass(classPtr, classId, classData)) - { - objectStream->Finalize(); - return false; - } - - if (!objectStream->Finalize()) - { - return false; - } - - return true; - } - - bool SaveStreamToFile(const AZStd::string& filePath, const AZStd::vector& streamData, int platformFlags) - { - AZ::IO::FileIOBase* fileIo = AZ::IO::FileIOBase::GetInstance(); - AZ::IO::FixedMaxPathString resolvedPath; - if (fileIo == nullptr || !fileIo->ResolvePath(filePath.c_str(), resolvedPath.data(), resolvedPath.capacity() + 1)) - { - resolvedPath = filePath; - } - if (AZ::IO::SystemFile fileHandle; fileHandle.Open(resolvedPath.c_str(), - AZ::IO::SystemFile::SF_OPEN_CREATE | AZ::IO::SystemFile::SF_OPEN_CREATE_PATH | AZ::IO::SystemFile::SF_OPEN_WRITE_ONLY, - platformFlags)) - { - AZ::IO::SizeType bytesWritten = fileHandle.Write(streamData.data(), streamData.size()); - return bytesWritten == streamData.size(); - } - return false; } - bool SaveObjectToFile(const AZStd::string& filePath, DataStream::StreamType fileType, const void* classPtr, const Uuid& classId, SerializeContext* context, int platformFlags) - { - AZ_PROFILE_FUNCTION(AzCore); + AZ_Assert(targetPointer, "You must provide a target pointer"); - // \note This is ok for tools, but we should use the streamer to write objects directly (no memory store) - AZStd::vector dstData; - AZ::IO::ByteContainerStream > dstByteStream(&dstData); - - if (!SaveObjectToStream(dstByteStream, fileType, classPtr, classId, context)) + bool foundSuccess = false; + using CreationCallback = AZStd::function; + auto handler = [&targetPointer, objectClassData, &foundSuccess](void** instance, const SerializeContext::ClassData** classData, const Uuid& classId, SerializeContext* context) { - return false; - } - - return SaveStreamToFile(filePath, dstData, platformFlags); - } - - /*! - \brief Finds any descendant DataElementNodes of the @classElement which match each Crc32 values in the supplied elementCrcQueue - \param context SerializeContext used for looking up ClassData - \param classElement Top level DataElementNode to begin comparison each the Crc32 queue - \param elementCrcQueue Container of Crc32 values in the order in which DataElementNodes should be matched as the DataElementNode tree is traversed - \return Vector of valid pointers to DataElementNodes which match the entire element Crc32 queue - */ - AZStd::vector FindDescendantElements(AZ::SerializeContext& context, AZ::SerializeContext::DataElementNode& classElement, - const AZStd::vector& elementCrcQueue) - { - AZStd::vector dataElementNodes; - FindDescendantElements(context, classElement, dataElementNodes, elementCrcQueue.begin(), elementCrcQueue.end()); - - return dataElementNodes; - } - - /*! - \brief Finds any descendant DataElementNodes of the @classElement which match each Crc32 values in the supplied elementCrcQueue - \param context SerializeContext used for looking up ClassData - \param classElement The current DataElementNode which will be compared against be to current top Crc32 value in the Crc32 queue - \param dataElementNodes[out] Array to populate with a DataElementNode which was found by matching all Crc32 values in the Crc32 queue - \param first The current front of the Crc32 queue - \param last The end of the Crc32 queue - */ - void FindDescendantElements(AZ::SerializeContext& context, AZ::SerializeContext::DataElementNode& classElement, - AZStd::vector& dataElementNodes, AZStd::vector::const_iterator first, AZStd::vector::const_iterator last) - { - if (first == last) - { - return; - } - - for (int i = 0; i < classElement.GetNumSubElements(); ++i) - { - auto& childElement = classElement.GetSubElement(i); - if (*first == AZ::Crc32(childElement.GetName())) + void* convertibleInstance{}; + if (objectClassData->ConvertFromType(convertibleInstance, classId, targetPointer, *context)) { - if (AZStd::distance(first, last) == 1) + foundSuccess = true; + if (instance) { - dataElementNodes.push_back(&childElement); + // The ObjectStream will ask us for the address of the target to load into, so provide it. + *instance = convertibleInstance; + } + if (classData) + { + // The ObjectStream will ask us for the class data of the target being loaded into, so provide it if needed. + // This allows us to load directly into a generic object (templated containers, strings, etc). + *classData = objectClassData; + } + } + }; + bool readSuccess = ObjectStream::LoadBlocking(&stream, *context, ObjectStream::ClassReadyCB(), filterDesc, CreationCallback(handler, AZ::OSStdAllocator())); + + AZ_Warning("Serialization", readSuccess, "LoadObjectFromStreamInPlace: Stream did not deserialize correctly"); + AZ_Warning("Serialization", foundSuccess, "LoadObjectFromStreamInPlace: Did not find the expected type in the stream"); + + return readSuccess && foundSuccess; + } + + bool LoadObjectFromStreamInPlace(IO::GenericStream& stream, AZ::SerializeContext* context, const Uuid& targetClassId, void* targetPointer, const FilterDescriptor& filterDesc) + { + AZ_PROFILE_FUNCTION(AzCore); + + if (!context) + { + EBUS_EVENT_RESULT(context, ComponentApplicationBus, GetSerializeContext); + AZ_Assert(context, "No serialize context"); + } + + if (!context) + { + return false; + } + + const SerializeContext::ClassData* classData = context->FindClassData(targetClassId); + if (!classData) + { + AZ_Error("Serialization", false, + "Unable to locate class data for uuid \"%s\". This object cannot be serialized as a root element. " + "Make sure the Uuid is valid, or if this is a generic type, use the override that takes a ClassData pointer instead.", + targetClassId.ToString().c_str()); + return false; + } + + return LoadObjectFromStreamInPlace(stream, context, classData, targetPointer, filterDesc); + } + + bool LoadObjectFromFileInPlace(const AZStd::string& filePath, const Uuid& targetClassId, void* destination, AZ::SerializeContext* context /*= nullptr*/, const FilterDescriptor& filterDesc /*= FilterDescriptor()*/) + { + AZ::IO::FileIOStream fileStream; + if (!fileStream.Open(filePath.c_str(), IO::OpenMode::ModeRead | IO::OpenMode::ModeBinary)) + { + return false; + } + + return LoadObjectFromStreamInPlace(fileStream, context, targetClassId, destination, filterDesc); + } + + void* LoadObjectFromStream(IO::GenericStream& stream, AZ::SerializeContext* context, const Uuid* targetClassId, const FilterDescriptor& filterDesc) + { + AZ_PROFILE_FUNCTION(AzCore); + + if (!context) + { + EBUS_EVENT_RESULT(context, ComponentApplicationBus, GetSerializeContext); + AZ_Assert(context, "No serialize context"); + } + + if (!context) + { + return nullptr; + } + + void* loadedInstance = nullptr; + bool success = ObjectStream::LoadBlocking(&stream, *context, + [&loadedInstance, targetClassId](void* classPtr, const Uuid& classId, const SerializeContext* serializeContext) + { + if (targetClassId) + { + void* instance = serializeContext->DownCast(classPtr, classId, *targetClassId); + + // Given a valid object + if (instance) + { + AZ_Assert(!loadedInstance, "loadedInstance must be NULL, otherwise we are being invoked with multiple valid objects"); + loadedInstance = instance; + return; + } } else { - FindDescendantElements(context, childElement, dataElementNodes, AZStd::next(first), last); - } - } - } - } - - bool IsVectorContainerType(const AZ::Uuid& type) - { - AZ::SerializeContext* serializeContext = nullptr; - AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); - - if (serializeContext) - { - AZ::TypeId containerTypeId = type; - - if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) - { - // This type is a container - containerTypeId = classInfo->GetGenericTypeId(); - } - - if (containerTypeId == AZ::GetGenericClassInfoVectorTypeId() - || containerTypeId == AZ::GetGenericClassInfoFixedVectorTypeId() - || containerTypeId == AZ::GetGenericClassInfoArrayTypeId() - ) - { - return true; - } - } - - return false; - } - - bool IsSetContainerType(const AZ::Uuid& type) - { - AZ::SerializeContext* serializeContext = nullptr; - AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); - - if (serializeContext) - { - AZ::TypeId containerTypeId = type; - - if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) - { - // This type is a container - containerTypeId = classInfo->GetGenericTypeId(); - } - - if (containerTypeId == AZ::GetGenericClassSetTypeId() - || containerTypeId == AZ::GetGenericClassUnorderedSetTypeId() - ) - { - return true; - } - } - - return false; - } - - - bool IsMapContainerType(const AZ::Uuid& type) - { - AZ::SerializeContext* serializeContext = nullptr; - AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); - - if (serializeContext) - { - AZ::Uuid containerTypeId = type; - - if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) - { - containerTypeId = classInfo->GetGenericTypeId(); - } - - if (containerTypeId == AZ::GetGenericClassMapTypeId() - || containerTypeId == AZ::GetGenericClassUnorderedMapTypeId() - ) - { - return true; - } - } - - return false; - } - - bool IsContainerType(const AZ::Uuid& type) - { - return IsVectorContainerType(type) || IsSetContainerType(type) || IsMapContainerType(type); - } - - AZStd::vector GetContainedTypes(const AZ::Uuid& type) - { - AZStd::vector types; - - AZ::SerializeContext* serializeContext = nullptr; - AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); - - if (serializeContext) - { - if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) - { - for (int i = 0; i < classInfo->GetNumTemplatedArguments(); ++i) - { - types.push_back(classInfo->GetTemplatedTypeId(i)); - } - } - } - - return types; - } - - bool IsOutcomeType(const AZ::Uuid& type) - { - AZ::SerializeContext* serializeContext = nullptr; - AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); - - if (serializeContext) - { - GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type); - return classInfo && classInfo->GetGenericTypeId() == AZ::GetGenericOutcomeTypeId(); - } - - return false; - } - - bool IsPairContainerType(const AZ::Uuid& type) - { - AZ::SerializeContext* serializeContext = nullptr; - AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); - - if (serializeContext) - { - AZ::Uuid containerTypeId = type; - - if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) - { - containerTypeId = classInfo->GetGenericTypeId(); - } - - if (containerTypeId == AZ::GetGenericClassPairTypeId()) - { - return true; - } - } - - return false; - } - - AZ::TypeId GetGenericContainerType(const AZ::TypeId& type) - { - AZ::SerializeContext* serializeContext = nullptr; - AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); - - if (serializeContext) - { - if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) - { - // This type is a container - return classInfo->GetGenericTypeId(); - } - } - - return azrtti_typeid(); - } - - bool IsGenericContainerType(const AZ::TypeId& type) - { - return IsContainerType(type) && GetGenericContainerType(type) == azrtti_typeid(); - } - - AZStd::pair GetOutcomeTypes(const AZ::Uuid& type) - { - AZStd::vector types; - - AZ::SerializeContext* serializeContext = nullptr; - AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); - - if (serializeContext) - { - if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) - { - AZ_Assert(classInfo->GetNumTemplatedArguments() == 2, "Outcome template arguments must be 2, even if void, void"); - return AZStd::make_pair(classInfo->GetTemplatedTypeId(0), classInfo->GetTemplatedTypeId(1)); - } - } - - return AZStd::make_pair(azrtti_typeid(), azrtti_typeid()); - } - - void* ResolvePointer(void* ptr, const SerializeContext::ClassElement& classElement, const SerializeContext& context) - { - if (classElement.m_flags & SerializeContext::ClassElement::FLG_POINTER) - { - // In the case of pointer-to-pointer, we'll deference. - ptr = *(void**)(ptr); - - // Pointer-to-pointer fields may be base class / polymorphic, so cast pointer to actual type, - // safe for passing as 'this' to member functions. - if (ptr && classElement.m_azRtti) - { - Uuid actualClassId = classElement.m_azRtti->GetActualUuid(ptr); - if (actualClassId != classElement.m_typeId) - { - const SerializeContext::ClassData* classData = context.FindClassData(actualClassId); - if (classData) + if (!loadedInstance) { - ptr = classElement.m_azRtti->Cast(ptr, classData->m_azRtti->GetTypeId()); + loadedInstance = classPtr; + return; } } - } - } - return ptr; + auto classData = serializeContext->FindClassData(classId); + if (classData && classData->m_factory) + { + classData->m_factory->Destroy(classPtr); + } + }, + filterDesc, + ObjectStream::InplaceLoadRootInfoCB() + ); + + if (!success) + { + return nullptr; } - } // namespace Utils -} // namespace AZ + return loadedInstance; + } + + void* LoadObjectFromFile(const AZStd::string& filePath, const Uuid& targetClassId, SerializeContext* context, const FilterDescriptor& filterDesc, int /*platformFlags*/) + { + AZ_PROFILE_FUNCTION(AzCore); + + AZ::IO::FileIOStream fileStream; + if (!fileStream.Open(filePath.c_str(), IO::OpenMode::ModeRead | IO::OpenMode::ModeBinary)) + { + return nullptr; + } + + void* loadedObject = LoadObjectFromStream(fileStream, context, &targetClassId, filterDesc); + return loadedObject; + } + + bool SaveObjectToStream(IO::GenericStream& stream, DataStream::StreamType streamType, const void* classPtr, const Uuid& classId, SerializeContext* context, const SerializeContext::ClassData* classData) + { + AZ_PROFILE_FUNCTION(AzCore); + + if (!context) + { + EBUS_EVENT_RESULT(context, ComponentApplicationBus, GetSerializeContext); + + if(!context) + { + AZ_Assert(false, "No serialize context"); + return false; + } + } + + if (!classPtr) + { + AZ_Assert(false, "SaveObjectToStream: classPtr is null, object cannot be serialized."); + return false; + } + + AZ::ObjectStream* objectStream = AZ::ObjectStream::Create(&stream, *context, streamType); + if (!objectStream) + { + return false; + } + + if (!objectStream->WriteClass(classPtr, classId, classData)) + { + objectStream->Finalize(); + return false; + } + + if (!objectStream->Finalize()) + { + return false; + } + + return true; + } + + bool SaveStreamToFile(const AZStd::string& filePath, const AZStd::vector& streamData, int platformFlags) + { + AZ::IO::FileIOBase* fileIo = AZ::IO::FileIOBase::GetInstance(); + AZ::IO::FixedMaxPathString resolvedPath; + if (fileIo == nullptr || !fileIo->ResolvePath(filePath.c_str(), resolvedPath.data(), resolvedPath.capacity() + 1)) + { + resolvedPath = filePath; + } + if (AZ::IO::SystemFile fileHandle; fileHandle.Open(resolvedPath.c_str(), + AZ::IO::SystemFile::SF_OPEN_CREATE | AZ::IO::SystemFile::SF_OPEN_CREATE_PATH | AZ::IO::SystemFile::SF_OPEN_WRITE_ONLY, + platformFlags)) + { + AZ::IO::SizeType bytesWritten = fileHandle.Write(streamData.data(), streamData.size()); + return bytesWritten == streamData.size(); + } + + return false; + } + + bool SaveObjectToFile(const AZStd::string& filePath, DataStream::StreamType fileType, const void* classPtr, const Uuid& classId, SerializeContext* context, int platformFlags) + { + AZ_PROFILE_FUNCTION(AzCore); + + // \note This is ok for tools, but we should use the streamer to write objects directly (no memory store) + AZStd::vector dstData; + AZ::IO::ByteContainerStream > dstByteStream(&dstData); + + if (!SaveObjectToStream(dstByteStream, fileType, classPtr, classId, context)) + { + return false; + } + + return SaveStreamToFile(filePath, dstData, platformFlags); + } + + /*! + \brief Finds any descendant DataElementNodes of the @classElement which match each Crc32 values in the supplied elementCrcQueue + \param context SerializeContext used for looking up ClassData + \param classElement Top level DataElementNode to begin comparison each the Crc32 queue + \param elementCrcQueue Container of Crc32 values in the order in which DataElementNodes should be matched as the DataElementNode tree is traversed + \return Vector of valid pointers to DataElementNodes which match the entire element Crc32 queue + */ + AZStd::vector FindDescendantElements(AZ::SerializeContext& context, AZ::SerializeContext::DataElementNode& classElement, + const AZStd::vector& elementCrcQueue) + { + AZStd::vector dataElementNodes; + FindDescendantElements(context, classElement, dataElementNodes, elementCrcQueue.begin(), elementCrcQueue.end()); + + return dataElementNodes; + } + + /*! + \brief Finds any descendant DataElementNodes of the @classElement which match each Crc32 values in the supplied elementCrcQueue + \param context SerializeContext used for looking up ClassData + \param classElement The current DataElementNode which will be compared against be to current top Crc32 value in the Crc32 queue + \param dataElementNodes[out] Array to populate with a DataElementNode which was found by matching all Crc32 values in the Crc32 queue + \param first The current front of the Crc32 queue + \param last The end of the Crc32 queue + */ + void FindDescendantElements(AZ::SerializeContext& context, AZ::SerializeContext::DataElementNode& classElement, + AZStd::vector& dataElementNodes, AZStd::vector::const_iterator first, AZStd::vector::const_iterator last) + { + if (first == last) + { + return; + } + + for (int i = 0; i < classElement.GetNumSubElements(); ++i) + { + auto& childElement = classElement.GetSubElement(i); + if (*first == AZ::Crc32(childElement.GetName())) + { + if (AZStd::distance(first, last) == 1) + { + dataElementNodes.push_back(&childElement); + } + else + { + FindDescendantElements(context, childElement, dataElementNodes, AZStd::next(first), last); + } + } + } + } + + bool IsVectorContainerType(const AZ::Uuid& type) + { + AZ::SerializeContext* serializeContext = nullptr; + AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); + + if (serializeContext) + { + AZ::TypeId containerTypeId = type; + + if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) + { + // This type is a container + containerTypeId = classInfo->GetGenericTypeId(); + } + + if (containerTypeId == AZ::GetGenericClassInfoVectorTypeId() + || containerTypeId == AZ::GetGenericClassInfoFixedVectorTypeId() + || containerTypeId == AZ::GetGenericClassInfoArrayTypeId() + ) + { + return true; + } + } + + return false; + } + + bool IsSetContainerType(const AZ::Uuid& type) + { + AZ::SerializeContext* serializeContext = nullptr; + AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); + + if (serializeContext) + { + AZ::TypeId containerTypeId = type; + + if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) + { + // This type is a container + containerTypeId = classInfo->GetGenericTypeId(); + } + + if (containerTypeId == AZ::GetGenericClassSetTypeId() + || containerTypeId == AZ::GetGenericClassUnorderedSetTypeId() + ) + { + return true; + } + } + + return false; + } + + + bool IsMapContainerType(const AZ::Uuid& type) + { + AZ::SerializeContext* serializeContext = nullptr; + AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); + + if (serializeContext) + { + AZ::Uuid containerTypeId = type; + + if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) + { + containerTypeId = classInfo->GetGenericTypeId(); + } + + if (containerTypeId == AZ::GetGenericClassMapTypeId() + || containerTypeId == AZ::GetGenericClassUnorderedMapTypeId() + ) + { + return true; + } + } + + return false; + } + + bool IsContainerType(const AZ::Uuid& type) + { + return IsVectorContainerType(type) || IsSetContainerType(type) || IsMapContainerType(type); + } + + AZStd::vector GetContainedTypes(const AZ::Uuid& type) + { + AZStd::vector types; + + AZ::SerializeContext* serializeContext = nullptr; + AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); + + if (serializeContext) + { + if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) + { + for (int i = 0; i < classInfo->GetNumTemplatedArguments(); ++i) + { + types.push_back(classInfo->GetTemplatedTypeId(i)); + } + } + } + + return types; + } + + bool IsOutcomeType(const AZ::Uuid& type) + { + AZ::SerializeContext* serializeContext = nullptr; + AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); + + if (serializeContext) + { + GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type); + return classInfo && classInfo->GetGenericTypeId() == AZ::GetGenericOutcomeTypeId(); + } + + return false; + } + + bool IsPairContainerType(const AZ::Uuid& type) + { + AZ::SerializeContext* serializeContext = nullptr; + AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); + + if (serializeContext) + { + AZ::Uuid containerTypeId = type; + + if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) + { + containerTypeId = classInfo->GetGenericTypeId(); + } + + if (containerTypeId == AZ::GetGenericClassPairTypeId()) + { + return true; + } + } + + return false; + } + + AZ::TypeId GetGenericContainerType(const AZ::TypeId& type) + { + AZ::SerializeContext* serializeContext = nullptr; + AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); + + if (serializeContext) + { + if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) + { + // This type is a container + return classInfo->GetGenericTypeId(); + } + } + + return azrtti_typeid(); + } + + bool IsGenericContainerType(const AZ::TypeId& type) + { + return IsContainerType(type) && GetGenericContainerType(type) == azrtti_typeid(); + } + + AZStd::pair GetOutcomeTypes(const AZ::Uuid& type) + { + AZStd::vector types; + + AZ::SerializeContext* serializeContext = nullptr; + AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationRequests::GetSerializeContext); + + if (serializeContext) + { + if (GenericClassInfo* classInfo = serializeContext->FindGenericClassInfo(type)) + { + AZ_Assert(classInfo->GetNumTemplatedArguments() == 2, "Outcome template arguments must be 2, even if void, void"); + return AZStd::make_pair(classInfo->GetTemplatedTypeId(0), classInfo->GetTemplatedTypeId(1)); + } + } + + return AZStd::make_pair(azrtti_typeid(), azrtti_typeid()); + } + + void* ResolvePointer(void* ptr, const SerializeContext::ClassElement& classElement, const SerializeContext& context) + { + if (classElement.m_flags & SerializeContext::ClassElement::FLG_POINTER) + { + // In the case of pointer-to-pointer, we'll deference. + ptr = *(void**)(ptr); + + // Pointer-to-pointer fields may be base class / polymorphic, so cast pointer to actual type, + // safe for passing as 'this' to member functions. + if (ptr && classElement.m_azRtti) + { + Uuid actualClassId = classElement.m_azRtti->GetActualUuid(ptr); + if (actualClassId != classElement.m_typeId) + { + const SerializeContext::ClassData* classData = context.FindClassData(actualClassId); + if (classData) + { + ptr = classElement.m_azRtti->Cast(ptr, classData->m_azRtti->GetTypeId()); + } + } + } + } + + return ptr; + } + +} // namespace AZ::Utils diff --git a/Code/Framework/AzCore/AzCore/Serialization/SerializeContext.cpp b/Code/Framework/AzCore/AzCore/Serialization/SerializeContext.cpp index 81546f4f28..ff0ad571f7 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/SerializeContext.cpp +++ b/Code/Framework/AzCore/AzCore/Serialization/SerializeContext.cpp @@ -2065,11 +2065,15 @@ namespace AZ } EnumerateInstanceCallContext callContext( - AZStd::bind(&SerializeContext::BeginCloneElement, this, AZStd::placeholders::_1, AZStd::placeholders::_2, AZStd::placeholders::_3, &cloneData, &m_errorLogger, &scratchBuffer), - AZStd::bind(&SerializeContext::EndCloneElement, this, &cloneData), - this, - SerializeContext::ENUM_ACCESS_FOR_READ, - &m_errorLogger); + [&](void* ptr, const ClassData* classData, const ClassElement* elementData) -> bool + { + return BeginCloneElement(ptr, classData, elementData, &cloneData, &m_errorLogger, &scratchBuffer); + }, + [&]() -> bool + { + return EndCloneElement(&cloneData); + }, + this, SerializeContext::ENUM_ACCESS_FOR_READ, &m_errorLogger); EnumerateInstance( &callContext @@ -2098,19 +2102,17 @@ namespace AZ if (ptr) { EnumerateInstanceCallContext callContext( - AZStd::bind(&SerializeContext::BeginCloneElementInplace, this, dest, AZStd::placeholders::_1, AZStd::placeholders::_2, AZStd::placeholders::_3, &cloneData, &m_errorLogger, &scratchBuffer), - AZStd::bind(&SerializeContext::EndCloneElement, this, &cloneData), - this, - SerializeContext::ENUM_ACCESS_FOR_READ, - &m_errorLogger); + [&](void* ptr, const ClassData* classData, const ClassElement* elementData) -> bool + { + return BeginCloneElementInplace(dest, ptr, classData, elementData, &cloneData, &m_errorLogger, &scratchBuffer); + }, + [&]() -> bool + { + return EndCloneElement(&cloneData); + }, + this, SerializeContext::ENUM_ACCESS_FOR_READ, &m_errorLogger); - EnumerateInstance( - &callContext - , const_cast(ptr) - , classId - , nullptr - , nullptr - ); + EnumerateInstance(&callContext, const_cast(ptr), classId, nullptr, nullptr); } } @@ -2941,14 +2943,10 @@ namespace AZ { m_errorHandler = errorHandler ? errorHandler : &m_defaultErrorHandler; - m_elementCallback = AZStd::bind(static_cast(&SerializeContext::EnumerateInstance) - , m_context - , this - , AZStd::placeholders::_1 - , AZStd::placeholders::_2 - , AZStd::placeholders::_3 - , AZStd::placeholders::_4 - ); + m_elementCallback = [this](void* ptr, const Uuid& classId, const ClassData* classData, const ClassElement* classElement)->bool + { + return m_context->EnumerateInstance(this, ptr, classId, classData, classElement); + }; } //========================================================================= diff --git a/Code/Framework/AzCore/AzCore/Serialization/SerializeContext.h b/Code/Framework/AzCore/AzCore/Serialization/SerializeContext.h index a37780029e..bf96bcdb9a 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/SerializeContext.h +++ b/Code/Framework/AzCore/AzCore/Serialization/SerializeContext.h @@ -90,7 +90,7 @@ namespace AZ using AttributePtr = AZStd::shared_ptr; using AttributeSharedPair = AZStd::pair; - template + template > AttributePtr CreateModuleAttribute(T&& attrValue); /** @@ -540,6 +540,7 @@ namespace AZ */ struct ClassElement { + AZ_TYPE_INFO(ClassElement, "{7D386902-A1D9-4525-8284-F68435FE1D05}"); enum Flags { FLG_POINTER = (1 << 0), ///< Element is stored as pointer (it's not a value). @@ -563,22 +564,22 @@ namespace AZ void ClearAttributes(); Attribute* FindAttribute(AttributeId attributeId) const; - const char* m_name; ///< Used in XML output and debugging purposes - u32 m_nameCrc; ///< CRC32 of m_name - Uuid m_typeId; - size_t m_dataSize; - size_t m_offset; + const char* m_name{ "" }; ///< Used in XML output and debugging purposes + u32 m_nameCrc{}; ///< CRC32 of m_name + Uuid m_typeId = AZ::TypeId::CreateNull(); + size_t m_dataSize{}; + size_t m_offset{}; - IRttiHelper* m_azRtti; ///< Interface used to support RTTI. + IRttiHelper* m_azRtti{}; ///< Interface used to support RTTI. GenericClassInfo* m_genericClassInfo = nullptr; ///< Valid when the generic class is set. So you don't search for the actual type in the class register. - Edit::ElementData* m_editData; ///< Pointer to edit data (generated by EditContext). + Edit::ElementData* m_editData{}; ///< Pointer to edit data (generated by EditContext). AZStd::vector m_attributes{ AZStdFunctorAllocator([]() -> IAllocatorAllocate& { return AZ::AllocatorInstance::Get(); }) }; ///< Attributes attached to ClassElement. Lambda is required here as AZStdFunctorAllocator expects a function pointer ///< that returns an IAllocatorAllocate& and the AZ::AllocatorInstance::Get returns an AZ::SystemAllocator& /// which while it inherits from IAllocatorAllocate, does not work as function pointers do not support covariant return types AttributeOwnership m_attributeOwnership = AttributeOwnership::Parent; - int m_flags; ///< + int m_flags{}; ///< }; typedef AZStd::vector ClassElementArray; @@ -589,6 +590,8 @@ namespace AZ class ClassData { public: + AZ_TYPE_INFO(ClassData, "{20EB8E2E-D807-4039-84E2-CE37D7647CD4}"); + ClassData(); ~ClassData() { ClearAttributes(); } ClassData(ClassData&&) = default; @@ -1040,6 +1043,7 @@ namespace AZ */ struct EnumerateInstanceCallContext { + AZ_TYPE_INFO(EnumerateInstanceCallContext, "{FCC1DB4B-72BD-4D78-9C23-C84B91589D33}"); EnumerateInstanceCallContext(const BeginElemEnumCB& beginElemCB, const EndElemEnumCB& endElemCB, const SerializeContext* context, unsigned int accessflags, ErrorHandler* errorHandler); BeginElemEnumCB m_beginElemCB; ///< Optional callback when entering an element's hierarchy. @@ -2539,7 +2543,7 @@ namespace AZ /// associated with current module /// @param attrValue value to store within the attribute /// @param ContainerType second parameter which is used for function parameter deduction - template + template AttributePtr CreateModuleAttribute(T&& attrValue) { IAllocatorAllocate& moduleAllocator = GetCurrentSerializeContextModule().GetAllocator(); diff --git a/Code/Framework/AzCore/AzCore/Serialization/std/VariantReflection.inl b/Code/Framework/AzCore/AzCore/Serialization/std/VariantReflection.inl index 70972bb846..06d4f76c80 100644 --- a/Code/Framework/AzCore/AzCore/Serialization/std/VariantReflection.inl +++ b/Code/Framework/AzCore/AzCore/Serialization/std/VariantReflection.inl @@ -433,9 +433,7 @@ namespace AZ m_classData.m_attributes.set_allocator(AZStd::move(dllAllocator)); // Create the ObjectStreamWriteOverrideCB in the current module - using ContainerType = AttributeData>; - m_classData.m_attributes.emplace_back(AZ_CRC("ObjectStreamWriteElementOverride", 0x35eb659f), CreateModuleAttribute(&ObjectStreamWriter)); + m_classData.m_attributes.emplace_back(AZ_CRC("ObjectStreamWriteElementOverride", 0x35eb659f), CreateModuleAttribute(&ObjectStreamWriter)); } SerializeContext::ClassData* GetClassData() override diff --git a/Code/Framework/AzCore/AzCore/Settings/SettingsRegistryImpl.cpp b/Code/Framework/AzCore/AzCore/Settings/SettingsRegistryImpl.cpp index cbf25c29d4..43c8a64b93 100644 --- a/Code/Framework/AzCore/AzCore/Settings/SettingsRegistryImpl.cpp +++ b/Code/Framework/AzCore/AzCore/Settings/SettingsRegistryImpl.cpp @@ -327,7 +327,7 @@ namespace AZ while (!localNotifierQueue.empty()) { - for (SignalNotifierArgs notifierArgs : localNotifierQueue) + for (const SignalNotifierArgs& notifierArgs : localNotifierQueue) { localNotifierEvent.Signal(notifierArgs.m_jsonPath, notifierArgs.m_type); } diff --git a/Code/Framework/AzCore/AzCore/Slice/SliceComponent.cpp b/Code/Framework/AzCore/AzCore/Slice/SliceComponent.cpp index 0b410369f0..ca89e95162 100644 --- a/Code/Framework/AzCore/AzCore/Slice/SliceComponent.cpp +++ b/Code/Framework/AzCore/AzCore/Slice/SliceComponent.cpp @@ -840,7 +840,7 @@ namespace AZ } SliceComponent::SliceInstance* SliceComponent::SliceReference::CreateInstanceFromExistingEntities(AZStd::vector& entities, - const EntityIdToEntityIdMap assetToLiveIdMap, + const EntityIdToEntityIdMap& assetToLiveIdMap, SliceInstanceId sliceInstanceId) { AZ_PROFILE_FUNCTION(AzCore); diff --git a/Code/Framework/AzCore/AzCore/Slice/SliceComponent.h b/Code/Framework/AzCore/AzCore/Slice/SliceComponent.h index 7a66167a96..ae4ec155c7 100644 --- a/Code/Framework/AzCore/AzCore/Slice/SliceComponent.h +++ b/Code/Framework/AzCore/AzCore/Slice/SliceComponent.h @@ -443,7 +443,7 @@ namespace AZ * @return A pointer to the newly created slice instance. Returns nullptr on error or if the SliceComponent is not instantiated. */ SliceInstance* CreateInstanceFromExistingEntities(AZStd::vector& entities, - const EntityIdToEntityIdMap assetToLiveIdMap, + const EntityIdToEntityIdMap& assetToLiveIdMap, SliceInstanceId sliceInstanceId = SliceInstanceId::CreateRandom()); /** diff --git a/Code/Framework/AzCore/AzCore/Socket/AzSocket.cpp b/Code/Framework/AzCore/AzCore/Socket/AzSocket.cpp index f15c288ad8..71c0aeea6d 100644 --- a/Code/Framework/AzCore/AzCore/Socket/AzSocket.cpp +++ b/Code/Framework/AzCore/AzCore/Socket/AzSocket.cpp @@ -8,77 +8,74 @@ #include -namespace AZ +namespace AZ::AzSock { - namespace AzSock + AzSocketAddress::AzSocketAddress() { - AzSocketAddress::AzSocketAddress() - { - Reset(); - } - - AzSocketAddress& AzSocketAddress::operator=(const AZSOCKADDR& addr) - { - m_sockAddr = *reinterpret_cast(&addr); - return *this; - } - - bool AzSocketAddress::operator==(const AzSocketAddress& rhs) const - { - return m_sockAddr.sin_family == rhs.m_sockAddr.sin_family - && m_sockAddr.sin_addr.s_addr == rhs.m_sockAddr.sin_addr.s_addr - && m_sockAddr.sin_port == rhs.m_sockAddr.sin_port; - } - - const AZSOCKADDR* AzSocketAddress::GetTargetAddress() const - { - return reinterpret_cast(&m_sockAddr); - } - - AZStd::string AzSocketAddress::GetIP() const - { - char ip[INET_ADDRSTRLEN]; - inet_ntop(AF_INET, const_cast(&m_sockAddr.sin_addr), ip, AZ_ARRAY_SIZE(ip)); - return AZStd::string(ip); - } - - AZStd::string AzSocketAddress::GetAddress() const - { - char ip[INET_ADDRSTRLEN]; - inet_ntop(AF_INET, const_cast(&m_sockAddr.sin_addr), ip, AZ_ARRAY_SIZE(ip)); - return AZStd::string::format("%s:%d", ip, AZ::AzSock::NetToHostShort(m_sockAddr.sin_port)); - } - - AZ::u16 AzSocketAddress::GetAddrPort() const - { - return AZ::AzSock::NetToHostShort(m_sockAddr.sin_port); - } - - void AzSocketAddress::SetAddrPort(AZ::u16 port) - { - m_sockAddr.sin_port = AZ::AzSock::HostToNetShort(port); - } - - bool AzSocketAddress::SetAddress(const AZStd::string& ip, AZ::u16 port) - { - AZ_Assert(!ip.empty(), "Invalid address string!"); - Reset(); - return AZ::AzSock::ResolveAddress(ip, port, m_sockAddr); - } - - bool AzSocketAddress::SetAddress(AZ::u32 ip, AZ::u16 port) - { - Reset(); - m_sockAddr.sin_addr.s_addr = AZ::AzSock::HostToNetLong(ip); - m_sockAddr.sin_port = AZ::AzSock::HostToNetShort(port); - return true; - } - - void AzSocketAddress::Reset() - { - memset(&m_sockAddr, 0, sizeof(m_sockAddr)); - m_sockAddr.sin_family = AF_INET; - m_sockAddr.sin_addr.s_addr = INADDR_ANY; - } + Reset(); } -} + + AzSocketAddress& AzSocketAddress::operator=(const AZSOCKADDR& addr) + { + m_sockAddr = *reinterpret_cast(&addr); + return *this; + } + + bool AzSocketAddress::operator==(const AzSocketAddress& rhs) const + { + return m_sockAddr.sin_family == rhs.m_sockAddr.sin_family + && m_sockAddr.sin_addr.s_addr == rhs.m_sockAddr.sin_addr.s_addr + && m_sockAddr.sin_port == rhs.m_sockAddr.sin_port; + } + + const AZSOCKADDR* AzSocketAddress::GetTargetAddress() const + { + return reinterpret_cast(&m_sockAddr); + } + + AZStd::string AzSocketAddress::GetIP() const + { + char ip[INET_ADDRSTRLEN]; + inet_ntop(AF_INET, const_cast(&m_sockAddr.sin_addr), ip, AZ_ARRAY_SIZE(ip)); + return AZStd::string(ip); + } + + AZStd::string AzSocketAddress::GetAddress() const + { + char ip[INET_ADDRSTRLEN]; + inet_ntop(AF_INET, const_cast(&m_sockAddr.sin_addr), ip, AZ_ARRAY_SIZE(ip)); + return AZStd::string::format("%s:%d", ip, AZ::AzSock::NetToHostShort(m_sockAddr.sin_port)); + } + + AZ::u16 AzSocketAddress::GetAddrPort() const + { + return AZ::AzSock::NetToHostShort(m_sockAddr.sin_port); + } + + void AzSocketAddress::SetAddrPort(AZ::u16 port) + { + m_sockAddr.sin_port = AZ::AzSock::HostToNetShort(port); + } + + bool AzSocketAddress::SetAddress(const AZStd::string& ip, AZ::u16 port) + { + AZ_Assert(!ip.empty(), "Invalid address string!"); + Reset(); + return AZ::AzSock::ResolveAddress(ip, port, m_sockAddr); + } + + bool AzSocketAddress::SetAddress(AZ::u32 ip, AZ::u16 port) + { + Reset(); + m_sockAddr.sin_addr.s_addr = AZ::AzSock::HostToNetLong(ip); + m_sockAddr.sin_port = AZ::AzSock::HostToNetShort(port); + return true; + } + + void AzSocketAddress::Reset() + { + memset(&m_sockAddr, 0, sizeof(m_sockAddr)); + m_sockAddr.sin_family = AF_INET; + m_sockAddr.sin_addr.s_addr = INADDR_ANY; + } +} // namespace AZ::AzSock diff --git a/Code/Framework/AzCore/AzCore/Statistics/RunningStatistic.cpp b/Code/Framework/AzCore/AzCore/Statistics/RunningStatistic.cpp index 47f85c8309..3093d38a10 100644 --- a/Code/Framework/AzCore/AzCore/Statistics/RunningStatistic.cpp +++ b/Code/Framework/AzCore/AzCore/Statistics/RunningStatistic.cpp @@ -10,66 +10,63 @@ #include "RunningStatistic.h" -namespace AZ +namespace AZ::Statistics { - namespace Statistics + void RunningStatistic::Reset() { - void RunningStatistic::Reset() + m_numSamples = 0; + m_mostRecentSample = 0.0; + m_minimum = 0.0; + m_maximum = 0.0; + m_sum = 0.0; + m_average = 0.0; + m_varianceTracking = 0.0; + } + + void RunningStatistic::PushSample(double value) + { + m_numSamples++; + m_mostRecentSample = value; + m_sum += value; + + if (m_numSamples == 1) { - m_numSamples = 0; - m_mostRecentSample = 0.0; - m_minimum = 0.0; - m_maximum = 0.0; - m_sum = 0.0; - m_average = 0.0; - m_varianceTracking = 0.0; + m_minimum = value; + m_maximum = value; + m_average = value; + return; } - void RunningStatistic::PushSample(double value) + if (value < m_minimum) { - m_numSamples++; - m_mostRecentSample = value; - m_sum += value; - - if (m_numSamples == 1) - { - m_minimum = value; - m_maximum = value; - m_average = value; - return; - } - - if (value < m_minimum) - { - m_minimum = value; - } - else if (value > m_maximum) - { - m_maximum = value; - } - - //See header notes and references to understand this way of calculating - //running average & variance. - const double newAverage = m_average + (value - m_average) / m_numSamples; - m_varianceTracking = m_varianceTracking + (value - m_average)*(value - newAverage); - - m_average = newAverage; + m_minimum = value; + } + else if (value > m_maximum) + { + m_maximum = value; } - double RunningStatistic::GetVariance(VarianceType varianceType) const - { - if (m_numSamples > 1) - { - const AZ::u64 varianceDivisor = (varianceType == VarianceType::S) ? m_numSamples - 1 : m_numSamples; - return m_varianceTracking / varianceDivisor; - } - return 0.0; - } + //See header notes and references to understand this way of calculating + //running average & variance. + const double newAverage = m_average + (value - m_average) / m_numSamples; + m_varianceTracking = m_varianceTracking + (value - m_average)*(value - newAverage); - double RunningStatistic::GetStdev(VarianceType varianceType) const + m_average = newAverage; + } + + double RunningStatistic::GetVariance(VarianceType varianceType) const + { + if (m_numSamples > 1) { - return sqrt(GetVariance(varianceType)); + const AZ::u64 varianceDivisor = (varianceType == VarianceType::S) ? m_numSamples - 1 : m_numSamples; + return m_varianceTracking / varianceDivisor; } - - }//namespace Statistics -}//namespace AZ + return 0.0; + } + + double RunningStatistic::GetStdev(VarianceType varianceType) const + { + return sqrt(GetVariance(varianceType)); + } + +} // namespace AZ::Statistics diff --git a/Code/Framework/AzCore/AzCore/Statistics/StatisticalProfilerProxySystemComponent.cpp b/Code/Framework/AzCore/AzCore/Statistics/StatisticalProfilerProxySystemComponent.cpp index 00bb97b745..ef87307624 100644 --- a/Code/Framework/AzCore/AzCore/Statistics/StatisticalProfilerProxySystemComponent.cpp +++ b/Code/Framework/AzCore/AzCore/Statistics/StatisticalProfilerProxySystemComponent.cpp @@ -12,55 +12,52 @@ #include "StatisticalProfilerProxySystemComponent.h" //////////////////////////////////////////////////////////////////////////////////////////////////// -namespace AZ +namespace AZ::Statistics { - namespace Statistics + StatisticalProfilerProxy* StatisticalProfilerProxy::TimedScope::m_profilerProxy = nullptr; + + //////////////////////////////////////////////////////////////////////////////////////////////// + void StatisticalProfilerProxySystemComponent::Reflect(AZ::ReflectContext* context) { - StatisticalProfilerProxy* StatisticalProfilerProxy::TimedScope::m_profilerProxy = nullptr; - - //////////////////////////////////////////////////////////////////////////////////////////////// - void StatisticalProfilerProxySystemComponent::Reflect(AZ::ReflectContext* context) + if (AZ::SerializeContext* serializeContext = azrtti_cast(context)) { - if (AZ::SerializeContext* serializeContext = azrtti_cast(context)) - { - serializeContext->Class() - ->Version(1); - } + serializeContext->Class() + ->Version(1); } + } - //////////////////////////////////////////////////////////////////////////////////////////////// - void StatisticalProfilerProxySystemComponent::GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided) - { - provided.push_back(AZ_CRC("StatisticalProfilerService", 0x20066f73)); - } + //////////////////////////////////////////////////////////////////////////////////////////////// + void StatisticalProfilerProxySystemComponent::GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided) + { + provided.push_back(AZ_CRC("StatisticalProfilerService", 0x20066f73)); + } - //////////////////////////////////////////////////////////////////////////////////////////////// - void StatisticalProfilerProxySystemComponent::GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible) - { - incompatible.push_back(AZ_CRC("StatisticalProfilerService", 0x20066f73)); - } + //////////////////////////////////////////////////////////////////////////////////////////////// + void StatisticalProfilerProxySystemComponent::GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible) + { + incompatible.push_back(AZ_CRC("StatisticalProfilerService", 0x20066f73)); + } - //////////////////////////////////////////////////////////////////////////////////////////////// - StatisticalProfilerProxySystemComponent::StatisticalProfilerProxySystemComponent() - : m_StatisticalProfilerProxy(nullptr) - { - } + //////////////////////////////////////////////////////////////////////////////////////////////// + StatisticalProfilerProxySystemComponent::StatisticalProfilerProxySystemComponent() + : m_StatisticalProfilerProxy(nullptr) + { + } - //////////////////////////////////////////////////////////////////////////////////////////////// - StatisticalProfilerProxySystemComponent::~StatisticalProfilerProxySystemComponent() - { - } + //////////////////////////////////////////////////////////////////////////////////////////////// + StatisticalProfilerProxySystemComponent::~StatisticalProfilerProxySystemComponent() + { + } - //////////////////////////////////////////////////////////////////////////////////////////////// - void StatisticalProfilerProxySystemComponent::Activate() - { - m_StatisticalProfilerProxy = new StatisticalProfilerProxy; - } + //////////////////////////////////////////////////////////////////////////////////////////////// + void StatisticalProfilerProxySystemComponent::Activate() + { + m_StatisticalProfilerProxy = new StatisticalProfilerProxy; + } - //////////////////////////////////////////////////////////////////////////////////////////////// - void StatisticalProfilerProxySystemComponent::Deactivate() - { - delete m_StatisticalProfilerProxy; - } - } //namespace Statistics -} // namespace AZ + //////////////////////////////////////////////////////////////////////////////////////////////// + void StatisticalProfilerProxySystemComponent::Deactivate() + { + delete m_StatisticalProfilerProxy; + } +} // namespace AZ::Statistics diff --git a/Code/Framework/AzCore/AzCore/StringFunc/StringFunc.cpp b/Code/Framework/AzCore/AzCore/StringFunc/StringFunc.cpp index a953d53c33..8405424f7d 100644 --- a/Code/Framework/AzCore/AzCore/StringFunc/StringFunc.cpp +++ b/Code/Framework/AzCore/AzCore/StringFunc/StringFunc.cpp @@ -416,2157 +416,2155 @@ namespace AZ::StringFunc::Internal } -namespace AZ +namespace AZ::StringFunc { - namespace StringFunc + AZStd::string_view LStrip(AZStd::string_view in, AZStd::string_view stripCharacters) { - AZStd::string_view LStrip(AZStd::string_view in, AZStd::string_view stripCharacters) + if (size_t pos = in.find_first_not_of(stripCharacters); pos != AZStd::string_view::npos) { - if (size_t pos = in.find_first_not_of(stripCharacters); pos != AZStd::string_view::npos) - { - return in.substr(pos); - } + return in.substr(pos); + } - return {}; - }; + return {}; + }; - AZStd::string_view RStrip(AZStd::string_view in, AZStd::string_view stripCharacters) + AZStd::string_view RStrip(AZStd::string_view in, AZStd::string_view stripCharacters) + { + if (size_t pos = in.find_last_not_of(stripCharacters); pos != AZStd::string_view::npos) { - if (size_t pos = in.find_last_not_of(stripCharacters); pos != AZStd::string_view::npos) - { - return in.substr(0, pos < in.size() ? pos + 1 : pos); - } + return in.substr(0, pos < in.size() ? pos + 1 : pos); + } - return {}; - }; + return {}; + }; - AZStd::string_view StripEnds(AZStd::string_view in, AZStd::string_view stripCharacters) + AZStd::string_view StripEnds(AZStd::string_view in, AZStd::string_view stripCharacters) + { + return LStrip(RStrip(in, stripCharacters), stripCharacters); + }; + + bool Equal(const char* inA, const char* inB, bool bCaseSensitive /*= false*/, size_t n /*= 0*/) + { + if (!inA || !inB) { - return LStrip(RStrip(in, stripCharacters), stripCharacters); - }; + return false; + } - bool Equal(const char* inA, const char* inB, bool bCaseSensitive /*= false*/, size_t n /*= 0*/) + if (inA == inB) { - if (!inA || !inB) - { - return false; - } + return true; + } - if (inA == inB) + if (bCaseSensitive) + { + if (n) { - return true; - } - - if (bCaseSensitive) - { - if (n) - { - return !strncmp(inA, inB, n); - } - else - { - return !strcmp(inA, inB); - } + return !strncmp(inA, inB, n); } else { - if (n) - { - return !azstrnicmp(inA, inB, n); - } - else - { - return !azstricmp(inA, inB); - } + return !strcmp(inA, inB); } } - bool Equal(AZStd::string_view inA, AZStd::string_view inB, bool bCaseSensitive) + else { - const size_t maxCharsToCompare = inA.size(); - - return inA.size() == inB.size() && (bCaseSensitive - ? strncmp(inA.data(), inB.data(), maxCharsToCompare) == 0 - : azstrnicmp(inA.data(), inB.data(), maxCharsToCompare) == 0); - } - - bool StartsWith(AZStd::string_view sourceValue, AZStd::string_view prefixValue, bool bCaseSensitive) - { - return sourceValue.size() >= prefixValue.size() - && Equal(sourceValue.data(), prefixValue.data(), bCaseSensitive, prefixValue.size()); - } - - bool EndsWith(AZStd::string_view sourceValue, AZStd::string_view suffixValue, bool bCaseSensitive) - { - return sourceValue.size() >= suffixValue.size() - && Equal(sourceValue.substr(sourceValue.size() - suffixValue.size(), AZStd::string_view::npos).data(), suffixValue.data(), bCaseSensitive, suffixValue.size()); - } - - bool Contains(AZStd::string_view in, char ch, bool bCaseSensitive) - { - return Find(in, ch, 0, false, bCaseSensitive) != AZStd::string_view::npos; - } - bool Contains(AZStd::string_view in, AZStd::string_view sv, bool bCaseSensitive) - { - return Find(in, sv, 0, false, bCaseSensitive) != AZStd::string_view::npos; - } - - size_t Find(AZStd::string_view in, char c, size_t pos /*= 0*/, bool bReverse /*= false*/, bool bCaseSensitive /*= false*/) - { - if (in.empty()) + if (n) { - return AZStd::string::npos; + return !azstrnicmp(inA, inB, n); } - - if (pos == AZStd::string::npos) + else { - pos = 0; + return !azstricmp(inA, inB); } + } + } + bool Equal(AZStd::string_view inA, AZStd::string_view inB, bool bCaseSensitive) + { + const size_t maxCharsToCompare = inA.size(); - size_t inLen = in.size(); - if (inLen < pos) - { - return AZStd::string::npos; - } + return inA.size() == inB.size() && (bCaseSensitive + ? strncmp(inA.data(), inB.data(), maxCharsToCompare) == 0 + : azstrnicmp(inA.data(), inB.data(), maxCharsToCompare) == 0); + } + bool StartsWith(AZStd::string_view sourceValue, AZStd::string_view prefixValue, bool bCaseSensitive) + { + return sourceValue.size() >= prefixValue.size() + && Equal(sourceValue.data(), prefixValue.data(), bCaseSensitive, prefixValue.size()); + } + + bool EndsWith(AZStd::string_view sourceValue, AZStd::string_view suffixValue, bool bCaseSensitive) + { + return sourceValue.size() >= suffixValue.size() + && Equal(sourceValue.substr(sourceValue.size() - suffixValue.size(), AZStd::string_view::npos).data(), suffixValue.data(), bCaseSensitive, suffixValue.size()); + } + + bool Contains(AZStd::string_view in, char ch, bool bCaseSensitive) + { + return Find(in, ch, 0, false, bCaseSensitive) != AZStd::string_view::npos; + } + bool Contains(AZStd::string_view in, AZStd::string_view sv, bool bCaseSensitive) + { + return Find(in, sv, 0, false, bCaseSensitive) != AZStd::string_view::npos; + } + + size_t Find(AZStd::string_view in, char c, size_t pos /*= 0*/, bool bReverse /*= false*/, bool bCaseSensitive /*= false*/) + { + if (in.empty()) + { + return AZStd::string::npos; + } + + if (pos == AZStd::string::npos) + { + pos = 0; + } + + size_t inLen = in.size(); + if (inLen < pos) + { + return AZStd::string::npos; + } + + if (!bCaseSensitive) + { + c = (char)tolower(c); + } + + if (bReverse) + { + pos = inLen - pos - 1; + } + + char character; + + do + { if (!bCaseSensitive) { - c = (char)tolower(c); + character = (char)tolower(in[pos]); + } + else + { + character = in[pos]; + } + + if (character == c) + { + return pos; } if (bReverse) { - pos = inLen - pos - 1; + pos = pos > 0 ? pos-1 : pos; } - - char character; - - do + else { - if (!bCaseSensitive) - { - character = (char)tolower(in[pos]); - } - else - { - character = in[pos]; - } + pos++; + } + } while (bReverse ? pos : character != '\0'); - if (character == c) - { - return pos; - } + return AZStd::string::npos; + } - if (bReverse) - { - pos = pos > 0 ? pos-1 : pos; - } - else - { - pos++; - } - } while (bReverse ? pos : character != '\0'); + size_t Find(AZStd::string_view in, AZStd::string_view s, size_t offset /*= 0*/, bool bReverse /*= false*/, bool bCaseSensitive /*= false*/) + { + // Formally an empty string matches at the offset if it is <= to the size of the input string + if (s.empty() && offset <= in.size()) + { + return offset; + } + if (in.empty()) + { return AZStd::string::npos; } - size_t Find(AZStd::string_view in, AZStd::string_view s, size_t offset /*= 0*/, bool bReverse /*= false*/, bool bCaseSensitive /*= false*/) + const size_t inlen = in.size(); + const size_t slen = s.size(); + + if (offset == AZStd::string::npos) { - // Formally an empty string matches at the offset if it is <= to the size of the input string - if (s.empty() && offset <= in.size()) + offset = 0; + } + + if (offset + slen > inlen) + { + return AZStd::string::npos; + } + + const char* pCur; + + if (bReverse) + { + // Start at the end (- pos) + pCur = in.data() + inlen - slen - offset; + } + else + { + // Start at the beginning (+ pos) + pCur = in.data() + offset; + } + + do + { + if (bCaseSensitive) { - return offset; + if (!strncmp(pCur, s.data(), slen)) + { + return static_cast(pCur - in.data()); + } } - - if (in.empty()) + else { - return AZStd::string::npos; + if (!azstrnicmp(pCur, s.data(), slen)) + { + return static_cast(pCur - in.data()); + } } - const size_t inlen = in.size(); - const size_t slen = s.size(); - - if (offset == AZStd::string::npos) - { - offset = 0; - } - - if (offset + slen > inlen) - { - return AZStd::string::npos; - } - - const char* pCur; - if (bReverse) { - // Start at the end (- pos) - pCur = in.data() + inlen - slen - offset; + pCur--; } else { - // Start at the beginning (+ pos) - pCur = in.data() + offset; + pCur++; + } + } while (bReverse ? pCur >= in.data() : pCur - in.data() <= static_cast(inlen)); + + return AZStd::string::npos; + } + + char FirstCharacter(const char* in) + { + if (!in) + { + return '\0'; + } + if (in[0] == '\n') + { + return '\0'; + } + return in[0]; + } + + char LastCharacter(const char* in) + { + if (!in) + { + return '\0'; + } + size_t len = strlen(in); + if (!len) + { + return '\0'; + } + return in[len - 1]; + } + + AZStd::string& Append(AZStd::string& inout, const char s) + { + return inout.append(1, s); + } + + AZStd::string& Append(AZStd::string& inout, const char* str) + { + if (!str) + { + return inout; + } + return inout.append(str); + } + + AZStd::string& Prepend(AZStd::string& inout, const char s) + { + return inout.insert((size_t)0, 1, s); + } + + AZStd::string& Prepend(AZStd::string& inout, const char* str) + { + if (!str) + { + return inout; + } + return inout.insert(0, str); + } + + AZStd::string& LChop(AZStd::string& inout, size_t num) + { + return Internal::LChop(inout, num); + } + + AZStd::string_view LChop(AZStd::string_view in, size_t num) + { + return Internal::LChop(in, num); + } + + AZStd::string& RChop(AZStd::string& inout, size_t num) + { + return Internal::RChop(inout, num); + } + + AZStd::string_view RChop(AZStd::string_view in, size_t num) + { + return Internal::RChop(in, num); + } + + AZStd::string& LKeep(AZStd::string& inout, size_t pos, bool bKeepPosCharacter) + { + return Internal::LKeep(inout, pos, bKeepPosCharacter); + } + + AZStd::string& RKeep(AZStd::string& inout, size_t pos, bool bKeepPosCharacter) + { + return Internal::RKeep(inout, pos, bKeepPosCharacter); + } + + bool Replace(AZStd::string& inout, const char replaceA, const char withB, bool bCaseSensitive, bool bReplaceFirst, bool bReplaceLast) + { + return Internal::Replace(inout, replaceA, withB, bCaseSensitive, bReplaceFirst, bReplaceLast); + } + + bool Replace(AZStd::string& inout, const char* replaceA, const char* withB, bool bCaseSensitive, bool bReplaceFirst, bool bReplaceLast) + { + return Internal::Replace(inout, replaceA, withB, bCaseSensitive, bReplaceFirst, bReplaceLast); + } + + bool Strip(AZStd::string& inout, const char stripCharacter, bool bCaseSensitive, bool bStripBeginning, bool bStripEnding) + { + return Internal::Strip(inout, stripCharacter, bCaseSensitive, bStripBeginning, bStripEnding); + } + + bool Strip(AZStd::string& inout, const char* stripCharacters, bool bCaseSensitive, bool bStripBeginning, bool bStripEnding) + { + return Internal::Strip(inout, stripCharacters, bCaseSensitive, bStripBeginning, bStripEnding); + } + + AZStd::string& TrimWhiteSpace(AZStd::string& value, bool leading, bool trailing) + { + static const char* trimmable = " \t\r\n"; + if (value.length() > 0) + { + if (leading) + { + value.erase(0, value.find_first_not_of(trimmable)); + } + if (trailing) + { + value.erase(value.find_last_not_of(trimmable) + 1); + } + } + return value; + } + + void Tokenize(AZStd::string_view in, AZStd::vector& tokens, const char delimiter, bool keepEmptyStrings, bool keepSpaceStrings) + { + return Tokenize(in, tokens, { &delimiter, 1 }, keepEmptyStrings, keepSpaceStrings); + } + + void Tokenize(AZStd::string_view in, AZStd::vector& tokens, AZStd::string_view delimiters, bool keepEmptyStrings, bool keepSpaceStrings) + { + auto insertVisitor = [&tokens](AZStd::string_view token) + { + tokens.push_back(token); + }; + return TokenizeVisitor(in, insertVisitor, delimiters, keepEmptyStrings, keepSpaceStrings); + } + + void TokenizeVisitor(AZStd::string_view in, const TokenVisitor& tokenVisitor, const char delimiter, bool keepEmptyStrings, bool keepSpaceStrings) + { + return TokenizeVisitor(in, tokenVisitor, { &delimiter, 1 }, keepEmptyStrings, keepSpaceStrings); + } + + void TokenizeVisitor(AZStd::string_view in, const TokenVisitor& tokenVisitor, AZStd::string_view delimiters, + bool keepEmptyStrings, bool keepSpaceStrings) + { + if (delimiters.empty() || in.empty()) + { + return; + } + + while (AZStd::optional nextToken = TokenizeNext(in, delimiters)) + { + bool bIsEmpty = nextToken->empty(); + bool bIsSpaces = false; + if (!bIsEmpty) + { + AZStd::string_view strippedNextToken = StripEnds(*nextToken, " "); + bIsSpaces = strippedNextToken.empty(); } - do + if ((bIsEmpty && keepEmptyStrings) || + (bIsSpaces && keepSpaceStrings) || + (!bIsSpaces && !bIsEmpty)) { - if (bCaseSensitive) + tokenVisitor(*nextToken); + } + } + } + + void TokenizeVisitorReverse(AZStd::string_view in, const TokenVisitor& tokenVisitor, const char delimiter, bool keepEmptyStrings, bool keepSpaceStrings) + { + return TokenizeVisitorReverse(in, tokenVisitor, { &delimiter, 1 }, keepEmptyStrings, keepSpaceStrings); + } + + void TokenizeVisitorReverse(AZStd::string_view in, const TokenVisitor& tokenVisitor, AZStd::string_view delimiters, + bool keepEmptyStrings, bool keepSpaceStrings) + { + if (delimiters.empty() || in.empty()) + { + return; + } + + while (AZStd::optional nextToken = TokenizeLast(in, delimiters)) + { + bool bIsEmpty = nextToken->empty(); + bool bIsSpaces = false; + if (!bIsEmpty) + { + AZStd::string_view strippedNextToken = StripEnds(*nextToken, " "); + bIsSpaces = strippedNextToken.empty(); + } + + if ((bIsEmpty && keepEmptyStrings) || + (bIsSpaces && keepSpaceStrings) || + (!bIsSpaces && !bIsEmpty)) + { + tokenVisitor(*nextToken); + } + } + } + + AZStd::optional TokenizeNext(AZStd::string_view& inout, const char delimiter) + { + return TokenizeNext(inout, { &delimiter, 1 }); + } + AZStd::optional TokenizeNext(AZStd::string_view& inout, AZStd::string_view delimiters) + { + if (delimiters.empty() || inout.empty()) + { + return AZStd::nullopt; + } + + AZStd::string_view resultToken; + if (size_t pos = inout.find_first_of(delimiters); pos == AZStd::string_view::npos) + { + // The delimiter has not been found, a new view containing the entire + // string will be returned and the input parameter will be set to empty + resultToken.swap(inout); + } + else + { + resultToken = { inout.data(), pos }; + // Strip off all previous characters before the delimiter plus + // the delimiter itself from the input view + inout.remove_prefix(pos + 1); + } + + return resultToken; + } + + AZStd::optional TokenizeLast(AZStd::string_view& inout, const char delimiter) + { + return TokenizeLast(inout, { &delimiter, 1 }); + } + AZStd::optional TokenizeLast(AZStd::string_view& inout, AZStd::string_view delimiters) + { + if (delimiters.empty() || inout.empty()) + { + return AZStd::nullopt; + } + + AZStd::string_view resultToken; + if (size_t pos = inout.find_last_of(delimiters); pos == AZStd::string_view::npos) + { + // The delimiter has not been found, a new view containing the entire + // string will be returned and the input parameter will be set to empty + resultToken.swap(inout); + } + else + { + resultToken = inout.substr(pos + 1); + // Strip off all previous characters before the delimiter plus + // the delimiter itself from the input view + inout = inout.substr(0, pos); + } + + return resultToken; + } + + bool FindFirstOf(AZStd::string_view inString, size_t offset, const AZStd::vector& searchStrings, uint32_t& outIndex, size_t& outOffset) + { + bool found = false; + + outIndex = 0; + outOffset = AZStd::string::npos; + for (int32_t i = 0; i < searchStrings.size(); ++i) + { + const AZStd::string& search = searchStrings[i]; + + size_t entry = inString.find(search, offset); + if (entry != AZStd::string::npos) + { + if (!found || (entry < outOffset)) { - if (!strncmp(pCur, s.data(), slen)) - { - return static_cast(pCur - in.data()); - } - } - else - { - if (!azstrnicmp(pCur, s.data(), slen)) - { - return static_cast(pCur - in.data()); - } - } - - if (bReverse) - { - pCur--; - } - else - { - pCur++; - } - } while (bReverse ? pCur >= in.data() : pCur - in.data() <= static_cast(inlen)); - - return AZStd::string::npos; - } - - char FirstCharacter(const char* in) - { - if (!in) - { - return '\0'; - } - if (in[0] == '\n') - { - return '\0'; - } - return in[0]; - } - - char LastCharacter(const char* in) - { - if (!in) - { - return '\0'; - } - size_t len = strlen(in); - if (!len) - { - return '\0'; - } - return in[len - 1]; - } - - AZStd::string& Append(AZStd::string& inout, const char s) - { - return inout.append(1, s); - } - - AZStd::string& Append(AZStd::string& inout, const char* str) - { - if (!str) - { - return inout; - } - return inout.append(str); - } - - AZStd::string& Prepend(AZStd::string& inout, const char s) - { - return inout.insert((size_t)0, 1, s); - } - - AZStd::string& Prepend(AZStd::string& inout, const char* str) - { - if (!str) - { - return inout; - } - return inout.insert(0, str); - } - - AZStd::string& LChop(AZStd::string& inout, size_t num) - { - return Internal::LChop(inout, num); - } - - AZStd::string_view LChop(AZStd::string_view in, size_t num) - { - return Internal::LChop(in, num); - } - - AZStd::string& RChop(AZStd::string& inout, size_t num) - { - return Internal::RChop(inout, num); - } - - AZStd::string_view RChop(AZStd::string_view in, size_t num) - { - return Internal::RChop(in, num); - } - - AZStd::string& LKeep(AZStd::string& inout, size_t pos, bool bKeepPosCharacter) - { - return Internal::LKeep(inout, pos, bKeepPosCharacter); - } - - AZStd::string& RKeep(AZStd::string& inout, size_t pos, bool bKeepPosCharacter) - { - return Internal::RKeep(inout, pos, bKeepPosCharacter); - } - - bool Replace(AZStd::string& inout, const char replaceA, const char withB, bool bCaseSensitive, bool bReplaceFirst, bool bReplaceLast) - { - return Internal::Replace(inout, replaceA, withB, bCaseSensitive, bReplaceFirst, bReplaceLast); - } - - bool Replace(AZStd::string& inout, const char* replaceA, const char* withB, bool bCaseSensitive, bool bReplaceFirst, bool bReplaceLast) - { - return Internal::Replace(inout, replaceA, withB, bCaseSensitive, bReplaceFirst, bReplaceLast); - } - - bool Strip(AZStd::string& inout, const char stripCharacter, bool bCaseSensitive, bool bStripBeginning, bool bStripEnding) - { - return Internal::Strip(inout, stripCharacter, bCaseSensitive, bStripBeginning, bStripEnding); - } - - bool Strip(AZStd::string& inout, const char* stripCharacters, bool bCaseSensitive, bool bStripBeginning, bool bStripEnding) - { - return Internal::Strip(inout, stripCharacters, bCaseSensitive, bStripBeginning, bStripEnding); - } - - AZStd::string& TrimWhiteSpace(AZStd::string& value, bool leading, bool trailing) - { - static const char* trimmable = " \t\r\n"; - if (value.length() > 0) - { - if (leading) - { - value.erase(0, value.find_first_not_of(trimmable)); - } - if (trailing) - { - value.erase(value.find_last_not_of(trimmable) + 1); - } - } - return value; - } - - void Tokenize(AZStd::string_view in, AZStd::vector& tokens, const char delimiter, bool keepEmptyStrings, bool keepSpaceStrings) - { - return Tokenize(in, tokens, { &delimiter, 1 }, keepEmptyStrings, keepSpaceStrings); - } - - void Tokenize(AZStd::string_view in, AZStd::vector& tokens, AZStd::string_view delimiters, bool keepEmptyStrings, bool keepSpaceStrings) - { - auto insertVisitor = [&tokens](AZStd::string_view token) - { - tokens.push_back(token); - }; - return TokenizeVisitor(in, insertVisitor, delimiters, keepEmptyStrings, keepSpaceStrings); - } - - void TokenizeVisitor(AZStd::string_view in, const TokenVisitor& tokenVisitor, const char delimiter, bool keepEmptyStrings, bool keepSpaceStrings) - { - return TokenizeVisitor(in, tokenVisitor, { &delimiter, 1 }, keepEmptyStrings, keepSpaceStrings); - } - - void TokenizeVisitor(AZStd::string_view in, const TokenVisitor& tokenVisitor, AZStd::string_view delimiters, - bool keepEmptyStrings, bool keepSpaceStrings) - { - if (delimiters.empty() || in.empty()) - { - return; - } - - while (AZStd::optional nextToken = TokenizeNext(in, delimiters)) - { - bool bIsEmpty = nextToken->empty(); - bool bIsSpaces = false; - if (!bIsEmpty) - { - AZStd::string_view strippedNextToken = StripEnds(*nextToken, " "); - bIsSpaces = strippedNextToken.empty(); - } - - if ((bIsEmpty && keepEmptyStrings) || - (bIsSpaces && keepSpaceStrings) || - (!bIsSpaces && !bIsEmpty)) - { - tokenVisitor(*nextToken); + found = true; + outIndex = i; + outOffset = entry; } } } - void TokenizeVisitorReverse(AZStd::string_view in, const TokenVisitor& tokenVisitor, const char delimiter, bool keepEmptyStrings, bool keepSpaceStrings) + return found; + } + + void Tokenize(AZStd::string_view input, AZStd::vector& tokens, const AZStd::vector& delimiters, bool keepEmptyStrings /*= false*/, bool keepSpaceStrings /*= false*/) + { + if (input.empty()) { - return TokenizeVisitorReverse(in, tokenVisitor, { &delimiter, 1 }, keepEmptyStrings, keepSpaceStrings); + return; } - void TokenizeVisitorReverse(AZStd::string_view in, const TokenVisitor& tokenVisitor, AZStd::string_view delimiters, - bool keepEmptyStrings, bool keepSpaceStrings) + size_t offset = 0; + for (;;) { - if (delimiters.empty() || in.empty()) + uint32_t nextMatch = 0; + size_t nextOffset = offset; + if (!FindFirstOf(input, offset, delimiters, nextMatch, nextOffset)) { - return; + // No more occurrences of a separator, consume whatever is left and exit + tokens.push_back(input.substr(offset)); + break; } - while (AZStd::optional nextToken = TokenizeLast(in, delimiters)) + // Take the substring, not including the separator, and increment our offset + AZStd::string nextSubstring = input.substr(offset, nextOffset - offset); + if (keepEmptyStrings || keepSpaceStrings || !nextSubstring.empty()) { - bool bIsEmpty = nextToken->empty(); - bool bIsSpaces = false; - if (!bIsEmpty) - { - AZStd::string_view strippedNextToken = StripEnds(*nextToken, " "); - bIsSpaces = strippedNextToken.empty(); - } - - if ((bIsEmpty && keepEmptyStrings) || - (bIsSpaces && keepSpaceStrings) || - (!bIsSpaces && !bIsEmpty)) - { - tokenVisitor(*nextToken); - } + tokens.push_back(nextSubstring); } + + offset = nextOffset + delimiters[nextMatch].size(); } + } - AZStd::optional TokenizeNext(AZStd::string_view& inout, const char delimiter) + int ToInt(const char* in) + { + if (!in) { - return TokenizeNext(inout, { &delimiter, 1 }); + return 0; } - AZStd::optional TokenizeNext(AZStd::string_view& inout, AZStd::string_view delimiters) + return atoi(in); + } + + bool LooksLikeInt(const char* in, int* pInt /*=nullptr*/) + { + if (!in) { - if (delimiters.empty() || inout.empty()) - { - return AZStd::nullopt; - } - - AZStd::string_view resultToken; - if (size_t pos = inout.find_first_of(delimiters); pos == AZStd::string_view::npos) - { - // The delimiter has not been found, a new view containing the entire - // string will be returned and the input parameter will be set to empty - resultToken.swap(inout); - } - else - { - resultToken = { inout.data(), pos }; - // Strip off all previous characters before the delimiter plus - // the delimiter itself from the input view - inout.remove_prefix(pos + 1); - } - - return resultToken; - } - - AZStd::optional TokenizeLast(AZStd::string_view& inout, const char delimiter) - { - return TokenizeLast(inout, { &delimiter, 1 }); - } - AZStd::optional TokenizeLast(AZStd::string_view& inout, AZStd::string_view delimiters) - { - if (delimiters.empty() || inout.empty()) - { - return AZStd::nullopt; - } - - AZStd::string_view resultToken; - if (size_t pos = inout.find_last_of(delimiters); pos == AZStd::string_view::npos) - { - // The delimiter has not been found, a new view containing the entire - // string will be returned and the input parameter will be set to empty - resultToken.swap(inout); - } - else - { - resultToken = inout.substr(pos + 1); - // Strip off all previous characters before the delimiter plus - // the delimiter itself from the input view - inout = inout.substr(0, pos); - } - - return resultToken; - } - - bool FindFirstOf(AZStd::string_view inString, size_t offset, const AZStd::vector& searchStrings, uint32_t& outIndex, size_t& outOffset) - { - bool found = false; - - outIndex = 0; - outOffset = AZStd::string::npos; - for (int32_t i = 0; i < searchStrings.size(); ++i) - { - const AZStd::string& search = searchStrings[i]; - - size_t entry = inString.find(search, offset); - if (entry != AZStd::string::npos) - { - if (!found || (entry < outOffset)) - { - found = true; - outIndex = i; - outOffset = entry; - } - } - } - - return found; - } - - void Tokenize(AZStd::string_view input, AZStd::vector& tokens, const AZStd::vector& delimiters, bool keepEmptyStrings /*= false*/, bool keepSpaceStrings /*= false*/) - { - if (input.empty()) - { - return; - } - - size_t offset = 0; - for (;;) - { - uint32_t nextMatch = 0; - size_t nextOffset = offset; - if (!FindFirstOf(input, offset, delimiters, nextMatch, nextOffset)) - { - // No more occurrences of a separator, consume whatever is left and exit - tokens.push_back(input.substr(offset)); - break; - } - - // Take the substring, not including the separator, and increment our offset - AZStd::string nextSubstring = input.substr(offset, nextOffset - offset); - if (keepEmptyStrings || keepSpaceStrings || !nextSubstring.empty()) - { - tokens.push_back(nextSubstring); - } - - offset = nextOffset + delimiters[nextMatch].size(); - } - } - - int ToInt(const char* in) - { - if (!in) - { - return 0; - } - return atoi(in); - } - - bool LooksLikeInt(const char* in, int* pInt /*=nullptr*/) - { - if (!in) - { - return false; - } - - //if pos is past then end of the string false - size_t len = strlen(in); - if (!len)//must at least 1 characters to work with "1" - { - return false; - } - - const char* pStr = in; - - size_t countNeg = 0; - while (*pStr != '\0' && - (isdigit(*pStr) || - *pStr == '-')) - { - if (*pStr == '-') - { - countNeg++; - } - pStr++; - } - - if (*pStr == '\0' && - countNeg < 2) - { - if (pInt) - { - *pInt = ToInt(in); - } - - return true; - } return false; } - double ToDouble(const char* in) + //if pos is past then end of the string false + size_t len = strlen(in); + if (!len)//must at least 1 characters to work with "1" { - if (!in) - { - return 0.; - } - return atof(in); - } - - bool LooksLikeDouble(const char* in, double* pDouble) - { - if (!in) - { - return false; - } - - size_t len = strlen(in); - if (len < 2)//must have at least 2 characters to work with "1." - { - return false; - } - - const char* pStr = in; - - size_t countDot = 0; - size_t countNeg = 0; - while (*pStr != '\0' && - (isdigit(*pStr) || - (*pStr == '-' || - *pStr == '.'))) - { - if (*pStr == '.') - { - countDot++; - } - if (*pStr == '-') - { - countNeg++; - } - pStr++; - } - - if (*pStr == '\0' && - countDot == 1 && - countNeg < 2) - { - if (pDouble) - { - *pDouble = ToDouble(in); - } - - return true; - } - return false; } - float ToFloat(const char* in) + const char* pStr = in; + + size_t countNeg = 0; + while (*pStr != '\0' && + (isdigit(*pStr) || + *pStr == '-')) { - if (!in) + if (*pStr == '-') { - return 0.f; + countNeg++; } - return (float)atof(in); + pStr++; } - bool LooksLikeFloat(const char* in, float* pFloat /* = nullptr */) + if (*pStr == '\0' && + countNeg < 2) { - bool result = false; - - if (pFloat) + if (pInt) { - double doubleValue = 0.0; - result = LooksLikeDouble(in, &doubleValue); - - (*pFloat) = aznumeric_cast(doubleValue); - } - else - { - result = LooksLikeDouble(in); + *pInt = ToInt(in); } - return result; + return true; } + return false; + } - bool ToBool(const char* in) + double ToDouble(const char* in) + { + if (!in) + { + return 0.; + } + return atof(in); + } + + bool LooksLikeDouble(const char* in, double* pDouble) + { + if (!in) { - bool boolValue = false; - if (LooksLikeBool(in, &boolValue)) - { - return boolValue; - } return false; } - bool LooksLikeBool(const char* in, bool* pBool /* = nullptr */) + size_t len = strlen(in); + if (len < 2)//must have at least 2 characters to work with "1." { - if (!in) - { - return false; - } - - if (!azstricmp(in, "true") || !azstricmp(in, "1")) - { - if (pBool) - { - *pBool = true; - } - return true; - } - - if (!azstricmp(in, "false") || !azstricmp(in, "0")) - { - if (pBool) - { - *pBool = false; - } - return true; - } - return false; } - template - bool LooksLikeVectorHelper(const char* in, VECTOR_TYPE* outVector) - { - AZStd::vector tokens; - Tokenize(in, tokens, ',', false, true); - if (tokens.size() == ELEMENT_COUNT) - { - float vectorValues[4] = { 0.0f, 0.0f, 0.0f, 0.0f }; + const char* pStr = in; + size_t countDot = 0; + size_t countNeg = 0; + while (*pStr != '\0' && + (isdigit(*pStr) || + (*pStr == '-' || + *pStr == '.'))) + { + if (*pStr == '.') + { + countDot++; + } + if (*pStr == '-') + { + countNeg++; + } + pStr++; + } + + if (*pStr == '\0' && + countDot == 1 && + countNeg < 2) + { + if (pDouble) + { + *pDouble = ToDouble(in); + } + + return true; + } + + return false; + } + + float ToFloat(const char* in) + { + if (!in) + { + return 0.f; + } + return (float)atof(in); + } + + bool LooksLikeFloat(const char* in, float* pFloat /* = nullptr */) + { + bool result = false; + + if (pFloat) + { + double doubleValue = 0.0; + result = LooksLikeDouble(in, &doubleValue); + + (*pFloat) = aznumeric_cast(doubleValue); + } + else + { + result = LooksLikeDouble(in); + } + + return result; + } + + bool ToBool(const char* in) + { + bool boolValue = false; + if (LooksLikeBool(in, &boolValue)) + { + return boolValue; + } + return false; + } + + bool LooksLikeBool(const char* in, bool* pBool /* = nullptr */) + { + if (!in) + { + return false; + } + + if (!azstricmp(in, "true") || !azstricmp(in, "1")) + { + if (pBool) + { + *pBool = true; + } + return true; + } + + if (!azstricmp(in, "false") || !azstricmp(in, "0")) + { + if (pBool) + { + *pBool = false; + } + return true; + } + + return false; + } + + template + bool LooksLikeVectorHelper(const char* in, VECTOR_TYPE* outVector) + { + AZStd::vector tokens; + Tokenize(in, tokens, ',', false, true); + if (tokens.size() == ELEMENT_COUNT) + { + float vectorValues[4] = { 0.0f, 0.0f, 0.0f, 0.0f }; + + for (uint32_t element = 0; element < ELEMENT_COUNT; ++element) + { + if (!LooksLikeFloat(tokens[element].c_str(), outVector ? &vectorValues[element] : nullptr)) + { + return false; + } + } + + if (outVector) + { for (uint32_t element = 0; element < ELEMENT_COUNT; ++element) { - if (!LooksLikeFloat(tokens[element].c_str(), outVector ? &vectorValues[element] : nullptr)) - { - return false; - } + outVector->SetElement(element, vectorValues[element]); } - - if (outVector) - { - for (uint32_t element = 0; element < ELEMENT_COUNT; ++element) - { - outVector->SetElement(element, vectorValues[element]); - } - } - - return true; } - return false; - } - - bool LooksLikeVector2(const char* in, AZ::Vector2* outVector) - { - return LooksLikeVectorHelper(in, outVector); - } - - AZ::Vector2 ToVector2(const char* in) - { - AZ::Vector2 vector; - LooksLikeVector2(in, &vector); - return vector; - } - - bool LooksLikeVector3(const char* in, AZ::Vector3* outVector) - { - return LooksLikeVectorHelper(in, outVector); - } - - AZ::Vector3 ToVector3(const char* in) - { - AZ::Vector3 vector; - LooksLikeVector3(in, &vector); - return vector; - } - - bool LooksLikeVector4(const char* in, AZ::Vector4* outVector) - { - return LooksLikeVectorHelper(in, outVector); - } - - AZ::Vector4 ToVector4(const char* in) - { - AZ::Vector4 vector; - LooksLikeVector4(in, &vector); - return vector; - } - - bool ToHexDump(const char* in, AZStd::string& out) - { - struct TInline - { - static void ByteToHex(char* pszHex, unsigned char bValue) - { - pszHex[0] = bValue / 16; - - if (pszHex[0] < 10) - { - pszHex[0] += '0'; - } - else - { - pszHex[0] -= 10; - pszHex[0] += 'A'; - } - - pszHex[1] = bValue % 16; - - if (pszHex[1] < 10) - { - pszHex[1] += '0'; - } - else - { - pszHex[1] -= 10; - pszHex[1] += 'A'; - } - } - }; - - size_t len = strlen(in); - if (len < 1) //must be at least 1 character to work with - { - return false; - } - - size_t nBytes = len; - - char* pszData = reinterpret_cast(azmalloc((nBytes * 2) + 1)); - - for (size_t ii = 0; ii < nBytes; ++ii) - { - TInline::ByteToHex(&pszData[ii * 2], in[ii]); - } - - pszData[nBytes * 2] = 0x00; - out = pszData; - azfree(pszData); - return true; } - bool FromHexDump(const char* in, AZStd::string& out) + return false; + } + + bool LooksLikeVector2(const char* in, AZ::Vector2* outVector) + { + return LooksLikeVectorHelper(in, outVector); + } + + AZ::Vector2 ToVector2(const char* in) + { + AZ::Vector2 vector; + LooksLikeVector2(in, &vector); + return vector; + } + + bool LooksLikeVector3(const char* in, AZ::Vector3* outVector) + { + return LooksLikeVectorHelper(in, outVector); + } + + AZ::Vector3 ToVector3(const char* in) + { + AZ::Vector3 vector; + LooksLikeVector3(in, &vector); + return vector; + } + + bool LooksLikeVector4(const char* in, AZ::Vector4* outVector) + { + return LooksLikeVectorHelper(in, outVector); + } + + AZ::Vector4 ToVector4(const char* in) + { + AZ::Vector4 vector; + LooksLikeVector4(in, &vector); + return vector; + } + + bool ToHexDump(const char* in, AZStd::string& out) + { + struct TInline { - struct TInline + static void ByteToHex(char* pszHex, unsigned char bValue) { - static unsigned char HexToByte(const char* pszHex) + pszHex[0] = bValue / 16; + + if (pszHex[0] < 10) { - unsigned char bHigh = 0; - unsigned char bLow = 0; - - if ((pszHex[0] >= '0') && (pszHex[0] <= '9')) - { - bHigh = pszHex[0] - '0'; - } - else if ((pszHex[0] >= 'A') && (pszHex[0] <= 'F')) - { - bHigh = (pszHex[0] - 'A') + 10; - } - - bHigh = bHigh << 4; - - if ((pszHex[1] >= '0') && (pszHex[1] <= '9')) - { - bLow = pszHex[1] - '0'; - } - else if ((pszHex[1] >= 'A') && (pszHex[1] <= 'F')) - { - bLow = (pszHex[1] - 'A') + 10; - } - - return bHigh | bLow; - } - }; - - size_t len = strlen(in); - if (len < 2) //must be at least 2 characters to work with - { - return false; - } - - size_t nBytes = len / 2; - char* pszData = reinterpret_cast(azmalloc(nBytes + 1)); - - for (size_t ii = 0; ii < nBytes; ++ii) - { - pszData[ii] = TInline::HexToByte(&in[ii * 2]); - } - - pszData[nBytes] = 0x00; - out = pszData; - azfree(pszData); - - return true; - } - - namespace NumberFormatting - { - int GroupDigits(char* buffer, size_t bufferSize, size_t decimalPosHint, char digitSeparator, char decimalSeparator, int groupingSize, int firstGroupingSize) - { - static const int MAX_SEPARATORS = 16; - - AZ_Assert(buffer, "Null string buffer"); - AZ_Assert(bufferSize > decimalPosHint, "Decimal position %lu cannot be located beyond bufferSize %lu", decimalPosHint, bufferSize); - AZ_Assert(groupingSize > 0, "Grouping size must be a positive integer"); - - int numberEndPos = 0; - int stringEndPos = 0; - - if (decimalPosHint > 0 && decimalPosHint < (bufferSize - 1) && buffer[decimalPosHint] == decimalSeparator) - { - // Assume the number ends at the supplied location - numberEndPos = (int)decimalPosHint; - stringEndPos = numberEndPos + (int)strnlen(buffer + numberEndPos, bufferSize - numberEndPos); + pszHex[0] += '0'; } else { - // Search for the final digit or separator while obtaining the string length - int lastDigitSeenPos = 0; - - while (stringEndPos < bufferSize) - { - char c = buffer[stringEndPos]; - - if (!c) - { - break; - } - else if (c == decimalSeparator) - { - // End the number if there's a decimal - numberEndPos = stringEndPos; - } - else if (numberEndPos <= 0 && c >= '0' && c <= '9') - { - // Otherwise keep track of where the last digit we've seen is - lastDigitSeenPos = stringEndPos; - } - - stringEndPos++; - } - - if (numberEndPos <= 0) - { - if (lastDigitSeenPos > 0) - { - // No decimal, so use the last seen digit as the end of the number - numberEndPos = lastDigitSeenPos + 1; - } - else - { - // No digits, no decimals, therefore no change in the string - return stringEndPos; - } - } + pszHex[0] -= 10; + pszHex[0] += 'A'; } - if (firstGroupingSize <= 0) + pszHex[1] = bValue % 16; + + if (pszHex[1] < 10) { - firstGroupingSize = groupingSize; + pszHex[1] += '0'; + } + else + { + pszHex[1] -= 10; + pszHex[1] += 'A'; + } + } + }; + + size_t len = strlen(in); + if (len < 1) //must be at least 1 character to work with + { + return false; + } + + size_t nBytes = len; + + char* pszData = reinterpret_cast(azmalloc((nBytes * 2) + 1)); + + for (size_t ii = 0; ii < nBytes; ++ii) + { + TInline::ByteToHex(&pszData[ii * 2], in[ii]); + } + + pszData[nBytes * 2] = 0x00; + out = pszData; + azfree(pszData); + + return true; + } + + bool FromHexDump(const char* in, AZStd::string& out) + { + struct TInline + { + static unsigned char HexToByte(const char* pszHex) + { + unsigned char bHigh = 0; + unsigned char bLow = 0; + + if ((pszHex[0] >= '0') && (pszHex[0] <= '9')) + { + bHigh = pszHex[0] - '0'; + } + else if ((pszHex[0] >= 'A') && (pszHex[0] <= 'F')) + { + bHigh = (pszHex[0] - 'A') + 10; } - // Determine where to place the separators - int groupingSizes[] = { firstGroupingSize + 1, groupingSize }; // First group gets +1 since we begin all subsequent groups at the second digit - int groupingOffsetsToNext[] = { 1, 0 }; // We will offset from the first entry to the second, then stay at the second for remaining iterations - const int* currentGroupingSize = groupingSizes; - const int* currentGroupingOffsetToNext = groupingOffsetsToNext; - AZStd::fixed_vector separatorLocations; - int groupCounter = 0; - int digitPosition = numberEndPos - 1; + bHigh = bHigh << 4; - while (digitPosition >= 0) + if ((pszHex[1] >= '0') && (pszHex[1] <= '9')) { - // Walk backwards in the string from the least significant digit to the most significant, demarcating consecutive groups of digits - char c = buffer[digitPosition]; + bLow = pszHex[1] - '0'; + } + else if ((pszHex[1] >= 'A') && (pszHex[1] <= 'F')) + { + bLow = (pszHex[1] - 'A') + 10; + } - if (c >= '0' && c <= '9') - { - if (++groupCounter == *currentGroupingSize) - { - // Demarcate a new group of digits at this location - separatorLocations.push_back(buffer + digitPosition); - currentGroupingSize += *currentGroupingOffsetToNext; - currentGroupingOffsetToNext += *currentGroupingOffsetToNext; - groupCounter = 0; - } + return bHigh | bLow; + } + }; - digitPosition--; - } - else + size_t len = strlen(in); + if (len < 2) //must be at least 2 characters to work with + { + return false; + } + + size_t nBytes = len / 2; + char* pszData = reinterpret_cast(azmalloc(nBytes + 1)); + + for (size_t ii = 0; ii < nBytes; ++ii) + { + pszData[ii] = TInline::HexToByte(&in[ii * 2]); + } + + pszData[nBytes] = 0x00; + out = pszData; + azfree(pszData); + + return true; + } + + namespace NumberFormatting + { + int GroupDigits(char* buffer, size_t bufferSize, size_t decimalPosHint, char digitSeparator, char decimalSeparator, int groupingSize, int firstGroupingSize) + { + static const int MAX_SEPARATORS = 16; + + AZ_Assert(buffer, "Null string buffer"); + AZ_Assert(bufferSize > decimalPosHint, "Decimal position %lu cannot be located beyond bufferSize %lu", decimalPosHint, bufferSize); + AZ_Assert(groupingSize > 0, "Grouping size must be a positive integer"); + + int numberEndPos = 0; + int stringEndPos = 0; + + if (decimalPosHint > 0 && decimalPosHint < (bufferSize - 1) && buffer[decimalPosHint] == decimalSeparator) + { + // Assume the number ends at the supplied location + numberEndPos = (int)decimalPosHint; + stringEndPos = numberEndPos + (int)strnlen(buffer + numberEndPos, bufferSize - numberEndPos); + } + else + { + // Search for the final digit or separator while obtaining the string length + int lastDigitSeenPos = 0; + + while (stringEndPos < bufferSize) + { + char c = buffer[stringEndPos]; + + if (!c) { break; } - } - - if (stringEndPos + separatorLocations.size() >= bufferSize) - { - // Won't fit into buffer, so return unchanged - return stringEndPos; - } - - // Insert the separators by shifting characters forward in the string, starting at the end and working backwards - const char* src = buffer + stringEndPos; - char* dest = buffer + stringEndPos + separatorLocations.size(); - auto separatorItr = separatorLocations.begin(); - - while (separatorItr != separatorLocations.end()) - { - while (src > *separatorItr) + else if (c == decimalSeparator) { - *dest-- = *src--; + // End the number if there's a decimal + numberEndPos = stringEndPos; + } + else if (numberEndPos <= 0 && c >= '0' && c <= '9') + { + // Otherwise keep track of where the last digit we've seen is + lastDigitSeenPos = stringEndPos; } - // Insert the separator and reduce the distance between our destination and source by one - *dest-- = digitSeparator; - ++separatorItr; + stringEndPos++; } - return (int)(stringEndPos + separatorLocations.size()); - } - } - - namespace AssetPath - { - namespace Internal - { - AZ::u32 CalculateBranchTokenHash(AZStd::string_view engineRootPath) + if (numberEndPos <= 0) { - // Normalize the token to prepare for CRC32 calculation - auto NormalizeEnginePath = [](const char element) -> char + if (lastDigitSeenPos > 0) { - // Substitute path separators with '_' and lower case - return element == AZ::IO::WindowsPathSeparator || element == AZ::IO::PosixPathSeparator - ? '_' : static_cast(std::tolower(element)); - }; - - // Trim off trailing path separators - engineRootPath = RStrip(engineRootPath, AZ_CORRECT_AND_WRONG_FILESYSTEM_SEPARATOR); - AZ::IO::FixedMaxPathString enginePath; - AZStd::transform(engineRootPath.begin(), engineRootPath.end(), - AZStd::back_inserter(enginePath), AZStd::move(NormalizeEnginePath)); - - // Perform the CRC32 calculation - constexpr bool forceLowercase = true; - return static_cast(AZ::Crc32(enginePath.c_str(), enginePath.size(), forceLowercase)); + // No decimal, so use the last seen digit as the end of the number + numberEndPos = lastDigitSeenPos + 1; + } + else + { + // No digits, no decimals, therefore no change in the string + return stringEndPos; + } } } - void CalculateBranchToken(AZStd::string_view engineRootPath, AZStd::string& token) + + if (firstGroupingSize <= 0) { - token = AZStd::string::format("0x%08X", Internal::CalculateBranchTokenHash(engineRootPath)); + firstGroupingSize = groupingSize; } - void CalculateBranchToken(AZStd::string_view engineRootPath, AZ::IO::FixedMaxPathString& token) + + // Determine where to place the separators + int groupingSizes[] = { firstGroupingSize + 1, groupingSize }; // First group gets +1 since we begin all subsequent groups at the second digit + int groupingOffsetsToNext[] = { 1, 0 }; // We will offset from the first entry to the second, then stay at the second for remaining iterations + const int* currentGroupingSize = groupingSizes; + const int* currentGroupingOffsetToNext = groupingOffsetsToNext; + AZStd::fixed_vector separatorLocations; + int groupCounter = 0; + int digitPosition = numberEndPos - 1; + + while (digitPosition >= 0) { - token = AZ::IO::FixedMaxPathString::format("0x%08X", Internal::CalculateBranchTokenHash(engineRootPath)); + // Walk backwards in the string from the least significant digit to the most significant, demarcating consecutive groups of digits + char c = buffer[digitPosition]; + + if (c >= '0' && c <= '9') + { + if (++groupCounter == *currentGroupingSize) + { + // Demarcate a new group of digits at this location + separatorLocations.push_back(buffer + digitPosition); + currentGroupingSize += *currentGroupingOffsetToNext; + currentGroupingOffsetToNext += *currentGroupingOffsetToNext; + groupCounter = 0; + } + + digitPosition--; + } + else + { + break; + } } + + if (stringEndPos + separatorLocations.size() >= bufferSize) + { + // Won't fit into buffer, so return unchanged + return stringEndPos; + } + + // Insert the separators by shifting characters forward in the string, starting at the end and working backwards + const char* src = buffer + stringEndPos; + char* dest = buffer + stringEndPos + separatorLocations.size(); + auto separatorItr = separatorLocations.begin(); + + while (separatorItr != separatorLocations.end()) + { + while (src > *separatorItr) + { + *dest-- = *src--; + } + + // Insert the separator and reduce the distance between our destination and source by one + *dest-- = digitSeparator; + ++separatorItr; + } + + return (int)(stringEndPos + separatorLocations.size()); + } + } + + namespace AssetPath + { + namespace Internal + { + AZ::u32 CalculateBranchTokenHash(AZStd::string_view engineRootPath) + { + // Normalize the token to prepare for CRC32 calculation + auto NormalizeEnginePath = [](const char element) -> char + { + // Substitute path separators with '_' and lower case + return element == AZ::IO::WindowsPathSeparator || element == AZ::IO::PosixPathSeparator + ? '_' + : static_cast(std::tolower(element)); + }; + + // Trim off trailing path separators + engineRootPath = RStrip(engineRootPath, AZ_CORRECT_AND_WRONG_FILESYSTEM_SEPARATOR); + AZ::IO::FixedMaxPathString enginePath; + AZStd::transform( + engineRootPath.begin(), engineRootPath.end(), AZStd::back_inserter(enginePath), AZStd::move(NormalizeEnginePath)); + + // Perform the CRC32 calculation + constexpr bool forceLowercase = true; + return static_cast(AZ::Crc32(enginePath.c_str(), enginePath.size(), forceLowercase)); + } + } // namespace Internal + void CalculateBranchToken(AZStd::string_view engineRootPath, AZStd::string& token) + { + token = AZStd::string::format("0x%08X", Internal::CalculateBranchTokenHash(engineRootPath)); + } + void CalculateBranchToken(AZStd::string_view engineRootPath, AZ::IO::FixedMaxPathString& token) + { + token = AZ::IO::FixedMaxPathString::format("0x%08X", Internal::CalculateBranchTokenHash(engineRootPath)); + } + } // namespace AssetPath + + namespace AssetDatabasePath + { + bool Normalize(AZStd::string& inout) + { + // Asset Paths uses the forward slash for the database separator + AZ::IO::Path path(AZStd::move(inout), AZ_CORRECT_DATABASE_SEPARATOR); + bool appendTrailingSlash = (path.Native().ends_with(AZ_CORRECT_DATABASE_SEPARATOR) || path.Native().ends_with(AZ_WRONG_DATABASE_SEPARATOR)) + && path.HasRelativePath(); + inout = AZStd::move(path.LexicallyNormal().Native()); + if (appendTrailingSlash) + { + inout.push_back(AZ_CORRECT_DATABASE_SEPARATOR); + } + return IsValid(inout.c_str()); } - namespace AssetDatabasePath + bool IsValid(const char* in) { - bool Normalize(AZStd::string& inout) + if (!in) { - // Asset Paths uses the forward slash for the database separator - AZ::IO::Path path(AZStd::move(inout), AZ_CORRECT_DATABASE_SEPARATOR); - bool appendTrailingSlash = (path.Native().ends_with(AZ_CORRECT_DATABASE_SEPARATOR) || path.Native().ends_with(AZ_WRONG_DATABASE_SEPARATOR)) - && path.HasRelativePath(); - inout = AZStd::move(path.LexicallyNormal().Native()); - if (appendTrailingSlash) - { - inout.push_back(AZ_CORRECT_DATABASE_SEPARATOR); - } - return IsValid(inout.c_str()); + return false; } - bool IsValid(const char* in) + if (!strlen(in)) { - if (!in) - { - return false; - } + return false; + } - if (!strlen(in)) - { - return false; - } + if (Find(in, AZ_DATABASE_INVALID_CHARACTERS) != AZStd::string::npos) + { + return false; + } - if (Find(in, AZ_DATABASE_INVALID_CHARACTERS) != AZStd::string::npos) - { - return false; - } - - if (Find(in, AZ_WRONG_DATABASE_SEPARATOR) != AZStd::string::npos) - { - return false; - } + if (Find(in, AZ_WRONG_DATABASE_SEPARATOR) != AZStd::string::npos) + { + return false; + } #ifndef AZ_FILENAME_ALLOW_SPACES - if (Find(in, AZ_SPACE_CHARACTERS) != AZStd::string::npos) - { - return false; - } + if (Find(in, AZ_SPACE_CHARACTERS) != AZStd::string::npos) + { + return false; + } #endif // AZ_FILENAME_ALLOW_SPACES - if (LastCharacter(in) == AZ_CORRECT_DATABASE_SEPARATOR) - { - return false; - } - - return true; - } - - bool Split(const char* in, [[maybe_unused]] AZStd::string* pDstProjectRootOut, AZStd::string* pDstDatabaseRootOut, - AZStd::string* pDstDatabasePathOut , AZStd::string* pDstFileOut, AZStd::string* pDstFileExtensionOut) + if (LastCharacter(in) == AZ_CORRECT_DATABASE_SEPARATOR) { - AZStd::string_view path{ in }; - if (path.empty()) - { - return false; - } - - AZ::IO::PathView pathView(path, AZ_CORRECT_DATABASE_SEPARATOR); - if (pDstDatabaseRootOut) - { - AZStd::string_view rootNameView = pathView.RootName().Native(); - if (rootNameView.size() > pDstDatabaseRootOut->max_size()) - { - return false; - } - *pDstDatabaseRootOut = rootNameView; - } - if (pDstDatabasePathOut) - { - AZStd::string_view rootPathView = pathView.RootPath().Native(); - AZStd::string_view relPathParentView = pathView.ParentPath().RelativePath().Native(); - if (rootPathView.size() + relPathParentView.size() > pDstDatabasePathOut->max_size()) - { - return false; - } - // Append the root directory if there is one - *pDstDatabasePathOut = rootPathView; - // Append the relative path portion of the split path excluding the filename - *pDstDatabasePathOut += relPathParentView; - } - if (pDstFileOut) - { - AZStd::string_view stemView = pathView.Stem().Native(); - if (stemView.size() > pDstFileOut->max_size()) - { - return false; - } - *pDstFileOut = stemView; - } - if (pDstFileExtensionOut) - { - AZStd::string_view extensionView = pathView.Extension().Native(); - if (extensionView.size() > pDstFileExtensionOut->max_size()) - { - return false; - } - *pDstFileExtensionOut = extensionView; - } - - return true; + return false; } - bool Join(const char* pFirstPart, const char* pSecondPart, AZStd::string& out, [[maybe_unused]] bool bCaseInsensitive /*= true*/, bool bNormalize /*= true*/) - { - // both paths cannot be empty - if (!pFirstPart || !pSecondPart) - { - return false; - } + return true; + } - AZ::IO::PathView secondPath(pSecondPart); - AZ_Warning("StringFunc", secondPath.IsRelative(), "The second join parameter %s is an absolute path," - " this will replace the first part of the path resulting in an output of just the second part", - pSecondPart); - - AZ::IO::Path resultPath(pFirstPart, AZ_CORRECT_DATABASE_SEPARATOR); - resultPath /= secondPath; - out = bNormalize ? AZStd::move(resultPath.LexicallyNormal().Native()) : AZStd::move(resultPath.Native()); - return true; - } - } //namespace AssetDatabasePath - - namespace Root + bool Split(const char* in, [[maybe_unused]] AZStd::string* pDstProjectRootOut, AZStd::string* pDstDatabaseRootOut, + AZStd::string* pDstDatabasePathOut , AZStd::string* pDstFileOut, AZStd::string* pDstFileExtensionOut) { - bool Normalize(AZStd::string& inout) + AZStd::string_view path{ in }; + if (path.empty()) { - AZ::IO::Path path(AZStd::move(inout)); - path = path.LexicallyNormal(); - // After normalization check if the path contains a relative path - bool appendTrailingSlash = path.HasRelativePath(); - inout = AZStd::move(path.Native()); - if (appendTrailingSlash) - { - inout.push_back(AZ_CORRECT_FILESYSTEM_SEPARATOR); // Append a trailing separator for Root path normalization - } - return IsValid(inout.c_str()); + return false; } - bool IsValid(const char* in) + AZ::IO::PathView pathView(path, AZ_CORRECT_DATABASE_SEPARATOR); + if (pDstDatabaseRootOut) { - if (!in) + AZStd::string_view rootNameView = pathView.RootName().Native(); + if (rootNameView.size() > pDstDatabaseRootOut->max_size()) { return false; } - - if (!strlen(in)) + *pDstDatabaseRootOut = rootNameView; + } + if (pDstDatabasePathOut) + { + AZStd::string_view rootPathView = pathView.RootPath().Native(); + AZStd::string_view relPathParentView = pathView.ParentPath().RelativePath().Native(); + if (rootPathView.size() + relPathParentView.size() > pDstDatabasePathOut->max_size()) { return false; } - - if (Find(in, AZ_FILESYSTEM_INVALID_CHARACTERS) != AZStd::string::npos) + // Append the root directory if there is one + *pDstDatabasePathOut = rootPathView; + // Append the relative path portion of the split path excluding the filename + *pDstDatabasePathOut += relPathParentView; + } + if (pDstFileOut) + { + AZStd::string_view stemView = pathView.Stem().Native(); + if (stemView.size() > pDstFileOut->max_size()) { return false; } - - if (Find(in, AZ_WRONG_FILESYSTEM_SEPARATOR) != AZStd::string::npos) + *pDstFileOut = stemView; + } + if (pDstFileExtensionOut) + { + AZStd::string_view extensionView = pathView.Extension().Native(); + if (extensionView.size() > pDstFileExtensionOut->max_size()) { return false; } + *pDstFileExtensionOut = extensionView; + } - #ifndef AZ_FILENAME_ALLOW_SPACES - if (Find(in, AZ_SPACE_CHARACTERS) != AZStd::string::npos) - { - return false; - } - #endif // AZ_FILENAME_ALLOW_SPACES + return true; + } - AZ::IO::PathView pathView(in); - if (!pathView.HasRootPath()) - { - return false; - } + bool Join(const char* pFirstPart, const char* pSecondPart, AZStd::string& out, [[maybe_unused]] bool bCaseInsensitive /*= true*/, bool bNormalize /*= true*/) + { + // both paths cannot be empty + if (!pFirstPart || !pSecondPart) + { + return false; + } - if (LastCharacter(in) != AZ_CORRECT_FILESYSTEM_SEPARATOR) - { - return false; - } + AZ::IO::PathView secondPath(pSecondPart); + AZ_Warning("StringFunc", secondPath.IsRelative(), "The second join parameter %s is an absolute path," + " this will replace the first part of the path resulting in an output of just the second part", + pSecondPart); + AZ::IO::Path resultPath(pFirstPart, AZ_CORRECT_DATABASE_SEPARATOR); + resultPath /= secondPath; + out = bNormalize ? AZStd::move(resultPath.LexicallyNormal().Native()) : AZStd::move(resultPath.Native()); + return true; + } + } //namespace AssetDatabasePath + + namespace Root + { + bool Normalize(AZStd::string& inout) + { + AZ::IO::Path path(AZStd::move(inout)); + path = path.LexicallyNormal(); + // After normalization check if the path contains a relative path + bool appendTrailingSlash = path.HasRelativePath(); + inout = AZStd::move(path.Native()); + if (appendTrailingSlash) + { + inout.push_back(AZ_CORRECT_FILESYSTEM_SEPARATOR); // Append a trailing separator for Root path normalization + } + return IsValid(inout.c_str()); + } + + bool IsValid(const char* in) + { + if (!in) + { + return false; + } + + if (!strlen(in)) + { + return false; + } + + if (Find(in, AZ_FILESYSTEM_INVALID_CHARACTERS) != AZStd::string::npos) + { + return false; + } + + if (Find(in, AZ_WRONG_FILESYSTEM_SEPARATOR) != AZStd::string::npos) + { + return false; + } + +#ifndef AZ_FILENAME_ALLOW_SPACES + if (Find(in, AZ_SPACE_CHARACTERS) != AZStd::string::npos) + { + return false; + } +#endif // AZ_FILENAME_ALLOW_SPACES + + AZ::IO::PathView pathView(in); + if (!pathView.HasRootPath()) + { + return false; + } + + if (LastCharacter(in) != AZ_CORRECT_FILESYSTEM_SEPARATOR) + { + return false; + } + + return true; + } + }//namespace Root + + namespace RelativePath + { + bool Normalize(AZStd::string& inout) + { + AZ::IO::Path path(AZStd::move(inout)); + path = path.LexicallyNormal(); + // After normalization check if the path contains a relative path + bool appendTrailingSlash = path.HasRelativePath(); + inout = AZStd::move(path.Native()); + if (appendTrailingSlash) + { + inout.push_back(AZ_CORRECT_FILESYSTEM_SEPARATOR); // Append trailing separator for Relative path normalization if it it is not empty + } + return IsValid(inout.c_str()); + } + + bool IsValid(const char* in) + { + if (!in) + { + return false; + } + + if (!strlen(in)) + { return true; } - }//namespace Root - namespace RelativePath + if (Find(in, AZ_FILESYSTEM_INVALID_CHARACTERS) != AZStd::string::npos) + { + return false; + } + + if (Find(in, AZ_WRONG_FILESYSTEM_SEPARATOR) != AZStd::string::npos) + { + return false; + } + +#ifndef AZ_FILENAME_ALLOW_SPACES + if (Find(in, AZ_SPACE_CHARACTERS) != AZStd::string::npos) + { + return false; + } +#endif // AZ_FILENAME_ALLOW_SPACES + + if (Path::HasDrive(in)) + { + return false; + } + + if (FirstCharacter(in) == AZ_CORRECT_FILESYSTEM_SEPARATOR) + { + return false; + } + + if (LastCharacter(in) != AZ_CORRECT_FILESYSTEM_SEPARATOR) + { + return false; + } + + return true; + } + }//namespace RelativePath + + namespace Path + { + bool Normalize(AZStd::string& inout) { - bool Normalize(AZStd::string& inout) + AZ::IO::Path path(AZStd::move(inout)); + bool appendTrailingSlash = (path.Native().ends_with(AZ_CORRECT_FILESYSTEM_SEPARATOR) || path.Native().ends_with(AZ_WRONG_FILESYSTEM_SEPARATOR)); + path = path.LexicallyNormal(); + // After normalization check if the path contains a relative path and addition to ending with a path separator before + appendTrailingSlash = appendTrailingSlash && path.HasRelativePath(); + inout = AZStd::move(path.Native()); + if (appendTrailingSlash) { - AZ::IO::Path path(AZStd::move(inout)); - path = path.LexicallyNormal(); - // After normalization check if the path contains a relative path - bool appendTrailingSlash = path.HasRelativePath(); - inout = AZStd::move(path.Native()); - if (appendTrailingSlash) - { - inout.push_back(AZ_CORRECT_FILESYSTEM_SEPARATOR); // Append trailing separator for Relative path normalization if it it is not empty - } - return IsValid(inout.c_str()); + inout.push_back(AZ_CORRECT_FILESYSTEM_SEPARATOR); } + return IsValid(inout.c_str()); + } - bool IsValid(const char* in) - { - if (!in) - { - return false; - } - - if (!strlen(in)) - { - return true; - } - - if (Find(in, AZ_FILESYSTEM_INVALID_CHARACTERS) != AZStd::string::npos) - { - return false; - } - - if (Find(in, AZ_WRONG_FILESYSTEM_SEPARATOR) != AZStd::string::npos) - { - return false; - } - - #ifndef AZ_FILENAME_ALLOW_SPACES - if (Find(in, AZ_SPACE_CHARACTERS) != AZStd::string::npos) - { - return false; - } - #endif // AZ_FILENAME_ALLOW_SPACES - - if (Path::HasDrive(in)) - { - return false; - } - - if (FirstCharacter(in) == AZ_CORRECT_FILESYSTEM_SEPARATOR) - { - return false; - } - - if (LastCharacter(in) != AZ_CORRECT_FILESYSTEM_SEPARATOR) - { - return false; - } - - return true; - } - }//namespace RelativePath - - namespace Path + bool Normalize(FixedString& inout) { - bool Normalize(AZStd::string& inout) + AZ::IO::FixedMaxPath path(AZStd::move(inout)); + bool appendTrailingSlash = (path.Native().ends_with(AZ_CORRECT_FILESYSTEM_SEPARATOR) || path.Native().ends_with(AZ_WRONG_FILESYSTEM_SEPARATOR)); + path = path.LexicallyNormal(); + // After normalization check if the path contains a relative path and addition to ending with a path separator before + appendTrailingSlash = appendTrailingSlash && path.HasRelativePath(); + inout = AZStd::move(path.Native()); + if (appendTrailingSlash) { - AZ::IO::Path path(AZStd::move(inout)); - bool appendTrailingSlash = (path.Native().ends_with(AZ_CORRECT_FILESYSTEM_SEPARATOR) || path.Native().ends_with(AZ_WRONG_FILESYSTEM_SEPARATOR)); - path = path.LexicallyNormal(); - // After normalization check if the path contains a relative path and addition to ending with a path separator before - appendTrailingSlash = appendTrailingSlash && path.HasRelativePath(); - inout = AZStd::move(path.Native()); - if (appendTrailingSlash) - { - inout.push_back(AZ_CORRECT_FILESYSTEM_SEPARATOR); - } - return IsValid(inout.c_str()); + inout.push_back(AZ_CORRECT_FILESYSTEM_SEPARATOR); + } + return IsValid(inout.c_str()); + } + + bool IsValid(const char* in, bool bHasDrive /*= false*/, bool bHasExtension /*= false*/, AZStd::string* errors /*= nullptr*/) + { + //if they gave us a error reporting string empty it. + if (errors) + { + errors->clear(); } - bool Normalize(FixedString& inout) + //empty is not a valid path + if (!in) { - AZ::IO::FixedMaxPath path(AZStd::move(inout)); - bool appendTrailingSlash = (path.Native().ends_with(AZ_CORRECT_FILESYSTEM_SEPARATOR) || path.Native().ends_with(AZ_WRONG_FILESYSTEM_SEPARATOR)); - path = path.LexicallyNormal(); - // After normalization check if the path contains a relative path and addition to ending with a path separator before - appendTrailingSlash = appendTrailingSlash && path.HasRelativePath(); - inout = AZStd::move(path.Native()); - if (appendTrailingSlash) - { - inout.push_back(AZ_CORRECT_FILESYSTEM_SEPARATOR); - } - return IsValid(inout.c_str()); - } - - bool IsValid(const char* in, bool bHasDrive /*= false*/, bool bHasExtension /*= false*/, AZStd::string* errors /*= nullptr*/) - { - //if they gave us a error reporting string empty it. if (errors) { - errors->clear(); + *errors += "The path is Empty."; } + return false; + } - //empty is not a valid path - if (!in) + //empty is not a valid path + size_t length = strlen(in); + if (!length) + { + if (errors) { - if (errors) - { - *errors += "The path is Empty."; - } - return false; + *errors += "The path is Empty."; } + return false; + } - //empty is not a valid path - size_t length = strlen(in); - if (!length) + //invalid characters + const char* inEnd = in + length; + const char* invalidCharactersBegin = AZ_FILESYSTEM_INVALID_CHARACTERS; + const char* invalidCharactersEnd = invalidCharactersBegin + AZ_ARRAY_SIZE(AZ_FILESYSTEM_INVALID_CHARACTERS); + if (AZStd::find_first_of(in, inEnd, invalidCharactersBegin, invalidCharactersEnd) != inEnd) + { + if (errors) { - if (errors) - { - *errors += "The path is Empty."; - } - return false; + *errors += "The path has invalid characters."; } + return false; + } - //invalid characters - const char* inEnd = in + length; - const char* invalidCharactersBegin = AZ_FILESYSTEM_INVALID_CHARACTERS; - const char* invalidCharactersEnd = invalidCharactersBegin + AZ_ARRAY_SIZE(AZ_FILESYSTEM_INVALID_CHARACTERS); - if (AZStd::find_first_of(in, inEnd, invalidCharactersBegin, invalidCharactersEnd) != inEnd) + //invalid characters + if (Find(in, AZ_WRONG_FILESYSTEM_SEPARATOR) != AZStd::string::npos) + { + if (errors) { - if (errors) - { - *errors += "The path has invalid characters."; - } - return false; + *errors += "The path has wrong separator."; } + return false; + } - //invalid characters - if (Find(in, AZ_WRONG_FILESYSTEM_SEPARATOR) != AZStd::string::npos) +#ifndef AZ_FILENAME_ALLOW_SPACES + const char* spaceCharactersBegin = AZ_SPACE_CHARACTERS; + const char* spaceCharactersEnd = spaceCharactersBegin + AZ_ARRAY_SIZE(AZ_SPACE_CHARACTERS); + if (AZStd::find_first_of(in, inEnd, spaceCharactersBegin, spaceCharactersEnd) != inEnd) + { + if (errors) { - if (errors) - { - *errors += "The path has wrong separator."; - } - return false; + *errors += "The path has space characters."; } + return false; + } +#endif // AZ_FILENAME_ALLOW_SPACES - #ifndef AZ_FILENAME_ALLOW_SPACES - const char* spaceCharactersBegin = AZ_SPACE_CHARACTERS; - const char* spaceCharactersEnd = spaceCharactersBegin + AZ_ARRAY_SIZE(AZ_SPACE_CHARACTERS); - if (AZStd::find_first_of(in, inEnd, spaceCharactersBegin, spaceCharactersEnd) != inEnd) + //does it have a drive if specified + if (bHasDrive && !HasDrive(in)) + { + if (errors) { - if (errors) - { - *errors += "The path has space characters."; - } - return false; + *errors += "The path should have a drive. The path ["; + *errors += in; + *errors += "] is invalid."; } - #endif // AZ_FILENAME_ALLOW_SPACES + return false; + } - //does it have a drive if specified - if (bHasDrive && !HasDrive(in)) + //does it have and extension if specified + if (bHasExtension && !HasExtension(in)) + { + if (errors) { - if (errors) - { - *errors += "The path should have a drive. The path ["; - *errors += in; - *errors += "] is invalid."; - } - return false; + *errors += "The path should have the a file extension. The path ["; + *errors += in; + *errors += "] is invalid."; } + return false; + } - //does it have and extension if specified - if (bHasExtension && !HasExtension(in)) + //start at the beginning and walk down the characters of the path + const char* elementStart = in; + const char* walk = elementStart; + while (*walk) + { + if (*walk == AZ_CORRECT_FILESYSTEM_SEPARATOR) //is this the correct separator { - if (errors) - { - *errors += "The path should have the a file extension. The path ["; - *errors += in; - *errors += "] is invalid."; - } - return false; + elementStart = walk; } - - //start at the beginning and walk down the characters of the path - const char* elementStart = in; - const char* walk = elementStart; - while (*walk) +#if AZ_TRAIT_OS_USE_WINDOWS_FILE_PATHS + else if (*walk == AZ_FILESYSTEM_DRIVE_SEPARATOR) //is this the drive separator { - if (*walk == AZ_CORRECT_FILESYSTEM_SEPARATOR) //is this the correct separator - { - elementStart = walk; - } - #if AZ_TRAIT_OS_USE_WINDOWS_FILE_PATHS - else if (*walk == AZ_FILESYSTEM_DRIVE_SEPARATOR) //is this the drive separator - { - //A AZ_FILESYSTEM_DRIVE_SEPARATOR character con only occur in the first - //component of a valid path. If the elementStart is not GetBufferPtr() - //then we have past the first component - if (elementStart != in) - { - if (errors) - { - *errors += "There is a stray AZ_FILESYSTEM_DRIVE_SEPARATOR = "; - *errors += AZ_FILESYSTEM_DRIVE_SEPARATOR; - *errors += " found after the first component. The path ["; - *errors += in; - *errors += "] is invalid."; - } - return false; - } - } - #endif - #ifndef AZ_FILENAME_ALLOW_SPACES - else if (*walk == ' ') //is this a space + //A AZ_FILESYSTEM_DRIVE_SEPARATOR character con only occur in the first + //component of a valid path. If the elementStart is not GetBufferPtr() + //then we have past the first component + if (elementStart != in) { if (errors) { - *errors += "The component ["; - for (const char* c = elementStart + 1; c != walk; ++c) - { - *errors += *c; - } - *errors += "] has a SPACE character. The path ["; + *errors += "There is a stray AZ_FILESYSTEM_DRIVE_SEPARATOR = "; + *errors += AZ_FILESYSTEM_DRIVE_SEPARATOR; + *errors += " found after the first component. The path ["; *errors += in; *errors += "] is invalid."; } return false; } - #endif - - ++walk; } - - #if !AZ_TRAIT_OS_ALLOW_UNLIMITED_PATH_COMPONENT_LENGTH - //is this full path longer than AZ::IO::MaxPathLength (The longest a path with all components can possibly be)? - if (walk - in > AZ::IO::MaxPathLength) +#endif +#ifndef AZ_FILENAME_ALLOW_SPACES + else if (*walk == ' ') //is this a space { - if (errors != 0) + if (errors) { - *errors += "The path ["; + *errors += "The component ["; + for (const char* c = elementStart + 1; c != walk; ++c) + { + *errors += *c; + } + *errors += "] has a SPACE character. The path ["; *errors += in; - *errors += "] is over the AZ::IO::MaxPathLength = "; - char buf[64]; - _itoa_s(AZ::IO::MaxPathLength, buf, 10); - *errors += buf; - *errors += " characters total length limit."; + *errors += "] is invalid."; } return false; } - #endif +#endif - return true; + ++walk; } - bool ConstructFull(const char* pRootPath, const char* pFileName, AZStd::string& out, bool bNormalize /* = false*/) +#if !AZ_TRAIT_OS_ALLOW_UNLIMITED_PATH_COMPONENT_LENGTH + //is this full path longer than AZ::IO::MaxPathLength (The longest a path with all components can possibly be)? + if (walk - in > AZ::IO::MaxPathLength) { - if (!pRootPath || AZ::IO::PathView(pRootPath).IsRelative() - || !pFileName || AZ::IO::PathView(pFileName).IsAbsolute()) + if (errors != 0) { - return false; - } - AZ::IO::Path path(pRootPath); - path /= pFileName; - if (bNormalize) - { - out = AZStd::move(path.LexicallyNormal().Native()); - } - else - { - out = AZStd::move(path.Native()); - } - return IsValid(out.c_str()); - } - - bool ConstructFull(const char* pRootPath, const char* pFileName, const char* pFileExtension, AZStd::string& out, bool bNormalize /* = false*/) - { - if (!pRootPath || AZ::IO::PathView(pRootPath).IsRelative() - || !pFileName || AZ::IO::PathView(pFileName).IsAbsolute()) - { - return false; - } - AZ::IO::Path path(pRootPath); - path /= pFileName; - if (pFileExtension) - { - path.ReplaceExtension(pFileExtension); - } - if (bNormalize) - { - out = AZStd::move(path.LexicallyNormal().Native()); - } - else - { - out = AZStd::move(path.Native()); - } - return IsValid(out.c_str()); - } - - bool ConstructFull(const char* pRoot, const char* pRelativePath, const char* pFileName, const char* pFileExtension, AZStd::string& out, bool bNormalize /* = false*/) - { - if (!pRoot || AZ::IO::PathView(pRoot).IsRelative() - || !pRelativePath || AZ::IO::PathView(pRelativePath).IsAbsolute() - || !pFileName || AZ::IO::PathView(pFileName).IsAbsolute()) - { - return false; - } - AZ::IO::Path path(pRoot); - path /= pRelativePath; - path /= pFileName; - if (pFileExtension) - { - path.ReplaceExtension(pFileExtension); - } - if (bNormalize) - { - out = AZStd::move(path.LexicallyNormal().Native()); - } - else - { - out = AZStd::move(path.Native()); - } - return IsValid(out.c_str()); - } - - bool Split(const char* in, AZStd::string* pDstDrive, AZStd::string* pDstPath, AZStd::string* pDstName, AZStd::string* pDstExtension) - { - AZStd::string_view path{ in }; - if (path.empty()) - { - return false; - } - - AZ::IO::PathView pathView(path); - if (pDstDrive) - { - AZStd::string_view rootNameView = pathView.RootName().Native(); - if (rootNameView.size() > pDstDrive->max_size()) - { - return false; - } - *pDstDrive = rootNameView; - } - if (pDstPath) - { - AZStd::string_view rootDirectoryView = pathView.RootDirectory().Native(); - AZStd::string_view relPathParentView = pathView.ParentPath().RelativePath().Native(); - if (rootDirectoryView.size() + relPathParentView.size() > pDstPath->max_size()) - { - return false; - } - // Append the root directory if there is one - *pDstPath = rootDirectoryView; - // Append the relative path portion of the split path excluding the filename - *pDstPath += relPathParentView; - } - if (pDstName) - { - AZStd::string_view stemView = pathView.Stem().Native(); - if (stemView.size() > pDstName->max_size()) - { - return false; - } - *pDstName = stemView; - } - if (pDstExtension) - { - AZStd::string_view extensionView = pathView.Extension().Native(); - if (extensionView.size() > pDstExtension->max_size()) - { - return false; - } - *pDstExtension = extensionView; - } - - return true; - } - - bool Join(const char* pFirstPart, const char* pSecondPart, AZStd::string& out, [[maybe_unused]] bool bCaseInsensitive, bool bNormalize) - { - if (!pFirstPart || !pSecondPart) - { - return false; - } - - AZ::IO::PathView secondPath(pSecondPart); - AZ_Warning("StringFunc", secondPath.IsRelative(), "The second join parameter %s is an absolute path," - " this will replace the first part of the path resulting in an output of just the second part", - pSecondPart); - - AZ::IO::Path resultPath(pFirstPart); - resultPath /= secondPath; - out = bNormalize ? AZStd::move(resultPath.LexicallyNormal().Native()) : AZStd::move(resultPath.Native()); - return true; - } - - bool Join(const char* pFirstPart, const char* pSecondPart, FixedString& out, [[maybe_unused]] bool bCaseInsensitive, bool bNormalize) - { - if (!pFirstPart || !pSecondPart) - { - return false; - } - - AZ::IO::PathView secondPath(pSecondPart); - AZ_Warning("StringFunc", secondPath.IsRelative(), "The second join parameter %s is an absolute path," - " this will replace the first part of the path resulting in an output of just the second part", - pSecondPart); - - AZ::IO::FixedMaxPath resultPath(pFirstPart); - resultPath /= secondPath; - out = bNormalize ? AZStd::move(resultPath.LexicallyNormal().Native()) : AZStd::move(resultPath.Native()); - return true; - } - - bool HasDrive(const char* in, bool bCheckAllFileSystemFormats /*= false*/) - { - // no drive if empty - if (!in || in[0] == '\0') - { - return false; - } - AZ::IO::PathView pathView(in); - return pathView.HasRootName() || (bCheckAllFileSystemFormats && pathView.HasRootDirectory()); - } - - bool HasExtension(const char* in) - { - //it doesn't have an extension if it's empty - if (!in || in[0] == '\0') - { - return false; - } - - return AZ::IO::PathView(in).HasExtension(); - } - - bool IsExtension(const char* in, const char* pExtension, bool bCaseInsenitive /*= false*/) - { - //it doesn't have an extension if it's empty - if (!in || in[0] == '\0' || !pExtension || pExtension[0] == '\0') - { - return false; - } - - AZStd::string_view pathExtension = AZ::IO::PathView(in).Extension().Native(); - if (pathExtension.starts_with(AZ_FILESYSTEM_EXTENSION_SEPARATOR)) - { - pathExtension.remove_prefix(1); - } - AZStd::string_view extensionView(pExtension); - if (extensionView.starts_with(AZ_FILESYSTEM_EXTENSION_SEPARATOR)) - { - extensionView.remove_prefix(1); - } - - return AZStd::equal(pathExtension.begin(), pathExtension.end(), extensionView.begin(), extensionView.end(), - [bCaseInsenitive](const char lhs, const char rhs) - { - return !bCaseInsenitive ? lhs == rhs : tolower(lhs) == tolower(rhs); - }); - } - - bool IsRelative(const char* in) - { - //not relative if empty - if (!in || in[0] == '\0') - { - return false; - } - - return AZ::IO::PathView(in).IsRelative(); - } - - bool StripDrive(AZStd::string& inout) - { - AZ::IO::PathView pathView(inout); - AZ::IO::PathView rootNameView(pathView.RootName()); - if (!rootNameView.empty()) - { - inout.replace(0, rootNameView.Native().size(), ""); - return true; + *errors += "The path ["; + *errors += in; + *errors += "] is over the AZ::IO::MaxPathLength = "; + char buf[64]; + _itoa_s(AZ::IO::MaxPathLength, buf, 10); + *errors += buf; + *errors += " characters total length limit."; } return false; } +#endif - void StripPath(AZStd::string& inout) + return true; + } + + bool ConstructFull(const char* pRootPath, const char* pFileName, AZStd::string& out, bool bNormalize /* = false*/) + { + if (!pRootPath || AZ::IO::PathView(pRootPath).IsRelative() + || !pFileName || AZ::IO::PathView(pFileName).IsAbsolute()) { - inout = AZ::IO::PathView(inout).Filename().Native(); + return false; + } + AZ::IO::Path path(pRootPath); + path /= pFileName; + if (bNormalize) + { + out = AZStd::move(path.LexicallyNormal().Native()); + } + else + { + out = AZStd::move(path.Native()); + } + return IsValid(out.c_str()); + } + + bool ConstructFull(const char* pRootPath, const char* pFileName, const char* pFileExtension, AZStd::string& out, bool bNormalize /* = false*/) + { + if (!pRootPath || AZ::IO::PathView(pRootPath).IsRelative() + || !pFileName || AZ::IO::PathView(pFileName).IsAbsolute()) + { + return false; + } + AZ::IO::Path path(pRootPath); + path /= pFileName; + if (pFileExtension) + { + path.ReplaceExtension(pFileExtension); + } + if (bNormalize) + { + out = AZStd::move(path.LexicallyNormal().Native()); + } + else + { + out = AZStd::move(path.Native()); + } + return IsValid(out.c_str()); + } + + bool ConstructFull(const char* pRoot, const char* pRelativePath, const char* pFileName, const char* pFileExtension, AZStd::string& out, bool bNormalize /* = false*/) + { + if (!pRoot || AZ::IO::PathView(pRoot).IsRelative() + || !pRelativePath || AZ::IO::PathView(pRelativePath).IsAbsolute() + || !pFileName || AZ::IO::PathView(pFileName).IsAbsolute()) + { + return false; + } + AZ::IO::Path path(pRoot); + path /= pRelativePath; + path /= pFileName; + if (pFileExtension) + { + path.ReplaceExtension(pFileExtension); + } + if (bNormalize) + { + out = AZStd::move(path.LexicallyNormal().Native()); + } + else + { + out = AZStd::move(path.Native()); + } + return IsValid(out.c_str()); + } + + bool Split(const char* in, AZStd::string* pDstDrive, AZStd::string* pDstPath, AZStd::string* pDstName, AZStd::string* pDstExtension) + { + AZStd::string_view path{ in }; + if (path.empty()) + { + return false; } - void StripFullName(AZStd::string& inout) + AZ::IO::PathView pathView(path); + if (pDstDrive) { - inout = AZ::IO::Path(AZStd::move(inout)).RemoveFilename().Native(); - } - - void StripExtension(AZStd::string& inout) - { - AZ::IO::Path path(AZStd::move(inout)); - path.ReplaceExtension(); - inout = AZStd::move(path.Native()); - } - - bool StripComponent(AZStd::string& inout, bool bLastComponent /* = false*/) - { - AZ::IO::PathView pathView(inout); - auto pathBeginIter = pathView.begin(); - auto pathEndIter = pathView.end(); - if (pathBeginIter == pathEndIter) + AZStd::string_view rootNameView = pathView.RootName().Native(); + if (rootNameView.size() > pDstDrive->max_size()) { return false; } - AZ::IO::Path resultPath; - if (!bLastComponent) - { - // Removing leading path component - AZStd::advance(pathBeginIter, 1); - } - else - { - // Remove trailing path component - AZStd::advance(pathEndIter, -1); - } - for (; pathBeginIter != pathEndIter; ++pathBeginIter) - { - resultPath /= *pathBeginIter; - } - if (resultPath.empty()) + *pDstDrive = rootNameView; + } + if (pDstPath) + { + AZStd::string_view rootDirectoryView = pathView.RootDirectory().Native(); + AZStd::string_view relPathParentView = pathView.ParentPath().RelativePath().Native(); + if (rootDirectoryView.size() + relPathParentView.size() > pDstPath->max_size()) { return false; } - inout = AZStd::move(resultPath.Native()); + // Append the root directory if there is one + *pDstPath = rootDirectoryView; + // Append the relative path portion of the split path excluding the filename + *pDstPath += relPathParentView; + } + if (pDstName) + { + AZStd::string_view stemView = pathView.Stem().Native(); + if (stemView.size() > pDstName->max_size()) + { + return false; + } + *pDstName = stemView; + } + if (pDstExtension) + { + AZStd::string_view extensionView = pathView.Extension().Native(); + if (extensionView.size() > pDstExtension->max_size()) + { + return false; + } + *pDstExtension = extensionView; + } + + return true; + } + + bool Join(const char* pFirstPart, const char* pSecondPart, AZStd::string& out, [[maybe_unused]] bool bCaseInsensitive, bool bNormalize) + { + if (!pFirstPart || !pSecondPart) + { + return false; + } + + AZ::IO::PathView secondPath(pSecondPart); + AZ_Warning("StringFunc", secondPath.IsRelative(), "The second join parameter %s is an absolute path," + " this will replace the first part of the path resulting in an output of just the second part", + pSecondPart); + + AZ::IO::Path resultPath(pFirstPart); + resultPath /= secondPath; + out = bNormalize ? AZStd::move(resultPath.LexicallyNormal().Native()) : AZStd::move(resultPath.Native()); + return true; + } + + bool Join(const char* pFirstPart, const char* pSecondPart, FixedString& out, [[maybe_unused]] bool bCaseInsensitive, bool bNormalize) + { + if (!pFirstPart || !pSecondPart) + { + return false; + } + + AZ::IO::PathView secondPath(pSecondPart); + AZ_Warning("StringFunc", secondPath.IsRelative(), "The second join parameter %s is an absolute path," + " this will replace the first part of the path resulting in an output of just the second part", + pSecondPart); + + AZ::IO::FixedMaxPath resultPath(pFirstPart); + resultPath /= secondPath; + out = bNormalize ? AZStd::move(resultPath.LexicallyNormal().Native()) : AZStd::move(resultPath.Native()); + return true; + } + + bool HasDrive(const char* in, bool bCheckAllFileSystemFormats /*= false*/) + { + // no drive if empty + if (!in || in[0] == '\0') + { + return false; + } + AZ::IO::PathView pathView(in); + return pathView.HasRootName() || (bCheckAllFileSystemFormats && pathView.HasRootDirectory()); + } + + bool HasExtension(const char* in) + { + //it doesn't have an extension if it's empty + if (!in || in[0] == '\0') + { + return false; + } + + return AZ::IO::PathView(in).HasExtension(); + } + + bool IsExtension(const char* in, const char* pExtension, bool bCaseInsenitive /*= false*/) + { + //it doesn't have an extension if it's empty + if (!in || in[0] == '\0' || !pExtension || pExtension[0] == '\0') + { + return false; + } + + AZStd::string_view pathExtension = AZ::IO::PathView(in).Extension().Native(); + if (pathExtension.starts_with(AZ_FILESYSTEM_EXTENSION_SEPARATOR)) + { + pathExtension.remove_prefix(1); + } + AZStd::string_view extensionView(pExtension); + if (extensionView.starts_with(AZ_FILESYSTEM_EXTENSION_SEPARATOR)) + { + extensionView.remove_prefix(1); + } + + return AZStd::equal(pathExtension.begin(), pathExtension.end(), extensionView.begin(), extensionView.end(), + [bCaseInsenitive](const char lhs, const char rhs) + { + return !bCaseInsenitive ? lhs == rhs : tolower(lhs) == tolower(rhs); + }); + } + + bool IsRelative(const char* in) + { + //not relative if empty + if (!in || in[0] == '\0') + { + return false; + } + + return AZ::IO::PathView(in).IsRelative(); + } + + bool StripDrive(AZStd::string& inout) + { + AZ::IO::PathView pathView(inout); + AZ::IO::PathView rootNameView(pathView.RootName()); + if (!rootNameView.empty()) + { + inout.replace(0, rootNameView.Native().size(), ""); return true; } + return false; + } - bool GetDrive(const char* in, AZStd::string& out) + void StripPath(AZStd::string& inout) + { + inout = AZ::IO::PathView(inout).Filename().Native(); + } + + void StripFullName(AZStd::string& inout) + { + inout = AZ::IO::Path(AZStd::move(inout)).RemoveFilename().Native(); + } + + void StripExtension(AZStd::string& inout) + { + AZ::IO::Path path(AZStd::move(inout)); + path.ReplaceExtension(); + inout = AZStd::move(path.Native()); + } + + bool StripComponent(AZStd::string& inout, bool bLastComponent /* = false*/) + { + AZ::IO::PathView pathView(inout); + auto pathBeginIter = pathView.begin(); + auto pathEndIter = pathView.end(); + if (pathBeginIter == pathEndIter) { - if (!in || in[0] == '\0') - { - return false; - } + return false; + } + AZ::IO::Path resultPath; + if (!bLastComponent) + { + // Removing leading path component + AZStd::advance(pathBeginIter, 1); + } + else + { + // Remove trailing path component + AZStd::advance(pathEndIter, -1); + } + for (; pathBeginIter != pathEndIter; ++pathBeginIter) + { + resultPath /= *pathBeginIter; + } + if (resultPath.empty()) + { + return false; + } + inout = AZStd::move(resultPath.Native()); + return true; + } - out = AZ::IO::PathView(in).RootName().Native(); + bool GetDrive(const char* in, AZStd::string& out) + { + if (!in || in[0] == '\0') + { + return false; + } + + out = AZ::IO::PathView(in).RootName().Native(); + return !out.empty(); + } + + AZStd::optional GetParentDir(AZStd::string_view path) + { + if (path.empty()) + { + return {}; + } + + AZStd::string_view parentDir = AZ::IO::PathView(path).ParentPath().Native(); + return !parentDir.empty() ? AZStd::make_optional(parentDir) : AZStd::nullopt; + } + + bool GetFullPath(const char* in, AZStd::string& out) + { + if (!in || in[0] == '\0') + { + return false; + } + + out = AZ::IO::PathView(in).ParentPath().Native(); + return !out.empty(); + } + + bool GetFolderPath(const char* in, AZStd::string& out) + { + return GetFullPath(in, out); + } + + bool GetFolder(const char* in, AZStd::string& out, bool bFirst /* = false*/) + { + if (!in || in[0] == '\0') + { + return false; + } + + if (!bFirst) + { + out = AZ::IO::PathView(in).ParentPath().Filename().Native(); return !out.empty(); } - - AZStd::optional GetParentDir(AZStd::string_view path) + else { - if (path.empty()) - { - return {}; - } - - AZStd::string_view parentDir = AZ::IO::PathView(path).ParentPath().Native(); - return !parentDir.empty() ? AZStd::make_optional(parentDir) : AZStd::nullopt; - } - - bool GetFullPath(const char* in, AZStd::string& out) - { - if (!in || in[0] == '\0') - { - return false; - } - - out = AZ::IO::PathView(in).ParentPath().Native(); + AZStd::string_view relativePath = AZ::IO::PathView(in).RelativePath().Native(); + size_t nextSeparator = relativePath.find_first_of(AZ_CORRECT_FILESYSTEM_SEPARATOR); + out = nextSeparator != AZStd::string_view::npos ? relativePath.substr(0, nextSeparator) : relativePath; return !out.empty(); } + } - bool GetFolderPath(const char* in, AZStd::string& out) + bool GetFullFileName(const char* in, AZStd::string& out) + { + if (!in || in[0] == '\0') { - return GetFullPath(in, out); + return false; } - bool GetFolder(const char* in, AZStd::string& out, bool bFirst /* = false*/) - { - if (!in || in[0] == '\0') - { - return false; - } + out = AZ::IO::PathView(in).Filename().Native(); + return !out.empty(); + } - if (!bFirst) - { - out = AZ::IO::PathView(in).ParentPath().Filename().Native(); - return !out.empty(); - } - else - { - AZStd::string_view relativePath = AZ::IO::PathView(in).RelativePath().Native(); - size_t nextSeparator = relativePath.find_first_of(AZ_CORRECT_FILESYSTEM_SEPARATOR); - out = nextSeparator != AZStd::string_view::npos ? relativePath.substr(0, nextSeparator) : relativePath; - return !out.empty(); - } + bool GetFileName(const char* in, AZStd::string& out) + { + if (!in || in[0] == '\0') + { + return false; } - bool GetFullFileName(const char* in, AZStd::string& out) - { - if (!in || in[0] == '\0') - { - return false; - } + out = AZ::IO::PathView(in).Stem().Native(); + return !out.empty(); + } - out = AZ::IO::PathView(in).Filename().Native(); - return !out.empty(); + bool GetExtension(const char* in, AZStd::string& out, bool includeDot) + { + if (!in || in[0] == '\0') + { + return false; } - bool GetFileName(const char* in, AZStd::string& out) + AZStd::string_view extensionView = AZ::IO::PathView(in).Extension().Native(); + // PathView returns extensions with the character, so remove the + // if it is not included + if (!includeDot && extensionView.starts_with(AZ_FILESYSTEM_EXTENSION_SEPARATOR)) { - if (!in || in[0] == '\0') + extensionView.remove_prefix(1); + } + out = extensionView; + return !out.empty(); + } + + void ReplaceFullName(AZStd::string& inout, const char* pFileName /* = nullptr*/, const char* pFileExtension /* = nullptr*/) + { + //strip the full file name if it has one + AZ::IO::Path path(AZStd::move(inout)); + path.RemoveFilename(); + if (pFileName) + { + path /= pFileName; + } + if (pFileExtension) + { + path.ReplaceExtension(pFileExtension); + } + inout = AZStd::move(path.Native()); + } + + void ReplaceExtension(AZStd::string& inout, const char* newExtension /* = nullptr*/) + { + //treat this as a strip + if (!newExtension || newExtension[0] == '\0') + { + return; + } + AZ::IO::Path path(AZStd::move(inout)); + path.ReplaceExtension(newExtension); + inout = AZStd::move(path.Native()); + } + + AZStd::string& AppendSeparator(AZStd::string& inout) + { + if (inout.ends_with(AZ_WRONG_FILESYSTEM_SEPARATOR)) + { + inout.replace(inout.end() - 1, inout.end(), 1, AZ_CORRECT_FILESYSTEM_SEPARATOR); + } + else if (!inout.ends_with(AZ_CORRECT_FILESYSTEM_SEPARATOR)) + { + inout.append(1, AZ_CORRECT_FILESYSTEM_SEPARATOR); + } + return inout; + } + } // namespace Path + + namespace Json + { + /* + According to http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf: + A string is a sequence of Unicode code points wrapped with quotation marks (U+0022). All characters may be + placed within the quotation marks except for the characters that must be escaped: quotation mark (U+0022), + reverse solidus (U+005C), and the control characters U+0000 to U+001F. + */ + AZStd::string& ToEscapedString(AZStd::string& inout) + { + size_t strSize = inout.size(); + + for (size_t i = 0; i < strSize; ++i) + { + char character = inout[i]; + + // defaults to 1 if it hits any cases except default + size_t jumpChar = 1; + switch (character) { - return false; + case '"': + inout.insert(i, "\\"); + break; + + case '\\': + inout.insert(i, "\\"); + break; + + case '/': + inout.insert(i, "\\"); + break; + + case '\b': + inout.replace(i, i + 1, "\\b"); + break; + + case '\f': + inout.replace(i, i + 1, "\\f"); + break; + + case '\n': + inout.replace(i, i + 1, "\\n"); + break; + + case '\r': + inout.replace(i, i + 1, "\\r"); + break; + + case '\t': + inout.replace(i, i + 1, "\\t"); + break; + + default: + /* + Control characters U+0000 to U+001F may be represented as a six - character sequence : a reverse solidus, + followed by the lowercase letter u, followed by four hexadecimal digits that encode the code point. + */ + if (character >= '\x0000' && character <= '\x001f') + { + // jumping "\uXXXX" characters + jumpChar = 6; + + AZStd::string hexStr = AZStd::string::format("\\u%04x", static_cast(character)); + inout.replace(i, i + 1, hexStr); + } + else + { + jumpChar = 0; + } } - out = AZ::IO::PathView(in).Stem().Native(); - return !out.empty(); + i += jumpChar; + strSize += jumpChar; } - bool GetExtension(const char* in, AZStd::string& out, bool includeDot) - { - if (!in || in[0] == '\0') - { - return false; - } + return inout; + } + } // namespace Json - AZStd::string_view extensionView = AZ::IO::PathView(in).Extension().Native(); - // PathView returns extensions with the character, so remove the - // if it is not included - if (!includeDot && extensionView.starts_with(AZ_FILESYSTEM_EXTENSION_SEPARATOR)) - { - extensionView.remove_prefix(1); - } - out = extensionView; - return !out.empty(); - } + namespace Base64 + { + static const char base64pad = '='; - void ReplaceFullName(AZStd::string& inout, const char* pFileName /* = nullptr*/, const char* pFileExtension /* = nullptr*/) - { - //strip the full file name if it has one - AZ::IO::Path path(AZStd::move(inout)); - path.RemoveFilename(); - if (pFileName) - { - path /= pFileName; - } - if (pFileExtension) - { - path.ReplaceExtension(pFileExtension); - } - inout = AZStd::move(path.Native()); - } + static const char c_base64Table[] = + { + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "abcdefghijklmnopqrstuvwxyz" + "0123456789+/" + }; - void ReplaceExtension(AZStd::string& inout, const char* newExtension /* = nullptr*/) - { - //treat this as a strip - if (!newExtension || newExtension[0] == '\0') - { - return; - } - AZ::IO::Path path(AZStd::move(inout)); - path.ReplaceExtension(newExtension); - inout = AZStd::move(path.Native()); - } + static const AZ::u8 c_inverseBase64Table[] = + { + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3e, 0xff, 0xff, 0xff, 0x3f, + 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, + 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, + 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + }; - AZStd::string& AppendSeparator(AZStd::string& inout) - { - if (inout.ends_with(AZ_WRONG_FILESYSTEM_SEPARATOR)) - { - inout.replace(inout.end() - 1, inout.end(), 1, AZ_CORRECT_FILESYSTEM_SEPARATOR); - } - else if (!inout.ends_with(AZ_CORRECT_FILESYSTEM_SEPARATOR)) - { - inout.append(1, AZ_CORRECT_FILESYSTEM_SEPARATOR); - } - return inout; - } - } // namespace Path + bool IsValidEncodedChar(const char encodedChar) + { + return c_inverseBase64Table[static_cast(encodedChar)] != 0xff; + } - namespace Json + AZStd::string Encode(const AZ::u8* in, const size_t size) { /* - According to http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf: - A string is a sequence of Unicode code points wrapped with quotation marks (U+0022). All characters may be - placed within the quotation marks except for the characters that must be escaped: quotation mark (U+0022), - reverse solidus (U+005C), and the control characters U+0000 to U+001F. + figure retrieved from the Base encoding rfc https://tools.ietf.org/html/rfc4648 + +--first octet--+-second octet--+--third octet--+ + |7 6 5 4 3 2 1 0|7 6 5 4 3 2 1 0|7 6 5 4 3 2 1 0| + +-----------+---+-------+-------+---+-----------+ + |5 4 3 2 1 0|5 4 3 2 1 0|5 4 3 2 1 0|5 4 3 2 1 0| + +--1.index--+--2.index--+--3.index--+--4.index--+ */ - AZStd::string& ToEscapedString(AZStd::string& inout) + AZStd::string result; + + const size_t remainder = size % 3; + const size_t alignEndSize = size - remainder; + const AZ::u8* encodeBuf = in; + size_t encodeIndex = 0; + for (; encodeIndex < alignEndSize; encodeIndex += 3) { - size_t strSize = inout.size(); - - for (size_t i = 0; i < strSize; ++i) - { - char character = inout[i]; - - // defaults to 1 if it hits any cases except default - size_t jumpChar = 1; - switch (character) - { - case '"': - inout.insert(i, "\\"); - break; - - case '\\': - inout.insert(i, "\\"); - break; - - case '/': - inout.insert(i, "\\"); - break; - - case '\b': - inout.replace(i, i + 1, "\\b"); - break; - - case '\f': - inout.replace(i, i + 1, "\\f"); - break; - - case '\n': - inout.replace(i, i + 1, "\\n"); - break; - - case '\r': - inout.replace(i, i + 1, "\\r"); - break; - - case '\t': - inout.replace(i, i + 1, "\\t"); - break; - - default: - /* - Control characters U+0000 to U+001F may be represented as a six - character sequence : a reverse solidus, - followed by the lowercase letter u, followed by four hexadecimal digits that encode the code point. - */ - if (character >= '\x0000' && character <= '\x001f') - { - // jumping "\uXXXX" characters - jumpChar = 6; - - AZStd::string hexStr = AZStd::string::format("\\u%04x", static_cast(character)); - inout.replace(i, i + 1, hexStr); - } - else - { - jumpChar = 0; - } - } - - i += jumpChar; - strSize += jumpChar; - } - - return inout; - } - } // namespace Json - - namespace Base64 - { - static const char base64pad = '='; - - static const char c_base64Table[] = - { - "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - "abcdefghijklmnopqrstuvwxyz" - "0123456789+/" - }; - - static const AZ::u8 c_inverseBase64Table[] = - { - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3e, 0xff, 0xff, 0xff, 0x3f, - 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, - 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, - 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - }; - - bool IsValidEncodedChar(const char encodedChar) - { - return c_inverseBase64Table[static_cast(encodedChar)] != 0xff; - } - - AZStd::string Encode(const AZ::u8* in, const size_t size) - { - /* - figure retrieved from the Base encoding rfc https://tools.ietf.org/html/rfc4648 - +--first octet--+-second octet--+--third octet--+ - |7 6 5 4 3 2 1 0|7 6 5 4 3 2 1 0|7 6 5 4 3 2 1 0| - +-----------+---+-------+-------+---+-----------+ - |5 4 3 2 1 0|5 4 3 2 1 0|5 4 3 2 1 0|5 4 3 2 1 0| - +--1.index--+--2.index--+--3.index--+--4.index--+ - */ - AZStd::string result; - - const size_t remainder = size % 3; - const size_t alignEndSize = size - remainder; - const AZ::u8* encodeBuf = in; - size_t encodeIndex = 0; - for (; encodeIndex < alignEndSize; encodeIndex += 3) - { - encodeBuf = &in[encodeIndex]; - - result.push_back(c_base64Table[(encodeBuf[0] & 0xfc) >> 2]); - result.push_back(c_base64Table[((encodeBuf[0] & 0x03) << 4) | ((encodeBuf[1] & 0xf0) >> 4)]); - result.push_back(c_base64Table[((encodeBuf[1] & 0x0f) << 2) | ((encodeBuf[2] & 0xc0) >> 6)]); - result.push_back(c_base64Table[encodeBuf[2] & 0x3f]); - } - encodeBuf = &in[encodeIndex]; - if (remainder == 2) - { - result.push_back(c_base64Table[(encodeBuf[0] & 0xfc) >> 2]); - result.push_back(c_base64Table[((encodeBuf[0] & 0x03) << 4) | ((encodeBuf[1] & 0xf0) >> 4)]); - result.push_back(c_base64Table[((encodeBuf[1] & 0x0f) << 2)]); - result.push_back(base64pad); - } - else if (remainder == 1) - { - result.push_back(c_base64Table[(encodeBuf[0] & 0xfc) >> 2]); - result.push_back(c_base64Table[(encodeBuf[0] & 0x03) << 4]); - result.push_back(base64pad); - result.push_back(base64pad); - } - return result; + result.push_back(c_base64Table[(encodeBuf[0] & 0xfc) >> 2]); + result.push_back(c_base64Table[((encodeBuf[0] & 0x03) << 4) | ((encodeBuf[1] & 0xf0) >> 4)]); + result.push_back(c_base64Table[((encodeBuf[1] & 0x0f) << 2) | ((encodeBuf[2] & 0xc0) >> 6)]); + result.push_back(c_base64Table[encodeBuf[2] & 0x3f]); } - bool Decode(AZStd::vector& out, const char* in, const size_t size) + encodeBuf = &in[encodeIndex]; + if (remainder == 2) { - if (size % 4 != 0) - { - AZ_Warning("StringFunc", size % 4 == 0, "Base 64 encoded data length must be multiple of 4"); - return false; - } - - AZStd::vector result; - result.reserve(size * 3 / 4); - const char* decodeBuf = in; - size_t decodeIndex = 0; - for (; decodeIndex < size; decodeIndex += 4) - { - decodeBuf = &in[decodeIndex]; - //Check if each character is a valid Base64 encoded character - { - // First Octet - if (!IsValidEncodedChar(decodeBuf[0])) - { - AZ_Warning("StringFunc", false, "Invalid Base64 encoded text at offset %tu", AZStd::distance(in, &decodeBuf[0])); - return false; - } - if (!IsValidEncodedChar(decodeBuf[1])) - { - AZ_Warning("StringFunc", false, "Invalid Base64 encoded text at offset %tu", AZStd::distance(in, &decodeBuf[1])); - return false; - } - - result.push_back((c_inverseBase64Table[static_cast(decodeBuf[0])] << 2) | ((c_inverseBase64Table[static_cast(decodeBuf[1])] & 0x30) >> 4)); - } - - { - // Second Octet - if (decodeBuf[2] == base64pad) - { - break; - } - - if (!IsValidEncodedChar(decodeBuf[2])) - { - AZ_Warning("StringFunc", false, "Invalid Base64 encoded text at offset %tu", AZStd::distance(in, &decodeBuf[2])); - return false; - } - - result.push_back(((c_inverseBase64Table[static_cast(decodeBuf[1])] & 0x0f) << 4) | ((c_inverseBase64Table[static_cast(decodeBuf[2])] & 0x3c) >> 2)); - } - - { - // Third Octet - if (decodeBuf[3] == base64pad) - { - break; - } - - if (!IsValidEncodedChar(decodeBuf[3])) - { - AZ_Warning("StringFunc", false, "Invalid Base64 encoded text at offset %tu", AZStd::distance(in, &decodeBuf[3])); - return false; - } - - result.push_back(((c_inverseBase64Table[static_cast(decodeBuf[2])] & 0x03) << 6) | (c_inverseBase64Table[static_cast(decodeBuf[3])] & 0x3f)); - } - } - - out = AZStd::move(result); - return true; + result.push_back(c_base64Table[(encodeBuf[0] & 0xfc) >> 2]); + result.push_back(c_base64Table[((encodeBuf[0] & 0x03) << 4) | ((encodeBuf[1] & 0xf0) >> 4)]); + result.push_back(c_base64Table[((encodeBuf[1] & 0x0f) << 2)]); + result.push_back(base64pad); } + else if (remainder == 1) + { + result.push_back(c_base64Table[(encodeBuf[0] & 0xfc) >> 2]); + result.push_back(c_base64Table[(encodeBuf[0] & 0x03) << 4]); + result.push_back(base64pad); + result.push_back(base64pad); + } + + return result; } - namespace Utf8 + bool Decode(AZStd::vector& out, const char* in, const size_t size) { - bool CheckNonAsciiChar(const AZStd::string& in) + if (size % 4 != 0) { - for (int i = 0; i < in.length(); ++i) - { - char byte = in[i]; - if (byte & 0x80) - { - return true; - } - } + AZ_Warning("StringFunc", size % 4 == 0, "Base 64 encoded data length must be multiple of 4"); return false; } + + AZStd::vector result; + result.reserve(size * 3 / 4); + const char* decodeBuf = in; + size_t decodeIndex = 0; + for (; decodeIndex < size; decodeIndex += 4) + { + decodeBuf = &in[decodeIndex]; + //Check if each character is a valid Base64 encoded character + { + // First Octet + if (!IsValidEncodedChar(decodeBuf[0])) + { + AZ_Warning("StringFunc", false, "Invalid Base64 encoded text at offset %tu", AZStd::distance(in, &decodeBuf[0])); + return false; + } + if (!IsValidEncodedChar(decodeBuf[1])) + { + AZ_Warning("StringFunc", false, "Invalid Base64 encoded text at offset %tu", AZStd::distance(in, &decodeBuf[1])); + return false; + } + + result.push_back((c_inverseBase64Table[static_cast(decodeBuf[0])] << 2) | ((c_inverseBase64Table[static_cast(decodeBuf[1])] & 0x30) >> 4)); + } + + { + // Second Octet + if (decodeBuf[2] == base64pad) + { + break; + } + + if (!IsValidEncodedChar(decodeBuf[2])) + { + AZ_Warning("StringFunc", false, "Invalid Base64 encoded text at offset %tu", AZStd::distance(in, &decodeBuf[2])); + return false; + } + + result.push_back(((c_inverseBase64Table[static_cast(decodeBuf[1])] & 0x0f) << 4) | ((c_inverseBase64Table[static_cast(decodeBuf[2])] & 0x3c) >> 2)); + } + + { + // Third Octet + if (decodeBuf[3] == base64pad) + { + break; + } + + if (!IsValidEncodedChar(decodeBuf[3])) + { + AZ_Warning("StringFunc", false, "Invalid Base64 encoded text at offset %tu", AZStd::distance(in, &decodeBuf[3])); + return false; + } + + result.push_back(((c_inverseBase64Table[static_cast(decodeBuf[2])] & 0x03) << 6) | (c_inverseBase64Table[static_cast(decodeBuf[3])] & 0x3f)); + } + } + + out = AZStd::move(result); + return true; } - } // namespace StringFunc -} // namespace AZ + } + + namespace Utf8 + { + bool CheckNonAsciiChar(const AZStd::string& in) + { + for (int i = 0; i < in.length(); ++i) + { + char byte = in[i]; + if (byte & 0x80) + { + return true; + } + } + return false; + } + } +} // namespace AZ::StringFunc diff --git a/Code/Framework/AzCore/AzCore/Time/ITime.h b/Code/Framework/AzCore/AzCore/Time/ITime.h index a3dcca09ea..a61b629f35 100644 --- a/Code/Framework/AzCore/AzCore/Time/ITime.h +++ b/Code/Framework/AzCore/AzCore/Time/ITime.h @@ -137,11 +137,18 @@ namespace AZ return AZ::Interface::Get()->GetElapsedTimeUs(); } + //! This is a simple convenience wrapper inline TimeMs GetRealElapsedTimeMs() { return AZ::Interface::Get()->GetRealElapsedTimeMs(); } + //! This is a simple convenience wrapper + inline TimeUs GetRealElapsedTimeUs() + { + return AZ::Interface::Get()->GetRealElapsedTimeUs(); + } + //! This is a simple convenience wrapper inline TimeUs GetSimulationTickDeltaTimeUs() { diff --git a/Code/Framework/AzCore/AzCore/Time/TimeSystem.cpp b/Code/Framework/AzCore/AzCore/Time/TimeSystem.cpp index cd0170749f..a5e0908ac4 100644 --- a/Code/Framework/AzCore/AzCore/Time/TimeSystem.cpp +++ b/Code/Framework/AzCore/AzCore/Time/TimeSystem.cpp @@ -124,14 +124,13 @@ namespace AZ const TimeUs currentTimeUs = static_cast(AZStd::GetTimeNowMicroSecond()); //real time - m_realTickDeltaTimeUs = currentTimeUs - m_lastRealTickTimeUs; - m_lastRealTickTimeUs = currentTimeUs; + m_realTickDeltaTimeUs = currentTimeUs - m_lastSimulationTickTimeUs; //game time if (m_simulationTickDeltaOverride > AZ::Time::ZeroTimeUs) { m_simulationTickDeltaTimeUs = m_simulationTickDeltaOverride; - m_lastSimulationTickTimeUs = m_simulationTickDeltaTimeUs; + m_lastSimulationTickTimeUs = currentTimeUs; return m_simulationTickDeltaTimeUs; } diff --git a/Code/Framework/AzCore/AzCore/Time/TimeSystem.h b/Code/Framework/AzCore/AzCore/Time/TimeSystem.h index d2587c76d8..ded70c9be5 100644 --- a/Code/Framework/AzCore/AzCore/Time/TimeSystem.h +++ b/Code/Framework/AzCore/AzCore/Time/TimeSystem.h @@ -74,8 +74,7 @@ namespace AZ //! Updated in AdvanceTickDeltaTimes(). TimeUs m_realTickDeltaTimeUs = AZ::Time::ZeroTimeUs; - TimeUs m_lastSimulationTickTimeUs = AZ::Time::ZeroTimeUs; //!< Used to determine the game tick delta time (affected by cvars). - TimeUs m_lastRealTickTimeUs = AZ::Time::ZeroTimeUs; //!< Used to determine the real game tick delta time (not affected by cvars). + TimeUs m_lastSimulationTickTimeUs = AZ::Time::ZeroTimeUs; //!< Used to determine the game tick delta time. TimeUs m_simulationTickDeltaOverride = AZ::Time::ZeroTimeUs; // -namespace AZStd +namespace AZStd::MemoryToASCII { - namespace MemoryToASCII + AZStd::string ToString(const void* memoryAddrs, AZStd::size_t dataSize, AZStd::size_t maxShowSize, AZStd::size_t dataWidth/*=16*/, Options format/*=Options::Default*/) { - AZStd::string ToString(const void* memoryAddrs, AZStd::size_t dataSize, AZStd::size_t maxShowSize, AZStd::size_t dataWidth/*=16*/, Options format/*=Options::Default*/) + AZStd::string output; + + if ((memoryAddrs != nullptr) && (dataSize > 0)) { - AZStd::string output; + const AZ::u8 *data = reinterpret_cast(memoryAddrs); - if ((memoryAddrs != nullptr) && (dataSize > 0)) + if (static_cast(format) != 0) { - const AZ::u8 *data = reinterpret_cast(memoryAddrs); + output.reserve(8162); - if (static_cast(format) != 0) + bool showHeader = static_cast(format) & static_cast(Options::Header) ? true : false; + bool showOffset = static_cast(format) & static_cast(Options::Offset) ? true : false; + bool showBinary = static_cast(format) & static_cast(Options::Binary) ? true : false; + bool showASCII = static_cast(format) & static_cast(Options::ASCII) ? true : false; + bool showInfo = static_cast(format) & static_cast(Options::Info) ? true : false; + + // Because of the auto formatting for the headers, the min width is 3 + if (dataWidth < 3) { - output.reserve(8162); + dataWidth = 3; + } - bool showHeader = static_cast(format) & static_cast(Options::Header) ? true : false; - bool showOffset = static_cast(format) & static_cast(Options::Offset) ? true : false; - bool showBinary = static_cast(format) & static_cast(Options::Binary) ? true : false; - bool showASCII = static_cast(format) & static_cast(Options::ASCII) ? true : false; - bool showInfo = static_cast(format) & static_cast(Options::Info) ? true : false; + if (showHeader) + { + AZStd::string line1; + AZStd::string line2; + line1.reserve(1024); + line2.reserve(1024); - // Because of the auto formatting for the headers, the min width is 3 - if (dataWidth < 3) + if (showOffset) { - dataWidth = 3; + line1 += "Offset"; + line2 += "------"; + + if (showBinary || showASCII) + { + line1 += " "; + line2 += " "; + } } - if (showHeader) + if (showBinary) { - AZStd::string line1; - AZStd::string line2; - line1.reserve(1024); - line2.reserve(1024); + static const char *kHeaderName = "Data"; + static AZStd::size_t kHeaderNameSize = 4; - if (showOffset) + AZStd::size_t lineLength = (dataWidth * 3) - 1; + AZStd::size_t numPreSpaces = (lineLength - kHeaderNameSize) / 2; + AZStd::size_t numPostSpaces = lineLength - numPreSpaces - kHeaderNameSize; + + line1 += AZStd::string(numPreSpaces, ' ') + kHeaderName + AZStd::string(numPostSpaces, ' '); + //line2 += AZStd::string(lineLength, '-'); + for(size_t i=0; i 0) { - line1 += " "; - line2 += " "; - } - } - - if (showBinary) - { - static const char *kHeaderName = "Data"; - static AZStd::size_t kHeaderNameSize = 4; - - AZStd::size_t lineLength = (dataWidth * 3) - 1; - AZStd::size_t numPreSpaces = (lineLength - kHeaderNameSize) / 2; - AZStd::size_t numPostSpaces = lineLength - numPreSpaces - kHeaderNameSize; - - line1 += AZStd::string(numPreSpaces, ' ') + kHeaderName + AZStd::string(numPostSpaces, ' '); - //line2 += AZStd::string(lineLength, '-'); - for(size_t i=0; i 0) - { - line2 += "-"; - } - - line2 += AZStd::string::format("%02zx", i); + line2 += "-"; } - if (showASCII) - { - line1 += " "; - line2 += " "; - } + line2 += AZStd::string::format("%02zx", i); } if (showASCII) { - static const char *kHeaderName = "ASCII"; - static AZStd::size_t kHeaderNameSize = 5; - - AZStd::size_t numPreSpaces = (dataWidth - kHeaderNameSize) / 2; - AZStd::size_t numPostSpaces = dataWidth - numPreSpaces - kHeaderNameSize; - - line1 += AZStd::string(numPreSpaces, ' ') + kHeaderName + AZStd::string(numPostSpaces, ' '); - line2 += AZStd::string(dataWidth, '-'); + line1 += " "; + line2 += " "; } - - if (showInfo) - { - output += AZStd::string::format("Address: 0x%p Data Size:%zu Max Size:%zu\n", data, dataSize, maxShowSize); - } - - output += line1 + "\n"; - output += line2 + "\n"; } - AZStd::size_t offset = 0; - AZStd::size_t maxSize = dataSize > maxShowSize ? maxShowSize : dataSize; - - while (offset < maxSize) + if (showASCII) { - if (showOffset) - { - output += AZStd::string::format("%06zx", offset); + static const char *kHeaderName = "ASCII"; + static AZStd::size_t kHeaderNameSize = 5; - if (showBinary || showASCII) + AZStd::size_t numPreSpaces = (dataWidth - kHeaderNameSize) / 2; + AZStd::size_t numPostSpaces = dataWidth - numPreSpaces - kHeaderNameSize; + + line1 += AZStd::string(numPreSpaces, ' ') + kHeaderName + AZStd::string(numPostSpaces, ' '); + line2 += AZStd::string(dataWidth, '-'); + } + + if (showInfo) + { + output += AZStd::string::format("Address: 0x%p Data Size:%zu Max Size:%zu\n", data, dataSize, maxShowSize); + } + + output += line1 + "\n"; + output += line2 + "\n"; + } + + AZStd::size_t offset = 0; + AZStd::size_t maxSize = dataSize > maxShowSize ? maxShowSize : dataSize; + + while (offset < maxSize) + { + if (showOffset) + { + output += AZStd::string::format("%06zx", offset); + + if (showBinary || showASCII) + { + output += " "; + } + } + + if (showBinary) + { + AZStd::string binLine; + binLine.reserve((dataWidth * 3) * 2); + + for (AZStd::size_t index = 0; index < dataWidth; index++) + { + if (!binLine.empty()) { - output += " "; + binLine += " "; + } + + if ((offset + index) < maxSize) + { + binLine += AZStd::string::format("%02x", data[offset + index]); + } + else + { + binLine += " "; } } - if (showBinary) - { - AZStd::string binLine; - binLine.reserve((dataWidth * 3) * 2); - - for (AZStd::size_t index = 0; index < dataWidth; index++) - { - if (!binLine.empty()) - { - binLine += " "; - } - - if ((offset + index) < maxSize) - { - binLine += AZStd::string::format("%02x", data[offset + index]); - } - else - { - binLine += " "; - } - } - - output += binLine; - - if (showASCII) - { - output += " "; - } - } + output += binLine; if (showASCII) { - AZStd::string asciiLine; - asciiLine.reserve(dataWidth * 2); + output += " "; + } + } - for (AZStd::size_t index = 0; index < dataWidth; index++) + if (showASCII) + { + AZStd::string asciiLine; + asciiLine.reserve(dataWidth * 2); + + for (AZStd::size_t index = 0; index < dataWidth; index++) + { + if ((offset + index) > maxSize) { - if ((offset + index) > maxSize) - { - break; - } - else - { - char value = static_cast(data[offset + index]); - - if ((value < 32) || (value > 127)) - value = ' '; - - asciiLine += value; - } + break; } + else + { + char value = static_cast(data[offset + index]); - output += asciiLine; + if ((value < 32) || (value > 127)) + value = ' '; + + asciiLine += value; + } } - output += "\n"; - offset += dataWidth; + output += asciiLine; } + + output += "\n"; + offset += dataWidth; } } - - return output; } - } // namespace MemoryToASCII -} // namespace AZStd + + return output; + } +} // namespace AZStd::MemoryToASCII diff --git a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Debug/Trace_UnixLike.cpp b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Debug/Trace_UnixLike.cpp index f4d7db802b..92a80b0d9a 100644 --- a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Debug/Trace_UnixLike.cpp +++ b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Debug/Trace_UnixLike.cpp @@ -13,73 +13,67 @@ #include #include -namespace AZ +namespace AZ::Debug::Platform { - namespace Debug - { - namespace Platform - { #if defined(AZ_ENABLE_DEBUG_TOOLS) - bool performDebuggerDetection() + bool performDebuggerDetection() + { + AZ::IO::SystemFile processStatusFile; + if (!processStatusFile.Open("/proc/self/status", AZ::IO::SystemFile::SF_OPEN_READ_ONLY)) + { + return false; + } + + char buffer[4096]; + AZ::IO::SystemFile::SizeType numRead = processStatusFile.Read(sizeof(buffer), buffer); + + const AZStd::string_view processStatusView(buffer, buffer + numRead); + constexpr AZStd::string_view tracerPidString = "TracerPid:"; + const size_t tracerPidOffset = processStatusView.find(tracerPidString); + if (tracerPidOffset == AZStd::string_view::npos) + { + return false; + } + for (size_t i = tracerPidOffset + tracerPidString.length(); i < numRead; ++i) + { + if (!::isspace(processStatusView[i])) { - AZ::IO::SystemFile processStatusFile; - if (!processStatusFile.Open("/proc/self/status", AZ::IO::SystemFile::SF_OPEN_READ_ONLY)) - { - return false; - } - - char buffer[4096]; - AZ::IO::SystemFile::SizeType numRead = processStatusFile.Read(sizeof(buffer), buffer); - - const AZStd::string_view processStatusView(buffer, buffer + numRead); - constexpr AZStd::string_view tracerPidString = "TracerPid:"; - const size_t tracerPidOffset = processStatusView.find(tracerPidString); - if (tracerPidOffset == AZStd::string_view::npos) - { - return false; - } - for (size_t i = tracerPidOffset + tracerPidString.length(); i < numRead; ++i) - { - if (!::isspace(processStatusView[i])) - { - return processStatusView[i] != '0'; - } - } - return false; - } - - bool IsDebuggerPresent() - { - static bool s_detectionPerformed = false; - static bool s_debuggerDetected = false; - if (!s_detectionPerformed) - { - s_debuggerDetected = performDebuggerDetection(); - s_detectionPerformed = true; - } - return s_debuggerDetected; - } - - bool AttachDebugger() - { - // Not supported yet - AZ_Assert(false, "AttachDebugger() is not supported for Unix platform yet"); - return false; - } - - void HandleExceptions(bool) - {} - - void DebugBreak() - { - raise(SIGINT); - } -#endif // AZ_ENABLE_DEBUG_TOOLS - - void Terminate(int exitCode) - { - _exit(exitCode); + return processStatusView[i] != '0'; } } + return false; } -} + + bool IsDebuggerPresent() + { + static bool s_detectionPerformed = false; + static bool s_debuggerDetected = false; + if (!s_detectionPerformed) + { + s_debuggerDetected = performDebuggerDetection(); + s_detectionPerformed = true; + } + return s_debuggerDetected; + } + + bool AttachDebugger() + { + // Not supported yet + AZ_Assert(false, "AttachDebugger() is not supported for Unix platform yet"); + return false; + } + + void HandleExceptions(bool) + {} + + void DebugBreak() + { + raise(SIGINT); + } +#endif // AZ_ENABLE_DEBUG_TOOLS + + void Terminate(int exitCode) + { + _exit(exitCode); + } +} // namespace AZ::Debug::Platform diff --git a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/IO/Internal/SystemFileUtils_UnixLike.cpp b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/IO/Internal/SystemFileUtils_UnixLike.cpp index 07614ad56b..4c605f6154 100644 --- a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/IO/Internal/SystemFileUtils_UnixLike.cpp +++ b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/IO/Internal/SystemFileUtils_UnixLike.cpp @@ -8,82 +8,76 @@ #include "SystemFileUtils_UnixLike.h" -namespace AZ +namespace AZ::IO::Internal { - namespace IO + bool FormatAndPeelOffWildCardExtension(const char* sourcePath, char* filePath, size_t filePathSize, char* extensionPath, size_t extensionSize, bool keepWildcard) { - namespace Internal + if (sourcePath == nullptr || filePath == nullptr || extensionPath == nullptr || filePathSize == 0 || extensionSize == 0) { - bool FormatAndPeelOffWildCardExtension(const char* sourcePath, char* filePath, size_t filePathSize, char* extensionPath, size_t extensionSize, bool keepWildcard) + AZ_Error("AZ::IO::Internal", false, "FormatAndPeelOffWildCardExtension: One or more parameters was invalid."); + return false; + } + const char* pSrcPath = sourcePath; + char* pDestPath = filePath; + size_t destinationSize = filePathSize; + unsigned numFileChars = 0; + unsigned numExtensionChars = 0; + unsigned* pNumDestChars = &numFileChars; + bool bIsWildcardExtension = false; + while (*pSrcPath) + { + char srcChar = *pSrcPath++; + + // Skip '*' and '.' + if ((!bIsWildcardExtension && srcChar != '*') || (bIsWildcardExtension && srcChar != '.' && (keepWildcard || srcChar != '*'))) { - if (sourcePath == nullptr || filePath == nullptr || extensionPath == nullptr || filePathSize == 0 || extensionSize == 0) + unsigned numChars = *pNumDestChars; + pDestPath[numChars++] = srcChar; + *pNumDestChars = numChars; + + --destinationSize; + if (destinationSize == 0) { - AZ_Error("AZ::IO::Internal", false, "FormatAndPeelOffWildCardExtension: One or more parameters was invalid."); + AZ_Error( + "AZ::IO::Internal", + false, + "Error splitting sourcePath '%s' into filePath and extension, %s length is larger than storage size %d.", + sourcePath, + bIsWildcardExtension ? "extensionPath" : "filePath", + bIsWildcardExtension ? extensionSize : filePathSize); return false; } - const char* pSrcPath = sourcePath; - char* pDestPath = filePath; - size_t destinationSize = filePathSize; - unsigned numFileChars = 0; - unsigned numExtensionChars = 0; - unsigned* pNumDestChars = &numFileChars; - bool bIsWildcardExtension = false; - while (*pSrcPath) + } + // Wild-card extension is separate + if (srcChar == '*') + { + bIsWildcardExtension = true; + pDestPath = extensionPath; + destinationSize = extensionSize; + pNumDestChars = &numExtensionChars; + if (keepWildcard) { - char srcChar = *pSrcPath++; + unsigned numChars = *pNumDestChars; + pDestPath[numChars++] = srcChar; + *pNumDestChars = numChars; - // Skip '*' and '.' - if ((!bIsWildcardExtension && srcChar != '*') || (bIsWildcardExtension && srcChar != '.' && (keepWildcard || srcChar != '*'))) + --destinationSize; + if (destinationSize == 0) { - unsigned numChars = *pNumDestChars; - pDestPath[numChars++] = srcChar; - *pNumDestChars = numChars; - - --destinationSize; - if (destinationSize == 0) - { - AZ_Error( - "AZ::IO::Internal", - false, - "Error splitting sourcePath '%s' into filePath and extension, %s length is larger than storage size %d.", - sourcePath, - bIsWildcardExtension ? "extensionPath" : "filePath", - bIsWildcardExtension ? extensionSize : filePathSize); - return false; - } - } - // Wild-card extension is separate - if (srcChar == '*') - { - bIsWildcardExtension = true; - pDestPath = extensionPath; - destinationSize = extensionSize; - pNumDestChars = &numExtensionChars; - if (keepWildcard) - { - unsigned numChars = *pNumDestChars; - pDestPath[numChars++] = srcChar; - *pNumDestChars = numChars; - - --destinationSize; - if (destinationSize == 0) - { - AZ_Error( - "AZ::IO::Internal", - false, - "Error splitting sourcePath '%s' into filePath and extension, extensionPath length is larger than storage size %d.", - sourcePath, - extensionSize); - return false; - } - } + AZ_Error( + "AZ::IO::Internal", + false, + "Error splitting sourcePath '%s' into filePath and extension, extensionPath length is larger than storage size %d.", + sourcePath, + extensionSize); + return false; } } - // Close strings - filePath[numFileChars] = 0; - extensionPath[numExtensionChars] = 0; - return true; } } + // Close strings + filePath[numFileChars] = 0; + extensionPath[numExtensionChars] = 0; + return true; } -} +} // namespace AZ::IO::Internal diff --git a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Platform_UnixLike.cpp b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Platform_UnixLike.cpp index bdc2e753be..4a316bcde6 100644 --- a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Platform_UnixLike.cpp +++ b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Platform_UnixLike.cpp @@ -14,31 +14,28 @@ #include #include -namespace AZ +namespace AZ::Platform { - namespace Platform + ProcessId GetCurrentProcessId() { - ProcessId GetCurrentProcessId() - { - return static_cast(::getpid()); - } + return static_cast(::getpid()); + } - MachineId GetLocalMachineId() + MachineId GetLocalMachineId() + { + if (s_machineId == 0) { + // In specialized server situations, SetLocalMachineId() should be used, with whatever criteria works best in that environment + // A proper implementation for each supported system will be needed instead of this temporary measure to avoid collision in the small scale. + // On a larger scale, the odds of two people getting in here at the same millisecond will go up drastically, and we'll have the same issue again, + // though far less reproducible, for duplicated EntityId's across a network. + s_machineId = static_cast(AZStd::GetTimeUTCMilliSecond() & 0xffffffff); if (s_machineId == 0) { - // In specialized server situations, SetLocalMachineId() should be used, with whatever criteria works best in that environment - // A proper implementation for each supported system will be needed instead of this temporary measure to avoid collision in the small scale. - // On a larger scale, the odds of two people getting in here at the same millisecond will go up drastically, and we'll have the same issue again, - // though far less reproducible, for duplicated EntityId's across a network. - s_machineId = static_cast(AZStd::GetTimeUTCMilliSecond() & 0xffffffff); - if (s_machineId == 0) - { - s_machineId = 1; - AZ_Warning("System", false, "0 machine ID is reserved!"); - } + s_machineId = 1; + AZ_Warning("System", false, "0 machine ID is reserved!"); } - return s_machineId; } - } // namespace Platform -} + return s_machineId; + } +} // namespace AZ::Platform diff --git a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Socket/AzSocket_UnixLike.cpp b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Socket/AzSocket_UnixLike.cpp index 5b35b13d8b..555d70f1e6 100644 --- a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Socket/AzSocket_UnixLike.cpp +++ b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Socket/AzSocket_UnixLike.cpp @@ -18,365 +18,362 @@ #define INVALID_SOCKET (-1) #define closesocket(_s) close(_s) #define GetInternalSocketError errno -typedef int SOCKET; -typedef AZ::u32 AZSOCKLEN; +using SOCKET = int; +using AZSOCKLEN = AZ::u32; -namespace AZ +namespace AZ::AzSock { - namespace AzSock + AZ::s32 TranslateOSError(AZ::s32 oserror) { - AZ::s32 TranslateOSError(AZ::s32 oserror) - { - AZ::s32 error; + AZ::s32 error; #define TRANSLATE(_from, _to) case (_from): error = static_cast(_to); break; - switch (oserror) - { - TRANSLATE(0, AzSockError::eASE_NO_ERROR); - TRANSLATE(EACCES, AzSockError::eASE_EACCES); - TRANSLATE(EADDRINUSE, AzSockError::eASE_EADDRINUSE); - TRANSLATE(EADDRNOTAVAIL, AzSockError::eASE_EADDRNOTAVAIL); - TRANSLATE(EAFNOSUPPORT, AzSockError::eASE_EAFNOSUPPORT); - TRANSLATE(EALREADY, AzSockError::eASE_EALREADY); - TRANSLATE(EBADF, AzSockError::eASE_EBADF); - TRANSLATE(ECONNABORTED, AzSockError::eASE_ECONNABORTED); - TRANSLATE(ECONNREFUSED, AzSockError::eASE_ECONNREFUSED); - TRANSLATE(ECONNRESET, AzSockError::eASE_ECONNRESET); - TRANSLATE(EFAULT, AzSockError::eASE_EFAULT); - TRANSLATE(EHOSTDOWN, AzSockError::eASE_EHOSTDOWN); - TRANSLATE(EINPROGRESS, AzSockError::eASE_EINPROGRESS); - TRANSLATE(EINTR, AzSockError::eASE_EINTR); - TRANSLATE(EINVAL, AzSockError::eASE_EINVAL); - TRANSLATE(EISCONN, AzSockError::eASE_EISCONN); - TRANSLATE(EMFILE, AzSockError::eASE_EMFILE); - TRANSLATE(EMSGSIZE, AzSockError::eASE_EMSGSIZE); - TRANSLATE(ENETUNREACH, AzSockError::eASE_ENETUNREACH); - TRANSLATE(ENOBUFS, AzSockError::eASE_ENOBUFS); - TRANSLATE(ENOPROTOOPT, AzSockError::eASE_ENOPROTOOPT); - TRANSLATE(ENOTCONN, AzSockError::eASE_ENOTCONN); - TRANSLATE(EOPNOTSUPP, AzSockError::eASE_EOPNOTSUPP); - TRANSLATE(EPROTONOSUPPORT, AzSockError::eASE_EAFNOSUPPORT); - TRANSLATE(ETIMEDOUT, AzSockError::eASE_ETIMEDOUT); - TRANSLATE(ETOOMANYREFS, AzSockError::eASE_ETOOMANYREFS); - TRANSLATE(EWOULDBLOCK, AzSockError::eASE_EWOULDBLOCK); + switch (oserror) + { + TRANSLATE(0, AzSockError::eASE_NO_ERROR); + TRANSLATE(EACCES, AzSockError::eASE_EACCES); + TRANSLATE(EADDRINUSE, AzSockError::eASE_EADDRINUSE); + TRANSLATE(EADDRNOTAVAIL, AzSockError::eASE_EADDRNOTAVAIL); + TRANSLATE(EAFNOSUPPORT, AzSockError::eASE_EAFNOSUPPORT); + TRANSLATE(EALREADY, AzSockError::eASE_EALREADY); + TRANSLATE(EBADF, AzSockError::eASE_EBADF); + TRANSLATE(ECONNABORTED, AzSockError::eASE_ECONNABORTED); + TRANSLATE(ECONNREFUSED, AzSockError::eASE_ECONNREFUSED); + TRANSLATE(ECONNRESET, AzSockError::eASE_ECONNRESET); + TRANSLATE(EFAULT, AzSockError::eASE_EFAULT); + TRANSLATE(EHOSTDOWN, AzSockError::eASE_EHOSTDOWN); + TRANSLATE(EINPROGRESS, AzSockError::eASE_EINPROGRESS); + TRANSLATE(EINTR, AzSockError::eASE_EINTR); + TRANSLATE(EINVAL, AzSockError::eASE_EINVAL); + TRANSLATE(EISCONN, AzSockError::eASE_EISCONN); + TRANSLATE(EMFILE, AzSockError::eASE_EMFILE); + TRANSLATE(EMSGSIZE, AzSockError::eASE_EMSGSIZE); + TRANSLATE(ENETUNREACH, AzSockError::eASE_ENETUNREACH); + TRANSLATE(ENOBUFS, AzSockError::eASE_ENOBUFS); + TRANSLATE(ENOPROTOOPT, AzSockError::eASE_ENOPROTOOPT); + TRANSLATE(ENOTCONN, AzSockError::eASE_ENOTCONN); + TRANSLATE(EOPNOTSUPP, AzSockError::eASE_EOPNOTSUPP); + TRANSLATE(EPROTONOSUPPORT, AzSockError::eASE_EAFNOSUPPORT); + TRANSLATE(ETIMEDOUT, AzSockError::eASE_ETIMEDOUT); + TRANSLATE(ETOOMANYREFS, AzSockError::eASE_ETOOMANYREFS); + TRANSLATE(EWOULDBLOCK, AzSockError::eASE_EWOULDBLOCK); - default: - AZ_TracePrintf("AzSock", "AzSocket could not translate OS error code %x, treating as miscellaneous.\n", oserror); - error = static_cast(AzSockError::eASE_MISC_ERROR); - break; - } + default: + AZ_TracePrintf("AzSock", "AzSocket could not translate OS error code %x, treating as miscellaneous.\n", oserror); + error = static_cast(AzSockError::eASE_MISC_ERROR); + break; + } #undef TRANSLATE - return error; - } + return error; + } - AZ::s32 TranslateSocketOption(AzSocketOption opt) - { - AZ::s32 value; + AZ::s32 TranslateSocketOption(AzSocketOption opt) + { + AZ::s32 value; #define TRANSLATE(_from, _to) case (_from): value = (_to); break; - switch (opt) - { - TRANSLATE(AzSocketOption::REUSEADDR, SO_REUSEADDR); - TRANSLATE(AzSocketOption::KEEPALIVE, SO_KEEPALIVE); - TRANSLATE(AzSocketOption::LINGER, SO_LINGER); + switch (opt) + { + TRANSLATE(AzSocketOption::REUSEADDR, SO_REUSEADDR); + TRANSLATE(AzSocketOption::KEEPALIVE, SO_KEEPALIVE); + TRANSLATE(AzSocketOption::LINGER, SO_LINGER); - default: - AZ_TracePrintf("AzSock", "AzSocket option %x not yet supported", opt); - value = 0; - break; - } + default: + AZ_TracePrintf("AzSock", "AzSocket option %x not yet supported", opt); + value = 0; + break; + } #undef TRANSLATE - return value; - } + return value; + } - AZSOCKET HandleInvalidSocket(SOCKET sock) + AZSOCKET HandleInvalidSocket(SOCKET sock) + { + AZSOCKET azsock = static_cast(sock); + if (sock == INVALID_SOCKET) { - AZSOCKET azsock = static_cast(sock); - if (sock == INVALID_SOCKET) - { - azsock = TranslateOSError(GetInternalSocketError); - } - return azsock; + azsock = TranslateOSError(GetInternalSocketError); } + return azsock; + } - AZ::s32 HandleSocketError(AZ::s32 socketError) + AZ::s32 HandleSocketError(AZ::s32 socketError) + { + if (socketError == SOCKET_ERROR) { - if (socketError == SOCKET_ERROR) - { - socketError = TranslateOSError(GetInternalSocketError); - } - return socketError; + socketError = TranslateOSError(GetInternalSocketError); } + return socketError; + } - const char* GetStringForError(AZ::s32 errorNumber) - { - AzSockError errorCode = AzSockError(errorNumber); + const char* GetStringForError(AZ::s32 errorNumber) + { + AzSockError errorCode = AzSockError(errorNumber); #define CASE_RETSTRING(errorEnum) case errorEnum: { return #errorEnum; } - switch (errorCode) - { - CASE_RETSTRING(AzSockError::eASE_NO_ERROR); - CASE_RETSTRING(AzSockError::eASE_SOCKET_INVALID); - CASE_RETSTRING(AzSockError::eASE_EACCES); - CASE_RETSTRING(AzSockError::eASE_EADDRINUSE); - CASE_RETSTRING(AzSockError::eASE_EADDRNOTAVAIL); - CASE_RETSTRING(AzSockError::eASE_EAFNOSUPPORT); - CASE_RETSTRING(AzSockError::eASE_EALREADY); - CASE_RETSTRING(AzSockError::eASE_EBADF); - CASE_RETSTRING(AzSockError::eASE_ECONNABORTED); - CASE_RETSTRING(AzSockError::eASE_ECONNREFUSED); - CASE_RETSTRING(AzSockError::eASE_ECONNRESET); - CASE_RETSTRING(AzSockError::eASE_EFAULT); - CASE_RETSTRING(AzSockError::eASE_EHOSTDOWN); - CASE_RETSTRING(AzSockError::eASE_EINPROGRESS); - CASE_RETSTRING(AzSockError::eASE_EINTR); - CASE_RETSTRING(AzSockError::eASE_EINVAL); - CASE_RETSTRING(AzSockError::eASE_EISCONN); - CASE_RETSTRING(AzSockError::eASE_EMFILE); - CASE_RETSTRING(AzSockError::eASE_EMSGSIZE); - CASE_RETSTRING(AzSockError::eASE_ENETUNREACH); - CASE_RETSTRING(AzSockError::eASE_ENOBUFS); - CASE_RETSTRING(AzSockError::eASE_ENOPROTOOPT); - CASE_RETSTRING(AzSockError::eASE_ENOTCONN); - CASE_RETSTRING(AzSockError::eASE_ENOTINITIALISED); - CASE_RETSTRING(AzSockError::eASE_EOPNOTSUPP); - CASE_RETSTRING(AzSockError::eASE_EPIPE); - CASE_RETSTRING(AzSockError::eASE_EPROTONOSUPPORT); - CASE_RETSTRING(AzSockError::eASE_ETIMEDOUT); - CASE_RETSTRING(AzSockError::eASE_ETOOMANYREFS); - CASE_RETSTRING(AzSockError::eASE_EWOULDBLOCK); - CASE_RETSTRING(AzSockError::eASE_EWOULDBLOCK_CONN); - CASE_RETSTRING(AzSockError::eASE_MISC_ERROR); - } + switch (errorCode) + { + CASE_RETSTRING(AzSockError::eASE_NO_ERROR); + CASE_RETSTRING(AzSockError::eASE_SOCKET_INVALID); + CASE_RETSTRING(AzSockError::eASE_EACCES); + CASE_RETSTRING(AzSockError::eASE_EADDRINUSE); + CASE_RETSTRING(AzSockError::eASE_EADDRNOTAVAIL); + CASE_RETSTRING(AzSockError::eASE_EAFNOSUPPORT); + CASE_RETSTRING(AzSockError::eASE_EALREADY); + CASE_RETSTRING(AzSockError::eASE_EBADF); + CASE_RETSTRING(AzSockError::eASE_ECONNABORTED); + CASE_RETSTRING(AzSockError::eASE_ECONNREFUSED); + CASE_RETSTRING(AzSockError::eASE_ECONNRESET); + CASE_RETSTRING(AzSockError::eASE_EFAULT); + CASE_RETSTRING(AzSockError::eASE_EHOSTDOWN); + CASE_RETSTRING(AzSockError::eASE_EINPROGRESS); + CASE_RETSTRING(AzSockError::eASE_EINTR); + CASE_RETSTRING(AzSockError::eASE_EINVAL); + CASE_RETSTRING(AzSockError::eASE_EISCONN); + CASE_RETSTRING(AzSockError::eASE_EMFILE); + CASE_RETSTRING(AzSockError::eASE_EMSGSIZE); + CASE_RETSTRING(AzSockError::eASE_ENETUNREACH); + CASE_RETSTRING(AzSockError::eASE_ENOBUFS); + CASE_RETSTRING(AzSockError::eASE_ENOPROTOOPT); + CASE_RETSTRING(AzSockError::eASE_ENOTCONN); + CASE_RETSTRING(AzSockError::eASE_ENOTINITIALISED); + CASE_RETSTRING(AzSockError::eASE_EOPNOTSUPP); + CASE_RETSTRING(AzSockError::eASE_EPIPE); + CASE_RETSTRING(AzSockError::eASE_EPROTONOSUPPORT); + CASE_RETSTRING(AzSockError::eASE_ETIMEDOUT); + CASE_RETSTRING(AzSockError::eASE_ETOOMANYREFS); + CASE_RETSTRING(AzSockError::eASE_EWOULDBLOCK); + CASE_RETSTRING(AzSockError::eASE_EWOULDBLOCK_CONN); + CASE_RETSTRING(AzSockError::eASE_MISC_ERROR); + } #undef CASE_RETSTRING - return "(invalid)"; - } - - AZ::u32 HostToNetLong(AZ::u32 hstLong) - { - return htonl(hstLong); - } - - AZ::u32 NetToHostLong(AZ::u32 netLong) - { - return ntohl(netLong); - } - - AZ::u16 HostToNetShort(AZ::u16 hstShort) - { - return htons(hstShort); - } - - AZ::u16 NetToHostShort(AZ::u16 netShort) - { - return ntohs(netShort); - } - - AZ::s32 GetHostName(AZStd::string& hostname) - { - AZ::s32 result = 0; - hostname.clear(); - char name[256]; - result = HandleSocketError(gethostname(name, AZ_ARRAY_SIZE(name))); - if (result == static_cast(AzSockError::eASE_NO_ERROR)) - { - hostname = name; - } - return result; - } - - AZSOCKET Socket() - { - return Socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); - } - - AZSOCKET Socket(AZ::s32 af, AZ::s32 type, AZ::s32 protocol) - { - return HandleInvalidSocket(socket(af, type, protocol)); - } - - AZ::s32 SetSockOpt(AZSOCKET sock, AZ::s32 level, AZ::s32 optname, const char* optval, AZ::s32 optlen) - { - AZSOCKLEN length(optlen); - return HandleSocketError(setsockopt(sock, level, optname, optval, length)); - } - - AZ::s32 SetSocketOption(AZSOCKET sock, AzSocketOption opt, bool enable) - { - AZ::u32 val = enable ? 1 : 0; - return SetSockOpt(sock, SOL_SOCKET, TranslateSocketOption(opt), reinterpret_cast(&val), sizeof(val)); - } - - AZ::s32 EnableTCPNoDelay(AZSOCKET sock, bool enable) - { - AZ::u32 val = enable ? 1 : 0; - return SetSockOpt(sock, IPPROTO_TCP, TCP_NODELAY, reinterpret_cast(&val), sizeof(val)); - } - - AZ::s32 SetSocketBlockingMode(AZSOCKET sock, bool blocking) - { - AZ::s32 flags = ::fcntl(sock, F_GETFL); - flags &= ~O_NONBLOCK; - flags |= (blocking ? 0 : O_NONBLOCK); - return ::fcntl(sock, F_SETFL, flags); - } - - AZ::s32 CloseSocket(AZSOCKET sock) - { - return HandleSocketError(closesocket(sock)); - } - - AZ::s32 Shutdown(AZSOCKET sock, AZ::s32 how) - { - return HandleSocketError(shutdown(sock, how)); - } - - AZ::s32 GetSockName(AZSOCKET sock, AzSocketAddress& addr) - { - AZSOCKADDR sAddr; - AZSOCKLEN sAddrLen = sizeof(AZSOCKADDR); - memset(&sAddr, 0, sAddrLen); - AZ::s32 result = HandleSocketError(getsockname(sock, &sAddr, &sAddrLen)); - addr = sAddr; - return result; - } - - AZ::s32 Connect(AZSOCKET sock, const AzSocketAddress& addr) - { - AZ::s32 err = HandleSocketError(connect(sock, addr.GetTargetAddress(), sizeof(AZSOCKADDR_IN))); - if (err == static_cast(AzSockError::eASE_EINPROGRESS)) - { - err = static_cast(AzSockError::eASE_EWOULDBLOCK_CONN); - } - return err; - } - - AZ::s32 Listen(AZSOCKET sock, AZ::s32 backlog) - { - return HandleSocketError(listen(sock, backlog)); - } - - AZSOCKET Accept(AZSOCKET sock, AzSocketAddress& addr) - { - AZSOCKADDR sAddr; - AZSOCKLEN sAddrLen = sizeof(AZSOCKADDR); - memset(&sAddr, 0, sAddrLen); - AZSOCKET outSock = HandleInvalidSocket(accept(sock, &sAddr, &sAddrLen)); - addr = sAddr; - return outSock; - } - - AZ::s32 Send(AZSOCKET sock, const char* buf, AZ::s32 len, AZ::s32 flags) - { - AZ::s32 msgNoSignal = MSG_NOSIGNAL; - return HandleSocketError(send(sock, buf, len, flags | msgNoSignal)); - } - - AZ::s32 Recv(AZSOCKET sock, char* buf, AZ::s32 len, AZ::s32 flags) - { - return HandleSocketError(recv(sock, buf, len, flags)); - } - - AZ::s32 Bind(AZSOCKET sock, const AzSocketAddress& addr) - { - return HandleSocketError(bind(sock, addr.GetTargetAddress(), sizeof(AZSOCKADDR_IN))); - } - - AZ::s32 Select(AZSOCKET sock, AZFD_SET* readfdsock, AZFD_SET* writefdsock, AZFD_SET* exceptfdsock, AZTIMEVAL* timeout) - { - return HandleSocketError(::select(sock + 1, readfdsock, writefdsock, exceptfdsock, timeout)); - } - - AZ::s32 IsRecvPending(AZSOCKET sock, AZTIMEVAL* timeout) - { - AZFD_SET readSet; - FD_ZERO(&readSet); - FD_SET(sock, &readSet); - - AZ::s32 ret = Select(sock, &readSet, nullptr, nullptr, timeout); - if (ret >= 0) - { - ret = FD_ISSET(sock, &readSet); - if (ret != 0) - { - ret = 1; - } - } - - return ret; - } - - AZ::s32 WaitForWritableSocket(AZSOCKET sock, AZTIMEVAL* timeout) - { - AZFD_SET writeSet; - FD_ZERO(&writeSet); - FD_SET(sock, &writeSet); - - AZ::s32 ret = Select(sock, nullptr, &writeSet, nullptr, timeout); - if (ret >= 0) - { - ret = FD_ISSET(sock, &writeSet); - if (ret != 0) - { - ret = 1; - } - } - - return ret; - } - - AZ::s32 Startup() - { - return static_cast(AzSockError::eASE_NO_ERROR); - } - - AZ::s32 Cleanup() - { - return static_cast(AzSockError::eASE_NO_ERROR); - } - - bool ResolveAddress(const AZStd::string& ip, AZ::u16 port, AZSOCKADDR_IN& socketAddress) - { - bool foundAddr = false; - addrinfo hints; - memset(&hints, 0, sizeof(addrinfo)); - addrinfo* addrInfo; - hints.ai_family = AF_INET; - hints.ai_flags = AI_CANONNAME; - char strPort[8]; - azsnprintf(strPort, AZ_ARRAY_SIZE(strPort), "%d", port); - - const char* address = ip.c_str(); - if (address && strlen(address) == 0) // getaddrinfo doesn't accept empty string - { - address = nullptr; - } - - AZ::s32 err = HandleSocketError(getaddrinfo(address, strPort, &hints, &addrInfo)); - if (err == 0) // eASE_NO_ERROR - { - if (addrInfo->ai_family == AF_INET) - { - socketAddress = *reinterpret_cast(addrInfo->ai_addr); - foundAddr = true; - } - - freeaddrinfo(addrInfo); - } - else - { - AZ_Assert(false, "AzSocketAddress could not resolve address %s with port %d. (reason - %s)", ip.c_str(), port, GetStringForError(err)); - } - return foundAddr; - } + return "(invalid)"; } -} + + AZ::u32 HostToNetLong(AZ::u32 hstLong) + { + return htonl(hstLong); + } + + AZ::u32 NetToHostLong(AZ::u32 netLong) + { + return ntohl(netLong); + } + + AZ::u16 HostToNetShort(AZ::u16 hstShort) + { + return htons(hstShort); + } + + AZ::u16 NetToHostShort(AZ::u16 netShort) + { + return ntohs(netShort); + } + + AZ::s32 GetHostName(AZStd::string& hostname) + { + AZ::s32 result = 0; + hostname.clear(); + char name[256]; + result = HandleSocketError(gethostname(name, AZ_ARRAY_SIZE(name))); + if (result == static_cast(AzSockError::eASE_NO_ERROR)) + { + hostname = name; + } + return result; + } + + AZSOCKET Socket() + { + return Socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); + } + + AZSOCKET Socket(AZ::s32 af, AZ::s32 type, AZ::s32 protocol) + { + return HandleInvalidSocket(socket(af, type, protocol)); + } + + AZ::s32 SetSockOpt(AZSOCKET sock, AZ::s32 level, AZ::s32 optname, const char* optval, AZ::s32 optlen) + { + AZSOCKLEN length(optlen); + return HandleSocketError(setsockopt(sock, level, optname, optval, length)); + } + + AZ::s32 SetSocketOption(AZSOCKET sock, AzSocketOption opt, bool enable) + { + AZ::u32 val = enable ? 1 : 0; + return SetSockOpt(sock, SOL_SOCKET, TranslateSocketOption(opt), reinterpret_cast(&val), sizeof(val)); + } + + AZ::s32 EnableTCPNoDelay(AZSOCKET sock, bool enable) + { + AZ::u32 val = enable ? 1 : 0; + return SetSockOpt(sock, IPPROTO_TCP, TCP_NODELAY, reinterpret_cast(&val), sizeof(val)); + } + + AZ::s32 SetSocketBlockingMode(AZSOCKET sock, bool blocking) + { + AZ::s32 flags = ::fcntl(sock, F_GETFL); + flags &= ~O_NONBLOCK; + flags |= (blocking ? 0 : O_NONBLOCK); + return ::fcntl(sock, F_SETFL, flags); + } + + AZ::s32 CloseSocket(AZSOCKET sock) + { + return HandleSocketError(closesocket(sock)); + } + + AZ::s32 Shutdown(AZSOCKET sock, AZ::s32 how) + { + return HandleSocketError(shutdown(sock, how)); + } + + AZ::s32 GetSockName(AZSOCKET sock, AzSocketAddress& addr) + { + AZSOCKADDR sAddr; + AZSOCKLEN sAddrLen = sizeof(AZSOCKADDR); + memset(&sAddr, 0, sAddrLen); + AZ::s32 result = HandleSocketError(getsockname(sock, &sAddr, &sAddrLen)); + addr = sAddr; + return result; + } + + AZ::s32 Connect(AZSOCKET sock, const AzSocketAddress& addr) + { + AZ::s32 err = HandleSocketError(connect(sock, addr.GetTargetAddress(), sizeof(AZSOCKADDR_IN))); + if (err == static_cast(AzSockError::eASE_EINPROGRESS)) + { + err = static_cast(AzSockError::eASE_EWOULDBLOCK_CONN); + } + return err; + } + + AZ::s32 Listen(AZSOCKET sock, AZ::s32 backlog) + { + return HandleSocketError(listen(sock, backlog)); + } + + AZSOCKET Accept(AZSOCKET sock, AzSocketAddress& addr) + { + AZSOCKADDR sAddr; + AZSOCKLEN sAddrLen = sizeof(AZSOCKADDR); + memset(&sAddr, 0, sAddrLen); + AZSOCKET outSock = HandleInvalidSocket(accept(sock, &sAddr, &sAddrLen)); + addr = sAddr; + return outSock; + } + + AZ::s32 Send(AZSOCKET sock, const char* buf, AZ::s32 len, AZ::s32 flags) + { + AZ::s32 msgNoSignal = MSG_NOSIGNAL; + return HandleSocketError(send(sock, buf, len, flags | msgNoSignal)); + } + + AZ::s32 Recv(AZSOCKET sock, char* buf, AZ::s32 len, AZ::s32 flags) + { + return HandleSocketError(recv(sock, buf, len, flags)); + } + + AZ::s32 Bind(AZSOCKET sock, const AzSocketAddress& addr) + { + return HandleSocketError(bind(sock, addr.GetTargetAddress(), sizeof(AZSOCKADDR_IN))); + } + + AZ::s32 Select(AZSOCKET sock, AZFD_SET* readfdsock, AZFD_SET* writefdsock, AZFD_SET* exceptfdsock, AZTIMEVAL* timeout) + { + return HandleSocketError(::select(sock + 1, readfdsock, writefdsock, exceptfdsock, timeout)); + } + + AZ::s32 IsRecvPending(AZSOCKET sock, AZTIMEVAL* timeout) + { + AZFD_SET readSet; + FD_ZERO(&readSet); + FD_SET(sock, &readSet); + + AZ::s32 ret = Select(sock, &readSet, nullptr, nullptr, timeout); + if (ret >= 0) + { + ret = FD_ISSET(sock, &readSet); + if (ret != 0) + { + ret = 1; + } + } + + return ret; + } + + AZ::s32 WaitForWritableSocket(AZSOCKET sock, AZTIMEVAL* timeout) + { + AZFD_SET writeSet; + FD_ZERO(&writeSet); + FD_SET(sock, &writeSet); + + AZ::s32 ret = Select(sock, nullptr, &writeSet, nullptr, timeout); + if (ret >= 0) + { + ret = FD_ISSET(sock, &writeSet); + if (ret != 0) + { + ret = 1; + } + } + + return ret; + } + + AZ::s32 Startup() + { + return static_cast(AzSockError::eASE_NO_ERROR); + } + + AZ::s32 Cleanup() + { + return static_cast(AzSockError::eASE_NO_ERROR); + } + + bool ResolveAddress(const AZStd::string& ip, AZ::u16 port, AZSOCKADDR_IN& socketAddress) + { + bool foundAddr = false; + addrinfo hints; + memset(&hints, 0, sizeof(addrinfo)); + addrinfo* addrInfo; + hints.ai_family = AF_INET; + hints.ai_flags = AI_CANONNAME; + char strPort[8]; + azsnprintf(strPort, AZ_ARRAY_SIZE(strPort), "%d", port); + + const char* address = ip.c_str(); + if (address && strlen(address) == 0) // getaddrinfo doesn't accept empty string + { + address = nullptr; + } + + AZ::s32 err = HandleSocketError(getaddrinfo(address, strPort, &hints, &addrInfo)); + if (err == 0) // eASE_NO_ERROR + { + if (addrInfo->ai_family == AF_INET) + { + socketAddress = *reinterpret_cast(addrInfo->ai_addr); + foundAddr = true; + } + + freeaddrinfo(addrInfo); + } + else + { + AZ_Assert(false, "AzSocketAddress could not resolve address %s with port %d. (reason - %s)", ip.c_str(), port, GetStringForError(err)); + } + return foundAddr; + } +} // namespace AZ::AzSock diff --git a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Utils/Utils_UnixLike.cpp b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Utils/Utils_UnixLike.cpp index 7327c8f152..8a93f88ac2 100644 --- a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Utils/Utils_UnixLike.cpp +++ b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Utils/Utils_UnixLike.cpp @@ -11,68 +11,65 @@ #include #include -namespace AZ +namespace AZ::Utils { - namespace Utils + void RequestAbnormalTermination() { - void RequestAbnormalTermination() + abort(); + } + + void NativeErrorMessageBox(const char*, const char*) {} + + AZ::IO::FixedMaxPathString GetHomeDirectory() + { + constexpr AZStd::string_view overrideHomeDirKey = "/Amazon/Settings/override_home_dir"; + AZ::IO::FixedMaxPathString overrideHomeDir; + if (auto settingsRegistry = AZ::SettingsRegistry::Get(); settingsRegistry != nullptr) { - abort(); - } - - void NativeErrorMessageBox(const char*, const char*) {} - - AZ::IO::FixedMaxPathString GetHomeDirectory() - { - constexpr AZStd::string_view overrideHomeDirKey = "/Amazon/Settings/override_home_dir"; - AZ::IO::FixedMaxPathString overrideHomeDir; - if (auto settingsRegistry = AZ::SettingsRegistry::Get(); settingsRegistry != nullptr) + if (settingsRegistry->Get(overrideHomeDir, overrideHomeDirKey)) { - if (settingsRegistry->Get(overrideHomeDir, overrideHomeDirKey)) - { - AZ::IO::FixedMaxPath path{overrideHomeDir}; - return path.Native(); - } - } - - if (const char* homePath = std::getenv("HOME"); homePath != nullptr) - { - AZ::IO::FixedMaxPath path{homePath}; + AZ::IO::FixedMaxPath path{overrideHomeDir}; return path.Native(); } - - struct passwd* pass = getpwuid(getuid()); - if (pass) - { - AZ::IO::FixedMaxPath path{pass->pw_dir}; - return path.Native(); - } - - return {}; } - bool ConvertToAbsolutePath(const char* path, char* absolutePath, AZ::u64 maxLength) + if (const char* homePath = std::getenv("HOME"); homePath != nullptr) { + AZ::IO::FixedMaxPath path{homePath}; + return path.Native(); + } + + struct passwd* pass = getpwuid(getuid()); + if (pass) + { + AZ::IO::FixedMaxPath path{pass->pw_dir}; + return path.Native(); + } + + return {}; + } + + bool ConvertToAbsolutePath(const char* path, char* absolutePath, AZ::u64 maxLength) + { #ifdef PATH_MAX - static constexpr size_t UnixMaxPathLength = PATH_MAX; + static constexpr size_t UnixMaxPathLength = PATH_MAX; #else - // Fallback to 4096 if the PATH_MAX macro isn't defined on the Unix System - static constexpr size_t UnixMaxPathLength = 4096; + // Fallback to 4096 if the PATH_MAX macro isn't defined on the Unix System + static constexpr size_t UnixMaxPathLength = 4096; #endif - if (!AZ::IO::PathView(path).IsAbsolute()) + if (!AZ::IO::PathView(path).IsAbsolute()) + { + // note that realpath fails if the path does not exist and actually changes the return value + // to be the actual place that FAILED, which we don't want. + // if we fail, we'd prefer to fall through and at least use the original path. + char absolutePathBuffer[UnixMaxPathLength]; + if (const char* result = realpath(path, absolutePathBuffer); result != nullptr) { - // note that realpath fails if the path does not exist and actually changes the return value - // to be the actual place that FAILED, which we don't want. - // if we fail, we'd prefer to fall through and at least use the original path. - char absolutePathBuffer[UnixMaxPathLength]; - if (const char* result = realpath(path, absolutePathBuffer); result != nullptr) - { - azstrcpy(absolutePath, maxLength, absolutePathBuffer); - return true; - } + azstrcpy(absolutePath, maxLength, absolutePathBuffer); + return true; } - azstrcpy(absolutePath, maxLength, path); - return AZ::IO::PathView(absolutePath).IsAbsolute(); } - } // namespace Utils -} // namespace AZ + azstrcpy(absolutePath, maxLength, path); + return AZ::IO::PathView(absolutePath).IsAbsolute(); + } +} // namespace AZ::Utils diff --git a/Code/Framework/AzCore/Platform/Linux/AzCore/Debug/Trace_Linux.cpp b/Code/Framework/AzCore/Platform/Linux/AzCore/Debug/Trace_Linux.cpp index 1ca06fcf7f..e4cd0d0db4 100644 --- a/Code/Framework/AzCore/Platform/Linux/AzCore/Debug/Trace_Linux.cpp +++ b/Code/Framework/AzCore/Platform/Linux/AzCore/Debug/Trace_Linux.cpp @@ -9,16 +9,10 @@ #include #include -namespace AZ +namespace AZ::Debug::Platform { - namespace Debug + void OutputToDebugger([[maybe_unused]] const char* title, [[maybe_unused]] const char* message) { - namespace Platform - { - void OutputToDebugger([[maybe_unused]] const char* title, [[maybe_unused]] const char* message) - { - // std::cout << title << ": " << message; - } - } + // std::cout << title << ": " << message; } -} +} // namespace AZ::Debug::Platform diff --git a/Code/Framework/AzCore/Platform/Linux/AzCore/Memory/HeapSchema_Linux.cpp b/Code/Framework/AzCore/Platform/Linux/AzCore/Memory/HeapSchema_Linux.cpp index e28832cf61..d9defd5acc 100644 --- a/Code/Framework/AzCore/Platform/Linux/AzCore/Memory/HeapSchema_Linux.cpp +++ b/Code/Framework/AzCore/Platform/Linux/AzCore/Memory/HeapSchema_Linux.cpp @@ -8,13 +8,10 @@ #include -namespace AZ +namespace AZ::Platform { - namespace Platform + size_t GetHeapCapacity() { - size_t GetHeapCapacity() - { - return 0; - } + return 0; } -} +} // namespace AZ::Platform diff --git a/Code/Framework/AzCore/Platform/Linux/AzCore/Module/DynamicModuleHandle_Linux.cpp b/Code/Framework/AzCore/Platform/Linux/AzCore/Module/DynamicModuleHandle_Linux.cpp index 62718c2d46..aee2bdb622 100644 --- a/Code/Framework/AzCore/Platform/Linux/AzCore/Module/DynamicModuleHandle_Linux.cpp +++ b/Code/Framework/AzCore/Platform/Linux/AzCore/Module/DynamicModuleHandle_Linux.cpp @@ -10,28 +10,25 @@ #include #include -namespace AZ +namespace AZ::Platform { - namespace Platform + AZ::IO::FixedMaxPath GetModulePath() { - AZ::IO::FixedMaxPath GetModulePath() - { - return AZ::Utils::GetExecutableDirectory(); - } - - void* OpenModule(const AZ::OSString& fileName, bool& alreadyOpen) - { - void* handle = dlopen(fileName.c_str(), RTLD_NOLOAD); - alreadyOpen = (handle != nullptr); - if (!alreadyOpen) - { - handle = dlopen(fileName.c_str(), RTLD_NOW); - } - return handle; - } - - void ConstructModuleFullFileName(AZ::IO::FixedMaxPath&) - { - } + return AZ::Utils::GetExecutableDirectory(); } -} + + void* OpenModule(const AZ::OSString& fileName, bool& alreadyOpen) + { + void* handle = dlopen(fileName.c_str(), RTLD_NOLOAD); + alreadyOpen = (handle != nullptr); + if (!alreadyOpen) + { + handle = dlopen(fileName.c_str(), RTLD_NOW); + } + return handle; + } + + void ConstructModuleFullFileName(AZ::IO::FixedMaxPath&) + { + } +} // namespace AZ::Platform diff --git a/Code/Framework/AzCore/Platform/Linux/AzCore/Module/Internal/ModuleManagerSearchPathTool_Linux.cpp b/Code/Framework/AzCore/Platform/Linux/AzCore/Module/Internal/ModuleManagerSearchPathTool_Linux.cpp index 39b4cbd4ea..9dfa08e554 100644 --- a/Code/Framework/AzCore/Platform/Linux/AzCore/Module/Internal/ModuleManagerSearchPathTool_Linux.cpp +++ b/Code/Framework/AzCore/Platform/Linux/AzCore/Module/Internal/ModuleManagerSearchPathTool_Linux.cpp @@ -8,20 +8,17 @@ #include -namespace AZ +namespace AZ::Internal { - namespace Internal + ModuleManagerSearchPathTool::ModuleManagerSearchPathTool() { - ModuleManagerSearchPathTool::ModuleManagerSearchPathTool() - { - } + } - ModuleManagerSearchPathTool::~ModuleManagerSearchPathTool() - { - } + ModuleManagerSearchPathTool::~ModuleManagerSearchPathTool() + { + } - void ModuleManagerSearchPathTool::SetModuleSearchPath(const AZ::DynamicModuleDescriptor&) - { - } - } // namespace Internal -} // namespace AZ + void ModuleManagerSearchPathTool::SetModuleSearchPath(const AZ::DynamicModuleDescriptor&) + { + } +} // namespace AZ::Internal diff --git a/Code/Framework/AzCore/Platform/Linux/AzCore/Utils/Utils_Linux.cpp b/Code/Framework/AzCore/Platform/Linux/AzCore/Utils/Utils_Linux.cpp index d75eab0139..ed4e2674c5 100644 --- a/Code/Framework/AzCore/Platform/Linux/AzCore/Utils/Utils_Linux.cpp +++ b/Code/Framework/AzCore/Platform/Linux/AzCore/Utils/Utils_Linux.cpp @@ -13,42 +13,39 @@ #include -namespace AZ +namespace AZ::Utils { - namespace Utils + GetExecutablePathReturnType GetExecutablePath(char* exeStorageBuffer, size_t exeStorageSize) { - GetExecutablePathReturnType GetExecutablePath(char* exeStorageBuffer, size_t exeStorageSize) + GetExecutablePathReturnType result; + result.m_pathIncludesFilename = true; + + // http://man7.org/linux/man-pages/man5/proc.5.html + const ssize_t bytesWritten = readlink("/proc/self/exe", exeStorageBuffer, exeStorageSize); + if (bytesWritten == -1) { - GetExecutablePathReturnType result; - result.m_pathIncludesFilename = true; - - // http://man7.org/linux/man-pages/man5/proc.5.html - const ssize_t bytesWritten = readlink("/proc/self/exe", exeStorageBuffer, exeStorageSize); - if (bytesWritten == -1) - { - result.m_pathStored = ExecutablePathResult::GeneralError; - } - else if (bytesWritten == exeStorageSize) - { - result.m_pathStored = ExecutablePathResult::BufferSizeNotLargeEnough; - } - else - { - // readlink doesn't null terminate - exeStorageBuffer[bytesWritten] = '\0'; - } - - return result; + result.m_pathStored = ExecutablePathResult::GeneralError; + } + else if (bytesWritten == exeStorageSize) + { + result.m_pathStored = ExecutablePathResult::BufferSizeNotLargeEnough; + } + else + { + // readlink doesn't null terminate + exeStorageBuffer[bytesWritten] = '\0'; } - AZStd::optional GetDefaultAppRootPath() - { - return AZStd::nullopt; - } - - AZStd::optional GetDevWriteStoragePath() - { - return AZStd::nullopt; - } + return result; } -} + + AZStd::optional GetDefaultAppRootPath() + { + return AZStd::nullopt; + } + + AZStd::optional GetDevWriteStoragePath() + { + return AZStd::nullopt; + } +} // namespace AZ::Utils diff --git a/Code/Framework/AzCore/Tests/Asset/AssetManagerLoadingTests.cpp b/Code/Framework/AzCore/Tests/Asset/AssetManagerLoadingTests.cpp index 397bbd50c9..fe38451101 100644 --- a/Code/Framework/AzCore/Tests/Asset/AssetManagerLoadingTests.cpp +++ b/Code/Framework/AzCore/Tests/Asset/AssetManagerLoadingTests.cpp @@ -2282,6 +2282,45 @@ namespace UnitTest AssetManager::Destroy(); } + struct MockAssetContainer : AssetContainer + { + MockAssetContainer(Asset assetData, const AssetLoadParameters& loadParams) + { + // Copying the code in the original constructor, we can't call that constructor because it will not invoke our virtual method + m_rootAsset = AssetInternal::WeakAsset(assetData); + m_containerAssetId = m_rootAsset.GetId(); + + AddDependentAssets(assetData, loadParams); + } + + protected: + AZStd::vector>> CreateAndQueueDependentAssets( + const AZStd::vector& dependencyInfoList, const AssetLoadParameters& loadParamsCopyWithNoLoadingFilter) override + { + auto result = AssetContainer::CreateAndQueueDependentAssets(dependencyInfoList, loadParamsCopyWithNoLoadingFilter); + + // Sleep for a long enough time to allow asset loads to complete and start triggering AssetReady events + // This forces the race condition to occur + AZStd::this_thread::sleep_for(AZStd::chrono::milliseconds(500)); + + return result; + } + }; + + struct MockAssetManager : AssetManager + { + explicit MockAssetManager(const Descriptor& desc) + : AssetManager(desc) + { + } + + protected: + AZStd::shared_ptr CreateAssetContainer(Asset asset, const AssetLoadParameters& loadParams) const override + { + return AZStd::shared_ptr(aznew MockAssetContainer(asset, loadParams)); + } + }; + void ParallelDeepAssetReferences() { SerializeContext context; @@ -2289,7 +2328,7 @@ namespace UnitTest AssetWithAssetReference::Reflect(context); AssetManager::Descriptor desc; - AssetManager::Create(desc); + AssetManager::SetInstance(aznew MockAssetManager(desc)); auto& db = AssetManager::Instance(); @@ -2312,17 +2351,17 @@ namespace UnitTest // AssetC is MYASSETC AssetWithAssetReference c; - c.m_asset = AssetManager::Instance().CreateAsset(AssetId(MyAssetDId)); // point at D + c.m_asset = db.CreateAsset(AssetId(MyAssetDId)); // point at D EXPECT_TRUE(AZ::Utils::SaveObjectToFile(GetTestFolderPath() + "TestAsset3.txt", AZ::DataStream::ST_XML, &c, &context)); // AssetB is MYASSETB AssetWithAssetReference b; - b.m_asset = AssetManager::Instance().CreateAsset(AssetId(MyAssetCId)); // point at C + b.m_asset = db.CreateAsset(AssetId(MyAssetCId)); // point at C EXPECT_TRUE(AZ::Utils::SaveObjectToFile(GetTestFolderPath() + "TestAsset2.txt", AZ::DataStream::ST_XML, &b, &context)); // AssetA will be written to disk as MYASSETA AssetWithAssetReference a; - a.m_asset = AssetManager::Instance().CreateAsset(AssetId(MyAssetBId)); // point at B + a.m_asset = db.CreateAsset(AssetId(MyAssetBId)); // point at B EXPECT_TRUE(AZ::Utils::SaveObjectToFile(GetTestFolderPath() + "TestAsset1.txt", AZ::DataStream::ST_XML, &a, &context)); } @@ -2531,7 +2570,7 @@ namespace UnitTest TEST_F(AssetJobsMultithreadedTest, DISABLED_ParallelDeepAssetReferences) #else // temporarily disabled until sporadic failures can be root caused - TEST_F(AssetJobsMultithreadedTest, DISABLED_ParallelDeepAssetReferences) + TEST_F(AssetJobsMultithreadedTest, ParallelDeepAssetReferences) #endif // AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS { ParallelDeepAssetReferences(); diff --git a/Code/Framework/AzFramework/AzFramework/Archive/Archive.cpp b/Code/Framework/AzFramework/AzFramework/Archive/Archive.cpp index 0fede85aa7..a60a657d87 100644 --- a/Code/Framework/AzFramework/AzFramework/Archive/Archive.cpp +++ b/Code/Framework/AzFramework/AzFramework/Archive/Archive.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include @@ -43,8 +42,10 @@ namespace AZ::IO { - AZ_CVAR(int, sys_PakPriority, aznumeric_cast(ArchiveVars{}.nPriority), nullptr, AZ::ConsoleFunctorFlags::Null, - "If set to 1, tells Archive to try to open the file in pak first, then go to file system"); + AZ_CVAR(int, sys_PakPriority, aznumeric_cast(ArchiveVars{}.m_fileSearchPriority), nullptr, AZ::ConsoleFunctorFlags::Null, + "If set to 0, tells Archive to try to open the file on the file system first othewise check mounted paks.\n" + "If set to 1, tells Archive to try to open the file in pak first, then go to file system.\n" + "If set to 2, tells the Archive to only open files from the pak"); AZ_CVAR(int, sys_PakMessageInvalidFileAccess, ArchiveVars{}.nMessageInvalidFileAccess, nullptr, AZ::ConsoleFunctorFlags::Null, "Message Box synchronous file access when in game"); @@ -437,9 +438,9 @@ namespace AZ::IO ////////////////////////////////////////////////////////////////////////// - bool Archive::IsFileExist(AZStd::string_view sFilename, EFileSearchLocation fileLocation) + bool Archive::IsFileExist(AZStd::string_view sFilename, FileSearchLocation fileLocation) { - const AZ::IO::ArchiveLocationPriority nVarPakPriority = GetPakPriority(); + const AZ::IO::FileSearchPriority nVarPakPriority = GetPakPriority(); auto szFullPath = AZ::IO::FileIOBase::GetDirectInstance()->ResolvePath(sFilename); if (!szFullPath) @@ -450,25 +451,25 @@ namespace AZ::IO switch(fileLocation) { - case IArchive::eFileLocation_Any: + case FileSearchLocation::Any: // Search for file based on pak priority switch (nVarPakPriority) { - case ArchiveLocationPriority::ePakPriorityFileFirst: + case FileSearchPriority::FileFirst: return FileIOBase::GetDirectInstance()->Exists(szFullPath->c_str()) || FindPakFileEntry(szFullPath->Native()); - case ArchiveLocationPriority::ePakPriorityPakFirst: + case FileSearchPriority::PakFirst: return FindPakFileEntry(szFullPath->Native()) || IO::FileIOBase::GetDirectInstance()->Exists(szFullPath->c_str()); - case ArchiveLocationPriority::ePakPriorityPakOnly: + case FileSearchPriority::PakOnly: return FindPakFileEntry(szFullPath->Native()); default: - AZ_Assert(false, "PakPriority %d doesn't match a value in the ArchiveLocationPriority enum", + AZ_Assert(false, "PakPriority %d doesn't match a value in the FileSearchPriority enum", aznumeric_cast(nVarPakPriority)); } break; - case IArchive::eFileLocation_InPak: + case FileSearchLocation::InPak: return FindPakFileEntry(szFullPath->Native()); - case IArchive::eFileLocation_OnDisk: - if (nVarPakPriority != ArchiveLocationPriority::ePakPriorityPakOnly) + case FileSearchLocation::OnDisk: + if (nVarPakPriority != FileSearchPriority::PakOnly) { return FileIOBase::GetDirectInstance()->Exists(szFullPath->c_str()); } @@ -485,7 +486,7 @@ namespace AZ::IO ////////////////////////////////////////////////////////////////////////// bool Archive::IsFolder(AZStd::string_view sPath) { - AZStd::fixed_string filePath{ sPath }; + AZ::IO::FixedMaxPath filePath{ sPath }; return AZ::IO::FileIOBase::GetDirectInstance()->IsDirectory(filePath.c_str()); } @@ -515,7 +516,7 @@ namespace AZ::IO // get the priority into local variable to avoid it changing in the course of // this function execution (?) - const ArchiveLocationPriority nVarPakPriority = GetPakPriority(); + const FileSearchPriority nVarPakPriority = GetPakPriority(); AZ::IO::OpenMode nOSFlags = AZ::IO::GetOpenModeFromStringMode(szMode); @@ -628,17 +629,17 @@ namespace AZ::IO switch (nVarPakPriority) { - case ArchiveLocationPriority::ePakPriorityFileFirst: + case FileSearchPriority::FileFirst: { AZ::IO::HandleType fileHandle = OpenFromFileSystem(); return fileHandle != AZ::IO::InvalidHandle ? fileHandle : OpenFromArchive(); } - case ArchiveLocationPriority::ePakPriorityPakFirst: + case FileSearchPriority::PakFirst: { AZ::IO::HandleType fileHandle = OpenFromArchive(); return fileHandle != AZ::IO::InvalidHandle ? fileHandle : OpenFromFileSystem(); } - case ArchiveLocationPriority::ePakPriorityPakOnly: + case FileSearchPriority::PakOnly: { return OpenFromArchive(); } @@ -810,7 +811,7 @@ namespace AZ::IO return 0; } - if (GetPakPriority() == ArchiveLocationPriority::ePakPriorityFileFirst) // if the file system files have priority now.. + if (GetPakPriority() == FileSearchPriority::FileFirst) // if the file system files have priority now.. { IArchive::SignedFileSize nFileSize = GetFileSizeOnDisk(fullPath->Native()); if (nFileSize != IArchive::FILE_NOT_PRESENT) @@ -825,7 +826,7 @@ namespace AZ::IO return pFileEntry->desc.lSizeUncompressed; } - if (bAllowUseFileSystem || GetPakPriority() == ArchiveLocationPriority::ePakPriorityPakFirst) // if the archive files had more priority, we didn't attempt fopen before- try it now + if (bAllowUseFileSystem || GetPakPriority() == FileSearchPriority::PakFirst) // if the archive files had more priority, we didn't attempt fopen before- try it now { IArchive::SignedFileSize nFileSize = GetFileSizeOnDisk(fullPath->Native()); if (nFileSize != IArchive::FILE_NOT_PRESENT) @@ -1023,7 +1024,7 @@ namespace AZ::IO ////////////////////////////////////////////////////////////////////////// - AZ::IO::ArchiveFileIterator Archive::FindFirst(AZStd::string_view pDir, EFileSearchType searchType) + AZ::IO::ArchiveFileIterator Archive::FindFirst(AZStd::string_view pDir, FileSearchLocation searchType) { auto szFullPath = AZ::IO::FileIOBase::GetDirectInstance()->ResolvePath(pDir); if (!szFullPath) @@ -1036,18 +1037,21 @@ namespace AZ::IO bool bAllowUseFileSystem{}; switch (searchType) { - case IArchive::eFileSearchType_AllowInZipsOnly: - bAllowUseFileSystem = false; - bScanZips = true; - break; - case IArchive::eFileSearchType_AllowOnDiskAndInZips: - bAllowUseFileSystem = true; - bScanZips = true; - break; - case IArchive::eFileSearchType_AllowOnDiskOnly: - bAllowUseFileSystem = true; - bScanZips = false; - break; + case FileSearchLocation::InPak: + bAllowUseFileSystem = false; + bScanZips = true; + break; + case FileSearchLocation::Any: + bAllowUseFileSystem = true; + bScanZips = true; + break; + case FileSearchLocation::OnDisk: + bAllowUseFileSystem = true; + bScanZips = false; + break; + default: + AZ_Assert(false, "Invalid search location value supplied"); + break; } AZStd::intrusive_ptr pFindData = aznew AZ::IO::FindData(); @@ -1218,7 +1222,7 @@ namespace AZ::IO else { // [LYN-2376] Remove once legacy slice support is removed - AZStd::vector levelDirs; + AZStd::vector levelDirs; if (addLevels) { @@ -1380,7 +1384,7 @@ namespace AZ::IO return true; } - if (AZ::IO::ArchiveFileIterator fileIterator = FindFirst(pWildcardIn, IArchive::eFileSearchType_AllowOnDiskOnly); fileIterator) + if (AZ::IO::ArchiveFileIterator fileIterator = FindFirst(pWildcardIn, FileSearchLocation::OnDisk); fileIterator) { AZStd::vector files; do @@ -1955,15 +1959,15 @@ namespace AZ::IO } // gets the current archive priority - ArchiveLocationPriority Archive::GetPakPriority() const + FileSearchPriority Archive::GetPakPriority() const { - int pakPriority = aznumeric_cast(ArchiveVars{}.nPriority); + FileSearchPriority pakPriority = ArchiveVars{}.m_fileSearchPriority; if (auto console = AZ::Interface::Get(); console != nullptr) { - [[maybe_unused]] AZ::GetValueResult getCvarResult = console->GetCvarValue("sys_PakPriority", pakPriority); + [[maybe_unused]] AZ::GetValueResult getCvarResult = console->GetCvarValue("sys_PakPriority", reinterpret_cast(pakPriority)); AZ_Error("Archive", getCvarResult == AZ::GetValueResult::Success, "Lookup of 'sys_PakPriority console variable failed with error %s", AZ::GetEnumString(getCvarResult)); } - return static_cast(pakPriority); + return pakPriority; } ////////////////////////////////////////////////////////////////////////// @@ -2030,13 +2034,13 @@ namespace AZ::IO switch (GetPakPriority()) { - case ArchiveLocationPriority::ePakPriorityFileFirst: + case FileSearchPriority::FileFirst: info.m_conflictResolution = AZ::IO::ConflictResolution::PreferFile; break; - case ArchiveLocationPriority::ePakPriorityPakFirst: + case FileSearchPriority::PakFirst: info.m_conflictResolution = AZ::IO::ConflictResolution::PreferArchive; break; - case ArchiveLocationPriority::ePakPriorityPakOnly: + case FileSearchPriority::PakOnly: info.m_conflictResolution = AZ::IO::ConflictResolution::UseArchiveOnly; break; } @@ -2147,13 +2151,13 @@ namespace AZ::IO return manifestInfo; } - AZStd::vector Archive::ScanForLevels(ZipDir::CachePtr pZip) + AZStd::vector Archive::ScanForLevels(ZipDir::CachePtr pZip) { - AZStd::queue scanDirs; - AZStd::vector levelDirs; - AZStd::string currentDir = "levels"; - AZStd::string currentDirPattern; - AZStd::string currentFilePattern; + AZStd::queue scanDirs; + AZStd::vector levelDirs; + AZ::IO::Path currentDir = "levels"; + AZ::IO::Path currentDirPattern; + AZ::IO::Path currentFilePattern; ZipDir::FindDir findDir(pZip); findDir.FindFirst(currentDir.c_str()); @@ -2171,11 +2175,10 @@ namespace AZ::IO scanDirs.pop(); } - currentDirPattern = currentDir + AZ_FILESYSTEM_SEPARATOR_WILDCARD; - currentFilePattern = currentDir + AZ_CORRECT_FILESYSTEM_SEPARATOR_STRING + "level.pak"; + currentDirPattern = currentDir / "*"; + currentFilePattern = currentDir / "level.pak"; - ZipDir::FileEntry* fileEntry = findFile.FindExact(currentFilePattern.c_str()); - if (fileEntry) + if (ZipDir::FileEntry* fileEntry = findFile.FindExact(currentFilePattern); fileEntry) { levelDirs.emplace_back(currentDir); continue; @@ -2183,9 +2186,7 @@ namespace AZ::IO for (findDir.FindFirst(currentDirPattern.c_str()); findDir.GetDirEntry(); findDir.FindNext()) { - AZStd::string_view dirName = findDir.GetDirName(); - AZStd::string dirToAdd = AZStd::string::format("%s/%.*s", currentDir.data(), aznumeric_cast(dirName.size()), dirName.data()); - scanDirs.push(dirToAdd); + scanDirs.push(currentDir / findDir.GetDirName()); } } while (!scanDirs.empty()); diff --git a/Code/Framework/AzFramework/AzFramework/Archive/Archive.h b/Code/Framework/AzFramework/AzFramework/Archive/Archive.h index 279702b433..d429aa8f17 100644 --- a/Code/Framework/AzFramework/AzFramework/Archive/Archive.h +++ b/Code/Framework/AzFramework/AzFramework/Archive/Archive.h @@ -207,7 +207,7 @@ namespace AZ::IO uint64_t FTell(AZ::IO::HandleType handle) override; int FFlush(AZ::IO::HandleType handle) override; int FClose(AZ::IO::HandleType handle) override; - AZ::IO::ArchiveFileIterator FindFirst(AZStd::string_view pDir, EFileSearchType searchType = eFileSearchType_AllowInZipsOnly) override; + AZ::IO::ArchiveFileIterator FindFirst(AZStd::string_view pDir, FileSearchLocation searchType = FileSearchLocation::InPak) override; AZ::IO::ArchiveFileIterator FindNext(AZ::IO::ArchiveFileIterator fileIterator) override; bool FindClose(AZ::IO::ArchiveFileIterator fileIterator) override; int FEof(AZ::IO::HandleType handle) override; @@ -219,7 +219,7 @@ namespace AZ::IO bool RemoveDir(AZStd::string_view pName) override; // remove directory from FS (if supported) bool IsAbsPath(AZStd::string_view pPath) override; - bool IsFileExist(AZStd::string_view sFilename, EFileSearchLocation fileLocation = eFileLocation_Any) override; + bool IsFileExist(AZStd::string_view sFilename, FileSearchLocation fileLocation = FileSearchLocation::Any) override; bool IsFolder(AZStd::string_view sPath) override; IArchive::SignedFileSize GetFileSizeOnDisk(AZStd::string_view filename) override; @@ -255,7 +255,7 @@ namespace AZ::IO bool DisableRuntimeFileAccess(bool status, AZStd::thread_id threadId) override; // gets the current archive priority - ArchiveLocationPriority GetPakPriority() const override; + FileSearchPriority GetPakPriority() const override; uint64_t GetFileOffsetOnMedia(AZStd::string_view szName) const override; @@ -305,7 +305,7 @@ namespace AZ::IO AZStd::shared_ptr GetBundleCatalog(ZipDir::CachePtr pZip, const AZStd::string& catalogName); // [LYN-2376] Remove once legacy slice support is removed - AZStd::vector ScanForLevels(ZipDir::CachePtr pZip); + AZStd::vector ScanForLevels(ZipDir::CachePtr pZip); mutable AZStd::shared_mutex m_csOpenFiles; ZipPseudoFileArray m_arrOpenFiles; diff --git a/Code/Framework/AzFramework/AzFramework/Archive/ArchiveFileIO.cpp b/Code/Framework/AzFramework/AzFramework/Archive/ArchiveFileIO.cpp index 9e6e1034ea..8cc2b9dfb4 100644 --- a/Code/Framework/AzFramework/AzFramework/Archive/ArchiveFileIO.cpp +++ b/Code/Framework/AzFramework/AzFramework/Archive/ArchiveFileIO.cpp @@ -169,7 +169,7 @@ namespace AZ::IO size = m_archive->FGetSize(filePath, true); if (!size) { - return m_archive->IsFileExist(filePath, IArchive::eFileLocation_Any) ? IO::ResultCode::Success : IO::ResultCode::Error; + return m_archive->IsFileExist(filePath, FileSearchLocation::Any) ? IO::ResultCode::Success : IO::ResultCode::Error; } return IO::ResultCode::Success; diff --git a/Code/Framework/AzFramework/AzFramework/Archive/ArchiveFindData.cpp b/Code/Framework/AzFramework/AzFramework/Archive/ArchiveFindData.cpp index 7b483dc5de..9e4290131e 100644 --- a/Code/Framework/AzFramework/AzFramework/Archive/ArchiveFindData.cpp +++ b/Code/Framework/AzFramework/AzFramework/Archive/ArchiveFindData.cpp @@ -78,9 +78,9 @@ namespace AZ::IO { // get the priority into local variable to avoid it changing in the course of // this function execution - ArchiveLocationPriority nVarPakPriority = archive->GetPakPriority(); + FileSearchPriority nVarPakPriority = archive->GetPakPriority(); - if (nVarPakPriority == ArchiveLocationPriority::ePakPriorityFileFirst) + if (nVarPakPriority == FileSearchPriority::FileFirst) { // first, find the file system files ScanFS(archive, szDir); @@ -96,7 +96,7 @@ namespace AZ::IO { ScanZips(archive, szDir); } - if (bAllowUseFS || nVarPakPriority != ArchiveLocationPriority::ePakPriorityPakOnly) + if (bAllowUseFS || nVarPakPriority != FileSearchPriority::PakOnly) { ScanFS(archive, szDir); } diff --git a/Code/Framework/AzFramework/AzFramework/Archive/ArchiveVars.cpp b/Code/Framework/AzFramework/AzFramework/Archive/ArchiveVars.cpp new file mode 100644 index 0000000000..0098d97b8d --- /dev/null +++ b/Code/Framework/AzFramework/AzFramework/Archive/ArchiveVars.cpp @@ -0,0 +1,24 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + + +#include + +namespace AZ::IO +{ + FileSearchPriority GetDefaultFileSearchPriority() + { +#if defined(LY_ARCHIVE_FILE_SEARCH_MODE) + return FileSearchPriority{ LY_ARCHIVE_FILE_SEARCH_MODE }; +#else + return FileSearchPriority{ !ArchiveVars::IsReleaseConfig + ? FileSearchPriority::FileFirst + : FileSearchPriority::PakOnly }; +#endif + } +} diff --git a/Code/Framework/AzFramework/AzFramework/Archive/ArchiveVars.h b/Code/Framework/AzFramework/AzFramework/Archive/ArchiveVars.h index 931b07fa71..253e3b0c5b 100644 --- a/Code/Framework/AzFramework/AzFramework/Archive/ArchiveVars.h +++ b/Code/Framework/AzFramework/AzFramework/Archive/ArchiveVars.h @@ -13,13 +13,24 @@ namespace AZ::IO { - enum class ArchiveLocationPriority + enum class FileSearchPriority { - ePakPriorityFileFirst = 0, - ePakPriorityPakFirst = 1, - ePakPriorityPakOnly = 2 + FileFirst, + PakFirst, + PakOnly }; + + //file location enum used in isFileExist to control where the archive system looks for the file. + enum class FileSearchLocation + { + Any, + OnDisk, + InPak + }; + + FileSearchPriority GetDefaultFileSearchPriority(); + // variables that control behavior of the Archive subsystem struct ArchiveVars { @@ -28,8 +39,6 @@ namespace AZ::IO #else inline static constexpr bool IsReleaseConfig{}; #endif - - public: int nReadSlice{}; int nSaveTotalResourceList{}; int nSaveFastloadResourceList{}; @@ -42,9 +51,7 @@ namespace AZ::IO int nLoadCache{}; int nLoadModePaks{}; int nStreamCache{ STREAM_CACHE_DEFAULT }; - ArchiveLocationPriority nPriority{ IsReleaseConfig - ? ArchiveLocationPriority::ePakPriorityPakOnly - : ArchiveLocationPriority::ePakPriorityFileFirst }; // Which file location to favor (loose vs. pak files) + FileSearchPriority m_fileSearchPriority{ GetDefaultFileSearchPriority()}; int nMessageInvalidFileAccess{}; int nLogInvalidFileAccess{ IsReleaseConfig ? 0 : 1 }; int nDisableNonLevelRelatedPaks{ 1 }; diff --git a/Code/Framework/AzFramework/AzFramework/Archive/IArchive.h b/Code/Framework/AzFramework/AzFramework/Archive/IArchive.h index bd9615110a..d7eaee6e24 100644 --- a/Code/Framework/AzFramework/AzFramework/Archive/IArchive.h +++ b/Code/Framework/AzFramework/AzFramework/Archive/IArchive.h @@ -18,13 +18,13 @@ #include #include - +#include enum EStreamSourceMediaType : int32_t; namespace AZ::IO { - enum class ArchiveLocationPriority; + enum class FileSearchPriority; struct IResourceList; struct INestedArchive; struct IArchive; @@ -114,14 +114,6 @@ namespace AZ::IO RFOM_NextLevel // used for level2level loading }; - //file location enum used in isFileExist to control where the archive system looks for the file. - enum EFileSearchLocation - { - eFileLocation_Any = 0, - eFileLocation_OnDisk, - eFileLocation_InPak, - }; - enum EInMemoryArchiveLocation { eInMemoryPakLocale_Unload = 0, @@ -130,12 +122,6 @@ namespace AZ::IO eInMemoryPakLocale_PAK, }; - enum EFileSearchType - { - eFileSearchType_AllowInZipsOnly = 0, - eFileSearchType_AllowOnDiskAndInZips, - eFileSearchType_AllowOnDiskOnly - }; using SignedFileSize = int64_t; @@ -213,7 +199,7 @@ namespace AZ::IO virtual AZStd::intrusive_ptr PoolAllocMemoryBlock(size_t nSize, const char* sUsage, size_t nAlign = 1) = 0; // Arguments: - virtual ArchiveFileIterator FindFirst(AZStd::string_view pDir, EFileSearchType searchType = eFileSearchType_AllowInZipsOnly) = 0; + virtual ArchiveFileIterator FindFirst(AZStd::string_view pDir, FileSearchLocation searchType = FileSearchLocation::InPak) = 0; virtual ArchiveFileIterator FindNext(AZ::IO::ArchiveFileIterator handle) = 0; virtual bool FindClose(AZ::IO::ArchiveFileIterator handle) = 0; //returns file modification time @@ -221,7 +207,7 @@ namespace AZ::IO // Description: // Checks if specified file exist in filesystem. - virtual bool IsFileExist(AZStd::string_view sFilename, EFileSearchLocation = eFileLocation_Any) = 0; + virtual bool IsFileExist(AZStd::string_view sFilename, FileSearchLocation = FileSearchLocation::Any) = 0; // Checks if path is a folder virtual bool IsFolder(AZStd::string_view sPath) = 0; @@ -283,7 +269,7 @@ namespace AZ::IO virtual bool DisableRuntimeFileAccess(bool status, AZStd::thread_id threadId) = 0; // gets the current pak priority - virtual ArchiveLocationPriority GetPakPriority() const = 0; + virtual FileSearchPriority GetPakPriority() const = 0; // Summary: // Return offset in archive file (ideally has to return offset on DVD) for streaming requests sorting @@ -295,7 +281,7 @@ namespace AZ::IO // Event sent when a archive file is opened that contains a level.pak // @param const AZStd::vector& - Array of directories containing level.pak files - using LevelPackOpenEvent = AZ::Event&>; + using LevelPackOpenEvent = AZ::Event&>; virtual auto GetLevelPackOpenEvent()->LevelPackOpenEvent* = 0; // Event sent when a archive contains a level.pak is closed // @param const AZStd::string_view - Name of the pak file that was closed diff --git a/Code/Framework/AzFramework/AzFramework/Asset/AssetBundleManifest.cpp b/Code/Framework/AzFramework/AzFramework/Asset/AssetBundleManifest.cpp index 43a5e8fdb3..b4da5745be 100644 --- a/Code/Framework/AzFramework/AzFramework/Asset/AssetBundleManifest.cpp +++ b/Code/Framework/AzFramework/AzFramework/Asset/AssetBundleManifest.cpp @@ -7,23 +7,153 @@ */ #include +#include +#include #include namespace AzFramework { - - const int AssetBundleManifest::CurrentBundleVersion = 2; + // Redirects writing of the AssetBundleManifest to an older version if the bundle version + // is not set to the current version + static void OldBundleManifestWriter(AZ::SerializeContext::EnumerateInstanceCallContext& callContext, const void* bundleManifestPointer, + const AZ::SerializeContext::ClassData&, const AZ::SerializeContext::ClassElement* assetBundleManifestClassElement); + + static bool BundleManifestVersionConverter(AZ::SerializeContext& context, AZ::SerializeContext::DataElementNode& rootElement); + + const int AssetBundleManifest::CurrentBundleVersion = 3; const char AssetBundleManifest::s_manifestFileName[] = "manifest.xml"; + + AssetBundleManifest::AssetBundleManifest() = default; + AssetBundleManifest::~AssetBundleManifest() = default; + void AssetBundleManifest::ReflectSerialize(AZ::SerializeContext* serializeContext) { if (serializeContext) { serializeContext->Class() - ->Version(2) + ->Version(CurrentBundleVersion, &BundleManifestVersionConverter) + ->Attribute(AZ::SerializeContextAttributes::ObjectStreamWriteElementOverride, &OldBundleManifestWriter) ->Field("BundleVersion", &AssetBundleManifest::m_bundleVersion) ->Field("CatalogName", &AssetBundleManifest::m_catalogName) - ->Field("DependentBundleNames", &AssetBundleManifest::m_depedendentBundleNames) + ->Field("DependentBundleNames", &AssetBundleManifest::m_dependentBundleNames) ->Field("LevelNames", &AssetBundleManifest::m_levelDirs); + + // Make sure the AZStd::vector type is reflected so that it can be read + // using DataElement::GetChildData + serializeContext->RegisterGenericType>(); } } + + bool BundleManifestVersionConverter(AZ::SerializeContext& context, AZ::SerializeContext::DataElementNode& rootElement) + { + if (rootElement.GetVersion() < 3) + { + static constexpr AZ::u32 levelNamesCrc = AZ_CRC_CE("LevelNames"); + AZStd::vector newLevelDirs; + if (AZStd::vector oldLevelNames; rootElement.GetChildData(levelNamesCrc, oldLevelNames)) + { + newLevelDirs.insert(newLevelDirs.end(), + AZStd::make_move_iterator(oldLevelNames.begin()), AZStd::make_move_iterator(oldLevelNames.end())); + } + else + { + AZ_Error("AssetBundleManifest", false, R"(Unable to read "levelNames" from AssetBundleManifest version %u )", + rootElement.GetVersion()); + } + + rootElement.RemoveElementByName(levelNamesCrc); + rootElement.AddElementWithData(context, "LevelNames", newLevelDirs); + } + return true; + } + + void OldBundleManifestWriter(AZ::SerializeContext::EnumerateInstanceCallContext& callContext, const void* bundleManifestPointer, + const AZ::SerializeContext::ClassData&, const AZ::SerializeContext::ClassElement* assetBundleManifestClassElement) + { + // Copy the AssetBundleManifest current version instance to the AssetBundleManifest V2 instance + auto assetBundleManifestCurrent = reinterpret_cast(bundleManifestPointer); + if (assetBundleManifestCurrent->GetBundleVersion() <= 2) + { + auto serializeContext = const_cast(callContext.m_context); + + struct AssetBundleManifestV2 + { + // Use the same ClassName and typeid as the AssetBundleManifest + AZ_TYPE_INFO(AssetBundleManifest, azrtti_typeid()); + AZStd::string m_catalogName; + AZStd::vector m_dependentBundleNames; + AZStd::vector m_levelDirs; + int m_bundleVersion{}; + }; + auto ReflectAssetBundleManifestV2 = [](AZ::SerializeContext* serializeContext) + { + serializeContext->Class() + ->Version(2) + ->Field("BundleVersion", &AssetBundleManifestV2::m_bundleVersion) + ->Field("CatalogName", &AssetBundleManifestV2::m_catalogName) + ->Field("DependentBundleNames", &AssetBundleManifestV2::m_dependentBundleNames) + ->Field("LevelNames", &AssetBundleManifestV2::m_levelDirs); + }; + + // Unreflect the AssetBundleManifest class at the version since it shares the same typeid + // as the older version and Reflect the V2 AssetBundlerManifest + serializeContext->EnableRemoveReflection(); + AssetBundleManifest::ReflectSerialize(serializeContext); + serializeContext->DisableRemoveReflection(); + ReflectAssetBundleManifestV2(serializeContext); + + // Use the Current AssetBundleManifest instance to make a Version 2 AssetBundleManifest + AssetBundleManifestV2 assetBundleManifestV2; + assetBundleManifestV2.m_catalogName = assetBundleManifestCurrent->GetCatalogName(); + assetBundleManifestV2.m_dependentBundleNames = assetBundleManifestCurrent->GetDependentBundleNames(); + assetBundleManifestV2.m_bundleVersion = assetBundleManifestCurrent->GetBundleVersion(); + for (const AZ::IO::Path& levelDir : assetBundleManifestCurrent->GetLevelDirectories()) + { + assetBundleManifestV2.m_levelDirs.emplace_back(levelDir.Native()); + } + + const AZ::TypeId& assetBundlerManifestTypeId = azrtti_typeid(); + const auto assetBundleManifestV2ClassData = serializeContext->FindClassData(assetBundlerManifestTypeId); + + // Create an AssetBundleManifest Version 2 Class Eleemnt + // It will copy over the name and nameCrc values of the current AssetBundleManifestelemnt + auto CreateAssetBundleManifestV2ClassElement = [&assetBundlerManifestTypeId]( + const AZ::SerializeContext::ClassElement* currentVersionElement) -> AZ::SerializeContext::ClassElement + { + AZ::SerializeContext::ClassElement v2ClassElement; + // Copy over the name of he current + if (currentVersionElement) + { + v2ClassElement.m_name = currentVersionElement->m_name; + v2ClassElement.m_nameCrc = currentVersionElement->m_nameCrc; + } + v2ClassElement.m_dataSize = sizeof(AssetBundleManifest); + v2ClassElement.m_azRtti = AZ::GetRttiHelper(); + v2ClassElement.m_genericClassInfo = nullptr; + v2ClassElement.m_typeId = assetBundlerManifestTypeId; + v2ClassElement.m_editData = nullptr; + v2ClassElement.m_attributeOwnership = AZ::SerializeContext::ClassElement::AttributeOwnership::Self; + return v2ClassElement; + }; + const auto assetBundleManifestV2ClassElement = CreateAssetBundleManifestV2ClassElement(assetBundleManifestClassElement); + + serializeContext->EnumerateInstanceConst(&callContext, &assetBundleManifestV2, assetBundlerManifestTypeId, + assetBundleManifestV2ClassData, assetBundleManifestClassElement ? &assetBundleManifestV2ClassElement : nullptr); + + // Unreflect the V2 AssetBundleManifest and Re-reflect the AssetBundleManifest class at the current version + serializeContext->EnableRemoveReflection(); + ReflectAssetBundleManifestV2(serializeContext); + serializeContext->DisableRemoveReflection(); + AssetBundleManifest::ReflectSerialize(serializeContext); + } + } + + const AZStd::vector& AssetBundleManifest::GetLevelDirectories() const + { + return m_levelDirs; + } + void AssetBundleManifest::SetLevelsDirectory(const AZStd::vector& levelDirs) + { + m_levelDirs = levelDirs; + } } // namespace AzFramework diff --git a/Code/Framework/AzFramework/AzFramework/Asset/AssetBundleManifest.h b/Code/Framework/AzFramework/AzFramework/Asset/AssetBundleManifest.h index 9760482231..eb0390a8c0 100644 --- a/Code/Framework/AzFramework/AzFramework/Asset/AssetBundleManifest.h +++ b/Code/Framework/AzFramework/AzFramework/Asset/AssetBundleManifest.h @@ -8,6 +8,7 @@ #pragma once +#include #include #include #include @@ -27,7 +28,8 @@ namespace AzFramework AZ_TYPE_INFO(AssetBundleManifest, "{8628A669-7B19-4C48-A7CB-F670CC9586FD}"); AZ_CLASS_ALLOCATOR(AssetBundleManifest, AZ::SystemAllocator, 0); - AssetBundleManifest() = default; + AssetBundleManifest(); + ~AssetBundleManifest(); static void ReflectSerialize(AZ::SerializeContext* serializeContext); @@ -35,21 +37,21 @@ namespace AzFramework // of files within the AssetBundle in order to update the Asset Registry at runtime when // loading the bundle const AZStd::string& GetCatalogName() const { return m_catalogName; } - AZStd::vector GetDependentBundleNames() const { return m_depedendentBundleNames; } - AZStd::vector GetLevelDirectories() const { return m_levelDirs; } + AZStd::vector GetDependentBundleNames() const { return m_dependentBundleNames; } + const AZStd::vector& GetLevelDirectories() const; int GetBundleVersion() const { return m_bundleVersion; } void SetCatalogName(const AZStd::string& catalogName) { m_catalogName = catalogName; } void SetBundleVersion(int bundleVersion) { m_bundleVersion = bundleVersion; } - void SetDependentBundleNames(const AZStd::vector& dependentBundleNames) { m_depedendentBundleNames = dependentBundleNames; } - void SetLevelsDirectory(const AZStd::vector& levelDirs) { m_levelDirs = levelDirs; } + void SetDependentBundleNames(const AZStd::vector& dependentBundleNames) { m_dependentBundleNames = dependentBundleNames; } + void SetLevelsDirectory(const AZStd::vector& levelDirs); static const char s_manifestFileName[]; static const int CurrentBundleVersion; - private: + private: AZStd::string m_catalogName; - AZStd::vector m_depedendentBundleNames; - AZStd::vector m_levelDirs; + AZStd::vector m_dependentBundleNames; + AZStd::vector m_levelDirs; int m_bundleVersion = CurrentBundleVersion; }; diff --git a/Code/Framework/AzFramework/AzFramework/Asset/AssetCatalog.cpp b/Code/Framework/AzFramework/AzFramework/Asset/AssetCatalog.cpp index 3d76bcefc4..0c6b195434 100644 --- a/Code/Framework/AzFramework/AzFramework/Asset/AssetCatalog.cpp +++ b/Code/Framework/AzFramework/AzFramework/Asset/AssetCatalog.cpp @@ -1186,7 +1186,7 @@ namespace AzFramework } - bool AssetCatalog::CreateBundleManifest(const AZStd::string& deltaCatalogPath, const AZStd::vector& dependentBundleNames, const AZStd::string& fileDirectory, int bundleVersion, const AZStd::vector& levelDirs) + bool AssetCatalog::CreateBundleManifest(const AZStd::string& deltaCatalogPath, const AZStd::vector& dependentBundleNames, const AZStd::string& fileDirectory, int bundleVersion, const AZStd::vector& levelDirs) { if (bundleVersion > AzFramework::AssetBundleManifest::CurrentBundleVersion || bundleVersion < 0) { diff --git a/Code/Framework/AzFramework/AzFramework/Asset/AssetCatalog.h b/Code/Framework/AzFramework/AzFramework/Asset/AssetCatalog.h index 64f3c2e3d2..20f1355e7f 100644 --- a/Code/Framework/AzFramework/AzFramework/Asset/AssetCatalog.h +++ b/Code/Framework/AzFramework/AzFramework/Asset/AssetCatalog.h @@ -67,7 +67,7 @@ namespace AzFramework bool InsertDeltaCatalogBefore(AZStd::shared_ptr deltaCatalog, AZStd::shared_ptr afterDeltaCatalog) override; bool RemoveDeltaCatalog(AZStd::shared_ptr deltaCatalog) override; static bool SaveAssetBundleManifest(const char* assetBundleManifestFile, AzFramework::AssetBundleManifest* bundleManifest); - bool CreateBundleManifest(const AZStd::string& deltaCatalogPath, const AZStd::vector& dependentBundleNames, const AZStd::string& fileDirectory, int bundleVersion, const AZStd::vector& levelDirs) override; + bool CreateBundleManifest(const AZStd::string& deltaCatalogPath, const AZStd::vector& dependentBundleNames, const AZStd::string& fileDirectory, int bundleVersion, const AZStd::vector& levelDirs) override; bool CreateDeltaCatalog(const AZStd::vector& files, const AZStd::string& filePath) override; void AddExtension(const char* extension) override; diff --git a/Code/Framework/AzFramework/AzFramework/Entity/EntityDebugDisplayBus.h b/Code/Framework/AzFramework/AzFramework/Entity/EntityDebugDisplayBus.h index 49506364f4..b81a0ab7f0 100644 --- a/Code/Framework/AzFramework/AzFramework/Entity/EntityDebugDisplayBus.h +++ b/Code/Framework/AzFramework/AzFramework/Entity/EntityDebugDisplayBus.h @@ -76,9 +76,12 @@ namespace AzFramework virtual void DrawSolidCone(const AZ::Vector3& pos, const AZ::Vector3& dir, float radius, float height, bool drawShaded = true) { (void)pos; (void)dir; (void)radius; (void)height; (void)drawShaded; } virtual void DrawWireCylinder(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float height) { (void)center; (void)axis; (void)radius; (void)height; } virtual void DrawSolidCylinder(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float height, bool drawShaded = true) { (void)center; (void)axis; (void)radius; (void)height; (void)drawShaded; } + virtual void DrawWireCylinderNoEnds(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float height) { (void)center; (void)axis; (void)radius; (void)height; } + virtual void DrawSolidCylinderNoEnds(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float height, bool drawShaded = true) { (void)center; (void)axis; (void)radius; (void)height; (void)drawShaded; } virtual void DrawWireCapsule(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float heightStraightSection) { (void)center; (void)axis; (void)radius; (void)heightStraightSection; } virtual void DrawWireSphere(const AZ::Vector3& pos, float radius) { (void)pos; (void)radius; } virtual void DrawWireSphere(const AZ::Vector3& pos, const AZ::Vector3 radius) { (void)pos; (void)radius; } + virtual void DrawWireHemisphere(const AZ::Vector3& pos, const AZ::Vector3& axis, float radius) { (void)pos; (void)axis; (void)radius; } virtual void DrawWireDisk(const AZ::Vector3& pos, const AZ::Vector3& dir, float radius) { (void)pos; (void)dir; (void)radius; } virtual void DrawBall(const AZ::Vector3& pos, float radius, bool drawShaded = true) { (void)pos; (void)radius; (void)drawShaded; } virtual void DrawDisk(const AZ::Vector3& pos, const AZ::Vector3& dir, float radius) { (void)pos; (void)dir; (void)radius; } diff --git a/Code/Framework/AzFramework/AzFramework/Viewport/CameraInput.cpp b/Code/Framework/AzFramework/AzFramework/Viewport/CameraInput.cpp index 26c9db64aa..771884ac6a 100644 --- a/Code/Framework/AzFramework/AzFramework/Viewport/CameraInput.cpp +++ b/Code/Framework/AzFramework/AzFramework/Viewport/CameraInput.cpp @@ -94,27 +94,27 @@ namespace AzFramework float y; float z; - // 2.4 Factor as RzRyRx - if (orientation.GetElement(2, 0) < 1.0f) + // 2.5 Factor as RzRxRy + if (orientation.GetElement(2, 1) < 1.0f) { - if (orientation.GetElement(2, 0) > -1.0f) + if (orientation.GetElement(2, 1) > -1.0f) { - x = AZStd::atan2(orientation.GetElement(2, 1), orientation.GetElement(2, 2)); - y = AZStd::asin(-orientation.GetElement(2, 0)); - z = AZStd::atan2(orientation.GetElement(1, 0), orientation.GetElement(0, 0)); + x = AZStd::asin(orientation.GetElement(2, 1)); + y = AZStd::atan2(-orientation.GetElement(2, 0), orientation.GetElement(2, 2)); + z = AZStd::atan2(-orientation.GetElement(0, 1), orientation.GetElement(1, 1)); } else { - x = 0.0f; - y = AZ::Constants::Pi * 0.5f; - z = -AZStd::atan2(-orientation.GetElement(2, 1), orientation.GetElement(1, 1)); + x = -AZ::Constants::Pi * 0.5f; + y = 0.0f; + z = -AZStd::atan2(orientation.GetElement(0, 2), orientation.GetElement(0, 0)); } } else { - x = 0.0f; - y = -AZ::Constants::Pi * 0.5f; - z = AZStd::atan2(-orientation.GetElement(1, 2), orientation.GetElement(1, 1)); + x = AZ::Constants::Pi * 0.5f; + y = 0.0f; + z = AZStd::atan2(orientation.GetElement(0, 2), orientation.GetElement(0, 0)); } return { x, y, z }; @@ -122,14 +122,36 @@ namespace AzFramework void UpdateCameraFromTransform(Camera& camera, const AZ::Transform& transform) { - const auto eulerAngles = AzFramework::EulerAngles(AZ::Matrix3x3::CreateFromTransform(transform)); + UpdateCameraFromTranslationAndRotation( + camera, transform.GetTranslation(), AzFramework::EulerAngles(AZ::Matrix3x3::CreateFromTransform(transform))); + } + void UpdateCameraFromTranslationAndRotation(Camera& camera, const AZ::Vector3& translation, const AZ::Vector3& eulerAngles) + { camera.m_pitch = eulerAngles.GetX(); camera.m_yaw = eulerAngles.GetZ(); - camera.m_pivot = transform.GetTranslation(); + camera.m_pivot = translation; camera.m_offset = AZ::Vector3::CreateZero(); } + float SmoothValueTime(const float smoothness, float deltaTime) + { + // note: the math for the lerp smoothing implementation for camera rotation and translation was inspired by this excellent + // article by Scott Lembcke: https://www.gamasutra.com/blogs/ScottLembcke/20180404/316046/Improved_Lerp_Smoothing.php + const float rate = AZStd::exp2(smoothness); + return AZStd::exp2(-rate * deltaTime); + } + + float SmoothValue(const float target, const float current, const float time) + { + return AZ::Lerp(target, current, time); + } + + float SmoothValue(const float target, const float current, const float smoothness, const float deltaTime) + { + return SmoothValue(target, current, SmoothValueTime(smoothness, deltaTime)); + } + bool CameraSystem::HandleEvents(const InputEvent& event) { if (const auto& cursor = AZStd::get_if(&event)) @@ -291,6 +313,11 @@ namespace AzFramework { return false; }; + + m_constrainPitch = []() constexpr + { + return true; + }; } bool RotateCameraInput::HandleEvents(const InputEvent& event, const ScreenVector& cursorDelta, [[maybe_unused]] const float scrollDelta) @@ -312,7 +339,10 @@ namespace AzFramework nextCamera.m_yaw -= float(cursorDelta.m_x) * rotateSpeed * Invert(m_invertYawFn()); nextCamera.m_yaw = WrapYawRotation(nextCamera.m_yaw); - nextCamera.m_pitch = ClampPitchRotation(nextCamera.m_pitch); + if (m_constrainPitch()) + { + nextCamera.m_pitch = ClampPitchRotation(nextCamera.m_pitch); + } return nextCamera; } @@ -726,14 +756,14 @@ namespace AzFramework Camera SmoothCamera(const Camera& currentCamera, const Camera& targetCamera, const CameraProps& cameraProps, const float deltaTime) { - const auto clamp_rotation = [](const float angle) + const auto clampRotation = [](const float angle) { return AZStd::fmod(angle + AZ::Constants::TwoPi, AZ::Constants::TwoPi); }; // keep yaw in 0 - 360 range - float targetYaw = clamp_rotation(targetCamera.m_yaw); - const float currentYaw = clamp_rotation(currentCamera.m_yaw); + float targetYaw = clampRotation(targetCamera.m_yaw); + const float currentYaw = clampRotation(currentCamera.m_yaw); // return the sign of the float input (-1, 0, 1) const auto sign = [](const float value) @@ -742,21 +772,17 @@ namespace AzFramework }; // ensure smooth transition when moving across 0 - 360 boundary - const float yawDelta = targetYaw - currentYaw; - if (AZStd::abs(yawDelta) >= AZ::Constants::Pi) + if (const float yawDelta = targetYaw - currentYaw; AZStd::abs(yawDelta) >= AZ::Constants::Pi) { targetYaw -= AZ::Constants::TwoPi * sign(yawDelta); } Camera camera; - // note: the math for the lerp smoothing implementation for camera rotation and translation was inspired by this excellent - // article by Scott Lembcke: https://www.gamasutra.com/blogs/ScottLembcke/20180404/316046/Improved_Lerp_Smoothing.php if (cameraProps.m_rotateSmoothingEnabledFn()) { - const float lookRate = AZStd::exp2(cameraProps.m_rotateSmoothnessFn()); - const float lookTime = AZStd::exp2(-lookRate * deltaTime); - camera.m_pitch = AZ::Lerp(targetCamera.m_pitch, currentCamera.m_pitch, lookTime); - camera.m_yaw = AZ::Lerp(targetYaw, currentYaw, lookTime); + const float lookTime = SmoothValueTime(cameraProps.m_rotateSmoothnessFn(), deltaTime); + camera.m_pitch = SmoothValue(targetCamera.m_pitch, currentCamera.m_pitch, lookTime); + camera.m_yaw = SmoothValue(targetYaw, currentYaw, lookTime); } else { @@ -766,8 +792,7 @@ namespace AzFramework if (cameraProps.m_translateSmoothingEnabledFn()) { - const float moveRate = AZStd::exp2(cameraProps.m_translateSmoothnessFn()); - const float moveTime = AZStd::exp2(-moveRate * deltaTime); + const float moveTime = SmoothValueTime(cameraProps.m_rotateSmoothnessFn(), deltaTime); camera.m_pivot = targetCamera.m_pivot.Lerp(currentCamera.m_pivot, moveTime); camera.m_offset = targetCamera.m_offset.Lerp(currentCamera.m_offset, moveTime); } diff --git a/Code/Framework/AzFramework/AzFramework/Viewport/CameraInput.h b/Code/Framework/AzFramework/AzFramework/Viewport/CameraInput.h index 2d02bb0b6d..4eea94cbe7 100644 --- a/Code/Framework/AzFramework/AzFramework/Viewport/CameraInput.h +++ b/Code/Framework/AzFramework/AzFramework/Viewport/CameraInput.h @@ -85,6 +85,19 @@ namespace AzFramework //! Extracts Euler angles (orientation) and translation from the transform and writes the values to the camera. void UpdateCameraFromTransform(Camera& camera, const AZ::Transform& transform); + //! Writes the translation value and Euler angles to the camera. + void UpdateCameraFromTranslationAndRotation(Camera& camera, const AZ::Vector3& translation, const AZ::Vector3& eulerAngles); + + //! Returns the time ('t') input value to use with SmoothValue. + //! Useful if it is to be reused for multiple calls to SmoothValue. + float SmoothValueTime(float smoothness, float deltaTime); + + // Smoothly interpolate a value from current to target according to a smoothing parameter. + float SmoothValue(float target, float current, float smoothness, float deltaTime); + + // Overload of SmoothValue that takes time ('t') value directly. + float SmoothValue(float target, float current, float time); + //! Generic motion type. template struct MotionEvent @@ -334,6 +347,7 @@ namespace AzFramework AZStd::function m_rotateSpeedFn; AZStd::function m_invertPitchFn; AZStd::function m_invertYawFn; + AZStd::function m_constrainPitch; private: InputChannelId m_rotateChannelId; //!< Input channel to begin the rotate camera input. diff --git a/Code/Framework/AzFramework/AzFramework/Viewport/CameraState.cpp b/Code/Framework/AzFramework/AzFramework/Viewport/CameraState.cpp index 00cbda7b34..40fb82ca97 100644 --- a/Code/Framework/AzFramework/AzFramework/Viewport/CameraState.cpp +++ b/Code/Framework/AzFramework/AzFramework/Viewport/CameraState.cpp @@ -8,18 +8,18 @@ #include "CameraState.h" -#include #include #include +#include namespace AzFramework { void SetCameraClippingVolume( - AzFramework::CameraState& cameraState, const float nearPlane, const float farPlane, const float fovRad) + AzFramework::CameraState& cameraState, const float nearPlane, const float farPlane, const float verticalFovRad) { cameraState.m_nearClip = nearPlane; cameraState.m_farClip = farPlane; - cameraState.m_fovOrZoom = fovRad; + cameraState.m_fovOrZoom = verticalFovRad; } void SetCameraTransform(CameraState& cameraState, const AZ::Transform& transform) @@ -35,20 +35,34 @@ namespace AzFramework SetCameraClippingVolume(cameraState, 0.1f, 1000.0f, AZ::DegToRad(60.0f)); } - AzFramework::CameraState CreateDefaultCamera( - const AZ::Transform& transform, const AZ::Vector2& viewportSize) + CameraState CreateCamera( + const AZ::Transform& transform, + const float nearPlane, + const float farPlane, + const float verticalFovRad, + const AZ::Vector2& viewportSize) { AzFramework::CameraState cameraState; - SetDefaultCameraClippingVolume(cameraState); SetCameraTransform(cameraState, transform); + SetCameraClippingVolume(cameraState, nearPlane, farPlane, verticalFovRad); cameraState.m_viewportSize = viewportSize; return cameraState; } - AzFramework::CameraState CreateIdentityDefaultCamera( - const AZ::Vector3& position, const AZ::Vector2& viewportSize) + AzFramework::CameraState CreateDefaultCamera(const AZ::Transform& transform, const AZ::Vector2& viewportSize) + { + AzFramework::CameraState cameraState; + + SetCameraTransform(cameraState, transform); + SetDefaultCameraClippingVolume(cameraState); + cameraState.m_viewportSize = viewportSize; + + return cameraState; + } + + AzFramework::CameraState CreateIdentityDefaultCamera(const AZ::Vector3& position, const AZ::Vector2& viewportSize) { return CreateDefaultCamera(AZ::Transform::CreateTranslation(position), viewportSize); } @@ -89,15 +103,15 @@ namespace AzFramework void CameraState::Reflect(AZ::SerializeContext& serializeContext) { - serializeContext.Class()-> - Field("Position", &CameraState::m_position)-> - Field("Forward", &CameraState::m_forward)-> - Field("Side", &CameraState::m_side)-> - Field("Up", &CameraState::m_up)-> - Field("ViewportSize", &CameraState::m_viewportSize)-> - Field("NearClip", &CameraState::m_nearClip)-> - Field("FarClip", &CameraState::m_farClip)-> - Field("FovZoom", &CameraState::m_fovOrZoom)-> - Field("Ortho", &CameraState::m_orthographic); + serializeContext.Class() + ->Field("Position", &CameraState::m_position) + ->Field("Forward", &CameraState::m_forward) + ->Field("Side", &CameraState::m_side) + ->Field("Up", &CameraState::m_up) + ->Field("ViewportSize", &CameraState::m_viewportSize) + ->Field("NearClip", &CameraState::m_nearClip) + ->Field("FarClip", &CameraState::m_farClip) + ->Field("FovZoom", &CameraState::m_fovOrZoom) + ->Field("Ortho", &CameraState::m_orthographic); } } // namespace AzFramework diff --git a/Code/Framework/AzFramework/AzFramework/Viewport/CameraState.h b/Code/Framework/AzFramework/AzFramework/Viewport/CameraState.h index e174771c3b..cefb144ec1 100644 --- a/Code/Framework/AzFramework/AzFramework/Viewport/CameraState.h +++ b/Code/Framework/AzFramework/AzFramework/Viewport/CameraState.h @@ -40,10 +40,14 @@ namespace AzFramework AZ::Vector2 m_viewportSize = AZ::Vector2::CreateZero(); //!< Dimensions of the viewport. float m_nearClip = 0.01f; //!< Near clip plane of the camera. float m_farClip = 100.0f; //!< Far clip plane of the camera. - float m_fovOrZoom = 0.0f; //!< Fov or zoom of camera depending on if it is using orthographic projection or not. + float m_fovOrZoom = 0.0f; //!< Vertical fov or zoom of camera depending on if it is using orthographic projection or not. bool m_orthographic = false; //!< Is the camera using orthographic projection or not. }; + //! Create a camera at the given transform, specifying the near and far clip planes as well as the fov with a specific viewport size. + CameraState CreateCamera( + const AZ::Transform& transform, float nearPlane, float farPlane, float verticalFovRad, const AZ::Vector2& viewportSize); + //! Create a camera at the given transform with a specific viewport size. //! @note The near/far clip planes and fov are sensible default values - please //! use SetCameraClippingVolume to override them. @@ -60,7 +64,7 @@ namespace AzFramework CameraState CreateCameraFromWorldFromViewMatrix(const AZ::Matrix4x4& worldFromView, const AZ::Vector2& viewportSize); //! Override the default near/far clipping planes and fov of the camera. - void SetCameraClippingVolume(CameraState& cameraState, float nearPlane, float farPlane, float fovRad); + void SetCameraClippingVolume(CameraState& cameraState, float nearPlane, float farPlane, float verticalFovRad); //! Override the default near/far clipping planes and fov of the camera by inferring them the specified right handed transform into clip space. void SetCameraClippingVolumeFromPerspectiveFovMatrixRH(CameraState& cameraState, const AZ::Matrix4x4& clipFromView); diff --git a/Code/Framework/AzFramework/AzFramework/Viewport/ClickDetector.cpp b/Code/Framework/AzFramework/AzFramework/Viewport/ClickDetector.cpp index 1b3645630e..294ff71974 100644 --- a/Code/Framework/AzFramework/AzFramework/Viewport/ClickDetector.cpp +++ b/Code/Framework/AzFramework/AzFramework/Viewport/ClickDetector.cpp @@ -24,11 +24,12 @@ namespace AzFramework ClickDetector::ClickOutcome ClickDetector::DetectClick(const ClickEvent clickEvent, const ScreenVector& cursorDelta) { + m_moveAccumulator += ScreenVectorLength(cursorDelta); + const auto previousDetectionState = m_detectionState; if (previousDetectionState == DetectionState::WaitingForMove) { // only allow the action to begin if the mouse has been moved a small amount - m_moveAccumulator += ScreenVectorLength(cursorDelta); if (m_moveAccumulator > m_deadZone) { m_detectionState = DetectionState::Moved; @@ -43,7 +44,7 @@ namespace AzFramework using FloatingPointSeconds = AZStd::chrono::duration; const auto diff = now - m_tryBeginTime.value(); - if (FloatingPointSeconds(diff).count() < m_doubleClickInterval) + if (FloatingPointSeconds(diff).count() < m_doubleClickInterval && m_moveAccumulator < m_deadZone) { return ClickOutcome::Nil; } diff --git a/Code/Framework/AzFramework/AzFramework/Viewport/ClickDetector.h b/Code/Framework/AzFramework/AzFramework/Viewport/ClickDetector.h index 70bdeb4619..544afe6d69 100644 --- a/Code/Framework/AzFramework/AzFramework/Viewport/ClickDetector.h +++ b/Code/Framework/AzFramework/AzFramework/Viewport/ClickDetector.h @@ -15,6 +15,10 @@ namespace AzFramework { + //! Default value to use for detecting if the mouse has moved far enough after a mouse down to no longer + //! register a click when a mouse up occurs. + inline constexpr float DefaultMouseMoveDeadZone = 2.0f; + struct ScreenVector; //! Utility class to help detect different types of mouse click (mouse down and up with @@ -66,7 +70,7 @@ namespace AzFramework }; float m_moveAccumulator = 0.0f; //!< How far the mouse has moved after mouse down. - float m_deadZone = 2.0f; //!< How far to move before a click is cancelled (when Move will fire). + float m_deadZone = DefaultMouseMoveDeadZone; //!< How far to move before a click is cancelled (when Move will fire). float m_doubleClickInterval = 0.4f; //!< Default double click interval, can be overridden. DetectionState m_detectionState; //!< Internal state of ClickDetector. //! Mouse down time (happens each mouse down, helps with double click handling). diff --git a/Code/Framework/AzFramework/AzFramework/Viewport/ScreenGeometry.cpp b/Code/Framework/AzFramework/AzFramework/Viewport/ScreenGeometry.cpp index e26d7cfa9b..f1c21230c7 100644 --- a/Code/Framework/AzFramework/AzFramework/Viewport/ScreenGeometry.cpp +++ b/Code/Framework/AzFramework/AzFramework/Viewport/ScreenGeometry.cpp @@ -24,6 +24,10 @@ namespace AzFramework serializeContext->Class()-> Field("X", &ScreenVector::m_x)-> Field("Y", &ScreenVector::m_y); + + serializeContext->Class()-> + Field("Width", &ScreenSize::m_width)-> + Field("Height", &ScreenSize::m_height); } } } // namespace AzFramework diff --git a/Code/Framework/AzFramework/AzFramework/Viewport/ScreenGeometry.h b/Code/Framework/AzFramework/AzFramework/Viewport/ScreenGeometry.h index 1529d760e5..7a5d7fdc62 100644 --- a/Code/Framework/AzFramework/AzFramework/Viewport/ScreenGeometry.h +++ b/Code/Framework/AzFramework/AzFramework/Viewport/ScreenGeometry.h @@ -26,7 +26,7 @@ namespace AzFramework AZ_TYPE_INFO(ScreenPoint, "{8472B6C2-527F-44FC-87F8-C226B1A57A97}"); ScreenPoint() = default; - ScreenPoint(int x, int y) + constexpr ScreenPoint(int x, int y) : m_x(x) , m_y(y) { @@ -45,7 +45,7 @@ namespace AzFramework AZ_TYPE_INFO(ScreenVector, "{1EAA2C62-8FDB-4A28-9FE3-1FA4F1418894}"); ScreenVector() = default; - ScreenVector(int x, int y) + constexpr ScreenVector(int x, int y) : m_x(x) , m_y(y) { @@ -55,6 +55,22 @@ namespace AzFramework int m_y; //!< Y screen delta. }; + //! A wrapper around a screen width and height. + struct ScreenSize + { + AZ_TYPE_INFO(ScreenSize, "{26D28916-6E8E-44B8-83F9-C44BCDA370E2}"); + ScreenSize() = default; + + constexpr ScreenSize(int width, int height) + : m_width(width) + , m_height(height) + { + } + + int m_width; //!< Screen size width. + int m_height; //!< Screen size height. + }; + void ScreenGeometryReflect(AZ::ReflectContext* context); inline const ScreenVector operator-(const ScreenPoint& lhs, const ScreenPoint& rhs) @@ -138,6 +154,16 @@ namespace AzFramework return !operator==(lhs, rhs); } + inline const bool operator==(const ScreenSize& lhs, const ScreenSize& rhs) + { + return lhs.m_width == rhs.m_width && lhs.m_height == rhs.m_height; + } + + inline const bool operator!=(const ScreenSize& lhs, const ScreenSize& rhs) + { + return !operator==(lhs, rhs); + } + inline ScreenVector& operator*=(ScreenVector& lhs, const float rhs) { lhs.m_x = aznumeric_cast(AZStd::lround(aznumeric_cast(lhs.m_x) * rhs)); @@ -152,6 +178,20 @@ namespace AzFramework return result; } + inline ScreenSize& operator*=(ScreenSize& lhs, const float rhs) + { + lhs.m_width = aznumeric_cast(AZStd::lround(aznumeric_cast(lhs.m_width) * rhs)); + lhs.m_height = aznumeric_cast(AZStd::lround(aznumeric_cast(lhs.m_height) * rhs)); + return lhs; + } + + inline const ScreenSize operator*(const ScreenSize& lhs, const float rhs) + { + ScreenSize result{ lhs }; + result *= rhs; + return result; + } + inline float ScreenVectorLength(const ScreenVector& screenVector) { return aznumeric_cast(AZStd::sqrt(screenVector.m_x * screenVector.m_x + screenVector.m_y * screenVector.m_y)); @@ -168,4 +208,28 @@ namespace AzFramework { return AZ::Vector2(aznumeric_cast(screenVector.m_x), aznumeric_cast(screenVector.m_y)); } + + //! Return an AZ::Vector2 from a ScreenSize. + inline AZ::Vector2 Vector2FromScreenSize(const ScreenSize& screenSize) + { + return AZ::Vector2(aznumeric_cast(screenSize.m_width), aznumeric_cast(screenSize.m_height)); + } + + //! Return a ScreenPoint from an AZ::Vector2. + inline ScreenPoint ScreenPointFromVector2(const AZ::Vector2& vector2) + { + return ScreenPoint(aznumeric_cast(AZStd::lround(vector2.GetX())), aznumeric_cast(AZStd::lround(vector2.GetY()))); + } + + //! Return a ScreenVector from an AZ::Vector2. + inline ScreenVector ScreenVectorFromVector2(const AZ::Vector2& vector2) + { + return ScreenVector(aznumeric_cast(AZStd::lround(vector2.GetX())), aznumeric_cast(AZStd::lround(vector2.GetY()))); + } + + //! Return a ScreenSize from an AZ::Vector2. + inline ScreenSize ScreenSizeFromVector2(const AZ::Vector2& vector2) + { + return ScreenSize(aznumeric_cast(AZStd::lround(vector2.GetX())), aznumeric_cast(AZStd::lround(vector2.GetY()))); + } } // namespace AzFramework diff --git a/Code/Framework/AzFramework/AzFramework/Viewport/ViewportScreen.cpp b/Code/Framework/AzFramework/AzFramework/Viewport/ViewportScreen.cpp index afd16a6c23..87eee53fbd 100644 --- a/Code/Framework/AzFramework/AzFramework/Viewport/ViewportScreen.cpp +++ b/Code/Framework/AzFramework/AzFramework/Viewport/ViewportScreen.cpp @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -112,9 +113,8 @@ namespace AzFramework const AZ::Matrix4x4& cameraProjection, const AZ::Vector2& viewportSize) { - const auto ndcNormalizedPosition = WorldToScreenNdc(worldPosition, cameraView, cameraProjection); // scale ndc position by screen dimensions to return screen position - return ScreenPointFromNdc(AZ::Vector3ToVector2(ndcNormalizedPosition), viewportSize); + return ScreenPointFromNdc(AZ::Vector3ToVector2(WorldToScreenNdc(worldPosition, cameraView, cameraProjection)), viewportSize); } ScreenPoint WorldToScreen(const AZ::Vector3& worldPosition, const CameraState& cameraState) @@ -144,9 +144,7 @@ namespace AzFramework const AZ::Matrix4x4& inverseCameraProjection, const AZ::Vector2& viewportSize) { - const auto normalizedScreenPosition = NdcFromScreenPoint(screenPosition, viewportSize); - - return ScreenNdcToWorld(normalizedScreenPosition, inverseCameraView, inverseCameraProjection); + return ScreenNdcToWorld(NdcFromScreenPoint(screenPosition, viewportSize), inverseCameraView, inverseCameraProjection); } AZ::Vector3 ScreenToWorld(const ScreenPoint& screenPosition, const CameraState& cameraState) diff --git a/Code/Framework/AzFramework/AzFramework/azframework_files.cmake b/Code/Framework/AzFramework/AzFramework/azframework_files.cmake index 16e00349fe..b8d428ab82 100644 --- a/Code/Framework/AzFramework/AzFramework/azframework_files.cmake +++ b/Code/Framework/AzFramework/AzFramework/azframework_files.cmake @@ -21,6 +21,7 @@ set(FILES Archive/ArchiveFindData.cpp Archive/ArchiveFindData.h Archive/ArchiveVars.h + Archive/ArchiveVars.cpp Archive/Codec.h Archive/IArchive.h Archive/INestedArchive.h @@ -78,6 +79,7 @@ set(FILES CommandLine/CommandLine.h CommandLine/CommandRegistrationBus.h Debug/DebugCameraBus.h + feature_options.cmake Viewport/ViewportBus.h Viewport/ViewportBus.cpp Viewport/ViewportColors.h diff --git a/Code/Framework/AzFramework/AzFramework/feature_options.cmake b/Code/Framework/AzFramework/AzFramework/feature_options.cmake new file mode 100644 index 0000000000..e10ddf6ba6 --- /dev/null +++ b/Code/Framework/AzFramework/AzFramework/feature_options.cmake @@ -0,0 +1,13 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set(LY_ARCHIVE_FILE_SEARCH_MODE "" CACHE STRING "Set the default file search mode to locate non-Pak files within the Archive System\n\ + Valid values are:\n\ + 0 = Search FileSystem first, before searching within mounted Paks (default in debug/profile)\n\ + 1 = Search mounted Paks first, before searching FileSystem\n\ + 2 = Search only mounted Paks (default in release)\n") diff --git a/Code/Framework/AzFramework/CMakeLists.txt b/Code/Framework/AzFramework/CMakeLists.txt index c8eeac5c2d..5e9e094a91 100644 --- a/Code/Framework/AzFramework/CMakeLists.txt +++ b/Code/Framework/AzFramework/CMakeLists.txt @@ -6,6 +6,7 @@ # # +include(AzFramework/feature_options.cmake) ly_get_list_relative_pal_filename(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME}) ly_get_list_relative_pal_filename(common_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/Common) @@ -33,6 +34,14 @@ ly_add_target( 3rdParty::lz4 ) +set(LY_SEARCH_MODE_DEFINE $<$:LY_ARCHIVE_FILE_SEARCH_MODE=${LY_ARCHIVE_FILE_SEARCH_MODE}>) + +ly_add_source_properties( + SOURCES + AzFramework/Archive/ArchiveVars.cpp + PROPERTY COMPILE_DEFINITIONS + VALUES ${LY_SEARCH_MODE_DEFINE}) + if(PAL_TRAIT_BUILD_TESTS_SUPPORTED) ly_get_list_relative_pal_filename(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Tests/Platform/${PAL_PLATFORM_NAME}) diff --git a/Code/Framework/AzFramework/Tests/ArchiveTests.cpp b/Code/Framework/AzFramework/Tests/ArchiveTests.cpp index ff0e3ab724..33924d7e0c 100644 --- a/Code/Framework/AzFramework/Tests/ArchiveTests.cpp +++ b/Code/Framework/AzFramework/Tests/ArchiveTests.cpp @@ -273,7 +273,7 @@ namespace UnitTest // Also enable extra verbosity in the AZ::IO::Archive code CVarIntValueScope previousLocationPriority{ *console, "sys_pakPriority" }; CVarIntValueScope oldArchiveVerbosity{ *console, "az_archive_verbosity" }; - console->PerformCommand("sys_PakPriority", { AZ::CVarFixedString::format("%d", aznumeric_cast(AZ::IO::ArchiveLocationPriority::ePakPriorityPakOnly)) }); + console->PerformCommand("sys_PakPriority", { AZ::CVarFixedString::format("%d", aznumeric_cast(AZ::IO::FileSearchPriority::PakOnly)) }); console->PerformCommand("az_archive_verbosity", { "1" }); // ---- Archive FGetCachedFileDataTests (these leverage Archive CachedFile mechanism for caching data --- @@ -459,7 +459,7 @@ namespace UnitTest // Once the archive has been deleted it should no longer be searched CVarIntValueScope previousLocationPriority{ *console, "sys_pakPriority" }; - console->PerformCommand("sys_PakPriority", { AZ::CVarFixedString::format("%d", aznumeric_cast(AZ::IO::ArchiveLocationPriority::ePakPriorityPakOnly)) }); + console->PerformCommand("sys_PakPriority", { AZ::CVarFixedString::format("%d", aznumeric_cast(AZ::IO::FileSearchPriority::PakOnly)) }); handle = archive->FindFirst("levels\\*"); EXPECT_FALSE(static_cast(handle)); @@ -785,7 +785,7 @@ namespace UnitTest EXPECT_TRUE(archive->OpenPack("@usercache@", realNameBuf)); EXPECT_TRUE(archive->IsFileExist("@usercache@/foundit.dat")); - EXPECT_FALSE(archive->IsFileExist("@usercache@/foundit.dat", AZ::IO::IArchive::eFileLocation_OnDisk)); + EXPECT_FALSE(archive->IsFileExist("@usercache@/foundit.dat", AZ::IO::FileSearchLocation::OnDisk)); EXPECT_FALSE(archive->IsFileExist("@usercache@/notfoundit.dat")); EXPECT_TRUE(archive->ClosePack(realNameBuf)); @@ -793,7 +793,7 @@ namespace UnitTest EXPECT_TRUE(archive->OpenPack("@products@", realNameBuf)); EXPECT_TRUE(archive->IsFileExist("@products@/foundit.dat")); EXPECT_FALSE(archive->IsFileExist("@usercache@/foundit.dat")); // do not find it in the previous location! - EXPECT_FALSE(archive->IsFileExist("@products@/foundit.dat", AZ::IO::IArchive::eFileLocation_OnDisk)); + EXPECT_FALSE(archive->IsFileExist("@products@/foundit.dat", AZ::IO::FileSearchLocation::OnDisk)); EXPECT_FALSE(archive->IsFileExist("@products@/notfoundit.dat")); EXPECT_TRUE(archive->ClosePack(realNameBuf)); @@ -802,8 +802,8 @@ namespace UnitTest EXPECT_TRUE(archive->IsFileExist("@products@/mystuff/foundit.dat")); EXPECT_FALSE(archive->IsFileExist("@products@/foundit.dat")); // do not find it in the previous locations! EXPECT_FALSE(archive->IsFileExist("@usercache@/foundit.dat")); // do not find it in the previous locations! - EXPECT_FALSE(archive->IsFileExist("@products@/foundit.dat", AZ::IO::IArchive::eFileLocation_OnDisk)); - EXPECT_FALSE(archive->IsFileExist("@products@/mystuff/foundit.dat", AZ::IO::IArchive::eFileLocation_OnDisk)); + EXPECT_FALSE(archive->IsFileExist("@products@/foundit.dat", AZ::IO::FileSearchLocation::OnDisk)); + EXPECT_FALSE(archive->IsFileExist("@products@/mystuff/foundit.dat", AZ::IO::FileSearchLocation::OnDisk)); EXPECT_FALSE(archive->IsFileExist("@products@/notfoundit.dat")); // non-existent file EXPECT_FALSE(archive->IsFileExist("@products@/mystuff/notfoundit.dat")); // non-existent file EXPECT_TRUE(archive->ClosePack(realNameBuf)); diff --git a/Code/Framework/AzFramework/Tests/CameraInputTests.cpp b/Code/Framework/AzFramework/Tests/CameraInputTests.cpp index a89fb0bd84..005623677c 100644 --- a/Code/Framework/AzFramework/Tests/CameraInputTests.cpp +++ b/Code/Framework/AzFramework/Tests/CameraInputTests.cpp @@ -104,9 +104,10 @@ namespace UnitTest AZStd::shared_ptr m_orbitCamera; AZ::Vector3 m_pivot = AZ::Vector3::CreateZero(); - //! This is approximately Pi/2 * 1000 - this can be used to rotate the camera 90 degrees (pitch or yaw based - //! on vertical or horizontal motion) as the rotate speed function is set to be 1/1000. - inline static const int PixelMotionDelta = 1570; + // this is approximately Pi/2 * 1000 - this can be used to rotate the camera 90 degrees (pitch or yaw based + // on vertical or horizontal motion) as the rotate speed function is set to be 1/1000. + inline static const int PixelMotionDelta90Degrees = 1570; + inline static const int PixelMotionDelta135Degrees = 2356; }; TEST_F(CameraInputFixture, BeginAndEndOrbitCameraInputConsumesCorrectEvents) @@ -292,7 +293,7 @@ namespace UnitTest HandleEventAndUpdate( AzFramework::DiscreteInputEvent{ AzFramework::InputDeviceMouse::Button::Right, AzFramework::InputChannel::State::Began }); - HandleEventAndUpdate(AzFramework::HorizontalMotionEvent{ PixelMotionDelta }); + HandleEventAndUpdate(AzFramework::HorizontalMotionEvent{ PixelMotionDelta90Degrees }); const float expectedYaw = AzFramework::WrapYawRotation(-AZ::Constants::HalfPi); @@ -310,7 +311,7 @@ namespace UnitTest HandleEventAndUpdate( AzFramework::DiscreteInputEvent{ AzFramework::InputDeviceMouse::Button::Right, AzFramework::InputChannel::State::Began }); - HandleEventAndUpdate(AzFramework::VerticalMotionEvent{ PixelMotionDelta }); + HandleEventAndUpdate(AzFramework::VerticalMotionEvent{ PixelMotionDelta90Degrees }); const float expectedPitch = AzFramework::ClampPitchRotation(-AZ::Constants::HalfPi); @@ -331,7 +332,7 @@ namespace UnitTest HandleEventAndUpdate(AzFramework::DiscreteInputEvent{ m_orbitChannelId, AzFramework::InputChannel::State::Began }); HandleEventAndUpdate( AzFramework::DiscreteInputEvent{ AzFramework::InputDeviceMouse::Button::Left, AzFramework::InputChannel::State::Began }); - HandleEventAndUpdate(AzFramework::VerticalMotionEvent{ PixelMotionDelta }); + HandleEventAndUpdate(AzFramework::VerticalMotionEvent{ PixelMotionDelta90Degrees }); const auto expectedCameraEndingPosition = AZ::Vector3(0.0f, -10.0f, 10.0f); const float expectedPitch = AzFramework::ClampPitchRotation(-AZ::Constants::HalfPi); @@ -354,7 +355,7 @@ namespace UnitTest HandleEventAndUpdate(AzFramework::DiscreteInputEvent{ m_orbitChannelId, AzFramework::InputChannel::State::Began }); HandleEventAndUpdate( AzFramework::DiscreteInputEvent{ AzFramework::InputDeviceMouse::Button::Left, AzFramework::InputChannel::State::Began }); - HandleEventAndUpdate(AzFramework::HorizontalMotionEvent{ -PixelMotionDelta }); + HandleEventAndUpdate(AzFramework::HorizontalMotionEvent{ -PixelMotionDelta90Degrees }); const auto expectedCameraEndingPosition = AZ::Vector3(20.0f, -5.0f, 0.0f); const float expectedYaw = AzFramework::WrapYawRotation(AZ::Constants::HalfPi); @@ -366,4 +367,42 @@ namespace UnitTest EXPECT_THAT(m_camera.m_offset, IsClose(AZ::Vector3(5.0f, -10.0f, 0.0f))); EXPECT_THAT(m_camera.Translation(), IsCloseTolerance(expectedCameraEndingPosition, 0.01f)); } + + TEST_F(CameraInputFixture, CameraPitchCanNotBeMovedPastNinetyDegreesWhenConstrained) + { + const auto cameraStartingPosition = AZ::Vector3(15.0f, -20.0f, 0.0f); + m_targetCamera.m_pivot = cameraStartingPosition; + + HandleEventAndUpdate( + AzFramework::DiscreteInputEvent{ AzFramework::InputDeviceMouse::Button::Right, AzFramework::InputChannel::State::Began }); + // pitch by 135.0 degrees + HandleEventAndUpdate(AzFramework::VerticalMotionEvent{ -PixelMotionDelta135Degrees }); + + // clamped to 90.0 degrees + const float expectedPitch = AZ::DegToRad(90.0f); + + using ::testing::FloatNear; + EXPECT_THAT(m_camera.m_pitch, FloatNear(expectedPitch, 0.001f)); + } + + TEST_F(CameraInputFixture, CameraPitchCanBeMovedPastNinetyDegreesWhenUnconstrained) + { + m_firstPersonRotateCamera->m_constrainPitch = [] + { + return false; + }; + + const auto cameraStartingPosition = AZ::Vector3(15.0f, -20.0f, 0.0f); + m_targetCamera.m_pivot = cameraStartingPosition; + + HandleEventAndUpdate( + AzFramework::DiscreteInputEvent{ AzFramework::InputDeviceMouse::Button::Right, AzFramework::InputChannel::State::Began }); + // pitch by 135.0 degrees + HandleEventAndUpdate(AzFramework::VerticalMotionEvent{ -PixelMotionDelta135Degrees }); + + const float expectedPitch = AZ::DegToRad(135.0f); + + using ::testing::FloatNear; + EXPECT_THAT(m_camera.m_pitch, FloatNear(expectedPitch, 0.001f)); + } } // namespace UnitTest diff --git a/Code/Framework/AzFramework/Tests/CameraState.cpp b/Code/Framework/AzFramework/Tests/CameraState.cpp index 70fa8be89a..1f35d5a06c 100644 --- a/Code/Framework/AzFramework/Tests/CameraState.cpp +++ b/Code/Framework/AzFramework/Tests/CameraState.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include namespace UnitTest @@ -51,22 +52,6 @@ namespace UnitTest { }; - // Taken from Atom::MatrixUtils for testing purposes, this can be removed if MakePerspectiveFovMatrixRH makes it into AZ - static AZ::Matrix4x4 MakePerspectiveMatrixRH(float fovY, float aspectRatio, float nearClip, float farClip) - { - float sinFov, cosFov; - AZ::SinCos(0.5f * fovY, sinFov, cosFov); - float yScale = cosFov / sinFov; //cot(fovY/2) - float xScale = yScale / aspectRatio; - - AZ::Matrix4x4 out; - out.SetRow(0, xScale, 0.f, 0.f, 0.f ); - out.SetRow(1, 0.f, yScale, 0.f, 0.f ); - out.SetRow(2, 0.f, 0.f, farClip / (nearClip - farClip), nearClip*farClip / (nearClip - farClip) ); - out.SetRow(3, 0.f, 0.f, -1.f, 0.f ); - return out; - } - TEST_P(Translation, Permutation) { // Given a position @@ -176,7 +161,8 @@ namespace UnitTest { auto [fovY, aspectRatio, nearClip, farClip] = GetParam(); - AZ::Matrix4x4 clipFromView = MakePerspectiveMatrixRH(fovY, aspectRatio, nearClip, farClip); + AZ::Matrix4x4 clipFromView; + MakePerspectiveFovMatrixRH(clipFromView, fovY, aspectRatio, nearClip, farClip); AzFramework::SetCameraClippingVolumeFromPerspectiveFovMatrixRH(m_cameraState, clipFromView); diff --git a/Code/Framework/AzFramework/Tests/ClickDetectorTests.cpp b/Code/Framework/AzFramework/Tests/ClickDetectorTests.cpp index 45bac2770e..62852c9b87 100644 --- a/Code/Framework/AzFramework/Tests/ClickDetectorTests.cpp +++ b/Code/Framework/AzFramework/Tests/ClickDetectorTests.cpp @@ -144,12 +144,45 @@ namespace UnitTest { using ::testing::Eq; - const ClickDetector::ClickOutcome downOutcome = - m_clickDetector.DetectClick(ClickDetector::ClickEvent::Down, ScreenVector(0, 0)); - const ClickDetector::ClickOutcome upOutcome = - m_clickDetector.DetectClick(ClickDetector::ClickEvent::Up, ScreenVector(50, 50)); + const ClickDetector::ClickOutcome downOutcome = m_clickDetector.DetectClick(ClickDetector::ClickEvent::Down, ScreenVector(0, 0)); + const ClickDetector::ClickOutcome upOutcome = m_clickDetector.DetectClick(ClickDetector::ClickEvent::Up, ScreenVector(50, 50)); EXPECT_THAT(downOutcome, Eq(ClickDetector::ClickOutcome::Nil)); EXPECT_THAT(upOutcome, Eq(ClickDetector::ClickOutcome::Release)); } + + //! note: ClickDetector does not explicitly return double clicks but if one occurs the ClickOutcome will be Nil + TEST_F(ClickDetectorFixture, DoubleClickIsRegisteredIfMouseDeltaHasMovedLessThanDeadzoneInClickInterval) + { + using ::testing::Eq; + + const ClickDetector::ClickOutcome firstDownOutcome = + m_clickDetector.DetectClick(ClickDetector::ClickEvent::Down, ScreenVector(0, 0)); + const ClickDetector::ClickOutcome firstUpOutcome = m_clickDetector.DetectClick(ClickDetector::ClickEvent::Up, ScreenVector(0, 0)); + const ClickDetector::ClickOutcome secondDownOutcome = + m_clickDetector.DetectClick(ClickDetector::ClickEvent::Down, ScreenVector(0, 0)); + const ClickDetector::ClickOutcome secondUpOutcome = m_clickDetector.DetectClick(ClickDetector::ClickEvent::Up, ScreenVector(0, 0)); + + EXPECT_THAT(firstDownOutcome, Eq(ClickDetector::ClickOutcome::Nil)); + EXPECT_THAT(firstUpOutcome, Eq(ClickDetector::ClickOutcome::Click)); + EXPECT_THAT(secondDownOutcome, Eq(ClickDetector::ClickOutcome::Nil)); + EXPECT_THAT(secondUpOutcome, Eq(ClickDetector::ClickOutcome::Nil)); + } + + TEST_F(ClickDetectorFixture, DoubleClickIsNotRegisteredIfMouseDeltaHasMovedMoreThanDeadzoneInClickInterval) + { + using ::testing::Eq; + + const ClickDetector::ClickOutcome firstDownOutcome = + m_clickDetector.DetectClick(ClickDetector::ClickEvent::Down, ScreenVector(0, 0)); + const ClickDetector::ClickOutcome firstUpOutcome = m_clickDetector.DetectClick(ClickDetector::ClickEvent::Up, ScreenVector(0, 0)); + const ClickDetector::ClickOutcome secondDownOutcome = + m_clickDetector.DetectClick(ClickDetector::ClickEvent::Down, ScreenVector(10, 10)); + const ClickDetector::ClickOutcome secondUpOutcome = m_clickDetector.DetectClick(ClickDetector::ClickEvent::Up, ScreenVector(0, 0)); + + EXPECT_THAT(firstDownOutcome, Eq(ClickDetector::ClickOutcome::Nil)); + EXPECT_THAT(firstUpOutcome, Eq(ClickDetector::ClickOutcome::Click)); + EXPECT_THAT(secondDownOutcome, Eq(ClickDetector::ClickOutcome::Nil)); + EXPECT_THAT(secondUpOutcome, Eq(ClickDetector::ClickOutcome::Click)); + } } // namespace UnitTest diff --git a/Code/Framework/AzFramework/Tests/CursorStateTests.cpp b/Code/Framework/AzFramework/Tests/CursorStateTests.cpp index 923cd02a10..fe15580dad 100644 --- a/Code/Framework/AzFramework/Tests/CursorStateTests.cpp +++ b/Code/Framework/AzFramework/Tests/CursorStateTests.cpp @@ -8,12 +8,13 @@ #include #include +#include namespace UnitTest { using AzFramework::CursorState; - using AzFramework::ScreenVector; using AzFramework::ScreenPoint; + using AzFramework::ScreenVector; class CursorStateFixture : public ::testing::Test { diff --git a/Code/Framework/AzFramework/Tests/Utils/Printers.cpp b/Code/Framework/AzFramework/Tests/Utils/Printers.cpp new file mode 100644 index 0000000000..91c9558be7 --- /dev/null +++ b/Code/Framework/AzFramework/Tests/Utils/Printers.cpp @@ -0,0 +1,32 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include "Printers.h" + +#include + +#include +#include + +namespace AzFramework +{ + void PrintTo(const ScreenPoint& screenPoint, std::ostream* os) + { + *os << "(x: " << screenPoint.m_x << ", y: " << screenPoint.m_y << ")"; + } + + void PrintTo(const ScreenVector& screenVector, std::ostream* os) + { + *os << "(x: " << screenVector.m_x << ", y: " << screenVector.m_y << ")"; + } + + void PrintTo(const ScreenSize& screenSize, std::ostream* os) + { + *os << "(width: " << screenSize.m_width << ", height: " << screenSize.m_height << ")"; + } +} // namespace AzFramework diff --git a/Code/Framework/AzFramework/Tests/Utils/Printers.h b/Code/Framework/AzFramework/Tests/Utils/Printers.h new file mode 100644 index 0000000000..fc967eabe9 --- /dev/null +++ b/Code/Framework/AzFramework/Tests/Utils/Printers.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include + +namespace AzFramework +{ + struct ScreenPoint; + struct ScreenVector; + struct ScreenSize; + + void PrintTo(const ScreenPoint& screenPoint, std::ostream* os); + void PrintTo(const ScreenVector& screenVector, std::ostream* os); + void PrintTo(const ScreenSize& screenSize, std::ostream* os); +} // namespace AzFramework diff --git a/Code/Framework/AzFramework/Tests/framework_shared_tests_files.cmake b/Code/Framework/AzFramework/Tests/framework_shared_tests_files.cmake index 85c00a2e8a..9427738e67 100644 --- a/Code/Framework/AzFramework/Tests/framework_shared_tests_files.cmake +++ b/Code/Framework/AzFramework/Tests/framework_shared_tests_files.cmake @@ -11,5 +11,7 @@ set(FILES Mocks/MockWindowRequests.h Utils/Utils.h Utils/Utils.cpp + Utils/Printers.h + Utils/Printers.cpp FrameworkApplicationFixture.h ) diff --git a/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/ViewportInteraction.h b/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/ViewportInteraction.h index a8ba63500c..3c41b28851 100644 --- a/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/ViewportInteraction.h +++ b/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/ViewportInteraction.h @@ -41,8 +41,8 @@ namespace AzManipulatorTestFramework // ViewportInteractionRequestBus overrides ... AzFramework::CameraState GetCameraState() override; AzFramework::ScreenPoint ViewportWorldToScreen(const AZ::Vector3& worldPosition) override; - AZStd::optional ViewportScreenToWorld(const AzFramework::ScreenPoint& screenPosition, float depth) override; - AZStd::optional ViewportScreenToWorldRay( + AZ::Vector3 ViewportScreenToWorld(const AzFramework::ScreenPoint& screenPosition) override; + AzToolsFramework::ViewportInteraction::ProjectedViewportRay ViewportScreenToWorldRay( const AzFramework::ScreenPoint& screenPosition) override; float DeviceScalingFactor() override; diff --git a/Code/Framework/AzManipulatorTestFramework/Source/AzManipulatorTestFrameworkUtils.cpp b/Code/Framework/AzManipulatorTestFramework/Source/AzManipulatorTestFrameworkUtils.cpp index 4f1e108a14..6fbf2cb219 100644 --- a/Code/Framework/AzManipulatorTestFramework/Source/AzManipulatorTestFrameworkUtils.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Source/AzManipulatorTestFrameworkUtils.cpp @@ -95,7 +95,7 @@ namespace AzManipulatorTestFramework AzToolsFramework::ViewportInteraction::MousePick mousePick; mousePick.m_screenCoordinates = screenPoint; - mousePick.m_rayOrigin = cameraState.m_position; + mousePick.m_rayOrigin = nearPlaneWorldPosition; mousePick.m_rayDirection = (nearPlaneWorldPosition - cameraState.m_position).GetNormalized(); return mousePick; diff --git a/Code/Framework/AzManipulatorTestFramework/Source/ImmediateModeActionDispatcher.cpp b/Code/Framework/AzManipulatorTestFramework/Source/ImmediateModeActionDispatcher.cpp index c122a941c4..5bfe63bd99 100644 --- a/Code/Framework/AzManipulatorTestFramework/Source/ImmediateModeActionDispatcher.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Source/ImmediateModeActionDispatcher.cpp @@ -69,8 +69,6 @@ namespace AzManipulatorTestFramework void ImmediateModeActionDispatcher::CameraStateImpl(const AzFramework::CameraState& cameraState) { m_viewportManipulatorInteraction.GetViewportInteraction().SetCameraState(cameraState); - GetMouseInteractionEvent()->m_mouseInteraction.m_mousePick.m_rayOrigin = cameraState.m_position; - GetMouseInteractionEvent()->m_mouseInteraction.m_mousePick.m_rayDirection = cameraState.m_forward; } void ImmediateModeActionDispatcher::MouseLButtonDownImpl() diff --git a/Code/Framework/AzManipulatorTestFramework/Source/IndirectManipulatorViewportInteraction.cpp b/Code/Framework/AzManipulatorTestFramework/Source/IndirectManipulatorViewportInteraction.cpp index 730c106301..9bcb8986d5 100644 --- a/Code/Framework/AzManipulatorTestFramework/Source/IndirectManipulatorViewportInteraction.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Source/IndirectManipulatorViewportInteraction.cpp @@ -20,7 +20,8 @@ namespace AzManipulatorTestFramework { public: IndirectCallManipulatorManager(ViewportInteractionInterface& viewportInteraction); - // ManipulatorManagerInterface ... + + // ManipulatorManagerInterface overrides ... void ConsumeMouseInteractionEvent(const MouseInteractionEvent& event) override; AzToolsFramework::ManipulatorManagerId GetId() const override; bool ManipulatorBeingInteracted() const override; diff --git a/Code/Framework/AzManipulatorTestFramework/Source/ViewportInteraction.cpp b/Code/Framework/AzManipulatorTestFramework/Source/ViewportInteraction.cpp index 269baa703d..08cae0c738 100644 --- a/Code/Framework/AzManipulatorTestFramework/Source/ViewportInteraction.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Source/ViewportInteraction.cpp @@ -140,13 +140,12 @@ namespace AzManipulatorTestFramework return m_viewportId; } - AZStd::optional ViewportInteraction::ViewportScreenToWorld( - [[maybe_unused]] const AzFramework::ScreenPoint& screenPosition, [[maybe_unused]] float depth) + AZ::Vector3 ViewportInteraction::ViewportScreenToWorld([[maybe_unused]] const AzFramework::ScreenPoint& screenPosition) { - return {}; + return AZ::Vector3::CreateZero(); } - AZStd::optional ViewportInteraction::ViewportScreenToWorldRay( + AzToolsFramework::ViewportInteraction::ProjectedViewportRay ViewportInteraction::ViewportScreenToWorldRay( [[maybe_unused]] const AzFramework::ScreenPoint& screenPosition) { return {}; diff --git a/Code/Framework/AzManipulatorTestFramework/Tests/WorldSpaceBuilderTest.cpp b/Code/Framework/AzManipulatorTestFramework/Tests/WorldSpaceBuilderTest.cpp index 211c8d64ef..376c18072e 100644 --- a/Code/Framework/AzManipulatorTestFramework/Tests/WorldSpaceBuilderTest.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Tests/WorldSpaceBuilderTest.cpp @@ -140,8 +140,8 @@ namespace UnitTest // given a left mouse down ray in world space // consume the mouse move event state.m_actionDispatcher->CameraState(m_cameraState) - ->MouseLButtonDown() ->MousePosition(AzManipulatorTestFramework::GetCameraStateViewportCenter(m_cameraState)) + ->MouseLButtonDown() ->ExpectTrue(state.m_linearManipulator->PerformingAction()) ->ExpectManipulatorBeingInteracted() ->MouseLButtonUp() diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/API/PythonLoader.h b/Code/Framework/AzToolsFramework/AzToolsFramework/API/PythonLoader.h index 29125667d6..6acc160ddc 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/API/PythonLoader.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/API/PythonLoader.h @@ -19,7 +19,7 @@ namespace AzToolsFramework::EmbeddedPython ~PythonLoader(); private: - void* m_embeddedLibPythonHandle{ nullptr }; + [[maybe_unused]] void* m_embeddedLibPythonHandle{ nullptr }; }; } // namespace AzToolsFramework::EmbeddedPython diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Application/ToolsApplication.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Application/ToolsApplication.cpp index dcdaaf5f7d..0f0bbf2b41 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Application/ToolsApplication.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Application/ToolsApplication.cpp @@ -1198,14 +1198,25 @@ namespace AzToolsFramework AZ::EntityId ToolsApplication::GetCurrentLevelEntityId() { - AzFramework::EntityContextId editorEntityContextId = AzFramework::EntityContextId::CreateNull(); - AzToolsFramework::EditorEntityContextRequestBus::BroadcastResult(editorEntityContextId, &AzToolsFramework::EditorEntityContextRequestBus::Events::GetEditorEntityContextId); - AZ::SliceComponent* rootSliceComponent = nullptr; - AzFramework::SliceEntityOwnershipServiceRequestBus::EventResult(rootSliceComponent, editorEntityContextId, - &AzFramework::SliceEntityOwnershipServiceRequestBus::Events::GetRootSlice); - if (rootSliceComponent && rootSliceComponent->GetMetadataEntity()) + if (IsPrefabSystemEnabled()) { - return rootSliceComponent->GetMetadataEntity()->GetId(); + if (auto prefabPublicInterface = AZ::Interface::Get()) + { + return prefabPublicInterface->GetLevelInstanceContainerEntityId(); + } + } + else + { + AzFramework::EntityContextId editorEntityContextId = AzFramework::EntityContextId::CreateNull(); + AzToolsFramework::EditorEntityContextRequestBus::BroadcastResult( + editorEntityContextId, &AzToolsFramework::EditorEntityContextRequestBus::Events::GetEditorEntityContextId); + AZ::SliceComponent* rootSliceComponent = nullptr; + AzFramework::SliceEntityOwnershipServiceRequestBus::EventResult( + rootSliceComponent, editorEntityContextId, &AzFramework::SliceEntityOwnershipServiceRequestBus::Events::GetRootSlice); + if (rootSliceComponent && rootSliceComponent->GetMetadataEntity()) + { + return rootSliceComponent->GetMetadataEntity()->GetId(); + } } return AZ::EntityId(); diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBundle/AssetBundleComponent.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBundle/AssetBundleComponent.cpp index 8924907e81..ac8e034faf 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBundle/AssetBundleComponent.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBundle/AssetBundleComponent.cpp @@ -202,9 +202,9 @@ namespace AzToolsFramework AZ_TracePrintf(logWindowName, "Creating new asset bundle manifest file \"%s\" for source pak \"%s\".\n", AzFramework::AssetBundleManifest::s_manifestFileName, sourcePak.c_str()); bool manifestSaved = false; AZStd::string manifestDirectory; - AZStd::vector levelDirs; AzFramework::StringFunc::Path::GetFullPath(sourcePak.c_str(), manifestDirectory); - AssetCatalogRequestBus::BroadcastResult(manifestSaved, &AssetCatalogRequestBus::Events::CreateBundleManifest, outCatalogPath, AZStd::vector(), manifestDirectory, AzFramework::AssetBundleManifest::CurrentBundleVersion, levelDirs); + AssetCatalogRequestBus::BroadcastResult(manifestSaved, &AssetCatalogRequestBus::Events::CreateBundleManifest, outCatalogPath, + AZStd::vector(), manifestDirectory, AzFramework::AssetBundleManifest::CurrentBundleVersion, AZStd::vector{}); AZStd::string manifestPath; AzFramework::StringFunc::Path::Join(manifestDirectory.c_str(), AzFramework::AssetBundleManifest::s_manifestFileName, manifestPath); @@ -263,7 +263,7 @@ namespace AzToolsFramework AZStd::string tempBundleFilePath = bundleFilePath.Native() + "_temp"; AZStd::vector dependentBundleNames; - AZStd::vector levelDirs; + AZStd::vector levelDirs; AZStd::vector> bundlePathDeltaCatalogPair; bundlePathDeltaCatalogPair.emplace_back(AZStd::make_pair(tempBundleFilePath, DeltaCatalogName)); @@ -515,7 +515,7 @@ namespace AzToolsFramework return true; } - bool AssetBundleComponent::AddManifestFileToBundles(const AZStd::vector>& bundlePathDeltaCatalogPair, const AZStd::vector& dependentBundleNames, const AZStd::string& bundleFolder, const AzToolsFramework::AssetBundleSettings& assetBundleSettings, const AZStd::vector& levelDirs) + bool AssetBundleComponent::AddManifestFileToBundles(const AZStd::vector>& bundlePathDeltaCatalogPair, const AZStd::vector& dependentBundleNames, const AZStd::string& bundleFolder, const AzToolsFramework::AssetBundleSettings& assetBundleSettings, const AZStd::vector& levelDirs) { if (!MakePath(bundleFolder)) { diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBundle/AssetBundleComponent.h b/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBundle/AssetBundleComponent.h index 17a9dd40f5..a2f7729e4e 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBundle/AssetBundleComponent.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBundle/AssetBundleComponent.h @@ -86,7 +86,7 @@ namespace AzToolsFramework //! Adds the manifest file to all the bundles //! The parent bundle manifest file is special since it will contain information of all dependent bundles names. - bool AddManifestFileToBundles(const AZStd::vector>& bundlePathDeltaCatalogPair, const AZStd::vector& dependentBundleNames, const AZStd::string& bundleFolder, const AzToolsFramework::AssetBundleSettings& assetBundleSettings, const AZStd::vector& levelDirs); + bool AddManifestFileToBundles(const AZStd::vector>& bundlePathDeltaCatalogPair, const AZStd::vector& dependentBundleNames, const AZStd::string& bundleFolder, const AzToolsFramework::AssetBundleSettings& assetBundleSettings, const AZStd::vector& levelDirs); //! Adds the delta catalog and any remaining files to the bundle //! We only create the delta catalog once we are sure about what all the files that will go in it. diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/AssetCatalog/PlatformAddressedAssetCatalog.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/AssetCatalog/PlatformAddressedAssetCatalog.cpp index a0e21ad589..1025d39e18 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/AssetCatalog/PlatformAddressedAssetCatalog.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/AssetCatalog/PlatformAddressedAssetCatalog.cpp @@ -143,7 +143,7 @@ namespace AzToolsFramework return AssetCatalog::RemoveDeltaCatalog(deltaCatalog); } - bool PlatformAddressedAssetCatalog::CreateBundleManifest(const AZStd::string& deltaCatalogPath, const AZStd::vector& dependentBundleNames, const AZStd::string& fileDirectory, int bundleVersion, const AZStd::vector& levelDirs) + bool PlatformAddressedAssetCatalog::CreateBundleManifest(const AZStd::string& deltaCatalogPath, const AZStd::vector& dependentBundleNames, const AZStd::string& fileDirectory, int bundleVersion, const AZStd::vector& levelDirs) { return AssetCatalog::CreateBundleManifest(deltaCatalogPath, dependentBundleNames, fileDirectory, bundleVersion, levelDirs); } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/AssetCatalog/PlatformAddressedAssetCatalog.h b/Code/Framework/AzToolsFramework/AzToolsFramework/AssetCatalog/PlatformAddressedAssetCatalog.h index a7a19d6d2f..2d65c7e7d3 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/AssetCatalog/PlatformAddressedAssetCatalog.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/AssetCatalog/PlatformAddressedAssetCatalog.h @@ -66,7 +66,7 @@ namespace AzToolsFramework bool InsertDeltaCatalogBefore(AZStd::shared_ptr deltaCatalog, AZStd::shared_ptr afterDeltaCatalog) override; bool RemoveDeltaCatalog(AZStd::shared_ptr deltaCatalog) override; - bool CreateBundleManifest(const AZStd::string& deltaCatalogPath, const AZStd::vector& dependentBundleNames, const AZStd::string& fileDirectory, int bundleVersion, const AZStd::vector& levelDirs) override; + bool CreateBundleManifest(const AZStd::string& deltaCatalogPath, const AZStd::vector& dependentBundleNames, const AZStd::string& fileDirectory, int bundleVersion, const AZStd::vector& levelDirs) override; bool CreateDeltaCatalog(const AZStd::vector& files, const AZStd::string& filePath) override; void AddExtension(const char* extension) override; diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ComponentMode/ComponentModeCollection.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ComponentMode/ComponentModeCollection.cpp index 07e025fc60..f07e87fad2 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ComponentMode/ComponentModeCollection.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ComponentMode/ComponentModeCollection.cpp @@ -448,7 +448,11 @@ namespace AzToolsFramework ViewportUi::ViewportUiRequestBus::Event( ViewportUi::DefaultViewportId, &ViewportUi::ViewportUiRequestBus::Events::CreateViewportBorder, - componentMode.m_componentMode->GetComponentModeName().c_str()); + componentMode.m_componentMode->GetComponentModeName().c_str(), + [] + { + ComponentModeSystemRequestBus::Broadcast(&ComponentModeSystemRequests::EndComponentMode); + }); } RefreshActions(); diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ComponentMode/EditorBaseComponentMode.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ComponentMode/EditorBaseComponentMode.cpp index f449478306..e780c38822 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ComponentMode/EditorBaseComponentMode.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ComponentMode/EditorBaseComponentMode.cpp @@ -55,8 +55,11 @@ namespace AzToolsFramework GetEntityComponentIdPair(), elementIdsToDisplay); // create the component mode border with the specific name for this component mode ViewportUi::ViewportUiRequestBus::Event( - ViewportUi::DefaultViewportId, &ViewportUi::ViewportUiRequestBus::Events::CreateViewportBorder, - GetComponentModeName()); + ViewportUi::DefaultViewportId, &ViewportUi::ViewportUiRequestBus::Events::CreateViewportBorder, GetComponentModeName(), + [] + { + ComponentModeSystemRequestBus::Broadcast(&ComponentModeSystemRequests::EndComponentMode); + }); // set the EntityComponentId for this ComponentMode to active in the ComponentModeViewportUi system ComponentModeViewportUiRequestBus::Event( GetComponentType(), &ComponentModeViewportUiRequestBus::Events::SetViewportUiActiveEntityComponentId, diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabFocusHandler.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabFocusHandler.cpp index 5b51944a75..744c53ef5a 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabFocusHandler.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabFocusHandler.cpp @@ -98,7 +98,7 @@ namespace AzToolsFramework::Prefab } // Retrieve parent of currently focused prefab. - InstanceOptionalReference parentInstance = m_instanceFocusHierarchy[hierarchySize - 2]; + InstanceOptionalReference parentInstance = GetReferenceFromContainerEntityId(m_instanceFocusHierarchy[hierarchySize - 2]); // Use container entity of parent Instance for focus operations. AZ::EntityId entityId = parentInstance->get().GetContainerEntityId(); @@ -132,7 +132,7 @@ namespace AzToolsFramework::Prefab return AZ::Failure(AZStd::string("Prefab Focus Handler: Invalid index on FocusOnPathIndex.")); } - InstanceOptionalReference focusedInstance = m_instanceFocusHierarchy[index]; + InstanceOptionalReference focusedInstance = GetReferenceFromContainerEntityId(m_instanceFocusHierarchy[index]); return FocusOnOwningPrefab(focusedInstance->get().GetContainerEntityId()); } @@ -172,7 +172,8 @@ namespace AzToolsFramework::Prefab // Close all container entities in the old path. CloseInstanceContainers(m_instanceFocusHierarchy); - m_focusedInstance = focusedInstance; + // Do not store the container for the root instance, use an invalid EntityId instead. + m_focusedInstanceContainerEntityId = focusedInstance->get().GetParentInstance().has_value() ? focusedInstance->get().GetContainerEntityId() : AZ::EntityId(); m_focusedTemplateId = focusedInstance->get().GetTemplateId(); // Focus on the descendants of the container entity in the Editor, if the interface is initialized. @@ -206,56 +207,55 @@ namespace AzToolsFramework::Prefab InstanceOptionalReference PrefabFocusHandler::GetFocusedPrefabInstance( [[maybe_unused]] AzFramework::EntityContextId entityContextId) const { - return m_focusedInstance; + return GetReferenceFromContainerEntityId(m_focusedInstanceContainerEntityId); } AZ::EntityId PrefabFocusHandler::GetFocusedPrefabContainerEntityId([[maybe_unused]] AzFramework::EntityContextId entityContextId) const { - if (!m_focusedInstance.has_value()) - { - // PrefabFocusHandler has not been initialized yet. - return AZ::EntityId(); - } - - return m_focusedInstance->get().GetContainerEntityId(); + return m_focusedInstanceContainerEntityId; } bool PrefabFocusHandler::IsOwningPrefabBeingFocused(AZ::EntityId entityId) const { - if (!m_focusedInstance.has_value()) - { - // PrefabFocusHandler has not been initialized yet. - return false; - } - if (!entityId.IsValid()) { return false; } InstanceOptionalReference instance = m_instanceEntityMapperInterface->FindOwningInstance(entityId); + if (!instance.has_value()) + { + return false; + } - return instance.has_value() && (&instance->get() == &m_focusedInstance->get()); + // If this is owned by the root instance, that corresponds to an invalid m_focusedInstanceContainerEntityId. + if (!instance->get().GetParentInstance().has_value()) + { + return !m_focusedInstanceContainerEntityId.IsValid(); + } + + return (instance->get().GetContainerEntityId() == m_focusedInstanceContainerEntityId); } bool PrefabFocusHandler::IsOwningPrefabInFocusHierarchy(AZ::EntityId entityId) const { - if (!m_focusedInstance.has_value()) - { - // PrefabFocusHandler has not been initialized yet. - return false; - } - if (!entityId.IsValid()) { return false; } + // If the focus is on the root, m_focusedInstanceContainerEntityId will be the invalid id. + // In those case all entities are in the focus hierarchy and should return true. + if (!m_focusedInstanceContainerEntityId.IsValid()) + { + return true; + } + InstanceOptionalReference instance = m_instanceEntityMapperInterface->FindOwningInstance(entityId); while (instance.has_value()) { - if (&instance->get() == &m_focusedInstance->get()) + if (instance->get().GetContainerEntityId() == m_focusedInstanceContainerEntityId) { return true; } @@ -290,8 +290,9 @@ namespace AzToolsFramework::Prefab // Determine if the entityId is the container for any of the instances in the vector. auto result = AZStd::find_if( m_instanceFocusHierarchy.begin(), m_instanceFocusHierarchy.end(), - [entityId](const InstanceOptionalReference& instance) + [&, entityId](const AZ::EntityId& containerEntityId) { + InstanceOptionalReference instance = GetReferenceFromContainerEntityId(containerEntityId); return (instance->get().GetContainerEntityId() == entityId); } ); @@ -316,8 +317,9 @@ namespace AzToolsFramework::Prefab // Determine if the templateId matches any of the instances in the vector. auto result = AZStd::find_if( m_instanceFocusHierarchy.begin(), m_instanceFocusHierarchy.end(), - [templateId](const InstanceOptionalReference& instance) + [&, templateId](const AZ::EntityId& containerEntityId) { + InstanceOptionalReference instance = GetReferenceFromContainerEntityId(containerEntityId); return (instance->get().GetTemplateId() == templateId); } ); @@ -336,10 +338,17 @@ namespace AzToolsFramework::Prefab AZStd::list instanceFocusList; - InstanceOptionalReference currentInstance = m_focusedInstance; + InstanceOptionalReference currentInstance = GetReferenceFromContainerEntityId(m_focusedInstanceContainerEntityId); while (currentInstance.has_value()) { - m_instanceFocusHierarchy.emplace_back(currentInstance); + if (currentInstance->get().GetParentInstance().has_value()) + { + m_instanceFocusHierarchy.emplace_back(currentInstance->get().GetContainerEntityId()); + } + else + { + m_instanceFocusHierarchy.emplace_back(AZ::EntityId()); + } currentInstance = currentInstance->get().GetParentInstance(); } @@ -357,42 +366,48 @@ namespace AzToolsFramework::Prefab size_t index = 0; size_t maxIndex = m_instanceFocusHierarchy.size() - 1; - for (const InstanceOptionalReference& instance : m_instanceFocusHierarchy) + for (const AZ::EntityId containerEntityId : m_instanceFocusHierarchy) { - AZStd::string prefabName; - - if (index < maxIndex) + InstanceOptionalReference instance = GetReferenceFromContainerEntityId(containerEntityId); + if (instance.has_value()) { - // Get the filename without the extension (stem). - prefabName = instance->get().GetTemplateSourcePath().Stem().Native(); - } - else - { - // Get the full filename. - prefabName = instance->get().GetTemplateSourcePath().Filename().Native(); - } + AZStd::string prefabName; - if (prefabSystemComponentInterface->IsTemplateDirty(instance->get().GetTemplateId())) - { - prefabName += "*"; - } + if (index < maxIndex) + { + // Get the filename without the extension (stem). + prefabName = instance->get().GetTemplateSourcePath().Stem().Native(); + } + else + { + // Get the full filename. + prefabName = instance->get().GetTemplateSourcePath().Filename().Native(); + } - m_instanceFocusPath.Append(prefabName); + if (prefabSystemComponentInterface->IsTemplateDirty(instance->get().GetTemplateId())) + { + prefabName += "*"; + } + + m_instanceFocusPath.Append(prefabName); + } ++index; } } - void PrefabFocusHandler::OpenInstanceContainers(const AZStd::vector& instances) const + void PrefabFocusHandler::OpenInstanceContainers(const AZStd::vector& instances) const { // If this is called outside the Editor, this interface won't be initialized. if (!m_containerEntityInterface) { return; } - - for (const InstanceOptionalReference& instance : instances) + + for (const AZ::EntityId containerEntityId : instances) { + InstanceOptionalReference instance = GetReferenceFromContainerEntityId(containerEntityId); + if (instance.has_value()) { m_containerEntityInterface->SetContainerOpen(instance->get().GetContainerEntityId(), true); @@ -400,7 +415,7 @@ namespace AzToolsFramework::Prefab } } - void PrefabFocusHandler::CloseInstanceContainers(const AZStd::vector& instances) const + void PrefabFocusHandler::CloseInstanceContainers(const AZStd::vector& instances) const { // If this is called outside the Editor, this interface won't be initialized. if (!m_containerEntityInterface) @@ -408,8 +423,10 @@ namespace AzToolsFramework::Prefab return; } - for (const InstanceOptionalReference& instance : instances) + for (const AZ::EntityId containerEntityId : instances) { + InstanceOptionalReference instance = GetReferenceFromContainerEntityId(containerEntityId); + if (instance.has_value()) { m_containerEntityInterface->SetContainerOpen(instance->get().GetContainerEntityId(), false); @@ -417,4 +434,22 @@ namespace AzToolsFramework::Prefab } } + InstanceOptionalReference PrefabFocusHandler::GetReferenceFromContainerEntityId(AZ::EntityId containerEntityId) const + { + if (!containerEntityId.IsValid()) + { + PrefabEditorEntityOwnershipInterface* prefabEditorEntityOwnershipInterface = + AZ::Interface::Get(); + + if (!prefabEditorEntityOwnershipInterface) + { + return AZStd::nullopt; + } + + return prefabEditorEntityOwnershipInterface->GetRootPrefabInstance(); + } + + return m_instanceEntityMapperInterface->FindOwningInstance(containerEntityId); + } + } // namespace AzToolsFramework::Prefab diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabFocusHandler.h b/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabFocusHandler.h index 75b9666389..2e23059a01 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabFocusHandler.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabFocusHandler.h @@ -73,16 +73,19 @@ namespace AzToolsFramework::Prefab void RefreshInstanceFocusList(); void RefreshInstanceFocusPath(); - void OpenInstanceContainers(const AZStd::vector& instances) const; - void CloseInstanceContainers(const AZStd::vector& instances) const; + void OpenInstanceContainers(const AZStd::vector& instances) const; + void CloseInstanceContainers(const AZStd::vector& instances) const; - //! The instance the editor is currently focusing on. - InstanceOptionalReference m_focusedInstance; + InstanceOptionalReference GetReferenceFromContainerEntityId(AZ::EntityId containerEntityId) const; + + //! The EntityId of the prefab container entity for the instance the editor is currently focusing on. + AZ::EntityId m_focusedInstanceContainerEntityId = AZ::EntityId(); //! The templateId of the focused instance. TemplateId m_focusedTemplateId; - //! The list of instances going from the root (index 0) to the focused instance. - AZStd::vector m_instanceFocusHierarchy; - //! A path containing the names of the containers in the instance focus hierarchy, separated with a /. + //! The list of instances going from the root (index 0) to the focused instance, + //! referenced by their prefab container's EntityId. + AZStd::vector m_instanceFocusHierarchy; + //! A path containing the filenames of the instances in the focus hierarchy, separated with a /. AZ::IO::Path m_instanceFocusPath; ContainerEntityInterface* m_containerEntityInterface = nullptr; diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyAssetCtrl.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyAssetCtrl.cpp index e97be57470..70e5aafe8a 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyAssetCtrl.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyAssetCtrl.cpp @@ -527,8 +527,8 @@ namespace AzToolsFramework m_errorButton = nullptr; } } - - void PropertyAssetCtrl::UpdateErrorButton(const AZStd::string& errorLog) + + void PropertyAssetCtrl::UpdateErrorButton() { if (m_errorButton) { @@ -543,12 +543,17 @@ namespace AzToolsFramework m_errorButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); m_errorButton->setFixedSize(QSize(16, 16)); m_errorButton->setMouseTracking(true); - m_errorButton->setIcon(QIcon("Icons/PropertyEditor/error_icon.png")); + m_errorButton->setIcon(QIcon(":/PropertyEditor/Resources/error_icon.png")); m_errorButton->setToolTip("Show Errors"); // Insert the error button after the asset label qobject_cast(layout())->insertWidget(1, m_errorButton); } + } + + void PropertyAssetCtrl::UpdateErrorButtonWithLog(const AZStd::string& errorLog) + { + UpdateErrorButton(); // Connect pressed to opening the error dialog // Must capture this for call to QObject::connect @@ -587,6 +592,21 @@ namespace AzToolsFramework logDialog->show(); }); } + + void PropertyAssetCtrl::UpdateErrorButtonWithMessage(const AZStd::string& message) + { + UpdateErrorButton(); + + connect(m_errorButton, &QPushButton::clicked, this, [this, message]() { + QMessageBox::critical(nullptr, "Error", message.c_str()); + + // Without this, the error button would maintain focus after clicking, which left the red error icon in a blue-highlighted state + if (parentWidget()) + { + parentWidget()->setFocus(); + } + }); + } void PropertyAssetCtrl::ClearAssetInternal() { @@ -960,7 +980,6 @@ namespace AzToolsFramework else { const AZ::Data::AssetId assetID = GetCurrentAssetID(); - m_currentAssetHint = ""; AZ::Outcome jobOutcome = AZ::Failure(); AssetSystemJobRequestBus::BroadcastResult(jobOutcome, &AssetSystemJobRequestBus::Events::GetAssetJobsInfoByAssetID, assetID, false, false); @@ -1018,7 +1037,7 @@ namespace AzToolsFramework // In case of failure, render failure icon case AssetSystem::JobStatus::Failed: { - UpdateErrorButton(errorLog); + UpdateErrorButtonWithLog(errorLog); } break; @@ -1043,6 +1062,10 @@ namespace AzToolsFramework m_currentAssetHint = assetPath; } } + else + { + UpdateErrorButtonWithMessage(AZStd::string::format("Asset is missing.\n\nID: %s\nHint:%s", assetID.ToString().c_str(), GetCurrentAssetHint().c_str())); + } } // Get the asset file name diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyAssetCtrl.hxx b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyAssetCtrl.hxx index 0b98278bc5..58ddbb967e 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyAssetCtrl.hxx +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyAssetCtrl.hxx @@ -168,7 +168,9 @@ namespace AzToolsFramework bool IsCorrectMimeData(const QMimeData* pData, AZ::Data::AssetId* pAssetId = nullptr, AZ::Data::AssetType* pAssetType = nullptr) const; void ClearErrorButton(); - void UpdateErrorButton(const AZStd::string& errorLog); + void UpdateErrorButton(); + void UpdateErrorButtonWithLog(const AZStd::string& errorLog); + void UpdateErrorButtonWithMessage(const AZStd::string& message); virtual const AZStd::string GetFolderSelection() const { return AZStd::string(); } virtual void SetFolderSelection(const AZStd::string& /* folderPath */) {} virtual void ClearAssetInternal(); diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/UnitTest/AzToolsFrameworkTestHelpers.h b/Code/Framework/AzToolsFramework/AzToolsFramework/UnitTest/AzToolsFrameworkTestHelpers.h index 4a7039423c..1e29f1dbce 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/UnitTest/AzToolsFrameworkTestHelpers.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/UnitTest/AzToolsFrameworkTestHelpers.h @@ -158,7 +158,10 @@ namespace UnitTest { // Create & Start a new ToolsApplication if there's no existing one m_app = CreateTestApplication(); - m_app->Start(AzFramework::Application::Descriptor()); + AZ::ComponentApplication::StartupParameters startupParameters; + startupParameters.m_loadAssetCatalog = false; + + m_app->Start(AzFramework::Application::Descriptor(), startupParameters); } // without this, the user settings component would attempt to save on finalize/shutdown. Since the file is diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportMessages.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportMessages.cpp index e3b45aca2b..8f8bd3e3f9 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportMessages.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportMessages.cpp @@ -6,6 +6,7 @@ * */ +#include #include namespace AzToolsFramework @@ -62,4 +63,33 @@ namespace AzToolsFramework return circleBoundWidth; } + + AZ::Vector3 FindClosestPickIntersection( + AzFramework::ViewportId viewportId, const AzFramework::ScreenPoint& screenPoint, const float rayLength, const float defaultDistance) + { + using AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus; + AzToolsFramework::ViewportInteraction::ProjectedViewportRay viewportRay{}; + ViewportInteractionRequestBus::EventResult( + viewportRay, viewportId, &ViewportInteractionRequestBus::Events::ViewportScreenToWorldRay, screenPoint); + + AzFramework::RenderGeometry::RayRequest ray; + ray.m_startWorldPosition = viewportRay.origin; + ray.m_endWorldPosition = viewportRay.origin + viewportRay.direction * rayLength; + ray.m_onlyVisible = true; + + AzFramework::RenderGeometry::RayResult renderGeometryIntersectionResult; + AzFramework::RenderGeometry::IntersectorBus::EventResult( + renderGeometryIntersectionResult, AzToolsFramework::GetEntityContextId(), + &AzFramework::RenderGeometry::IntersectorBus::Events::RayIntersect, ray); + + // attempt a ray intersection with any visible mesh and return the intersection position if successful + if (renderGeometryIntersectionResult) + { + return renderGeometryIntersectionResult.m_worldPosition; + } + else + { + return viewportRay.origin + viewportRay.direction * defaultDistance; + } + } } // namespace AzToolsFramework diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportMessages.h b/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportMessages.h index 8ec772f0da..aa97eb361e 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportMessages.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportMessages.h @@ -162,12 +162,11 @@ namespace AzToolsFramework //! Multiply by DeviceScalingFactor to get the position in viewport pixel space. virtual AzFramework::ScreenPoint ViewportWorldToScreen(const AZ::Vector3& worldPosition) = 0; //! Transforms a point from Qt widget screen space to world space based on the given clip space depth. - //! Depth specifies a relative camera depth to project in the range of [0.f, 1.f]. //! Returns the world space position if successful. - virtual AZStd::optional ViewportScreenToWorld(const AzFramework::ScreenPoint& screenPosition, float depth) = 0; + virtual AZ::Vector3 ViewportScreenToWorld(const AzFramework::ScreenPoint& screenPosition) = 0; //! Casts a point in screen space to a ray in world space originating from the viewport camera frustum's near plane. //! Returns a ray containing the ray's origin and a direction normal, if successful. - virtual AZStd::optional ViewportScreenToWorldRay(const AzFramework::ScreenPoint& screenPosition) = 0; + virtual ProjectedViewportRay ViewportScreenToWorldRay(const AzFramework::ScreenPoint& screenPosition) = 0; //! Gets the DPI scaling factor that translates Qt widget space into viewport pixel space. virtual float DeviceScalingFactor() = 0; @@ -229,9 +228,6 @@ namespace AzToolsFramework class MainEditorViewportInteractionRequests { public: - //! Given a point in screen space, return the picked entity (if any). - //! Picked EntityId will be returned, InvalidEntityId will be returned on failure. - virtual AZ::EntityId PickEntity(const AzFramework::ScreenPoint& point) = 0; //! Given a point in screen space, return the terrain position in world space. virtual AZ::Vector3 PickTerrain(const AzFramework::ScreenPoint& point) = 0; //! Return the terrain height given a world position in 2d (xy plane). @@ -266,7 +262,6 @@ namespace AzToolsFramework { public: static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single; - static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single; //! Returns the current state of the keyboard modifier keys. virtual KeyboardModifiers QueryKeyboardModifiers() = 0; @@ -290,7 +285,6 @@ namespace AzToolsFramework { public: static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single; - static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single; //! Returns the current time in seconds. //! This interface can be overridden for the purposes of testing to simplify viewport input requests. @@ -340,6 +334,12 @@ namespace AzToolsFramework return entityContextId; } + //! Performs an intersection test against meshes in the scene, if there is a hit (the ray intersects + //! a mesh), that position is returned, otherwise a point projected defaultDistance from the + //! origin of the ray will be returned. + AZ::Vector3 FindClosestPickIntersection( + AzFramework::ViewportId viewportId, const AzFramework::ScreenPoint& screenPoint, float rayLength, float defaultDistance); + //! Maps a mouse interaction event to a ClickDetector event. //! @note Function only cares about up or down events, all other events are mapped to Nil (ignored). AzFramework::ClickDetector::ClickEvent ClickDetectorEventFromViewportInteraction( diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorHelpers.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorHelpers.cpp index 0f94b95e5f..ee30b9e29d 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorHelpers.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorHelpers.cpp @@ -148,7 +148,6 @@ namespace AzToolsFramework return false; } - EditorHelpers::EditorHelpers(const EditorVisibleEntityDataCache* entityDataCache) : m_entityDataCache(entityDataCache) { @@ -190,7 +189,10 @@ namespace AzToolsFramework if (helpersVisible) { // some components choose to hide their icons (e.g. meshes) - if (!m_entityDataCache->IsVisibleEntityIconHidden(entityCacheIndex)) + // we also do not want to test against icons that may not be showing as they're inside a 'closed' entity container + // (these icons only become visible when it is opened for editing) + if (!m_entityDataCache->IsVisibleEntityIconHidden(entityCacheIndex) && + m_entityDataCache->IsVisibleEntityIndividuallySelectableInViewport(entityCacheIndex)) { const AZ::Vector3& entityPosition = m_entityDataCache->GetVisibleEntityPosition(entityCacheIndex); @@ -235,7 +237,7 @@ namespace AzToolsFramework viewportId, &ViewportInteraction::ViewportMouseCursorRequestBus::Events::SetOverrideCursor, ViewportInteraction::CursorStyleOverride::Forbidden); } - + if (mouseInteraction.m_mouseInteraction.m_mouseButtons.Left() && mouseInteraction.m_mouseEvent == ViewportInteraction::MouseEvent::Down || mouseInteraction.m_mouseEvent == ViewportInteraction::MouseEvent::DoubleClick) diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorSelectionUtil.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorSelectionUtil.cpp index a5ef66e7a3..0a7bed6b18 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorSelectionUtil.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorSelectionUtil.cpp @@ -18,9 +18,6 @@ namespace AzToolsFramework { - // default ray length for picking in the viewport - static const float EditorPickRayLength = 1000.0f; - AZ::Vector3 CalculateCenterOffset(const AZ::EntityId entityId, const EditorTransformComponentSelectionRequests::Pivot pivot) { if (Centered(pivot)) diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorSelectionUtil.h b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorSelectionUtil.h index d58549b329..5c9f47fdd3 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorSelectionUtil.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorSelectionUtil.h @@ -26,6 +26,9 @@ namespace AzFramework namespace AzToolsFramework { + //! Default ray length for picking in the viewport. + inline constexpr float EditorPickRayLength = 1000.0f; + //! Is the pivot at the center of the object (middle of extents) or at the //! exported authored object root position. inline bool Centered(const EditorTransformComponentSelectionRequests::Pivot pivot) diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.cpp index c16a458be7..d0318ee181 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.cpp @@ -409,7 +409,7 @@ namespace AzToolsFramework const AzFramework::CameraState cameraState = GetCameraState(viewportId); for (size_t entityCacheIndex = 0; entityCacheIndex < entityDataCache.VisibleEntityDataCount(); ++entityCacheIndex) { - if (!entityDataCache.IsVisibleEntitySelectableInViewport(entityCacheIndex)) + if (!entityDataCache.IsVisibleEntityIndividuallySelectableInViewport(entityCacheIndex)) { continue; } @@ -892,37 +892,34 @@ namespace AzToolsFramework prevModifiers = action.m_modifiers; } - static void HandleAccents( - const bool hasSelectedEntities, - const AZ::EntityId entityIdUnderCursor, - const bool ctrlHeld, - AZ::EntityId& hoveredEntityId, + void HandleAccents( + const AZ::EntityId currentEntityIdUnderCursor, + AZ::EntityId& hoveredEntityIdUnderCursor, + const HandleAccentsContext& handleAccentsContext, const ViewportInteraction::MouseButtons mouseButtons, - const bool usingBoxSelect) + const AZStd::function& setEntityAccentedFn) { - AZ_PROFILE_FUNCTION(AzToolsFramework); - const bool invalidMouseButtonHeld = mouseButtons.Middle() || mouseButtons.Right(); + const bool hasSelectedEntities = handleAccentsContext.m_hasSelectedEntities; + const bool ctrlHeld = handleAccentsContext.m_ctrlHeld; + const bool boxSelect = handleAccentsContext.m_usingBoxSelect; + const bool stickySelect = handleAccentsContext.m_usingStickySelect; + const bool canSelect = stickySelect ? !hasSelectedEntities || ctrlHeld : true; - if ((hoveredEntityId.IsValid() && hoveredEntityId != entityIdUnderCursor) || - (hasSelectedEntities && !ctrlHeld && hoveredEntityId.IsValid()) || invalidMouseButtonHeld) + const bool removePreviousAccent = + (currentEntityIdUnderCursor != hoveredEntityIdUnderCursor && hoveredEntityIdUnderCursor.IsValid()) || invalidMouseButtonHeld; + const bool addNextAccent = currentEntityIdUnderCursor.IsValid() && canSelect && !invalidMouseButtonHeld && !boxSelect; + + if (removePreviousAccent) { - if (hoveredEntityId.IsValid()) - { - ToolsApplicationRequestBus::Broadcast(&ToolsApplicationRequests::SetEntityHighlighted, hoveredEntityId, false); - - hoveredEntityId.SetInvalid(); - } + setEntityAccentedFn(hoveredEntityIdUnderCursor, false); + hoveredEntityIdUnderCursor.SetInvalid(); } - if (!invalidMouseButtonHeld && !usingBoxSelect && (!hasSelectedEntities || ctrlHeld)) + if (addNextAccent) { - if (entityIdUnderCursor.IsValid()) - { - ToolsApplicationRequestBus::Broadcast(&ToolsApplicationRequests::SetEntityHighlighted, entityIdUnderCursor, true); - - hoveredEntityId = entityIdUnderCursor; - } + setEntityAccentedFn(currentEntityIdUnderCursor, true); + hoveredEntityIdUnderCursor = currentEntityIdUnderCursor; } } @@ -983,7 +980,7 @@ namespace AzToolsFramework { if (auto entityIndex = entityDataCache.GetVisibleEntityIndexFromId(entityId)) { - if (entityDataCache.IsVisibleEntitySelectableInViewport(*entityIndex)) + if (entityDataCache.IsVisibleEntityIndividuallySelectableInViewport(*entityIndex)) { return *entityIndex; } @@ -1014,6 +1011,15 @@ namespace AzToolsFramework ToolsApplicationNotificationBus::Broadcast(&ToolsApplicationNotificationBus::Events::InvalidatePropertyDisplay, Refresh_Values); } + // leaves focus mode by focusing on the parent of the current perfab in the entity outliner + static void LeaveFocusMode() + { + if (auto prefabFocusPublicInterface = AZ::Interface::Get()) + { + prefabFocusPublicInterface->FocusOnParentOfFocusedPrefab(GetEntityContextId()); + } + } + EditorTransformComponentSelection::EditorTransformComponentSelection(const EditorVisibleEntityDataCache* entityDataCache) : m_entityDataCache(entityDataCache) { @@ -1771,7 +1777,7 @@ namespace AzToolsFramework const AzFramework::CameraState cameraState = GetCameraState(viewportId); const auto cursorEntityIdQuery = m_editorHelpers->FindEntityIdUnderCursor(cameraState, mouseInteraction); - m_cachedEntityIdUnderCursor = cursorEntityIdQuery.ContainerAncestorEntityId(); + m_currentEntityIdUnderCursor = cursorEntityIdQuery.ContainerAncestorEntityId(); const auto selectClickEvent = ClickDetectorEventFromViewportInteraction(mouseInteraction); m_cursorState.SetCurrentPosition(mouseInteraction.m_mouseInteraction.m_mousePick.m_screenCoordinates); @@ -1792,7 +1798,7 @@ namespace AzToolsFramework mouseInteraction.m_mouseInteraction, AZ::Aabb::CreateFromMinMax(boxPosition - scaledSize, boxPosition + scaledSize))) { - m_cachedEntityIdUnderCursor = entityId; + m_currentEntityIdUnderCursor = entityId; } } } @@ -1812,7 +1818,7 @@ namespace AzToolsFramework return true; } - const AZ::EntityId entityIdUnderCursor = m_cachedEntityIdUnderCursor; + const AZ::EntityId entityIdUnderCursor = m_currentEntityIdUnderCursor; if (mouseInteraction.m_mouseEvent == ViewportInteraction::MouseEvent::DoubleClick && mouseInteraction.m_mouseInteraction.m_mouseButtons.Left()) @@ -3331,9 +3337,23 @@ namespace AzToolsFramework m_cursorState.Update(); + bool stickySelect = false; + ViewportInteraction::ViewportSettingsRequestBus::EventResult( + stickySelect, viewportInfo.m_viewportId, &ViewportInteraction::ViewportSettingsRequestBus::Events::StickySelectEnabled); + + HandleAccentsContext handleAccentsContext; + handleAccentsContext.m_ctrlHeld = keyboardModifiers.Ctrl(); + handleAccentsContext.m_hasSelectedEntities = !m_selectedEntityIds.empty(); + handleAccentsContext.m_usingBoxSelect = m_boxSelect.Active(); + handleAccentsContext.m_usingStickySelect = stickySelect; + HandleAccents( - !m_selectedEntityIds.empty(), m_cachedEntityIdUnderCursor, keyboardModifiers.Ctrl(), m_hoveredEntityId, - ViewportInteraction::BuildMouseButtons(QGuiApplication::mouseButtons()), m_boxSelect.Active()); + m_currentEntityIdUnderCursor, m_hoveredEntityId, handleAccentsContext, + ViewportInteraction::BuildMouseButtons(QGuiApplication::mouseButtons()), + [](const AZ::EntityId entityId, bool highlighted) + { + ToolsApplicationRequestBus::Broadcast(&ToolsApplicationRequests::SetEntityHighlighted, entityId, highlighted); + }); const ReferenceFrame referenceFrame = m_spaceCluster.m_spaceLock.value_or(ReferenceFrameFromModifiers(keyboardModifiers)); @@ -3579,7 +3599,8 @@ namespace AzToolsFramework if (auto prefabFocusPublicInterface = AZ::Interface::Get()) { AzFramework::EntityContextId editorEntityContextId = GetEntityContextId(); - if (AZ::EntityId focusRoot = prefabFocusPublicInterface->GetFocusedPrefabContainerEntityId(editorEntityContextId); focusRoot.IsValid()) + if (AZ::EntityId focusRoot = prefabFocusPublicInterface->GetFocusedPrefabContainerEntityId(editorEntityContextId); + focusRoot.IsValid()) { m_selectedEntityIds.erase(focusRoot); } @@ -3674,7 +3695,8 @@ namespace AzToolsFramework case ViewportEditorMode::Focus: { ViewportUi::ViewportUiRequestBus::Event( - ViewportUi::DefaultViewportId, &ViewportUi::ViewportUiRequestBus::Events::CreateViewportBorder, "Focus Mode"); + ViewportUi::DefaultViewportId, &ViewportUi::ViewportUiRequestBus::Events::CreateViewportBorder, "Focus Mode", + LeaveFocusMode); } break; case ViewportEditorMode::Default: @@ -3703,7 +3725,8 @@ namespace AzToolsFramework if (editorModeState.IsModeActive(ViewportEditorMode::Focus)) { ViewportUi::ViewportUiRequestBus::Event( - ViewportUi::DefaultViewportId, &ViewportUi::ViewportUiRequestBus::Events::CreateViewportBorder, "Focus Mode"); + ViewportUi::DefaultViewportId, &ViewportUi::ViewportUiRequestBus::Events::CreateViewportBorder, "Focus Mode", + LeaveFocusMode); } } break; diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.h b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.h index 1e1cc6d2e1..10f83db739 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.h @@ -317,7 +317,7 @@ namespace AzToolsFramework void SetAllViewportUiVisible(bool visible); AZ::EntityId m_hoveredEntityId; //!< What EntityId is the mouse currently hovering over (if any). - AZ::EntityId m_cachedEntityIdUnderCursor; //!< Store the EntityId on each mouse move for use in Display. + AZ::EntityId m_currentEntityIdUnderCursor; //!< Store the EntityId on each mouse move for use in Display. AZ::EntityId m_editorCameraComponentEntityId; //!< The EditorCameraComponent EntityId if it is set. EntityIdSet m_selectedEntityIds; //!< Represents the current entities in the selection. @@ -357,6 +357,23 @@ namespace AzToolsFramework bool m_viewportUiVisible = true; //!< Used to hide/show the viewport ui elements. }; + //! Bundles viewport state that impacts how accents are added/removed in HandleAccents. + struct HandleAccentsContext + { + bool m_hasSelectedEntities; + bool m_ctrlHeld; + bool m_usingBoxSelect; + bool m_usingStickySelect; + }; + + //! Updates whether accents (icon highlights) are added/removed for a given entity based on the cursor position. + void HandleAccents( + AZ::EntityId currentEntityIdUnderCursor, + AZ::EntityId& hoveredEntityIdUnderCursor, + const HandleAccentsContext& handleAccentsContext, + ViewportInteraction::MouseButtons mouseButtons, + const AZStd::function& setEntityAccentedFn); + //! The ETCS (EntityTransformComponentSelection) namespace contains functions and data used exclusively by //! the EditorTransformComponentSelection type. Functions in this namespace are exposed to facilitate testing //! and should not be used outside of EditorTransformComponentSelection or EditorTransformComponentSelectionTests. diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorVisibleEntityDataCache.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorVisibleEntityDataCache.cpp index 328cfc3ae5..58c25b944c 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorVisibleEntityDataCache.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorVisibleEntityDataCache.cpp @@ -293,12 +293,10 @@ namespace AzToolsFramework return m_impl->m_visibleEntityDatas[index].m_iconHidden; } - bool EditorVisibleEntityDataCache::IsVisibleEntitySelectableInViewport(size_t index) const + bool EditorVisibleEntityDataCache::IsVisibleEntityIndividuallySelectableInViewport(const size_t index) const { - return m_impl->m_visibleEntityDatas[index].m_visible - && !m_impl->m_visibleEntityDatas[index].m_locked - && m_impl->m_visibleEntityDatas[index].m_inFocus - && !m_impl->m_visibleEntityDatas[index].m_descendantOfClosedContainer; + return m_impl->m_visibleEntityDatas[index].m_visible && !m_impl->m_visibleEntityDatas[index].m_locked && + m_impl->m_visibleEntityDatas[index].m_inFocus && !m_impl->m_visibleEntityDatas[index].m_descendantOfClosedContainer; } AZStd::optional EditorVisibleEntityDataCache::GetVisibleEntityIndexFromId(const AZ::EntityId entityId) const diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorVisibleEntityDataCache.h b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorVisibleEntityDataCache.h index 16fa1b6d14..4262d334df 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorVisibleEntityDataCache.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorVisibleEntityDataCache.h @@ -55,7 +55,10 @@ namespace AzToolsFramework bool IsVisibleEntityVisible(size_t index) const; bool IsVisibleEntitySelected(size_t index) const; bool IsVisibleEntityIconHidden(size_t index) const; - bool IsVisibleEntitySelectableInViewport(size_t index) const; + //! Returns true if the entity is individually selectable (none of its ancestors are a closed container entity). + //! @note It may still be desirable to be able to 'click' an entity that is a descendant of a closed container + //! to select the container itself, not the individual entity. + bool IsVisibleEntityIndividuallySelectableInViewport(size_t index) const; AZStd::optional GetVisibleEntityIndexFromId(AZ::EntityId entityId) const; diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiCluster.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiCluster.cpp index bc299f9985..365ba237db 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiCluster.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiCluster.cpp @@ -62,9 +62,6 @@ namespace AzToolsFramework::ViewportUi::Internal return; } - // set hover to true by default - action->setProperty("IconHasHoverEffect", true); - // add the action addAction(action); diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiDisplay.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiDisplay.cpp index b948a18578..c1bddbe3c3 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiDisplay.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiDisplay.cpp @@ -20,7 +20,9 @@ namespace AzToolsFramework::ViewportUi::Internal { const static int HighlightBorderSize = 5; - const static char* HighlightBorderColor = "#4A90E2"; + const static char* const HighlightBorderColor = "#4A90E2"; + const static int HighlightBorderBackButtonIconSize = 20; + const static char* const HighlightBorderBackButtonIconFile = "X_axis.svg"; static void UnparentWidgets(ViewportUiElementIdInfoLookup& viewportUiElementIdInfoLookup) { @@ -62,6 +64,7 @@ namespace AzToolsFramework::ViewportUi::Internal , m_fullScreenLayout(&m_uiOverlay) , m_uiOverlayLayout() , m_viewportBorderText(&m_uiOverlay) + , m_viewportBorderBackButton(&m_uiOverlay) { } @@ -254,7 +257,7 @@ namespace AzToolsFramework::ViewportUi::Internal auto viewportUiMapElement = m_viewportUiElements.find(elementId); if (viewportUiMapElement != m_viewportUiElements.end()) { - viewportUiMapElement->second.m_widget->setVisible(false); + viewportUiMapElement->second.m_widget->hide(); viewportUiMapElement->second.m_widget->setParent(nullptr); m_viewportUiElements.erase(viewportUiMapElement); } @@ -269,7 +272,7 @@ namespace AzToolsFramework::ViewportUi::Internal { if (ViewportUiElementInfo element = GetViewportUiElementInfo(elementId); element.m_widget) { - element.m_widget->setVisible(true); + element.m_widget->show(); } } @@ -277,7 +280,7 @@ namespace AzToolsFramework::ViewportUi::Internal { if (ViewportUiElementInfo element = GetViewportUiElementInfo(elementId); element.m_widget) { - element.m_widget->setVisible(false); + element.m_widget->hide(); } } @@ -291,27 +294,34 @@ namespace AzToolsFramework::ViewportUi::Internal return false; } - void ViewportUiDisplay::CreateViewportBorder(const AZStd::string& borderTitle) + void ViewportUiDisplay::CreateViewportBorder( + const AZStd::string& borderTitle, AZStd::optional backButtonCallback) { - const AZStd::string styleSheet = AZStd::string::format( - "border: %dpx solid %s; border-top: %dpx solid %s;", HighlightBorderSize, HighlightBorderColor, ViewportUiTopBorderSize, - HighlightBorderColor); - m_uiOverlay.setStyleSheet(styleSheet.c_str()); + m_uiOverlay.setStyleSheet(QString("border: %1px solid %2; border-top: %3px solid %4;") + .arg( + QString::number(HighlightBorderSize), HighlightBorderColor, + QString::number(ViewportUiTopBorderSize), HighlightBorderColor)); m_uiOverlayLayout.setContentsMargins( HighlightBorderSize + ViewportUiOverlayMargin, ViewportUiTopBorderSize + ViewportUiOverlayMargin, HighlightBorderSize + ViewportUiOverlayMargin, HighlightBorderSize + ViewportUiOverlayMargin); - m_viewportBorderText.setVisible(true); + m_viewportBorderText.show(); m_viewportBorderText.setText(borderTitle.c_str()); UpdateUiOverlayGeometry(); + + // only display the back button if a callback was provided + m_viewportBorderBackButtonCallback = backButtonCallback; + m_viewportBorderBackButton.setVisible(m_viewportBorderBackButtonCallback.has_value()); } void ViewportUiDisplay::RemoveViewportBorder() { - m_viewportBorderText.setVisible(false); + m_viewportBorderText.hide(); m_uiOverlay.setStyleSheet("border: none;"); m_uiOverlayLayout.setContentsMargins( ViewportUiOverlayMargin, ViewportUiOverlayMargin + ViewportUiOverlayTopMarginPadding, ViewportUiOverlayMargin, ViewportUiOverlayMargin); + m_viewportBorderBackButtonCallback.reset(); + m_viewportBorderBackButton.hide(); } void ViewportUiDisplay::PositionViewportUiElementFromWorldSpace(ViewportUiElementId elementId, const AZ::Vector3& pos) @@ -350,23 +360,46 @@ namespace AzToolsFramework::ViewportUi::Internal { m_uiMainWindow.setObjectName(QString("ViewportUiWindow")); ConfigureWindowForViewportUi(&m_uiMainWindow); - m_uiMainWindow.setVisible(false); + m_uiMainWindow.hide(); m_uiOverlay.setObjectName(QString("ViewportUiOverlay")); m_uiMainWindow.setCentralWidget(&m_uiOverlay); - m_uiOverlay.setVisible(false); + m_uiOverlay.hide(); // remove any spacing and margins from the UI Overlay Layout m_fullScreenLayout.setSpacing(0); m_fullScreenLayout.setContentsMargins(0, 0, 0, 0); m_fullScreenLayout.addLayout(&m_uiOverlayLayout, 0, 0, 1, 1); - // format the label which will appear on top of the highlight border - AZStd::string styleSheet = AZStd::string::format("background-color: %s; border: none;", HighlightBorderColor); - m_viewportBorderText.setStyleSheet(styleSheet.c_str()); + // style the label which will appear on top of the highlight border + m_viewportBorderText.setStyleSheet(QString("background-color: %1; border: none").arg(HighlightBorderColor)); m_viewportBorderText.setFixedHeight(ViewportUiTopBorderSize); - m_viewportBorderText.setVisible(false); + m_viewportBorderText.hide(); m_fullScreenLayout.addWidget(&m_viewportBorderText, 0, 0, Qt::AlignTop | Qt::AlignHCenter); + + m_viewportBorderBackButton.setAutoRaise(true); // hover highlight + m_viewportBorderBackButton.hide(); + + QIcon backButtonIcon(QString(":/stylesheet/img/UI20/toolbar/%1").arg(HighlightBorderBackButtonIconFile)); + m_viewportBorderBackButton.setIcon(backButtonIcon); + m_viewportBorderBackButton.setIconSize(QSize(HighlightBorderBackButtonIconSize, HighlightBorderBackButtonIconSize)); + + // setup the handler for the back button to call the user provided callback (if any) + QObject::connect( + &m_viewportBorderBackButton, &QToolButton::clicked, + [this] + { + if (m_viewportBorderBackButtonCallback.has_value()) + { + // we need to swap out the existing back button callback because it will be reset in RemoveViewportBorder() + // so preserve the lifetime with this temporary callback until after the call to RemoveViewportBorder() + AZStd::optional backButtonCallback; + m_viewportBorderBackButtonCallback.swap(backButtonCallback); + RemoveViewportBorder(); + (*backButtonCallback)(); + } + }); + m_fullScreenLayout.addWidget(&m_viewportBorderBackButton, 0, 0, Qt::AlignTop | Qt::AlignRight); } void ViewportUiDisplay::PrepareWidgetForViewportUi(QPointer widget) @@ -414,16 +447,9 @@ namespace AzToolsFramework::ViewportUi::Internal region += m_uiOverlay.childrenRegion(); // set viewport ui visibility depending on if elements are present - if (region.isEmpty() || !UiDisplayEnabled()) - { - m_uiMainWindow.setVisible(false); - m_uiOverlay.setVisible(false); - } - else - { - m_uiMainWindow.setVisible(true); - m_uiOverlay.setVisible(true); - } + const bool visible = !region.isEmpty() && UiDisplayEnabled(); + m_uiMainWindow.setVisible(visible); + m_uiOverlay.setVisible(visible); m_uiMainWindow.setMask(region); } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiDisplay.h b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiDisplay.h index 32b746a1ac..dba0f25830 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiDisplay.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiDisplay.h @@ -17,6 +17,7 @@ #include #include #include +#include AZ_PUSH_DISABLE_WARNING(4251, "-Wunknown-warning-option") #include @@ -89,7 +90,7 @@ namespace AzToolsFramework::ViewportUi::Internal AZStd::shared_ptr GetViewportUiElement(ViewportUiElementId elementId); bool IsViewportUiElementVisible(ViewportUiElementId elementId); - void CreateViewportBorder(const AZStd::string& borderTitle); + void CreateViewportBorder(const AZStd::string& borderTitle, AZStd::optional backButtonCallback); void RemoveViewportBorder(); private: @@ -113,7 +114,10 @@ namespace AzToolsFramework::ViewportUi::Internal QWidget m_uiOverlay; //!< The UI Overlay which displays Viewport UI Elements. QGridLayout m_fullScreenLayout; //!< The layout which extends across the full screen. ViewportUiDisplayLayout m_uiOverlayLayout; //!< The layout used for optionally anchoring Viewport UI Elements. - QLabel m_viewportBorderText; //!< The text used for the viewport border. + QLabel m_viewportBorderText; //!< The text used for the viewport highlight border. + QToolButton m_viewportBorderBackButton; //!< The button to return from the viewport highlight border (only displayed if callback provided). + //! The optional callback for when the viewport highlight border back button is pressed. + AZStd::optional m_viewportBorderBackButtonCallback; QWidget* m_renderOverlay; QPointer m_fullScreenWidget; //!< Reference to the widget attached to m_fullScreenLayout if any. diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiManager.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiManager.cpp index 1f14b12b7d..143da34074 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiManager.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiManager.cpp @@ -240,9 +240,10 @@ namespace AzToolsFramework::ViewportUi } } - void ViewportUiManager::CreateViewportBorder(const AZStd::string& borderTitle) + void ViewportUiManager::CreateViewportBorder( + const AZStd::string& borderTitle, AZStd::optional backButtonCallback) { - m_viewportUi->CreateViewportBorder(borderTitle); + m_viewportUi->CreateViewportBorder(borderTitle, backButtonCallback); } void ViewportUiManager::RemoveViewportBorder() diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiManager.h b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiManager.h index ce7e5aafe9..54f1eb5a57 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiManager.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiManager.h @@ -50,7 +50,8 @@ namespace AzToolsFramework::ViewportUi void RegisterTextFieldCallback(TextFieldId textFieldId, AZ::Event::Handler& handler) override; void RemoveTextField(TextFieldId textFieldId) override; void SetTextFieldVisible(TextFieldId textFieldId, bool visible) override; - void CreateViewportBorder(const AZStd::string& borderTitle) override; + void CreateViewportBorder( + const AZStd::string& borderTitle, AZStd::optional backButtonCallback) override; void RemoveViewportBorder() override; void PressButton(ClusterId clusterId, ButtonId buttonId) override; void PressButton(SwitcherId switcherId, ButtonId buttonId) override; diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiRequestBus.h b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiRequestBus.h index 3c6f7094cb..9ac6feb8c8 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiRequestBus.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiRequestBus.h @@ -22,6 +22,9 @@ namespace AzToolsFramework::ViewportUi using SwitcherId = IdType; using TextFieldId = IdType; + //! Callback function for viewport UI back button. + using ViewportUiBackButtonCallback = AZStd::function; + inline const ViewportUiElementId InvalidViewportUiElementId = ViewportUiElementId(0); inline const ButtonId InvalidButtonId = ButtonId(0); inline const ClusterId InvalidClusterId = ClusterId(0); @@ -95,9 +98,9 @@ namespace AzToolsFramework::ViewportUi virtual void RemoveTextField(TextFieldId textFieldId) = 0; //! Sets the visibility of the text field. virtual void SetTextFieldVisible(TextFieldId textFieldId, bool visible) = 0; - //! Create the highlight border for Component Mode. - virtual void CreateViewportBorder(const AZStd::string& borderTitle) = 0; - //! Remove the highlight border for Component Mode. + //! Create the highlight border with optional back button to exit the given editor mode. + virtual void CreateViewportBorder(const AZStd::string& borderTitle, AZStd::optional backButtonCallback) = 0; + //! Remove the highlight border. virtual void RemoveViewportBorder() = 0; //! Invoke a button press on a cluster. virtual void PressButton(ClusterId clusterId, ButtonId buttonId) = 0; diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiSwitcher.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiSwitcher.cpp index 6b8b1873f7..c4be11ac66 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiSwitcher.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ViewportUiSwitcher.cpp @@ -22,8 +22,6 @@ namespace AzToolsFramework::ViewportUi::Internal // Add am empty active button (is set in the call to SetActiveMode) m_activeButton = new QToolButton(); - // No hover effect for the main button as it's not clickable - m_activeButton->setProperty("IconHasHoverEffect", false); m_activeButton->setCheckable(false); m_activeButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); addWidget(m_activeButton); @@ -56,9 +54,6 @@ namespace AzToolsFramework::ViewportUi::Internal return; } - // set hover to true by default - action->setProperty("IconHasHoverEffect", true); - // add the action addAction(action); diff --git a/Code/Framework/AzToolsFramework/Platform/Linux/AzToolsFramework/API/PythonLoader_Linux.cpp b/Code/Framework/AzToolsFramework/Platform/Linux/AzToolsFramework/API/PythonLoader_Linux.cpp index 76fa36a048..351cf69c15 100644 --- a/Code/Framework/AzToolsFramework/Platform/Linux/AzToolsFramework/API/PythonLoader_Linux.cpp +++ b/Code/Framework/AzToolsFramework/Platform/Linux/AzToolsFramework/API/PythonLoader_Linux.cpp @@ -15,10 +15,10 @@ namespace AzToolsFramework::EmbeddedPython PythonLoader::PythonLoader() { constexpr char libPythonName[] = "libpython3.7m.so.1.0"; - if (m_embeddedLibPythonHandle = dlopen(libPythonName, RTLD_NOW | RTLD_GLOBAL); - m_embeddedLibPythonHandle == nullptr) + m_embeddedLibPythonHandle = dlopen(libPythonName, RTLD_NOW | RTLD_GLOBAL); + if (m_embeddedLibPythonHandle == nullptr) { - char* err = dlerror(); + [[maybe_unused]] const char* err = dlerror(); AZ_Error("PythonLoader", false, "Failed to load %s with error: %s\n", libPythonName, err ? err : "Unknown Error"); } } diff --git a/Code/Framework/AzToolsFramework/Tests/BoundsTestComponent.cpp b/Code/Framework/AzToolsFramework/Tests/BoundsTestComponent.cpp index 1aa7b39593..fa5a6b344a 100644 --- a/Code/Framework/AzToolsFramework/Tests/BoundsTestComponent.cpp +++ b/Code/Framework/AzToolsFramework/Tests/BoundsTestComponent.cpp @@ -40,6 +40,9 @@ namespace UnitTest { AzFramework::BoundsRequestBus::Handler::BusConnect(GetEntityId()); AzToolsFramework::EditorComponentSelectionRequestsBus::Handler::BusConnect(GetEntityId()); + + // default local bounds to unit cube + m_localBounds = AZ::Aabb::CreateFromMinMax(AZ::Vector3(-0.5f), AZ::Vector3(0.5f)); } void BoundsTestComponent::Deactivate() @@ -57,7 +60,6 @@ namespace UnitTest AZ::Aabb BoundsTestComponent::GetLocalBounds() { - return AZ::Aabb::CreateFromMinMax(AZ::Vector3(-0.5f), AZ::Vector3(0.5f)); + return m_localBounds; } - } // namespace UnitTest diff --git a/Code/Framework/AzToolsFramework/Tests/BoundsTestComponent.h b/Code/Framework/AzToolsFramework/Tests/BoundsTestComponent.h index 036f9c8798..358a9f810a 100644 --- a/Code/Framework/AzToolsFramework/Tests/BoundsTestComponent.h +++ b/Code/Framework/AzToolsFramework/Tests/BoundsTestComponent.h @@ -41,5 +41,7 @@ namespace UnitTest // BoundsRequestBus overrides ... AZ::Aabb GetWorldBounds() override; AZ::Aabb GetLocalBounds() override; + + AZ::Aabb m_localBounds; //!< Local bounds that can be modified for certain tests (defaults to unit cube). }; } // namespace UnitTest diff --git a/Code/Framework/AzToolsFramework/Tests/EditorTransformComponentSelectionTests.cpp b/Code/Framework/AzToolsFramework/Tests/EditorTransformComponentSelectionTests.cpp index 81909ac511..f4077e992b 100644 --- a/Code/Framework/AzToolsFramework/Tests/EditorTransformComponentSelectionTests.cpp +++ b/Code/Framework/AzToolsFramework/Tests/EditorTransformComponentSelectionTests.cpp @@ -38,7 +38,7 @@ #include #include -#include +#include namespace AZ { @@ -493,12 +493,8 @@ namespace UnitTest /////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Then - AzToolsFramework::EntityIdList selectedEntities; - AzToolsFramework::ToolsApplicationRequestBus::BroadcastResult( - selectedEntities, &AzToolsFramework::ToolsApplicationRequestBus::Events::GetSelectedEntities); - - AzToolsFramework::EntityIdList expectedSelectedEntities = { entity4, entity5, entity6 }; - + const AzToolsFramework::EntityIdList selectedEntities = SelectedEntities(); + const AzToolsFramework::EntityIdList expectedSelectedEntities = { entity4, entity5, entity6 }; EXPECT_THAT(selectedEntities, UnorderedElementsAreArray(expectedSelectedEntities)); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// } @@ -527,12 +523,8 @@ namespace UnitTest /////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Then - AzToolsFramework::EntityIdList selectedEntities; - AzToolsFramework::ToolsApplicationRequestBus::BroadcastResult( - selectedEntities, &AzToolsFramework::ToolsApplicationRequestBus::Events::GetSelectedEntities); - - AzToolsFramework::EntityIdList expectedSelectedEntities = { m_entityId1, entity2, entity3, entity4 }; - + const AzToolsFramework::EntityIdList selectedEntities = SelectedEntities(); + const AzToolsFramework::EntityIdList expectedSelectedEntities = { m_entityId1, entity2, entity3, entity4 }; EXPECT_THAT(selectedEntities, UnorderedElementsAreArray(expectedSelectedEntities)); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// } @@ -946,6 +938,42 @@ namespace UnitTest EXPECT_THAT(selectedEntitiesAfter, UnorderedElementsAre(m_entityId1)); } + TEST_F( + EditorTransformComponentSelectionViewportPickingManipulatorTestFixture, BoundsBetweenCameraAndNearClipPlaneDoesNotIntersectMouseRay) + { + // move camera to 10 units along the y-axis + AzFramework::SetCameraTransform(m_cameraState, AZ::Transform::CreateTranslation(AZ::Vector3::CreateAxisY(10.0f))); + + // send a very narrow bounds for entity1 + AZ::Entity* entity1 = AzToolsFramework::GetEntityById(m_entityId1); + auto* boundTestComponent = entity1->FindComponent(); + boundTestComponent->m_localBounds = + AZ::Aabb::CreateFromMinMax(AZ::Vector3(-0.5f, -0.0025f, -0.5f), AZ::Vector3(0.5f, 0.0025f, 0.5f)); + + // move entity1 in front of the camera between it and the near clip plane + AZ::TransformBus::Event( + m_entityId1, &AZ::TransformBus::Events::SetWorldTM, AZ::Transform::CreateTranslation(AZ::Vector3::CreateAxisY(10.05f))); + // move entity2 behind entity1 + AZ::TransformBus::Event( + m_entityId2, &AZ::TransformBus::Events::SetWorldTM, AZ::Transform::CreateTranslation(AZ::Vector3::CreateAxisY(15.0f))); + + const auto entity2ScreenPosition = AzFramework::WorldToScreen(AzToolsFramework::GetWorldTranslation(m_entityId2), m_cameraState); + + // click the entity in the viewport + m_actionDispatcher->SetStickySelect(true) + ->CameraState(m_cameraState) + ->MousePosition(entity2ScreenPosition) + ->CameraState(m_cameraState) + ->MouseLButtonDown() + ->MouseLButtonUp(); + + // ensure entity1 is not selected as it is before the near clip plane + using ::testing::UnorderedElementsAreArray; + const AzToolsFramework::EntityIdList selectedEntities = SelectedEntities(); + const AzToolsFramework::EntityIdList expectedSelectedEntities = { m_entityId2 }; + EXPECT_THAT(selectedEntities, UnorderedElementsAreArray(expectedSelectedEntities)); + } + class EditorTransformComponentSelectionViewportPickingManipulatorTestFixtureParam : public EditorTransformComponentSelectionViewportPickingManipulatorTestFixture , public ::testing::WithParamInterface @@ -2753,4 +2781,196 @@ namespace UnitTest /////////////////////////////////////////////////////////////////////////////////////////////////////////////// } + TEST(HandleAccents, CurrentValidEntityIdBecomesHoveredWithNoSelectionAndUnstickySelect) + { + namespace azvi = AzToolsFramework::ViewportInteraction; + + const AZ::EntityId currentEntityId = AZ::EntityId(12345); + AZ::EntityId hoveredEntityEntityId; + + AzToolsFramework::HandleAccentsContext handleAccentsContext; + handleAccentsContext.m_ctrlHeld = false; + handleAccentsContext.m_hasSelectedEntities = false; + handleAccentsContext.m_usingBoxSelect = false; + handleAccentsContext.m_usingStickySelect = false; + + bool currentEntityIdAccentAdded = false; + AzToolsFramework::HandleAccents( + currentEntityId, hoveredEntityEntityId, handleAccentsContext, azvi::MouseButtonsFromButton(azvi::MouseButton::None), + [¤tEntityIdAccentAdded, currentEntityId](const AZ::EntityId entityId, const bool accent) + { + if (entityId == currentEntityId && accent) + { + currentEntityIdAccentAdded = true; + } + }); + + using ::testing::Eq; + using ::testing::IsTrue; + EXPECT_THAT(currentEntityId, Eq(hoveredEntityEntityId)); + EXPECT_THAT(currentEntityIdAccentAdded, IsTrue()); + } + + TEST(HandleAccents, CurrentValidEntityIdBecomesHoveredWithSelectionAndUnstickySelect) + { + namespace azvi = AzToolsFramework::ViewportInteraction; + + const AZ::EntityId currentEntityId = AZ::EntityId(12345); + AZ::EntityId hoveredEntityEntityId; + + AzToolsFramework::HandleAccentsContext handleAccentsContext; + handleAccentsContext.m_ctrlHeld = false; + handleAccentsContext.m_hasSelectedEntities = true; + handleAccentsContext.m_usingBoxSelect = false; + handleAccentsContext.m_usingStickySelect = false; + + bool currentEntityIdAccentAdded = false; + AzToolsFramework::HandleAccents( + currentEntityId, hoveredEntityEntityId, handleAccentsContext, azvi::MouseButtonsFromButton(azvi::MouseButton::None), + [¤tEntityIdAccentAdded, currentEntityId](const AZ::EntityId entityId, const bool accent) + { + if (entityId == currentEntityId && accent) + { + currentEntityIdAccentAdded = true; + } + }); + + using ::testing::Eq; + using ::testing::IsTrue; + EXPECT_THAT(currentEntityId, Eq(hoveredEntityEntityId)); + EXPECT_THAT(currentEntityIdAccentAdded, IsTrue()); + } + + TEST(HandleAccents, CurrentValidEntityIdDoesNotBecomeHoveredWithSelectionUnstickySelectAndInvalidButton) + { + namespace azvi = AzToolsFramework::ViewportInteraction; + + const AZ::EntityId currentEntityId = AZ::EntityId(12345); + AZ::EntityId hoveredEntityEntityId = AZ::EntityId(54321); + + AzToolsFramework::HandleAccentsContext handleAccentsContext; + handleAccentsContext.m_ctrlHeld = false; + handleAccentsContext.m_hasSelectedEntities = false; + handleAccentsContext.m_usingBoxSelect = false; + handleAccentsContext.m_usingStickySelect = false; + + bool hoveredEntityIdAccentRemoved = false; + AzToolsFramework::HandleAccents( + currentEntityId, hoveredEntityEntityId, handleAccentsContext, azvi::MouseButtonsFromButton(azvi::MouseButton::Middle), + [&hoveredEntityIdAccentRemoved, hoveredEntityEntityId](const AZ::EntityId entityId, const bool accent) + { + if (entityId == hoveredEntityEntityId && !accent) + { + hoveredEntityIdAccentRemoved = true; + } + }); + + using ::testing::Eq; + using ::testing::IsFalse; + using ::testing::IsTrue; + EXPECT_THAT(hoveredEntityEntityId.IsValid(), IsFalse()); + EXPECT_THAT(hoveredEntityIdAccentRemoved, IsTrue()); + } + + TEST(HandleAccents, CurrentValidEntityIdDoesNotBecomeHoveredWithSelectionUnstickySelectAndDoingBoxSelect) + { + namespace azvi = AzToolsFramework::ViewportInteraction; + + const AZ::EntityId currentEntityId = AZ::EntityId(12345); + AZ::EntityId hoveredEntityEntityId = AZ::EntityId(54321); + + AzToolsFramework::HandleAccentsContext handleAccentsContext; + handleAccentsContext.m_ctrlHeld = false; + handleAccentsContext.m_hasSelectedEntities = false; + handleAccentsContext.m_usingBoxSelect = true; + handleAccentsContext.m_usingStickySelect = false; + + bool hoveredEntityIdAccentRemoved = false; + AzToolsFramework::HandleAccents( + currentEntityId, hoveredEntityEntityId, handleAccentsContext, azvi::MouseButtonsFromButton(azvi::MouseButton::None), + [&hoveredEntityIdAccentRemoved, hoveredEntityEntityId](const AZ::EntityId entityId, const bool accent) + { + if (entityId == hoveredEntityEntityId && !accent) + { + hoveredEntityIdAccentRemoved = true; + } + }); + + using ::testing::Eq; + using ::testing::IsFalse; + using ::testing::IsTrue; + EXPECT_THAT(hoveredEntityEntityId.IsValid(), IsFalse()); + EXPECT_THAT(hoveredEntityIdAccentRemoved, IsTrue()); + } + + // mimics the mouse moving off of hovered entity onto a new entity with sticky select enabled + TEST(HandleAccents, CurrentValidEntityIdDoesNotBecomeHoveredWithSelectionAndStickySelect) + { + namespace azvi = AzToolsFramework::ViewportInteraction; + + const AZ::EntityId currentEntityId = AZ::EntityId(12345); + AZ::EntityId hoveredEntityEntityId = AZ::EntityId(54321); + + AzToolsFramework::HandleAccentsContext handleAccentsContext; + handleAccentsContext.m_ctrlHeld = false; + handleAccentsContext.m_hasSelectedEntities = true; + handleAccentsContext.m_usingBoxSelect = false; + handleAccentsContext.m_usingStickySelect = true; + + bool hoveredEntityIdAccentRemoved = false; + AzToolsFramework::HandleAccents( + currentEntityId, hoveredEntityEntityId, handleAccentsContext, azvi::MouseButtonsFromButton(azvi::MouseButton::None), + [&hoveredEntityIdAccentRemoved, hoveredEntityEntityId](const AZ::EntityId entityId, const bool accent) + { + if (entityId == hoveredEntityEntityId && !accent) + { + hoveredEntityIdAccentRemoved = true; + } + }); + + using ::testing::Eq; + using ::testing::IsFalse; + using ::testing::IsTrue; + EXPECT_THAT(hoveredEntityIdAccentRemoved, IsTrue()); + EXPECT_THAT(hoveredEntityEntityId.IsValid(), IsFalse()); + } + + TEST(HandleAccents, CurrentValidEntityIdDoesBecomeHoveredWithSelectionAndStickySelectAndCtrl) + { + namespace azvi = AzToolsFramework::ViewportInteraction; + + const AZ::EntityId currentEntityId = AZ::EntityId(12345); + AZ::EntityId hoveredEntityEntityId = AZ::EntityId(54321); + + AzToolsFramework::HandleAccentsContext handleAccentsContext; + handleAccentsContext.m_ctrlHeld = true; + handleAccentsContext.m_hasSelectedEntities = true; + handleAccentsContext.m_usingBoxSelect = false; + handleAccentsContext.m_usingStickySelect = true; + + bool currentEntityIdAccentAdded = false; + bool hoveredEntityIdAccentRemoved = false; + AzToolsFramework::HandleAccents( + currentEntityId, hoveredEntityEntityId, handleAccentsContext, azvi::MouseButtonsFromButton(azvi::MouseButton::None), + [&hoveredEntityIdAccentRemoved, ¤tEntityIdAccentAdded, currentEntityId, + hoveredEntityEntityId](const AZ::EntityId entityId, const bool accent) + { + if (entityId == currentEntityId && accent) + { + currentEntityIdAccentAdded = true; + } + + if (entityId == hoveredEntityEntityId && !accent) + { + hoveredEntityIdAccentRemoved = true; + } + }); + + using ::testing::Eq; + using ::testing::IsFalse; + using ::testing::IsTrue; + EXPECT_THAT(currentEntityIdAccentAdded, IsTrue()); + EXPECT_THAT(hoveredEntityIdAccentRemoved, IsTrue()); + EXPECT_THAT(hoveredEntityEntityId, Eq(AZ::EntityId(12345))); + } } // namespace UnitTest diff --git a/Code/Framework/AzToolsFramework/Tests/EditorVertexSelectionTests.cpp b/Code/Framework/AzToolsFramework/Tests/EditorVertexSelectionTests.cpp index d08c9646a2..93010aa63d 100644 --- a/Code/Framework/AzToolsFramework/Tests/EditorVertexSelectionTests.cpp +++ b/Code/Framework/AzToolsFramework/Tests/EditorVertexSelectionTests.cpp @@ -23,6 +23,7 @@ #include #include #include +#include using namespace AzToolsFramework; diff --git a/Code/Framework/AzToolsFramework/Tests/Prefab/PrefabFocus/PrefabFocusTests.cpp b/Code/Framework/AzToolsFramework/Tests/Prefab/PrefabFocus/PrefabFocusTests.cpp index 86c73e72e5..6bf964f038 100644 --- a/Code/Framework/AzToolsFramework/Tests/Prefab/PrefabFocus/PrefabFocusTests.cpp +++ b/Code/Framework/AzToolsFramework/Tests/Prefab/PrefabFocus/PrefabFocusTests.cpp @@ -106,7 +106,9 @@ namespace UnitTest inline static const char* Passenger2EntityName = "Passenger2"; }; - TEST_F(PrefabFocusTests, PrefabFocus_FocusOnOwningPrefab_RootContainer) + // Test was disabled because the implementation of GetFocusedPrefabInstance now relies on the Prefab EOS, + // which is not used by our test environment. This can be restored once Instance handles are implemented. + TEST_F(PrefabFocusTests, DISABLED_PrefabFocus_FocusOnOwningPrefab_RootContainer) { // Verify FocusOnOwningPrefab works when passing the container entity of the root prefab. { @@ -121,7 +123,9 @@ namespace UnitTest } } - TEST_F(PrefabFocusTests, PrefabFocus_FocusOnOwningPrefab_RootEntity) + // Test was disabled because the implementation of GetFocusedPrefabInstance now relies on the Prefab EOS, + // which is not used by our test environment. This can be restored once Instance handles are implemented. + TEST_F(PrefabFocusTests, DISABLED_PrefabFocus_FocusOnOwningPrefab_RootEntity) { // Verify FocusOnOwningPrefab works when passing a nested entity of the root prefab. { diff --git a/Code/Framework/AzToolsFramework/Tests/Viewport/ViewportScreenTests.cpp b/Code/Framework/AzToolsFramework/Tests/Viewport/ViewportScreenTests.cpp index e8fce6653f..58c28f8568 100644 --- a/Code/Framework/AzToolsFramework/Tests/Viewport/ViewportScreenTests.cpp +++ b/Code/Framework/AzToolsFramework/Tests/Viewport/ViewportScreenTests.cpp @@ -17,6 +17,7 @@ #include #include #include +#include namespace UnitTest { @@ -35,6 +36,7 @@ namespace UnitTest const auto worldResult = AzFramework::ScreenToWorld(screenPoint, cameraState); return AzFramework::WorldToScreen(worldResult, cameraState); } + //////////////////////////////////////////////////////////////////////////////////////////////////////// // ScreenPoint tests TEST(ViewportScreen, WorldToScreenAndScreenToWorldReturnsTheSameValueIdentityCameraOffsetFromOrigin) @@ -102,8 +104,8 @@ namespace UnitTest } //////////////////////////////////////////////////////////////////////////////////////////////////////// - // NDC tests - TEST(ViewportScreen, WorldToScreenNDCAndScreenNDCToWorldReturnsTheSameValueIdentityCameraOffsetFromOrigin) + // Ndc tests + TEST(ViewportScreen, WorldToScreenNdcAndScreenNdcToWorldReturnsTheSameValueIdentityCameraOffsetFromOrigin) { using NdcPoint = AZ::Vector2; @@ -136,7 +138,7 @@ namespace UnitTest } } - TEST(ViewportScreen, WorldToScreenNDCAndScreenNDCToWorldReturnsTheSameValueOrientatedCamera) + TEST(ViewportScreen, WorldToScreenNdcAndScreenNdcToWorldReturnsTheSameValueOrientatedCamera) { using NdcPoint = AZ::Vector2; @@ -153,7 +155,7 @@ namespace UnitTest // note: nearClip is 0.1 - the world space value returned will be aligned to the near clip // plane of the camera so use that to confirm the mapping to/from is correct - TEST(ViewportScreen, ScreenNDCToWorldReturnsPositionOnNearClipPlaneInWorldSpace) + TEST(ViewportScreen, ScreenNdcToWorldReturnsPositionOnNearClipPlaneInWorldSpace) { using NdcPoint = AZ::Vector2; diff --git a/Code/LauncherUnified/Platform/Common/UnixLike/Launcher_UnixLike.cpp b/Code/LauncherUnified/Platform/Common/UnixLike/Launcher_UnixLike.cpp index b873f30c6d..4e121f149c 100644 --- a/Code/LauncherUnified/Platform/Common/UnixLike/Launcher_UnixLike.cpp +++ b/Code/LauncherUnified/Platform/Common/UnixLike/Launcher_UnixLike.cpp @@ -49,18 +49,17 @@ namespace rlimit limit; if (getrlimit(resource, &limit) != 0) { - AZ_Error("Launcher", false, "[ERROR] Failed to get limit for resource %d. Error: %s", resource, strerror(errno)); - return false; + AZ_Warning("Launcher", false, "[WARNING] Unable to get limit for resource %d. Error: %s", resource, strerror(errno)); } if (updateLimit(limit)) { if (setrlimit(resource, &limit) != 0) { - AZ_Error("Launcher", false, "[ERROR] Failed to update resource limit for resource %d. Error: %s", resource, strerror(errno)); - return false; + AZ_Warning("Launcher", false, "[WARNING] Unable to update resource limit for resource %d. Error: %s", resource, strerror(errno)); } } + return true; } } diff --git a/Code/Legacy/CryCommon/Cry_Vector2.h b/Code/Legacy/CryCommon/Cry_Vector2.h index 81a8c10e49..5bf47d0642 100644 --- a/Code/Legacy/CryCommon/Cry_Vector2.h +++ b/Code/Legacy/CryCommon/Cry_Vector2.h @@ -8,10 +8,6 @@ // Description : Common matrix class - - -#ifndef CRYINCLUDE_CRYCOMMON_CRY_VECTOR2_H -#define CRYINCLUDE_CRYCOMMON_CRY_VECTOR2_H #pragma once #include @@ -68,9 +64,7 @@ struct Vec2_tpl : x((F)v.x) , y((F)v.y) { assert(this->IsValid()); } - ILINE Vec2_tpl& operator=(const Vec2_tpl& src) { x = src.x; y = src.y; return *this; } - //template Vec2_tpl& operator=(const Vec2_tpl& src) { x=F(src.x); y=F(src.y); return *this; } - //template Vec2_tpl& operator=(const Vec3_tpl& src) { x=F(src.x); y=F(src.y); return *this; } + Vec2_tpl& operator=(const Vec2_tpl& src) = default; ILINE int operator!() const { return x == 0 && y == 0; } @@ -372,4 +366,3 @@ namespace AZ { AZ_TYPE_INFO_SPECIALIZE(Vec2, "{844131BA-9565-42F3-8482-6F65A6D5FC59}"); } -#endif // CRYINCLUDE_CRYCOMMON_CRY_VECTOR2_H diff --git a/Code/Legacy/CryCommon/Mocks/ICryPakMock.h b/Code/Legacy/CryCommon/Mocks/ICryPakMock.h index e03038c343..d32f31e5b8 100644 --- a/Code/Legacy/CryCommon/Mocks/ICryPakMock.h +++ b/Code/Legacy/CryCommon/Mocks/ICryPakMock.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -52,11 +53,11 @@ struct CryPakMock MOCK_METHOD1(PoolMalloc, void*(size_t size)); MOCK_METHOD1(PoolFree, void(void* p)); MOCK_METHOD3(PoolAllocMemoryBlock, AZStd::intrusive_ptr (size_t nSize, const char* sUsage, size_t nAlign)); - MOCK_METHOD2(FindFirst, AZ::IO::ArchiveFileIterator(AZStd::string_view pDir, AZ::IO::IArchive::EFileSearchType)); + MOCK_METHOD2(FindFirst, AZ::IO::ArchiveFileIterator(AZStd::string_view pDir, AZ::IO::FileSearchLocation)); MOCK_METHOD1(FindNext, AZ::IO::ArchiveFileIterator(AZ::IO::ArchiveFileIterator handle)); MOCK_METHOD1(FindClose, bool(AZ::IO::ArchiveFileIterator)); MOCK_METHOD1(GetModificationTime, AZ::IO::IArchive::FileTime(AZ::IO::HandleType f)); - MOCK_METHOD2(IsFileExist, bool(AZStd::string_view sFilename, EFileSearchLocation)); + MOCK_METHOD2(IsFileExist, bool(AZStd::string_view sFilename, AZ::IO::FileSearchLocation)); MOCK_METHOD1(IsFolder, bool(AZStd::string_view sPath)); MOCK_METHOD1(GetFileSizeOnDisk, AZ::IO::IArchive::SignedFileSize(AZStd::string_view filename)); MOCK_METHOD4(OpenArchive, AZStd::intrusive_ptr (AZStd::string_view szPath, AZStd::string_view bindRoot, uint32_t nFlags, AZStd::intrusive_ptr pData)); @@ -72,7 +73,7 @@ struct CryPakMock MOCK_METHOD1(UnregisterFileAccessSink, void(AZ::IO::IArchiveFileAccessSink * pSink)); MOCK_METHOD1(DisableRuntimeFileAccess, void(bool status)); MOCK_METHOD2(DisableRuntimeFileAccess, bool(bool status, AZStd::thread_id threadId)); - MOCK_CONST_METHOD0(GetPakPriority, AZ::IO::ArchiveLocationPriority()); + MOCK_CONST_METHOD0(GetPakPriority, AZ::IO::FileSearchPriority()); MOCK_CONST_METHOD1(GetFileOffsetOnMedia, uint64_t(AZStd::string_view szName)); MOCK_CONST_METHOD1(GetFileMediaType, EStreamSourceMediaType(AZStd::string_view szName)); MOCK_METHOD0(GetLevelPackOpenEvent, auto()->LevelPackOpenEvent*); diff --git a/Code/Legacy/CrySystem/LevelSystem/LevelSystem.cpp b/Code/Legacy/CrySystem/LevelSystem/LevelSystem.cpp index 7bfe6e2f1d..8945761184 100644 --- a/Code/Legacy/CrySystem/LevelSystem/LevelSystem.cpp +++ b/Code/Legacy/CrySystem/LevelSystem/LevelSystem.cpp @@ -203,24 +203,22 @@ CLevelSystem::CLevelSystem(ISystem* pSystem, const char* levelsFolder) { return; } - auto pPak = gEnv->pCryPak; + auto archive = AZ::Interface::Get(); - if (AZ::IO::IArchive::LevelPackOpenEvent* levelPakOpenEvent = pPak->GetLevelPackOpenEvent()) + if (AZ::IO::IArchive::LevelPackOpenEvent* levelPakOpenEvent = archive->GetLevelPackOpenEvent()) { - m_levelPackOpenHandler = AZ::IO::IArchive::LevelPackOpenEvent::Handler([this](const AZStd::vector& levelDirs) + m_levelPackOpenHandler = AZ::IO::IArchive::LevelPackOpenEvent::Handler([this](const AZStd::vector& levelDirs) { - for (AZStd::string dir : levelDirs) + for (AZ::IO::Path levelDir : levelDirs) { - AZ::StringFunc::Path::StripComponent(dir, true); - AZStd::string searchPattern = dir + AZ_FILESYSTEM_SEPARATOR_WILDCARD; bool modFolder = false; - PopulateLevels(searchPattern, dir, gEnv->pCryPak, modFolder, false); + PopulateLevels((levelDir / "*").Native(), levelDir.Native(), AZ::Interface::Get(), modFolder, false); } }); m_levelPackOpenHandler.Connect(*levelPakOpenEvent); } - if (AZ::IO::IArchive::LevelPackCloseEvent* levelPakCloseEvent = pPak->GetLevelPackCloseEvent()) + if (AZ::IO::IArchive::LevelPackCloseEvent* levelPakCloseEvent = archive->GetLevelPackCloseEvent()) { m_levelPackCloseHandler = AZ::IO::IArchive::LevelPackCloseEvent::Handler([this](AZStd::string_view) { @@ -288,7 +286,7 @@ void CLevelSystem::ScanFolder(const char* subfolder, bool modFolder) AZStd::unordered_set pakList; - AZ::IO::ArchiveFileIterator handle = pPak->FindFirst(search.c_str(), AZ::IO::IArchive::eFileSearchType_AllowOnDiskOnly); + AZ::IO::ArchiveFileIterator handle = pPak->FindFirst(search.c_str(), AZ::IO::FileSearchLocation::OnDisk); if (handle) { @@ -335,86 +333,85 @@ void CLevelSystem::ScanFolder(const char* subfolder, bool modFolder) } void CLevelSystem::PopulateLevels( - AZStd::string searchPattern, AZStd::string& folder, AZ::IO::IArchive* pPak, bool& modFolder, bool fromFileSystemOnly) + AZStd::string searchPattern, const AZStd::string& folder, AZ::IO::IArchive* pPak, bool& modFolder, bool fromFileSystemOnly) { + // allow this find first to actually touch the file system + // (causes small overhead but with minimal amount of levels this should only be around 150ms on actual DVD Emu) + AZ::IO::ArchiveFileIterator handle = pPak->FindFirst(searchPattern.c_str(), + fromFileSystemOnly ? AZ::IO::FileSearchLocation::OnDisk : AZ::IO::FileSearchLocation::InPak); + + if (handle) { - // allow this find first to actually touch the file system - // (causes small overhead but with minimal amount of levels this should only be around 150ms on actual DVD Emu) - AZ::IO::ArchiveFileIterator handle = pPak->FindFirst(searchPattern.c_str(), AZ::IO::IArchive::eFileSearchType_AllowOnDiskOnly); - - if (handle) + do { - do + if ((handle.m_fileDesc.nAttrib & AZ::IO::FileDesc::Attribute::Subdirectory) != AZ::IO::FileDesc::Attribute::Subdirectory || + handle.m_filename == "." || handle.m_filename == "..") { - if ((handle.m_fileDesc.nAttrib & AZ::IO::FileDesc::Attribute::Subdirectory) != AZ::IO::FileDesc::Attribute::Subdirectory || - handle.m_filename == "." || handle.m_filename == "..") - { - continue; - } + continue; + } - AZStd::string levelFolder; - if (fromFileSystemOnly) - { - levelFolder = - (folder.empty() ? "" : (folder + "/")) + AZStd::string(handle.m_filename.data(), handle.m_filename.size()); - } - else - { - AZStd::string levelName(AZ::IO::PathView(handle.m_filename).Filename().Native()); - levelFolder = (folder.empty() ? "" : (folder + "/")) + levelName; - } + AZStd::string levelFolder; + if (fromFileSystemOnly) + { + levelFolder = + (folder.empty() ? "" : (folder + "/")) + AZStd::string(handle.m_filename.data(), handle.m_filename.size()); + } + else + { + AZStd::string levelName(AZ::IO::PathView(handle.m_filename).Filename().Native()); + levelFolder = (folder.empty() ? "" : (folder + "/")) + levelName; + } - AZStd::string levelPath; - if (AZ::StringFunc::StartsWith(levelFolder.c_str(), m_levelsFolder.c_str())) + AZStd::string levelPath; + if (AZ::StringFunc::StartsWith(levelFolder.c_str(), m_levelsFolder.c_str())) + { + levelPath = levelFolder; + } + else + { + levelPath = m_levelsFolder + "/" + levelFolder; + } + + const AZStd::string levelPakName = levelPath + "/" + LevelPakName; + const AZStd::string levelInfoName = levelPath + "/levelinfo.xml"; + + if (!pPak->IsFileExist( + levelPakName.c_str(), + fromFileSystemOnly ? AZ::IO::FileSearchLocation::OnDisk : AZ::IO::FileSearchLocation::InPak) && + !pPak->IsFileExist( + levelInfoName.c_str(), + fromFileSystemOnly ? AZ::IO::FileSearchLocation::OnDisk : AZ::IO::FileSearchLocation::InPak)) + { + ScanFolder(levelFolder.c_str(), modFolder); + continue; + } + + // With the level.pak workflow, levelPath and levelName will point to a directory. + // levelPath: levels/mylevel + // levelName: mylevel + CLevelInfo levelInfo; + levelInfo.m_levelPath = levelPath; + levelInfo.m_levelName = levelFolder; + levelInfo.m_isPak = !fromFileSystemOnly; + + CLevelInfo* pExistingInfo = GetLevelInfoInternal(levelInfo.m_levelName); + + // Don't add the level if it is already in the list + if (pExistingInfo == NULL) + { + m_levelInfos.push_back(levelInfo); + } + else + { + // Levels in bundles take priority over levels outside bundles. + if (!pExistingInfo->m_isPak && levelInfo.m_isPak) { - levelPath = levelFolder; - } - else - { - levelPath = m_levelsFolder + "/" + levelFolder; + *pExistingInfo = levelInfo; } + } + } while (handle = pPak->FindNext(handle)); - const AZStd::string levelPakName = levelPath + "/" + LevelPakName; - const AZStd::string levelInfoName = levelPath + "/levelinfo.xml"; - - if (!pPak->IsFileExist( - levelPakName.c_str(), - fromFileSystemOnly ? AZ::IO::IArchive::eFileLocation_OnDisk : AZ::IO::IArchive::eFileLocation_InPak) && - !pPak->IsFileExist( - levelInfoName.c_str(), - fromFileSystemOnly ? AZ::IO::IArchive::eFileLocation_OnDisk : AZ::IO::IArchive::eFileLocation_InPak)) - { - ScanFolder(levelFolder.c_str(), modFolder); - continue; - } - - // With the level.pak workflow, levelPath and levelName will point to a directory. - // levelPath: levels/mylevel - // levelName: mylevel - CLevelInfo levelInfo; - levelInfo.m_levelPath = levelPath; - levelInfo.m_levelName = levelFolder; - levelInfo.m_isPak = !fromFileSystemOnly; - - CLevelInfo* pExistingInfo = GetLevelInfoInternal(levelInfo.m_levelName); - - // Don't add the level if it is already in the list - if (pExistingInfo == NULL) - { - m_levelInfos.push_back(levelInfo); - } - else - { - // Levels in bundles take priority over levels outside bundles. - if (!pExistingInfo->m_isPak && levelInfo.m_isPak) - { - *pExistingInfo = levelInfo; - } - } - } while (handle = pPak->FindNext(handle)); - - pPak->FindClose(handle); - } + pPak->FindClose(handle); } } @@ -893,7 +890,7 @@ void CLevelSystem::UnloadLevel() m_bLevelLoaded = false; - const AZ::TimeMs unloadTimeMs = AZ::GetRealElapsedTimeMs() - beginTimeMs; + [[maybe_unused]] const AZ::TimeMs unloadTimeMs = AZ::GetRealElapsedTimeMs() - beginTimeMs; CryLog("UnloadLevel End: %.1f sec", AZ::TimeMsToSeconds(unloadTimeMs)); // Must be sent last. diff --git a/Code/Legacy/CrySystem/LevelSystem/LevelSystem.h b/Code/Legacy/CrySystem/LevelSystem/LevelSystem.h index b857d20d15..d0a39f30b0 100644 --- a/Code/Legacy/CrySystem/LevelSystem/LevelSystem.h +++ b/Code/Legacy/CrySystem/LevelSystem/LevelSystem.h @@ -116,7 +116,7 @@ private: void ScanFolder(const char* subfolder, bool modFolder); void PopulateLevels( - AZStd::string searchPattern, AZStd::string& folder, AZ::IO::IArchive* pPak, bool& modFolder, bool fromFileSystemOnly); + AZStd::string searchPattern, const AZStd::string& folder, AZ::IO::IArchive* pPak, bool& modFolder, bool fromFileSystemOnly); void PrepareNextLevel(const char* levelName); ILevel* LoadLevelInternal(const char* _levelName); diff --git a/Code/Legacy/CrySystem/LevelSystem/SpawnableLevelSystem.cpp b/Code/Legacy/CrySystem/LevelSystem/SpawnableLevelSystem.cpp index a965b7f1c9..b91c8f2ca9 100644 --- a/Code/Legacy/CrySystem/LevelSystem/SpawnableLevelSystem.cpp +++ b/Code/Legacy/CrySystem/LevelSystem/SpawnableLevelSystem.cpp @@ -566,7 +566,7 @@ namespace LegacyLevelSystem m_bLevelLoaded = false; - const AZ::TimeMs unloadTimeMs = AZ::GetRealElapsedTimeMs() - beginTimeMs; + [[maybe_unused]] const AZ::TimeMs unloadTimeMs = AZ::GetRealElapsedTimeMs() - beginTimeMs; AZ_TracePrintf("LevelSystem", "UnloadLevel End: %.1f sec\n", AZ::TimeMsToSeconds(unloadTimeMs)); // Must be sent last. diff --git a/Code/Legacy/CrySystem/SystemInit.cpp b/Code/Legacy/CrySystem/SystemInit.cpp index 5cb60f2cdf..c5039f57e9 100644 --- a/Code/Legacy/CrySystem/SystemInit.cpp +++ b/Code/Legacy/CrySystem/SystemInit.cpp @@ -170,14 +170,6 @@ void CryEngineSignalHandler(int signal) extern HMODULE gDLLHandle; #endif -namespace -{ -#if defined(AZ_PLATFORM_WINDOWS) - // on windows, we lock our cache using a lockfile. On other platforms this is not necessary since devices like ios, android, consoles cannot - // run more than one game process that uses the same folder anyway. - HANDLE g_cacheLock = INVALID_HANDLE_VALUE; -#endif -} //static int g_sysSpecChanged = false; @@ -339,9 +331,6 @@ bool CSystem::InitFileSystem() m_pUserCallback->OnInitProgress("Initializing File System..."); } - // get the DirectInstance FileIOBase which should be the AZ::LocalFileIO - m_env.pFileIO = AZ::IO::FileIOBase::GetDirectInstance(); - m_env.pCryPak = AZ::Interface::Get(); m_env.pFileIO = AZ::IO::FileIOBase::GetInstance(); AZ_Assert(m_env.pCryPak, "CryPak has not been initialized on AZ::Interface"); @@ -365,33 +354,6 @@ bool CSystem::InitFileSystem() void CSystem::ShutdownFileSystem() { -#if defined(AZ_PLATFORM_WINDOWS) - if (g_cacheLock != INVALID_HANDLE_VALUE) - { - CloseHandle(g_cacheLock); - g_cacheLock = INVALID_HANDLE_VALUE; - } -#endif - - using namespace AZ::IO; - - FileIOBase* directInstance = FileIOBase::GetDirectInstance(); - FileIOBase* pakInstance = FileIOBase::GetInstance(); - - if (directInstance == m_env.pFileIO) - { - // we only mess with file io if we own the instance that we installed. - // if we dont' own the instance, then we never configured fileIO and we should not alter it. - delete directInstance; - FileIOBase::SetDirectInstance(nullptr); - - if (pakInstance != directInstance) - { - delete pakInstance; - FileIOBase::SetInstance(nullptr); - } - } - m_env.pFileIO = nullptr; } diff --git a/Code/Tools/AssetBundler/CMakeLists.txt b/Code/Tools/AssetBundler/CMakeLists.txt index dcc62595c9..28245b67ba 100644 --- a/Code/Tools/AssetBundler/CMakeLists.txt +++ b/Code/Tools/AssetBundler/CMakeLists.txt @@ -77,6 +77,10 @@ ly_add_target( ${additional_dependencies} ) +if(LY_DEFAULT_PROJECT_PATH) + set_property(TARGET AssetBundler AssetBundlerBatch APPEND PROPERTY VS_DEBUGGER_COMMAND_ARGUMENTS "--project-path=\"${LY_DEFAULT_PROJECT_PATH}\"") +endif() + # Adds a specialized .setreg to identify gems enabled in the active project. # This associates the AssetBundler target with the .Builders gem variants. ly_set_gem_variant_to_load(TARGETS AssetBundler VARIANTS Builders) diff --git a/Code/Tools/AssetProcessor/AssetBuilderSDK/AssetBuilderSDK/AssetBuilderSDK.cpp b/Code/Tools/AssetProcessor/AssetBuilderSDK/AssetBuilderSDK/AssetBuilderSDK.cpp index f9b5d6aef7..b5323dd419 100644 --- a/Code/Tools/AssetProcessor/AssetBuilderSDK/AssetBuilderSDK/AssetBuilderSDK.cpp +++ b/Code/Tools/AssetProcessor/AssetBuilderSDK/AssetBuilderSDK/AssetBuilderSDK.cpp @@ -23,6 +23,8 @@ #include ////////////////////////////////////////////////////////////////////////// +#include + namespace AssetBuilderSDK { const char* const ErrorWindow = "Error"; //Use this window name to log error messages. @@ -1599,4 +1601,70 @@ namespace AssetBuilderSDK { return m_errorsOccurred; } + + AZ::u64 GetHashFromIOStream(AZ::IO::GenericStream& readStream, AZ::IO::SizeType* bytesReadOut, int hashMsDelay) + { + constexpr AZ::u64 HashBufferSize = 1024 * 64; + char buffer[HashBufferSize]; + + if(readStream.IsOpen() && readStream.CanRead()) + { + AZ::IO::SizeType bytesRead; + + auto* state = XXH64_createState(); + + if(state == nullptr) + { + AZ_Assert(false, "Failed to create hash state"); + return 0; + } + + if (XXH64_reset(state, 0) == XXH_ERROR) + { + AZ_Assert(false, "Failed to reset hash state"); + return 0; + } + + do + { + // In edge cases where another process is writing to this file while this hashing is occuring and that file wasn't locked, + // the following read check can fail because it performs an end of file check, and asserts and shuts down if the read size + // was smaller than the buffer and the read is not at the end of the file. The logic used to check end of file internal to read + // will be out of date in the edge cases where another process is actively writing to this file while this hash is running. + // The stream's length ends up more accurate in this case, preventing this assert and shut down. + // One area this occurs is the navigation mesh file (mnmnavmission0.bai) that's temporarily created when exporting a level, + // the navigation system can still be writing to this file when hashing begins, causing the EoF marker to change. + AZ::IO::SizeType remainingToRead = AZStd::min(readStream.GetLength() - readStream.GetCurPos(), aznumeric_cast(AZ_ARRAY_SIZE(buffer))); + bytesRead = readStream.Read(remainingToRead, buffer); + + if(bytesReadOut) + { + *bytesReadOut += bytesRead; + } + + XXH64_update(state, buffer, bytesRead); + + // Used by unit tests to force the race condition mentioned above, to verify the crash fix. + if(hashMsDelay > 0) + { + AZStd::this_thread::sleep_for(AZStd::chrono::milliseconds(hashMsDelay)); + } + + } while (bytesRead > 0); + + auto hash = XXH64_digest(state); + + XXH64_freeState(state); + + return hash; + } + return 0; + } + + AZ::u64 GetFileHash(const char* filePath, AZ::IO::SizeType* bytesReadOut, int hashMsDelay) + { + constexpr bool ErrorOnReadFailure = true; + AZ::IO::FileIOStream readStream(filePath, AZ::IO::OpenMode::ModeRead | AZ::IO::OpenMode::ModeBinary, ErrorOnReadFailure); + return GetHashFromIOStream(readStream, bytesReadOut, hashMsDelay); + } } diff --git a/Code/Tools/AssetProcessor/AssetBuilderSDK/AssetBuilderSDK/AssetBuilderSDK.h b/Code/Tools/AssetProcessor/AssetBuilderSDK/AssetBuilderSDK/AssetBuilderSDK.h index 5a57fa1e72..f977e15be9 100644 --- a/Code/Tools/AssetProcessor/AssetBuilderSDK/AssetBuilderSDK/AssetBuilderSDK.h +++ b/Code/Tools/AssetProcessor/AssetBuilderSDK/AssetBuilderSDK/AssetBuilderSDK.h @@ -911,6 +911,19 @@ namespace AssetBuilderSDK //! There can be multiple builders running at once, so we need to filter out ones coming from other builders AZStd::thread_id m_jobThreadId; }; + + //! Get hash for a whole file + //! @filePath the path for the file + //! @bytesReadOut output the read file size in bytes + //! @hashMsDelay [Do not use except for unit test] add a delay in ms for between each block reading. + AZ::u64 GetFileHash(const char* filePath, AZ::IO::SizeType* bytesReadOut = nullptr, int hashMsDelay = 0); + + //! Get hash for a generic IO stream + //! @readStream the input readable stream + //! @bytesReadOut output the read size in bytes + //! @hashMsDelay [Do not use except for unit test] add a delay in ms for between each block reading. + AZ::u64 GetHashFromIOStream(AZ::IO::GenericStream& readStream, AZ::IO::SizeType* bytesReadOut = nullptr, int hashMsDelay = 0); + } // namespace AssetBuilderSDK namespace AZ diff --git a/Code/Tools/AssetProcessor/AssetBuilderSDK/CMakeLists.txt b/Code/Tools/AssetProcessor/AssetBuilderSDK/CMakeLists.txt index 635cd55f6c..bfbcc35663 100644 --- a/Code/Tools/AssetProcessor/AssetBuilderSDK/CMakeLists.txt +++ b/Code/Tools/AssetProcessor/AssetBuilderSDK/CMakeLists.txt @@ -32,6 +32,7 @@ ly_add_target( PUBLIC AZ::AzFramework AZ::AzToolsFramework + 3rdParty::xxhash ) ly_add_source_properties( SOURCES AssetBuilderSDK/AssetBuilderSDK.cpp diff --git a/Code/Tools/AssetProcessor/Platform/Linux/native/FileWatcher/FileWatcher_linux.cpp b/Code/Tools/AssetProcessor/Platform/Linux/native/FileWatcher/FileWatcher_linux.cpp index 2d3e671999..b7f7affd6d 100644 --- a/Code/Tools/AssetProcessor/Platform/Linux/native/FileWatcher/FileWatcher_linux.cpp +++ b/Code/Tools/AssetProcessor/Platform/Linux/native/FileWatcher/FileWatcher_linux.cpp @@ -32,7 +32,8 @@ struct FolderRootWatch::PlatformImplementation { if (m_iNotifyHandle < 0) { - m_iNotifyHandle = inotify_init(); + // The CLOEXEC flag prevents the inotify watchers from copying on fork/exec + m_iNotifyHandle = inotify_init1(IN_CLOEXEC); } return (m_iNotifyHandle >= 0); } diff --git a/Code/Tools/AssetProcessor/assetprocessor_static_files.cmake b/Code/Tools/AssetProcessor/assetprocessor_static_files.cmake index 0c1347517f..aa1d85d433 100644 --- a/Code/Tools/AssetProcessor/assetprocessor_static_files.cmake +++ b/Code/Tools/AssetProcessor/assetprocessor_static_files.cmake @@ -29,6 +29,9 @@ set(FILES native/AssetManager/SourceFileRelocator.h native/AssetManager/ControlRequestHandler.cpp native/AssetManager/ControlRequestHandler.h + native/AssetManager/ExcludedFolderCache.cpp + native/AssetManager/ExcludedFolderCache.h + native/AssetManager/ExcludedFolderCacheInterface.h native/assetprocessor.h native/connection/connection.cpp native/connection/connection.h @@ -102,6 +105,8 @@ set(FILES native/utilities/PlatformConfiguration.cpp native/utilities/PlatformConfiguration.h native/utilities/PotentialDependencies.h + native/utilities/StatsCapture.cpp + native/utilities/StatsCapture.h native/utilities/SpecializedDependencyScanner.h native/utilities/ThreadHelper.cpp native/utilities/ThreadHelper.h diff --git a/Code/Tools/AssetProcessor/assetprocessor_test_files.cmake b/Code/Tools/AssetProcessor/assetprocessor_test_files.cmake index 6aebc8bc25..3a336ce97b 100644 --- a/Code/Tools/AssetProcessor/assetprocessor_test_files.cmake +++ b/Code/Tools/AssetProcessor/assetprocessor_test_files.cmake @@ -36,6 +36,7 @@ set(FILES native/tests/platformconfiguration/platformconfigurationtests.h native/tests/utilities/JobModelTest.cpp native/tests/utilities/JobModelTest.h + native/tests/utilities/StatsCaptureTest.cpp native/tests/AssetCatalog/AssetCatalogUnitTests.cpp native/tests/assetscanner/AssetScannerTests.h native/tests/assetscanner/AssetScannerTests.cpp diff --git a/Code/Tools/AssetProcessor/native/AssetManager/ExcludedFolderCache.cpp b/Code/Tools/AssetProcessor/native/AssetManager/ExcludedFolderCache.cpp new file mode 100644 index 0000000000..2c8dc844dd --- /dev/null +++ b/Code/Tools/AssetProcessor/native/AssetManager/ExcludedFolderCache.cpp @@ -0,0 +1,154 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include +#include +#include +#include +#include +#include + +namespace AssetProcessor +{ + ExcludedFolderCache::ExcludedFolderCache(const PlatformConfiguration* platformConfig) : m_platformConfig(platformConfig) + { + AZ::Interface::Register(this); + } + + ExcludedFolderCache::~ExcludedFolderCache() + { + AZ::Interface::Unregister(this); + } + + const AZStd::unordered_set& ExcludedFolderCache::GetExcludedFolders() + { + if (!m_builtCache) + { + for (int i = 0; i < m_platformConfig->GetScanFolderCount(); ++i) + { + const auto& scanFolderInfo = m_platformConfig->GetScanFolderAt(i); + QDir rooted(scanFolderInfo.ScanPath()); + QString absolutePath = rooted.absolutePath(); + AZStd::stack dirs; + dirs.push(absolutePath); + + while (!dirs.empty()) + { + absolutePath = dirs.top(); + dirs.pop(); + + // Scan only folders, do not recurse so we have the chance to ignore a subfolder before going deeper + QDirIterator dirIterator(absolutePath, QDir::Dirs | QDir::NoSymLinks | QDir::NoDotAndDotDot); + + // Loop all the folders in this directory + while (dirIterator.hasNext()) + { + dirIterator.next(); + QString pathMatch = rooted.absoluteFilePath(dirIterator.filePath()); + + if (m_platformConfig->IsFileExcluded(pathMatch)) + { + // Add the folder to the list and do not proceed any deeper + m_excludedFolders.emplace(pathMatch.toUtf8().constData()); + } + else if (scanFolderInfo.RecurseSubFolders()) + { + // Folder is not excluded and recurse is enabled, add to the list of folders to check + dirs.push(pathMatch); + } + } + } + } + + // Add the cache to the list as well + AZStd::string projectCacheRootValue; + AZ::SettingsRegistry::Get()->Get(projectCacheRootValue, AZ::SettingsRegistryMergeUtils::FilePathKey_CacheProjectRootFolder); + projectCacheRootValue = AssetUtilities::NormalizeFilePath(projectCacheRootValue.c_str()).toUtf8().constData(); + m_excludedFolders.emplace(projectCacheRootValue); + + // Register to be notified about deletes so we can remove old ignored folders + auto fileStateCache = AZ::Interface::Get(); + + if (fileStateCache) + { + m_handler = AZ::Event::Handler([this](FileStateInfo fileInfo) + { + if (fileInfo.m_isDirectory) + { + AZStd::scoped_lock lock(m_pendingNewFolderMutex); + + m_pendingDeletes.emplace(fileInfo.m_absolutePath.toUtf8().constData()); + } + }); + + fileStateCache->RegisterForDeleteEvent(m_handler); + } + else + { + AZ_Error("ExcludedFolderCache", false, "Failed to find IFileStateRequests interface"); + } + + m_builtCache = true; + } + + // Incorporate any pending folders + AZStd::unordered_set pendingAdds; + AZStd::unordered_set pendingDeletes; + + { + AZStd::scoped_lock lock(m_pendingNewFolderMutex); + pendingAdds.swap(m_pendingNewFolders); + pendingDeletes.swap(m_pendingDeletes); + } + + if (!pendingAdds.empty()) + { + m_excludedFolders.insert(pendingAdds.begin(), pendingAdds.end()); + } + + if (!pendingDeletes.empty()) + { + for (const auto& pendingDelete : pendingDeletes) + { + m_excludedFolders.erase(pendingDelete); + } + } + + return m_excludedFolders; + } + + void ExcludedFolderCache::FileAdded(QString path) + { + QString relativePath, scanFolderPath; + + if (!m_platformConfig->ConvertToRelativePath(path, relativePath, scanFolderPath)) + { + AZ_Error("ExcludedFolderCache", false, "Failed to get relative path for newly added file %s", path.toUtf8().constData()); + return; + } + + AZ::IO::Path azPath(relativePath.toUtf8().constData()); + AZ::IO::Path absolutePath(scanFolderPath.toUtf8().constData()); + + for (const auto& pathPart : azPath) + { + absolutePath /= pathPart; + + QString normalized = AssetUtilities::NormalizeFilePath(absolutePath.c_str()); + + if (m_platformConfig->IsFileExcluded(normalized)) + { + // Add the folder to a pending list, since this callback runs on another thread + AZStd::scoped_lock lock(m_pendingNewFolderMutex); + + m_pendingNewFolders.emplace(normalized.toUtf8().constData()); + break; + } + } + } +} diff --git a/Code/Tools/AssetProcessor/native/AssetManager/ExcludedFolderCache.h b/Code/Tools/AssetProcessor/native/AssetManager/ExcludedFolderCache.h new file mode 100644 index 0000000000..b0c70946b6 --- /dev/null +++ b/Code/Tools/AssetProcessor/native/AssetManager/ExcludedFolderCache.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#pragma once + +#include +#include + +namespace AssetProcessor +{ + class PlatformConfiguration; + + struct ExcludedFolderCache : ExcludedFolderCacheInterface + { + explicit ExcludedFolderCache(const PlatformConfiguration* platformConfig); + ~ExcludedFolderCache() override; + + // Gets a set of absolute paths to folder which have been excluded according to the platform configuration rules + // Note - not thread safe + const AZStd::unordered_set& GetExcludedFolders() override; + + void FileAdded(QString path) override; + + private: + bool m_builtCache = false; + const PlatformConfiguration* m_platformConfig{}; + AZStd::unordered_set m_excludedFolders; + + AZStd::recursive_mutex m_pendingNewFolderMutex; + AZStd::unordered_set m_pendingNewFolders; // Newly ignored folders waiting to be added to m_excludedFolders + AZStd::unordered_set m_pendingDeletes; + AZ::Event::Handler m_handler; + }; +} diff --git a/Code/Tools/AssetProcessor/native/AssetManager/ExcludedFolderCacheInterface.h b/Code/Tools/AssetProcessor/native/AssetManager/ExcludedFolderCacheInterface.h new file mode 100644 index 0000000000..1bdc4cc855 --- /dev/null +++ b/Code/Tools/AssetProcessor/native/AssetManager/ExcludedFolderCacheInterface.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#pragma once + +#include +#include + +namespace AssetProcessor +{ + class PlatformConfiguration; + + struct ExcludedFolderCacheInterface + { + AZ_RTTI(ExcludedFolderCacheInterface, "{3AC471B6-C9F8-49CF-9E9D-237BDF63328C}"); + AZ_DISABLE_COPY_MOVE(ExcludedFolderCacheInterface); + + ExcludedFolderCacheInterface() = default; + virtual ~ExcludedFolderCacheInterface() = default; + + virtual const AZStd::unordered_set& GetExcludedFolders() = 0; + virtual void FileAdded(QString path) = 0; + }; +} diff --git a/Code/Tools/AssetProcessor/native/AssetManager/FileStateCache.cpp b/Code/Tools/AssetProcessor/native/AssetManager/FileStateCache.cpp index d21aca35f5..e49d1bbb47 100644 --- a/Code/Tools/AssetProcessor/native/AssetManager/FileStateCache.cpp +++ b/Code/Tools/AssetProcessor/native/AssetManager/FileStateCache.cpp @@ -63,6 +63,11 @@ namespace AssetProcessor return true; } + void FileStateCache::RegisterForDeleteEvent(AZ::Event::Handler& handler) + { + handler.Connect(m_deleteEvent); + } + void FileStateCache::AddInfoSet(QSet infoSet) { LockGuardType scopeLock(m_mapMutex); @@ -103,6 +108,8 @@ namespace AssetProcessor if (itr != m_fileInfoMap.end()) { + m_deleteEvent.Signal(itr.value()); + bool isDirectory = itr.value().m_isDirectory; QString parentPath = itr.value().m_absolutePath; m_fileInfoMap.erase(itr); @@ -205,6 +212,21 @@ namespace AssetProcessor return true; } + void FileStatePassthrough::RegisterForDeleteEvent(AZ::Event::Handler& handler) + { + handler.Connect(m_deleteEvent); + } + + void FileStatePassthrough::SignalDeleteEvent(const QString& absolutePath) const + { + FileStateInfo info; + + if (GetFileInfo(absolutePath, &info)) + { + m_deleteEvent.Signal(info); + } + } + bool FileStateInfo::operator==(const FileStateInfo& rhs) const { return m_absolutePath == rhs.m_absolutePath diff --git a/Code/Tools/AssetProcessor/native/AssetManager/FileStateCache.h b/Code/Tools/AssetProcessor/native/AssetManager/FileStateCache.h index ba663aef0e..56ec03aa7d 100644 --- a/Code/Tools/AssetProcessor/native/AssetManager/FileStateCache.h +++ b/Code/Tools/AssetProcessor/native/AssetManager/FileStateCache.h @@ -14,6 +14,7 @@ #include #include #include +#include namespace AssetProcessor { @@ -51,10 +52,11 @@ namespace AssetProcessor /// Convenience function to check if a file or directory exists. virtual bool Exists(const QString& absolutePath) const = 0; virtual bool GetHash(const QString& absolutePath, FileHash* foundHash) = 0; + virtual void RegisterForDeleteEvent(AZ::Event::Handler& handler) = 0; AZ_DISABLE_COPY_MOVE(IFileStateRequests); }; - + class FileStateBase : public IFileStateRequests { @@ -89,11 +91,11 @@ namespace AssetProcessor { public: - // FileStateRequestBus implementation bool GetFileInfo(const QString& absolutePath, FileStateInfo* foundFileInfo) const override; bool Exists(const QString& absolutePath) const override; bool GetHash(const QString& absolutePath, FileHash* foundHash) override; + void RegisterForDeleteEvent(AZ::Event::Handler& handler) override; void AddInfoSet(QSet infoSet) override; void AddFile(const QString& absolutePath) override; @@ -116,9 +118,11 @@ namespace AssetProcessor mutable AZStd::recursive_mutex m_mapMutex; QHash m_fileInfoMap; - + QHash m_fileHashMap; + AZ::Event m_deleteEvent; + using LockGuardType = AZStd::lock_guard; }; @@ -131,5 +135,10 @@ namespace AssetProcessor bool GetFileInfo(const QString& absolutePath, FileStateInfo* foundFileInfo) const override; bool Exists(const QString& absolutePath) const override; bool GetHash(const QString& absolutePath, FileHash* foundHash) override; + void RegisterForDeleteEvent(AZ::Event::Handler& handler) override; + + void SignalDeleteEvent(const QString& absolutePath) const; + protected: + AZ::Event m_deleteEvent; }; } // namespace AssetProcessor diff --git a/Code/Tools/AssetProcessor/native/AssetManager/assetProcessorManager.cpp b/Code/Tools/AssetProcessor/native/AssetManager/assetProcessorManager.cpp index 367a296bd4..de0f919a14 100644 --- a/Code/Tools/AssetProcessor/native/AssetManager/assetProcessorManager.cpp +++ b/Code/Tools/AssetProcessor/native/AssetManager/assetProcessorManager.cpp @@ -18,13 +18,14 @@ #include - #include "native/AssetManager/assetProcessorManager.h" + #include #include #include #include +#include #include "AssetRequestHandler.h" @@ -66,8 +67,10 @@ namespace AssetProcessor m_sourceFileRelocator = AZStd::make_unique(m_stateData, m_platformConfig); - PopulateJobStateCache(); + m_excludedFolderCache = AZStd::make_unique(m_platformConfig); + PopulateJobStateCache(); + AssetProcessor::ProcessingJobInfoBus::Handler::BusConnect(); } @@ -121,6 +124,9 @@ namespace AssetProcessor { if (status == AssetProcessor::AssetScanningStatus::Started) { + // capture scanning stats: + AssetProcessor::StatsCapture::BeginCaptureStat("AssetScanning"); + // Ensure that the source file list is populated before a scan begins m_sourceFilesInDatabase.clear(); m_fileModTimes.clear(); @@ -174,6 +180,8 @@ namespace AssetProcessor (status == AssetProcessor::AssetScanningStatus::Stopped)) { m_isCurrentlyScanning = false; + AssetProcessor::StatsCapture::EndCaptureStat("AssetScanning"); + // we cannot invoke this immediately - the scanner might be done, but we aren't actually ready until we've processed all remaining messages: QMetaObject::invokeMethod(this, "CheckMissingFiles", Qt::QueuedConnection); } @@ -207,13 +215,24 @@ namespace AssetProcessor } else { + QString statKey = QString("ProcessJob,%1,%2,%3").arg(jobEntry.m_databaseSourceName).arg(jobEntry.m_jobKey).arg(jobEntry.m_platformInfo.m_identifier.c_str()); + if (status == JobStatus::InProgress) { //update to in progress status m_jobRunKeyToJobInfoMap[jobEntry.m_jobRunKey].m_status = JobStatus::InProgress; + // stats tracking. Start accumulating time. + AssetProcessor::StatsCapture::BeginCaptureStat(statKey.toUtf8().constData()); + } else //if failed or succeeded remove from the map { + // note that sometimes this gets called twice, once by the RCJobs thread and once by the AP itself, + // because sometimes jobs take a short cut from "started" -> "failed" or "started" -> "complete + // without going thru the RC. + // as such, all the code in this block should be crafted to work regardless of whether its double called. + AssetProcessor::StatsCapture::EndCaptureStat(statKey.toUtf8().constData()); + m_jobRunKeyToJobInfoMap.erase(jobEntry.m_jobRunKey); Q_EMIT SourceFinished(sourceUUID, legacySourceUUID); Q_EMIT JobComplete(jobEntry, status); @@ -3353,8 +3372,13 @@ namespace AssetProcessor AZStd::string logFileName = AssetUtilities::ComputeJobLogFileName(createJobsRequest); { AssetUtilities::JobLogTraceListener jobLogTraceListener(logFileName, runKey, true); + // track the time it takes to createJobs. We can perform analysis later to present it by extension and other stats. + QString statKey = QString("CreateJobs,%1,%2").arg(actualRelativePath).arg(builderInfo.m_name.c_str()); + AssetProcessor::StatsCapture::BeginCaptureStat(statKey.toUtf8().constData()); builderInfo.m_createJobFunction(createJobsRequest, createJobsResponse); + AssetProcessor::StatsCapture::EndCaptureStat(statKey.toUtf8().constData()); } + AssetProcessor::SetThreadLocalJobId(0); bool isBuilderMissingFingerprint = (createJobsResponse.m_result == AssetBuilderSDK::CreateJobsResultCode::Success @@ -3573,6 +3597,8 @@ namespace AssetProcessor QString knownPathBeforeWildcard = encodedFileData.left(slashBeforeWildcardIndex + 1); // include the slash QString relativeSearch = encodedFileData.mid(slashBeforeWildcardIndex + 1); // skip the slash + const auto& excludedFolders = m_excludedFolderCache->GetExcludedFolders(); + // Absolute path, just check the 1 scan folder if (AZ::IO::PathView(encodedFileData.toUtf8().constData()).IsAbsolute()) { @@ -3592,7 +3618,8 @@ namespace AssetProcessor QString scanFolderAndKnownSubPath = rooted.absoluteFilePath(knownPathBeforeWildcard); resolvedDependencyList.append(m_platformConfig->FindWildcardMatches( - scanFolderAndKnownSubPath, relativeSearch, false, scanFolderInfo->RecurseSubFolders())); + scanFolderAndKnownSubPath, relativeSearch, + excludedFolders, false, scanFolderInfo->RecurseSubFolders())); } } else // Relative path, check every scan folder @@ -3610,7 +3637,21 @@ namespace AssetProcessor QString absolutePath = rooted.absoluteFilePath(knownPathBeforeWildcard); resolvedDependencyList.append(m_platformConfig->FindWildcardMatches( - absolutePath, relativeSearch, false, scanFolderInfo->RecurseSubFolders())); + absolutePath, relativeSearch, + excludedFolders, false, scanFolderInfo->RecurseSubFolders())); + } + } + + // Filter out any excluded files + for (auto itr = resolvedDependencyList.begin(); itr != resolvedDependencyList.end();) + { + if (m_platformConfig->IsFileExcluded(*itr)) + { + itr = resolvedDependencyList.erase(itr); + } + else + { + ++itr; } } @@ -4820,5 +4861,7 @@ namespace AssetProcessor } return filesFound; } + + } // namespace AssetProcessor diff --git a/Code/Tools/AssetProcessor/native/AssetManager/assetProcessorManager.h b/Code/Tools/AssetProcessor/native/AssetManager/assetProcessorManager.h index 891e091f91..fe77396760 100644 --- a/Code/Tools/AssetProcessor/native/AssetManager/assetProcessorManager.h +++ b/Code/Tools/AssetProcessor/native/AssetManager/assetProcessorManager.h @@ -40,6 +40,8 @@ #include "AssetRequestHandler.h" #include "native/utilities/JobDiagnosticTracker.h" #include "SourceFileRelocator.h" + +#include #endif class FileWatcher; @@ -341,7 +343,8 @@ namespace AssetProcessor void CleanEmptyFolder(QString folder, QString root); void ProcessBuilders(QString normalizedPath, QString relativePathToFile, const ScanFolderInfo* scanFolder, const AssetProcessor::BuilderInfoList& builderInfoList); - + AZStd::vector GetExcludedFolders(); + struct SourceInfo { QString m_watchFolder; @@ -552,6 +555,8 @@ namespace AssetProcessor // when true, a flag will be sent to builders process job indicating debug output/mode should be used bool m_builderDebugFlag = false; + AZStd::unique_ptr m_excludedFolderCache{}; + protected Q_SLOTS: void FinishAnalysis(AZStd::string fileToCheck); ////////////////////////////////////////////////////////// diff --git a/Code/Tools/AssetProcessor/native/tests/AssetProcessorTest.h b/Code/Tools/AssetProcessor/native/tests/AssetProcessorTest.h index 8f26155fd3..fcfd831d0b 100644 --- a/Code/Tools/AssetProcessor/native/tests/AssetProcessorTest.h +++ b/Code/Tools/AssetProcessor/native/tests/AssetProcessorTest.h @@ -26,7 +26,7 @@ namespace AssetProcessor { protected: AZStd::unique_ptr m_errorAbsorber{}; - FileStatePassthrough m_fileStateCache; + AZStd::unique_ptr m_fileStateCache{}; void SetUp() override { @@ -40,9 +40,10 @@ namespace AssetProcessor m_ownsSysAllocator = true; AZ::AllocatorInstance::Create(); } - m_errorAbsorber = AZStd::make_unique(); + m_errorAbsorber = AZStd::make_unique(); m_application = AZStd::make_unique(); + m_fileStateCache = AZStd::make_unique(); // Inject the AutomatedTesting project as a project path into test fixture using FixedValueString = AZ::SettingsRegistryInterface::FixedValueString; @@ -60,7 +61,8 @@ namespace AssetProcessor void TearDown() override { AssetUtilities::ResetAssetRoot(); - + + m_fileStateCache.reset(); m_application.reset(); m_errorAbsorber.reset(); diff --git a/Code/Tools/AssetProcessor/native/tests/assetmanager/AssetProcessorManagerTest.cpp b/Code/Tools/AssetProcessor/native/tests/assetmanager/AssetProcessorManagerTest.cpp index 93344caf6e..58f76f8da6 100644 --- a/Code/Tools/AssetProcessor/native/tests/assetmanager/AssetProcessorManagerTest.cpp +++ b/Code/Tools/AssetProcessor/native/tests/assetmanager/AssetProcessorManagerTest.cpp @@ -5364,13 +5364,29 @@ AZStd::vector WildcardSourceDependencyTest::FileAddedTest(const Q void WildcardSourceDependencyTest::SetUp() { AssetProcessorManagerTest::SetUp(); - + QDir tempPath(m_tempDir.path()); // Add a non-recursive scan folder. Only files directly inside of this folder should be picked up, subfolders are ignored m_config->AddScanFolder(ScanFolderInfo(tempPath.filePath("no_recurse"), "no_recurse", "no_recurse", false, false, m_config->GetEnabledPlatforms(), 1)); + { + ExcludeAssetRecognizer excludeFolder; + excludeFolder.m_name = "Exclude ignored Folder"; + excludeFolder.m_patternMatcher = + AssetBuilderSDK::FilePatternMatcher(R"REGEX(^(.*\/)?ignored(\/.*)?$)REGEX", AssetBuilderSDK::AssetBuilderPattern::Regex); + m_config->AddExcludeRecognizer(excludeFolder); + } + + { + ExcludeAssetRecognizer excludeFile; + excludeFile.m_name = "Exclude z.foo Files"; + excludeFile.m_patternMatcher = + AssetBuilderSDK::FilePatternMatcher(R"REGEX(^(.*\/)?z\.foo$)REGEX", AssetBuilderSDK::AssetBuilderPattern::Regex); + m_config->AddExcludeRecognizer(excludeFile); + } + UnitTestUtils::CreateDummyFile(tempPath.absoluteFilePath("subfolder1/1a.foo")); UnitTestUtils::CreateDummyFile(tempPath.absoluteFilePath("subfolder1/1b.foo")); UnitTestUtils::CreateDummyFile(tempPath.absoluteFilePath("subfolder2/redirected/a.foo")); @@ -5384,6 +5400,19 @@ void WildcardSourceDependencyTest::SetUp() // Add a file in the non-recursive scanfolder. Since its not directly in the scan folder, it should always be ignored UnitTestUtils::CreateDummyFile(tempPath.absoluteFilePath("no_recurse/one/two/three/f.foo")); + // Add a file to an ignored folder + UnitTestUtils::CreateDummyFile(tempPath.absoluteFilePath("subfolder2/redirected/folder/ignored/g.foo")); + + // Add an ignored file + UnitTestUtils::CreateDummyFile(tempPath.absoluteFilePath("subfolder2/redirected/folder/one/z.foo")); + + // Add a file in the cache + AZStd::string projectCacheRootValue; + AZ::SettingsRegistry::Get()->Get(projectCacheRootValue, AZ::SettingsRegistryMergeUtils::FilePathKey_CacheProjectRootFolder); + projectCacheRootValue = AssetUtilities::NormalizeFilePath(projectCacheRootValue.c_str()).toUtf8().constData(); + auto path = AZ::IO::Path(projectCacheRootValue) / "cache.foo"; + UnitTestUtils::CreateDummyFile(path.c_str()); + AzToolsFramework::AssetDatabase::SourceFileDependencyEntryContainer dependencies; // Relative path wildcard dependency @@ -5518,6 +5547,102 @@ TEST_F(WildcardSourceDependencyTest, Absolute_NoWildcard) ASSERT_THAT(resolvedPaths, ::testing::UnorderedElementsAre()); } +TEST_F(WildcardSourceDependencyTest, Relative_IgnoredFolder) +{ + AZStd::vector resolvedPaths; + + ASSERT_TRUE(Test("*g.foo", resolvedPaths)); + ASSERT_THAT(resolvedPaths, ::testing::UnorderedElementsAre()); +} + +TEST_F(WildcardSourceDependencyTest, Absolute_IgnoredFolder) +{ + AZStd::vector resolvedPaths; + QDir tempPath(m_tempDir.path()); + + ASSERT_TRUE(Test(tempPath.absoluteFilePath("*g.foo").toUtf8().constData(), resolvedPaths)); + ASSERT_THAT(resolvedPaths, ::testing::UnorderedElementsAre()); +} + +TEST_F(WildcardSourceDependencyTest, Relative_IgnoredFile) +{ + AZStd::vector resolvedPaths; + + ASSERT_TRUE(Test("*z.foo", resolvedPaths)); + ASSERT_THAT(resolvedPaths, ::testing::UnorderedElementsAre()); +} + +TEST_F(WildcardSourceDependencyTest, Absolute_IgnoredFile) +{ + AZStd::vector resolvedPaths; + QDir tempPath(m_tempDir.path()); + + ASSERT_TRUE(Test(tempPath.absoluteFilePath("*z.foo").toUtf8().constData(), resolvedPaths)); + ASSERT_THAT(resolvedPaths, ::testing::UnorderedElementsAre()); +} + +TEST_F(WildcardSourceDependencyTest, Relative_CacheFolder) +{ + AZStd::vector resolvedPaths; + QDir tempPath(m_tempDir.path()); + + ASSERT_TRUE(Test("*cache.foo", resolvedPaths)); + ASSERT_THAT(resolvedPaths, ::testing::UnorderedElementsAre()); +} + +TEST_F(WildcardSourceDependencyTest, FilesAddedAfterInitialCache) +{ + AZStd::vector resolvedPaths; + QDir tempPath(m_tempDir.path()); + + auto excludedFolderCacheInterface = AZ::Interface::Get(); + + ASSERT_TRUE(excludedFolderCacheInterface); + + { + const auto& excludedFolders = excludedFolderCacheInterface->GetExcludedFolders(); + + ASSERT_EQ(excludedFolders.size(), 2); + } + + // Add a file to a new ignored folder + QString newFilePath = tempPath.absoluteFilePath("subfolder2/redirected/folder/two/ignored/three/new.foo"); + UnitTestUtils::CreateDummyFile(newFilePath); + + excludedFolderCacheInterface->FileAdded(newFilePath); + + const auto& excludedFolders = excludedFolderCacheInterface->GetExcludedFolders(); + + ASSERT_EQ(excludedFolders.size(), 3); + ASSERT_THAT(excludedFolders, ::testing::Contains(AZStd::string(tempPath.absoluteFilePath("subfolder2/redirected/folder/two/ignored").toUtf8().constData()))); +} + +TEST_F(WildcardSourceDependencyTest, FilesRemovedAfterInitialCache) +{ + AZStd::vector resolvedPaths; + QDir tempPath(m_tempDir.path()); + + // Add a file to a new ignored folder + QString newFilePath = tempPath.absoluteFilePath("subfolder2/redirected/folder/two/ignored/three/new.foo"); + UnitTestUtils::CreateDummyFile(newFilePath); + + auto excludedFolderCacheInterface = AZ::Interface::Get(); + + ASSERT_TRUE(excludedFolderCacheInterface); + + { + const auto& excludedFolders = excludedFolderCacheInterface->GetExcludedFolders(); + + ASSERT_EQ(excludedFolders.size(), 3); + } + + m_fileStateCache->SignalDeleteEvent(tempPath.absoluteFilePath("subfolder2/redirected/folder/two/ignored")); + + const auto& excludedFolders = excludedFolderCacheInterface->GetExcludedFolders(); + + ASSERT_EQ(excludedFolders.size(), 2); +} + TEST_F(WildcardSourceDependencyTest, NewFile_MatchesSavedRelativeDependency) { QDir tempPath(m_tempDir.path()); diff --git a/Code/Tools/AssetProcessor/native/tests/utilities/StatsCaptureTest.cpp b/Code/Tools/AssetProcessor/native/tests/utilities/StatsCaptureTest.cpp new file mode 100644 index 0000000000..ed7177e841 --- /dev/null +++ b/Code/Tools/AssetProcessor/native/tests/utilities/StatsCaptureTest.cpp @@ -0,0 +1,200 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include +#include +#include +#include +#include +#include +#include + +// the simple stats capture system has a trivial interface and only writes to printf. +// So the simplest tests we can do is make sure it only asserts when it should +// and doesn't assert in cases when it shouldn't, and that the stats are reasonable +// in printf format. + +namespace AssetProcessor +{ +// Its okay to talk to this system when unintialized, you can gain some perf +// by not intializing it at all +TEST_F(AssetProcessorTest, StatsCaptureTest_UninitializedSystemDoesNotAssert) +{ + AssetProcessor::StatsCapture::BeginCaptureStat("Test"); + AssetProcessor::StatsCapture::EndCaptureStat("Test"); + AssetProcessor::StatsCapture::Dump(); + AssetProcessor::StatsCapture::Shutdown(); +} + +// Double-intiailize is an error +TEST_F(AssetProcessorTest, StatsCaptureTest_DoubleInitializeIsAnAssert) +{ + m_errorAbsorber->Clear(); + + AssetProcessor::StatsCapture::Initialize(); + AssetProcessor::StatsCapture::Initialize(); + + EXPECT_EQ(m_errorAbsorber->m_numErrorsAbsorbed, 0); + EXPECT_EQ(m_errorAbsorber->m_numAssertsAbsorbed, 1); // not allowed to assert on this + + AssetProcessor::StatsCapture::BeginCaptureStat("Test"); + AssetProcessor::StatsCapture::Shutdown(); +} + +class StatsCaptureOutputTest : public AssetProcessorTest, public AZ::Debug::TraceMessageBus::Handler +{ +public: + void SetUp() override + { + AssetProcessorTest::SetUp(); + AssetProcessor::StatsCapture::Initialize(); + } + + // dump but also capture the dump as a vector of lines: + void Dump() + { + AZ::Debug::TraceMessageBus::Handler::BusConnect(); + AssetProcessor::StatsCapture::Dump(); + AZ::Debug::TraceMessageBus::Handler::BusDisconnect(); + } + + virtual bool OnPrintf(const char* /*window*/, const char* message) + { + m_gatheredMessages.emplace_back(message); + AZ::StringFunc::TrimWhiteSpace(m_gatheredMessages.back(), true, true); + return false; + } + + void TearDown() override + { + m_gatheredMessages = {}; + + AssetProcessor::StatsCapture::Shutdown(); + AssetProcessorTest::TearDown(); + } + + AZStd::vector m_gatheredMessages; +}; + +// turning off machine and human readable mode, should not dump anything. +TEST_F(StatsCaptureOutputTest, StatsCaptureTest_DisabledByRegset_DumpsNothing) +{ + auto registry = AZ::SettingsRegistry::Get(); + ASSERT_NE(registry, nullptr); + registry->Set("/Amazon/AssetProcessor/Settings/Stats/HumanReadable", false); + registry->Set("/Amazon/AssetProcessor/Settings/Stats/MachineReadable", false); + AssetProcessor::StatsCapture::BeginCaptureStat("Test"); + AssetProcessor::StatsCapture::EndCaptureStat("Test"); + Dump(); + EXPECT_EQ(m_gatheredMessages.size(), 0); +} + +// turning on Human Readable, turn off Machine Readable, should not output any machine readable stats. +TEST_F(StatsCaptureOutputTest, StatsCaptureTest_HumanReadableOnly_DumpsNoMachineReadable) +{ + auto registry = AZ::SettingsRegistry::Get(); + ASSERT_NE(registry, nullptr); + registry->Set("/Amazon/AssetProcessor/Settings/Stats/HumanReadable", true); + registry->Set("/Amazon/AssetProcessor/Settings/Stats/MachineReadable", false); + AssetProcessor::StatsCapture::BeginCaptureStat("Test"); + AssetProcessor::StatsCapture::EndCaptureStat("Test"); + Dump(); + EXPECT_GT(m_gatheredMessages.size(), 0); + for (const auto& message : m_gatheredMessages) + { + // we expect to see ZERO "Machine Readable" lines + EXPECT_FALSE(message.contains("MachineReadableStat:")) << "Found unexpected line in output: " << message.c_str(); + } +} + +// Turn on Machine Readable, Turn off Human Readable, ensure only Machine Readable stats emitted. +TEST_F(StatsCaptureOutputTest, StatsCaptureTest_MachineReadableOnly_DumpsNoHumanReadable) +{ + auto registry = AZ::SettingsRegistry::Get(); + ASSERT_NE(registry, nullptr); + registry->Set("/Amazon/AssetProcessor/Settings/Stats/HumanReadable", false); + registry->Set("/Amazon/AssetProcessor/Settings/Stats/MachineReadable", true); + AssetProcessor::StatsCapture::BeginCaptureStat("Test"); + AssetProcessor::StatsCapture::EndCaptureStat("Test"); + Dump(); + for (const auto& message : m_gatheredMessages) + { + // we expect to see ONLY "Machine Readable" lines + EXPECT_TRUE(message.contains("MachineReadableStat:")) << "Found unexpected line in output: " << message.c_str(); + } + EXPECT_GT(m_gatheredMessages.size(), 0); +} + + +// The interface for StatsCapture just captures and then dumps. +// For us to test this, we thus have to capture and parse the dump output. +TEST_F(StatsCaptureOutputTest, StatsCaptureTest_Sanity) +{ + auto registry = AZ::SettingsRegistry::Get(); + ASSERT_NE(registry, nullptr); + + // Make it output in "machine raadable" format so that it is simpler to parse. + registry->Set("/Amazon/AssetProcessor/Settings/Stats/HumanReadable", false); + registry->Set("/Amazon/AssetProcessor/Settings/Stats/MachineReadable", true); + AssetProcessor::StatsCapture::BeginCaptureStat("CreateJobs,foo,mybuilder"); + AssetProcessor::StatsCapture::EndCaptureStat("CreateJobs,foo,mybuilder"); + + // Intentionally not using sleeps in this test. It means that the + // captured duration will be likely 0 but its not worth it to slow down tests. + // If the durations end up 0 its going to be extremely noticable in day-to-day use. + AssetProcessor::StatsCapture::BeginCaptureStat("CreateJobs,foo,mybuilder"); + AssetProcessor::StatsCapture::EndCaptureStat("CreateJobs,foo,mybuilder"); + + // for the second stat, we'll double capture and double end, in order to test debounce + AssetProcessor::StatsCapture::BeginCaptureStat("CreateJobs,foo2,mybuilder"); + AssetProcessor::StatsCapture::BeginCaptureStat("CreateJobs,foo2,mybuilder"); + AssetProcessor::StatsCapture::EndCaptureStat("CreateJobs,foo2,mybuilder2"); + AssetProcessor::StatsCapture::EndCaptureStat("CreateJobs,foo2,mybuilder2"); + + m_gatheredMessages.clear(); + Dump(); + EXPECT_GT(m_gatheredMessages.size(), 0); + + // We'll parse the machine readable stat lines here and make sure that the following is true + // mybuilder appears + // mybuilder appears only once but count is 2 + bool foundFoo = false; + bool foundFoo2 = false; + + for (const auto& stat : m_gatheredMessages) + { + if (stat.contains("MachineReadableStat:")) + { + AZStd::vector tokens; + AZ::StringFunc::Tokenize(stat, tokens, ":", false, false); + ASSERT_EQ(tokens.size(), 5); // should be "MachineReadableStat:time:count:average:name) + const auto& countData = tokens[2]; + const auto& nameData = tokens[4]; + + if (AZ::StringFunc::Equal(nameData, "CreateJobs,foo,mybuilder")) + { + EXPECT_FALSE(foundFoo); // should only find one of these + foundFoo = true; + EXPECT_STREQ(countData.c_str(), "2"); + } + + if (AZ::StringFunc::Equal(nameData, "CreateJobs,foo2,mybuilder2")) + { + EXPECT_FALSE(foundFoo2); // should only find one of these + foundFoo2 = true; + EXPECT_STREQ(countData.c_str(), "1"); + } + } + } + + EXPECT_TRUE(foundFoo) << "The expected token CreateJobs,foo,mybuilder did not appear in the output."; + EXPECT_TRUE(foundFoo2) << "The expected CreateJobs.foo2.mybuilder2 did not appear in the output"; +} + +} + diff --git a/Code/Tools/AssetProcessor/native/utilities/ApplicationManager.cpp b/Code/Tools/AssetProcessor/native/utilities/ApplicationManager.cpp index a024ce6c7a..7a14f158d6 100644 --- a/Code/Tools/AssetProcessor/native/utilities/ApplicationManager.cpp +++ b/Code/Tools/AssetProcessor/native/utilities/ApplicationManager.cpp @@ -16,7 +16,8 @@ #include #include -#include "native/resourcecompiler/RCBuilder.h" +#include +#include #include #include @@ -200,6 +201,10 @@ ApplicationManager::~ApplicationManager() delete m_appDependencies[idx]; } + // end stats capture (dump and shutdown) + AssetProcessor::StatsCapture::Dump(); + AssetProcessor::StatsCapture::Shutdown(); + qInstallMessageHandler(nullptr); //deleting QCoreApplication/QApplication @@ -571,6 +576,8 @@ bool ApplicationManager::StartAZFramework() bool ApplicationManager::ActivateModules() { + AssetProcessor::StatsCapture::BeginCaptureStat("LoadingModules"); + // we load the editor xml for our modules since it contains the list of gems we need for tools to function (not just runtime) connect(&m_frameworkApp, &AssetProcessorAZApplication::AssetProcessorStatus, this, [this](AssetProcessor::AssetProcessorStatusEntry entry) @@ -587,6 +594,8 @@ bool ApplicationManager::ActivateModules() } m_frameworkApp.LoadDynamicModules(); + + AssetProcessor::StatsCapture::EndCaptureStat("LoadingModules"); return true; } @@ -618,6 +627,9 @@ ApplicationManager::BeforeRunStatus ApplicationManager::BeforeRun() return ApplicationManager::BeforeRunStatus::Status_Failure; } + // enable stats capture from this point on + AssetProcessor::StatsCapture::Initialize(); + return ApplicationManager::BeforeRunStatus::Status_Success; } diff --git a/Code/Tools/AssetProcessor/native/utilities/ApplicationManagerBase.cpp b/Code/Tools/AssetProcessor/native/utilities/ApplicationManagerBase.cpp index 4e0bc7e434..eb230ce336 100644 --- a/Code/Tools/AssetProcessor/native/utilities/ApplicationManagerBase.cpp +++ b/Code/Tools/AssetProcessor/native/utilities/ApplicationManagerBase.cpp @@ -454,6 +454,8 @@ void ApplicationManagerBase::InitFileMonitor() QObject::connect(newFolderWatch, &FolderWatchCallbackEx::fileModified, [this](QString path) { m_fileStateCache->UpdateFile(path); }); QObject::connect(newFolderWatch, &FolderWatchCallbackEx::fileRemoved, [this](QString path) { m_fileStateCache->RemoveFile(path); }); + QObject::connect(newFolderWatch, &FolderWatchCallbackEx::fileAdded, [](QString path) { AZ::Interface::Get()->FileAdded(path); }); + QObject::connect(newFolderWatch, &FolderWatchCallbackEx::fileAdded, m_fileProcessor.get(), &AssetProcessor::FileProcessor::AssessAddedFile); QObject::connect(newFolderWatch, &FolderWatchCallbackEx::fileRemoved, @@ -1171,6 +1173,7 @@ void ApplicationManagerBase::InitBuilderManager() { m_builderManager->ConnectionLost(connId); }); + } void ApplicationManagerBase::ShutdownBuilderManager() diff --git a/Code/Tools/AssetProcessor/native/utilities/PlatformConfiguration.cpp b/Code/Tools/AssetProcessor/native/utilities/PlatformConfiguration.cpp index bc516d5da6..7543e9ec8b 100644 --- a/Code/Tools/AssetProcessor/native/utilities/PlatformConfiguration.cpp +++ b/Code/Tools/AssetProcessor/native/utilities/PlatformConfiguration.cpp @@ -1285,6 +1285,13 @@ namespace AssetProcessor return m_scanFolders[index]; } + const AssetProcessor::ScanFolderInfo& PlatformConfiguration::GetScanFolderAt(int index) const + { + Q_ASSERT(index >= 0); + Q_ASSERT(index < m_scanFolders.size()); + return m_scanFolders[index]; + } + void PlatformConfiguration::AddScanFolder(const AssetProcessor::ScanFolderInfo& source, bool isUnitTesting) { if (isUnitTesting) @@ -1436,7 +1443,10 @@ namespace AssetProcessor } QStringList PlatformConfiguration::FindWildcardMatches( - const QString& sourceFolder, QString relativeName, bool includeFolders, bool recursiveSearch) const + const QString& sourceFolder, + QString relativeName, + bool includeFolders, + bool recursiveSearch) const { if (relativeName.isEmpty()) { @@ -1469,6 +1479,67 @@ namespace AssetProcessor return returnList; } + QStringList PlatformConfiguration::FindWildcardMatches( + const QString& sourceFolder, + QString relativeName, + const AZStd::unordered_set& excludedFolders, + bool includeFolders, + bool recursiveSearch) const + { + if (relativeName.isEmpty()) + { + return QStringList(); + } + + QDir sourceFolderDir(sourceFolder); + + QString posixRelativeName = QDir::fromNativeSeparators(relativeName); + + QStringList returnList; + QRegExp nameMatch{ posixRelativeName, Qt::CaseInsensitive, QRegExp::Wildcard }; + AZStd::stack dirs; + dirs.push(sourceFolderDir.absolutePath()); + + while (!dirs.empty()) + { + QString absolutePath = dirs.top(); + dirs.pop(); + + if (excludedFolders.contains(absolutePath.toUtf8().constData())) + { + continue; + } + + QDirIterator dirIterator(absolutePath, QDir::AllEntries | QDir::NoSymLinks | QDir::NoDotAndDotDot); + + while (dirIterator.hasNext()) + { + dirIterator.next(); + + if (!dirIterator.fileInfo().isFile()) + { + if (recursiveSearch) + { + dirs.push(dirIterator.filePath()); + } + + if (!includeFolders) + { + continue; + } + } + + QString pathMatch{ sourceFolderDir.relativeFilePath(dirIterator.filePath()) }; + if (nameMatch.exactMatch(pathMatch)) + { + returnList.append(QDir::fromNativeSeparators(dirIterator.filePath())); + } + } + } + + return returnList; + } + const AssetProcessor::ScanFolderInfo* PlatformConfiguration::GetScanFolderForFile(const QString& fullFileName) const { QString normalized = AssetUtilities::NormalizeFilePath(fullFileName); diff --git a/Code/Tools/AssetProcessor/native/utilities/PlatformConfiguration.h b/Code/Tools/AssetProcessor/native/utilities/PlatformConfiguration.h index 2c04ca1fad..a57416da10 100644 --- a/Code/Tools/AssetProcessor/native/utilities/PlatformConfiguration.h +++ b/Code/Tools/AssetProcessor/native/utilities/PlatformConfiguration.h @@ -256,6 +256,9 @@ namespace AssetProcessor //! Retrieve the scan folder at a given index. AssetProcessor::ScanFolderInfo& GetScanFolderAt(int index); + //! Retrieve the scan folder at a given index. + const AssetProcessor::ScanFolderInfo& GetScanFolderAt(int index) const; + //! Manually add a scan folder. Also used for testing. void AddScanFolder(const AssetProcessor::ScanFolderInfo& source, bool isUnitTesting = false); @@ -298,7 +301,16 @@ namespace AssetProcessor QString FindFirstMatchingFile(QString relativeName) const; //! given a relative name with wildcard characters (* allowed) find a set of matching files or optionally folders - QStringList FindWildcardMatches(const QString& sourceFolder, QString relativeName, bool includeFolders = false, bool recursiveSearch = true) const; + QStringList FindWildcardMatches(const QString& sourceFolder, QString relativeName, bool includeFolders = false, + bool recursiveSearch = true) const; + + //! given a relative name with wildcard characters (* allowed) find a set of matching files or optionally folders + QStringList FindWildcardMatches( + const QString& sourceFolder, + QString relativeName, + const AZStd::unordered_set& excludedFolders, + bool includeFolders = false, + bool recursiveSearch = true) const; //! given a fileName (as a full path), return the database source name which includes the output prefix. //! diff --git a/Code/Tools/AssetProcessor/native/utilities/StatsCapture.cpp b/Code/Tools/AssetProcessor/native/utilities/StatsCapture.cpp new file mode 100644 index 0000000000..1174e2500c --- /dev/null +++ b/Code/Tools/AssetProcessor/native/utilities/StatsCapture.cpp @@ -0,0 +1,394 @@ + /* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +namespace AssetProcessor +{ + namespace StatsCapture + { + // This class captures stats by storing them in a map of type + // [name of stat] -> Stat struct + // It can then analyze these stats and produce more stats from the original + // Captures, before dumping. + class StatsCaptureImpl final + { + public: + AZ_CLASS_ALLOCATOR(StatsCaptureImpl, AZ::SystemAllocator, 0); + + void BeginCaptureStat(AZStd::string_view statName); + void EndCaptureStat(AZStd::string_view statName); + void Dump(); + private: + using timepoint = AZStd::chrono::high_resolution_clock::time_point; + using duration = AZStd::chrono::milliseconds; + struct StatsEntry + { + duration m_cumulativeTime = {}; // The total amount of time spent on this. + timepoint m_operationStartTime = {}; // Async tracking - the last time stamp an operation started. + int64_t m_operationCount = 0; // In case there's more than one sample. Used to calc average. + }; + + AZStd::unordered_map m_stats; + bool m_dumpMachineReadableStats = false; + bool m_dumpHumanReadableStats = true; + + // Make a friendly time string of the format nnHnnMhhS.xxxms + AZStd::string FormatDuration(const duration& duration) + { + int64_t milliseconds = duration.count(); + constexpr int64_t millisecondsInASecond = 1000; + constexpr int64_t millisecondsInAMinute = millisecondsInASecond * 60; + constexpr int64_t millisecondsInAnHour = millisecondsInAMinute * 60; + + int64_t hours = milliseconds / millisecondsInAnHour; + milliseconds -= hours * millisecondsInAnHour; + + int64_t minutes = milliseconds / millisecondsInAMinute; + milliseconds -= minutes * millisecondsInAMinute; + + int64_t seconds = milliseconds / millisecondsInASecond; + milliseconds -= seconds * millisecondsInASecond; + + // omit the sections which dont make sense for readability + if (hours) + { + return AZStd::string::format("%02" PRId64 "h%02" PRId64 "m%02" PRId64 "s%03" PRId64 "ms" , hours, minutes, seconds, milliseconds); + } + else if (minutes) + { + return AZStd::string::format(" %02" PRId64 "m%02" PRId64 "s%03" PRId64 "ms", minutes, seconds, milliseconds); + } + else if (seconds) + { + return AZStd::string::format(" %02" PRId64 "s%03" PRId64 "ms", seconds, milliseconds); + } + + return AZStd::string::format(" %03" PRId64 "ms", milliseconds); + } + + // Prints out a single stat. + void PrintStat([[maybe_unused]] const char* name, duration milliseconds, int64_t count) + { + // note that name may be unused as it only appears in Trace macros, which are + // stripped out in release builds. + if (count <= 1) + { + count = 1; + } + + duration average(static_cast(static_cast(milliseconds.count()) / static_cast(count))); + + if (m_dumpHumanReadableStats) + { + if (count > 1) + { + AZ_TracePrintf(AssetProcessor::ConsoleChannel, " Time: %s, Count: %4" PRId64 ", Average: %s, EventName: %s\n", + FormatDuration(milliseconds).c_str(), + count, + FormatDuration(average).c_str(), + name); + } + else + { + AZ_TracePrintf(AssetProcessor::ConsoleChannel, " Time: %s, EventName: %s\n", + FormatDuration(milliseconds).c_str(), + name); + } + } + if (m_dumpMachineReadableStats) + { + // machine Readable mode prints raw milliseconds and uses a CSV-like format + // note that the stat itself may contain commas, so we dont acutally separate with comma + // instead we separate with : + // and each "interesting line" is 'MachineReadableStat:milliseconds:count:average:name' + AZ_TracePrintf(AssetProcessor::ConsoleChannel, "MachineReadableStat:%" PRId64 ":%" PRId64 ":%" PRId64 ":%s\n", + milliseconds.count(), + count, + count > 1 ? average.count() : milliseconds.count(), + name); + } + } + + // calls PrintStat on each element in the vector. + void PrintStatsArray(AZStd::vector& keys, int maxToPrint, const char* header) + { + if ((m_dumpHumanReadableStats)&&(header)) + { + AZ_TracePrintf(AssetProcessor::ConsoleChannel,"Top %i %s\n", maxToPrint, header); + } + + auto sortByTimeDescending = [&](const AZStd::string& s1, const AZStd::string& s2) + { + return this->m_stats[s1].m_cumulativeTime > this->m_stats[s2].m_cumulativeTime; + }; + + AZStd::sort(keys.begin(), keys.end(), sortByTimeDescending); + + for (int idx = 0; idx < maxToPrint; ++idx) + { + if (idx < keys.size()) + { + PrintStat(keys[idx].c_str(), m_stats[keys[idx]].m_cumulativeTime, m_stats[keys[idx]].m_operationCount); + } + } + } + }; + + + void StatsCaptureImpl::BeginCaptureStat(AZStd::string_view statName) + { + StatsEntry& existingStat = m_stats[statName]; + if (existingStat.m_operationStartTime != timepoint()) + { + // prevent double 'Begins' + return; + } + existingStat.m_operationStartTime = AZStd::chrono::high_resolution_clock::now(); + } + + void StatsCaptureImpl::EndCaptureStat(AZStd::string_view statName) + { + StatsEntry& existingStat = m_stats[statName]; + if (existingStat.m_operationStartTime != timepoint()) + { + existingStat.m_cumulativeTime = AZStd::chrono::high_resolution_clock::now() - existingStat.m_operationStartTime; + existingStat.m_operationCount = existingStat.m_operationCount + 1; + existingStat.m_operationStartTime = timepoint(); // reset the start time so that double 'Ends' are ignored. + } + } + + void StatsCaptureImpl::Dump() + { + timepoint startTimeStamp = AZStd::chrono::high_resolution_clock::now(); + + auto settingsRegistry = AZ::SettingsRegistry::Get(); + + int maxCumulativeStats = 5; // default max cumulative stats to show + int maxIndividualStats = 5; // default max individual files to show + + if (settingsRegistry) + { + AZ::u64 cumulativeStats = static_cast(maxCumulativeStats); + AZ::u64 individualStats = static_cast(maxIndividualStats); + settingsRegistry->Get(m_dumpHumanReadableStats, "/Amazon/AssetProcessor/Settings/Stats/HumanReadable"); + settingsRegistry->Get(m_dumpMachineReadableStats, "/Amazon/AssetProcessor/Settings/Stats/MachineReadable"); + settingsRegistry->Get(cumulativeStats, "/Amazon/AssetProcessor/Settings/Stats/MaxCumulativeStats"); + settingsRegistry->Get(individualStats, "/Amazon/AssetProcessor/Settings/Stats/MaxIndividualStats"); + maxCumulativeStats = static_cast(cumulativeStats); + maxIndividualStats = static_cast(individualStats); + } + + if ((!m_dumpHumanReadableStats)&&(!m_dumpMachineReadableStats)) + { + return; + } + + AZStd::vector allCreateJobs; // individual + AZStd::vector allCreateJobsByBuilder; // bucketed by builder + AZStd::vector allProcessJobs; // individual + AZStd::vector allProcessJobsByPlatform; // bucketed by platform + AZStd::vector allProcessJobsByJobKey; // bucketed by type of job (job key) + AZStd::vector allHashFiles; + + // capture only existing keys as we will be expanding the stats + // this approach avoids mutating an iterator. + AZStd::vector statKeys; + for (const auto& element : m_stats) + { + statKeys.push_back(element.first); + } + + for (const AZStd::string& statKey : statKeys) + { + const StatsEntry& statistic = m_stats[statKey]; + // Createjobs stats encode like (CreateJobs,sourcefilepath,builderid) + if (AZ::StringFunc::StartsWith(statKey, "CreateJobs,", true)) + { + allCreateJobs.push_back(statKey); + AZStd::vector tokens; + AZ::StringFunc::Tokenize(statKey, tokens, ",", false, false); + + // look up the builder so you can get its name: + AZStd::string_view builderName = tokens[2]; + + // synthesize a stat to track per-builder createjobs times: + { + AZStd::string newStatKey = AZStd::string::format("CreateJobsByBuilder,%.*s", AZ_STRING_ARG(builderName)); + + auto insertion = m_stats.insert(newStatKey); + StatsEntry& statToSynth = insertion.first->second; + statToSynth.m_cumulativeTime += statistic.m_cumulativeTime; + statToSynth.m_operationCount += statistic.m_operationCount; + if (insertion.second) + { + allCreateJobsByBuilder.push_back(newStatKey); + } + } + // synthesize a stat to track total createjobs times: + { + StatsEntry& statToSynth = m_stats["CreateJobsTotal"]; + statToSynth.m_cumulativeTime += statistic.m_cumulativeTime; + statToSynth.m_operationCount += statistic.m_operationCount; + } + } + else if (AZ::StringFunc::StartsWith(statKey, "ProcessJob,", true)) + { + allProcessJobs.push_back(statKey); + // processjob has the format ProcessJob,sourcename,jobkey,platformname + AZStd::vector tokens; + AZ::StringFunc::Tokenize(statKey, tokens, ",", false, false); + AZStd::string_view jobKey = tokens[2]; + AZStd::string_view platformName = tokens[3]; + + // synthesize a stat to record process time accumulated by job key platform + { + AZStd::string newStatKey = AZStd::string::format("ProcessJobsByPlatform,%.*s", AZ_STRING_ARG(platformName)); + auto insertion = m_stats.insert(newStatKey); + StatsEntry& statToSynth = insertion.first->second; + statToSynth.m_cumulativeTime += statistic.m_cumulativeTime; + statToSynth.m_operationCount += statistic.m_operationCount; + if (insertion.second) + { + allProcessJobsByPlatform.push_back(newStatKey); + } + } + + // synthesize a stat to record process time accumulated job key total across all platforms + { + AZStd::string newStatKey = AZStd::string::format("ProcessJobsByJobKey,%.*s", AZ_STRING_ARG(jobKey)); + auto insertion = m_stats.insert(newStatKey); + StatsEntry& statToSynth = insertion.first->second; + statToSynth.m_cumulativeTime += statistic.m_cumulativeTime; + statToSynth.m_operationCount += statistic.m_operationCount; + if (insertion.second) + { + allProcessJobsByJobKey.push_back(newStatKey); + } + } + // synthesize a stat to track total processjob times: + { + StatsEntry& statToSynth = m_stats["ProcessJobsTotal"]; + statToSynth.m_cumulativeTime += statistic.m_cumulativeTime; + statToSynth.m_operationCount += statistic.m_operationCount; + } + } + else if (AZ::StringFunc::StartsWith(statKey, "HashFile,", true)) + { + allHashFiles.push_back(statKey); + // processjob has the format ProcessJob,sourcename,jobkey,platformname + // synthesize a stat to track total hash times: + StatsEntry& statToSynth = m_stats["HashFileTotal"]; + statToSynth.m_cumulativeTime += statistic.m_cumulativeTime; + statToSynth.m_operationCount += statistic.m_operationCount; + } + } + + StatsEntry& gemLoadStat = m_stats["LoadingModules"]; + PrintStat("LoadingGems", gemLoadStat.m_cumulativeTime, 1); + // analysis-related stats + + StatsEntry& totalScanTime = m_stats["AssetScanning"]; + PrintStat("AssetScanning", totalScanTime.m_cumulativeTime, totalScanTime.m_operationCount); + StatsEntry& totalHashTime = m_stats["HashFileTotal"]; + PrintStat("HashFileTotal", totalHashTime.m_cumulativeTime, totalHashTime.m_operationCount); + PrintStatsArray(allHashFiles, maxIndividualStats, "longest individual file hashes:"); + + // CreateJobs stats + StatsEntry& totalCreateJobs = m_stats["CreateJobsTotal"]; + if (totalCreateJobs.m_operationCount) + { + PrintStat("CreateJobsTotal", totalCreateJobs.m_cumulativeTime, totalCreateJobs.m_operationCount); + PrintStatsArray(allCreateJobs, maxIndividualStats, "longest individual CreateJobs"); + PrintStatsArray(allCreateJobsByBuilder, maxCumulativeStats, "longest CreateJobs By builder"); + } + + // ProcessJobs stats + StatsEntry& totalProcessJobs = m_stats["ProcessJobsTotal"]; + if (totalProcessJobs.m_operationCount) + { + PrintStat("ProcessJobsTotal", totalProcessJobs.m_cumulativeTime, totalProcessJobs.m_operationCount); + PrintStatsArray(allProcessJobs, maxIndividualStats, "longest individual ProcessJob"); + PrintStatsArray(allProcessJobsByJobKey, maxCumulativeStats, "cumulative time spent in ProcessJob by JobKey"); + PrintStatsArray(allProcessJobsByPlatform, maxCumulativeStats, "cumulative time spent in ProcessJob by Platform"); + } + duration costToGenerateStats = AZStd::chrono::high_resolution_clock::now() - startTimeStamp; + PrintStat("ComputeStatsTime", costToGenerateStats, 1); + } + + // Public interface: + static StatsCaptureImpl* g_instance = nullptr; + + //! call this one time before capturing stats. + void Initialize() + { + if (g_instance) + { + AZ_Assert(false, "An instance of StatsCaptureImpl already exists."); + return; + } + g_instance = aznew StatsCaptureImpl(); + } + + //! Call this one time as part of shutting down. + //! note that while it is an error to double-initialize, it is intentionally + //! not an error to call any other function when uninitialized, allowing this system + //! to essentially be "turned off" just by not initializing it in the first place. + void Shutdown() + { + if (g_instance) + { + delete g_instance; + g_instance = nullptr; + } + } + + //! Start the clock running for a particular stat name. + void BeginCaptureStat(AZStd::string_view statName) + { + if (g_instance) + { + g_instance->BeginCaptureStat(statName); + } + } + + //! Stop the clock running for a particular stat name. + void EndCaptureStat(AZStd::string_view statName) + { + if (g_instance) + { + g_instance->EndCaptureStat(statName); + } + } + + //! Do additional processing and then write the cumulative stats to log. + //! Note that since this is an AP-specific system, the analysis done in the dump function + //! is going to make a lot of assumptions about the way the data is encoded. + void Dump() + { + if (g_instance) + { + g_instance->Dump(); + } + } + } +} diff --git a/Code/Tools/AssetProcessor/native/utilities/StatsCapture.h b/Code/Tools/AssetProcessor/native/utilities/StatsCapture.h new file mode 100644 index 0000000000..dd3c9abccf --- /dev/null +++ b/Code/Tools/AssetProcessor/native/utilities/StatsCapture.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +// This is an AssetProcessor-only stats capture system. Its kept out-of-band +// from the rest of the Asset Processor systems so that it can avoid interfering +// with the rest of the processing decision making and other parts of AssetProcessor. +// This is not meant to be used anywhere except in AssetProcessor. + +#pragma once + +#include + +namespace AssetProcessor +{ + namespace StatsCapture + { + //! call this one time before capturing stats. + void Initialize(); + + //! Call this one time as part of shutting down. + void Shutdown(); + + //! Start the clock running for a particular stat name. + void BeginCaptureStat(AZStd::string_view statName); + + //! Stop the clock running for a particular stat name. + void EndCaptureStat(AZStd::string_view statName); + + //! Do additional processing and then write the cumulative stats to log. + //! Note that since this is an AP-specific system, the analysis done in the dump function + //! is going to make a lot of assumptions about the way the data is encoded. + void Dump(); + } + +} diff --git a/Code/Tools/AssetProcessor/native/utilities/assetUtils.cpp b/Code/Tools/AssetProcessor/native/utilities/assetUtils.cpp index cacd6c4cc9..ae70ee7fe5 100644 --- a/Code/Tools/AssetProcessor/native/utilities/assetUtils.cpp +++ b/Code/Tools/AssetProcessor/native/utilities/assetUtils.cpp @@ -10,9 +10,10 @@ #include #include -#include "native/utilities/PlatformConfiguration.h" -#include "native/AssetManager/FileStateCache.h" -#include "native/AssetDatabase/AssetDatabase.h" +#include +#include +#include +#include #include #include #include @@ -1161,7 +1162,7 @@ namespace AssetUtilities { #ifndef AZ_TESTS_ENABLED // Only used for unit tests, speed is critical for GetFileHash. - AZ_UNUSED(hashMsDelay); + hashMsDelay = 0; #endif bool useFileHashing = ShouldUseFileHashing(); @@ -1170,10 +1171,10 @@ namespace AssetUtilities return 0; } + AZ::u64 hash = 0; if(!force) { auto* fileStateInterface = AZ::Interface::Get(); - AZ::u64 hash = 0; if (fileStateInterface && fileStateInterface->GetHash(filePath, &hash)) { @@ -1181,64 +1182,8 @@ namespace AssetUtilities } } - char buffer[FileHashBufferSize]; - - constexpr bool ErrorOnReadFailure = true; - AZ::IO::FileIOStream readStream(filePath, AZ::IO::OpenMode::ModeRead | AZ::IO::OpenMode::ModeBinary, ErrorOnReadFailure); - - if(readStream.IsOpen() && readStream.CanRead()) - { - AZ::IO::SizeType bytesRead; - - auto* state = XXH64_createState(); - - if(state == nullptr) - { - AZ_Assert(false, "Failed to create hash state"); - return 0; - } - - if (XXH64_reset(state, 0) == XXH_ERROR) - { - AZ_Assert(false, "Failed to reset hash state"); - return 0; - } - - do - { - // In edge cases where another process is writing to this file while this hashing is occuring and that file wasn't locked, - // the following read check can fail because it performs an end of file check, and asserts and shuts down if the read size - // was smaller than the buffer and the read is not at the end of the file. The logic used to check end of file internal to read - // will be out of date in the edge cases where another process is actively writing to this file while this hash is running. - // The stream's length ends up more accurate in this case, preventing this assert and shut down. - // One area this occurs is the navigation mesh file (mnmnavmission0.bai) that's temporarily created when exporting a level, - // the navigation system can still be writing to this file when hashing begins, causing the EoF marker to change. - AZ::IO::SizeType remainingToRead = AZStd::min(readStream.GetLength() - readStream.GetCurPos(), aznumeric_cast(AZ_ARRAY_SIZE(buffer))); - bytesRead = readStream.Read(remainingToRead, buffer); - - if(bytesReadOut) - { - *bytesReadOut += bytesRead; - } - - XXH64_update(state, buffer, bytesRead); -#ifdef AZ_TESTS_ENABLED - // Used by unit tests to force the race condition mentioned above, to verify the crash fix. - if(hashMsDelay > 0) - { - AZStd::this_thread::sleep_for(AZStd::chrono::milliseconds(hashMsDelay)); - } -#endif - - } while (bytesRead > 0); - - auto hash = XXH64_digest(state); - - XXH64_freeState(state); - - return hash; - } - return 0; + hash = AssetBuilderSDK::GetFileHash(filePath, bytesReadOut, hashMsDelay); + return hash; } AZ::u64 AdjustTimestamp(QDateTime timestamp) diff --git a/Code/Tools/AssetProcessor/native/utilities/assetUtils.h b/Code/Tools/AssetProcessor/native/utilities/assetUtils.h index 2145c3e0e6..46ec5d6145 100644 --- a/Code/Tools/AssetProcessor/native/utilities/assetUtils.h +++ b/Code/Tools/AssetProcessor/native/utilities/assetUtils.h @@ -238,7 +238,6 @@ namespace AssetUtilities // hashMsDelay is only for automated tests to test that writing to a file while it's hashing does not cause a crash. // hashMsDelay is not used in non-unit test builds. AZ::u64 GetFileHash(const char* filePath, bool force = false, AZ::IO::SizeType* bytesReadOut = nullptr, int hashMsDelay = 0); - inline constexpr AZ::u64 FileHashBufferSize = 1024 * 64; //! Adjusts a timestamp to fix timezone settings and account for any precision adjustment needed AZ::u64 AdjustTimestamp(QDateTime timestamp); diff --git a/Code/Tools/ProjectManager/Resources/Backgrounds/DefaultBackground.jpg b/Code/Tools/ProjectManager/Resources/Backgrounds/DefaultBackground.jpg index 3af15393c4..0d2ec8a301 100644 --- a/Code/Tools/ProjectManager/Resources/Backgrounds/DefaultBackground.jpg +++ b/Code/Tools/ProjectManager/Resources/Backgrounds/DefaultBackground.jpg @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:342c3eaccf68a178dfd8c2b1792a93a8c9197c8184dca11bf90706d7481df087 -size 1611268 +oid sha256:e9ad0383f3b917fa7f4efa307a8e109a70bb5f66deb197189d013f60eb8dc32c +size 1010250 diff --git a/Code/Tools/ProjectManager/Resources/Backgrounds/FtueBackground.jpg b/Code/Tools/ProjectManager/Resources/Backgrounds/FtueBackground.jpg index 44291a8b1d..258dc62429 100644 --- a/Code/Tools/ProjectManager/Resources/Backgrounds/FtueBackground.jpg +++ b/Code/Tools/ProjectManager/Resources/Backgrounds/FtueBackground.jpg @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:797794816e4b1702f1ae1f32b408c95c79eb1f8a95aba43cfad9cccc181b0bda -size 1135182 +oid sha256:84aab95ec8a5e3ba6ecb3aff1a814afc3171a937aa658decd18c2740623bd172 +size 984146 diff --git a/Code/Tools/ProjectManager/Source/CreateProjectCtrl.cpp b/Code/Tools/ProjectManager/Source/CreateProjectCtrl.cpp index 6b19e839d7..205395c935 100644 --- a/Code/Tools/ProjectManager/Source/CreateProjectCtrl.cpp +++ b/Code/Tools/ProjectManager/Source/CreateProjectCtrl.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/Code/Tools/ProjectManager/Source/DownloadController.cpp b/Code/Tools/ProjectManager/Source/DownloadController.cpp index 06e51b5116..9b64c5e276 100644 --- a/Code/Tools/ProjectManager/Source/DownloadController.cpp +++ b/Code/Tools/ProjectManager/Source/DownloadController.cpp @@ -73,13 +73,25 @@ namespace O3DE::ProjectManager emit GemDownloadProgress(m_gemNames.front(), bytesDownloaded, totalBytes); } - void DownloadController::HandleResults(const QString& result) + void DownloadController::HandleResults(const QString& result, const QString& detailedError) { bool succeeded = true; if (!result.isEmpty()) { - QMessageBox::critical(nullptr, tr("Gem download"), result); + if (!detailedError.isEmpty()) + { + QMessageBox gemDownloadError; + gemDownloadError.setIcon(QMessageBox::Critical); + gemDownloadError.setWindowTitle(tr("Gem download")); + gemDownloadError.setText(result); + gemDownloadError.setDetailedText(detailedError); + gemDownloadError.exec(); + } + else + { + QMessageBox::critical(nullptr, tr("Gem download"), result); + } succeeded = false; } diff --git a/Code/Tools/ProjectManager/Source/DownloadController.h b/Code/Tools/ProjectManager/Source/DownloadController.h index 211d9b48bc..5e637971e9 100644 --- a/Code/Tools/ProjectManager/Source/DownloadController.h +++ b/Code/Tools/ProjectManager/Source/DownloadController.h @@ -54,7 +54,7 @@ namespace O3DE::ProjectManager } public slots: void UpdateUIProgress(int bytesDownloaded, int totalBytes); - void HandleResults(const QString& result); + void HandleResults(const QString& result, const QString& detailedError); signals: void StartGemDownload(const QString& gemName); diff --git a/Code/Tools/ProjectManager/Source/DownloadWorker.cpp b/Code/Tools/ProjectManager/Source/DownloadWorker.cpp index 560bfe05de..e58c41c89e 100644 --- a/Code/Tools/ProjectManager/Source/DownloadWorker.cpp +++ b/Code/Tools/ProjectManager/Source/DownloadWorker.cpp @@ -24,16 +24,16 @@ namespace O3DE::ProjectManager { emit UpdateProgress(bytesDownloaded, totalBytes); }; - AZ::Outcome gemInfoResult = + AZ::Outcome> gemInfoResult = PythonBindingsInterface::Get()->DownloadGem(m_gemName, gemDownloadProgress, /*force*/true); if (gemInfoResult.IsSuccess()) { - emit Done(""); + emit Done("", ""); } else { - emit Done(tr("Gem download failed")); + emit Done(gemInfoResult.GetError().first.c_str(), gemInfoResult.GetError().second.c_str()); } } diff --git a/Code/Tools/ProjectManager/Source/DownloadWorker.h b/Code/Tools/ProjectManager/Source/DownloadWorker.h index 4084080ff7..d33de7bacc 100644 --- a/Code/Tools/ProjectManager/Source/DownloadWorker.h +++ b/Code/Tools/ProjectManager/Source/DownloadWorker.h @@ -32,7 +32,7 @@ namespace O3DE::ProjectManager signals: void UpdateProgress(int bytesDownloaded, int totalBytes); - void Done(QString result = ""); + void Done(QString result = "", QString detailedResult = ""); private: diff --git a/Code/Tools/ProjectManager/Source/EngineScreenCtrl.cpp b/Code/Tools/ProjectManager/Source/EngineScreenCtrl.cpp index 9d9110922f..1f41acd3d1 100644 --- a/Code/Tools/ProjectManager/Source/EngineScreenCtrl.cpp +++ b/Code/Tools/ProjectManager/Source/EngineScreenCtrl.cpp @@ -72,12 +72,7 @@ namespace O3DE::ProjectManager bool EngineScreenCtrl::ContainsScreen(ProjectManagerScreen screen) { - if (screen == m_engineSettingsScreen->GetScreenEnum() || screen == m_gemRepoScreen->GetScreenEnum()) - { - return true; - } - - return false; + return screen == m_engineSettingsScreen->GetScreenEnum() || screen == m_gemRepoScreen->GetScreenEnum(); } void EngineScreenCtrl::NotifyCurrentScreen() diff --git a/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.cpp b/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.cpp index e676ba73d3..d6f4da0051 100644 --- a/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.cpp +++ b/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.cpp @@ -7,25 +7,32 @@ */ #include +#include + #include + #include #include #include #include #include -#include #include #include #include +#include +#include namespace O3DE::ProjectManager { - CartOverlayWidget::CartOverlayWidget(GemModel* gemModel, DownloadController* downloadController, QWidget* parent) - : QWidget(parent) + GemCartWidget::GemCartWidget(GemModel* gemModel, DownloadController* downloadController, QWidget* parent) + : QScrollArea(parent) , m_gemModel(gemModel) , m_downloadController(downloadController) { setObjectName("GemCatalogCart"); + setWidgetResizable(true); + setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); + setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded); m_layout = new QVBoxLayout(); m_layout->setSpacing(0); @@ -118,17 +125,15 @@ namespace O3DE::ProjectManager } return dependencies; }); - - setWindowFlags(Qt::FramelessWindowHint | Qt::Dialog); } - CartOverlayWidget::~CartOverlayWidget() + GemCartWidget::~GemCartWidget() { // disconnect from all download controller signals disconnect(m_downloadController, nullptr, this, nullptr); } - void CartOverlayWidget::CreateGemSection(const QString& singularTitle, const QString& pluralTitle, GetTagIndicesCallback getTagIndices) + void GemCartWidget::CreateGemSection(const QString& singularTitle, const QString& pluralTitle, GetTagIndicesCallback getTagIndices) { QWidget* widget = new QWidget(); widget->setFixedWidth(s_width); @@ -164,12 +169,12 @@ namespace O3DE::ProjectManager update(); } - void CartOverlayWidget::OnCancelDownloadActivated(const QString& gemName) + void GemCartWidget::OnCancelDownloadActivated(const QString& gemName) { m_downloadController->CancelGemDownload(gemName); } - void CartOverlayWidget::CreateDownloadSection() + void GemCartWidget::CreateDownloadSection() { m_downloadSectionWidget = new QWidget(); m_downloadSectionWidget->setFixedWidth(s_width); @@ -223,12 +228,12 @@ namespace O3DE::ProjectManager } // connect to download controller data changed - connect(m_downloadController, &DownloadController::GemDownloadAdded, this, &CartOverlayWidget::GemDownloadAdded); - connect(m_downloadController, &DownloadController::GemDownloadRemoved, this, &CartOverlayWidget::GemDownloadRemoved); - connect(m_downloadController, &DownloadController::GemDownloadProgress, this, &CartOverlayWidget::GemDownloadProgress); + connect(m_downloadController, &DownloadController::GemDownloadAdded, this, &GemCartWidget::GemDownloadAdded); + connect(m_downloadController, &DownloadController::GemDownloadRemoved, this, &GemCartWidget::GemDownloadRemoved); + connect(m_downloadController, &DownloadController::GemDownloadProgress, this, &GemCartWidget::GemDownloadProgress); } - void CartOverlayWidget::GemDownloadAdded(const QString& gemName) + void GemCartWidget::GemDownloadAdded(const QString& gemName) { // Containing widget for the current download item QWidget* newGemDownloadWidget = new QWidget(); @@ -246,7 +251,7 @@ namespace O3DE::ProjectManager nameProgressLayout->addStretch(); QLabel* cancelText = new QLabel(tr("Cancel").arg(gemName), newGemDownloadWidget); cancelText->setTextInteractionFlags(Qt::LinksAccessibleByMouse); - connect(cancelText, &QLabel::linkActivated, this, &CartOverlayWidget::OnCancelDownloadActivated); + connect(cancelText, &QLabel::linkActivated, this, &GemCartWidget::OnCancelDownloadActivated); nameProgressLayout->addWidget(cancelText); downloadingGemLayout->addLayout(nameProgressLayout); @@ -267,7 +272,7 @@ namespace O3DE::ProjectManager m_downloadingListWidget->show(); } - void CartOverlayWidget::GemDownloadRemoved(const QString& gemName) + void GemCartWidget::GemDownloadRemoved(const QString& gemName) { QWidget* gemToRemove = m_downloadingListWidget->findChild(gemName); if (gemToRemove) @@ -289,7 +294,7 @@ namespace O3DE::ProjectManager } } - void CartOverlayWidget::GemDownloadProgress(const QString& gemName, int bytesDownloaded, int totalBytes) + void GemCartWidget::GemDownloadProgress(const QString& gemName, int bytesDownloaded, int totalBytes) { QWidget* gemToUpdate = m_downloadingListWidget->findChild(gemName); if (gemToUpdate) @@ -324,7 +329,7 @@ namespace O3DE::ProjectManager } } - QVector CartOverlayWidget::GetTagsFromModelIndices(const QVector& gems) const + QVector GemCartWidget::GetTagsFromModelIndices(const QVector& gems) const { QVector tags; tags.reserve(gems.size()); @@ -349,7 +354,7 @@ namespace O3DE::ProjectManager iconButton->setFocusPolicy(Qt::NoFocus); iconButton->setIcon(QIcon(":/Summary.svg")); iconButton->setFixedSize(s_iconSize, s_iconSize); - connect(iconButton, &QPushButton::clicked, this, &CartButton::ShowOverlay); + connect(iconButton, &QPushButton::clicked, this, &CartButton::ShowGemCart); m_layout->addWidget(iconButton); m_countLabel = new QLabel(); @@ -362,7 +367,7 @@ namespace O3DE::ProjectManager m_dropDownButton->setFocusPolicy(Qt::NoFocus); m_dropDownButton->setIcon(QIcon(":/CarrotArrowDown.svg")); m_dropDownButton->setFixedSize(s_arrowDownIconSize, s_arrowDownIconSize); - connect(m_dropDownButton, &QPushButton::clicked, this, &CartButton::ShowOverlay); + connect(m_dropDownButton, &QPushButton::clicked, this, &CartButton::ShowGemCart); m_layout->addWidget(m_dropDownButton); // Adjust the label text whenever the model gets updated. @@ -377,28 +382,28 @@ namespace O3DE::ProjectManager m_dropDownButton->setVisible(!toBeAdded.isEmpty() || !toBeRemoved.isEmpty()); // Automatically close the overlay window in case there are no gems to be activated or deactivated anymore. - if (m_cartOverlay && toBeAdded.isEmpty() && toBeRemoved.isEmpty()) + if (m_gemCart && toBeAdded.isEmpty() && toBeRemoved.isEmpty()) { - m_cartOverlay->deleteLater(); - m_cartOverlay = nullptr; + m_gemCart->deleteLater(); + m_gemCart = nullptr; } }); } void CartButton::mousePressEvent([[maybe_unused]] QMouseEvent* event) { - ShowOverlay(); + ShowGemCart(); } void CartButton::hideEvent(QHideEvent*) { - if (m_cartOverlay) + if (m_gemCart) { - m_cartOverlay->hide(); + m_gemCart->hide(); } } - void CartButton::ShowOverlay() + void CartButton::ShowGemCart() { const QVector toBeAdded = m_gemModel->GatherGemsToBeAdded(/*includeDependencies=*/true); const QVector toBeRemoved = m_gemModel->GatherGemsToBeRemoved(/*includeDependencies=*/true); @@ -407,37 +412,33 @@ namespace O3DE::ProjectManager return; } - if (m_cartOverlay) + if (m_gemCart) { // Directly delete the former overlay before creating the new one. // Don't use deleteLater() here. This might overwrite the new overlay pointer // depending on the event queue. - delete m_cartOverlay; + delete m_gemCart; } - m_cartOverlay = new CartOverlayWidget(m_gemModel, m_downloadController, this); - connect(m_cartOverlay, &QWidget::destroyed, this, [=] + m_gemCart = new GemCartWidget(m_gemModel, m_downloadController, this); + connect(m_gemCart, &QWidget::destroyed, this, [=] { // Reset the overlay pointer on destruction to prevent dangling pointers. - m_cartOverlay = nullptr; + m_gemCart = nullptr; + // Tell header gem cart is no longer open + UpdateGemCart(nullptr); }); - m_cartOverlay->show(); + m_gemCart->show(); - const QPoint parentPos = m_dropDownButton->mapToParent(m_dropDownButton->pos()); - const QPoint globalPos = m_dropDownButton->mapToGlobal(m_dropDownButton->pos()); - const QPoint offset(-4, 10); - m_cartOverlay->setGeometry(globalPos.x() - parentPos.x() - m_cartOverlay->width() + width() + offset.x(), - globalPos.y() + offset.y(), - m_cartOverlay->width(), - m_cartOverlay->height()); + emit UpdateGemCart(m_gemCart); } CartButton::~CartButton() { // Make sure the overlay window is automatically closed in case the gem catalog is destroyed. - if (m_cartOverlay) + if (m_gemCart) { - m_cartOverlay->deleteLater(); + m_gemCart->deleteLater(); } } @@ -514,6 +515,17 @@ namespace O3DE::ProjectManager connect(m_downloadController, &DownloadController::GemDownloadAdded, this, &GemCatalogHeaderWidget::GemDownloadAdded); connect(m_downloadController, &DownloadController::GemDownloadRemoved, this, &GemCatalogHeaderWidget::GemDownloadRemoved); + + connect( + m_cartButton, &CartButton::UpdateGemCart, this, + [this](QWidget* gemCart) + { + GemCartShown(gemCart); + if (gemCart) + { + emit UpdateGemCart(gemCart); + } + }); } void GemCatalogHeaderWidget::GemDownloadAdded(const QString& /*gemName*/) @@ -521,7 +533,7 @@ namespace O3DE::ProjectManager m_downloadSpinner->show(); m_downloadLabel->show(); m_downloadSpinnerMovie->start(); - m_cartButton->ShowOverlay(); + m_cartButton->ShowGemCart(); } void GemCatalogHeaderWidget::GemDownloadRemoved(const QString& /*gemName*/) @@ -534,8 +546,44 @@ namespace O3DE::ProjectManager } } + void GemCatalogHeaderWidget::GemCartShown(bool state) + { + m_showGemCart = state; + repaint(); + } + void GemCatalogHeaderWidget::ReinitForProject() { m_filterLineEdit->setText({}); } + + void GemCatalogHeaderWidget::paintEvent([[maybe_unused]] QPaintEvent* event) + { + // Only show triangle when cart is shown + if (!m_showGemCart) + { + return; + } + + const QPoint buttonPos = m_cartButton->pos(); + const QSize buttonSize = m_cartButton->size(); + + // Draw isosceles triangle with top point touching bottom of cartButton + // Bottom aligned with header bottom and top of right panel + const QPoint topPoint(buttonPos.x() + buttonSize.width() / 2, buttonPos.y() + buttonSize.height()); + const QPoint bottomLeftPoint(topPoint.x() - 20, height()); + const QPoint bottomRightPoint(topPoint.x() + 20, height()); + + QPainterPath trianglePath; + trianglePath.moveTo(topPoint); + trianglePath.lineTo(bottomLeftPoint); + trianglePath.lineTo(bottomRightPoint); + trianglePath.lineTo(topPoint); + + QPainter painter(this); + painter.setRenderHint(QPainter::Antialiasing, true); + painter.setPen(Qt::NoPen); + painter.fillPath(trianglePath, QBrush(QColor("#555555"))); + } + } // namespace O3DE::ProjectManager diff --git a/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.h b/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.h index 5174fde57d..b749e9831d 100644 --- a/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.h +++ b/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.h @@ -14,8 +14,10 @@ #include #include #include -#include #include + +#include +#include #endif QT_FORWARD_DECLARE_CLASS(QPushButton) @@ -28,14 +30,14 @@ QT_FORWARD_DECLARE_CLASS(QMovie) namespace O3DE::ProjectManager { - class CartOverlayWidget - : public QWidget + class GemCartWidget + : public QScrollArea { Q_OBJECT // AUTOMOC public: - CartOverlayWidget(GemModel* gemModel, DownloadController* downloadController, QWidget* parent = nullptr); - ~CartOverlayWidget(); + GemCartWidget(GemModel* gemModel, DownloadController* downloadController, QWidget* parent = nullptr); + ~GemCartWidget(); public slots: void GemDownloadAdded(const QString& gemName); @@ -68,7 +70,10 @@ namespace O3DE::ProjectManager public: CartButton(GemModel* gemModel, DownloadController* downloadController, QWidget* parent = nullptr); ~CartButton(); - void ShowOverlay(); + void ShowGemCart(); + + signals: + void UpdateGemCart(QWidget* gemCart); private: void mousePressEvent(QMouseEvent* event) override; @@ -78,7 +83,7 @@ namespace O3DE::ProjectManager QHBoxLayout* m_layout = nullptr; QLabel* m_countLabel = nullptr; QPushButton* m_dropDownButton = nullptr; - CartOverlayWidget* m_cartOverlay = nullptr; + GemCartWidget* m_gemCart = nullptr; DownloadController* m_downloadController = nullptr; inline constexpr static int s_iconSize = 24; @@ -99,11 +104,16 @@ namespace O3DE::ProjectManager public slots: void GemDownloadAdded(const QString& gemName); void GemDownloadRemoved(const QString& gemName); + void GemCartShown(bool state = false); signals: void AddGem(); void OpenGemsRepo(); void RefreshGems(); + void UpdateGemCart(QWidget* gemCart); + + protected slots: + void paintEvent(QPaintEvent* event) override; private: AzQtComponents::SearchLineEdit* m_filterLineEdit = nullptr; @@ -113,5 +123,6 @@ namespace O3DE::ProjectManager QLabel* m_downloadLabel = nullptr; QMovie* m_downloadSpinnerMovie = nullptr; CartButton* m_cartButton = nullptr; + bool m_showGemCart = false; }; } // namespace O3DE::ProjectManager diff --git a/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.cpp b/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.cpp index 0dacbbb906..1d4f354fb5 100644 --- a/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.cpp +++ b/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.cpp @@ -8,6 +8,11 @@ #include #include +#include +#include +#include +#include +#include #include #include #include @@ -28,6 +33,7 @@ #include #include #include +#include namespace O3DE::ProjectManager { @@ -51,9 +57,12 @@ namespace O3DE::ProjectManager vLayout->addWidget(m_headerWidget); connect(m_gemModel, &GemModel::gemStatusChanged, this, &GemCatalogScreen::OnGemStatusChanged); + connect(m_gemModel, &GemModel::dependencyGemStatusChanged, this, &GemCatalogScreen::OnDependencyGemStatusChanged); + connect(m_gemModel->GetSelectionModel(), &QItemSelectionModel::selectionChanged, this, [this]{ ShowInspector(); }); connect(m_headerWidget, &GemCatalogHeaderWidget::RefreshGems, this, &GemCatalogScreen::Refresh); connect(m_headerWidget, &GemCatalogHeaderWidget::OpenGemsRepo, this, &GemCatalogScreen::HandleOpenGemRepo); connect(m_headerWidget, &GemCatalogHeaderWidget::AddGem, this, &GemCatalogScreen::OnAddGemClicked); + connect(m_headerWidget, &GemCatalogHeaderWidget::UpdateGemCart, this, &GemCatalogScreen::UpdateAndShowGemCart); connect(m_downloadController, &DownloadController::Done, this, &GemCatalogScreen::OnGemDownloadResult); QHBoxLayout* hLayout = new QHBoxLayout(); @@ -61,8 +70,11 @@ namespace O3DE::ProjectManager vLayout->addLayout(hLayout); m_gemListView = new GemListView(m_proxyModel, m_proxyModel->GetSelectionModel(), this); + + m_rightPanelStack = new QStackedWidget(this); + m_rightPanelStack->setFixedWidth(240); + m_gemInspector = new GemInspector(m_gemModel, this); - m_gemInspector->setFixedWidth(240); connect(m_gemInspector, &GemInspector::TagClicked, [=](const Tag& tag) { SelectGem(tag.id); }); connect(m_gemInspector, &GemInspector::UpdateGem, this, &GemCatalogScreen::UpdateGem); @@ -85,7 +97,9 @@ namespace O3DE::ProjectManager hLayout->addWidget(filterWidget); hLayout->addLayout(middleVLayout); - hLayout->addWidget(m_gemInspector); + + hLayout->addWidget(m_rightPanelStack); + m_rightPanelStack->addWidget(m_gemInspector); m_notificationsView = AZStd::make_unique(this, AZ_CRC("GemCatalogNotificationsView")); m_notificationsView->SetOffset(QPoint(10, 70)); @@ -188,7 +202,7 @@ namespace O3DE::ProjectManager } // add all the gem repos into the hash - const AZ::Outcome, AZStd::string>& allRepoGemInfosResult = PythonBindingsInterface::Get()->GetAllGemRepoGemsInfos(); + const AZ::Outcome, AZStd::string>& allRepoGemInfosResult = PythonBindingsInterface::Get()->GetGemInfosForAllRepos(); if (allRepoGemInfosResult.IsSuccess()) { const QVector& allRepoGemInfos = allRepoGemInfosResult.GetValue(); @@ -266,7 +280,8 @@ namespace O3DE::ProjectManager { notification += tr(" and "); } - if (added && GemModel::GetDownloadStatus(modelIndex) == GemInfo::DownloadStatus::NotDownloaded) + if (added && (GemModel::GetDownloadStatus(modelIndex) == GemInfo::DownloadStatus::NotDownloaded) || + (GemModel::GetDownloadStatus(modelIndex) == GemInfo::DownloadStatus::DownloadFailed)) { m_downloadController->AddGemDownload(GemModel::GetName(modelIndex)); GemModel::SetDownloadStatus(*m_gemModel, modelIndex, GemInfo::DownloadStatus::Downloading); @@ -291,6 +306,18 @@ namespace O3DE::ProjectManager } } + void GemCatalogScreen::OnDependencyGemStatusChanged(const QString& gemName) + { + QModelIndex modelIndex = m_gemModel->FindIndexByNameString(gemName); + bool added = GemModel::IsAddedDependency(modelIndex); + if (added && (GemModel::GetDownloadStatus(modelIndex) == GemInfo::DownloadStatus::NotDownloaded) || + (GemModel::GetDownloadStatus(modelIndex) == GemInfo::DownloadStatus::DownloadFailed)) + { + m_downloadController->AddGemDownload(GemModel::GetName(modelIndex)); + GemModel::SetDownloadStatus(*m_gemModel, modelIndex, GemInfo::DownloadStatus::Downloading); + } + } + void GemCatalogScreen::SelectGem(const QString& gemName) { QModelIndex modelIndex = m_gemModel->FindIndexByNameString(gemName); @@ -303,6 +330,8 @@ namespace O3DE::ProjectManager QModelIndex proxyIndex = m_proxyModel->mapFromSource(modelIndex); m_proxyModel->GetSelectionModel()->setCurrentIndex(proxyIndex, QItemSelectionModel::ClearAndSelect); m_gemListView->scrollTo(proxyIndex); + + ShowInspector(); } void GemCatalogScreen::UpdateGem(const QModelIndex& modelIndex) @@ -363,8 +392,12 @@ namespace O3DE::ProjectManager { const QString selectedGemPath = m_gemModel->GetPath(modelIndex); - // Remove gem from gems to be added + const bool wasAdded = GemModel::WasPreviouslyAdded(modelIndex); + const bool wasAddedDependency = GemModel::WasPreviouslyAddedDependency(modelIndex); + + // Remove gem from gems to be added to update any dependencies GemModel::SetIsAdded(*m_gemModel, modelIndex, false); + GemModel::DeactivateDependentGems(*m_gemModel, modelIndex); // Unregister the gem auto unregisterResult = PythonBindingsInterface::Get()->UnregisterGem(selectedGemPath); @@ -391,6 +424,8 @@ namespace O3DE::ProjectManager // Select remote gem QModelIndex remoteGemIndex = m_gemModel->FindIndexByNameString(selectedGemName); + GemModel::SetWasPreviouslyAdded(*m_gemModel, remoteGemIndex, wasAdded); + GemModel::SetWasPreviouslyAddedDependency(*m_gemModel, remoteGemIndex, wasAddedDependency); QModelIndex proxyIndex = m_proxyModel->mapFromSource(remoteGemIndex); m_proxyModel->GetSelectionModel()->setCurrentIndex(proxyIndex, QItemSelectionModel::ClearAndSelect); } @@ -435,7 +470,7 @@ namespace O3DE::ProjectManager m_gemModel->AddGem(gemInfo); } - const AZ::Outcome, AZStd::string>& allRepoGemInfosResult = PythonBindingsInterface::Get()->GetAllGemRepoGemsInfos(); + const AZ::Outcome, AZStd::string>& allRepoGemInfosResult = PythonBindingsInterface::Get()->GetGemInfosForAllRepos(); if (allRepoGemInfosResult.IsSuccess()) { const QVector& allRepoGemInfos = allRepoGemInfosResult.GetValue(); @@ -491,6 +526,12 @@ namespace O3DE::ProjectManager } } + void GemCatalogScreen::ShowInspector() + { + m_rightPanelStack->setCurrentIndex(RightPanelWidgetOrder::Inspector); + m_headerWidget->GemCartShown(); + } + GemCatalogScreen::EnableDisableGemsResult GemCatalogScreen::EnableDisableGemsForProject(const QString& projectPath) { IPythonBindings* pythonBindings = PythonBindingsInterface::Get(); @@ -523,7 +564,9 @@ namespace O3DE::ProjectManager const QString& gemPath = GemModel::GetPath(modelIndex); // make sure any remote gems we added were downloaded successfully - if (GemModel::GetGemOrigin(modelIndex) == GemInfo::Remote && GemModel::GetDownloadStatus(modelIndex) != GemInfo::Downloaded) + const GemInfo::DownloadStatus status = GemModel::GetDownloadStatus(modelIndex); + if (GemModel::GetGemOrigin(modelIndex) == GemInfo::Remote && + !(status == GemInfo::Downloaded || status == GemInfo::DownloadSuccessful)) { QMessageBox::critical( nullptr, "Cannot add gem that isn't downloaded", @@ -570,6 +613,18 @@ namespace O3DE::ProjectManager emit ChangeScreenRequest(ProjectManagerScreen::GemRepos); } + void GemCatalogScreen::UpdateAndShowGemCart(QWidget* cartWidget) + { + QWidget* previousCart = m_rightPanelStack->widget(RightPanelWidgetOrder::Cart); + if (previousCart) + { + m_rightPanelStack->removeWidget(previousCart); + } + + m_rightPanelStack->insertWidget(RightPanelWidgetOrder::Cart, cartWidget); + m_rightPanelStack->setCurrentIndex(RightPanelWidgetOrder::Cart); + } + void GemCatalogScreen::OnGemDownloadResult(const QString& gemName, bool succeeded) { if (succeeded) @@ -620,6 +675,8 @@ namespace O3DE::ProjectManager QModelIndex index = m_gemModel->FindIndexByNameString(gemName); if (index.isValid()) { + GemModel::SetIsAdded(*m_gemModel, index, false); + GemModel::DeactivateDependentGems(*m_gemModel, index); GemModel::SetDownloadStatus(*m_gemModel, index, GemInfo::DownloadFailed); } } diff --git a/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.h b/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.h index c5fbb057ef..20b0c27ff8 100644 --- a/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.h +++ b/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.h @@ -12,18 +12,24 @@ #include #include #include -#include -#include -#include -#include -#include -#include + #include #include #endif +QT_FORWARD_DECLARE_CLASS(QVBoxLayout) +QT_FORWARD_DECLARE_CLASS(QStackedWidget) + namespace O3DE::ProjectManager { + QT_FORWARD_DECLARE_CLASS(GemCatalogHeaderWidget) + QT_FORWARD_DECLARE_CLASS(GemFilterWidget) + QT_FORWARD_DECLARE_CLASS(GemListView) + QT_FORWARD_DECLARE_CLASS(GemInspector) + QT_FORWARD_DECLARE_CLASS(GemModel) + QT_FORWARD_DECLARE_CLASS(GemSortFilterProxyModel) + QT_FORWARD_DECLARE_CLASS(DownloadController) + class GemCatalogScreen : public ScreenWidget { @@ -47,6 +53,7 @@ namespace O3DE::ProjectManager public slots: void OnGemStatusChanged(const QString& gemName, uint32_t numChangedDependencies); + void OnDependencyGemStatusChanged(const QString& gemName); void OnAddGemClicked(); void SelectGem(const QString& gemName); void OnGemDownloadResult(const QString& gemName, bool succeeded = true); @@ -62,14 +69,22 @@ namespace O3DE::ProjectManager private slots: void HandleOpenGemRepo(); - + void UpdateAndShowGemCart(QWidget* cartWidget); + void ShowInspector(); private: + enum RightPanelWidgetOrder + { + Inspector = 0, + Cart + }; + void FillModel(const QString& projectPath); AZStd::unique_ptr m_notificationsView; GemListView* m_gemListView = nullptr; + QStackedWidget* m_rightPanelStack = nullptr; GemInspector* m_gemInspector = nullptr; GemModel* m_gemModel = nullptr; GemCatalogHeaderWidget* m_headerWidget = nullptr; diff --git a/Code/Tools/ProjectManager/Source/GemCatalog/GemInspector.cpp b/Code/Tools/ProjectManager/Source/GemCatalog/GemInspector.cpp index 26844b43e6..8bdd1f0f0f 100644 --- a/Code/Tools/ProjectManager/Source/GemCatalog/GemInspector.cpp +++ b/Code/Tools/ProjectManager/Source/GemCatalog/GemInspector.cpp @@ -53,10 +53,13 @@ namespace O3DE::ProjectManager Update(selectedIndices[0]); } - void SetLabelElidedText(QLabel* label, QString text) + void SetLabelElidedText(QLabel* label, QString text, int labelWidth = 0) { QFontMetrics nameFontMetrics(label->font()); - int labelWidth = label->width(); + if (!labelWidth) + { + labelWidth = label->width(); + } // Don't elide if the widgets are sized too small (sometimes occurs when loading gem catalog) if (labelWidth > 100) @@ -84,7 +87,8 @@ namespace O3DE::ProjectManager m_summaryLabel->setText(m_model->GetSummary(modelIndex)); m_summaryLabel->adjustSize(); - m_licenseLinkLabel->setText(m_model->GetLicenseText(modelIndex)); + // Manually define remaining space to elide text because spacer would like to take all of the space + SetLabelElidedText(m_licenseLinkLabel, m_model->GetLicenseText(modelIndex), width() - m_licenseLabel->width() - 35); m_licenseLinkLabel->SetUrl(m_model->GetLicenseLink(modelIndex)); m_directoryLinkLabel->SetUrl(m_model->GetDirectoryLink(modelIndex)); @@ -175,8 +179,8 @@ namespace O3DE::ProjectManager licenseHLayout->setAlignment(Qt::AlignLeft); m_mainLayout->addLayout(licenseHLayout); - QLabel* licenseLabel = CreateStyledLabel(licenseHLayout, s_baseFontSize, s_headerColor); - licenseLabel->setText(tr("License: ")); + m_licenseLabel = CreateStyledLabel(licenseHLayout, s_baseFontSize, s_headerColor); + m_licenseLabel->setText(tr("License: ")); m_licenseLinkLabel = new LinkLabel("", QUrl(), s_baseFontSize); licenseHLayout->addWidget(m_licenseLinkLabel); diff --git a/Code/Tools/ProjectManager/Source/GemCatalog/GemInspector.h b/Code/Tools/ProjectManager/Source/GemCatalog/GemInspector.h index 6a5de17fcd..1713191623 100644 --- a/Code/Tools/ProjectManager/Source/GemCatalog/GemInspector.h +++ b/Code/Tools/ProjectManager/Source/GemCatalog/GemInspector.h @@ -64,6 +64,7 @@ namespace O3DE::ProjectManager QLabel* m_nameLabel = nullptr; QLabel* m_creatorLabel = nullptr; QLabel* m_summaryLabel = nullptr; + QLabel* m_licenseLabel = nullptr; LinkLabel* m_licenseLinkLabel = nullptr; LinkLabel* m_directoryLinkLabel = nullptr; LinkLabel* m_documentationLinkLabel = nullptr; diff --git a/Code/Tools/ProjectManager/Source/GemCatalog/GemModel.cpp b/Code/Tools/ProjectManager/Source/GemCatalog/GemModel.cpp index 95fdc8e1e2..d163ab9076 100644 --- a/Code/Tools/ProjectManager/Source/GemCatalog/GemModel.cpp +++ b/Code/Tools/ProjectManager/Source/GemCatalog/GemModel.cpp @@ -357,6 +357,8 @@ namespace O3DE::ProjectManager if (!IsAdded(dependency)) { numChangedDependencies++; + const QString dependencyName = gemModel->GetName(dependency); + gemModel->emit dependencyGemStatusChanged(dependencyName); } } } @@ -381,6 +383,8 @@ namespace O3DE::ProjectManager if (!IsAdded(dependency)) { numChangedDependencies++; + const QString dependencyName = gemModel->GetName(dependency); + gemModel->emit dependencyGemStatusChanged(dependencyName); } } } @@ -479,6 +483,23 @@ namespace O3DE::ProjectManager return previouslyAdded && !added; } + void GemModel::DeactivateDependentGems(QAbstractItemModel& model, const QModelIndex& modelIndex) + { + GemModel* gemModel = GetSourceModel(&model); + AZ_Assert(gemModel, "Failed to obtain GemModel"); + + QVector dependentGems = gemModel->GatherDependentGems(modelIndex); + if (!dependentGems.isEmpty()) + { + // we need to deactivate all gems that depend on this one + for (auto dependentModelIndex : dependentGems) + { + SetIsAdded(model, dependentModelIndex, false); + } + + } + } + void GemModel::SetDownloadStatus(QAbstractItemModel& model, const QModelIndex& modelIndex, GemInfo::DownloadStatus status) { model.setData(modelIndex, status, RoleDownloadStatus); diff --git a/Code/Tools/ProjectManager/Source/GemCatalog/GemModel.h b/Code/Tools/ProjectManager/Source/GemCatalog/GemModel.h index bb89d46861..cb99581468 100644 --- a/Code/Tools/ProjectManager/Source/GemCatalog/GemModel.h +++ b/Code/Tools/ProjectManager/Source/GemCatalog/GemModel.h @@ -99,6 +99,7 @@ namespace O3DE::ProjectManager static bool NeedsToBeRemoved(const QModelIndex& modelIndex, bool includeDependencies = false); static bool HasRequirement(const QModelIndex& modelIndex); static void UpdateDependencies(QAbstractItemModel& model, const QString& gemName, bool isAdded); + static void DeactivateDependentGems(QAbstractItemModel& model, const QModelIndex& modelIndex); static void SetDownloadStatus(QAbstractItemModel& model, const QModelIndex& modelIndex, GemInfo::DownloadStatus status); bool DoGemsToBeAddedHaveRequirements() const; @@ -113,6 +114,7 @@ namespace O3DE::ProjectManager signals: void gemStatusChanged(const QString& gemName, uint32_t numChangedDependencies); + void dependencyGemStatusChanged(const QString& gemName); protected slots: void OnRowsAboutToBeRemoved(const QModelIndex& parent, int first, int last); diff --git a/Code/Tools/ProjectManager/Source/GemRepo/GemRepoInfo.h b/Code/Tools/ProjectManager/Source/GemRepo/GemRepoInfo.h index f1d1c2a8a2..c22511faad 100644 --- a/Code/Tools/ProjectManager/Source/GemRepo/GemRepoInfo.h +++ b/Code/Tools/ProjectManager/Source/GemRepo/GemRepoInfo.h @@ -37,7 +37,7 @@ namespace O3DE::ProjectManager QString m_additionalInfo = ""; QString m_directoryLink = ""; QString m_repoUri = ""; - QStringList m_includedGemPaths = {}; + QStringList m_includedGemUris = {}; QDateTime m_lastUpdated; }; } // namespace O3DE::ProjectManager diff --git a/Code/Tools/ProjectManager/Source/GemRepo/GemRepoInspector.cpp b/Code/Tools/ProjectManager/Source/GemRepo/GemRepoInspector.cpp index f816e86733..24a3e58ea2 100644 --- a/Code/Tools/ProjectManager/Source/GemRepo/GemRepoInspector.cpp +++ b/Code/Tools/ProjectManager/Source/GemRepo/GemRepoInspector.cpp @@ -8,6 +8,7 @@ #include #include +#include #include #include @@ -60,8 +61,10 @@ namespace O3DE::ProjectManager // Repo name and url link m_nameLabel->setText(m_model->GetName(modelIndex)); - m_repoLinkLabel->setText(m_model->GetRepoUri(modelIndex)); - m_repoLinkLabel->SetUrl(m_model->GetRepoUri(modelIndex)); + + const QString repoUri = m_model->GetRepoUri(modelIndex); + m_repoLinkLabel->setText(repoUri); + m_repoLinkLabel->SetUrl(repoUri); // Repo summary m_summaryLabel->setText(m_model->GetSummary(modelIndex)); diff --git a/Code/Tools/ProjectManager/Source/GemRepo/GemRepoModel.cpp b/Code/Tools/ProjectManager/Source/GemRepo/GemRepoModel.cpp index 6189b6d8bf..436f84019a 100644 --- a/Code/Tools/ProjectManager/Source/GemRepo/GemRepoModel.cpp +++ b/Code/Tools/ProjectManager/Source/GemRepo/GemRepoModel.cpp @@ -41,7 +41,7 @@ namespace O3DE::ProjectManager item->setData(gemRepoInfo.m_lastUpdated, RoleLastUpdated); item->setData(gemRepoInfo.m_path, RolePath); item->setData(gemRepoInfo.m_additionalInfo, RoleAdditionalInfo); - item->setData(gemRepoInfo.m_includedGemPaths, RoleIncludedGems); + item->setData(gemRepoInfo.m_includedGemUris, RoleIncludedGems); appendRow(item); @@ -98,7 +98,7 @@ namespace O3DE::ProjectManager return modelIndex.data(RolePath).toString(); } - QStringList GemRepoModel::GetIncludedGemPaths(const QModelIndex& modelIndex) + QStringList GemRepoModel::GetIncludedGemUris(const QModelIndex& modelIndex) { return modelIndex.data(RoleIncludedGems).toStringList(); } @@ -118,23 +118,19 @@ namespace O3DE::ProjectManager QVector GemRepoModel::GetIncludedGemInfos(const QModelIndex& modelIndex) { - QVector allGemInfos; - QStringList repoGemPaths = GetIncludedGemPaths(modelIndex); + QString repoUri = GetRepoUri(modelIndex); - for (const QString& gemPath : repoGemPaths) + const AZ::Outcome, AZStd::string>& gemInfosResult = PythonBindingsInterface::Get()->GetGemInfosForRepo(repoUri); + if (gemInfosResult.IsSuccess()) { - AZ::Outcome gemInfoResult = PythonBindingsInterface::Get()->GetGemInfo(gemPath); - if (gemInfoResult.IsSuccess()) - { - allGemInfos.append(gemInfoResult.GetValue()); - } - else - { - QMessageBox::critical(nullptr, tr("Gem Not Found"), tr("Cannot find info for gem %1.").arg(gemPath)); - } + return gemInfosResult.GetValue(); + } + else + { + QMessageBox::critical(nullptr, tr("Gems not found"), tr("Cannot find info for gems from repo %1").arg(GetName(modelIndex))); } - return allGemInfos; + return QVector(); } bool GemRepoModel::IsEnabled(const QModelIndex& modelIndex) diff --git a/Code/Tools/ProjectManager/Source/GemRepo/GemRepoModel.h b/Code/Tools/ProjectManager/Source/GemRepo/GemRepoModel.h index 66fe972a95..68991a0509 100644 --- a/Code/Tools/ProjectManager/Source/GemRepo/GemRepoModel.h +++ b/Code/Tools/ProjectManager/Source/GemRepo/GemRepoModel.h @@ -39,7 +39,7 @@ namespace O3DE::ProjectManager static QDateTime GetLastUpdated(const QModelIndex& modelIndex); static QString GetPath(const QModelIndex& modelIndex); - static QStringList GetIncludedGemPaths(const QModelIndex& modelIndex); + static QStringList GetIncludedGemUris(const QModelIndex& modelIndex); static QVector GetIncludedGemTags(const QModelIndex& modelIndex); static QVector GetIncludedGemInfos(const QModelIndex& modelIndex); diff --git a/Code/Tools/ProjectManager/Source/GemRepo/GemRepoScreen.cpp b/Code/Tools/ProjectManager/Source/GemRepo/GemRepoScreen.cpp index 91432c2346..f62c30c280 100644 --- a/Code/Tools/ProjectManager/Source/GemRepo/GemRepoScreen.cpp +++ b/Code/Tools/ProjectManager/Source/GemRepo/GemRepoScreen.cpp @@ -92,8 +92,9 @@ namespace O3DE::ProjectManager return; } - bool addGemRepoResult = PythonBindingsInterface::Get()->AddGemRepo(repoUri); - if (addGemRepoResult) + AZ::Outcome < void, + AZStd::pair> addGemRepoResult = PythonBindingsInterface::Get()->AddGemRepo(repoUri); + if (addGemRepoResult.IsSuccess()) { Reinit(); emit OnRefresh(); @@ -101,8 +102,21 @@ namespace O3DE::ProjectManager else { QString failureMessage = tr("Failed to add gem repo: %1.").arg(repoUri); - QMessageBox::critical(this, tr("Operation failed"), failureMessage); - AZ_Error("Project Manger", false, failureMessage.toUtf8()); + if (!addGemRepoResult.GetError().second.empty()) + { + QMessageBox addRepoError; + addRepoError.setIcon(QMessageBox::Critical); + addRepoError.setWindowTitle(failureMessage); + addRepoError.setText(addGemRepoResult.GetError().first.c_str()); + addRepoError.setDetailedText(addGemRepoResult.GetError().second.c_str()); + addRepoError.exec(); + } + else + { + QMessageBox::critical(this, failureMessage, addGemRepoResult.GetError().first.c_str()); + } + + AZ_Error("Project Manager", false, failureMessage.toUtf8()); } } } diff --git a/Code/Tools/ProjectManager/Source/ProjectBuilderController.cpp b/Code/Tools/ProjectManager/Source/ProjectBuilderController.cpp index 7981e9d758..ecb125ae4e 100644 --- a/Code/Tools/ProjectManager/Source/ProjectBuilderController.cpp +++ b/Code/Tools/ProjectManager/Source/ProjectBuilderController.cpp @@ -9,12 +9,14 @@ #include #include #include +#include + +#include #include #include #include - namespace O3DE::ProjectManager { ProjectBuilderController::ProjectBuilderController(const ProjectInfo& projectInfo, ProjectButton* projectButton, QWidget* parent) @@ -27,6 +29,15 @@ namespace O3DE::ProjectManager m_worker = new ProjectBuilderWorker(m_projectInfo); m_worker->moveToThread(&m_workerThread); + auto settingsRegistry = AZ::SettingsRegistry::Get(); + if (settingsRegistry) + { + // Remove key here in case Project Manager crashing while building that causes HandleResults to not be called + QString settingsKey = GetProjectBuiltSuccessfullyKey(m_projectInfo.m_projectName); + settingsRegistry->Remove(settingsKey.toStdString().c_str()); + SaveProjectManagerSettings(); + } + connect(&m_workerThread, &QThread::finished, m_worker, &ProjectBuilderWorker::deleteLater); connect(&m_workerThread, &QThread::started, m_worker, &ProjectBuilderWorker::BuildProject); connect(m_worker, &ProjectBuilderWorker::Done, this, &ProjectBuilderController::HandleResults); @@ -80,6 +91,8 @@ namespace O3DE::ProjectManager void ProjectBuilderController::HandleResults(const QString& result) { + QString settingsKey = GetProjectBuiltSuccessfullyKey(m_projectInfo.m_projectName); + if (!result.isEmpty()) { if (result.contains(tr("log"))) @@ -109,12 +122,26 @@ namespace O3DE::ProjectManager emit NotifyBuildProject(m_projectInfo); } + auto settingsRegistry = AZ::SettingsRegistry::Get(); + if (settingsRegistry) + { + settingsRegistry->Remove(settingsKey.toStdString().c_str()); + SaveProjectManagerSettings(); + } + emit Done(false); return; } else { m_projectInfo.m_buildFailed = false; + + auto settingsRegistry = AZ::SettingsRegistry::Get(); + if (settingsRegistry) + { + settingsRegistry->Set(settingsKey.toStdString().c_str(), true); + SaveProjectManagerSettings(); + } } emit Done(true); diff --git a/Code/Tools/ProjectManager/Source/ProjectButtonWidget.cpp b/Code/Tools/ProjectManager/Source/ProjectButtonWidget.cpp index 98916cccf6..2f4fe901bb 100644 --- a/Code/Tools/ProjectManager/Source/ProjectButtonWidget.cpp +++ b/Code/Tools/ProjectManager/Source/ProjectButtonWidget.cpp @@ -203,6 +203,7 @@ namespace O3DE::ProjectManager QMenu* menu = new QMenu(this); menu->addAction(tr("Edit Project Settings..."), this, [this]() { emit EditProject(m_projectInfo.m_path); }); + menu->addAction(tr("Configure Gems..."), this, [this]() { emit EditProjectGems(m_projectInfo.m_path); }); menu->addAction(tr("Build"), this, [this]() { emit BuildProject(m_projectInfo); }); menu->addAction(tr("Open CMake GUI..."), this, [this]() { emit OpenCMakeGUI(m_projectInfo); }); menu->addSeparator(); diff --git a/Code/Tools/ProjectManager/Source/ProjectButtonWidget.h b/Code/Tools/ProjectManager/Source/ProjectButtonWidget.h index 5e81dfc2d9..ccb644c458 100644 --- a/Code/Tools/ProjectManager/Source/ProjectButtonWidget.h +++ b/Code/Tools/ProjectManager/Source/ProjectButtonWidget.h @@ -95,6 +95,7 @@ namespace O3DE::ProjectManager signals: void OpenProject(const QString& projectName); void EditProject(const QString& projectName); + void EditProjectGems(const QString& projectName); void CopyProject(const ProjectInfo& projectInfo); void RemoveProject(const QString& projectName); void DeleteProject(const QString& projectName); diff --git a/Code/Tools/ProjectManager/Source/ProjectManagerSettings.cpp b/Code/Tools/ProjectManager/Source/ProjectManagerSettings.cpp new file mode 100644 index 0000000000..3049a6d70c --- /dev/null +++ b/Code/Tools/ProjectManager/Source/ProjectManagerSettings.cpp @@ -0,0 +1,54 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include "ProjectManagerSettings.h" + +#include +#include +#include + +namespace O3DE::ProjectManager +{ + void SaveProjectManagerSettings() + { + auto settingsRegistry = AZ::SettingsRegistry::Get(); + AZ::SettingsRegistryMergeUtils::DumperSettings dumperSettings; + dumperSettings.m_prettifyOutput = true; + dumperSettings.m_jsonPointerPrefix = ProjectManagerKeyPrefix; + + AZStd::string stringBuffer; + AZ::IO::ByteContainerStream stringStream(&stringBuffer); + if (!AZ::SettingsRegistryMergeUtils::DumpSettingsRegistryToStream( + *settingsRegistry, ProjectManagerKeyPrefix, stringStream, dumperSettings)) + { + AZ_Warning("ProjectManager", false, "Could not save Project Manager settings to stream"); + return; + } + + AZ::IO::FixedMaxPath o3deUserPath = AZ::Utils::GetO3deManifestDirectory(); + o3deUserPath /= AZ::SettingsRegistryInterface::RegistryFolder; + o3deUserPath /= "ProjectManager.setreg"; + + bool saved = false; + constexpr auto configurationMode = + AZ::IO::SystemFile::SF_OPEN_CREATE | AZ::IO::SystemFile::SF_OPEN_CREATE_PATH | AZ::IO::SystemFile::SF_OPEN_WRITE_ONLY; + + AZ::IO::SystemFile outputFile; + if (outputFile.Open(o3deUserPath.c_str(), configurationMode)) + { + saved = outputFile.Write(stringBuffer.data(), stringBuffer.size()) == stringBuffer.size(); + } + + AZ_Warning("ProjectManager", saved, "Unable to save Project Manager registry file to path: %s", o3deUserPath.c_str()); + } + + QString GetProjectBuiltSuccessfullyKey(const QString& projectName) + { + return QString("%1/Projects/%2/BuiltSuccessfully").arg(ProjectManagerKeyPrefix).arg(projectName); + } +} diff --git a/Code/Tools/ProjectManager/Source/ProjectManagerSettings.h b/Code/Tools/ProjectManager/Source/ProjectManagerSettings.h new file mode 100644 index 0000000000..3454909062 --- /dev/null +++ b/Code/Tools/ProjectManager/Source/ProjectManagerSettings.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#pragma once + +#if !defined(Q_MOC_RUN) +#include +#endif + +namespace O3DE::ProjectManager +{ + static constexpr char ProjectManagerKeyPrefix[] = "/O3DE/ProjectManager"; + + void SaveProjectManagerSettings(); + QString GetProjectBuiltSuccessfullyKey(const QString& projectName); +} diff --git a/Code/Tools/ProjectManager/Source/ProjectSettingsScreen.cpp b/Code/Tools/ProjectManager/Source/ProjectSettingsScreen.cpp index 88ae3d6319..d4ac43d655 100644 --- a/Code/Tools/ProjectManager/Source/ProjectSettingsScreen.cpp +++ b/Code/Tools/ProjectManager/Source/ProjectSettingsScreen.cpp @@ -19,6 +19,7 @@ #include #include #include +#include namespace O3DE::ProjectManager { @@ -33,11 +34,23 @@ namespace O3DE::ProjectManager // if we don't set this in a frame (just use a sub-layout) all the content will align incorrectly horizontally QFrame* projectSettingsFrame = new QFrame(this); projectSettingsFrame->setObjectName("projectSettings"); - m_verticalLayout = new QVBoxLayout(); - // you cannot remove content margins in qss - m_verticalLayout->setContentsMargins(0, 0, 0, 0); + QVBoxLayout* vLayout = new QVBoxLayout(); + vLayout->setMargin(0); + vLayout->setAlignment(Qt::AlignTop); + projectSettingsFrame->setLayout(vLayout); + + QScrollArea* scrollArea = new QScrollArea(this); + scrollArea->setWidgetResizable(true); + vLayout->addWidget(scrollArea); + + QWidget* scrollWidget = new QWidget(this); + scrollArea->setWidget(scrollWidget); + + m_verticalLayout = new QVBoxLayout(); + m_verticalLayout->setMargin(0); m_verticalLayout->setAlignment(Qt::AlignTop); + scrollWidget->setLayout(m_verticalLayout); m_projectName = new FormLineEditWidget(tr("Project name"), "", this); connect(m_projectName->lineEdit(), &QLineEdit::textChanged, this, &ProjectSettingsScreen::OnProjectNameUpdated); diff --git a/Code/Tools/ProjectManager/Source/ProjectsScreen.cpp b/Code/Tools/ProjectManager/Source/ProjectsScreen.cpp index f86a689e59..4a82783949 100644 --- a/Code/Tools/ProjectManager/Source/ProjectsScreen.cpp +++ b/Code/Tools/ProjectManager/Source/ProjectsScreen.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -22,6 +23,7 @@ #include #include #include +#include #include #include @@ -181,6 +183,7 @@ namespace O3DE::ProjectManager connect(projectButton, &ProjectButton::OpenProject, this, &ProjectsScreen::HandleOpenProject); connect(projectButton, &ProjectButton::EditProject, this, &ProjectsScreen::HandleEditProject); + connect(projectButton, &ProjectButton::EditProjectGems, this, &ProjectsScreen::HandleEditProjectGems); connect(projectButton, &ProjectButton::CopyProject, this, &ProjectsScreen::HandleCopyProject); connect(projectButton, &ProjectButton::RemoveProject, this, &ProjectsScreen::HandleRemoveProject); connect(projectButton, &ProjectButton::DeleteProject, this, &ProjectsScreen::HandleDeleteProject); @@ -269,17 +272,36 @@ namespace O3DE::ProjectManager // Add any missing project buttons and restore buttons to default state for (const ProjectInfo& project : projectsVector) { + ProjectButton* currentButton = nullptr; if (!m_projectButtons.contains(QDir::toNativeSeparators(project.m_path))) { - m_projectButtons.insert(QDir::toNativeSeparators(project.m_path), CreateProjectButton(project)); + currentButton = CreateProjectButton(project); + m_projectButtons.insert(QDir::toNativeSeparators(project.m_path), currentButton); } else { auto projectButtonIter = m_projectButtons.find(QDir::toNativeSeparators(project.m_path)); if (projectButtonIter != m_projectButtons.end()) { - projectButtonIter.value()->RestoreDefaultState(); - m_projectsFlowLayout->addWidget(projectButtonIter.value()); + currentButton = projectButtonIter.value(); + currentButton->RestoreDefaultState(); + m_projectsFlowLayout->addWidget(currentButton); + } + } + + // Check whether project manager has successfully built the project + if (currentButton) + { + auto settingsRegistry = AZ::SettingsRegistry::Get(); + bool projectBuiltSuccessfully = false; + if (settingsRegistry) + { + QString settingsKey = GetProjectBuiltSuccessfullyKey(project.m_projectName); + settingsRegistry->Get(projectBuiltSuccessfully, settingsKey.toStdString().c_str()); + } + if (!projectBuiltSuccessfully) + { + currentButton->ShowBuildRequired(); } } } @@ -448,6 +470,14 @@ namespace O3DE::ProjectManager emit ChangeScreenRequest(ProjectManagerScreen::UpdateProject); } } + void ProjectsScreen::HandleEditProjectGems(const QString& projectPath) + { + if (!WarnIfInBuildQueue(projectPath)) + { + emit NotifyCurrentProject(projectPath); + emit ChangeScreenRequest(ProjectManagerScreen::GemCatalog); + } + } void ProjectsScreen::HandleCopyProject(const ProjectInfo& projectInfo) { if (!WarnIfInBuildQueue(projectInfo.m_path)) diff --git a/Code/Tools/ProjectManager/Source/ProjectsScreen.h b/Code/Tools/ProjectManager/Source/ProjectsScreen.h index 859f8d0eae..c690621fb6 100644 --- a/Code/Tools/ProjectManager/Source/ProjectsScreen.h +++ b/Code/Tools/ProjectManager/Source/ProjectsScreen.h @@ -46,6 +46,7 @@ namespace O3DE::ProjectManager void HandleAddProjectButton(); void HandleOpenProject(const QString& projectPath); void HandleEditProject(const QString& projectPath); + void HandleEditProjectGems(const QString& projectPath); void HandleCopyProject(const ProjectInfo& projectInfo); void HandleRemoveProject(const QString& projectPath); void HandleDeleteProject(const QString& projectPath); diff --git a/Code/Tools/ProjectManager/Source/PythonBindings.cpp b/Code/Tools/ProjectManager/Source/PythonBindings.cpp index d1dedaaec4..12f97e6d2e 100644 --- a/Code/Tools/ProjectManager/Source/PythonBindings.cpp +++ b/Code/Tools/ProjectManager/Source/PythonBindings.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include @@ -210,6 +211,16 @@ namespace RedirectOutput }); SetRedirection("stderr", g_redirect_stderr_saved, g_redirect_stderr, []([[maybe_unused]] const char* msg) { + AZStd::string lastPythonError = msg; + constexpr const char* pythonErrorPrefix = "ERROR:root:"; + constexpr size_t lengthOfErrorPrefix = AZStd::char_traits::length(pythonErrorPrefix); + auto errorPrefix = lastPythonError.find(pythonErrorPrefix); + if (errorPrefix != AZStd::string::npos) + { + lastPythonError.erase(errorPrefix, lengthOfErrorPrefix); + } + O3DE::ProjectManager::PythonBindingsInterface::Get()->AddErrorString(lastPythonError); + AZ_TracePrintf("Python", msg); }); @@ -376,6 +387,8 @@ namespace O3DE::ProjectManager pybind11::gil_scoped_release release; pybind11::gil_scoped_acquire acquire; + ClearErrorStrings(); + try { executionCallback(); @@ -1051,7 +1064,7 @@ namespace O3DE::ProjectManager return result && refreshResult; } - bool PythonBindings::AddGemRepo(const QString& repoUri) + AZ::Outcome> PythonBindings::AddGemRepo(const QString& repoUri) { bool registrationResult = false; bool result = ExecuteWithLock( @@ -1065,7 +1078,12 @@ namespace O3DE::ProjectManager registrationResult = !pythonRegistrationResult.cast(); }); - return result && registrationResult; + if (!result || !registrationResult) + { + return AZ::Failure>(GetSimpleDetailedErrorPair()); + } + + return AZ::Success(); } bool PythonBindings::RemoveGemRepo(const QString& repoUri) @@ -1135,11 +1153,11 @@ namespace O3DE::ProjectManager gemRepoInfo.m_isEnabled = false; } - if (data.contains("gem_paths")) + if (data.contains("gems")) { - for (auto gemPath : data["gem_paths"]) + for (auto gemPath : data["gems"]) { - gemRepoInfo.m_includedGemPaths.push_back(Py_To_String(gemPath)); + gemRepoInfo.m_includedGemUris.push_back(Py_To_String(gemPath)); } } } @@ -1188,7 +1206,35 @@ namespace O3DE::ProjectManager return AZ::Success(AZStd::move(gemRepos)); } - AZ::Outcome, AZStd::string> PythonBindings::GetAllGemRepoGemsInfos() + AZ::Outcome, AZStd::string> PythonBindings::GetGemInfosForRepo(const QString& repoUri) + { + QVector gemInfos; + AZ::Outcome result = ExecuteWithLockErrorHandling( + [&] + { + auto pyUri = QString_To_Py_String(repoUri); + auto gemPaths = m_repo.attr("get_gem_json_paths_from_cached_repo")(pyUri); + + if (pybind11::isinstance(gemPaths)) + { + for (auto path : gemPaths) + { + GemInfo gemInfo = GemInfoFromPath(path, pybind11::none()); + gemInfo.m_downloadStatus = GemInfo::DownloadStatus::NotDownloaded; + gemInfos.push_back(gemInfo); + } + } + }); + + if (!result.IsSuccess()) + { + return AZ::Failure(result.GetError()); + } + + return AZ::Success(AZStd::move(gemInfos)); + } + + AZ::Outcome, AZStd::string> PythonBindings::GetGemInfosForAllRepos() { QVector gemInfos; AZ::Outcome result = ExecuteWithLockErrorHandling( @@ -1215,7 +1261,7 @@ namespace O3DE::ProjectManager return AZ::Success(AZStd::move(gemInfos)); } - AZ::Outcome PythonBindings::DownloadGem( + AZ::Outcome> PythonBindings::DownloadGem( const QString& gemName, std::function gemProgressCallback, bool force) { // This process is currently limited to download a single gem at a time. @@ -1244,11 +1290,12 @@ namespace O3DE::ProjectManager if (!result.IsSuccess()) { - return result; + AZStd::pair pythonRunError(result.GetError(), result.GetError()); + return AZ::Failure>(AZStd::move(pythonRunError)); } else if (!downloadSucceeded) { - return AZ::Failure("Failed to download gem."); + return AZ::Failure>(GetSimpleDetailedErrorPair()); } return AZ::Success(); @@ -1274,4 +1321,23 @@ namespace O3DE::ProjectManager return result && updateAvaliableResult; } + + AZStd::pair PythonBindings::GetSimpleDetailedErrorPair() + { + AZStd::string detailedString = m_pythonErrorStrings.size() == 1 + ? "" + : AZStd::accumulate(m_pythonErrorStrings.begin(), m_pythonErrorStrings.end(), AZStd::string("")); + + return AZStd::pair(m_pythonErrorStrings.front(), detailedString); + } + + void PythonBindings::AddErrorString(AZStd::string errorString) + { + m_pythonErrorStrings.push_back(errorString); + } + + void PythonBindings::ClearErrorStrings() + { + m_pythonErrorStrings.clear(); + } } diff --git a/Code/Tools/ProjectManager/Source/PythonBindings.h b/Code/Tools/ProjectManager/Source/PythonBindings.h index ecc6f65dc3..48841b6565 100644 --- a/Code/Tools/ProjectManager/Source/PythonBindings.h +++ b/Code/Tools/ProjectManager/Source/PythonBindings.h @@ -62,14 +62,19 @@ namespace O3DE::ProjectManager // Gem Repos AZ::Outcome RefreshGemRepo(const QString& repoUri) override; bool RefreshAllGemRepos() override; - bool AddGemRepo(const QString& repoUri) override; + AZ::Outcome> AddGemRepo(const QString& repoUri) override; bool RemoveGemRepo(const QString& repoUri) override; AZ::Outcome, AZStd::string> GetAllGemRepoInfos() override; - AZ::Outcome, AZStd::string> GetAllGemRepoGemsInfos() override; - AZ::Outcome DownloadGem(const QString& gemName, std::function gemProgressCallback, bool force = false) override; + AZ::Outcome, AZStd::string> GetGemInfosForRepo(const QString& repoUri) override; + AZ::Outcome, AZStd::string> GetGemInfosForAllRepos() override; + AZ::Outcome> DownloadGem( + const QString& gemName, std::function gemProgressCallback, bool force = false) override; void CancelDownload() override; bool IsGemUpdateAvaliable(const QString& gemName, const QString& lastUpdated) override; + void AddErrorString(AZStd::string errorString) override; + void ClearErrorStrings() override; + private: AZ_DISABLE_COPY_MOVE(PythonBindings); @@ -82,6 +87,7 @@ namespace O3DE::ProjectManager AZ::Outcome GemRegistration(const QString& gemPath, const QString& projectPath, bool remove = false); bool RegisterThisEngine(); bool StopPython(); + AZStd::pair GetSimpleDetailedErrorPair(); bool m_pythonStarted = false; @@ -101,5 +107,6 @@ namespace O3DE::ProjectManager pybind11::handle m_pathlib; bool m_requestCancelDownload = false; + AZStd::vector m_pythonErrorStrings; }; } diff --git a/Code/Tools/ProjectManager/Source/PythonBindingsInterface.h b/Code/Tools/ProjectManager/Source/PythonBindingsInterface.h index 65337869fd..c7c8af2ce1 100644 --- a/Code/Tools/ProjectManager/Source/PythonBindingsInterface.h +++ b/Code/Tools/ProjectManager/Source/PythonBindingsInterface.h @@ -200,9 +200,9 @@ namespace O3DE::ProjectManager /** * Registers this gem repo with the current engine. * @param repoUri the absolute filesystem path or url to the gem repo. - * @return true on success, false on failure. + * @return an outcome with a pair of string error and detailed messages on failure. */ - virtual bool AddGemRepo(const QString& repoUri) = 0; + virtual AZ::Outcome> AddGemRepo(const QString& repoUri) = 0; /** * Unregisters this gem repo with the current engine. @@ -217,20 +217,27 @@ namespace O3DE::ProjectManager */ virtual AZ::Outcome, AZStd::string> GetAllGemRepoInfos() = 0; + /** + * Gathers all gem infos from the provided repo + * @param repoUri the absolute filesystem path or url to the gem repo. + * @return A list of gem infos. + */ + virtual AZ::Outcome, AZStd::string> GetGemInfosForRepo(const QString& repoUri) = 0; + /** * Gathers all gem infos for all gems registered from repos. * @return A list of gem infos. */ - virtual AZ::Outcome, AZStd::string> GetAllGemRepoGemsInfos() = 0; + virtual AZ::Outcome, AZStd::string> GetGemInfosForAllRepos() = 0; /** * Downloads and registers a Gem. * @param gemName the name of the Gem to download. * @param gemProgressCallback a callback function that is called with an int percentage download value. * @param force should we forcibly overwrite the old version of the gem. - * @return an outcome with a string error message on failure. + * @return an outcome with a pair of string error and detailed messages on failure. */ - virtual AZ::Outcome DownloadGem( + virtual AZ::Outcome> DownloadGem( const QString& gemName, std::function gemProgressCallback, bool force = false) = 0; /** @@ -245,6 +252,17 @@ namespace O3DE::ProjectManager * @return true if update is avaliable, false if not. */ virtual bool IsGemUpdateAvaliable(const QString& gemName, const QString& lastUpdated) = 0; + + /** + * Add an error string to be returned when the current python call is complete. + * @param The error string to be displayed. + */ + virtual void AddErrorString(AZStd::string errorString) = 0; + + /** + * Clears the current list of error strings. + */ + virtual void ClearErrorStrings() = 0; }; using PythonBindingsInterface = AZ::Interface; diff --git a/Code/Tools/ProjectManager/Source/ScreenWidget.h b/Code/Tools/ProjectManager/Source/ScreenWidget.h index 148dcdb8c8..a84fb0be80 100644 --- a/Code/Tools/ProjectManager/Source/ScreenWidget.h +++ b/Code/Tools/ProjectManager/Source/ScreenWidget.h @@ -47,9 +47,9 @@ namespace O3DE::ProjectManager return tr("Missing"); } - virtual bool ContainsScreen([[maybe_unused]] ProjectManagerScreen screen) + virtual bool ContainsScreen(ProjectManagerScreen screen) { - return false; + return GetScreenEnum() == screen; } virtual void GoToScreen([[maybe_unused]] ProjectManagerScreen screen) { @@ -58,7 +58,6 @@ namespace O3DE::ProjectManager //! Notify this screen it is the current screen virtual void NotifyCurrentScreen() { - } signals: diff --git a/Code/Tools/ProjectManager/Source/UpdateProjectCtrl.cpp b/Code/Tools/ProjectManager/Source/UpdateProjectCtrl.cpp index fb16484961..36d78ed2ac 100644 --- a/Code/Tools/ProjectManager/Source/UpdateProjectCtrl.cpp +++ b/Code/Tools/ProjectManager/Source/UpdateProjectCtrl.cpp @@ -15,6 +15,9 @@ #include #include #include +#include +#include +#include #include #include @@ -94,6 +97,17 @@ namespace O3DE::ProjectManager return ProjectManagerScreen::UpdateProject; } + bool UpdateProjectCtrl::ContainsScreen(ProjectManagerScreen screen) + { + // Do not include GemRepos because we don't want to advertise jumping to it from all other screens here + return screen == GetScreenEnum() || screen == ProjectManagerScreen::GemCatalog; + } + + void UpdateProjectCtrl::GoToScreen(ProjectManagerScreen screen) + { + OnChangeScreenRequest(screen); + } + // Called when pressing "Edit Project Settings..." void UpdateProjectCtrl::NotifyCurrentScreen() { @@ -114,6 +128,16 @@ namespace O3DE::ProjectManager m_stack->setCurrentWidget(m_gemRepoScreen); Update(); } + else if (screen == ProjectManagerScreen::GemCatalog) + { + m_stack->setCurrentWidget(m_gemCatalogScreen); + Update(); + } + else if (screen == ProjectManagerScreen::UpdateProjectSettings) + { + m_stack->setCurrentWidget(m_updateSettingsScreen); + Update(); + } else { emit ChangeScreenRequest(screen); @@ -280,6 +304,21 @@ namespace O3DE::ProjectManager } } + if (newProjectSettings.m_projectName != m_projectInfo.m_projectName) + { + // update reg key + QString oldSettingsKey = GetProjectBuiltSuccessfullyKey(m_projectInfo.m_projectName); + QString newSettingsKey = GetProjectBuiltSuccessfullyKey(newProjectSettings.m_projectName); + + auto settingsRegistry = AZ::SettingsRegistry::Get(); + bool projectBuiltSuccessfully = false; + if (settingsRegistry && settingsRegistry->Get(projectBuiltSuccessfully, oldSettingsKey.toStdString().c_str())) + { + settingsRegistry->Set(newSettingsKey.toStdString().c_str(), projectBuiltSuccessfully); + SaveProjectManagerSettings(); + } + } + if (!newProjectSettings.m_newPreviewImagePath.isEmpty()) { if (!ProjectUtils::ReplaceProjectFile( diff --git a/Code/Tools/ProjectManager/Source/UpdateProjectCtrl.h b/Code/Tools/ProjectManager/Source/UpdateProjectCtrl.h index ee6fc792f2..070e2c58bf 100644 --- a/Code/Tools/ProjectManager/Source/UpdateProjectCtrl.h +++ b/Code/Tools/ProjectManager/Source/UpdateProjectCtrl.h @@ -24,7 +24,8 @@ namespace O3DE::ProjectManager QT_FORWARD_DECLARE_CLASS(GemCatalogScreen) QT_FORWARD_DECLARE_CLASS(GemRepoScreen) - class UpdateProjectCtrl : public ScreenWidget + class UpdateProjectCtrl + : public ScreenWidget { Q_OBJECT public: @@ -32,7 +33,8 @@ namespace O3DE::ProjectManager ~UpdateProjectCtrl() = default; ProjectManagerScreen GetScreenEnum() override; - protected: + bool ContainsScreen(ProjectManagerScreen screen) override; + void GoToScreen(ProjectManagerScreen screen) override; void NotifyCurrentScreen() override; protected slots: diff --git a/Code/Tools/ProjectManager/Source/UpdateProjectSettingsScreen.cpp b/Code/Tools/ProjectManager/Source/UpdateProjectSettingsScreen.cpp index 3bfc07c5b0..a430102c27 100644 --- a/Code/Tools/ProjectManager/Source/UpdateProjectSettingsScreen.cpp +++ b/Code/Tools/ProjectManager/Source/UpdateProjectSettingsScreen.cpp @@ -35,7 +35,7 @@ namespace O3DE::ProjectManager previewExtrasLayout->setContentsMargins(50, 0, 0, 0); QLabel* projectPreviewLabel = new QLabel(tr("Select an image (PNG). Minimum %1 x %2 pixels.") - .arg(QString::number(ProjectPreviewImageWidth), QString::number(ProjectPreviewImageHeight))); + .arg(QString::number(ProjectPreviewImageWidth), QString::number(ProjectPreviewImageHeight))); projectPreviewLabel->setObjectName("projectPreviewLabel"); previewExtrasLayout->addWidget(projectPreviewLabel); diff --git a/Code/Tools/ProjectManager/project_manager_files.cmake b/Code/Tools/ProjectManager/project_manager_files.cmake index fcfae2f336..43c11edacc 100644 --- a/Code/Tools/ProjectManager/project_manager_files.cmake +++ b/Code/Tools/ProjectManager/project_manager_files.cmake @@ -58,6 +58,8 @@ set(FILES Source/CreateProjectCtrl.cpp Source/UpdateProjectCtrl.h Source/UpdateProjectCtrl.cpp + Source/ProjectManagerSettings.h + Source/ProjectManagerSettings.cpp Source/ProjectsScreen.h Source/ProjectsScreen.cpp Source/ProjectSettingsScreen.h diff --git a/Gems/AWSClientAuth/Code/Include/Private/Authorization/AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider.h b/Gems/AWSClientAuth/Code/Include/Private/Authorization/AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider.h new file mode 100644 index 0000000000..ad7faf4671 --- /dev/null +++ b/Gems/AWSClientAuth/Code/Include/Private/Authorization/AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#pragma once + +#include +#include +#include + +namespace AWSClientAuth +{ + //! Cognito Caching Credentials Provider implementation that is derived from AWS Native SDK. + //! For use with authenticated credentials. + class AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider + : public Aws::Auth::CognitoCachingCredentialsProvider + { + public: + AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider( + const std::shared_ptr& identityRepository, + const std::shared_ptr& cognitoIdentityClient = nullptr); + + protected: + Aws::CognitoIdentity::Model::GetCredentialsForIdentityOutcome GetCredentialsFromCognito() const override; + }; + + //! Cognito Caching Credentials Provider implementation that is eventually derived from AWS Native SDK. + //! For use with anonymous credentials. + class AWSClientAuthCachingAnonymousCredsProvider : public AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider + { + public: + AWSClientAuthCachingAnonymousCredsProvider( + const std::shared_ptr& identityRepository, + const std::shared_ptr& cognitoIdentityClient = nullptr); + + protected: + Aws::CognitoIdentity::Model::GetCredentialsForIdentityOutcome GetCredentialsFromCognito() const override; + }; + +} // namespace AWSClientAuth diff --git a/Gems/AWSClientAuth/Code/Include/Private/Authorization/AWSCognitoAuthorizationController.h b/Gems/AWSClientAuth/Code/Include/Private/Authorization/AWSCognitoAuthorizationController.h index 042be8fe89..1378feff19 100644 --- a/Gems/AWSClientAuth/Code/Include/Private/Authorization/AWSCognitoAuthorizationController.h +++ b/Gems/AWSClientAuth/Code/Include/Private/Authorization/AWSCognitoAuthorizationController.h @@ -9,6 +9,7 @@ #pragma once #include +#include #include #include #include @@ -51,8 +52,8 @@ namespace AWSClientAuth std::shared_ptr m_persistentCognitoIdentityProvider; std::shared_ptr m_persistentAnonymousCognitoIdentityProvider; - std::shared_ptr m_cognitoCachingCredentialsProvider; - std::shared_ptr m_cognitoCachingAnonymousCredentialsProvider; + std::shared_ptr m_cognitoCachingCredentialsProvider; + std::shared_ptr m_cognitoCachingAnonymousCredentialsProvider; AZStd::string m_cognitoIdentityPoolId; AZStd::string m_formattedCognitoUserPoolId; diff --git a/Gems/AWSClientAuth/Code/Source/Authorization/AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider.cpp b/Gems/AWSClientAuth/Code/Source/Authorization/AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider.cpp new file mode 100644 index 0000000000..2492afa441 --- /dev/null +++ b/Gems/AWSClientAuth/Code/Source/Authorization/AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider.cpp @@ -0,0 +1,122 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include + +#include + +#include +#include +#include +#include +#include +#include +#include + + +namespace AWSClientAuth +{ + static const char* AUTH_LOG_TAG = "AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider"; + static const char* ANON_LOG_TAG = "AWSClientAuthCachingAnonymousCredsProvider"; + + // Modification of https://github.com/aws/aws-sdk-cpp/blob/main/aws-cpp-sdk-identity-management/source/auth/CognitoCachingCredentialsProvider.cpp#L92 + // to work around account ID requirement. Account id is not required for call to succeed and is not set unless provided. + // see: https://github.com/aws/aws-sdk-cpp/issues/1448 + Aws::CognitoIdentity::Model::GetCredentialsForIdentityOutcome FetchCredsFromCognito( + const Aws::CognitoIdentity::CognitoIdentityClient& cognitoIdentityClient, + Aws::Auth::PersistentCognitoIdentityProvider& identityRepository, + const char* logTag, + bool includeLogins) + { + auto logins = identityRepository.GetLogins(); + Aws::Map cognitoLogins; + for (auto& login : logins) + { + cognitoLogins[login.first] = login.second.accessToken; + } + + if (!identityRepository.HasIdentityId()) + { + auto accountId = identityRepository.GetAccountId(); + auto identityPoolId = identityRepository.GetIdentityPoolId(); + + Aws::CognitoIdentity::Model::GetIdRequest getIdRequest; + getIdRequest.SetIdentityPoolId(identityPoolId); + + if (!accountId.empty()) // new check + { + getIdRequest.SetAccountId(accountId); + AWS_LOGSTREAM_INFO(logTag, "Identity not found, requesting an id for accountId " + << accountId << " identity pool id " + << identityPoolId << " with logins."); + } + else + { + AWS_LOGSTREAM_INFO( + logTag, "Identity not found, requesting an id for identity pool id %s" << identityPoolId << " with logins."); + } + if (includeLogins) + { + getIdRequest.SetLogins(cognitoLogins); + } + + auto getIdOutcome = cognitoIdentityClient.GetId(getIdRequest); + if (getIdOutcome.IsSuccess()) + { + auto identityId = getIdOutcome.GetResult().GetIdentityId(); + AWS_LOGSTREAM_INFO(logTag, "Successfully retrieved identity: " << identityId); + identityRepository.PersistIdentityId(identityId); + } + else + { + AWS_LOGSTREAM_ERROR( + logTag, + "Failed to retrieve identity. Error: " << getIdOutcome.GetError().GetExceptionName() << " " + << getIdOutcome.GetError().GetMessage()); + return Aws::CognitoIdentity::Model::GetCredentialsForIdentityOutcome(getIdOutcome.GetError()); + } + } + + Aws::CognitoIdentity::Model::GetCredentialsForIdentityRequest getCredentialsForIdentityRequest; + getCredentialsForIdentityRequest.SetIdentityId(identityRepository.GetIdentityId()); + if (includeLogins) + { + getCredentialsForIdentityRequest.SetLogins(cognitoLogins); + } + + return cognitoIdentityClient.GetCredentialsForIdentity(getCredentialsForIdentityRequest); + } + + AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider::AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider( + const std::shared_ptr& identityRepository, + const std::shared_ptr& cognitoIdentityClient) + : CognitoCachingCredentialsProvider(identityRepository, cognitoIdentityClient) + { + } + + Aws::CognitoIdentity::Model::GetCredentialsForIdentityOutcome + AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider::GetCredentialsFromCognito() const + { + return FetchCredsFromCognito(*m_cognitoIdentityClient, *m_identityRepository, AUTH_LOG_TAG, true); + } + + AWSClientAuthCachingAnonymousCredsProvider::AWSClientAuthCachingAnonymousCredsProvider( + const std::shared_ptr& identityRepository, + const std::shared_ptr& cognitoIdentityClient) + : AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider(identityRepository, cognitoIdentityClient) + { + } + + Aws::CognitoIdentity::Model::GetCredentialsForIdentityOutcome AWSClientAuthCachingAnonymousCredsProvider:: + GetCredentialsFromCognito() const + { + return FetchCredsFromCognito(*m_cognitoIdentityClient, *m_identityRepository, ANON_LOG_TAG, false); + } + + +} // namespace AWSClientAuth diff --git a/Gems/AWSClientAuth/Code/Source/Authorization/AWSCognitoAuthorizationController.cpp b/Gems/AWSClientAuth/Code/Source/Authorization/AWSCognitoAuthorizationController.cpp index 3af28582d6..f53149c90f 100644 --- a/Gems/AWSClientAuth/Code/Source/Authorization/AWSCognitoAuthorizationController.cpp +++ b/Gems/AWSClientAuth/Code/Source/Authorization/AWSCognitoAuthorizationController.cpp @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -38,10 +39,12 @@ namespace AWSClientAuth auto identityClient = AZ::Interface::Get()->GetCognitoIdentityClient(); m_cognitoCachingCredentialsProvider = - std::make_shared(m_persistentCognitoIdentityProvider, identityClient); + std::make_shared( + m_persistentCognitoIdentityProvider, identityClient); m_cognitoCachingAnonymousCredentialsProvider = - std::make_shared(m_persistentAnonymousCognitoIdentityProvider, identityClient); + std::make_shared( + m_persistentAnonymousCognitoIdentityProvider, identityClient); } AWSCognitoAuthorizationController::~AWSCognitoAuthorizationController() @@ -65,9 +68,13 @@ namespace AWSClientAuth AWSCore::AWSResourceMappingRequestBus::BroadcastResult( m_cognitoIdentityPoolId, &AWSCore::AWSResourceMappingRequests::GetResourceNameId, CognitoIdentityPoolIdResourceMappingKey); - if (m_awsAccountId.empty() || m_cognitoIdentityPoolId.empty()) + if (m_awsAccountId.empty()) + { + AZ_TracePrintf("AWSCognitoAuthorizationController", "AWS account id not not configured. Proceeding without it."); + } + + if (m_cognitoIdentityPoolId.empty()) { - AZ_Warning("AWSCognitoAuthorizationController", !m_awsAccountId.empty(), "Missing AWS account id not configured."); AZ_Warning("AWSCognitoAuthorizationController", !m_cognitoIdentityPoolId.empty(), "Missing Cognito Identity pool id in resource mappings."); return false; } diff --git a/Gems/AWSClientAuth/Code/Tests/Authorization/AWSCognitoAuthorizationControllerTest.cpp b/Gems/AWSClientAuth/Code/Tests/Authorization/AWSCognitoAuthorizationControllerTest.cpp index 2269a2340a..19064eb1ed 100644 --- a/Gems/AWSClientAuth/Code/Tests/Authorization/AWSCognitoAuthorizationControllerTest.cpp +++ b/Gems/AWSClientAuth/Code/Tests/Authorization/AWSCognitoAuthorizationControllerTest.cpp @@ -62,6 +62,14 @@ TEST_F(AWSCognitoAuthorizationControllerTest, Initialize_Success) ASSERT_TRUE(m_mockController->m_cognitoIdentityPoolId == AWSClientAuthUnitTest::TEST_RESOURCE_NAME_ID); } +TEST_F(AWSCognitoAuthorizationControllerTest, Initialize_Success_GetAWSAccountEmpty) +{ + EXPECT_CALL(m_awsResourceMappingRequestBusMock, GetResourceNameId(testing::_)).Times(2); + EXPECT_CALL(m_awsResourceMappingRequestBusMock, GetDefaultAccountId()).Times(1).WillOnce(testing::Return("")); + EXPECT_CALL(m_awsResourceMappingRequestBusMock, GetDefaultRegion()).Times(1); + ASSERT_TRUE(m_mockController->Initialize()); +} + TEST_F(AWSCognitoAuthorizationControllerTest, RequestAWSCredentials_WithLogins_Success) { AWSClientAuth::AuthenticationTokens tokens( @@ -121,7 +129,7 @@ TEST_F(AWSCognitoAuthorizationControllerTest, MultipleCalls_UsesCacheCredentials m_mockController->RequestAWSCredentialsAsync(); } -TEST_F(AWSCognitoAuthorizationControllerTest, RequestAWSCredentials_Fail_GetIdError) +TEST_F(AWSCognitoAuthorizationControllerTest, RequestAWSCredentials_Fail_GetIdError) // fail { AWSClientAuth::AuthenticationTokens cognitoTokens( AWSClientAuthUnitTest::TEST_TOKEN, AWSClientAuthUnitTest::TEST_TOKEN, AWSClientAuthUnitTest::TEST_TOKEN, @@ -325,7 +333,7 @@ TEST_F(AWSCognitoAuthorizationControllerTest, GetCredentialsProvider_NoPersisted EXPECT_TRUE(actualCredentialsProvider == m_mockController->m_cognitoCachingAnonymousCredentialsProvider); } -TEST_F(AWSCognitoAuthorizationControllerTest, GetCredentialsProvider_NoPersistedLogins_NoAnonymousCredentials_ResultNullPtr) +TEST_F(AWSCognitoAuthorizationControllerTest, GetCredentialsProvider_NoPersistedLogins_NoAnonymousCredentials_ResultNullPtr) // fails { Aws::Client::AWSError error; error.SetExceptionName(AWSClientAuthUnitTest::TEST_EXCEPTION); @@ -437,11 +445,3 @@ TEST_F(AWSCognitoAuthorizationControllerTest, Initialize_Fail_GetResourceNameEmp EXPECT_CALL(m_awsResourceMappingRequestBusMock, GetDefaultAccountId()).Times(1); ASSERT_FALSE(m_mockController->Initialize()); } - -TEST_F(AWSCognitoAuthorizationControllerTest, Initialize_Fail_GetAWSAccountEmpty) -{ - EXPECT_CALL(m_awsResourceMappingRequestBusMock, GetResourceNameId(testing::_)).Times(1); - EXPECT_CALL(m_awsResourceMappingRequestBusMock, GetDefaultAccountId()).Times(1).WillOnce(testing::Return("")); - EXPECT_CALL(m_awsResourceMappingRequestBusMock, GetDefaultRegion()).Times(0); - ASSERT_FALSE(m_mockController->Initialize()); -} diff --git a/Gems/AWSClientAuth/Code/awsclientauth_files.cmake b/Gems/AWSClientAuth/Code/awsclientauth_files.cmake index bd4c971377..3b07b710e7 100644 --- a/Gems/AWSClientAuth/Code/awsclientauth_files.cmake +++ b/Gems/AWSClientAuth/Code/awsclientauth_files.cmake @@ -24,6 +24,7 @@ set(FILES Include/Private/Authorization/AWSCognitoAuthorizationController.h Include/Private/Authorization/AWSClientAuthPersistentCognitoIdentityProvider.h Include/Private/Authorization/AWSCognitoAuthorizationNotificationBusBehaviorHandler.h + Include/Private/Authorization/AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider.h Include/Private/UserManagement/AWSCognitoUserManagementController.h Include/Private/UserManagement/UserManagementNotificationBusBehaviorHandler.h @@ -45,6 +46,7 @@ set(FILES Source/Authorization/ClientAuthAWSCredentials.cpp Source/Authorization/AWSCognitoAuthorizationController.cpp Source/Authorization/AWSClientAuthPersistentCognitoIdentityProvider.cpp + Source/Authorization/AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider.cpp Source/UserManagement/AWSCognitoUserManagementController.cpp ) diff --git a/Gems/AWSCore/Code/CMakeLists.txt b/Gems/AWSCore/Code/CMakeLists.txt index 7559f4720b..624f61d88a 100644 --- a/Gems/AWSCore/Code/CMakeLists.txt +++ b/Gems/AWSCore/Code/CMakeLists.txt @@ -154,10 +154,20 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED) AZ::AWSNativeSDKInit Gem::AWSCore.Static ) + ly_add_googletest( NAME Gem::AWSCore.Tests ) + ly_add_target_files( + TARGETS + AWSCore.Tests + FILES + ${CMAKE_CURRENT_SOURCE_DIR}/Tools/ResourceMappingTool/resource_mapping_schema.json + OUTPUT_SUBDIRECTORY + Gems/AWSCore + ) + if (PAL_TRAIT_BUILD_HOST_TOOLS) ly_add_target( NAME AWSCore.Editor.Tests ${PAL_TRAIT_TEST_TARGET_TYPE} @@ -189,4 +199,13 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED) endif() endif() +ly_add_target_files( + TARGETS + AWSCore + FILES + ${CMAKE_CURRENT_SOURCE_DIR}/Tools/ResourceMappingTool/resource_mapping_schema.json + OUTPUT_SUBDIRECTORY + Gems/AWSCore +) + ly_install_directory(DIRECTORIES Tools/ResourceMappingTool) diff --git a/Gems/AWSCore/Code/Include/Private/ResourceMapping/AWSResourceMappingConstants.h b/Gems/AWSCore/Code/Include/Private/ResourceMapping/AWSResourceMappingConstants.h index a3d18c1ea1..e9d063eb5f 100644 --- a/Gems/AWSCore/Code/Include/Private/ResourceMapping/AWSResourceMappingConstants.h +++ b/Gems/AWSCore/Code/Include/Private/ResourceMapping/AWSResourceMappingConstants.h @@ -22,63 +22,6 @@ namespace AWSCore static constexpr const char ResourceMappingTypeKeyName[] = "Type"; static constexpr const char ResourceMappingVersionKeyName[] = "Version"; - // TODO: move this into an independent file under AWSCore gem, if resource mapping tool can reuse it - static constexpr const char ResourceMappingJsonSchema[] = - R"({ - "$schema": "http://json-schema.org/draft-04/schema", - "type": "object", - "title": "The AWS Resource Mapping Root schema", - "required": ["AWSResourceMappings", "AccountId", "Region", "Version"], - "properties": { - "AWSResourceMappings": { - "type": "object", - "title": "The AWSResourceMappings schema", - "patternProperties": { - "^.+$": { - "type": "object", - "title": "The AWS Resource Entry schema", - "required": ["Type", "Name/ID"], - "properties": { - "Type": { - "$ref": "#/NonEmptyString" - }, - "Name/ID": { - "$ref": "#/NonEmptyString" - }, - "AccountId": { - "$ref": "#/AccountIdString" - }, - "Region": { - "$ref": "#/RegionString" - } - } - } - }, - "additionalProperties": false - }, - "AccountId": { - "$ref": "#/AccountIdString" - }, - "Region": { - "$ref": "#/RegionString" - }, - "Version": { - "pattern": "^[0-9]{1}.[0-9]{1}.[0-9]{1}$" - } - }, - "AccountIdString": { - "type": "string", - "pattern": "^[0-9]{12}$|EMPTY|^$" - }, - "NonEmptyString": { - "type": "string", - "minLength": 1 - }, - "RegionString": { - "type": "string", - "pattern": "^[a-z]{2}-[a-z]{4,9}-[0-9]{1}$" - }, - "additionalProperties": false -})"; - + static constexpr const char ResourceMapppingJsonSchemaFilePath[] = + "Gems/AWSCore/resource_mapping_schema.json"; } // namespace AWSCore diff --git a/Gems/AWSCore/Code/Source/ResourceMapping/AWSResourceMappingManager.cpp b/Gems/AWSCore/Code/Source/ResourceMapping/AWSResourceMappingManager.cpp index faec07b19e..d6a3912523 100644 --- a/Gems/AWSCore/Code/Source/ResourceMapping/AWSResourceMappingManager.cpp +++ b/Gems/AWSCore/Code/Source/ResourceMapping/AWSResourceMappingManager.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include @@ -244,14 +245,16 @@ namespace AWSCore bool AWSResourceMappingManager::ValidateJsonDocumentAgainstSchema(const rapidjson::Document& jsonDocument) { - rapidjson::Document jsonSchemaDocument; - if (jsonSchemaDocument.Parse(ResourceMappingJsonSchema).HasParseError()) + AZ::IO::Path executablePath = AZ::IO::PathView(AZ::Utils::GetExecutableDirectory()); + AZ::IO::Path jsonSchemaPath = (executablePath / ResourceMapppingJsonSchemaFilePath).LexicallyNormal(); + AZ::Outcome readJsonOutcome = AZ::JsonSerializationUtils::ReadJsonFile(jsonSchemaPath.c_str()); + if (!readJsonOutcome.IsSuccess() || readJsonOutcome.TakeValue().ObjectEmpty()) { AZ_Error(AWSResourceMappingManagerName, false, ResourceMappingFileInvalidSchemaErrorMessage); return false; } - auto jsonSchema = rapidjson::SchemaDocument(jsonSchemaDocument); + auto jsonSchema = rapidjson::SchemaDocument(readJsonOutcome.TakeValue()); rapidjson::SchemaValidator validator(jsonSchema); if (!jsonDocument.Accept(validator)) diff --git a/Gems/AWSCore/Code/Tests/ResourceMapping/AWSResourceMappingManagerTest.cpp b/Gems/AWSCore/Code/Tests/ResourceMapping/AWSResourceMappingManagerTest.cpp index a90518006f..fd37e6e228 100644 --- a/Gems/AWSCore/Code/Tests/ResourceMapping/AWSResourceMappingManagerTest.cpp +++ b/Gems/AWSCore/Code/Tests/ResourceMapping/AWSResourceMappingManagerTest.cpp @@ -84,7 +84,7 @@ static constexpr const char TEST_VALID_EMPTY_ACCOUNTID_RESOURCE_MAPPING_CONFIG_F }, "AccountId": "", "Region": "us-west-2", - "Version": "1.0.0" + "Version": "1.1.0" })"; static constexpr const char TEST_INVALID_RESOURCE_MAPPING_CONFIG_FILE[] = @@ -121,7 +121,7 @@ public: void SetUp() override { - AWSCoreFixture::SetUp(); + AWSCoreFixture::SetUpFixture(false); m_normalizedSourceProjectFolder = AZStd::string::format("%s/%s%s/", AZ::Test::GetCurrentExecutablePath().c_str(), "AWSResourceMappingManager", AZ::Uuid::CreateRandom().ToString(false, false).c_str()); @@ -142,7 +142,7 @@ public: m_resourceMappingManager->DeactivateManager(); m_resourceMappingManager.reset(); - AWSCoreFixture::TearDown(); + AWSCoreFixture::TearDownFixture(false); } // AWSCoreInternalRequestBus interface implementation diff --git a/Gems/AWSCore/Code/Tests/TestFramework/AWSCoreFixture.h b/Gems/AWSCore/Code/Tests/TestFramework/AWSCoreFixture.h index 1d14484387..65e609b490 100644 --- a/Gems/AWSCore/Code/Tests/TestFramework/AWSCoreFixture.h +++ b/Gems/AWSCore/Code/Tests/TestFramework/AWSCoreFixture.h @@ -8,6 +8,7 @@ #pragma once +#include #include #include #include @@ -111,6 +112,11 @@ public: ~AWSCoreFixture() override = default; void SetUp() override + { + SetUpFixture(); + } + + void SetUpFixture(bool mockSettingsRegistry = true) { AZ::AllocatorInstance::Create(); AZ::AllocatorInstance::Create(); @@ -120,14 +126,33 @@ public: AZ::IO::FileIOBase::SetInstance(nullptr); AZ::IO::FileIOBase::SetInstance(m_localFileIO); - m_settingsRegistry = AZStd::make_unique(); - AZ::SettingsRegistry::Register(m_settingsRegistry.get()); + if (mockSettingsRegistry) + { + m_settingsRegistry = AZStd::make_unique(); + AZ::SettingsRegistry::Register(m_settingsRegistry.get()); + } + else + { + m_app = AZStd::make_unique(); + } } void TearDown() override { - AZ::SettingsRegistry::Unregister(m_settingsRegistry.get()); - m_settingsRegistry.reset(); + TearDownFixture(); + } + + void TearDownFixture(bool mockSettingsRegistry = true) + { + if (mockSettingsRegistry) + { + AZ::SettingsRegistry::Unregister(m_settingsRegistry.get()); + m_settingsRegistry.reset(); + } + else + { + m_app.reset(); + } AZ::IO::FileIOBase::SetInstance(nullptr); @@ -173,4 +198,5 @@ private: protected: AZStd::unique_ptr m_settingsRegistry; + AZStd::unique_ptr m_app; }; diff --git a/Gems/AWSCore/Code/Tools/ResourceMappingTool/README.md b/Gems/AWSCore/Code/Tools/ResourceMappingTool/README.md index e09ecc281f..38b7c48d2f 100644 --- a/Gems/AWSCore/Code/Tools/ResourceMappingTool/README.md +++ b/Gems/AWSCore/Code/Tools/ResourceMappingTool/README.md @@ -17,7 +17,7 @@ Or follow **AWS CLI** configuration which can be reused by boto3 lib: 1. In order to use engine python environment, it requires to link Qt binaries for this tool. Follow cmake instructions to configure your project, for example: ``` - $ cmake -B -S . -G "Visual Studio 16 2019" -DLY_3RDPARTY_PATH= -DLY_PROJECTS= + $ cmake -B -S . -G "Visual Studio 16 2019" -DLY_PROJECTS= ``` 2. At this point, double check engine python environment gets setup under */python/runtime* directory diff --git a/Gems/AWSCore/Code/Tools/ResourceMappingTool/resource_mapping_schema.json b/Gems/AWSCore/Code/Tools/ResourceMappingTool/resource_mapping_schema.json new file mode 100644 index 0000000000..21bc3334ce --- /dev/null +++ b/Gems/AWSCore/Code/Tools/ResourceMappingTool/resource_mapping_schema.json @@ -0,0 +1,56 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema", + "type": "object", + "title": "O3DE AWS Resource mapping file schema", + "required": ["AWSResourceMappings", "AccountId", "Region", "Version"], + "properties": { + "AWSResourceMappings": { + "type": "object", + "title": "AWS resource mappings schema", + "patternProperties": { + "^.+$": { + "type": "object", + "title": "AWS resource entry schema", + "required": ["Type", "Name/ID"], + "properties": { + "Type": { + "$ref": "#/NonEmptyString" + }, + "Name/ID": { + "$ref": "#/NonEmptyString" + }, + "AccountId": { + "$ref": "#/AccountIdString" + }, + "Region": { + "$ref": "#/RegionString" + } + } + } + }, + "additionalProperties": false + }, + "AccountId": { + "$ref": "#/AccountIdString" + }, + "Region": { + "$ref": "#/RegionString" + }, + "Version": { + "pattern": "^[0-9]{1}.[0-9]{1}.[0-9]{1}$" + } + }, + "AccountIdString": { + "type": "string", + "pattern": "^[0-9]{12}$|EMPTY|^$" + }, + "NonEmptyString": { + "type": "string", + "minLength": 1 + }, + "RegionString": { + "type": "string", + "pattern": "^[a-z]{2}-[a-z]{4,9}-[0-9]{1}$" + }, + "additionalProperties": false +} diff --git a/Gems/AWSCore/Code/Tools/ResourceMappingTool/resource_mapping_tool.py b/Gems/AWSCore/Code/Tools/ResourceMappingTool/resource_mapping_tool.py index 2351fd001b..7424854d2a 100755 --- a/Gems/AWSCore/Code/Tools/ResourceMappingTool/resource_mapping_tool.py +++ b/Gems/AWSCore/Code/Tools/ResourceMappingTool/resource_mapping_tool.py @@ -10,6 +10,7 @@ import logging import sys from utils import environment_utils +from utils import json_utils from utils import file_utils # arguments setup @@ -74,6 +75,15 @@ if __name__ == "__main__": except FileNotFoundError: logger.warning("Failed to load style sheet for resource mapping tool") + try: + schema_path: str = file_utils.join_path(file_utils.get_parent_directory_path(__file__), + 'resource_mapping_schema.json') + json_utils.load_resource_mapping_json_schema(schema_path) + except (FileNotFoundError, ValueError, KeyError) as e: + logger.error(f"Failed to load schema file {e}") + environment_utils.cleanup_qt_environment() + exit(-1) + logger.info("Initializing configuration manager ...") configuration_manager: ConfigurationManager = ConfigurationManager() configuration_error: bool = not configuration_manager.setup(arguments.profile, arguments.config_path) diff --git a/Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/utils/test_file_utils.py b/Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/utils/test_file_utils.py index fe0f1754f3..e74771f1ef 100755 --- a/Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/utils/test_file_utils.py +++ b/Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/utils/test_file_utils.py @@ -68,12 +68,65 @@ class TestFileUtils(TestCase): self._mock_path.cwd.assert_called_once() assert actual_path_name == TestFileUtils._expected_path_name - def test_get_parent_directory_path_return_expected_path_name(self) -> None: - self._mock_path.return_value.parent = TestFileUtils._expected_path_name + def test_get_parent_directory_path_return_empty_when_invalid_input(self) -> None: + mocked_path: MagicMock = self._mock_path.return_value + mocked_path.exists.return_value = False actual_path_name: str = file_utils.get_parent_directory_path("dummy") self._mock_path.assert_called_once() - assert actual_path_name == TestFileUtils._expected_path_name + assert actual_path_name == "" + + def test_get_parent_directory_path_return_empty_when_parent_invalid(self) -> None: + mocked_path: MagicMock = self._mock_path.return_value + mocked_path.exists.return_value = True + mocked_parent_path: MagicMock = MagicMock() + mocked_path.parent = mocked_parent_path + mocked_parent_path.exists.return_value = False + + actual_path_name: str = file_utils.get_parent_directory_path("dummy") + self._mock_path.assert_called() + assert actual_path_name == "" + + def test_get_parent_directory_path_return_expected_path_when_parent_valid(self) -> None: + mocked_path: MagicMock = self._mock_path.return_value + mocked_path.exists.return_value = True + mocked_parent_path: MagicMock = MagicMock() + mocked_path.parent = mocked_parent_path + mocked_parent_path.exists.return_value = True + mocked_parent_path.resolve.return_value = TestFileUtils._expected_file_name + + actual_path_name: str = file_utils.get_parent_directory_path("dummy") + self._mock_path.assert_called() + assert actual_path_name == TestFileUtils._expected_file_name + + def test_get_parent_directory_path_return_empty_when_level_two_parent_invalid(self) -> None: + mocked_path: MagicMock = self._mock_path.return_value + mocked_path.exists.return_value = True + mocked_parent_path1: MagicMock = MagicMock() + mocked_path.parent = mocked_parent_path1 + mocked_parent_path1.exists.return_value = True + mocked_parent_path2: MagicMock = MagicMock() + mocked_parent_path1.parent = mocked_parent_path2 + mocked_parent_path2.exists.return_value = False + + actual_path_name: str = file_utils.get_parent_directory_path("dummy", 2) + self._mock_path.assert_called() + assert actual_path_name == "" + + def test_get_parent_directory_path_return_expected_path_when_level_two_parent_valid(self) -> None: + mocked_path: MagicMock = self._mock_path.return_value + mocked_path.exists.return_value = True + mocked_parent_path1: MagicMock = MagicMock() + mocked_path.parent = mocked_parent_path1 + mocked_parent_path1.exists.return_value = True + mocked_parent_path2: MagicMock = MagicMock() + mocked_parent_path1.parent = mocked_parent_path2 + mocked_parent_path2.exists.return_value = True + mocked_parent_path2.resolve.return_value = TestFileUtils._expected_file_name + + actual_path_name: str = file_utils.get_parent_directory_path("dummy", 2) + self._mock_path.assert_called() + assert actual_path_name == TestFileUtils._expected_file_name def test_find_files_with_suffix_under_directory_return_expected_file_name(self) -> None: mocked_path: MagicMock = self._mock_path.return_value diff --git a/Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/utils/test_json_utils.py b/Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/utils/test_json_utils.py index 9fe99461ba..819bfb72fc 100755 --- a/Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/utils/test_json_utils.py +++ b/Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/utils/test_json_utils.py @@ -10,6 +10,7 @@ from typing import (Dict, List) from unittest import TestCase from unittest.mock import (MagicMock, mock_open, patch) +from utils import file_utils from utils import json_utils from model import constants from model.resource_mapping_attributes import (ResourceMappingAttributes, ResourceMappingAttributesBuilder, @@ -49,6 +50,10 @@ class TestJsonUtils(TestCase): } def setUp(self) -> None: + schema_path: str = file_utils.join_path(file_utils.get_parent_directory_path(__file__, 4), + 'resource_mapping_schema.json') + json_utils.load_resource_mapping_json_schema(schema_path) + self._mock_open = mock_open() open_patcher: patch = patch("utils.json_utils.open", self._mock_open) self.addCleanup(open_patcher.stop) diff --git a/Gems/AWSCore/Code/Tools/ResourceMappingTool/utils/file_utils.py b/Gems/AWSCore/Code/Tools/ResourceMappingTool/utils/file_utils.py index 9e5dd9617b..9899c5dbb2 100755 --- a/Gems/AWSCore/Code/Tools/ResourceMappingTool/utils/file_utils.py +++ b/Gems/AWSCore/Code/Tools/ResourceMappingTool/utils/file_utils.py @@ -33,8 +33,29 @@ def get_current_directory_path() -> str: return str(pathlib.Path.cwd()) -def get_parent_directory_path(file_path: str) -> str: - return pathlib.Path(file_path).parent +def get_parent_directory_path(file_path: str, level: int = 1) -> str: + """ + Get parent directory path based on requested file path + :param file_path: The requested file path + :param level: The level of parent directory, default value is 1 + :return The string value of parent directory path if exist; otherwise empty string + """ + if not pathlib.Path(file_path).exists(): + return "" + + result: pathlib.Path = pathlib.Path(file_path).parent + current_level: int = 1 + while current_level < level: + current_level += 1 + if result.exists(): + result = result.parent + else: + return "" + + if not result.exists(): + return "" + else: + return result.resolve() def find_files_with_suffix_under_directory(dir_path: str, suffix: str) -> List[str]: diff --git a/Gems/AWSCore/Code/Tools/ResourceMappingTool/utils/json_utils.py b/Gems/AWSCore/Code/Tools/ResourceMappingTool/utils/json_utils.py index 7926cca970..3af9b9ff4a 100755 --- a/Gems/AWSCore/Code/Tools/ResourceMappingTool/utils/json_utils.py +++ b/Gems/AWSCore/Code/Tools/ResourceMappingTool/utils/json_utils.py @@ -19,18 +19,29 @@ Json Utils provide related functions to read/write/serialize/deserialize json fo """ logger = logging.getLogger(__name__) +# resource mapping json content constants _RESOURCE_MAPPING_JSON_KEY_NAME: str = "AWSResourceMappings" _RESOURCE_MAPPING_TYPE_JSON_KEY_NAME: str = "Type" _RESOURCE_MAPPING_NAMEID_JSON_KEY_NAME: str = "Name/ID" _RESOURCE_MAPPING_REGION_JSON_KEY_NAME: str = "Region" _RESOURCE_MAPPING_VERSION_JSON_KEY_NAME: str = "Version" -_RESOURCE_MAPPING_JSON_FORMAT_VERSION: str = "1.0.0" - +_RESOURCE_MAPPING_JSON_FORMAT_VERSION: str = "1.1.0" RESOURCE_MAPPING_ACCOUNTID_JSON_KEY_NAME: str = "AccountId" RESOURCE_MAPPING_ACCOUNTID_TEMPLATE_VALUE: str = "EMPTY" -_RESOURCE_MAPPING_ACCOUNTID_PATTERN: str = f"^[0-9]{{12}}$|{RESOURCE_MAPPING_ACCOUNTID_TEMPLATE_VALUE}|^$" -_RESOURCE_MAPPING_REGION_PATTERN: str = "^[a-z]{2}-[a-z]{4,9}-[0-9]{1}$" -_RESOURCE_MAPPING_VERSION_PATTERN: str = "^[0-9]{1}.[0-9]{1}.[0-9]{1}$" + +# resource mapping json schema constants +_RESOURCE_MAPPING_SCHEMA_ACCOUNTID_KEY_NAME: str = "AccountIdString" +_RESOURCE_MAPPING_SCHEMA_REGION_KEY_NAME: str = "RegionString" +_RESOURCE_MAPPING_SCHEMA_REQUIRED_PROPERTIES_KEY_NAME: str = "required" +_RESOURCE_MAPPING_SCHEMA_PROPERTIES_KEY_NAME: str = "properties" +_RESOURCE_MAPPING_SCHEMA_PATTERN_PROPERTIES_KEY_NAME: str = "patternProperties" +_RESOURCE_MAPPING_SCHEMA_PROPERTY_PATTERN_KEY_NAME: str = "pattern" +_RESOURCE_MAPPING_SCHEMA: Dict[str, any] = {} +_RESOURCE_MAPPING_SCHEMA_REQUIRED_ROOT_PROPERTIES: List[str] = [] +_RESOURCE_MAPPING_SCHEMA_REQUIRED_RESOURCE_PROPERTIES: List[str] = [] +_RESOURCE_MAPPING_SCHEMA_ACCOUNTID_PATTERN: str = "" +_RESOURCE_MAPPING_SCHEMA_REGION_PATTERN: str = "" +_RESOURCE_MAPPING_SCHEMA_VERSION_PATTERN: str = "" def _add_validation_error_message(errors: Dict[int, List[str]], row: int, error_message: str) -> None: if row in errors.keys(): @@ -119,6 +130,26 @@ def convert_json_dict_to_resources(json_dict: Dict[str, any]) -> List[ResourceMa return resources +def load_resource_mapping_json_schema(schema_path: str) -> None: + global _RESOURCE_MAPPING_SCHEMA, _RESOURCE_MAPPING_SCHEMA_REQUIRED_ROOT_PROPERTIES, _RESOURCE_MAPPING_SCHEMA_REQUIRED_RESOURCE_PROPERTIES,\ + _RESOURCE_MAPPING_SCHEMA_ACCOUNTID_PATTERN, _RESOURCE_MAPPING_SCHEMA_REGION_PATTERN, _RESOURCE_MAPPING_SCHEMA_VERSION_PATTERN + + if not _RESOURCE_MAPPING_SCHEMA: + # assume schema should be in correct format, and manually load expected pattern; tool will log error if schema is invalid + _RESOURCE_MAPPING_SCHEMA = read_from_json_file(schema_path) + _RESOURCE_MAPPING_SCHEMA_REQUIRED_ROOT_PROPERTIES = _RESOURCE_MAPPING_SCHEMA[_RESOURCE_MAPPING_SCHEMA_REQUIRED_PROPERTIES_KEY_NAME] + schema_properties: Dict[str, any] = _RESOURCE_MAPPING_SCHEMA[_RESOURCE_MAPPING_SCHEMA_PROPERTIES_KEY_NAME] + schema_pattern_properties: Dict[str, any] = \ + schema_properties[_RESOURCE_MAPPING_JSON_KEY_NAME][_RESOURCE_MAPPING_SCHEMA_PATTERN_PROPERTIES_KEY_NAME] + _RESOURCE_MAPPING_SCHEMA_REQUIRED_RESOURCE_PROPERTIES = list(schema_pattern_properties.values())[0][_RESOURCE_MAPPING_SCHEMA_REQUIRED_PROPERTIES_KEY_NAME] + _RESOURCE_MAPPING_SCHEMA_ACCOUNTID_PATTERN = \ + _RESOURCE_MAPPING_SCHEMA[_RESOURCE_MAPPING_SCHEMA_ACCOUNTID_KEY_NAME][_RESOURCE_MAPPING_SCHEMA_PROPERTY_PATTERN_KEY_NAME] + _RESOURCE_MAPPING_SCHEMA_REGION_PATTERN = \ + _RESOURCE_MAPPING_SCHEMA[_RESOURCE_MAPPING_SCHEMA_REGION_KEY_NAME][_RESOURCE_MAPPING_SCHEMA_PROPERTY_PATTERN_KEY_NAME] + _RESOURCE_MAPPING_SCHEMA_VERSION_PATTERN = \ + schema_properties[_RESOURCE_MAPPING_VERSION_JSON_KEY_NAME][_RESOURCE_MAPPING_SCHEMA_PROPERTY_PATTERN_KEY_NAME] + + def read_from_json_file(file_name: str) -> Dict[str, any]: try: json_dict: Dict[str, any] = {} @@ -166,20 +197,20 @@ def validate_resources_according_to_json_schema(resources: List[ResourceMappingA invalid_resources, row_count, error_messages.INVALID_FORMAT_DUPLICATED_KEY_ERROR_MESSAGE.format(resource.key_name)) - if not re.match(_RESOURCE_MAPPING_ACCOUNTID_PATTERN, resource.account_id): + if not re.match(_RESOURCE_MAPPING_SCHEMA_ACCOUNTID_PATTERN, resource.account_id): _add_validation_error_message( invalid_resources, row_count, error_messages.INVALID_FORMAT_UNEXPECTED_VALUE_IN_TABLE_ERROR_MESSAGE.format( resource.account_id, RESOURCE_MAPPING_ACCOUNTID_JSON_KEY_NAME, - _RESOURCE_MAPPING_ACCOUNTID_PATTERN)) + _RESOURCE_MAPPING_SCHEMA_ACCOUNTID_PATTERN)) - if not re.match(_RESOURCE_MAPPING_REGION_PATTERN, resource.region): + if not re.match(_RESOURCE_MAPPING_SCHEMA_REGION_PATTERN, resource.region): _add_validation_error_message( invalid_resources, row_count, error_messages.INVALID_FORMAT_UNEXPECTED_VALUE_IN_TABLE_ERROR_MESSAGE.format( resource.region, _RESOURCE_MAPPING_REGION_JSON_KEY_NAME, - _RESOURCE_MAPPING_REGION_PATTERN)) + _RESOURCE_MAPPING_SCHEMA_REGION_PATTERN)) row_count += 1 @@ -187,30 +218,32 @@ def validate_resources_according_to_json_schema(resources: List[ResourceMappingA def validate_json_dict_according_to_json_schema(json_dict: Dict[str, any]) -> None: - _validate_required_key_in_json_dict(json_dict, "root", _RESOURCE_MAPPING_VERSION_JSON_KEY_NAME) - _validate_required_key_in_json_dict(json_dict, "root", _RESOURCE_MAPPING_JSON_KEY_NAME) + # The reason we keep this manual json schema validation is python missing supportive feature in default libs + # When it is ready, we should be able to replace this with straightforward lib function call + root_property: str + for root_property in _RESOURCE_MAPPING_SCHEMA_REQUIRED_ROOT_PROPERTIES: + _validate_required_key_in_json_dict(json_dict, "root", root_property) - _validate_required_key_in_json_dict(json_dict, "root", RESOURCE_MAPPING_ACCOUNTID_JSON_KEY_NAME) - if not re.match(_RESOURCE_MAPPING_ACCOUNTID_PATTERN, json_dict[RESOURCE_MAPPING_ACCOUNTID_JSON_KEY_NAME]): + if not re.match(_RESOURCE_MAPPING_SCHEMA_ACCOUNTID_PATTERN, json_dict[RESOURCE_MAPPING_ACCOUNTID_JSON_KEY_NAME]): raise ValueError(error_messages.INVALID_FORMAT_UNEXPECTED_VALUE_IN_FILE_ERROR_MESSAGE.format( json_dict[RESOURCE_MAPPING_ACCOUNTID_JSON_KEY_NAME], f"root/{RESOURCE_MAPPING_ACCOUNTID_JSON_KEY_NAME}", - _RESOURCE_MAPPING_ACCOUNTID_PATTERN)) + _RESOURCE_MAPPING_SCHEMA_ACCOUNTID_PATTERN)) - _validate_required_key_in_json_dict(json_dict, "root", _RESOURCE_MAPPING_REGION_JSON_KEY_NAME) - if not re.match(_RESOURCE_MAPPING_REGION_PATTERN, json_dict[_RESOURCE_MAPPING_REGION_JSON_KEY_NAME]): + if not re.match(_RESOURCE_MAPPING_SCHEMA_REGION_PATTERN, json_dict[_RESOURCE_MAPPING_REGION_JSON_KEY_NAME]): raise ValueError(error_messages.INVALID_FORMAT_UNEXPECTED_VALUE_IN_FILE_ERROR_MESSAGE.format( json_dict[_RESOURCE_MAPPING_REGION_JSON_KEY_NAME], f"root/{_RESOURCE_MAPPING_REGION_JSON_KEY_NAME}", - _RESOURCE_MAPPING_REGION_PATTERN)) + _RESOURCE_MAPPING_SCHEMA_REGION_PATTERN)) json_resources: Dict[str, any] = json_dict[_RESOURCE_MAPPING_JSON_KEY_NAME] if json_resources: resource_key: str resource_value: Dict[str, str] for resource_key, resource_value in json_resources.items(): - _validate_required_key_in_json_dict(resource_value, resource_key, _RESOURCE_MAPPING_TYPE_JSON_KEY_NAME) - _validate_required_key_in_json_dict(resource_value, resource_key, _RESOURCE_MAPPING_NAMEID_JSON_KEY_NAME) + resource_property: str + for resource_property in _RESOURCE_MAPPING_SCHEMA_REQUIRED_RESOURCE_PROPERTIES: + _validate_required_key_in_json_dict(resource_value, resource_key, resource_property) def write_into_json_file(file_name: str, json_dict: Dict[str, any]) -> None: diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/Albedo.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Albedo.preset similarity index 60% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/Albedo.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Albedo.preset index fe2e7e0cb4..dc1f38d2da 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/Albedo.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Albedo.preset @@ -7,16 +7,6 @@ "UUID": "{08A95286-ADB2-41E4-96EB-DB48F4726D6A}", "Name": "Albedo", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_basecolor", - "_diff", - "_color", - "_col", - "_albedo", - "_alb", - "_bc", - "_diffuse" - ], "PixelFormat": "BC1", "DiscardAlpha": true, "IsPowerOf2": true, @@ -29,16 +19,6 @@ "UUID": "{08A95286-ADB2-41E4-96EB-DB48F4726D6A}", "Name": "Albedo", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_col", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "ASTC_6x6", "MaxTextureSize": 2048, "DiscardAlpha": true, @@ -51,16 +31,6 @@ "UUID": "{08A95286-ADB2-41E4-96EB-DB48F4726D6A}", "Name": "Albedo", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_col", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "ASTC_6x6", "MaxTextureSize": 2048, "DiscardAlpha": true, @@ -73,16 +43,6 @@ "UUID": "{08A95286-ADB2-41E4-96EB-DB48F4726D6A}", "Name": "Albedo", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_col", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "BC1", "DiscardAlpha": true, "IsPowerOf2": true, @@ -94,16 +54,6 @@ "UUID": "{08A95286-ADB2-41E4-96EB-DB48F4726D6A}", "Name": "Albedo", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_col", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "BC1", "DiscardAlpha": true, "IsPowerOf2": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/AlbedoWithCoverage.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/AlbedoWithCoverage.preset similarity index 60% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/AlbedoWithCoverage.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/AlbedoWithCoverage.preset index fda5a9cc52..439a057410 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/AlbedoWithCoverage.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/AlbedoWithCoverage.preset @@ -7,15 +7,6 @@ "UUID": "{57ED16B1-407B-4E29-BCFC-D3BAE60F2C85}", "Name": "AlbedoWithCoverage", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "BC1a", "IsPowerOf2": true, "MipMapSetting": { @@ -27,15 +18,6 @@ "UUID": "{57ED16B1-407B-4E29-BCFC-D3BAE60F2C85}", "Name": "AlbedoWithCoverage", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "ASTC_6x6", "IsPowerOf2": true, "MipMapSetting": { @@ -46,15 +28,6 @@ "UUID": "{57ED16B1-407B-4E29-BCFC-D3BAE60F2C85}", "Name": "AlbedoWithCoverage", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "ASTC_6x6", "IsPowerOf2": true, "MipMapSetting": { @@ -65,15 +38,6 @@ "UUID": "{57ED16B1-407B-4E29-BCFC-D3BAE60F2C85}", "Name": "AlbedoWithCoverage", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "BC1a", "IsPowerOf2": true, "MipMapSetting": { @@ -84,15 +48,6 @@ "UUID": "{57ED16B1-407B-4E29-BCFC-D3BAE60F2C85}", "Name": "AlbedoWithCoverage", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "BC1a", "IsPowerOf2": true, "MipMapSetting": { diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/AlbedoWithGenericAlpha.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/AlbedoWithGenericAlpha.preset similarity index 55% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/AlbedoWithGenericAlpha.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/AlbedoWithGenericAlpha.preset index 19d2b2bbe6..c315ede21c 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/AlbedoWithGenericAlpha.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/AlbedoWithGenericAlpha.preset @@ -7,17 +7,7 @@ "UUID": "{5D9ECB52-4CD9-4CB8-80E3-10CAE5EFB8A2}", "Name": "AlbedoWithGenericAlpha", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], - "PixelFormat": "BC3", - "IsPowerOf2": true, + "PixelFormat": "ASTC_4x4", "MipMapSetting": { "MipGenType": "Box" } @@ -27,18 +17,8 @@ "UUID": "{5D9ECB52-4CD9-4CB8-80E3-10CAE5EFB8A2}", "Name": "AlbedoWithGenericAlpha", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "ASTC_6x6", "MaxTextureSize": 2048, - "IsPowerOf2": true, "MipMapSetting": { "MipGenType": "Box" } @@ -47,18 +27,8 @@ "UUID": "{5D9ECB52-4CD9-4CB8-80E3-10CAE5EFB8A2}", "Name": "AlbedoWithGenericAlpha", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "ASTC_6x6", "MaxTextureSize": 2048, - "IsPowerOf2": true, "MipMapSetting": { "MipGenType": "Box" } @@ -67,17 +37,7 @@ "UUID": "{5D9ECB52-4CD9-4CB8-80E3-10CAE5EFB8A2}", "Name": "AlbedoWithGenericAlpha", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "BC3", - "IsPowerOf2": true, "MipMapSetting": { "MipGenType": "Box" } @@ -86,17 +46,7 @@ "UUID": "{5D9ECB52-4CD9-4CB8-80E3-10CAE5EFB8A2}", "Name": "AlbedoWithGenericAlpha", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_diff", - "_color", - "_albedo", - "_alb", - "_basecolor", - "_bc", - "_diffuse" - ], "PixelFormat": "BC3", - "IsPowerOf2": true, "MipMapSetting": { "MipGenType": "Box" } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/AmbientOcclusion.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/AmbientOcclusion.preset similarity index 64% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/AmbientOcclusion.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/AmbientOcclusion.preset index d5acef34d6..573de18b88 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/AmbientOcclusion.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/AmbientOcclusion.preset @@ -8,12 +8,6 @@ "Name": "AmbientOcclusion", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ao", - "_ambocc", - "_amb", - "_ambientocclusion" - ], "PixelFormat": "BC4" }, "PlatformsPresets": { @@ -22,12 +16,6 @@ "Name": "AmbientOcclusion", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ao", - "_ambocc", - "_amb", - "_ambientocclusion" - ], "MaxTextureSize": 2048, "PixelFormat": "ASTC_4x4" }, @@ -36,12 +24,6 @@ "Name": "AmbientOcclusion", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ao", - "_ambocc", - "_amb", - "_ambientocclusion" - ], "MaxTextureSize": 2048, "PixelFormat": "ASTC_4x4" }, @@ -50,12 +32,6 @@ "Name": "AmbientOcclusion", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ao", - "_ambocc", - "_amb", - "_ambientocclusion" - ], "PixelFormat": "BC4" }, "provo": { @@ -63,12 +39,6 @@ "Name": "AmbientOcclusion", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ao", - "_ambocc", - "_amb", - "_ambientocclusion" - ], "PixelFormat": "BC4" } } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/ConvolvedCubemap.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ConvolvedCubemap.preset similarity index 88% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/ConvolvedCubemap.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ConvolvedCubemap.preset index abdf6501be..1ef15ada45 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/ConvolvedCubemap.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ConvolvedCubemap.preset @@ -8,10 +8,6 @@ "Name": "ConvolvedCubemap", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ccm", - "_convolvedcubemap" - ], "SuppressEngineReduce": true, "PixelFormat": "R9G9B9E5", "DiscardAlpha": true, @@ -35,10 +31,6 @@ "Name": "ConvolvedCubemap", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ccm", - "_convolvedcubemap" - ], "SuppressEngineReduce": true, "PixelFormat": "R9G9B9E5", "DiscardAlpha": true, @@ -61,10 +53,6 @@ "Name": "ConvolvedCubemap", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ccm", - "_convolvedcubemap" - ], "SuppressEngineReduce": true, "PixelFormat": "R9G9B9E5", "DiscardAlpha": true, @@ -87,10 +75,6 @@ "Name": "ConvolvedCubemap", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ccm", - "_convolvedcubemap" - ], "SuppressEngineReduce": true, "PixelFormat": "R9G9B9E5", "DiscardAlpha": true, @@ -113,10 +97,6 @@ "Name": "ConvolvedCubemap", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ccm", - "_convolvedcubemap" - ], "SuppressEngineReduce": true, "PixelFormat": "R9G9B9E5", "DiscardAlpha": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/Decal_AlbedoWithOpacity.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Decal_AlbedoWithOpacity.preset similarity index 86% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/Decal_AlbedoWithOpacity.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Decal_AlbedoWithOpacity.preset index e2e009afc5..873d434380 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/Decal_AlbedoWithOpacity.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Decal_AlbedoWithOpacity.preset @@ -6,9 +6,6 @@ "DefaultPreset": { "UUID": "{E06B5087-2640-49B6-B9BA-D40048162B90}", "Name": "Decal_AlbedoWithOpacity", - "FileMasks": [ - "_decal" - ], "PixelFormat": "BC7t", "IsPowerOf2": true, "MipMapSetting": { @@ -21,9 +18,6 @@ "android": { "UUID": "{E06B5087-2640-49B6-B9BA-D40048162B90}", "Name": "Decal_AlbedoWithOpacity", - "FileMasks": [ - "_decal" - ], "PixelFormat": "ASTC_4x4", "MaxTextureSize": 2048, "IsPowerOf2": true, @@ -36,9 +30,6 @@ "ios": { "UUID": "{E06B5087-2640-49B6-B9BA-D40048162B90}", "Name": "Decal_AlbedoWithOpacity", - "FileMasks": [ - "_decal" - ], "PixelFormat": "ASTC_4x4", "MaxTextureSize": 2048, "IsPowerOf2": true, @@ -51,9 +42,6 @@ "mac": { "UUID": "{E06B5087-2640-49B6-B9BA-D40048162B90}", "Name": "Decal_AlbedoWithOpacity", - "FileMasks": [ - "_decal" - ], "PixelFormat": "BC3", "IsPowerOf2": true, "MipMapSetting": { @@ -65,9 +53,6 @@ "provo": { "UUID": "{E06B5087-2640-49B6-B9BA-D40048162B90}", "Name": "Decal_AlbedoWithOpacity", - "FileMasks": [ - "_decal" - ], "PixelFormat": "BC7t", "IsPowerOf2": true, "MipMapSetting": { diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/Displacement.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Displacement.preset similarity index 59% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/Displacement.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Displacement.preset index 28ac84d646..04f35dbd6f 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/Displacement.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Displacement.preset @@ -8,18 +8,6 @@ "Name": "Displacement", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_displ", - "_disp", - "_dsp", - "_d", - "_dm", - "_displacement", - "_height", - "_hm", - "_ht", - "_h" - ], "PixelFormat": "BC4", "DiscardAlpha": true, "IsPowerOf2": true, @@ -33,18 +21,6 @@ "Name": "Displacement", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_displ", - "_disp", - "_dsp", - "_d", - "_dm", - "_displacement", - "_height", - "_hm", - "_ht", - "_h" - ], "PixelFormat": "ASTC_4x4", "MaxTextureSize": 2048, "DiscardAlpha": true, @@ -59,18 +35,6 @@ "Name": "Displacement", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_displ", - "_disp", - "_dsp", - "_d", - "_dm", - "_displacement", - "_height", - "_hm", - "_ht", - "_h" - ], "PixelFormat": "ASTC_4x4", "MaxTextureSize": 2048, "DiscardAlpha": true, @@ -84,18 +48,6 @@ "Name": "Displacement", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_displ", - "_disp", - "_dsp", - "_d", - "_dm", - "_displacement", - "_height", - "_hm", - "_ht", - "_h" - ], "PixelFormat": "BC4", "DiscardAlpha": true, "IsPowerOf2": true, @@ -108,18 +60,6 @@ "Name": "Displacement", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_displ", - "_disp", - "_dsp", - "_d", - "_dm", - "_displacement", - "_height", - "_hm", - "_ht", - "_h" - ], "PixelFormat": "BC4", "DiscardAlpha": true, "IsPowerOf2": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/Emissive.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Emissive.preset similarity index 61% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/Emissive.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Emissive.preset index f5e3a79357..798b8d1657 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/Emissive.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Emissive.preset @@ -7,13 +7,6 @@ "UUID": "{07041D83-E0C3-4726-8735-CA0FE550C9A0}", "Name": "Emissive", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_emissive", - "_e", - "_glow", - "_em", - "_emit" - ], "PixelFormat": "BC7", "DiscardAlpha": true }, @@ -22,13 +15,6 @@ "UUID": "{07041D83-E0C3-4726-8735-CA0FE550C9A0}", "Name": "Emissive", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_emissive", - "_e", - "_glow", - "_em", - "_emit" - ], "PixelFormat": "ASTC_6x6", "MaxTextureSize": 2048, "DiscardAlpha": true @@ -37,13 +23,6 @@ "UUID": "{07041D83-E0C3-4726-8735-CA0FE550C9A0}", "Name": "Emissive", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_emissive", - "_e", - "_glow", - "_em", - "_emit" - ], "PixelFormat": "ASTC_6x6", "MaxTextureSize": 2048, "DiscardAlpha": true @@ -52,13 +31,6 @@ "UUID": "{07041D83-E0C3-4726-8735-CA0FE550C9A0}", "Name": "Emissive", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_emissive", - "_e", - "_glow", - "_em", - "_emit" - ], "PixelFormat": "BC7", "DiscardAlpha": true }, @@ -66,13 +38,6 @@ "UUID": "{07041D83-E0C3-4726-8735-CA0FE550C9A0}", "Name": "Emissive", "RGB_Weight": "CIEXYZ", - "FileMasks": [ - "_emissive", - "_e", - "_glow", - "_em", - "_emit" - ], "PixelFormat": "BC7", "DiscardAlpha": true } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/Gradient.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Gradient.preset similarity index 100% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/Gradient.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Gradient.preset diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/Greyscale.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Greyscale.preset similarity index 77% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/Greyscale.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Greyscale.preset index c71ada1269..19439bad2d 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/Greyscale.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Greyscale.preset @@ -8,11 +8,8 @@ "Name": "Greyscale", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_mask" - ], "PixelFormat": "BC4", - "IsPowerOf2": true, + "Swizzle": "rrr1", "MipMapSetting": { "MipGenType": "Box" } @@ -23,11 +20,8 @@ "Name": "Greyscale", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_mask" - ], "PixelFormat": "ASTC_4x4", - "IsPowerOf2": true, + "Swizzle": "rrr1", "MipMapSetting": { "MipGenType": "Box" } @@ -37,11 +31,8 @@ "Name": "Greyscale", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_mask" - ], "PixelFormat": "ASTC_4x4", - "IsPowerOf2": true, + "Swizzle": "rrr1", "MipMapSetting": { "MipGenType": "Box" } @@ -51,11 +42,8 @@ "Name": "Greyscale", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_mask" - ], "PixelFormat": "BC4", - "IsPowerOf2": true, + "Swizzle": "rrr1", "MipMapSetting": { "MipGenType": "Box" } @@ -65,11 +53,8 @@ "Name": "Greyscale", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_mask" - ], "PixelFormat": "BC4", - "IsPowerOf2": true, + "Swizzle": "rrr1", "MipMapSetting": { "MipGenType": "Box" } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLDiffuse.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLDiffuse.preset similarity index 90% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/IBLDiffuse.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLDiffuse.preset index 8bd6b348d1..845f8e13e4 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLDiffuse.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLDiffuse.preset @@ -7,9 +7,6 @@ "UUID": "{E3706342-BF21-4D9C-AE28-9670EB3EF3C5}", "Name": "IBLDiffuse", "Description": "The input cubemap generates an IBL diffuse output cubemap.", - "FileMasks": [ - "_ibldiffusecm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -31,9 +28,6 @@ "android": { "UUID": "{E3706342-BF21-4D9C-AE28-9670EB3EF3C5}", "Name": "IBLDiffuse", - "FileMasks": [ - "_ibldiffusecm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -54,9 +48,6 @@ "ios": { "UUID": "{E3706342-BF21-4D9C-AE28-9670EB3EF3C5}", "Name": "IBLDiffuse", - "FileMasks": [ - "_ibldiffusecm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -77,9 +68,6 @@ "mac": { "UUID": "{E3706342-BF21-4D9C-AE28-9670EB3EF3C5}", "Name": "IBLDiffuse", - "FileMasks": [ - "_ibldiffusecm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -100,9 +88,6 @@ "provo": { "UUID": "{E3706342-BF21-4D9C-AE28-9670EB3EF3C5}", "Name": "IBLDiffuse", - "FileMasks": [ - "_ibldiffusecm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLGlobal.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLGlobal.preset similarity index 83% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/IBLGlobal.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLGlobal.preset index 717157f2aa..51daf44d6e 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLGlobal.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLGlobal.preset @@ -8,11 +8,6 @@ "Name": "IBLGlobal", "Description": "The input cubemap generates IBL specular and diffuse cubemaps.", "GenerateIBLOnly": true, - "FileMasks": [ - "_iblglobalcm", - "_cubemap", - "_cm" - ], "CubemapSettings": { "GenerateIBLSpecular": true, "IBLSpecularPreset": "IBLSpecular", diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSkybox.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSkybox.preset similarity index 90% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSkybox.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSkybox.preset index eee9af4cea..1a596468bd 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSkybox.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSkybox.preset @@ -7,9 +7,6 @@ "UUID": "{E6441EAC-9843-484B-8EFC-C03B2935B48D}", "Name": "IBLSkybox", "Description": "The input cubemap generates a skybox, IBL specular, and IBL diffuse output cubemaps.", - "FileMasks": [ - "_iblskyboxcm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -29,9 +26,6 @@ "android": { "UUID": "{E6441EAC-9843-484B-8EFC-C03B2935B48D}", "Name": "IBLSkybox", - "FileMasks": [ - "_iblskyboxcm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -50,9 +44,6 @@ "ios": { "UUID": "{E6441EAC-9843-484B-8EFC-C03B2935B48D}", "Name": "IBLSkybox", - "FileMasks": [ - "_iblskyboxcm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -71,9 +62,6 @@ "mac": { "UUID": "{E6441EAC-9843-484B-8EFC-C03B2935B48D}", "Name": "IBLSkybox", - "FileMasks": [ - "_iblskyboxcm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -92,9 +80,6 @@ "provo": { "UUID": "{E6441EAC-9843-484B-8EFC-C03B2935B48D}", "Name": "IBLSkybox", - "FileMasks": [ - "_iblskyboxcm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecular.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecular.preset similarity index 87% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecular.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecular.preset index 4f935c73ff..691f554540 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecular.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecular.preset @@ -7,10 +7,6 @@ "UUID": "{908DA68C-97FB-4C4A-97BC-5A55F30F14FA}", "Name": "IBLSpecular", "Description": "The input cubemap generates an IBL specular output cubemap.", - "FileMasks": [ - "_iblspecularcm", - "_iblspecularcm256" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -34,10 +30,6 @@ "android": { "UUID": "{908DA68C-97FB-4C4A-97BC-5A55F30F14FA}", "Name": "IBLSpecular", - "FileMasks": [ - "_iblspecularcm", - "_iblspecularcm256" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -60,10 +52,6 @@ "ios": { "UUID": "{908DA68C-97FB-4C4A-97BC-5A55F30F14FA}", "Name": "IBLSpecular", - "FileMasks": [ - "_iblspecularcm", - "_iblspecularcm256" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -86,10 +74,6 @@ "mac": { "UUID": "{908DA68C-97FB-4C4A-97BC-5A55F30F14FA}", "Name": "IBLSpecular", - "FileMasks": [ - "_iblspecularcm", - "_iblspecularcm256" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -112,10 +96,6 @@ "provo": { "UUID": "{908DA68C-97FB-4C4A-97BC-5A55F30F14FA}", "Name": "IBLSpecular", - "FileMasks": [ - "_iblspecularcm", - "_iblspecularcm256" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularHigh.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularHigh.preset similarity index 90% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularHigh.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularHigh.preset index ff4e143326..b436386864 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularHigh.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularHigh.preset @@ -7,9 +7,6 @@ "UUID": "{B66395E1-8D0E-4159-989B-FC2B9F091B75}", "Name": "IBLSpecularHigh", "Description": "The input cubemap generates an IBL specular output cubemap.", - "FileMasks": [ - "_iblspecularcm512" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -33,9 +30,6 @@ "android": { "UUID": "{B66395E1-8D0E-4159-989B-FC2B9F091B75}", "Name": "IBLSpecularHigh", - "FileMasks": [ - "_iblspecularcm512" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -58,9 +52,6 @@ "ios": { "UUID": "{B66395E1-8D0E-4159-989B-FC2B9F091B75}", "Name": "IBLSpecularHigh", - "FileMasks": [ - "_iblspecularcm512" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -83,9 +74,6 @@ "mac": { "UUID": "{B66395E1-8D0E-4159-989B-FC2B9F091B75}", "Name": "IBLSpecularHigh", - "FileMasks": [ - "_iblspecularcm512" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -108,9 +96,6 @@ "provo": { "UUID": "{B66395E1-8D0E-4159-989B-FC2B9F091B75}", "Name": "IBLSpecularHigh", - "FileMasks": [ - "_iblspecularcm512" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularLow.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularLow.preset similarity index 90% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularLow.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularLow.preset index ee9ddd6ac7..7810028efa 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularLow.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularLow.preset @@ -7,9 +7,6 @@ "UUID": "{7273ACAE-6E34-487C-AF71-99423A6E1CB0}", "Name": "IBLSpecularLow", "Description": "The input cubemap generates an IBL specular output cubemap.", - "FileMasks": [ - "_iblspecularcm128" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -33,9 +30,6 @@ "android": { "UUID": "{7273ACAE-6E34-487C-AF71-99423A6E1CB0}", "Name": "IBLSpecularLow", - "FileMasks": [ - "_iblspecularcm128" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -58,9 +52,6 @@ "ios": { "UUID": "{7273ACAE-6E34-487C-AF71-99423A6E1CB0}", "Name": "IBLSpecularLow", - "FileMasks": [ - "_iblspecularcm128" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -83,9 +74,6 @@ "mac": { "UUID": "{7273ACAE-6E34-487C-AF71-99423A6E1CB0}", "Name": "IBLSpecularLow", - "FileMasks": [ - "_iblspecularcm128" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -108,9 +96,6 @@ "provo": { "UUID": "{7273ACAE-6E34-487C-AF71-99423A6E1CB0}", "Name": "IBLSpecularLow", - "FileMasks": [ - "_iblspecularcm128" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularVeryHigh.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularVeryHigh.preset similarity index 90% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularVeryHigh.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularVeryHigh.preset index 08d9416935..a18885dad9 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularVeryHigh.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularVeryHigh.preset @@ -7,9 +7,6 @@ "UUID": "{5CD1AFA6-915B-4716-893C-A5B1F4074C22}", "Name": "IBLSpecularVeryHigh", "Description": "The input cubemap generates an IBL specular output cubemap.", - "FileMasks": [ - "_iblspecularcm1024" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -33,9 +30,6 @@ "android": { "UUID": "{5CD1AFA6-915B-4716-893C-A5B1F4074C22}", "Name": "IBLSpecularVeryHigh", - "FileMasks": [ - "_iblspecularcm1024" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -58,9 +52,6 @@ "ios": { "UUID": "{5CD1AFA6-915B-4716-893C-A5B1F4074C22}", "Name": "IBLSpecularVeryHigh", - "FileMasks": [ - "_iblspecularcm1024" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -83,9 +74,6 @@ "mac": { "UUID": "{5CD1AFA6-915B-4716-893C-A5B1F4074C22}", "Name": "IBLSpecularVeryHigh", - "FileMasks": [ - "_iblspecularcm1024" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -108,9 +96,6 @@ "provo": { "UUID": "{5CD1AFA6-915B-4716-893C-A5B1F4074C22}", "Name": "IBLSpecularVeryHigh", - "FileMasks": [ - "_iblspecularcm1024" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularVeryLow.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularVeryLow.preset similarity index 90% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularVeryLow.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularVeryLow.preset index c5c0788848..fb910b563a 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/IBLSpecularVeryLow.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/IBLSpecularVeryLow.preset @@ -7,9 +7,6 @@ "UUID": "{8293C236-D3E8-4352-8B18-C2E82EEE6547}", "Name": "IBLSpecularVeryLow", "Description": "The input cubemap generates an IBL specular output cubemap.", - "FileMasks": [ - "_iblspecularcm64" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -33,9 +30,6 @@ "android": { "UUID": "{8293C236-D3E8-4352-8B18-C2E82EEE6547}", "Name": "IBLSpecularVeryLow", - "FileMasks": [ - "_iblspecularcm64" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -58,9 +52,6 @@ "ios": { "UUID": "{8293C236-D3E8-4352-8B18-C2E82EEE6547}", "Name": "IBLSpecularVeryLow", - "FileMasks": [ - "_iblspecularcm64" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -83,9 +74,6 @@ "mac": { "UUID": "{8293C236-D3E8-4352-8B18-C2E82EEE6547}", "Name": "IBLSpecularVeryLow", - "FileMasks": [ - "_iblspecularcm64" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -108,9 +96,6 @@ "provo": { "UUID": "{8293C236-D3E8-4352-8B18-C2E82EEE6547}", "Name": "IBLSpecularVeryLow", - "FileMasks": [ - "_iblspecularcm64" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ImageBuilder.settings b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ImageBuilder.settings new file mode 100644 index 0000000000..bba2855650 --- /dev/null +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ImageBuilder.settings @@ -0,0 +1,154 @@ +{ + "Type": "JsonSerialization", + "Version": 1, + "ClassName": "BuilderSettingManager", + "ClassData": { + "BuildSettings": { + "android": { + "GlossScale": 16.0, + "GlossBias": 0.0, + "Streaming": false, + "Enable": true + }, + "ios": { + "GlossScale": 16.0, + "GlossBias": 0.0, + "Streaming": false, + "Enable": true + }, + "mac": { + "GlossScale": 16.0, + "GlossBias": 0.0, + "Streaming": false, + "Enable": true + }, + "pc": { + "GlossScale": 16.0, + "GlossBias": 0.0, + "Streaming": false, + "Enable": true + }, + "linux": { + "GlossScale": 16.0, + "GlossBias": 0.0, + "Streaming": false, + "Enable": true + }, + "provo": { + "GlossScale": 16.0, + "GlossBias": 0.0, + "Streaming": false, + "Enable": false + } + }, + "PresetsByFileMask": { + // albedo + "_basecolor": [ "Albedo", "AlbedoWithGenericAlpha", "AlbedoWithCoverage" ], + "_diff": [ "Albedo", "AlbedoWithGenericAlpha", "AlbedoWithCoverage" ], + "_diffuse": [ "Albedo", "AlbedoWithGenericAlpha", "AlbedoWithCoverage" ], + "_color": [ "Albedo", "AlbedoWithGenericAlpha", "AlbedoWithCoverage" ], + "_col": [ "Albedo", "AlbedoWithGenericAlpha", "AlbedoWithCoverage" ], + "_albedo": [ "Albedo", "AlbedoWithGenericAlpha", "AlbedoWithCoverage" ], + "_alb": [ "Albedo", "AlbedoWithGenericAlpha", "AlbedoWithCoverage" ], + "_bc": [ "Albedo", "AlbedoWithGenericAlpha", "AlbedoWithCoverage" ], + // normals + "_ddn": [ "Normals" ], + "_normal": [ "Normals" ], + "_normalmap": [ "Normals" ], + "_normals": [ "Normals" ], + "_norm": [ "Normals" ], + "_nor": [ "Normals" ], + "_nrm": [ "Normals" ], + "_nm": [ "Normals" ], + "_n": [ "Normals" ], + "_ddna": [ "NormalsWithSmoothness" ], + "_normala": [ "NormalsWithSmoothness" ], + "_nrma": [ "NormalsWithSmoothness" ], + "_nma": [ "NormalsWithSmoothness" ], + "_na": [ "NormalsWithSmoothness" ], + // refelctance + "_spec": [ "Reflectance" ], + "_specular": [ "Reflectance" ], + "_metallic": [ "Reflectance" ], + "_refl": [ "Reflectance" ], + "_ref": [ "Reflectance" ], + "_rf": [ "Reflectance" ], + "_gloss": [ "Reflectance" ], + "_g": [ "Reflectance" ], + "_f0": [ "Reflectance" ], + "_specf0": [ "Reflectance" ], + "_metal": [ "Reflectance" ], + "_mtl": [ "Reflectance" ], + "_m": [ "Reflectance" ], + "_mt": [ "Reflectance" ], + "_metalness": [ "Reflectance" ], + "_rough": [ "Reflectance" ], + "_roughness": [ "Reflectance" ], + // opacity + "_sss": [ "Opacity" ], + "_trans": [ "Opacity" ], + "_opac": [ "Opacity" ], + "_opacity": [ "Opacity" ], + "_o": [ "Opacity" ], + "_op": [ "Opacity" ], + "_mask": [ "Opacity", "Greyscale" ], + "_msk": [ "Opacity" ], + "_blend": [ "Opacity" ], + // AO + "_ao": [ "AmbientOcclusion" ], + "_ambocc": [ "AmbientOcclusion" ], + "_amb": [ "AmbientOcclusion" ], + "_ambientocclusion": [ "AmbientOcclusion" ], + // emissive + "_emissive": [ "Emissive" ], + "_e": [ "Emissive" ], + "_glow": [ "Emissive" ], + "_em": [ "Emissive" ], + "_emit": [ "Emissive" ], + // displacement + "_displ": [ "Displacement" ], + "_disp": [ "Displacement" ], + "_dsp": [ "Displacement" ], + "_d": [ "Displacement" ], + "_dm": [ "Displacement" ], + "_displacement": [ "Displacement" ], + "_height": [ "Displacement" ], + "_hm": [ "Displacement" ], + "_ht": [ "Displacement" ], + "_h": [ "Displacement" ], + // cubemap + "_ibldiffusecm": [ "IBLDiffuse" ], + "_iblskyboxcm": [ "IBLSkybox" ], + "_iblspecularcm": [ "IBLSpecular" ], + "_iblspecularcm64": [ "IBLSpecularVeryLow" ], + "_iblspecularcm128": [ "IBLSpecularLow" ], + "_iblspecularcm256": [ "IBLSpecular" ], + "_iblspecularcm512": [ "IBLSpecularHigh" ], + "_iblspecularcm1024": [ "IBLSpecularVeryHigh" ], + "_skyboxcm": [ "Skybox" ], + "_ccm": [ "ConvolvedCubemap" ], + "_convolvedcubemap": [ "ConvolvedCubemap" ], + "_iblglobalcm": [ "IBLGlobal" ], + "_cubemap": [ "IBLGlobal" ], + "_cm": [ "IBLGlobal" ], + // lut + "_lut": [ "LUT_RG8" ], + "_lutr32f": [ "LUT_R32F" ], + "_lutrgba8": [ "LUT_RGBA8" ], + "_lutrgba16": [ "LUT_RGBA16" ], + "_lutrgba16f": [ "LUT_RGBA16F" ], + "_lutrg16": [ "LUT_RG16" ], + "_lutrg32f": [ "LUT_RG32F" ], + "_lutrgba32f": [ "LUT_RGBA32F" ], + // layer mask + "_layers": [ "LayerMask" ], + "_rgbmask": [ "LayerMask" ], + // decal + "_decal": [ "Decal_AlbedoWithOpacity" ], + // ui + "_ui": [ "UserInterface_Compressed","UserInterface_Lossless" ] + }, + "DefaultPreset": "Albedo", + "DefaultPresetAlpha": "AlbedoWithGenericAlpha" + } +} diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_R32F.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_R32F.preset similarity index 97% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_R32F.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_R32F.preset index 1bb23c6e96..693f268304 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_R32F.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_R32F.preset @@ -6,7 +6,6 @@ "DefaultPreset": { "UUID": "{10D4D7D8-23E2-4FC5-BE6A-DA9949D2C603}", "Name": "LUT_R32F", - "FileMasks": ["_lutr32f"], "SourceColor": "Linear", "DestColor": "Linear", "PixelFormat": "R32F" diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RG16.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RG16.preset similarity index 100% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RG16.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RG16.preset diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RG32F.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RG32F.preset similarity index 97% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RG32F.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RG32F.preset index 2cf0c6ca0a..7277a4b111 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RG32F.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RG32F.preset @@ -6,7 +6,6 @@ "DefaultPreset": { "UUID": "{52470B8B-0798-4E03-B0D3-039D5141CFEC}", "Name": "LUT_RG32F", - "FileMasks": ["_lutrg32f"], "SourceColor": "Linear", "DestColor": "Linear", "PixelFormat": "R32G32F" diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RG8.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RG8.preset similarity index 79% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RG8.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RG8.preset index 9838d532b2..051cc2bedc 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RG8.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RG8.preset @@ -8,9 +8,6 @@ "Name": "LUT_RG8", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lut" - ], "PixelFormat": "R8G8" }, "PlatformsPresets": { @@ -19,9 +16,6 @@ "Name": "LUT_RG8", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lut" - ], "PixelFormat": "R8G8" }, "ios": { @@ -29,9 +23,6 @@ "Name": "LUT_RG8", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lut" - ], "PixelFormat": "R8G8" }, "mac": { @@ -39,9 +30,6 @@ "Name": "LUT_RG8", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lut" - ], "PixelFormat": "R8G8" }, "provo": { @@ -49,9 +37,6 @@ "Name": "LUT_RG8", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lut" - ], "PixelFormat": "R8G8" } } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA16.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA16.preset similarity index 78% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA16.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA16.preset index f36d566d7e..ed940e5f25 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA16.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA16.preset @@ -8,9 +8,6 @@ "Name": "LUT_RGBA16", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lutrgba16" - ], "PixelFormat": "R16G16B16A16" }, "PlatformsPresets": { @@ -19,9 +16,6 @@ "Name": "LUT_RGBA16", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lutrgba16" - ], "PixelFormat": "R16G16B16A16" }, "ios": { @@ -29,9 +23,6 @@ "Name": "LUT_RGBA16", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lutrgba16" - ], "PixelFormat": "R16G16B16A16" }, "osx_gl": { @@ -39,9 +30,6 @@ "Name": "LUT_RGBA16", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lutrgba16" - ], "PixelFormat": "R16G16B16A16" }, "provo": { @@ -49,9 +37,6 @@ "Name": "LUT_RGBA16", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lutrgba16" - ], "PixelFormat": "R16G16B16A16" } } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA16F.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA16F.preset similarity index 78% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA16F.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA16F.preset index 367c5101b3..f5d109b4a1 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA16F.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA16F.preset @@ -8,9 +8,6 @@ "Name": "LUT_RGBA16F", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lutrgba16f" - ], "PixelFormat": "R16G16B16A16F" }, "PlatformsPresets": { @@ -19,9 +16,6 @@ "Name": "LUT_RGBA16F", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lutrgba16f" - ], "PixelFormat": "R16G16B16A16F" }, "ios": { @@ -29,9 +23,6 @@ "Name": "LUT_RGBA16F", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lutrgba16f" - ], "PixelFormat": "R16G16B16A16F" }, "osx_gl": { @@ -39,9 +30,6 @@ "Name": "LUT_RGBA16F", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lutrgba16f" - ], "PixelFormat": "R16G16B16A16F" }, "provo": { @@ -49,9 +37,6 @@ "Name": "LUT_RGBA16F", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_lutrgba16f" - ], "PixelFormat": "R16G16B16A16F" } } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA32F.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA32F.preset similarity index 97% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA32F.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA32F.preset index 3a456825bf..b85cb66c9d 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA32F.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA32F.preset @@ -6,7 +6,6 @@ "DefaultPreset": { "UUID": "{AC4C49D4-2C70-425A-8DBF-E7FB2C61CF8D}", "Name": "LUT_RGBA32F", - "FileMasks": ["_lutrgba32f"], "SourceColor": "Linear", "DestColor": "Linear", "PixelFormat": "R32G32B32A32F" diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA8.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA8.preset similarity index 100% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/LUT_RGBA8.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LUT_RGBA8.preset diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/LayerMask.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LayerMask.preset similarity index 72% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/LayerMask.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LayerMask.preset index 5ce06aaea2..d33db40547 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/LayerMask.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/LayerMask.preset @@ -8,10 +8,6 @@ "Name": "LayerMask", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_layers", - "_rgbmask" - ], "PixelFormat": "R8G8B8X8" }, "PlatformsPresets": { @@ -20,10 +16,6 @@ "Name": "LayerMask", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_layers", - "_rgbmask" - ], "PixelFormat": "R8G8B8X8" }, "ios": { @@ -31,10 +23,6 @@ "Name": "LayerMask", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_layers", - "_rgbmask" - ], "PixelFormat": "R8G8B8X8" }, "mac": { @@ -42,10 +30,6 @@ "Name": "LayerMask", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_layers", - "_rgbmask" - ], "PixelFormat": "R8G8B8X8" }, "provo": { @@ -53,10 +37,6 @@ "Name": "LayerMask", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_layers", - "_rgbmask" - ], "PixelFormat": "R8G8B8X8" } } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/Normals.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Normals.preset similarity index 62% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/Normals.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Normals.preset index eee0b88686..3f7a9ff111 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/Normals.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Normals.preset @@ -8,17 +8,6 @@ "Name": "Normals", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ddn", - "_normal", - "_normalmap", - "_normals", - "_norm", - "_nor", - "_nrm", - "_nm", - "_n" - ], "PixelFormat": "BC5s", "DiscardAlpha": true, "IsPowerOf2": true, @@ -33,17 +22,6 @@ "Name": "Normals", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ddn", - "_normal", - "_normalmap", - "_normals", - "_norm", - "_nor", - "_nrm", - "_nm", - "_n" - ], "PixelFormat": "ASTC_4x4", "DiscardAlpha": true, "MaxTextureSize": 1024, @@ -58,17 +36,6 @@ "Name": "Normals", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ddn", - "_normal", - "_normalmap", - "_normals", - "_norm", - "_nor", - "_nrm", - "_nm", - "_n" - ], "PixelFormat": "ASTC_4x4", "DiscardAlpha": true, "MaxTextureSize": 1024, @@ -83,17 +50,6 @@ "Name": "Normals", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ddn", - "_normal", - "_normalmap", - "_normals", - "_norm", - "_nor", - "_nrm", - "_nm", - "_n" - ], "PixelFormat": "BC5s", "DiscardAlpha": true, "IsPowerOf2": true, @@ -107,17 +63,6 @@ "Name": "Normals", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ddn", - "_normal", - "_normalmap", - "_normals", - "_norm", - "_nor", - "_nrm", - "_nm", - "_n" - ], "PixelFormat": "BC5s", "DiscardAlpha": true, "IsPowerOf2": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/NormalsWithSmoothness.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/NormalsWithSmoothness.preset similarity index 74% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/NormalsWithSmoothness.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/NormalsWithSmoothness.preset index 2c66cf9190..fd0abf3467 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/NormalsWithSmoothness.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/NormalsWithSmoothness.preset @@ -8,13 +8,6 @@ "Name": "NormalsWithSmoothness", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ddna", - "_normala", - "_nrma", - "_nma", - "_na" - ], "PixelFormat": "BC5s", "PixelFormatAlpha": "BC4", "IsPowerOf2": true, @@ -30,13 +23,6 @@ "Name": "NormalsWithSmoothness", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ddna", - "_normala", - "_nrma", - "_nma", - "_na" - ], "PixelFormat": "ASTC_4x4", "PixelFormatAlpha": "ASTC_4x4", "MaxTextureSize": 2048, @@ -52,13 +38,6 @@ "Name": "NormalsWithSmoothness", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ddna", - "_normala", - "_nrma", - "_nma", - "_na" - ], "PixelFormat": "ASTC_4x4", "PixelFormatAlpha": "ASTC_4x4", "MaxTextureSize": 2048, @@ -74,13 +53,6 @@ "Name": "NormalsWithSmoothness", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ddna", - "_normala", - "_nrma", - "_nma", - "_na" - ], "PixelFormat": "BC5s", "PixelFormatAlpha": "BC4", "IsPowerOf2": true, @@ -95,13 +67,6 @@ "Name": "NormalsWithSmoothness", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_ddna", - "_normala", - "_nrma", - "_nma", - "_na" - ], "PixelFormat": "BC5s", "PixelFormatAlpha": "BC4", "IsPowerOf2": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/Opacity.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Opacity.preset similarity index 56% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/Opacity.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Opacity.preset index 53998583cc..e896b74522 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/Opacity.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Opacity.preset @@ -8,19 +8,8 @@ "Name": "Opacity", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_sss", - "_trans", - "_opac", - "_opacity", - "_o", - "_opac", - "_op", - "_mask", - "_msk", - "_blend" - ], "PixelFormat": "BC4", + "Swizzle": "rrr1", "IsPowerOf2": true, "MipMapSetting": { "MipGenType": "Box" @@ -32,19 +21,8 @@ "Name": "Opacity", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_sss", - "_trans", - "_opac", - "_opacity", - "_o", - "_opac", - "_op", - "_mask", - "_msk", - "_blend" - ], "PixelFormat": "ASTC_4x4", + "Swizzle": "rrr1", "MaxTextureSize": 2048, "IsPowerOf2": true, "MipMapSetting": { @@ -56,19 +34,8 @@ "Name": "Opacity", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_sss", - "_trans", - "_opac", - "_opacity", - "_o", - "_opac", - "_op", - "_mask", - "_msk", - "_blend" - ], "PixelFormat": "ASTC_4x4", + "Swizzle": "rrr1", "MaxTextureSize": 2048, "IsPowerOf2": true, "MipMapSetting": { @@ -80,19 +47,8 @@ "Name": "Opacity", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_sss", - "_trans", - "_opac", - "_opacity", - "_o", - "_opac", - "_op", - "_mask", - "_msk", - "_blend" - ], "PixelFormat": "BC4", + "Swizzle": "rrr1", "IsPowerOf2": true, "MipMapSetting": { "MipGenType": "Box" @@ -103,19 +59,8 @@ "Name": "Opacity", "SourceColor": "Linear", "DestColor": "Linear", - "FileMasks": [ - "_sss", - "_trans", - "_opac", - "_opacity", - "_o", - "_opac", - "_op", - "_mask", - "_msk", - "_blend" - ], "PixelFormat": "BC4", + "Swizzle": "rrr1", "IsPowerOf2": true, "MipMapSetting": { "MipGenType": "Box" diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/ReferenceImage.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ReferenceImage.preset similarity index 100% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/ReferenceImage.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ReferenceImage.preset diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/ReferenceImage_HDRLinear.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ReferenceImage_HDRLinear.preset similarity index 100% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/ReferenceImage_HDRLinear.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ReferenceImage_HDRLinear.preset diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/ReferenceImage_HDRLinearUncompressed.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ReferenceImage_HDRLinearUncompressed.preset similarity index 100% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/ReferenceImage_HDRLinearUncompressed.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ReferenceImage_HDRLinearUncompressed.preset diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/ReferenceImage_Linear.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ReferenceImage_Linear.preset similarity index 100% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/ReferenceImage_Linear.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/ReferenceImage_Linear.preset diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Reflectance.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Reflectance.preset new file mode 100644 index 0000000000..9e3c718978 --- /dev/null +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Reflectance.preset @@ -0,0 +1,68 @@ +{ + "Type": "JsonSerialization", + "Version": 1, + "ClassName": "MultiplatformPresetSettings", + "ClassData": { + "DefaultPreset": { + "UUID": "{7A3CC95E-0A0C-4CA1-8357-5712B028B77D}", + "Name": "Reflectance", + "SourceColor": "Linear", + "DestColor": "Linear", + "PixelFormat": "BC4", + "IsPowerOf2": true, + "MipMapSetting": { + "MipGenType": "Box" + } + }, + "PlatformsPresets": { + "android": { + "UUID": "{7A3CC95E-0A0C-4CA1-8357-5712B028B77D}", + "Name": "Reflectance", + "SourceColor": "Linear", + "DestColor": "Linear", + "PixelFormat": "ASTC_6x6", + "Swizzle": "rrr1", + "MaxTextureSize": 2048, + "IsPowerOf2": true, + "MipMapSetting": { + "MipGenType": "Box" + } + }, + "ios": { + "UUID": "{7A3CC95E-0A0C-4CA1-8357-5712B028B77D}", + "Name": "Reflectance", + "SourceColor": "Linear", + "DestColor": "Linear", + "PixelFormat": "ASTC_6x6", + "Swizzle": "rrr1", + "MaxTextureSize": 2048, + "IsPowerOf2": true, + "MipMapSetting": { + "MipGenType": "Box" + } + }, + "mac": { + "UUID": "{7A3CC95E-0A0C-4CA1-8357-5712B028B77D}", + "Name": "Reflectance", + "SourceColor": "Linear", + "DestColor": "Linear", + "PixelFormat": "BC4", + "IsPowerOf2": true, + "MipMapSetting": { + "MipGenType": "Box" + } + }, + "provo": { + "UUID": "{7A3CC95E-0A0C-4CA1-8357-5712B028B77D}", + "Name": "Reflectance", + "SourceColor": "Linear", + "DestColor": "Linear", + "PixelFormat": "BC4", + "IsPowerOf2": true, + "MipMapSetting": { + "MipGenType": "Box" + } + } + } + } +} diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/Skybox.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Skybox.preset similarity index 86% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/Skybox.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Skybox.preset index 4f71855ecf..b502872f92 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/Skybox.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/Skybox.preset @@ -6,9 +6,6 @@ "DefaultPreset": { "UUID": "{F359CD3B-37E6-4627-B4F6-2DFC2C0E3C1C}", "Name": "Skybox", - "FileMasks": [ - "_skyboxcm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -24,9 +21,6 @@ "android": { "UUID": "{F359CD3B-37E6-4627-B4F6-2DFC2C0E3C1C}", "Name": "Skybox", - "FileMasks": [ - "_skyboxcm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -41,9 +35,6 @@ "ios": { "UUID": "{F359CD3B-37E6-4627-B4F6-2DFC2C0E3C1C}", "Name": "Skybox", - "FileMasks": [ - "_skyboxcm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -58,9 +49,6 @@ "mac": { "UUID": "{F359CD3B-37E6-4627-B4F6-2DFC2C0E3C1C}", "Name": "Skybox", - "FileMasks": [ - "_skyboxcm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, @@ -75,9 +63,6 @@ "provo": { "UUID": "{F359CD3B-37E6-4627-B4F6-2DFC2C0E3C1C}", "Name": "Skybox", - "FileMasks": [ - "_skyboxcm" - ], "SourceColor": "Linear", "DestColor": "Linear", "SuppressEngineReduce": true, diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/UserInterface_Compressed.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/UserInterface_Compressed.preset similarity index 95% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/UserInterface_Compressed.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/UserInterface_Compressed.preset index 13334de700..7e2c42fa6b 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/UserInterface_Compressed.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/UserInterface_Compressed.preset @@ -9,8 +9,7 @@ "SuppressEngineReduce": true, "PixelFormat": "R8G8B8A8", "SourceColor": "Linear", - "DestColor": "Linear", - "FileMasks": [ "_ui" ] + "DestColor": "Linear" }, "PlatformsPresets": { "android": { diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/UserInterface_Lossless.preset b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/UserInterface_Lossless.preset similarity index 95% rename from Gems/Atom/Asset/ImageProcessingAtom/Config/UserInterface_Lossless.preset rename to Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/UserInterface_Lossless.preset index 39066b242b..bec6a604ef 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/UserInterface_Lossless.preset +++ b/Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/UserInterface_Lossless.preset @@ -9,8 +9,7 @@ "SuppressEngineReduce": true, "PixelFormat": "R8G8B8A8", "SourceColor": "Linear", - "DestColor": "Linear", - "FileMasks": [ "_ui" ] + "DestColor": "Linear" }, "PlatformsPresets": { "android": { diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/BuilderSettingManager.cpp b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/BuilderSettingManager.cpp index a4ba846f1b..1ae406c6fd 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/BuilderSettingManager.cpp +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/BuilderSettingManager.cpp @@ -8,6 +8,7 @@ #include "BuilderSettingManager.h" +#include #include #include #include @@ -17,8 +18,9 @@ #include #include #include -#include #include +#include +#include #include #include @@ -41,13 +43,18 @@ namespace ImageProcessingAtom { - const char* BuilderSettingManager::s_defaultConfigRelativeFolder = "Gems/Atom/Asset/ImageProcessingAtom/Config/"; + const char* BuilderSettingManager::s_defaultConfigRelativeFolder = "Gems/Atom/Asset/ImageProcessingAtom/Assets/Config/"; const char* BuilderSettingManager::s_projectConfigRelativeFolder = "Config/AtomImageBuilder/"; const char* BuilderSettingManager::s_builderSettingFileName = "ImageBuilder.settings"; - const char* BuilderSettingManager::s_presetFileExtension = ".preset"; + const char* BuilderSettingManager::s_presetFileExtension = "preset"; const char FileMaskDelimiter = '_'; + namespace + { + [[maybe_unused]] static constexpr const char* const LogWindow = "Image Processing"; + } + #if defined(AZ_TOOLS_EXPAND_FOR_RESTRICTED_PLATFORMS) #define AZ_RESTRICTED_PLATFORM_EXPANSION(CodeName, CODENAME, codename, PrivateName, PRIVATENAME, privatename, PublicName, PUBLICNAME, publicname, PublicAuxName1, PublicAuxName2, PublicAuxName3) \ namespace ImageProcess##PrivateName \ @@ -69,13 +76,15 @@ namespace ImageProcessingAtom if (serialize) { serialize->Class() - ->Version(1) - ->Field("AnalysisFingerprint", &BuilderSettingManager::m_analysisFingerprint) + ->Version(2) ->Field("BuildSettings", &BuilderSettingManager::m_builderSettings) - ->Field("DefaultPresetsByFileMask", &BuilderSettingManager::m_defaultPresetByFileMask) + ->Field("PresetsByFileMask", &BuilderSettingManager::m_presetFilterMap) ->Field("DefaultPreset", &BuilderSettingManager::m_defaultPreset) ->Field("DefaultPresetAlpha", &BuilderSettingManager::m_defaultPresetAlpha) - ->Field("DefaultPresetNonePOT", &BuilderSettingManager::m_defaultPresetNonePOT); + ->Field("DefaultPresetNonePOT", &BuilderSettingManager::m_defaultPresetNonePOT) + // deprecated properties + ->Field("DefaultPresetsByFileMask", &BuilderSettingManager::m_defaultPresetByFileMask) + ->Field("AnalysisFingerprint", &BuilderSettingManager::m_analysisFingerprint); } } @@ -122,7 +131,7 @@ namespace ImageProcessingAtom s_globalInstance.Reset(); } - const PresetSettings* BuilderSettingManager::GetPreset(const PresetName& presetName, const PlatformName& platform, AZStd::string_view* settingsFilePathOut) + const PresetSettings* BuilderSettingManager::GetPreset(const PresetName& presetName, const PlatformName& platform, AZStd::string_view* settingsFilePathOut) const { AZStd::lock_guard lock(m_presetMapLock); auto itr = m_presets.find(presetName); @@ -137,16 +146,36 @@ namespace ImageProcessingAtom return nullptr; } - const BuilderSettings* BuilderSettingManager::GetBuilderSetting(const PlatformName& platform) + AZStd::vector BuilderSettingManager::GetFileMasksForPreset(const PresetName& presetName) const { - if (m_builderSettings.find(platform) != m_builderSettings.end()) + AZStd::vector fileMasks; + + AZStd::lock_guard lock(m_presetMapLock); + for (const auto& mapping:m_presetFilterMap) { - return &m_builderSettings[platform]; + for (const auto& preset : mapping.second) + { + if (preset == presetName) + { + fileMasks.push_back(mapping.first); + break; + } + } + } + return fileMasks; + } + + const BuilderSettings* BuilderSettingManager::GetBuilderSetting(const PlatformName& platform) const + { + auto itr = m_builderSettings.find(platform); + if (itr != m_builderSettings.end()) + { + return &itr->second; } return nullptr; } - const PlatformNameList BuilderSettingManager::GetPlatformList() + const PlatformNameList BuilderSettingManager::GetPlatformList() const { PlatformNameList platforms; @@ -161,12 +190,19 @@ namespace ImageProcessingAtom return platforms; } - const AZStd::map >& BuilderSettingManager::GetPresetFilterMap() + const AZStd::map >& BuilderSettingManager::GetPresetFilterMap() const { AZStd::lock_guard lock(m_presetMapLock); return m_presetFilterMap; } + const AZStd::unordered_set& BuilderSettingManager::GetFullPresetList() const + { + AZStd::lock_guard lock(m_presetMapLock); + AZStd::string noFilter = AZStd::string(); + return m_presetFilterMap.find(noFilter)->second; + } + const PresetName BuilderSettingManager::GetPresetNameFromId(const AZ::Uuid& presetId) { AZStd::lock_guard lock(m_presetMapLock); @@ -188,7 +224,6 @@ namespace ImageProcessingAtom m_presetFilterMap.clear(); m_builderSettings.clear(); m_presets.clear(); - m_defaultPresetByFileMask.clear(); } StringOutcome BuilderSettingManager::LoadConfig() @@ -198,44 +233,53 @@ namespace ImageProcessingAtom auto fileIoBase = AZ::IO::FileIOBase::GetInstance(); if (fileIoBase == nullptr) { - return AZ::Failure(AZStd::string("File IO instance needs to be initialized to resolve ImageProcessing builder file aliases")); + return AZ::Failure( + AZStd::string("File IO instance needs to be initialized to resolve ImageProcessing builder file aliases")); } - // Construct the default setting path - - AZ::IO::FixedMaxPath defaultConfigFolder; if (auto engineRoot = fileIoBase->ResolvePath("@engroot@"); engineRoot.has_value()) { - defaultConfigFolder = *engineRoot; - defaultConfigFolder /= s_defaultConfigRelativeFolder; + m_defaultConfigFolder = *engineRoot; + m_defaultConfigFolder /= s_defaultConfigRelativeFolder; } - AZ::IO::FixedMaxPath projectConfigFolder; if (auto sourceGameRoot = fileIoBase->ResolvePath("@projectroot@"); sourceGameRoot.has_value()) { - projectConfigFolder = *sourceGameRoot; - projectConfigFolder /= s_projectConfigRelativeFolder; + m_projectConfigFolder = *sourceGameRoot; + m_projectConfigFolder /= s_projectConfigRelativeFolder; } AZStd::lock_guard lock(m_presetMapLock); ClearSettings(); - outcome = LoadSettings((projectConfigFolder / s_builderSettingFileName).Native()); - - if (!outcome.IsSuccess()) - { - outcome = LoadSettings((defaultConfigFolder / s_builderSettingFileName).Native()); - } + outcome = LoadSettings(); if (outcome.IsSuccess()) { // Load presets in default folder first, then load from project folder. // The same presets which loaded last will overwrite previous loaded one. - LoadPresets(defaultConfigFolder.Native()); - LoadPresets(projectConfigFolder.Native()); + LoadPresets(m_defaultConfigFolder.Native()); + LoadPresets(m_projectConfigFolder.Native()); + } - // Regenerate file mask mapping after all presets loaded - RegenerateMappings(); + // Collect extra file masks from preset files + CollectFileMasksFromPresets(); + + + if (QCoreApplication::instance()) + { + m_fileWatcher.reset(new QFileSystemWatcher); + // track preset files + // Note, the QT signal would only works for AP but not AssetBuilder + // We use file time stamp to track preset file change in builder's CreateJob + for (auto& preset : m_presets) + { + m_fileWatcher.data()->addPath(QString(preset.second.m_presetFilePath.c_str())); + } + m_fileWatcher.data()->addPath(QString(m_defaultConfigFolder.c_str())); + m_fileWatcher.data()->addPath(QString(m_projectConfigFolder.c_str())); + QObject::connect(m_fileWatcher.data(), &QFileSystemWatcher::fileChanged, this, &BuilderSettingManager::OnFileChanged); + QObject::connect(m_fileWatcher.data(), &QFileSystemWatcher::directoryChanged, this, &BuilderSettingManager::OnFolderChanged); } return outcome; @@ -243,36 +287,84 @@ namespace ImageProcessingAtom void BuilderSettingManager::LoadPresets(AZStd::string_view presetFolder) { - AZStd::lock_guard lock(m_presetMapLock); - QDirIterator it(presetFolder.data(), QStringList() << "*.preset", QDir::Files, QDirIterator::NoIteratorFlags); while (it.hasNext()) { QString filePath = it.next(); - QFileInfo fileInfo = it.fileInfo(); + LoadPreset(filePath.toUtf8().data()); + } + } - MultiplatformPresetSettings preset; - auto result = AZ::JsonSerializationUtils::LoadObjectFromFile(preset, filePath.toUtf8().data()); - if (!result.IsSuccess()) + bool BuilderSettingManager::LoadPreset(const AZStd::string& filePath) + { + QFileInfo fileInfo (filePath.c_str()); + + if (!fileInfo.exists()) + { + return false; + } + + MultiplatformPresetSettings preset; + auto result = AZ::JsonSerializationUtils::LoadObjectFromFile(preset, filePath); + if (!result.IsSuccess()) + { + AZ_Warning(LogWindow, false, "Failed to load preset file %s. Error: %s", + filePath.c_str(), result.GetError().c_str()); + return false; + } + + PresetName presetName(fileInfo.baseName().toUtf8().data()); + + AZ_Warning(LogWindow, presetName == preset.GetPresetName(), "Preset file name '%s' is not" + " same as preset name '%s'. Using preset file name as preset name", + filePath.c_str(), preset.GetPresetName().GetCStr()); + + preset.SetPresetName(presetName); + + m_presets[presetName] = PresetEntry{preset, filePath.c_str(), fileInfo.lastModified()}; + return true; + } + + void BuilderSettingManager::ReloadPreset(const PresetName& presetName) + { + // Find the preset file from project or default config folder + AZStd::string presetFileName = AZStd::string::format("%s.%s", presetName.GetCStr(), s_presetFileExtension); + AZ::IO::FixedMaxPath filePath = m_projectConfigFolder/presetFileName; + QFileInfo fileInfo (filePath.c_str()); + if (!fileInfo.exists()) + { + filePath = (m_defaultConfigFolder/presetFileName).c_str(); + fileInfo = QFileInfo(filePath.c_str()); + } + + AZStd::lock_guard lock(m_presetMapLock); + + //Skip the loading if the file wasn't chagned + if (fileInfo.exists()) + { + if (m_presets.find(presetName) != m_presets.end()) { - AZ_Warning("Image Processing", false, "Failed to load preset file %s. Error: %s", - filePath.toUtf8().data(), result.GetError().c_str()); + if (m_presets[presetName].m_lastModifiedTime == fileInfo.lastModified() + && m_presets[presetName].m_presetFilePath == filePath.c_str()) + { + return; + } } + } - PresetName presetName(fileInfo.baseName().toUtf8().data()); + // remove preset + m_presets.erase(presetName); - AZ_Warning("Image Processing", presetName == preset.GetPresetName(), "Preset file name '%s' is not" - " same as preset name '%s'. Using preset file name as preset name", - filePath.toUtf8().data(), preset.GetPresetName().GetCStr()); - - preset.SetPresetName(presetName); - - m_presets[presetName] = PresetEntry{preset, filePath.toUtf8().data()}; + if (fileInfo.exists()) + { + LoadPreset(filePath.c_str()); } } StringOutcome BuilderSettingManager::LoadConfigFromFolder(AZStd::string_view configFolder) { + AZStd::lock_guard lock(m_presetMapLock); + // Load builder settings AZStd::string settingFilePath = AZStd::string::format("%.*s%s", aznumeric_cast(configFolder.size()), configFolder.data(), s_builderSettingFileName); @@ -282,12 +374,108 @@ namespace ImageProcessingAtom if (result.IsSuccess()) { LoadPresets(configFolder); - RegenerateMappings(); } return result; } + void BuilderSettingManager::ReportDeprecatedSettings() + { + // reported deprecated attributes in image builder settings + if (!m_analysisFingerprint.empty()) + { + AZ_Warning(LogWindow, false, "'AnalysisFingerprint' is deprecated and it should be removed from file [%s]", s_builderSettingFileName); + } + if (!m_defaultPresetByFileMask.empty()) + { + AZ_Warning(LogWindow, false, "'DefaultPresetsByFileMask' is deprecated and it should be removed from file [%s]. Use PresetsByFileMask instead", s_builderSettingFileName); + } + } + + StringOutcome BuilderSettingManager::LoadSettings() + { + // If the project image build setting file exist, it will merge image builder settings from project folder to the settings from default config folder. + bool needMerge = false; + AZStd::string projectSettingFile{ (m_projectConfigFolder / s_builderSettingFileName).Native() }; + + if (AZ::IO::SystemFile::Exists(projectSettingFile.c_str())) + { + needMerge = true; + } + + AZ::Outcome outcome; + AZStd::string defaultSettingFile{ (m_defaultConfigFolder / s_builderSettingFileName).Native() }; + if (needMerge) + { + auto outcome1 = AZ::JsonSerializationUtils::ReadJsonFile(defaultSettingFile); + auto outcome2 = AZ::JsonSerializationUtils::ReadJsonFile(projectSettingFile); + + // return error if it failed to load default settings + if (!outcome1.IsSuccess()) + { + return STRING_OUTCOME_ERROR(outcome1.GetError()); + } + + // if project config was loaded successfully, apply merge patch + rapidjson::Document& originDoc = outcome1.GetValue(); + if (outcome2.IsSuccess()) + { + const rapidjson::Document& patchDoc = outcome2.GetValue(); + AZ::JsonSerializationResult::ResultCode result = + AZ::JsonSerialization::ApplyPatch(originDoc, originDoc.GetAllocator(), patchDoc, AZ::JsonMergeApproach::JsonMergePatch); + + if (result.GetProcessing() == AZ::JsonSerializationResult::Processing::Completed) + { + AZStd::vector outBuffer; + AZ::IO::ByteContainerStream> outStream{ &outBuffer }; + AZ::JsonSerializationUtils::WriteJsonStream(originDoc, outStream); + + outStream.Seek(0, AZ::IO::GenericStream::ST_SEEK_BEGIN); + + outcome = AZ::JsonSerializationUtils::LoadObjectFromStream(*this, outStream); + if (!outcome.IsSuccess()) + { + return STRING_OUTCOME_ERROR(outcome.GetError()); + } + + ReportDeprecatedSettings(); + + + // Generate config file fingerprint + outStream.Seek(0, AZ::IO::GenericStream::ST_SEEK_BEGIN); + AZ::u64 hash = AssetBuilderSDK::GetHashFromIOStream(outStream); + m_analysisFingerprint = AZStd::string::format("%llX", hash); + } + else + { + needMerge = false; + AZ_Warning(LogWindow, false, "Failed to fully merge data into image builder settings. Skipping project build setting file [%s]", projectSettingFile.c_str()); + } + } + else + { + AZ_Warning(LogWindow, false, "Failed to load project setting file [%s]. Skipping", projectSettingFile.c_str()); + } + } + + if (!needMerge) + { + outcome = AZ::JsonSerializationUtils::LoadObjectFromFile(*this, defaultSettingFile); + if (!outcome.IsSuccess()) + { + return STRING_OUTCOME_ERROR(outcome.GetError()); + } + + ReportDeprecatedSettings(); + + // Generate config file fingerprint + AZ::u64 hash = AssetBuilderSDK::GetFileHash(defaultSettingFile.c_str()); + m_analysisFingerprint = AZStd::string::format("%llX", hash); + } + + return STRING_OUTCOME_SUCCESS; + } + StringOutcome BuilderSettingManager::LoadSettings(AZStd::string_view filepath) { AZStd::lock_guard lock(m_presetMapLock); @@ -336,13 +524,13 @@ namespace ImageProcessingAtom return m_analysisFingerprint; } - void BuilderSettingManager::RegenerateMappings() + void BuilderSettingManager::CollectFileMasksFromPresets() { AZStd::lock_guard lock(m_presetMapLock); AZStd::string noFilter = AZStd::string(); - - m_presetFilterMap.clear(); + + AZStd::string extraString; for (const auto& presetIter : m_presets) { @@ -357,22 +545,31 @@ namespace ImageProcessingAtom { if (filemask.empty() || filemask[0] != FileMaskDelimiter) { - AZ_Warning("Image Processing", false, "File mask '%s' is invalid. It must start with '%c'.", filemask.c_str(), FileMaskDelimiter); + AZ_Warning(LogWindow, false, "File mask '%s' is invalid. It must start with '%c'.", filemask.c_str(), FileMaskDelimiter); continue; } else if (filemask.size() < 2) { - AZ_Warning("Image Processing", false, "File mask '%s' is invalid. The '%c' must be followed by at least one other character.", filemask.c_str()); + AZ_Warning(LogWindow, false, "File mask '%s' is invalid. The '%c' must be followed by at least one other character.", filemask.c_str()); continue; } else if (filemask.find(FileMaskDelimiter, 1) != AZStd::string::npos) { - AZ_Warning("Image Processing", false, "File mask '%s' is invalid. It must contain only a single '%c' character.", filemask.c_str(), FileMaskDelimiter); + AZ_Warning(LogWindow, false, "File mask '%s' is invalid. It must contain only a single '%c' character.", filemask.c_str(), FileMaskDelimiter); continue; } + + extraString += (filemask + preset.m_name.GetCStr()); + m_presetFilterMap[filemask].insert(preset.m_name); } } + + if (!extraString.empty()) + { + AZ::u64 hash = AZStd::hash{}(extraString); + m_analysisFingerprint += AZStd::string::format("%llX", hash); + } } void BuilderSettingManager::MetafilePathFromImagePath(AZStd::string_view imagePath, AZStd::string& metafilePath) @@ -419,38 +616,15 @@ namespace ImageProcessingAtom return m_presets.find(presetName) != m_presets.end(); } - PresetName BuilderSettingManager::GetSuggestedPreset(AZStd::string_view imageFilePath, IImageObjectPtr imageFromFile) + PresetName BuilderSettingManager::GetSuggestedPreset(AZStd::string_view imageFilePath) const { PresetName emptyPreset; - //load the image to get its size for later use - IImageObjectPtr image = imageFromFile; - //if the input image is empty we will try to load it from the path - if (imageFromFile == nullptr) - { - image = IImageObjectPtr(LoadImageFromFile(imageFilePath)); - } - - if (image == nullptr) - { - return emptyPreset; - } - //get file mask of this image file AZStd::string fileMask = GetFileMask(imageFilePath); PresetName outPreset = emptyPreset; - //check default presets for some file masks - if (m_defaultPresetByFileMask.find(fileMask) != m_defaultPresetByFileMask.end()) - { - outPreset = m_defaultPresetByFileMask[fileMask]; - if (!IsValidPreset(outPreset)) - { - outPreset = emptyPreset; - } - } - //use the preset filter map to find if (outPreset.IsEmpty() && !fileMask.empty()) { @@ -461,54 +635,21 @@ namespace ImageProcessingAtom } } - const PresetSettings* presetInfo = nullptr; - - if (!outPreset.IsEmpty()) - { - presetInfo = GetPreset(outPreset); - - //special case for cubemap - if (presetInfo && presetInfo->m_cubemapSetting) - { - // If it's not a latitude-longitude map or it doesn't match any cubemap layouts then reset its preset - if (!IsValidLatLongMap(image) && CubemapLayout::GetCubemapLayoutInfo(image) == nullptr) - { - outPreset = emptyPreset; - } - } - } - if (outPreset == emptyPreset) { - if (image->GetAlphaContent() == EAlphaContent::eAlphaContent_Absent) - { - outPreset = m_defaultPreset; - } - else - { - outPreset = m_defaultPresetAlpha; - } + outPreset = m_defaultPreset; } - //get the pixel format for selected preset - presetInfo = GetPreset(outPreset); + return outPreset; + } - if (presetInfo) - { - //valid whether image size work with pixel format - if (CPixelFormats::GetInstance().IsImageSizeValid(presetInfo->m_pixelFormat, - image->GetWidth(0), image->GetHeight(0), false)) - { - return outPreset; - } - else - { - AZ_Warning("Image Processing", false, "Image dimensions are not compatible with preset '%s'. The default preset will be used.", presetInfo->m_name.GetCStr()); - } - } - - //uncompressed one which could be used for almost everything - return m_defaultPresetNonePOT; + AZStd::vector BuilderSettingManager::GetPossiblePresetPaths(const PresetName& presetName) const + { + AZStd::vector paths; + AZStd::string presetFile = AZStd::string::format("%s.preset", presetName.GetCStr()); + paths.push_back((m_defaultConfigFolder / presetFile).c_str()); + paths.push_back((m_projectConfigFolder / presetFile).c_str()); + return paths; } bool BuilderSettingManager::DoesSupportPlatform(AZStd::string_view platformId) @@ -526,18 +667,50 @@ namespace ImageProcessingAtom AZStd::string filePath; if (!AzFramework::StringFunc::Path::Join(outputFolder.data(), fileName.c_str(), filePath)) { - AZ_Warning("Image Processing", false, "Failed to construct path with folder '%.*s' and file: '%s' to save preset", + AZ_Warning(LogWindow, false, "Failed to construct path with folder '%.*s' and file: '%s' to save preset", aznumeric_cast(outputFolder.size()), outputFolder.data(), filePath.c_str()); continue; } auto result = AZ::JsonSerializationUtils::SaveObjectToFile(&presetEntry.m_multiPreset, filePath); if (!result.IsSuccess()) { - AZ_Warning("Image Processing", false, "Failed to save preset '%s' to file '%s'. Error: %s", + AZ_Warning(LogWindow, false, "Failed to save preset '%s' to file '%s'. Error: %s", presetEntry.m_multiPreset.GetDefaultPreset().m_name.GetCStr(), filePath.c_str(), result.GetError().c_str()); } } } + void BuilderSettingManager::OnFileChanged(const QString &path) + { + // handles preset file change + // Note: this signal only works with AP but not AssetBuilder + AZ_TracePrintf(LogWindow, "File changed %s\n", path.toUtf8().data()); + QFileInfo info(path); + // skip if the file is not a preset file + // Note: for .settings file change it's handled when restart AP. + if (info.suffix() != s_presetFileExtension) + { + return; + } + + ReloadPreset(PresetName(info.baseName().toUtf8().data())); + } + + void BuilderSettingManager::OnFolderChanged([[maybe_unused]] const QString &path) + { + // handles new file added or removed + // Note: this signal only works with AP but not AssetBuilder + AZ_TracePrintf(LogWindow, "folder changed %s\n", path.toUtf8().data()); + + AZStd::lock_guard lock(m_presetMapLock); + m_presets.clear(); + LoadPresets(m_defaultConfigFolder.Native()); + LoadPresets(m_projectConfigFolder.Native()); + + for (auto& preset : m_presets) + { + m_fileWatcher.data()->addPath(QString(preset.second.m_presetFilePath.c_str())); + } + } } // namespace ImageProcessingAtom diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/BuilderSettingManager.h b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/BuilderSettingManager.h index 3bbb71ea43..443b91bc07 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/BuilderSettingManager.h +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/BuilderSettingManager.h @@ -10,10 +10,15 @@ #include #include -#include #include +#include +#include #include +#include +#include +#include + class QSettings; class QString; @@ -36,6 +41,7 @@ namespace ImageProcessingAtom * Each preset setting may have different values on different platform, but they are using same uuid. */ class BuilderSettingManager + : public QObject // required for using QFileSystemWatcher { friend class ImageProcessingTest; @@ -49,17 +55,21 @@ namespace ImageProcessingAtom static void DestroyInstance(); static void Reflect(AZ::ReflectContext* context); - const PresetSettings* GetPreset(const PresetName& presetName, const PlatformName& platform = "", AZStd::string_view* settingsFilePathOut = nullptr); + const PresetSettings* GetPreset(const PresetName& presetName, const PlatformName& platform = "", AZStd::string_view* settingsFilePathOut = nullptr) const; - const BuilderSettings* GetBuilderSetting(const PlatformName& platform); + AZStd::vector GetFileMasksForPreset(const PresetName& presetName) const; + + const BuilderSettings* GetBuilderSetting(const PlatformName& platform) const; //! Return A list of platform supported - const PlatformNameList GetPlatformList(); + const PlatformNameList GetPlatformList() const; //! Return A map of preset settings based on their filemasks. //! @key filemask string, empty string means no filemask //! @value set of preset setting names supporting the specified filemask - const AZStd::map>& GetPresetFilterMap(); + const AZStd::map>& GetPresetFilterMap() const; + + const AZStd::unordered_set& GetFullPresetList() const; //! Find preset name based on the preset id. const PresetName GetPresetNameFromId(const AZ::Uuid& presetId); @@ -68,7 +78,11 @@ namespace ImageProcessingAtom StringOutcome LoadConfig(); //! Load configurations files from a folder which includes builder settings and presets - StringOutcome LoadConfigFromFolder(AZStd::string_view configFolder); + //! Note: this is only used for unit test. Use LoadConfig() for editor or game launcher + StringOutcome LoadConfigFromFolder(AZStd::string_view configFolder); + + //! Reload preset from config folders + void ReloadPreset(const PresetName& presetName); const AZStd::string& GetAnalysisFingerprint() const; @@ -81,7 +95,12 @@ namespace ImageProcessingAtom //! @param imageFilePath: Filepath string of the image file. The function may load the image from the path for better detection //! @param image: an optional image object which can be used for preset selection if there is no match based file mask. //! @return suggested preset name. - PresetName GetSuggestedPreset(AZStd::string_view imageFilePath, IImageObjectPtr image = nullptr); + PresetName GetSuggestedPreset(AZStd::string_view imageFilePath) const; + + //! Get the possible preset config's full file paths + //! This function is only used for setting up image's source dependency if a preset file is missing + //! Otherwise, the preset's file path can be retrieved in GetPreset() function + AZStd::vector GetPossiblePresetPaths(const PresetName& presetName) const; bool IsValidPreset(PresetName presetName) const; @@ -105,25 +124,41 @@ namespace ImageProcessingAtom private: // functions AZ_DISABLE_COPY_MOVE(BuilderSettingManager); + // Write image builder setting to the file specified by filepath StringOutcome WriteSettings(AZStd::string_view filepath); + // Load image builder settings from the file specified by filepath StringOutcome LoadSettings(AZStd::string_view filepath); + // Load merge image builder settings (project and default) + StringOutcome LoadSettings(); + + // report warnings for the deprecated properties in image builder setting data + void ReportDeprecatedSettings(); + // Clear Builder Settings and any cached maps/lists void ClearSettings(); - // Regenerate Builder Settings and any cached maps/lists - void RegenerateMappings(); + // collect file masks + void CollectFileMasksFromPresets(); // Functions to save/load preset from a folder void SavePresets(AZStd::string_view outputFolder); void LoadPresets(AZStd::string_view presetFolder); + // Load a preset to m_presets and return true if success + bool LoadPreset(const AZStd::string& filePath); + + // handle preset files changes + void OnFileChanged(const QString &path); + void OnFolderChanged(const QString &path); + private: // variables struct PresetEntry { MultiplatformPresetSettings m_multiPreset; AZStd::string m_presetFilePath; // Can be used for debug output + QDateTime m_lastModifiedTime; }; // Builder settings for each platform @@ -131,13 +166,13 @@ namespace ImageProcessingAtom AZStd::unordered_map m_presets; - // Cached list of presets mapped by their file masks. + // a list of presets mapped by their file masks. // @Key file mask, use empty string to indicate all presets without filtering // @Value set of preset names that matches the file mask AZStd::map > m_presetFilterMap; - // A mutex to protect when modifying any map in this manager - AZStd::recursive_mutex m_presetMapLock; + // A mutex to protect when modifying any map in this manager + mutable AZStd::recursive_mutex m_presetMapLock; // Default presets for certain file masks AZStd::map m_defaultPresetByFileMask; @@ -153,5 +188,14 @@ namespace ImageProcessingAtom // Image builder's version AZStd::string m_analysisFingerprint; + + // default config folder + AZ::IO::FixedMaxPath m_defaultConfigFolder; + + // project config folder + AZ::IO::FixedMaxPath m_projectConfigFolder; + + // File system watcher to detect preset file changes + QScopedPointer m_fileWatcher; }; } // namespace ImageProcessingAtom diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/CubemapSettings.h b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/CubemapSettings.h index 9135a0f4d1..77f804b646 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/CubemapSettings.h +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/CubemapSettings.h @@ -26,19 +26,19 @@ namespace ImageProcessingAtom static void Reflect(AZ::ReflectContext* context); // "cm_ftype", cubemap angular filter type: gaussian, cone, disc, cosine, cosine_power, ggx - CubemapFilterType m_filter; + CubemapFilterType m_filter = CubemapFilterType::ggx; // "cm_fangle", base filter angle for cubemap filtering(degrees), 0 - disabled - float m_angle; + float m_angle = 0; // "cm_fmipangle", initial mip filter angle for cubemap filtering(degrees), 0 - disabled - float m_mipAngle; + float m_mipAngle = 0; // "cm_fmipslope", mip filter angle multiplier for cubemap filtering, 1 - default" - float m_mipSlope; + float m_mipSlope = 1; // "cm_edgefixup", cubemap edge fix-up width, 0 - disabled - float m_edgeFixup; + float m_edgeFixup = 0; // generate an IBL specular cubemap bool m_generateIBLSpecular = false; diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/ImageProcessingDefines.h b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/ImageProcessingDefines.h index e421715995..7c35a0634e 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/ImageProcessingDefines.h +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/BuilderSettings/ImageProcessingDefines.h @@ -39,7 +39,8 @@ namespace ImageProcessingAtom #define STRING_OUTCOME_ERROR(error) AZ::Failure(AZStd::string(error)) // Common typedefs (with dependent forward-declarations) - typedef AZStd::string PlatformName, FileMask; + typedef AZStd::string PlatformName; + typedef AZStd::string FileMask; typedef AZ::Name PresetName; typedef AZStd::vector PlatformNameVector; typedef AZStd::list PlatformNameList; diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Editor/EditorCommon.cpp b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Editor/EditorCommon.cpp index 067faf3dab..3e255dcccc 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Editor/EditorCommon.cpp +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Editor/EditorCommon.cpp @@ -171,7 +171,7 @@ namespace ImageProcessingAtomEditor if (!preset) { AZ_Warning("Texture Editor", false, "Cannot find preset %s! Will assign a suggested one for the texture.", presetName.GetCStr()); - presetName = BuilderSettingManager::Instance()->GetSuggestedPreset(m_fullPath, m_img); + presetName = BuilderSettingManager::Instance()->GetSuggestedPreset(m_fullPath); for (auto& settingIter : m_settingsMap) { @@ -257,15 +257,22 @@ namespace ImageProcessingAtomEditor // Update input width and height if it's a cubemap if (presetSetting->m_cubemapSetting != nullptr) { - CubemapLayout *srcCubemap = CubemapLayout::CreateCubemapLayout(m_img); - if (srcCubemap == nullptr) + if (IsValidLatLongMap(m_img)) { - return false; + inputWidth = inputWidth/4; + } + else + { + CubemapLayout *srcCubemap = CubemapLayout::CreateCubemapLayout(m_img); + if (srcCubemap == nullptr) + { + return false; + } + inputWidth = srcCubemap->GetFaceSize(); + delete srcCubemap; } - inputWidth = srcCubemap->GetFaceSize(); inputHeight = inputWidth; outResolutionInfo.arrayCount = 6; - delete srcCubemap; } GetOutputExtent(inputWidth, inputHeight, outResolutionInfo.width, outResolutionInfo.height, outResolutionInfo.reduce, &textureSetting, presetSetting); diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Editor/TexturePresetSelectionWidget.cpp b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Editor/TexturePresetSelectionWidget.cpp index e50d95b907..cc341c5e31 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Editor/TexturePresetSelectionWidget.cpp +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Editor/TexturePresetSelectionWidget.cpp @@ -18,6 +18,27 @@ namespace ImageProcessingAtomEditor { using namespace ImageProcessingAtom; + + AZStd::string GetImageFileMask(const AZStd::string& imageFilePath) + { + const char FileMaskDelimiter = '_'; + + //get file name + AZStd::string fileName; + QString lowerFileName = imageFilePath.data(); + lowerFileName = lowerFileName.toLower(); + AzFramework::StringFunc::Path::GetFileName(lowerFileName.toUtf8().constData(), fileName); + + //get the substring from last '_' + size_t lastUnderScore = fileName.find_last_of(FileMaskDelimiter); + if (lastUnderScore != AZStd::string::npos) + { + return fileName.substr(lastUnderScore); + } + + return AZStd::string(); + } + TexturePresetSelectionWidget::TexturePresetSelectionWidget(EditorTextureSetting& textureSetting, QWidget* parent /*= nullptr*/) : QWidget(parent) , m_ui(new Ui::TexturePresetSelectionWidget) @@ -29,33 +50,31 @@ namespace ImageProcessingAtomEditor m_presetList.clear(); auto& presetFilterMap = BuilderSettingManager::Instance()->GetPresetFilterMap(); - AZStd::unordered_set noFilterPresetList; - - // Check if there is any filtered preset list first - for(auto& presetFilter : presetFilterMap) + if (m_listAllPresets) { - if (presetFilter.first.empty()) + m_presetList = BuilderSettingManager::Instance()->GetFullPresetList(); + } + else + { + auto fileMask = GetImageFileMask(m_textureSetting->m_textureName); + auto itr = presetFilterMap.find(fileMask); + if (itr != presetFilterMap.end()) { - noFilterPresetList = presetFilter.second; + m_presetList = itr->second; } - else if (IsMatchingWithFileMask(m_textureSetting->m_textureName, presetFilter.first)) + else { - for(const auto& presetName : presetFilter.second) - { - m_presetList.insert(presetName); - } + m_presetList = BuilderSettingManager::Instance()->GetFullPresetList(); } } - // If no filtered preset list available or should list all presets, use non-filter list - if (m_presetList.size() == 0 || m_listAllPresets) - { - m_presetList = noFilterPresetList; - } + QStringList stringList; foreach (const auto& presetName, m_presetList) { - m_ui->presetComboBox->addItem(QString(presetName.GetCStr())); + stringList.append(QString(presetName.GetCStr())); } + stringList.sort(); + m_ui->presetComboBox->addItems(stringList); // Set current preset const auto& currPreset = m_textureSetting->GetMultiplatformTextureSetting().m_preset; @@ -173,8 +192,9 @@ namespace ImageProcessingAtomEditor AZStd::string conventionText = ""; if (presetSettings) { + auto fileMasks = BuilderSettingManager::Instance()->GetFileMasksForPreset(presetSettings->m_name); int i = 0; - for (const PlatformName& filemask : presetSettings->m_fileMasks) + for (const auto& filemask : fileMasks) { conventionText += i > 0 ? " " + filemask : filemask; i++; diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/ImageBuilderComponent.cpp b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/ImageBuilderComponent.cpp index 90d45ae65a..57596f4a71 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/ImageBuilderComponent.cpp +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/ImageBuilderComponent.cpp @@ -221,6 +221,58 @@ namespace ImageProcessingAtom m_isShuttingDown = true; } + PresetName GetImagePreset(const AZStd::string& filepath) + { + // first let preset from asset info + TextureSettings textureSettings; + StringOutcome output = TextureSettings::LoadTextureSetting(filepath, textureSettings); + + if (!textureSettings.m_preset.IsEmpty()) + { + return textureSettings.m_preset; + } + + return BuilderSettingManager::Instance()->GetSuggestedPreset(filepath); + } + + void HandlePresetDependency(PresetName presetName, AZStd::vector& sourceDependencyList) + { + // Reload preset if it was changed + ImageProcessingAtom::BuilderSettingManager::Instance()->ReloadPreset(presetName); + + AZStd::string_view filePath; + auto presetSettings = BuilderSettingManager::Instance()->GetPreset(presetName, /*default platform*/"", &filePath); + + AssetBuilderSDK::SourceFileDependency sourceFileDependency; + sourceFileDependency.m_sourceDependencyType = AssetBuilderSDK::SourceFileDependency::SourceFileDependencyType::Absolute; + + // Need to watch any possibe preset paths + AZStd::vector possiblePresetPaths = BuilderSettingManager::Instance()->GetPossiblePresetPaths(presetName); + for (const auto& path:possiblePresetPaths) + { + sourceFileDependency.m_sourceFileDependencyPath = path; + sourceDependencyList.push_back(sourceFileDependency); + } + + if (presetSettings) + { + // handle special case here + // Cubemap setting may reference some other presets + if (presetSettings->m_cubemapSetting) + { + if (presetSettings->m_cubemapSetting->m_generateIBLDiffuse && !presetSettings->m_cubemapSetting->m_iblDiffusePreset.IsEmpty()) + { + HandlePresetDependency(presetSettings->m_cubemapSetting->m_iblDiffusePreset, sourceDependencyList); + } + + if (presetSettings->m_cubemapSetting->m_generateIBLSpecular && !presetSettings->m_cubemapSetting->m_iblSpecularPreset.IsEmpty()) + { + HandlePresetDependency(presetSettings->m_cubemapSetting->m_iblSpecularPreset, sourceDependencyList); + } + } + } + } + // this happens early on in the file scanning pass // this function should consistently always create the same jobs, and should do no checking whether the job is up to date or not - just be consistent. void ImageBuilderWorker::CreateJobs(const AssetBuilderSDK::CreateJobsRequest& request, AssetBuilderSDK::CreateJobsResponse& response) @@ -242,13 +294,26 @@ namespace ImageProcessingAtom if (ImageProcessingAtom::BuilderSettingManager::Instance()->DoesSupportPlatform(platformInfo.m_identifier)) { AssetBuilderSDK::JobDescriptor descriptor; - descriptor.m_jobKey = ext + " Atom Compile"; + descriptor.m_jobKey = "Image Compile: " + ext; descriptor.SetPlatformIdentifier(platformInfo.m_identifier.c_str()); descriptor.m_critical = false; + descriptor.m_additionalFingerprintInfo = ""; response.m_createJobOutputs.push_back(descriptor); } } + // add source dependency for .assetinfo file + AssetBuilderSDK::SourceFileDependency sourceFileDependency; + sourceFileDependency.m_sourceDependencyType = AssetBuilderSDK::SourceFileDependency::SourceFileDependencyType::Absolute; + sourceFileDependency.m_sourceFileDependencyPath = request.m_sourceFile; + AZ::StringFunc::Path::ReplaceExtension(sourceFileDependency.m_sourceFileDependencyPath, TextureSettings::ExtensionName); + response.m_sourceFileDependencyList.push_back(sourceFileDependency); + + // add source dependencies for .preset files + // Get the preset for this file + auto presetName = GetImagePreset(request.m_sourceFile); + HandlePresetDependency(presetName, response.m_sourceFileDependencyList); + response.m_result = AssetBuilderSDK::CreateJobsResultCode::Success; return; } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvert.cpp b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvert.cpp index 5b23009cff..defca690a3 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvert.cpp +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvert.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -229,12 +230,24 @@ namespace ImageProcessingAtom AZStd::unique_ptr& cubemapSettings = m_input->m_presetSetting.m_cubemapSetting; if (cubemapSettings->m_generateIBLSpecular && !cubemapSettings->m_iblSpecularPreset.IsEmpty()) { - CreateIBLCubemap(cubemapSettings->m_iblSpecularPreset, SpecularCubemapSuffix, m_iblSpecularCubemapImage); + bool success = CreateIBLCubemap(cubemapSettings->m_iblSpecularPreset, SpecularCubemapSuffix, m_iblSpecularCubemapImage); + if (!success) + { + m_isSucceed = false; + m_isFinished = true; + break; + } } if (cubemapSettings->m_generateIBLDiffuse && !cubemapSettings->m_iblDiffusePreset.IsEmpty()) { - CreateIBLCubemap(cubemapSettings->m_iblDiffusePreset, DiffuseCubemapSuffix, m_iblDiffuseCubemapImage); + bool success = CreateIBLCubemap(cubemapSettings->m_iblDiffusePreset, DiffuseCubemapSuffix, m_iblDiffuseCubemapImage); + if (!success) + { + m_isSucceed = false; + m_isFinished = true; + break; + } } } @@ -251,7 +264,12 @@ namespace ImageProcessingAtom { if (m_input->m_presetSetting.m_cubemapSetting->m_requiresConvolve) { - FillCubemapMipmaps(); + bool success = FillCubemapMipmaps(); + if (!success) + { + m_isSucceed = false; + m_isFinished = true; + } } } else @@ -268,9 +286,7 @@ namespace ImageProcessingAtom // get gloss from normal for all mipmaps and save to alpha channel if (m_input->m_presetSetting.m_glossFromNormals) { - bool hasAlpha = (m_alphaContent == EAlphaContent::eAlphaContent_OnlyBlack - || m_alphaContent == EAlphaContent::eAlphaContent_OnlyBlackAndWhite - || m_alphaContent == EAlphaContent::eAlphaContent_Greyscale); + bool hasAlpha = Utils::NeedAlphaChannel(m_alphaContent); m_image->Get()->GlossFromNormals(hasAlpha); // set alpha content so it won't be ignored later. @@ -347,7 +363,11 @@ namespace ImageProcessingAtom } else { - AZ_TracePrintf("Image Processing", "Image converted with preset [%s] [%s] and saved to [%s] (%d bytes) taking %f seconds\n", + + [[maybe_unused]] const PixelFormatInfo* formatInfo = CPixelFormats::GetInstance().GetPixelFormatInfo(m_image->Get()->GetPixelFormat()); + AZ_TracePrintf("Image Processing", "Image [%dx%d] [%s] converted with preset [%s] [%s] and saved to [%s] (%d bytes) taking %f seconds\n", + m_image->Get()->GetWidth(0), m_image->Get()->GetHeight(0), + formatInfo->szName, m_input->m_presetSetting.m_name.GetCStr(), m_input->m_filePath.c_str(), m_input->m_outputFolder.c_str(), sizeTotal, m_processTime); @@ -421,6 +441,17 @@ namespace ImageProcessingAtom outHeight >>= 1; outReduce++; } + + // resize to min texture size if it's smaller + if (outWidth < presetSettings->m_minTextureSize) + { + outWidth = presetSettings->m_minTextureSize; + } + + if (outHeight < presetSettings->m_minTextureSize) + { + outHeight = presetSettings->m_minTextureSize; + } } bool ImageConvertProcess::ConvertToLinear() @@ -647,7 +678,7 @@ namespace ImageProcessingAtom } else if (!CPixelFormats::GetInstance().IsImageSizeValid(dstFmt, dwWidth, dwHeight, false)) { - AZ_Warning("Image Processing", false, "Image size will be scaled for pixel format %s", CPixelFormats::GetInstance().GetPixelFormatInfo(dstFmt)->szName); + AZ_TracePrintf("Image processing", "Image size will be scaled for pixel format %s\n", CPixelFormats::GetInstance().GetPixelFormatInfo(dstFmt)->szName); } #if defined(AZ_TOOLS_EXPAND_FOR_RESTRICTED_PLATFORMS) @@ -758,7 +789,7 @@ namespace ImageProcessingAtom // in very rare user case, an old texture setting file may not have a preset. We fix it over here too. if (textureSettings.m_preset.IsEmpty()) { - textureSettings.m_preset = BuilderSettingManager::Instance()->GetSuggestedPreset(imageFilePath, srcImage); + textureSettings.m_preset = BuilderSettingManager::Instance()->GetSuggestedPreset(imageFilePath); } // Get preset @@ -795,7 +826,7 @@ namespace ImageProcessingAtom return process; } - void ImageConvertProcess::CreateIBLCubemap(PresetName preset, const char* fileNameSuffix, IImageObjectPtr& cubemapImage) + bool ImageConvertProcess::CreateIBLCubemap(PresetName preset, const char* fileNameSuffix, IImageObjectPtr& cubemapImage) { const AZStd::string& platformId = m_input->m_platform; AZStd::string_view filePath; @@ -803,7 +834,7 @@ namespace ImageProcessingAtom if (presetSettings == nullptr) { AZ_Error("Image Processing", false, "Couldn't find preset for IBL cubemap generation"); - return; + return false; } // generate export file name @@ -838,14 +869,14 @@ namespace ImageProcessingAtom if (!imageConvertProcess) { AZ_Error("Image Processing", false, "Failed to create image convert process for the IBL cubemap"); - return; + return false; } imageConvertProcess->ProcessAll(); if (!imageConvertProcess->IsSucceed()) { AZ_Error("Image Processing", false, "Image convert process for the IBL cubemap failed"); - return; + return false; } // append the output products to the job's product list @@ -853,6 +884,7 @@ namespace ImageProcessingAtom // store the output cubemap so it can be accessed by unit tests cubemapImage = imageConvertProcess->m_image->Get(); + return true; } bool ConvertImageFile(const AZStd::string& imageFilePath, const AZStd::string& exportDir, @@ -873,68 +905,6 @@ namespace ImageProcessingAtom return result; } - IImageObjectPtr MergeOutputImageForPreview(IImageObjectPtr image, IImageObjectPtr alphaImage) - { - if (!image) - { - return IImageObjectPtr(); - } - - ImageToProcess imageToProcess(image); - imageToProcess.ConvertFormat(ePixelFormat_R8G8B8A8); - IImageObjectPtr previewImage = imageToProcess.Get(); - - // If there is separate Alpha image, combine it with output - if (alphaImage) - { - // Create pixel operation function for rgb and alpha images - IPixelOperationPtr imageOp = CreatePixelOperation(ePixelFormat_R8G8B8A8); - IPixelOperationPtr alphaOp = CreatePixelOperation(ePixelFormat_A8); - - // Convert the alpha image to A8 first - ImageToProcess imageToProcess2(alphaImage); - imageToProcess2.ConvertFormat(ePixelFormat_A8); - IImageObjectPtr previewImageAlpha = imageToProcess2.Get(); - - const uint32 imageMips = previewImage->GetMipCount(); - [[maybe_unused]] const uint32 alphaMips = previewImageAlpha->GetMipCount(); - - // Get count of bytes per pixel for both rgb and alpha images - uint32 imagePixelBytes = CPixelFormats::GetInstance().GetPixelFormatInfo(ePixelFormat_R8G8B8A8)->bitsPerBlock / 8; - uint32 alphaPixelBytes = CPixelFormats::GetInstance().GetPixelFormatInfo(ePixelFormat_A8)->bitsPerBlock / 8; - - AZ_Assert(imageMips <= alphaMips, "Mip level of alpha image is less than origin image!"); - - // For each mip level, set the alpha value to the image - for (uint32 mipLevel = 0; mipLevel < imageMips; ++mipLevel) - { - const uint32 pixelCount = previewImage->GetPixelCount(mipLevel); - [[maybe_unused]] const uint32 alphaPixelCount = previewImageAlpha->GetPixelCount(mipLevel); - - AZ_Assert(pixelCount == alphaPixelCount, "Pixel count for image and alpha image at mip level %d is not equal!", mipLevel); - - uint8* imageBuf; - uint32 pitch; - previewImage->GetImagePointer(mipLevel, imageBuf, pitch); - - uint8* alphaBuf; - uint32 alphaPitch; - previewImageAlpha->GetImagePointer(mipLevel, alphaBuf, alphaPitch); - - float rAlpha, gAlpha, bAlpha, aAlpha, rImage, gImage, bImage, aImage; - - for (uint32 i = 0; i < pixelCount; ++i, imageBuf += imagePixelBytes, alphaBuf += alphaPixelBytes) - { - alphaOp->GetRGBA(alphaBuf, rAlpha, gAlpha, bAlpha, aAlpha); - imageOp->GetRGBA(imageBuf, rImage, gImage, bImage, aImage); - imageOp->SetRGBA(imageBuf, rImage, gImage, bImage, aAlpha); - } - } - } - - return previewImage; - } - IImageObjectPtr ConvertImageForPreview(IImageObjectPtr image) { if (!image) diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvert.h b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvert.h index fe57b1a89f..ba3d21191f 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvert.h +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvert.h @@ -51,9 +51,6 @@ namespace ImageProcessingAtom //Converts the image to a RGBA8 format that can be displayed in a preview UI. IImageObjectPtr ConvertImageForPreview(IImageObjectPtr image); - //Combine image with alpha image if any and output as RGBA8 - IImageObjectPtr MergeOutputImageForPreview(IImageObjectPtr image, IImageObjectPtr alphaImage); - //get output image size and mip count based on the texture setting and preset setting //other helper functions @@ -160,7 +157,7 @@ namespace ImageProcessingAtom bool FillCubemapMipmaps(); //IBL cubemap generation, this creates a separate ImageConvertProcess - void CreateIBLCubemap(PresetName preset, const char* fileNameSuffix, IImageObjectPtr& cubemapImage); + bool CreateIBLCubemap(PresetName preset, const char* fileNameSuffix, IImageObjectPtr& cubemapImage); //convert color space to linear with pixel format rgba32f bool ConvertToLinear(); diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvertJob.cpp b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvertJob.cpp index 0e4521ab24..d81685f0c6 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvertJob.cpp +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvertJob.cpp @@ -16,28 +16,14 @@ namespace ImageProcessingAtom { - IImageObjectPtr ImageConvertOutput::GetOutputImage(OutputImageType type) const + IImageObjectPtr ImageConvertOutput::GetOutputImage() const { - if (type < OutputImageType::Count) - { - return m_outputImage[static_cast(type)]; - } - else - { - return IImageObjectPtr(); - } + return m_outputImage; } - void ImageConvertOutput::SetOutputImage(IImageObjectPtr image, OutputImageType type) + void ImageConvertOutput::SetOutputImage(IImageObjectPtr image) { - if (type < OutputImageType::Count) - { - m_outputImage[static_cast(type)] = image; - } - else - { - AZ_Error("ImageProcess", false, "Cannot set output image to %d", type); - } + m_outputImage = image; } void ImageConvertOutput::SetReady(bool ready) @@ -62,10 +48,7 @@ namespace ImageProcessingAtom void ImageConvertOutput::Reset() { - for (int i = 0; i < static_cast(OutputImageType::Count); i++) - { - m_outputImage[i] = nullptr; - } + m_outputImage = nullptr; m_outputReady = false; m_progress = 0.0f; } @@ -109,13 +92,12 @@ namespace ImageProcessingAtom IImageObjectPtr outputImage = m_process->GetOutputImage(); - m_output->SetOutputImage(outputImage, ImageConvertOutput::Base); - if (!IsJobCancelled()) { - // For preview, combine image output with alpha if any + // convert the output image to RGBA format for preview m_output->SetProgress(1.0f / static_cast(m_previewProcessStep)); - m_output->SetOutputImage(outputImage, ImageConvertOutput::Preview); + IImageObjectPtr uncompressedImage = ConvertImageForPreview(outputImage); + m_output->SetOutputImage(uncompressedImage); } m_output->SetReady(true); diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvertJob.h b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvertJob.h index 9baa5dd1b4..ac15d47806 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvertJob.h +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageConvertJob.h @@ -21,16 +21,8 @@ namespace ImageProcessingAtom class ImageConvertOutput { public: - enum OutputImageType - { - Base = 0, // Might contains alpha or not - Alpha, // Separate alpha image - Preview, // Combine base image with alpha if any, format RGBA8 - Count - }; - - IImageObjectPtr GetOutputImage(OutputImageType type) const; - void SetOutputImage(IImageObjectPtr image, OutputImageType type); + IImageObjectPtr GetOutputImage() const; + void SetOutputImage(IImageObjectPtr image); void SetReady(bool ready); bool IsReady() const; float GetProgress() const; @@ -38,7 +30,7 @@ namespace ImageProcessingAtom void Reset(); private: - IImageObjectPtr m_outputImage[OutputImageType::Count]; + IImageObjectPtr m_outputImage; bool m_outputReady = false; float m_progress = 0.0f; }; diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageObjectImpl.cpp b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageObjectImpl.cpp index 465d992ef6..758df462ec 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageObjectImpl.cpp +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImageObjectImpl.cpp @@ -183,10 +183,9 @@ namespace ImageProcessingAtom return EAlphaContent::eAlphaContent_Absent; } - //if it's compressed format, return indeterminate. if user really want to know the content, they may convert the format to ARGB8 first if (!CPixelFormats::GetInstance().IsPixelFormatUncompressed(m_pixelFormat)) { - AZ_Assert(false, "the function only works right with uncompressed formats. convert to uncompressed format if you get accurate result"); + AZ_TracePrintf("Image processing", "GetAlphaContent() was called for compressed format\n"); return EAlphaContent::eAlphaContent_Indeterminate; } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImagePreview.cpp b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImagePreview.cpp index 77a7fbef76..ff7fa911d7 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImagePreview.cpp +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/ImagePreview.cpp @@ -86,7 +86,7 @@ namespace ImageProcessingAtom IImageObjectPtr ImagePreview::GetOutputImage() { - return m_output.GetOutputImage(ImageConvertOutput::Preview); + return m_output.GetOutputImage(); } ImagePreview::~ImagePreview() diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/Utils.cpp b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/Utils.cpp index 29ba8c3351..20e1b18e77 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/Utils.cpp +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/Utils.cpp @@ -385,6 +385,13 @@ namespace ImageProcessingAtom } return true; } + + bool NeedAlphaChannel(EAlphaContent alphaContent) + { + return (alphaContent == EAlphaContent::eAlphaContent_OnlyBlack + || alphaContent == EAlphaContent::eAlphaContent_OnlyBlackAndWhite + || alphaContent == EAlphaContent::eAlphaContent_Greyscale); + } } } // namespace ImageProcessingAtom diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/Utils.h b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/Utils.h index d5905eddbc..59503a2366 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/Utils.h +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing/Utils.h @@ -26,5 +26,7 @@ namespace ImageProcessingAtom IImageObjectPtr LoadImageFromImageAsset(const AZ::Data::Asset& asset); bool SaveImageToDdsFile(IImageObjectPtr image, AZStd::string_view filePath); + + bool NeedAlphaChannel(EAlphaContent alphaContent); } } diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Code/Tests/ImageProcessing_Test.cpp b/Gems/Atom/Asset/ImageProcessingAtom/Code/Tests/ImageProcessing_Test.cpp index d0029ffc86..91b0952a06 100644 --- a/Gems/Atom/Asset/ImageProcessingAtom/Code/Tests/ImageProcessing_Test.cpp +++ b/Gems/Atom/Asset/ImageProcessingAtom/Code/Tests/ImageProcessing_Test.cpp @@ -203,7 +203,7 @@ namespace UnitTest m_gemFolder = AZ::Test::GetEngineRootPath() + "/Gems/Atom/Asset/ImageProcessingAtom/"; m_outputFolder = m_gemFolder + AZStd::string("Code/Tests/TestAssets/temp/"); - m_defaultSettingFolder = m_gemFolder + AZStd::string("Config/"); + m_defaultSettingFolder = m_gemFolder + AZStd::string("Assets/Config/"); m_testFileFolder = m_gemFolder + AZStd::string("Code/Tests/TestAssets/"); InitialImageFilenames(); diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/ImageBuilder.settings b/Gems/Atom/Asset/ImageProcessingAtom/Config/ImageBuilder.settings deleted file mode 100644 index 466ac4b71d..0000000000 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/ImageBuilder.settings +++ /dev/null @@ -1,67 +0,0 @@ -{ - "Type": "JsonSerialization", - "Version": 1, - "ClassName": "BuilderSettingManager", - "ClassData": { - "AnalysisFingerprint": "2", - "BuildSettings": { - "android": { - "GlossScale": 16.0, - "GlossBias": 0.0, - "Streaming": false, - "Enable": true - }, - "ios": { - "GlossScale": 16.0, - "GlossBias": 0.0, - "Streaming": false, - "Enable": true - }, - "mac": { - "GlossScale": 16.0, - "GlossBias": 0.0, - "Streaming": false, - "Enable": true - }, - "pc": { - "GlossScale": 16.0, - "GlossBias": 0.0, - "Streaming": false, - "Enable": true - }, - "linux": { - "GlossScale": 16.0, - "GlossBias": 0.0, - "Streaming": false, - "Enable": true - }, - "provo": { - "GlossScale": 16.0, - "GlossBias": 0.0, - "Streaming": false, - "Enable": false - } - }, - "DefaultPresetsByFileMask": { - "_basecolor": "Albedo", - "_diff": "Albedo", - "_diffuse": "Albedo", - "_ddn": "Normals", - "_normal": "Normals", - "_ddna": "NormalsWithSmoothness", - "_glossness": "Reflectance", - "_spec": "Reflectance", - "_specular": "Reflectance", - "_metallic": "Reflectance", - "_refl": "Reflectance", - "_roughness": "Reflectance", - "_ibldiffusecm": "IBLDiffuse", - "_iblskyboxcm": "IBLSkybox", - "_iblspecularcm": "IBLSpecular", - "_skyboxcm": "Skybox" - }, - "DefaultPreset": "Albedo", - "DefaultPresetAlpha": "AlbedoWithGenericAlpha", - "DefaultPresetNonePOT": "ReferenceImage" - } -} diff --git a/Gems/Atom/Asset/ImageProcessingAtom/Config/Reflectance.preset b/Gems/Atom/Asset/ImageProcessingAtom/Config/Reflectance.preset deleted file mode 100644 index 2ac88dca85..0000000000 --- a/Gems/Atom/Asset/ImageProcessingAtom/Config/Reflectance.preset +++ /dev/null @@ -1,157 +0,0 @@ -{ - "Type": "JsonSerialization", - "Version": 1, - "ClassName": "MultiplatformPresetSettings", - "ClassData": { - "DefaultPreset": { - "UUID": "{7A3CC95E-0A0C-4CA1-8357-5712B028B77D}", - "Name": "Reflectance", - "SourceColor": "Linear", - "DestColor": "Linear", - "FileMasks": [ - "_spec", - "_refl", - "_ref", - "_rf", - "_gloss", - "_g", - "_f0", - "_specf0", - "_specular", - "_metal", - "_mtl", - "_m", - "_mt", - "_metalness", - "_metallic", - "_roughness", - "_rough" - ], - "PixelFormat": "BC1", - "IsPowerOf2": true, - "MipMapSetting": { - "MipGenType": "Box" - } - }, - "PlatformsPresets": { - "android": { - "UUID": "{7A3CC95E-0A0C-4CA1-8357-5712B028B77D}", - "Name": "Reflectance", - "SourceColor": "Linear", - "DestColor": "Linear", - "FileMasks": [ - "_spec", - "_refl", - "_ref", - "_rf", - "_gloss", - "_g", - "_f0", - "_specf0", - "_metal", - "_mtl", - "_m", - "_mt", - "_metalness", - "_metallic", - "_roughness", - "_rough" - ], - "PixelFormat": "ASTC_6x6", - "MaxTextureSize": 2048, - "IsPowerOf2": true, - "MipMapSetting": { - "MipGenType": "Box" - } - }, - "ios": { - "UUID": "{7A3CC95E-0A0C-4CA1-8357-5712B028B77D}", - "Name": "Reflectance", - "SourceColor": "Linear", - "DestColor": "Linear", - "FileMasks": [ - "_spec", - "_refl", - "_ref", - "_rf", - "_gloss", - "_g", - "_f0", - "_specf0", - "_metal", - "_mtl", - "_m", - "_mt", - "_metalness", - "_metallic", - "_roughness", - "_rough" - ], - "PixelFormat": "ASTC_6x6", - "MaxTextureSize": 2048, - "IsPowerOf2": true, - "MipMapSetting": { - "MipGenType": "Box" - } - }, - "mac": { - "UUID": "{7A3CC95E-0A0C-4CA1-8357-5712B028B77D}", - "Name": "Reflectance", - "SourceColor": "Linear", - "DestColor": "Linear", - "FileMasks": [ - "_spec", - "_refl", - "_ref", - "_rf", - "_gloss", - "_g", - "_f0", - "_specf0", - "_metal", - "_mtl", - "_m", - "_mt", - "_metalness", - "_metallic", - "_roughness", - "_rough" - ], - "PixelFormat": "BC1", - "IsPowerOf2": true, - "MipMapSetting": { - "MipGenType": "Box" - } - }, - "provo": { - "UUID": "{7A3CC95E-0A0C-4CA1-8357-5712B028B77D}", - "Name": "Reflectance", - "SourceColor": "Linear", - "DestColor": "Linear", - "FileMasks": [ - "_spec", - "_refl", - "_ref", - "_rf", - "_gloss", - "_g", - "_f0", - "_specf0", - "_metal", - "_mtl", - "_m", - "_mt", - "_metalness", - "_metallic", - "_roughness", - "_rough" - ], - "PixelFormat": "BC1", - "IsPowerOf2": true, - "MipMapSetting": { - "MipGenType": "Box" - } - } - } - } -} diff --git a/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpace.pass b/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpace.pass index 4972f0f494..d1825be820 100644 --- a/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpace.pass +++ b/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpace.pass @@ -34,10 +34,6 @@ } ], "PassRequests": [ - { - "Name": "ReflectionScreenSpaceBlurPass", - "TemplateName": "ReflectionScreenSpaceBlurPassTemplate" - }, { "Name": "ReflectionScreenSpaceTracePass", "TemplateName": "ReflectionScreenSpaceTracePassTemplate", @@ -56,42 +52,65 @@ "Attachment": "NormalInput" } }, - { - "LocalSlot": "DepthStencilInput", - "AttachmentRef": { - "Pass": "Parent", - "Attachment": "DepthStencilInput" - - } - }, { "LocalSlot": "SpecularF0Input", "AttachmentRef": { "Pass": "Parent", "Attachment": "SpecularF0Input" } + }, + { + "LocalSlot": "ReflectionInputOutput", + "AttachmentRef": { + "Pass": "Parent", + "Attachment": "ReflectionInputOutput" + } + } + ] + }, + { + "Name": "ReflectionScreenSpaceBlurPass", + "TemplateName": "ReflectionScreenSpaceBlurPassTemplate", + "Connections": [ + { + "LocalSlot": "DepthInput", + "AttachmentRef": { + "Pass": "Parent", + "Attachment": "DepthStencilInput" + } + }, + { + "LocalSlot": "ScreenSpaceReflectionInputOutput", + "AttachmentRef": { + "Pass": "ReflectionScreenSpaceTracePass", + "Attachment": "ScreenSpaceReflectionOutput" + } + }, + { + "LocalSlot": "DownsampledDepthInputOutput", + "AttachmentRef": { + "Pass": "ReflectionScreenSpaceTracePass", + "Attachment": "DownsampledDepthOutput" + } } ] }, { "Name": "ReflectionScreenSpaceCompositePass", "TemplateName": "ReflectionScreenSpaceCompositePassTemplate", - "ExecuteAfter": [ - "ReflectionScreenSpaceBlurPass" - ], "Connections": [ { - "LocalSlot": "TraceInput", + "LocalSlot": "ReflectionInput", "AttachmentRef": { - "Pass": "ReflectionScreenSpaceTracePass", - "Attachment": "Output" + "Pass": "ReflectionScreenSpaceBlurPass", + "Attachment": "ScreenSpaceReflectionInputOutput" } }, { - "LocalSlot": "PreviousFrameBufferInput", + "LocalSlot": "DownsampledDepthInput", "AttachmentRef": { "Pass": "ReflectionScreenSpaceBlurPass", - "Attachment": "PreviousFrameInputOutput" + "Attachment": "DownsampledDepthInputOutput" } }, { @@ -115,6 +134,13 @@ "Attachment": "DepthStencilInput" } }, + { + "LocalSlot": "PreviousFrameInputOutput", + "AttachmentRef": { + "Pass": "ReflectionScreenSpaceTracePass", + "Attachment": "PreviousFrameInputOutput" + } + }, { "LocalSlot": "DepthStencilInput", "AttachmentRef": { diff --git a/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceBlur.pass b/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceBlur.pass index e2fde2d4ef..a5fd2fdfb1 100644 --- a/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceBlur.pass +++ b/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceBlur.pass @@ -8,34 +8,19 @@ "PassClass": "ReflectionScreenSpaceBlurPass", "Slots": [ { - "Name": "PreviousFrameInputOutput", + "Name": "DepthInput", + "SlotType": "Input", + "ScopeAttachmentUsage": "Shader" + }, + { + "Name": "ScreenSpaceReflectionInputOutput", "SlotType": "InputOutput", "ScopeAttachmentUsage": "Shader" - } - ], - "ImageAttachments": [ + }, { - "Name": "PreviousFrameImage", - "SizeSource": { - "Source": { - "Pass": "Parent", - "Attachment": "SpecularInput" - } - }, - "ImageDescriptor": { - "Format": "R16G16B16A16_FLOAT", - "SharedQueueMask": "Graphics" - }, - "GenerateFullMipChain": true - } - ], - "Connections": [ - { - "LocalSlot": "PreviousFrameInputOutput", - "AttachmentRef": { - "Pass": "This", - "Attachment": "PreviousFrameImage" - } + "Name": "DownsampledDepthInputOutput", + "SlotType": "InputOutput", + "ScopeAttachmentUsage": "DepthStencil" } ] } diff --git a/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceBlurVertical.pass b/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceBlurVertical.pass index a616ed4c8e..af3878cf6b 100644 --- a/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceBlurVertical.pass +++ b/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceBlurVertical.pass @@ -7,6 +7,11 @@ "Name": "ReflectionScreenSpaceBlurVerticalPassTemplate", "PassClass": "ReflectionScreenSpaceBlurChildPass", "Slots": [ + { + "Name": "DepthInput", + "SlotType": "Input", + "ScopeAttachmentUsage": "Shader" + }, { "Name": "Input", "SlotType": "InputOutput", @@ -16,6 +21,20 @@ "Name": "Output", "SlotType": "InputOutput", "ScopeAttachmentUsage": "RenderTarget" + }, + { + "Name": "DownsampledDepthOutput", + "SlotType": "InputOutput", + "ScopeAttachmentUsage": "DepthStencil" + } + ], + "Connections": [ + { + "LocalSlot": "DepthInput", + "AttachmentRef": { + "Pass": "Parent", + "Attachment": "DepthInput" + } } ], "PassData": { diff --git a/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceComposite.pass b/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceComposite.pass index 5443c32406..17b58dbc9e 100644 --- a/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceComposite.pass +++ b/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceComposite.pass @@ -8,12 +8,12 @@ "PassClass": "ReflectionScreenSpaceCompositePass", "Slots": [ { - "Name": "TraceInput", + "Name": "ReflectionInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { - "Name": "PreviousFrameBufferInput", + "Name": "DownsampledDepthInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, @@ -37,6 +37,11 @@ ] } }, + { + "Name": "PreviousFrameInputOutput", + "SlotType": "InputOutput", + "ScopeAttachmentUsage": "Shader" + }, { "Name": "DepthStencilInput", "SlotType": "Input", diff --git a/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceTrace.pass b/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceTrace.pass index 370db1f45a..824d23a046 100644 --- a/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceTrace.pass +++ b/Gems/Atom/Feature/Common/Assets/Passes/ReflectionScreenSpaceTrace.pass @@ -5,7 +5,7 @@ "ClassData": { "PassTemplate": { "Name": "ReflectionScreenSpaceTracePassTemplate", - "PassClass": "FullScreenTriangle", + "PassClass": "ReflectionScreenSpaceTracePass", "Slots": [ { "Name": "DepthStencilTextureInput", @@ -28,24 +28,52 @@ "ScopeAttachmentUsage": "Shader" }, { - "Name": "DepthStencilInput", + "Name": "ReflectionInputOutput", "SlotType": "Input", - "ScopeAttachmentUsage": "DepthStencil", - "ImageViewDesc": { - "AspectFlags": [ - "Stencil" - ] + "ScopeAttachmentUsage": "Shader" + }, + { + "Name": "PreviousFrameInputOutput", + "SlotType": "Input", + "ScopeAttachmentUsage": "Shader" + }, + { + "Name": "ScreenSpaceReflectionOutput", + "SlotType": "Output", + "ScopeAttachmentUsage": "RenderTarget", + "LoadStoreAction": { + "ClearValue": { + "Value": [ + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "LoadAction": "Clear" } }, { - "Name": "Output", + "Name": "DownsampledDepthOutput", "SlotType": "Output", - "ScopeAttachmentUsage": "RenderTarget" + "ScopeAttachmentUsage": "DepthStencil", + "LoadStoreAction": { + "ClearValue": { + "Type": "DepthStencil", + "Value": [ + 1.0, + {}, + {}, + {} + ] + }, + "LoadAction": "Clear" + } } ], "ImageAttachments": [ { - "Name": "TraceImage", + "Name": "ScreenSpaceReflectionImage", "SizeSource": { "Source": { "Pass": "This", @@ -56,9 +84,40 @@ "HeightMultiplier": 0.5 } }, - "MultisampleSource": { - "Pass": "This", - "Attachment": "SpecularF0Input" + "ImageDescriptor": { + "Format": "R16G16B16A16_FLOAT", + "MipLevels": "5", + "SharedQueueMask": "Graphics" + } + }, + { + "Name": "DownsampledDepthImage", + "SizeSource": { + "Source": { + "Pass": "Parent", + "Attachment": "DepthStencilInput" + }, + "Multipliers": { + "WidthMultiplier": 0.5, + "HeightMultiplier": 0.5 + } + }, + "FormatSource": { + "Pass": "Parent", + "Attachment": "DepthStencilInput" + }, + "ImageDescriptor": { + "MipLevels": "5", + "SharedQueueMask": "Graphics" + } + }, + { + "Name": "PreviousFrameImage", + "SizeSource": { + "Source": { + "Pass": "Parent", + "Attachment": "SpecularInput" + } }, "ImageDescriptor": { "Format": "R16G16B16A16_FLOAT", @@ -68,15 +127,28 @@ ], "Connections": [ { - "LocalSlot": "Output", + "LocalSlot": "ScreenSpaceReflectionOutput", "AttachmentRef": { "Pass": "This", - "Attachment": "TraceImage" + "Attachment": "ScreenSpaceReflectionImage" + } + }, + { + "LocalSlot": "DownsampledDepthOutput", + "AttachmentRef": { + "Pass": "This", + "Attachment": "DownsampledDepthImage" + } + }, + { + "LocalSlot": "PreviousFrameInputOutput", + "AttachmentRef": { + "Pass": "This", + "Attachment": "PreviousFrameImage" } } ], - "PassData": - { + "PassData": { "$type": "FullscreenTrianglePassData", "ShaderAsset": { "FilePath": "Shaders/Reflections/ReflectionScreenSpaceTrace.shader" diff --git a/Gems/Atom/Feature/Common/Assets/ShaderLib/Atom/Features/Shadow/ProjectedShadow.azsli b/Gems/Atom/Feature/Common/Assets/ShaderLib/Atom/Features/Shadow/ProjectedShadow.azsli index daed3a2921..3b8379e7fa 100644 --- a/Gems/Atom/Feature/Common/Assets/ShaderLib/Atom/Features/Shadow/ProjectedShadow.azsli +++ b/Gems/Atom/Feature/Common/Assets/ShaderLib/Atom/Features/Shadow/ProjectedShadow.azsli @@ -14,6 +14,7 @@ #include #include "BicubicPcfFilters.azsli" #include "Shadow.azsli" +#include "NormalOffsetShadows.azsli" // ProjectedShadow calculates shadowed area projected from a light. class ProjectedShadow @@ -123,6 +124,7 @@ float ProjectedShadow::GetThickness(uint shadowIndex, float3 worldPosition) ProjectedShadow shadow; shadow.m_worldPosition = worldPosition; + shadow.m_normalVector = 0; // The normal vector is used to reduce acne, this is not an issue when using the shadowmap to determine thickness. shadow.m_shadowIndex = shadowIndex; shadow.SetShadowPosition(); return shadow.GetThickness(); @@ -317,8 +319,13 @@ bool ProjectedShadow::IsShadowed(float3 shadowPosition) void ProjectedShadow::SetShadowPosition() { + const float normalBias = ViewSrg::m_projectedShadows[m_shadowIndex].m_normalShadowBias; + const float shadowmapSize = ViewSrg::m_projectedFilterParams[m_shadowIndex].m_shadowmapSize; + const float3 shadowOffset = ComputeNormalShadowOffset(normalBias, m_normalVector, shadowmapSize); const float4x4 depthBiasMatrix = ViewSrg::m_projectedShadows[m_shadowIndex].m_depthBiasMatrix; - float4 shadowPositionHomogeneous = mul(depthBiasMatrix, float4(m_worldPosition, 1)); + + float4 shadowPositionHomogeneous = mul(depthBiasMatrix, float4(m_worldPosition + shadowOffset, 1)); + m_shadowPosition = shadowPositionHomogeneous.xyz / shadowPositionHomogeneous.w; m_bias = ViewSrg::m_projectedShadows[m_shadowIndex].m_bias / shadowPositionHomogeneous.w; diff --git a/Gems/Atom/Feature/Common/Assets/Shaders/PostProcessing/NewDepthOfFieldTileReduce.azsl b/Gems/Atom/Feature/Common/Assets/Shaders/PostProcessing/NewDepthOfFieldTileReduce.azsl index 6d55648f22..db91c369ef 100644 --- a/Gems/Atom/Feature/Common/Assets/Shaders/PostProcessing/NewDepthOfFieldTileReduce.azsl +++ b/Gems/Atom/Feature/Common/Assets/Shaders/PostProcessing/NewDepthOfFieldTileReduce.azsl @@ -48,6 +48,9 @@ void MainCS(uint3 group_thread_id : SV_GroupThreadID, uint3 group_id : SV_GroupI LDS_MAX_COC[group_thread_id.x] = 0; } + // Sync LDS + GroupMemoryBarrierWithGroupSync(); + // We use gather to get 2x2 values at once, so thread samples are spaced 2 pixels apart (+1 so the sample position is in between the four pixels) float2 samplePos = float2(dispatch_id.xy) * 2 + float2(1, 1); float2 sampleUV = samplePos * PassSrg::m_inputDimensions.zw; @@ -74,6 +77,9 @@ void MainCS(uint3 group_thread_id : SV_GroupThreadID, uint3 group_id : SV_GroupI InterlockedMin( LDS_MIN_COC[0], LDS_MIN_COC[group_thread_id.x] ); InterlockedMax( LDS_MAX_COC[0], LDS_MAX_COC[group_thread_id.x] ); + // Sync LDS + GroupMemoryBarrierWithGroupSync(); + // Each group write to just one pixel. If we're the last thread in the group, write out if(group_thread_id.x == 0) { diff --git a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurCommon.azsli b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurCommon.azsli index 1e4d4af8a2..3d38df2816 100644 --- a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurCommon.azsli +++ b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurCommon.azsli @@ -6,11 +6,31 @@ * */ -// 7-tap Gaussian Kernel (Sigma 1.1) -static const uint GaussianKernelSize = 7; -static const int2 TexelOffsetsV[GaussianKernelSize] = {{0, -3}, {0, -2}, {0, -1}, {0, 0}, {0, 1}, {0, 2}, {0, 3}}; -static const int2 TexelOffsetsH[GaussianKernelSize] = {{-3, 0}, {-2, 0}, {-1, 0}, {0, 0}, {1, 0}, {2, 0}, {3, 0}}; -static const float TexelWeights[GaussianKernelSize] = {0.010805f, 0.074929f, 0.238727f, 0.351078f, 0.238727f, 0.074929f, 0.010805f}; +// Gaussian Kernel Radius 9, Sigma 1.8 +static const uint GaussianKernelSize = 19; +static const int2 TexelOffsetsV[GaussianKernelSize] = {{0, -9}, {0, -8}, {0, -7}, {0, -6}, {0, -5}, {0, -4}, {0, -3}, {0, -2}, {0, -1}, {0, 0}, {0, 1}, {0, 2}, {0, 3}, {0, 4}, {0, 5}, {0, 6}, {0, 7}, {0, 8}, {0, 9}}; +static const int2 TexelOffsetsH[GaussianKernelSize] = {{-9, 0}, {-8, 0}, {-7, 0}, {-6, 0}, {-5, 0}, {-4, 0}, {-3, 0}, {-2, 0}, {-1, 0}, {0, 0}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {6, 0}, {7, 0}, {8, 0}, {9, 0}}; +static const float TexelWeights[GaussianKernelSize] = { + 0.0000011022801820635918f, + 0.000014295732881160677f, + 0.0001370168487067367f, + 0.0009708086495991633f, + 0.005086391900047703f, + 0.019711193240183777f, + 0.056512463228943335f, + 0.11989501853796679f, + 0.18826323520204147f, + 0.21881694875889543f, + 0.18826323520204147f, + 0.11989501853796679f, + 0.056512463228943335f, + 0.019711193240183777f, + 0.005086391900047703f, + 0.0009708086495991633f, + 0.0001370168487067367f, + 0.000014295732881160677f, + 0.0000011022801820635918f +}; float3 GaussianFilter(uint2 screenCoords, int2 texelOffsets[GaussianKernelSize], RWTexture2D inputImage) { diff --git a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurVertical.azsl b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurVertical.azsl index cfc35d10e4..bdc787350e 100644 --- a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurVertical.azsl +++ b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurVertical.azsl @@ -10,12 +10,13 @@ #include #include -#include #include +#include #include "ReflectionScreenSpaceBlurCommon.azsli" ShaderResourceGroup PassSrg : SRG_PerPass { + Texture2DMS m_depth; RWTexture2D m_input; RWTexture2D m_output; uint m_imageWidth; @@ -26,13 +27,39 @@ ShaderResourceGroup PassSrg : SRG_PerPass #include // Pixel Shader +struct PSOutput +{ + float4 m_color : SV_Target0; + float m_depth : SV_Depth; +}; + PSOutput MainPS(VSOutput IN) { // vertical blur uses coordinates from the mip0 input image - uint2 coords = IN.m_position.xy * PassSrg::m_outputScale; - float3 result = GaussianFilter(coords, TexelOffsetsV, PassSrg::m_input); + uint2 halfResCoords = IN.m_position.xy * PassSrg::m_outputScale; + float3 result = GaussianFilter(halfResCoords, TexelOffsetsV, PassSrg::m_input); + + // downsample depth, using fullscreen image coordinates + float downsampledDepth = 0; + if (PassSrg::m_input[halfResCoords].w > 0.0f) + { + uint2 fullScreenCoords = halfResCoords * 2; + + for (int y = -2; y < 2; ++y) + { + for (int x = -2; x < 2; ++x) + { + float depth = PassSrg::m_depth.Load(fullScreenCoords + int2(x, y), 0).r; + if (depth > downsampledDepth) + { + downsampledDepth = depth; + } + } + } + } PSOutput OUT; OUT.m_color = float4(result, 1.0f); + OUT.m_depth = downsampledDepth; return OUT; } diff --git a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurVertical.shader b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurVertical.shader index dcebb4d2ae..92995bd69f 100644 --- a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurVertical.shader +++ b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceBlurVertical.shader @@ -10,7 +10,8 @@ { "Depth" : { - "Enable" : false + "Enable" : true, // required to bind the depth buffer SRV + "CompareFunc" : "Always" } }, diff --git a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceComposite.azsl b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceComposite.azsl index a0c31442fa..6cd4ce16f5 100644 --- a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceComposite.azsl +++ b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceComposite.azsl @@ -12,17 +12,19 @@ #include #include #include +#include #include #include #include ShaderResourceGroup PassSrg : SRG_PerPass { - Texture2DMS m_trace; - Texture2D m_previousFrame; + Texture2D m_reflection; + Texture2D m_downsampledDepth; Texture2DMS m_normal; // RGB10 = Normal (Encoded), A2 = Flags Texture2DMS m_specularF0; // RGB8 = SpecularF0, A8 = Roughness Texture2DMS m_depth; + Texture2D m_previousFrame; Sampler LinearSampler { @@ -40,6 +42,49 @@ ShaderResourceGroup PassSrg : SRG_PerPass #include +float3 SampleReflection(float2 reflectionUV, float mip, float depth, float3 normal, uint2 invDimensions) +{ + const float DepthTolerance = 0.001f; + + // attempt to trivially accept the downsampled reflection texel + float downsampledDepth = PassSrg::m_downsampledDepth.SampleLevel(PassSrg::LinearSampler, reflectionUV, floor(mip)).r; + if (abs(depth - downsampledDepth) <= DepthTolerance) + { + // use this reflection sample + float3 reflection = PassSrg::m_reflection.SampleLevel(PassSrg::LinearSampler, reflectionUV, mip).rgb; + return reflection; + } + + // neighborhood search surrounding the downsampled texel, searching for the closest matching depth + float closestDepthDelta = 1.0f; + int2 closestOffsetUV = float2(0.0f, 0.0f); + for (int y = -4; y <= 4; ++y) + { + for (int x = -4; x <= 4; ++x) + { + float2 offsetUV = float2(x * invDimensions.x, y * invDimensions.y); + float downsampledDepth = PassSrg::m_downsampledDepth.SampleLevel(PassSrg::LinearSampler, reflectionUV + offsetUV, floor(mip)).r; + float depthDelta = abs(depth - downsampledDepth); + + if (depthDelta <= DepthTolerance) + { + // depth is within tolerance, use this texel + float3 reflection = PassSrg::m_reflection.SampleLevel(PassSrg::LinearSampler, reflectionUV + offsetUV, mip).rgb; + return reflection; + } + + if (closestDepthDelta > depthDelta) + { + closestDepthDelta = depthDelta; + closestOffsetUV = offsetUV; + } + } + } + + float3 reflection = PassSrg::m_reflection.SampleLevel(PassSrg::LinearSampler, reflectionUV + closestOffsetUV, mip).rgb; + return reflection; +} + // Pixel Shader PSOutput MainPS(VSOutput IN, in uint sampleIndex : SV_SampleIndex) { @@ -52,11 +97,21 @@ PSOutput MainPS(VSOutput IN, in uint sampleIndex : SV_SampleIndex) // compute trace image coordinates for the half-res image float2 traceCoords = screenCoords * 0.5f; - // load trace data and check w-component to see if there was a hit - float4 traceData = PassSrg::m_trace.Load(traceCoords, sampleIndex); - if (traceData.w <= 0.0f) + // check reflection data mip0 to see if there was a hit + float4 reflectionData = PassSrg::m_reflection.Load(uint3(traceCoords, 0)); + if (reflectionData.w <= 0.0f) { - // no hit, fallback to the cubemap reflections currently in the reflection buffer + // fallback to the cubemap reflections currently in the reflection buffer + discard; + } + + // load specular and roughness + float4 specularF0 = PassSrg::m_specularF0.Load(screenCoords, sampleIndex); + float roughness = specularF0.a; + const float MaxRoughness = 0.5f; + if (roughness > MaxRoughness) + { + // fallback to the cubemap reflections currently in the reflection buffer discard; } @@ -65,8 +120,9 @@ PSOutput MainPS(VSOutput IN, in uint sampleIndex : SV_SampleIndex) float depth = PassSrg::m_depth.Load(screenCoords, sampleIndex).r; float2 ndcPos = float2(UV.x, 1.0f - UV.y) * 2.0f - 1.0f; float4 projectedPos = float4(ndcPos, depth, 1.0f); - float4 positionWS = mul(ViewSrg::m_viewProjectionInverseMatrix, projectedPos); - positionWS /= positionWS.w; + float4 positionVS = mul(ViewSrg::m_projectionMatrixInverse, projectedPos); + positionVS /= positionVS.w; + float3 positionWS = mul(ViewSrg::m_viewMatrixInverse, positionVS).xyz; // compute ray from camera to surface position float3 cameraToPositionWS = normalize(positionWS.xyz - ViewSrg::m_worldPosition); @@ -74,42 +130,16 @@ PSOutput MainPS(VSOutput IN, in uint sampleIndex : SV_SampleIndex) // retrieve surface normal float4 encodedNormal = PassSrg::m_normal.Load(screenCoords, sampleIndex); float3 normalWS = DecodeNormalSignedOctahedron(encodedNormal.rgb); - - // compute surface specular - float4 specularF0 = PassSrg::m_specularF0.Load(screenCoords, sampleIndex); - float roughness = specularF0.a; float NdotV = dot(normalWS, -cameraToPositionWS); - float3 specular = FresnelSchlickWithRoughness(NdotV, specularF0.rgb, roughness); - // reconstruct the world space position of the trace coordinates - float2 traceUV = saturate(traceData.xy / dimensions); - float traceDepth = PassSrg::m_depth.Load(traceData.xy, sampleIndex).r; - float2 traceNDC = float2(traceUV.x, 1.0f - traceUV.y) * 2.0f - 1.0f; - float4 traceProjectedPos = float4(traceNDC, traceDepth, 1.0f); - float4 tracePositionVS = mul(ViewSrg::m_projectionMatrixInverse, traceProjectedPos); - tracePositionVS /= tracePositionVS.w; - float4 tracePositionWS = mul(ViewSrg::m_viewMatrixInverse, tracePositionVS); - - // reproject to the previous frame image coordinates - float4 tracePrevNDC = mul(ViewSrg::m_viewProjectionPrevMatrix, tracePositionWS); - tracePrevNDC /= tracePrevNDC.w; - float2 tracePrevUV = float2(tracePrevNDC.x, -1.0f * tracePrevNDC.y) * 0.5f + 0.5f; - - // compute the roughness mip to use in the previous frame image + // compute the roughness mip to use in the reflection image // remap the roughness mip into a lower range to more closely match the material roughness values - const float MaxRoughness = 0.5f; float mip = saturate(roughness / MaxRoughness) * PassSrg::m_maxMipLevel; - // sample reflection value from the roughness mip - float4 reflectionColor = float4(PassSrg::m_previousFrame.SampleLevel(PassSrg::LinearSampler, tracePrevUV, mip).rgb, 1.0f); - - // fade rays close to screen edge - const float ScreenFadeDistance = 0.95f; - float2 fadeAmount = max(max(0.0f, traceUV - ScreenFadeDistance), max(0.0f, 1.0f - traceUV - ScreenFadeDistance)); - fadeAmount /= (1.0f - ScreenFadeDistance); - float alpha = 1.0f - max(fadeAmount.x, fadeAmount.y); - + // sample reflection color from the mip chain + float3 reflectionColor = SampleReflection(IN.m_texCoord, mip, depth, normalWS, 1.0f / dimensions); + PSOutput OUT; - OUT.m_color = float4(reflectionColor.rgb * specular, alpha); + OUT.m_color = float4(reflectionColor, reflectionData.w); return OUT; } diff --git a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceTrace.azsl b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceTrace.azsl index c95befce05..7c18b7f5de 100644 --- a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceTrace.azsl +++ b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceTrace.azsl @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include #include @@ -20,6 +20,18 @@ ShaderResourceGroup PassSrg : SRG_PerPass Texture2DMS m_depth; Texture2DMS m_normal; // RGB10 = Normal (Encoded), A2 = Flags Texture2DMS m_specularF0; // RGB8 = SpecularF0, A8 = Roughness + Texture2DMS m_reflection; + Texture2D m_previousFrame; + + Sampler LinearSampler + { + MinFilter = Linear; + MagFilter = Linear; + MipFilter = Linear; + AddressU = Clamp; + AddressV = Clamp; + AddressW = Clamp; + }; } #include @@ -49,6 +61,12 @@ VSOutput MainVS(VSInput input) } // Pixel Shader +struct PSOutput +{ + float4 m_color : SV_Target0; + float m_depth : SV_Depth; +}; + PSOutput MainPS(VSOutput IN) { // compute screen coords based on a half-res render target @@ -83,16 +101,83 @@ PSOutput MainPS(VSOutput IN) // reflect view ray around surface normal float3 reflectDirVS = normalize(reflect(cameraToPositionVS, normalVS)); + // check to see if the reflected direction is approaching the camera + float rdotv = dot(reflectDirVS, -cameraToPositionVS); + bool fallbackEdge = false; + if (rdotv >= -0.05f) + { + if (rdotv >= 0.0f) + { + // ray points back to camera, fallback to cubemaps + discard; + } + + // ray is approaching the camera direction, but not there yet - trace the reflection and set this + // as a non-reflected pixel, which will prevent artifacts at the boundary + fallbackEdge = true; + } + // trace screenspace rays against the depth buffer to find the screenspace intersection coordinates float4 result = float4(0.0f, 0.0f, 0.0f, 0.0f); float2 hitCoords = float2(0.0f, 0.0f); if (TraceRayScreenSpace(positionVS, reflectDirVS, dimensions, hitCoords)) { - float rdotv = dot(reflectDirVS, cameraToPositionVS); - result = float4(hitCoords, 0.0f, rdotv); + // reconstruct the world space position of the trace coordinates + float2 traceUV = saturate(hitCoords / dimensions); + float traceDepth = PassSrg::m_depth.Load(hitCoords, 0).r; + float2 traceNDC = float2(traceUV.x, 1.0f - traceUV.y) * 2.0f - 1.0f; + float4 traceProjectedPos = float4(traceNDC, traceDepth, 1.0f); + float4 tracePositionVS = mul(ViewSrg::m_projectionMatrixInverse, traceProjectedPos); + tracePositionVS /= tracePositionVS.w; + float4 tracePositionWS = mul(ViewSrg::m_viewMatrixInverse, tracePositionVS); + + // reproject to the previous frame image coordinates + float4 tracePrevNDC = mul(ViewSrg::m_viewProjectionPrevMatrix, tracePositionWS); + tracePrevNDC /= tracePrevNDC.w; + float2 tracePrevUV = float2(tracePrevNDC.x, -1.0f * tracePrevNDC.y) * 0.5f + 0.5f; + + // sample the previous frame image + result.rgb = PassSrg::m_previousFrame.SampleLevel(PassSrg::LinearSampler, tracePrevUV, 0).rgb; + + // apply surface specular + float3 specularF0 = PassSrg::m_specularF0.Load(screenCoords, 0).rgb; + result.rgb *= specularF0; + + // fade rays close to screen edge + const float ScreenFadeDistance = 0.95f; + float2 fadeAmount = max(max(0.0f, traceUV - ScreenFadeDistance), max(0.0f, 1.0f - traceUV - ScreenFadeDistance)); + fadeAmount /= (1.0f - ScreenFadeDistance); + result.a = fallbackEdge ? 0.0f : 1.0f - max(fadeAmount.x, fadeAmount.y); + } + else + { + // ray miss, add in the IBL/probe reflections from the specular pass + float4 positionWS = mul(ViewSrg::m_viewMatrixInverse, positionVS); + float3 cameraToPositionWS = normalize(positionWS - ViewSrg::m_worldPosition); + float3 reflectDirWS = normalize(reflect(cameraToPositionWS, normalWS)); + + result.rgb += PassSrg::m_reflection.Load(screenCoords, 0).rgb; + result.a = fallbackEdge ? 0.0f : 1.0f; + } + + // downsample depth + float downsampledDepth = 0.0f; + for (int y = -2; y < 2; ++y) + { + for (int x = -2; x < 2; ++x) + { + float depth = PassSrg::m_depth.Load(screenCoords + int2(x, y), 0).r; + + // take the closest depth sample (larger depth value due to reverse depth) + if (depth > downsampledDepth) + { + downsampledDepth = depth; + } + } } PSOutput OUT; OUT.m_color = result; + OUT.m_depth = downsampledDepth; return OUT; } diff --git a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceTrace.shader b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceTrace.shader index 563e0e3276..3ceabd404a 100644 --- a/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceTrace.shader +++ b/Gems/Atom/Feature/Common/Assets/Shaders/Reflections/ReflectionScreenSpaceTrace.shader @@ -10,7 +10,8 @@ { "Depth" : { - "Enable" : false + "Enable" : true, // required to bind the depth buffer SRV + "CompareFunc" : "Always" } }, diff --git a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/CoreLights/DiskLightFeatureProcessorInterface.h b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/CoreLights/DiskLightFeatureProcessorInterface.h index 5aa2dfb800..98220fae15 100644 --- a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/CoreLights/DiskLightFeatureProcessorInterface.h +++ b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/CoreLights/DiskLightFeatureProcessorInterface.h @@ -86,6 +86,8 @@ namespace AZ virtual void SetShadowsEnabled(LightHandle handle, bool enabled) = 0; //! Sets the shadow bias virtual void SetShadowBias(LightHandle handle, float bias) = 0; + //! Sets the normal shadow bias + virtual void SetNormalShadowBias(LightHandle handle, float bias) = 0; //! Sets the shadowmap size (width and height) of the light. virtual void SetShadowmapMaxResolution(LightHandle handle, ShadowmapSize shadowmapSize) = 0; //! Specifies filter method of shadows. diff --git a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/CoreLights/PointLightFeatureProcessorInterface.h b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/CoreLights/PointLightFeatureProcessorInterface.h index 1a5a776cdf..52b1402b24 100644 --- a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/CoreLights/PointLightFeatureProcessorInterface.h +++ b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/CoreLights/PointLightFeatureProcessorInterface.h @@ -74,6 +74,8 @@ namespace AZ virtual void SetFilteringSampleCount(LightHandle handle, uint16_t count) = 0; //! Sets the Esm exponent to use. Higher values produce a steeper falloff in the border areas between light and shadow. virtual void SetEsmExponent(LightHandle handle, float exponent) = 0; + //! Sets the normal shadow bias. Reduces acne by biasing the shadowmap lookup along the geometric normal. + virtual void SetNormalShadowBias(LightHandle handle, float bias) = 0; //! Sets all of the the point data for the provided LightHandle. virtual void SetPointData(LightHandle handle, const PointLightData& data) = 0; }; diff --git a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/IndexedDataVector.h b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/IndexedDataVector.h index 82cc1e7d50..b2d483e48c 100644 --- a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/IndexedDataVector.h +++ b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/IndexedDataVector.h @@ -27,31 +27,50 @@ namespace AZ::Render static constexpr IndexType NoFreeSlot = std::numeric_limits::max(); IndexType m_firstFreeSlot = NoFreeSlot; + //! Clears all data and resets to initial state. void Clear(); + + //! Creates a new entry, default-constructs it, and returns an index that references it. IndexType GetFreeSlotIndex(); + + //! Destroys the data referenced by index and frees that index for future use. void RemoveIndex(IndexType index); + + //! Destroys the data and related index by using a pointer to the data itself. void RemoveData(DataType* data); + //! Returns a reference to the data using the provided index. DataType& GetData(IndexType index); const DataType& GetData(IndexType index) const; + + //! Returns a count of how many items are stored in the IndexedDataVector size_t GetDataCount() const; + //! Returns a reference to the internal data vector. + //! This vector should not be altered by calling code or the IndexedDataVector will be corrupted AZStd::vector& GetDataVector(); const AZStd::vector& GetDataVector() const; + + //! Returns a reference to the internal vector. + const AZStd::vector& GetDataToIndexVector() const; - AZStd::vector& GetIndexVector(); - const AZStd::vector& GetIndexVector() const; - + //! Returns the offset into the internal data vector for a given index. IndexType GetRawIndex(IndexType index) const; + + //! Returns the logical index for data given its pointer, which could passed to + //! GetData() to retrieve the data again. IndexType GetIndexForData(const DataType* data) const; private: constexpr static size_t InitialReservedSize = 128; - // Stores data indices and an embedded free list + // Indices to data and an embedded free list in the unused entries AZStd::vector m_indices; - // Stores the indirection index + + // Map of the physical index in m_data to the logical index for that data in m_indices. AZStd::vector m_dataToIndices; + + // The actual data. AZStd::vector m_data; }; } // namespace AZ::Render diff --git a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/IndexedDataVector.inl b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/IndexedDataVector.inl index 581186dbcc..03c3564ce9 100644 --- a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/IndexedDataVector.inl +++ b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/IndexedDataVector.inl @@ -125,13 +125,7 @@ namespace AZ::Render } template - inline AZStd::vector& IndexedDataVector::GetIndexVector() - { - return m_dataToIndices; - } - - template - inline const AZStd::vector& IndexedDataVector::GetIndexVector() const + inline const AZStd::vector& IndexedDataVector::GetDataToIndexVector() const { return m_dataToIndices; } diff --git a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/ModelPreset.h b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/ModelPreset.h index 8bd494dfde..2dd4bed264 100644 --- a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/ModelPreset.h +++ b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/ModelPreset.h @@ -30,7 +30,6 @@ namespace AZ AZStd::string m_displayName; AZ::Data::Asset m_modelAsset; - AZ::Data::Asset m_previewImageAsset; }; using ModelPresetPtr = AZStd::shared_ptr; diff --git a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/MultiIndexedDataVector.h b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/MultiIndexedDataVector.h index e815d85cf3..c0f11dd159 100644 --- a/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/MultiIndexedDataVector.h +++ b/Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Utils/MultiIndexedDataVector.h @@ -17,7 +17,7 @@ namespace AZ { //! MultiIndexedDataVector is similar to IndexedDataVector but adds support for multiple different data vectors each containing different types //! i.e. structure of (N) arrays - //! See IndexedDataVectorTests.cpp for examples of use + //! See MultiIndexedDataVectorTests.cpp for examples of use template class MultiIndexedDataVector { diff --git a/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomBase.h b/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomBase.h index fe731f4ad6..b329a35977 100644 --- a/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomBase.h +++ b/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomBase.h @@ -155,8 +155,10 @@ namespace AZ enum AuxGeomShapeType { ShapeType_Sphere, + ShapeType_Hemisphere, ShapeType_Cone, ShapeType_Cylinder, + ShapeType_CylinderNoEnds, // Cylinder without disks on either end ShapeType_Disk, ShapeType_Quad, diff --git a/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomDrawQueue.cpp b/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomDrawQueue.cpp index b755a6efee..5cc43e9013 100644 --- a/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomDrawQueue.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomDrawQueue.cpp @@ -314,15 +314,40 @@ namespace AZ AddShape(style, shape); } - void AuxGeomDrawQueue::DrawSphere( - const AZ::Vector3& center, + Matrix3x3 CreateMatrix3x3FromDirection(const AZ::Vector3& direction) + { + Vector3 unitDirection(direction.GetNormalized()); + Vector3 unitOrthogonal(direction.GetOrthogonalVector().GetNormalized()); + Vector3 unitCross(unitOrthogonal.Cross(unitDirection)); + return Matrix3x3::CreateFromColumns(unitOrthogonal, unitDirection, unitCross); + } + + void AuxGeomDrawQueue::DrawSphere(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) + { + DrawSphereCommon(center, direction, radius, color, style, depthTest, depthWrite, faceCull, viewProjOverrideIndex, false); + } + + void AuxGeomDrawQueue::DrawSphere(const AZ::Vector3& center, float radius, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) + { + DrawSphereCommon(center, AZ::Vector3::CreateAxisZ(), radius, color, style, depthTest, depthWrite, faceCull, viewProjOverrideIndex, false); + } + + void AuxGeomDrawQueue::DrawHemisphere(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) + { + DrawSphereCommon(center, direction, radius, color, style, depthTest, depthWrite, faceCull, viewProjOverrideIndex, true); + } + + void AuxGeomDrawQueue::DrawSphereCommon( + const AZ::Vector3& center, + const AZ::Vector3& direction, float radius, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, - int32_t viewProjOverrideIndex) + int32_t viewProjOverrideIndex, + bool isHemisphere) { if (radius <= 0.0f) { @@ -330,12 +355,12 @@ namespace AZ } ShapeBufferEntry shape; - shape.m_shapeType = ShapeType_Sphere; + shape.m_shapeType = isHemisphere ? ShapeType_Hemisphere : ShapeType_Sphere; shape.m_depthRead = ConvertRPIDepthTestFlag(depthTest); shape.m_depthWrite = ConvertRPIDepthWriteFlag(depthWrite); shape.m_faceCullMode = ConvertRPIFaceCullFlag(faceCull); shape.m_color = color; - shape.m_rotationMatrix = Matrix3x3::CreateIdentity(); + shape.m_rotationMatrix = CreateMatrix3x3FromDirection(direction); shape.m_position = center; shape.m_scale = AZ::Vector3(radius, radius, radius); shape.m_pointSize = m_pointSize; @@ -362,13 +387,9 @@ namespace AZ shape.m_faceCullMode = ConvertRPIFaceCullFlag(faceCull); shape.m_color = color; - Vector3 unitDirection(direction.GetNormalized()); - Vector3 unitOrthogonal(direction.GetOrthogonalVector().GetNormalized()); - Vector3 unitCross(unitOrthogonal.Cross(unitDirection)); - // The disk mesh is created with the top of the disk pointing along the positive Y axis. This creates a // rotation so that the top of the disk will point along the given direction vector. - shape.m_rotationMatrix = Matrix3x3::CreateFromColumns(unitOrthogonal, unitDirection, unitCross); + shape.m_rotationMatrix = CreateMatrix3x3FromDirection(direction); shape.m_position = center; shape.m_scale = AZ::Vector3(radius, 1.0f, radius); shape.m_pointSize = m_pointSize; @@ -401,13 +422,7 @@ namespace AZ shape.m_faceCullMode = ConvertRPIFaceCullFlag(faceCull); shape.m_color = color; - Vector3 unitDirection(direction.GetNormalized()); - Vector3 unitOrthogonal(direction.GetOrthogonalVector().GetNormalized()); - Vector3 unitCross(unitOrthogonal.Cross(unitDirection)); - - // The cone mesh is created with the tip of the cone pointing along the positive Y axis. This creates a - // rotation so that the tip of the cone will point along the given direction vector. - shape.m_rotationMatrix = Matrix3x3::CreateFromColumns(unitOrthogonal, unitDirection, unitCross); + shape.m_rotationMatrix = CreateMatrix3x3FromDirection(direction); shape.m_position = center; shape.m_scale = AZ::Vector3(radius, height, radius); shape.m_pointSize = m_pointSize; @@ -416,17 +431,30 @@ namespace AZ AddShape(style, shape); } - void AuxGeomDrawQueue::DrawCylinder( - const AZ::Vector3& center, - const AZ::Vector3& direction, - float radius, - float height, - const AZ::Color& color, - DrawStyle style, - DepthTest depthTest, - DepthWrite depthWrite, - FaceCullMode faceCull, - int32_t viewProjOverrideIndex) + void AuxGeomDrawQueue::DrawCylinder(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, float height, const AZ::Color& color, + DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) + { + DrawCylinderCommon(center, direction, radius, height, color, style, depthTest, depthWrite, faceCull, viewProjOverrideIndex, true); + } + + void AuxGeomDrawQueue::DrawCylinderNoEnds(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, float height, const AZ::Color& color, + DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) + { + DrawCylinderCommon(center, direction, radius, height, color, style, depthTest, depthWrite, faceCull, viewProjOverrideIndex, false); + } + + void AuxGeomDrawQueue::DrawCylinderCommon( + const AZ::Vector3& center, + const AZ::Vector3& direction, + float radius, + float height, + const AZ::Color& color, + DrawStyle style, + DepthTest depthTest, + DepthWrite depthWrite, + FaceCullMode faceCull, + int32_t viewProjOverrideIndex, + bool drawEnds) { if (radius <= 0.0f || height <= 0.0f) { @@ -434,19 +462,15 @@ namespace AZ } ShapeBufferEntry shape; - shape.m_shapeType = ShapeType_Cylinder; - shape.m_depthRead = ConvertRPIDepthTestFlag(depthTest); + shape.m_shapeType = drawEnds ? ShapeType_Cylinder : ShapeType_CylinderNoEnds; + shape.m_depthRead = ConvertRPIDepthTestFlag(depthTest); shape.m_depthWrite = ConvertRPIDepthWriteFlag(depthWrite); shape.m_faceCullMode = ConvertRPIFaceCullFlag(faceCull); shape.m_color = color; - Vector3 unitDirection(direction.GetNormalized()); - Vector3 unitOrthogonal(direction.GetOrthogonalVector().GetNormalized()); - Vector3 unitCross(unitOrthogonal.Cross(unitDirection)); - // The cylinder mesh is created with the top end cap of the cylinder facing along the positive Y axis. This creates a // rotation so that the top face of the cylinder will face along the given direction vector. - shape.m_rotationMatrix = Matrix3x3::CreateFromColumns(unitOrthogonal, unitDirection, unitCross); + shape.m_rotationMatrix = CreateMatrix3x3FromDirection(direction); shape.m_position = center; shape.m_scale = AZ::Vector3(radius, height, radius); shape.m_pointSize = m_pointSize; diff --git a/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomDrawQueue.h b/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomDrawQueue.h index 535a992fe0..7fa1bbdca8 100644 --- a/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomDrawQueue.h +++ b/Gems/Atom/Feature/Common/Code/Source/AuxGeom/AuxGeomDrawQueue.h @@ -60,9 +60,12 @@ namespace AZ // Fixed shape draws void DrawQuad(float width, float height, const AZ::Matrix3x4& transform, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; void DrawSphere(const AZ::Vector3& center, float radius, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; + void DrawSphere(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; + void DrawHemisphere(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; void DrawDisk(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; void DrawCone(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, float height, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; void DrawCylinder(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, float height, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; + void DrawCylinderNoEnds(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, float height, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; void DrawAabb(const AZ::Aabb& aabb, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; void DrawAabb(const AZ::Aabb& aabb, const AZ::Matrix3x4& transform, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; void DrawObb(const AZ::Obb& obb, const AZ::Vector3& position, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override; @@ -73,6 +76,9 @@ namespace AZ private: // functions + void DrawCylinderCommon(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, float height, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex, bool drawEnds); + void DrawSphereCommon(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, const AZ::Color& color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex, bool isHemisphere); + //! Clear the current buffers void ClearCurrentBufferData(); diff --git a/Gems/Atom/Feature/Common/Code/Source/AuxGeom/FixedShapeProcessor.cpp b/Gems/Atom/Feature/Common/Code/Source/AuxGeom/FixedShapeProcessor.cpp index c2ee397b4c..2e7c0759db 100644 --- a/Gems/Atom/Feature/Common/Code/Source/AuxGeom/FixedShapeProcessor.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/AuxGeom/FixedShapeProcessor.cpp @@ -10,6 +10,7 @@ #include "AuxGeomDrawProcessorShared.h" #include +#include #include #include @@ -69,11 +70,13 @@ namespace AZ SetupInputStreamLayout(m_objectStreamLayout[DrawStyle_Solid], RHI::PrimitiveTopology::TriangleList, false); SetupInputStreamLayout(m_objectStreamLayout[DrawStyle_Shaded], RHI::PrimitiveTopology::TriangleList, true); - CreateSphereBuffersAndViews(); + CreateSphereBuffersAndViews(AuxGeomShapeType::ShapeType_Sphere); + CreateSphereBuffersAndViews(AuxGeomShapeType::ShapeType_Hemisphere); CreateQuadBuffersAndViews(); CreateDiskBuffersAndViews(); CreateConeBuffersAndViews(); - CreateCylinderBuffersAndViews(); + CreateCylinderBuffersAndViews(AuxGeomShapeType::ShapeType_Cylinder); + CreateCylinderBuffersAndViews(AuxGeomShapeType::ShapeType_CylinderNoEnds); CreateBoxBuffersAndViews(); // cache scene pointer for RHI::PipelineState creation. @@ -293,8 +296,11 @@ namespace AZ } } - bool FixedShapeProcessor::CreateSphereBuffersAndViews() + bool FixedShapeProcessor::CreateSphereBuffersAndViews(AuxGeomShapeType sphereShapeType) { + AZ_Assert(sphereShapeType == ShapeType_Sphere || sphereShapeType == ShapeType_Hemisphere, + "Trying to create sphere buffers and views with a non-sphere shape type!"); + const uint32_t numSphereLods = 5; struct LodInfo { @@ -311,13 +317,13 @@ namespace AZ { 9, 9, 0.0000f} }}; - auto& m_shape = m_shapes[ShapeType_Sphere]; + auto& m_shape = m_shapes[sphereShapeType]; m_shape.m_numLods = numSphereLods; for (uint32_t lodIndex = 0; lodIndex < numSphereLods; ++lodIndex) { MeshData meshData; - CreateSphereMeshData(meshData, lodInfo[lodIndex].numRings, lodInfo[lodIndex].numSections); + CreateSphereMeshData(meshData, lodInfo[lodIndex].numRings, lodInfo[lodIndex].numSections, sphereShapeType); ObjectBuffers objectBuffers; @@ -334,12 +340,25 @@ namespace AZ return true; } - void FixedShapeProcessor::CreateSphereMeshData(MeshData& meshData, uint32_t numRings, uint32_t numSections) + void FixedShapeProcessor::CreateSphereMeshData(MeshData& meshData, uint32_t numRings, uint32_t numSections, AuxGeomShapeType sphereShapeType) { const float radius = 1.0f; + // calculate "inner" vertices + float sectionAngle(DegToRad(360.0f / static_cast(numSections))); + float ringSlice(DegToRad(180.0f / static_cast(numRings))); + + uint32_t numberOfPoles = 2; + + if (sphereShapeType == ShapeType_Hemisphere) + { + numberOfPoles = 1; + numRings = (numRings + 1) / 2; + ringSlice = DegToRad(90.0f / static_cast(numRings)); + } + // calc required number of vertices/indices/triangles to build a sphere for the given parameters - uint32_t numVertices = (numRings - 1) * numSections + 2; + uint32_t numVertices = (numRings - 1) * numSections + numberOfPoles; // setup buffers auto& positions = meshData.m_positions; @@ -354,30 +373,29 @@ namespace AZ using NormalType = AuxGeomNormal; // 1st pole vertex - positions.push_back(PosType(0.0f, 0.0f, radius)); - normals.push_back(NormalType(0.0f, 0.0f, 1.0f)); + positions.push_back(PosType(0.0f, radius, 0.0f)); + normals.push_back(NormalType(0.0f, 1.0f, 0.0f)); - // calculate "inner" vertices - float sectionAngle(DegToRad(360.0f / static_cast(numSections))); - float ringSlice(DegToRad(180.0f / static_cast(numRings))); - - for (uint32_t ring = 1; ring < numRings; ++ring) + for (uint32_t ring = 1; ring < numRings - numberOfPoles + 2; ++ring) { float w(sinf(ring * ringSlice)); for (uint32_t section = 0; section < numSections; ++section) { float x = radius * cosf(section * sectionAngle) * w; - float y = radius * sinf(section * sectionAngle) * w; - float z = radius * cosf(ring * ringSlice); + float y = radius * cosf(ring * ringSlice); + float z = radius * sinf(section * sectionAngle) * w; Vector3 radialVector(x, y, z); positions.push_back(radialVector); normals.push_back(radialVector.GetNormalized()); } } - // 2nd vertex of pole (for end cap) - positions.push_back(PosType(0.0f, 0.0f, -radius)); - normals.push_back(NormalType(0.0f, 0.0f, -1.0f)); + if (sphereShapeType == ShapeType_Sphere) + { + // 2nd vertex of pole (for end cap) + positions.push_back(PosType(0.0f, -radius, 0.0f)); + normals.push_back(NormalType(0.0f, -1.0f, 0.0f)); + } // point indices { @@ -393,7 +411,8 @@ namespace AZ // line indices { - const uint32_t numEdges = (numRings - 2) * numSections * 2 + 2 * numSections * 2; + // NumEdges = NumRingEdges + NumSectionEdges = (numRings * numSections) + (numRings * numSections) + const uint32_t numEdges = numRings * numSections * 2; const uint32_t numLineIndices = numEdges * 2; // build "inner" faces @@ -401,10 +420,9 @@ namespace AZ indices.clear(); indices.reserve(numLineIndices); - for (uint16_t ring = 0; ring < numRings - 2; ++ring) + for (uint16_t ring = 0; ring < numRings - numberOfPoles + 1; ++ring) { uint16_t firstVertOfThisRing = static_cast(1 + ring * numSections); - uint16_t firstVertOfNextRing = static_cast(1 + (ring + 1) * numSections); for (uint16_t section = 0; section < numSections; ++section) { uint32_t nextSection = (section + 1) % numSections; @@ -414,32 +432,33 @@ namespace AZ indices.push_back(static_cast(firstVertOfThisRing + nextSection)); // line around section - indices.push_back(firstVertOfThisRing + section); - indices.push_back(firstVertOfNextRing + section); + int currentVertexIndex = firstVertOfThisRing + section; + // max 0 will implicitly handle the top pole + int previousVertexIndex = AZStd::max(currentVertexIndex - (int)numSections, 0); + indices.push_back(static_cast(currentVertexIndex)); + indices.push_back(static_cast(previousVertexIndex)); } } - // build faces for end caps (to connect "inner" vertices with poles) - uint16_t firstPoleVert = 0; - uint16_t firstVertOfFirstRing = static_cast(1 + (0) * numSections); - for (uint16_t section = 0; section < numSections; ++section) + if (sphereShapeType == ShapeType_Sphere) { - indices.push_back(firstPoleVert); - indices.push_back(firstVertOfFirstRing + section); - } - - uint16_t lastPoleVert = static_cast((numRings - 1) * numSections + 1); - uint16_t firstVertOfLastRing = static_cast(1 + (numRings - 2) * numSections); - for (uint16_t section = 0; section < numSections; ++section) - { - indices.push_back(firstVertOfLastRing + section); - indices.push_back(lastPoleVert); + // build faces for bottom pole (to connect "inner" vertices with poles) + uint16_t lastPoleVert = static_cast((numRings - 1) * numSections + 1); + uint16_t firstVertOfLastRing = static_cast(1 + (numRings - 2) * numSections); + for (uint16_t section = 0; section < numSections; ++section) + { + indices.push_back(firstVertOfLastRing + section); + indices.push_back(lastPoleVert); + } } } // triangle indices { - const uint32_t numTriangles = (numRings - 2) * numSections * 2 + 2 * numSections; + // NumTriangles = NumTrianglesAtPoles + NumQuads * 2 + // = (numSections * 2) + ((numRings - 2) * numSections * 2) + // = (numSections * 2) * (numRings - 2 + 1) + const uint32_t numTriangles = (numRings - 1) * numSections * 2; const uint32_t numTriangleIndices = numTriangles * 3; // build "inner" faces @@ -447,10 +466,10 @@ namespace AZ indices.clear(); indices.reserve(numTriangleIndices); - for (uint32_t ring = 0; ring < numRings - 2; ++ring) + for (uint32_t ring = 0; ring < numRings - numberOfPoles; ++ring) { uint32_t firstVertOfThisRing = 1 + ring * numSections; - uint32_t firstVertOfNextRing = 1 + (ring + 1) * numSections; + uint32_t firstVertOfNextRing = firstVertOfThisRing + numSections; for (uint32_t section = 0; section < numSections; ++section) { @@ -476,14 +495,17 @@ namespace AZ indices.push_back(static_cast(firstPoleVert)); } - uint32_t lastPoleVert = (numRings - 1) * numSections + 1; - uint32_t firstVertOfLastRing = 1 + (numRings - 2) * numSections; - for (uint32_t section = 0; section < numSections; ++section) + if (sphereShapeType == ShapeType_Sphere) { - uint32_t nextSection = (section + 1) % numSections; - indices.push_back(static_cast(firstVertOfLastRing + nextSection)); - indices.push_back(static_cast(firstVertOfLastRing + section)); - indices.push_back(static_cast(lastPoleVert)); + uint32_t lastPoleVert = (numRings - 1) * numSections + 1; + uint32_t firstVertOfLastRing = 1 + (numRings - 2) * numSections; + for (uint32_t section = 0; section < numSections; ++section) + { + uint32_t nextSection = (section + 1) % numSections; + indices.push_back(static_cast(firstVertOfLastRing + nextSection)); + indices.push_back(static_cast(firstVertOfLastRing + section)); + indices.push_back(static_cast(lastPoleVert)); + } } } } @@ -827,8 +849,11 @@ namespace AZ } } - bool FixedShapeProcessor::CreateCylinderBuffersAndViews() + bool FixedShapeProcessor::CreateCylinderBuffersAndViews(AuxGeomShapeType cylinderShapeType) { + AZ_Assert(cylinderShapeType == ShapeType_Cylinder || cylinderShapeType == ShapeType_CylinderNoEnds, + "Trying to create cylinder buffers and views with a non-cylinder shape type!"); + const uint32_t numCylinderLods = 5; struct LodInfo { @@ -836,21 +861,21 @@ namespace AZ float screenPercentage; }; const AZStd::array lodInfo = - {{ + { { { 38, 0.1000f}, { 22, 0.0100f}, { 14, 0.0010f}, { 10, 0.0001f}, { 8, 0.0000f} - }}; + } }; - auto& m_shape = m_shapes[ShapeType_Cylinder]; + auto& m_shape = m_shapes[cylinderShapeType]; m_shape.m_numLods = numCylinderLods; for (uint32_t lodIndex = 0; lodIndex < numCylinderLods; ++lodIndex) { MeshData meshData; - CreateCylinderMeshData(meshData, lodInfo[lodIndex].numSections); + CreateCylinderMeshData(meshData, lodInfo[lodIndex].numSections, cylinderShapeType); ObjectBuffers objectBuffers; @@ -867,13 +892,25 @@ namespace AZ return true; } - void FixedShapeProcessor::CreateCylinderMeshData(MeshData& meshData, uint32_t numSections) + void FixedShapeProcessor::CreateCylinderMeshData(MeshData& meshData, uint32_t numSections, AuxGeomShapeType cylinderShapeType) { const float radius = 1.0f; const float height = 1.0f; + //uint16_t indexOfBottomCenter = 0; + //uint16_t indexOfBottomStart = 1; + //uint16_t indexOfTopCenter = numSections + 1; + //uint16_t indexOfTopStart = numSections + 2; + uint16_t indexOfSidesStart = static_cast(2 * numSections + 2); + + if (cylinderShapeType == ShapeType_CylinderNoEnds) + { + // We won't draw disks at the ends of the cylinder, so no need to offset side indices + indexOfSidesStart = 0; + } + // calc required number of vertices to build a cylinder for the given parameters - uint32_t numVertices = 4 * numSections + 2; + uint32_t numVertices = indexOfSidesStart + 2 * numSections; // setup buffers auto& positions = meshData.m_positions; @@ -888,8 +925,11 @@ namespace AZ float topHeight = height * 0.5f; // Create caps - CreateDiskMeshData(meshData, numSections, Facing::Down, bottomHeight); - CreateDiskMeshData(meshData, numSections, Facing::Up, topHeight); + if (cylinderShapeType == ShapeType_Cylinder) + { + CreateDiskMeshData(meshData, numSections, Facing::Down, bottomHeight); + CreateDiskMeshData(meshData, numSections, Facing::Up, topHeight); + } // create vertices for side (so normal points out correctly) float sectionAngle(DegToRad(360.0f / (float)numSections)); @@ -906,12 +946,6 @@ namespace AZ normals.push_back(normal); } - //uint16_t indexOfBottomCenter = 0; - //uint16_t indexOfBottomStart = 1; - //uint16_t indexOfTopCenter = numSections + 1; - //uint16_t indexOfTopStart = numSections + 2; - uint16_t indexOfSidesStart = static_cast(2 * numSections + 2); - // build point indices { auto& indices = meshData.m_pointIndices; @@ -930,6 +964,24 @@ namespace AZ indices.push_back(indexOfSidesStart + 2 * section); indices.push_back(indexOfSidesStart + 2 * section + 1); } + + // If we're not drawing the disks at the ends of the cylinder, we still want to + // draw a ring around the end to join the tips of lines we created just above + if (cylinderShapeType == ShapeType_CylinderNoEnds) + { + for (uint16_t section = 0; section < numSections; ++section) + { + uint16_t nextSection = (section + 1) % numSections; + + // line around the bottom cap + indices.push_back(section * 2); + indices.push_back(nextSection * 2); + + // line around the top cap + indices.push_back(section * 2 + 1); + indices.push_back(nextSection * 2 + 1); + } + } } // indices for triangles diff --git a/Gems/Atom/Feature/Common/Code/Source/AuxGeom/FixedShapeProcessor.h b/Gems/Atom/Feature/Common/Code/Source/AuxGeom/FixedShapeProcessor.h index 4007d62f66..958cee3143 100644 --- a/Gems/Atom/Feature/Common/Code/Source/AuxGeom/FixedShapeProcessor.h +++ b/Gems/Atom/Feature/Common/Code/Source/AuxGeom/FixedShapeProcessor.h @@ -138,8 +138,8 @@ namespace AZ Both, }; - bool CreateSphereBuffersAndViews(); - void CreateSphereMeshData(MeshData& meshData, uint32_t numRings, uint32_t numSections); + bool CreateSphereBuffersAndViews(AuxGeomShapeType sphereShapeType); + void CreateSphereMeshData(MeshData& meshData, uint32_t numRings, uint32_t numSections, AuxGeomShapeType sphereShapeType); bool CreateQuadBuffersAndViews(); void CreateQuadMeshDataSide(MeshData& meshData, bool isUp, bool drawLines); @@ -152,8 +152,8 @@ namespace AZ bool CreateConeBuffersAndViews(); void CreateConeMeshData(MeshData& meshData, uint32_t numRings, uint32_t numSections); - bool CreateCylinderBuffersAndViews(); - void CreateCylinderMeshData(MeshData& meshData, uint32_t numSections); + bool CreateCylinderBuffersAndViews(AuxGeomShapeType cylinderShapeType); + void CreateCylinderMeshData(MeshData& meshData, uint32_t numSections, AuxGeomShapeType cylinderShapeType); bool CreateBoxBuffersAndViews(); void CreateBoxMeshData(MeshData& meshData); diff --git a/Gems/Atom/Feature/Common/Code/Source/CommonSystemComponent.cpp b/Gems/Atom/Feature/Common/Code/Source/CommonSystemComponent.cpp index 2e5db39880..c3c189eb62 100644 --- a/Gems/Atom/Feature/Common/Code/Source/CommonSystemComponent.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/CommonSystemComponent.cpp @@ -100,6 +100,7 @@ #include #include #include +#include #include #include #include @@ -292,6 +293,7 @@ namespace AZ passSystem->AddPassCreator(Name("DeferredFogPass"), &DeferredFogPass::Create); // Add Reflection passes + passSystem->AddPassCreator(Name("ReflectionScreenSpaceTracePass"), &Render::ReflectionScreenSpaceTracePass::Create); passSystem->AddPassCreator(Name("ReflectionScreenSpaceBlurPass"), &Render::ReflectionScreenSpaceBlurPass::Create); passSystem->AddPassCreator(Name("ReflectionScreenSpaceBlurChildPass"), &Render::ReflectionScreenSpaceBlurChildPass::Create); passSystem->AddPassCreator(Name("ReflectionScreenSpaceCompositePass"), &Render::ReflectionScreenSpaceCompositePass::Create); diff --git a/Gems/Atom/Feature/Common/Code/Source/CoreLights/DirectionalLightFeatureProcessor.cpp b/Gems/Atom/Feature/Common/Code/Source/CoreLights/DirectionalLightFeatureProcessor.cpp index ce5d3cc363..8a1ff95f29 100644 --- a/Gems/Atom/Feature/Common/Code/Source/CoreLights/DirectionalLightFeatureProcessor.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/CoreLights/DirectionalLightFeatureProcessor.cpp @@ -343,7 +343,6 @@ namespace AZ m_shadowBufferNeedsUpdate = true; m_shadowProperties.GetData(index).m_cameraConfigurations[nullptr] = {}; - m_shadowProperties.GetData(index).m_cameraTransforms[nullptr] = Transform::CreateIdentity(); const LightHandle handle(index); m_shadowingLightHandle = handle; // only the recent light has shadows. @@ -495,20 +494,10 @@ namespace AZ void DirectionalLightFeatureProcessor::SetCameraTransform( LightHandle handle, - const Transform& cameraTransform, - const RPI::RenderPipelineId& renderPipelineId) + const Transform&, + const RPI::RenderPipelineId&) { ShadowProperty& property = m_shadowProperties.GetData(handle.GetIndex()); - - if (RPI::RenderPipeline* renderPipeline = GetParentScene()->GetRenderPipeline(renderPipelineId).get()) - { - const RPI::View* cameraView = renderPipeline->GetDefaultView().get(); - property.m_cameraTransforms[cameraView] = cameraTransform; - } - else - { - property.m_cameraTransforms[nullptr] = cameraTransform; - } property.m_shadowmapViewNeedsUpdate = true; } @@ -934,17 +923,6 @@ namespace AZ return property.m_cameraConfigurations.at(nullptr); } - const Transform& DirectionalLightFeatureProcessor::GetCameraTransform(LightHandle handle, const RPI::View* cameraView) const - { - const ShadowProperty& property = m_shadowProperties.GetData(handle.GetIndex()); - const auto findIt = property.m_cameraTransforms.find(cameraView); - if (findIt != property.m_cameraTransforms.end()) - { - return findIt->second; - } - return property.m_cameraTransforms.at(nullptr); - } - void DirectionalLightFeatureProcessor::UpdateFrustums( LightHandle handle) { @@ -1365,10 +1343,11 @@ namespace AZ // If we used an AABB whose Y-direction range is from a segment, // the depth value on the shadowmap saturated to 0 or 1, // and we could not draw shadow correctly. + const Transform cameraTransform = cameraView->GetCameraTransform(); const Vector3 entireFrustumCenterLight = - lightTransform.GetInverseFast() * (GetCameraTransform(handle, cameraView).TransformPoint(property.m_entireFrustumCenterLocal)); + lightTransform.GetInverseFast() * (cameraTransform.TransformPoint(property.m_entireFrustumCenterLocal)); const float entireCenterY = entireFrustumCenterLight.GetElement(1); - const Vector3 cameraLocationWorld = GetCameraTransform(handle, cameraView).GetTranslation(); + const Vector3 cameraLocationWorld = cameraTransform.GetTranslation(); const Vector3 cameraLocationLight = lightTransformInverse * cameraLocationWorld; // Extend light view frustum by camera depth far in order to avoid shadow lacking behind camera. const float cameraBehindMinY = cameraLocationLight.GetElement(1) - GetCameraConfiguration(handle, cameraView).GetDepthFar(); @@ -1428,8 +1407,8 @@ namespace AZ GetCameraConfiguration(handle, cameraView).GetDepthCenter(depthNear, depthFar), depthFar); - const Vector3 localCenter{ 0.f, depthCenter, 0.f }; - return GetCameraTransform(handle, cameraView).TransformPoint(localCenter); + const Vector3 localCenter{ 0.f, depthCenter, 0.f }; + return cameraView->GetCameraTransform().TransformPoint(localCenter); } float DirectionalLightFeatureProcessor::GetRadius( @@ -1483,7 +1462,7 @@ namespace AZ const ShadowProperty& property = m_shadowProperties.GetData(handle.GetIndex()); const Vector3& boundaryCenter = GetWorldCenterPosition(handle, cameraView, depthNear, depthFar); const CascadeShadowCameraConfiguration& cameraConfiguration = GetCameraConfiguration(handle, cameraView); - const Transform& cameraTransform = GetCameraTransform(handle, cameraView); + const Transform cameraTransform = cameraView->GetCameraTransform(); const Vector3& cameraFwd = cameraTransform.GetBasis(1); const Vector3& cameraUp = cameraTransform.GetBasis(2); const Vector3 cameraToBoundaryCenter = boundaryCenter - cameraTransform.GetTranslation(); diff --git a/Gems/Atom/Feature/Common/Code/Source/CoreLights/DirectionalLightFeatureProcessor.h b/Gems/Atom/Feature/Common/Code/Source/CoreLights/DirectionalLightFeatureProcessor.h index 77f2db38d6..c206a5097f 100644 --- a/Gems/Atom/Feature/Common/Code/Source/CoreLights/DirectionalLightFeatureProcessor.h +++ b/Gems/Atom/Feature/Common/Code/Source/CoreLights/DirectionalLightFeatureProcessor.h @@ -134,9 +134,6 @@ namespace AZ // Default far depth of each cascade. AZStd::array m_defaultFarDepths; - // Transforms of camera who offers view frustum for each camera view. - AZStd::unordered_map m_cameraTransforms; - // Configuration offers shape of the camera view frustum for each camera view. AZStd::unordered_map m_cameraConfigurations; @@ -259,11 +256,6 @@ namespace AZ //! it returns one of the fallback render pipeline ID. const CascadeShadowCameraConfiguration& GetCameraConfiguration(LightHandle handle, const RPI::View* cameraView) const; - //! This returns the camera transform. - //! If it has not been registered for the given camera view. - //! it returns one of the fallback render pipeline ID. - const Transform& GetCameraTransform(LightHandle handle, const RPI::View* cameraView) const; - //! This update view frustum of camera. void UpdateFrustums(LightHandle handle); diff --git a/Gems/Atom/Feature/Common/Code/Source/CoreLights/DiskLightFeatureProcessor.cpp b/Gems/Atom/Feature/Common/Code/Source/CoreLights/DiskLightFeatureProcessor.cpp index acf81ede32..e362ee3afc 100644 --- a/Gems/Atom/Feature/Common/Code/Source/CoreLights/DiskLightFeatureProcessor.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/CoreLights/DiskLightFeatureProcessor.cpp @@ -313,6 +313,11 @@ namespace AZ SetShadowSetting(handle, &ProjectedShadowFeatureProcessor::SetShadowBias, bias); } + void DiskLightFeatureProcessor::SetNormalShadowBias(LightHandle handle, float bias) + { + SetShadowSetting(handle, &ProjectedShadowFeatureProcessor::SetNormalShadowBias, bias); + } + void DiskLightFeatureProcessor::SetShadowmapMaxResolution(LightHandle handle, ShadowmapSize shadowmapSize) { SetShadowSetting(handle, &ProjectedShadowFeatureProcessor::SetShadowmapMaxResolution, shadowmapSize); diff --git a/Gems/Atom/Feature/Common/Code/Source/CoreLights/DiskLightFeatureProcessor.h b/Gems/Atom/Feature/Common/Code/Source/CoreLights/DiskLightFeatureProcessor.h index 275712f84f..bafddacc65 100644 --- a/Gems/Atom/Feature/Common/Code/Source/CoreLights/DiskLightFeatureProcessor.h +++ b/Gems/Atom/Feature/Common/Code/Source/CoreLights/DiskLightFeatureProcessor.h @@ -51,6 +51,7 @@ namespace AZ void SetConeAngles(LightHandle handle, float innerDegrees, float outerDegrees) override; void SetShadowsEnabled(LightHandle handle, bool enabled) override; void SetShadowBias(LightHandle handle, float bias) override; + void SetNormalShadowBias(LightHandle handle, float bias) override; void SetShadowmapMaxResolution(LightHandle handle, ShadowmapSize shadowmapSize) override; void SetShadowFilterMethod(LightHandle handle, ShadowFilterMethod method) override; void SetFilteringSampleCount(LightHandle handle, uint16_t count) override; diff --git a/Gems/Atom/Feature/Common/Code/Source/CoreLights/PointLightFeatureProcessor.cpp b/Gems/Atom/Feature/Common/Code/Source/CoreLights/PointLightFeatureProcessor.cpp index dcf412c35d..c5d6c3bf78 100644 --- a/Gems/Atom/Feature/Common/Code/Source/CoreLights/PointLightFeatureProcessor.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/CoreLights/PointLightFeatureProcessor.cpp @@ -302,5 +302,10 @@ namespace AZ SetShadowSetting(handle, &ProjectedShadowFeatureProcessor::SetEsmExponent, esmExponent); } + void PointLightFeatureProcessor::SetNormalShadowBias(LightHandle handle, float bias) + { + SetShadowSetting(handle, &ProjectedShadowFeatureProcessor::SetNormalShadowBias, bias); + } + } // namespace Render } // namespace AZ diff --git a/Gems/Atom/Feature/Common/Code/Source/CoreLights/PointLightFeatureProcessor.h b/Gems/Atom/Feature/Common/Code/Source/CoreLights/PointLightFeatureProcessor.h index 54cb0303cc..df97fa0a52 100644 --- a/Gems/Atom/Feature/Common/Code/Source/CoreLights/PointLightFeatureProcessor.h +++ b/Gems/Atom/Feature/Common/Code/Source/CoreLights/PointLightFeatureProcessor.h @@ -52,6 +52,7 @@ namespace AZ void SetShadowFilterMethod(LightHandle handle, ShadowFilterMethod method) override; void SetFilteringSampleCount(LightHandle handle, uint16_t count) override; void SetEsmExponent(LightHandle handle, float esmExponent) override; + void SetNormalShadowBias(LightHandle handle, float bias) override; void SetPointData(LightHandle handle, const PointLightData& data) override; const Data::Instance GetLightBuffer() const; diff --git a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionCopyFrameBufferPass.cpp b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionCopyFrameBufferPass.cpp index a1858a7e9d..8c5e36e706 100644 --- a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionCopyFrameBufferPass.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionCopyFrameBufferPass.cpp @@ -7,7 +7,7 @@ */ #include "ReflectionCopyFrameBufferPass.h" -#include "ReflectionScreenSpaceBlurPass.h" +#include "ReflectionScreenSpaceTracePass.h" #include #include @@ -28,16 +28,16 @@ namespace AZ void ReflectionCopyFrameBufferPass::BuildInternal() { - RPI::PassFilter passFilter = RPI::PassFilter::CreateWithPassName(AZ::Name("ReflectionScreenSpaceBlurPass"), GetRenderPipeline()); + RPI::PassFilter passFilter = RPI::PassFilter::CreateWithPassName(AZ::Name("ReflectionScreenSpaceTracePass"), GetRenderPipeline()); RPI::PassSystemInterface::Get()->ForEachPass(passFilter, [this](RPI::Pass* pass) -> RPI::PassFilterExecutionFlow { - Render::ReflectionScreenSpaceBlurPass* blurPass = azrtti_cast(pass); - Data::Instance& frameBufferAttachment = blurPass->GetFrameBufferImageAttachment(); + Render::ReflectionScreenSpaceTracePass* tracePass = azrtti_cast(pass); + Data::Instance& frameBufferAttachment = tracePass->GetPreviousFrameImageAttachment(); RPI::PassAttachmentBinding& outputBinding = GetOutputBinding(0); AttachImageToSlot(outputBinding.m_name, frameBufferAttachment); - return RPI::PassFilterExecutionFlow::StopVisitingPasses; + return RPI::PassFilterExecutionFlow::StopVisitingPasses; }); FullscreenTrianglePass::BuildInternal(); diff --git a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurPass.cpp b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurPass.cpp index edd7ad1013..c0b25697a3 100644 --- a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurPass.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurPass.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -79,7 +80,7 @@ namespace AZ horizontalBlurChildDesc.m_passTemplate = blurHorizontalPassTemplate; // add child passes to perform the vertical and horizontal Gaussian blur for each roughness mip level - for (uint32_t mip = 0; mip < m_numBlurMips; ++mip) + for (uint32_t mip = 0; mip < NumMipLevels - 1; ++mip) { // create Vertical blur child passes { @@ -114,35 +115,15 @@ namespace AZ RemoveChildren(); m_flags.m_createChildren = true; - Data::Instance pool = RPI::ImageSystemInterface::Get()->GetSystemAttachmentPool(); - - // retrieve the image attachment from the pass - AZ_Assert(m_ownedAttachments.size() == 1, "ReflectionScreenSpaceBlurPass must have exactly one ImageAttachment defined"); - RPI::Ptr reflectionImageAttachment = m_ownedAttachments[0]; - - // update the image attachment descriptor to sync up size and format - reflectionImageAttachment->Update(); - - // change the lifetime since we want it to live between frames - reflectionImageAttachment->m_lifetime = RHI::AttachmentLifetimeType::Imported; - - // set the bind flags - RHI::ImageDescriptor& imageDesc = reflectionImageAttachment->m_descriptor.m_image; - imageDesc.m_bindFlags |= RHI::ImageBindFlags::Color | RHI::ImageBindFlags::ShaderReadWrite; - - // create the image attachment - RHI::ClearValue clearValue = RHI::ClearValue::CreateVector4Float(0, 0, 0, 0); - m_frameBufferImageAttachment = RPI::AttachmentImage::Create(*pool.get(), imageDesc, Name(reflectionImageAttachment->m_path.GetCStr()), &clearValue, nullptr); - - reflectionImageAttachment->m_path = m_frameBufferImageAttachment->GetAttachmentId(); - reflectionImageAttachment->m_importedResource = m_frameBufferImageAttachment; - - uint32_t mipLevels = reflectionImageAttachment->m_descriptor.m_image.m_mipLevels; + // retrieve the reflection, downsampled normal, and downsampled depth attachments + RPI::PassAttachment* reflectionImageAttachment = GetInputOutputBinding(0).m_attachment.get(); RHI::Size imageSize = reflectionImageAttachment->m_descriptor.m_image.m_size; + RPI::PassAttachment* downsampledDepthImageAttachment = GetInputOutputBinding(1).m_attachment.get(); + // create transient attachments, one for each blur mip level AZStd::vector transientPassAttachments; - for (uint32_t mip = 1; mip <= mipLevels - 1; ++mip) + for (uint32_t mip = 1; mip <= NumMipLevels - 1; ++mip) { RHI::Size mipSize = imageSize.GetReducedMip(mip); @@ -160,8 +141,6 @@ namespace AZ m_ownedAttachments.push_back(transientPassAttachment); } - m_numBlurMips = mipLevels - 1; - // call ParentPass::BuildInternal() first to configure the slots and auto-add the empty bindings, // then we will assign attachments to the bindings ParentPass::BuildInternal(); @@ -170,13 +149,27 @@ namespace AZ uint32_t attachmentIndex = 0; for (auto& verticalBlurChildPass : m_verticalBlurChildPasses) { + // mip0 source input RPI::PassAttachmentBinding& inputAttachmentBinding = verticalBlurChildPass->GetInputOutputBinding(0); inputAttachmentBinding.SetAttachment(reflectionImageAttachment); inputAttachmentBinding.m_connectedBinding = &GetInputOutputBinding(0); + // mipN transient output RPI::PassAttachmentBinding& outputAttachmentBinding = verticalBlurChildPass->GetInputOutputBinding(1); outputAttachmentBinding.SetAttachment(transientPassAttachments[attachmentIndex]); + // setup downsampled depth output + // Note: this is a vertical pass output only, and each vertical child pass writes a specific mip level + uint32_t mipLevel = attachmentIndex + 1; + + // downsampled depth output + RPI::PassAttachmentBinding& downsampledDepthAttachmentBinding = verticalBlurChildPass->GetInputOutputBinding(2); + RHI::ImageViewDescriptor downsampledDepthOutputViewDesc; + downsampledDepthOutputViewDesc.m_mipSliceMin = static_cast(mipLevel); + downsampledDepthOutputViewDesc.m_mipSliceMax = static_cast(mipLevel); + downsampledDepthAttachmentBinding.m_unifiedScopeDesc.SetAsImage(downsampledDepthOutputViewDesc); + downsampledDepthAttachmentBinding.SetAttachment(downsampledDepthImageAttachment); + attachmentIndex++; } diff --git a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurPass.h b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurPass.h index b7ea98ae25..9548665c8a 100644 --- a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurPass.h +++ b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurPass.h @@ -29,12 +29,8 @@ namespace AZ //! Creates a new pass without a PassTemplate static RPI::Ptr Create(const RPI::PassDescriptor& descriptor); - //! Returns the frame buffer image attachment used by the ReflectionFrameBufferCopy pass - //! to store the previous frame image - Data::Instance& GetFrameBufferImageAttachment() { return m_frameBufferImageAttachment; } - - //! Returns the number of mip levels in the blur - uint32_t GetNumBlurMips() const { return m_numBlurMips; } + //! The total number of mip levels in the blur (including mip0) + static const uint32_t NumMipLevels = 5; private: explicit ReflectionScreenSpaceBlurPass(const RPI::PassDescriptor& descriptor); @@ -47,9 +43,6 @@ namespace AZ AZStd::vector> m_verticalBlurChildPasses; AZStd::vector> m_horizontalBlurChildPasses; - - Data::Instance m_frameBufferImageAttachment; - uint32_t m_numBlurMips = 0; }; } // namespace RPI } // namespace AZ diff --git a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceCompositePass.cpp b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceCompositePass.cpp index 1362191691..d27d4d90c9 100644 --- a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceCompositePass.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceCompositePass.cpp @@ -26,6 +26,19 @@ namespace AZ { } + bool ReflectionScreenSpaceCompositePass::IsEnabled() const + { + // delay for a few frames to ensure that the previous frame texture is populated + static const uint32_t FrameDelay = 10; + if (m_frameDelayCount < FrameDelay) + { + m_frameDelayCount++; + return false; + } + + return true; + } + void ReflectionScreenSpaceCompositePass::CompileResources([[maybe_unused]] const RHI::FrameGraphCompileContext& context) { if (!m_shaderResourceGroup) @@ -33,22 +46,8 @@ namespace AZ return; } - RPI::PassFilter passFilter = RPI::PassFilter::CreateWithPassName(AZ::Name("ReflectionScreenSpaceBlurPass"), GetRenderPipeline()); - - RPI::PassSystemInterface::Get()->ForEachPass(passFilter, [this](RPI::Pass* pass) -> RPI::PassFilterExecutionFlow - { - Render::ReflectionScreenSpaceBlurPass* blurPass = azrtti_cast(pass); - - // compute the max mip level based on the available mips in the previous frame image, and capping it - // to stay within a range that has reasonable data - const uint32_t MaxNumRoughnessMips = 8; - uint32_t maxMipLevel = AZStd::min(MaxNumRoughnessMips, blurPass->GetNumBlurMips()) - 1; - - auto constantIndex = m_shaderResourceGroup->FindShaderInputConstantIndex(Name("m_maxMipLevel")); - m_shaderResourceGroup->SetConstant(constantIndex, maxMipLevel); - - return RPI::PassFilterExecutionFlow::StopVisitingPasses; - }); + auto constantIndex = m_shaderResourceGroup->FindShaderInputConstantIndex(Name("m_maxMipLevel")); + m_shaderResourceGroup->SetConstant(constantIndex, ReflectionScreenSpaceBlurPass::NumMipLevels - 1); FullscreenTrianglePass::CompileResources(context); } diff --git a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceCompositePass.h b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceCompositePass.h index c70a21cd1e..03b2834633 100644 --- a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceCompositePass.h +++ b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceCompositePass.h @@ -34,6 +34,9 @@ namespace AZ // Pass Overrides... void CompileResources(const RHI::FrameGraphCompileContext& context) override; + bool IsEnabled() const override; + + mutable uint32_t m_frameDelayCount = 0; }; } // namespace RPI } // namespace AZ diff --git a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceTracePass.cpp b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceTracePass.cpp new file mode 100644 index 0000000000..7f6bce8a00 --- /dev/null +++ b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceTracePass.cpp @@ -0,0 +1,58 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include "ReflectionScreenSpaceTracePass.h" +#include +#include +#include +#include +#include + +namespace AZ +{ + namespace Render + { + RPI::Ptr ReflectionScreenSpaceTracePass::Create(const RPI::PassDescriptor& descriptor) + { + RPI::Ptr pass = aznew ReflectionScreenSpaceTracePass(descriptor); + return AZStd::move(pass); + } + + ReflectionScreenSpaceTracePass::ReflectionScreenSpaceTracePass(const RPI::PassDescriptor& descriptor) + : RPI::FullscreenTrianglePass(descriptor) + { + } + + void ReflectionScreenSpaceTracePass::BuildInternal() + { + Data::Instance pool = RPI::ImageSystemInterface::Get()->GetSystemAttachmentPool(); + + // retrieve the previous frame image attachment from the pass + AZ_Assert(m_ownedAttachments.size() == 3, "ReflectionScreenSpaceTracePass must have the following attachment images defined: ReflectionImage, DownSampledDepthImage, and PreviousFrameImage"); + RPI::Ptr previousFrameImageAttachment = m_ownedAttachments[2]; + + // update the image attachment descriptor to sync up size and format + previousFrameImageAttachment->Update(); + + // change the lifetime since we want it to live between frames + previousFrameImageAttachment->m_lifetime = RHI::AttachmentLifetimeType::Imported; + + // set the bind flags + RHI::ImageDescriptor& imageDesc = previousFrameImageAttachment->m_descriptor.m_image; + imageDesc.m_bindFlags |= RHI::ImageBindFlags::Color | RHI::ImageBindFlags::ShaderReadWrite; + + // create the image attachment + RHI::ClearValue clearValue = RHI::ClearValue::CreateVector4Float(0, 0, 0, 0); + m_previousFrameImageAttachment = RPI::AttachmentImage::Create(*pool.get(), imageDesc, Name(previousFrameImageAttachment->m_path.GetCStr()), &clearValue, nullptr); + + previousFrameImageAttachment->m_path = m_previousFrameImageAttachment->GetAttachmentId(); + previousFrameImageAttachment->m_importedResource = m_previousFrameImageAttachment; + } + + } // namespace RPI +} // namespace AZ diff --git a/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceTracePass.h b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceTracePass.h new file mode 100644 index 0000000000..b03418bbac --- /dev/null +++ b/Gems/Atom/Feature/Common/Code/Source/ReflectionScreenSpace/ReflectionScreenSpaceTracePass.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ +#pragma once + +#include +#include +#include +#include + +namespace AZ +{ + namespace Render + { + //! This pass traces screenspace reflections from the previous frame image. + class ReflectionScreenSpaceTracePass + : public RPI::FullscreenTrianglePass + { + AZ_RPI_PASS(DiffuseProbeGridDownsamplePass); + + public: + AZ_RTTI(Render::ReflectionScreenSpaceTracePass, "{70FD45E9-8363-4AA1-A514-3C24AC975E53}", FullscreenTrianglePass); + AZ_CLASS_ALLOCATOR(Render::ReflectionScreenSpaceTracePass, SystemAllocator, 0); + + //! Creates a new pass without a PassTemplate + static RPI::Ptr Create(const RPI::PassDescriptor& descriptor); + + Data::Instance& GetPreviousFrameImageAttachment() { return m_previousFrameImageAttachment; } + + private: + explicit ReflectionScreenSpaceTracePass(const RPI::PassDescriptor& descriptor); + + // Pass behavior overrides... + virtual void BuildInternal() override; + + Data::Instance m_previousFrameImageAttachment; + }; + } // namespace RPI +} // namespace AZ diff --git a/Gems/Atom/Feature/Common/Code/Source/Shadows/ProjectedShadowFeatureProcessor.cpp b/Gems/Atom/Feature/Common/Code/Source/Shadows/ProjectedShadowFeatureProcessor.cpp index 70ccaa5702..c0cc93d7e0 100644 --- a/Gems/Atom/Feature/Common/Code/Source/Shadows/ProjectedShadowFeatureProcessor.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/Shadows/ProjectedShadowFeatureProcessor.cpp @@ -155,8 +155,9 @@ namespace AZ::Render { AZ_Assert(id.IsValid(), "Invalid ShadowId passed to ProjectedShadowFeatureProcessor::SetNormalShadowBias()."); - ShadowProperty& shadowProperty = GetShadowPropertyFromShadowId(id); - shadowProperty.m_normalShadowBias = normalShadowBias; + ShadowData& shadowData = m_shadowData.GetElement(id.GetIndex()); + shadowData.m_normalShadowBias = normalShadowBias; + m_deviceBufferNeedsUpdate = true; } void ProjectedShadowFeatureProcessor::SetShadowmapMaxResolution(ShadowId id, ShadowmapSize size) diff --git a/Gems/Atom/Feature/Common/Code/Source/Shadows/ProjectedShadowFeatureProcessor.h b/Gems/Atom/Feature/Common/Code/Source/Shadows/ProjectedShadowFeatureProcessor.h index 8939f1845d..a892e77b7f 100644 --- a/Gems/Atom/Feature/Common/Code/Source/Shadows/ProjectedShadowFeatureProcessor.h +++ b/Gems/Atom/Feature/Common/Code/Source/Shadows/ProjectedShadowFeatureProcessor.h @@ -68,7 +68,7 @@ namespace AZ::Render uint32_t m_filteringSampleCount = 0; AZStd::array m_unprojectConstants = { {0, 0} }; float m_bias; - float m_normalShadowBias; + float m_normalShadowBias = 0; float m_esmExponent = 87.0f; float m_padding[3]; }; @@ -79,7 +79,6 @@ namespace AZ::Render ProjectedShadowDescriptor m_desc; RPI::ViewPtr m_shadowmapView; float m_bias = 0.1f; - float m_normalShadowBias = 0.0f; ShadowId m_shadowId; }; diff --git a/Gems/Atom/Feature/Common/Code/Source/Utils/EditorModelPreset.cpp b/Gems/Atom/Feature/Common/Code/Source/Utils/EditorModelPreset.cpp index 63c2fc7150..d636fde2fe 100644 --- a/Gems/Atom/Feature/Common/Code/Source/Utils/EditorModelPreset.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/Utils/EditorModelPreset.cpp @@ -29,7 +29,6 @@ namespace AZ ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->DataElement(AZ::Edit::UIHandlers::Default, &ModelPreset::m_displayName, "Display Name", "Identifier used for display and selection") ->DataElement(AZ::Edit::UIHandlers::Default, &ModelPreset::m_modelAsset, "Model Asset", "Model asset reference") - ->DataElement(AZ::Edit::UIHandlers::Default, &ModelPreset::m_previewImageAsset, "Preview Image Asset", "Preview image asset reference") ; } } diff --git a/Gems/Atom/Feature/Common/Code/Source/Utils/ModelPreset.cpp b/Gems/Atom/Feature/Common/Code/Source/Utils/ModelPreset.cpp index c684b3cc89..ce8a1680a9 100644 --- a/Gems/Atom/Feature/Common/Code/Source/Utils/ModelPreset.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/Utils/ModelPreset.cpp @@ -24,10 +24,9 @@ namespace AZ if (auto serializeContext = azrtti_cast(context)) { serializeContext->Class() - ->Version(3) + ->Version(4) ->Field("displayName", &ModelPreset::m_displayName) ->Field("modelAsset", &ModelPreset::m_modelAsset) - ->Field("previewImageAsset", &ModelPreset::m_previewImageAsset) ; } @@ -41,7 +40,6 @@ namespace AZ ->Constructor() ->Property("displayName", BehaviorValueProperty(&ModelPreset::m_displayName)) ->Property("modelAsset", BehaviorValueProperty(&ModelPreset::m_modelAsset)) - ->Property("previewImageAsset", BehaviorValueProperty(&ModelPreset::m_previewImageAsset)) ; } } diff --git a/Gems/Atom/Feature/Common/Code/Tests/IndexedDataVectorTests.cpp b/Gems/Atom/Feature/Common/Code/Tests/IndexedDataVectorTests.cpp index a9cb6e2621..88e67538c5 100644 --- a/Gems/Atom/Feature/Common/Code/Tests/IndexedDataVectorTests.cpp +++ b/Gems/Atom/Feature/Common/Code/Tests/IndexedDataVectorTests.cpp @@ -8,338 +8,218 @@ #include #include -#include +#include #include #include - namespace UnitTest { using namespace AZ; using namespace AZ::Render; - + class IndexedDataVectorTests - : public ::testing::Test + : public UnitTest::AllocatorsTestFixture { public: void SetUp() override { - CreateAllocator(); + UnitTest::AllocatorsTestFixture::SetUp(); } void TearDown() override { - DestroyAllocator(); + UnitTest::AllocatorsTestFixture::TearDown(); } - - private: - void CreateAllocator() + template + IndexedDataVector SetupIndexedDataVector(size_t size, T initialValue = T(0), T incrementAmount = T(1), AZStd::vector* indices = nullptr) { - static constexpr size_t NumMBToAllocate = 1; - SystemAllocator::Descriptor desc; - desc.m_heap.m_numFixedMemoryBlocks = 1; - desc.m_heap.m_fixedMemoryBlocksByteSize[0] = NumMBToAllocate * 1024 * 1024; - m_memBlock = AZ_OS_MALLOC( - desc.m_heap.m_fixedMemoryBlocksByteSize[0], - desc.m_heap.m_memoryBlockAlignment); - desc.m_heap.m_fixedMemoryBlocks[0] = m_memBlock; - - AllocatorInstance::Create(desc); + IndexedDataVector data; + T value = initialValue; + for (size_t i = 0; i < size; ++i) + { + uint16_t index = data.GetFreeSlotIndex(); + EXPECT_NE(index, IndexedDataVector::NoFreeSlot); + if (indices) + { + indices->push_back(index); + } + if (index != IndexedDataVector::NoFreeSlot) + { + data.GetData(index) = value; + value += incrementAmount; + } + } + return data; } - void DestroyAllocator() + template + void ShuffleIndexedDataVector(IndexedDataVector& dataVector, AZStd::vector& indices) { - AllocatorInstance::Destroy(); - AZ_OS_FREE(m_memBlock); - m_memBlock = nullptr; + AZStd::vector values; + + // remove every other element and store it + for (size_t i = 0; i < indices.size(); ++i) + { + values.push_back(dataVector.GetData(indices.at(i))); + dataVector.RemoveIndex(indices.at(i)); + indices.erase(&indices.at(i)); + } + + for (T value : values) + { + uint16_t index = dataVector.GetFreeSlotIndex(); + indices.push_back(index); + dataVector.GetData(index) = value; + } } - void* m_memBlock = nullptr; }; - - TEST_F(IndexedDataVectorTests, TestInsert) + + TEST_F(IndexedDataVectorTests, Construction) { - enum Types - { - IntType = 0, - DoubleType = 1, - }; - - MultiIndexedDataVector myVec; - constexpr int NumToInsert = 5; + IndexedDataVector testVector; + uint16_t index = testVector.GetFreeSlotIndex(); + EXPECT_NE(index, IndexedDataVector::NoFreeSlot); + } + + TEST_F(IndexedDataVectorTests, TestInsertGetBasic) + { + constexpr size_t count = 16; + constexpr int initialValue = 0; + constexpr int increment = 1; AZStd::vector indices; - - for (int i = 0; i < NumToInsert; ++i) + IndexedDataVector testVector = SetupIndexedDataVector(count, initialValue, increment, &indices); + + int value = initialValue; + for (size_t i = 0; i < count; ++i) { - auto index = myVec.GetFreeSlotIndex(); - indices.push_back(index); - myVec.GetData(index) = i; - myVec.GetData(index) = (double)i; + EXPECT_EQ(testVector.GetData(indices.at(i)), value); + value += increment; + } + } + + TEST_F(IndexedDataVectorTests, TestInsertGetComplex) + { + constexpr size_t count = 16; + constexpr int initialValue = 0; + constexpr int increment = 1; + + AZStd::vector indices; + IndexedDataVector testVector = SetupIndexedDataVector(count, initialValue, increment, &indices); + + // Create a set of the data that should be in the IndexedDataVector + AZStd::set values; + for (int i = 0; i < count; ++i) + { + values.emplace(initialValue + i * increment); } - for (size_t i = 0; i < NumToInsert; ++i) + // Add and remove items to shuffle the underlying data + ShuffleIndexedDataVector(testVector, indices); + + // Check to make sure all the data is still there + AZStd::vector& underlyingVector = testVector.GetDataVector(); + for (size_t i = 0; i < underlyingVector.size(); ++i) { - auto index = indices[i]; - EXPECT_EQ(i, myVec.GetData(index)); - EXPECT_EQ((double)i, myVec.GetData(index)); + EXPECT_TRUE(values.contains(underlyingVector.at(i))); } } TEST_F(IndexedDataVectorTests, TestSize) { - enum Types - { - IntType = 0, - }; + constexpr size_t count = 32; - MultiIndexedDataVector myVec; - constexpr int NumToInsert = 5; - for (int i = 0; i < NumToInsert; ++i) - { - auto index = myVec.GetFreeSlotIndex(); - myVec.GetData(index) = i; - } - EXPECT_EQ(NumToInsert, myVec.GetDataCount()); - EXPECT_EQ(NumToInsert, myVec.GetDataVector().size()); - - myVec.Clear(); - - EXPECT_EQ(0, myVec.GetDataCount()); - EXPECT_EQ(0, myVec.GetDataVector().size()); + IndexedDataVector testVector = SetupIndexedDataVector(count); + EXPECT_EQ(testVector.GetDataCount(), count); } - TEST_F(IndexedDataVectorTests, TestErase) + TEST_F(IndexedDataVectorTests, TestClear) { - enum Types - { - IntType = 0, - }; - - MultiIndexedDataVector myVec; - constexpr int NumToInsert = 200; - AZStd::unordered_map valueToIndex; - - for (int i = 0; i < NumToInsert; ++i) - { - auto index = myVec.GetFreeSlotIndex(); - valueToIndex[i] = index; - myVec.GetData(index) = i; - } - - // erase every even number - for (int i = 0; i < NumToInsert; i += 2) - { - uint16_t index = valueToIndex[i]; - auto previousRawIndex = myVec.GetRawIndex(index); - auto movedIndex = myVec.RemoveIndex(index); - if (movedIndex != MultiIndexedDataVector::NoFreeSlot) - { - auto newRawIndex = myVec.GetRawIndex(movedIndex); - - // RemoveIndex() returns the index of the item that moves into its spot if any, so check - // to make sure the Raw index of the old matches the raw index of the new - EXPECT_EQ(previousRawIndex, newRawIndex); - } - valueToIndex.erase(i); - } - - for (const auto& iter : valueToIndex) - { - int val = iter.first; - uint16_t index = iter.second; - EXPECT_EQ(val, myVec.GetData(index)); - } + constexpr size_t count = 32; + IndexedDataVector testVector = SetupIndexedDataVector(count); + testVector.Clear(); + EXPECT_EQ(testVector.GetDataCount(), 0); } - TEST_F(IndexedDataVectorTests, TestManyTypes) + TEST_F(IndexedDataVectorTests, TestRemove) { - enum Types + constexpr size_t count = 8; + constexpr int initialValue = 0; + constexpr int increment = 8; + + AZStd::vector indices; + IndexedDataVector testVector = SetupIndexedDataVector(count, initialValue, increment, &indices); + + // Remove every other element by index + for (uint16_t i = 0; i < count; i += 2) { - IntType = 0, - StringType = 1, - DoubleType = 2, - FloatType = 3, - CharType = 4, - }; - - MultiIndexedDataVector myVec; - auto index = myVec.GetFreeSlotIndex(); - - constexpr int TestIntVal = INT_MIN; - constexpr double TestDoubleVal = -DBL_MIN; - const AZStd::string TestStringVal = "This is an AZStd::string."; - constexpr float TestFloatVal = FLT_MAX; - const char* TestConstPointerVal = "This is a C array."; - - myVec.GetData(index) = TestIntVal; - myVec.GetData(index) = TestStringVal; - myVec.GetData(index) = TestDoubleVal; - myVec.GetData(index) = TestFloatVal; - myVec.GetData(index) = TestConstPointerVal; - - EXPECT_EQ(TestIntVal, static_cast(myVec.GetData(index))); - EXPECT_EQ(TestStringVal, static_cast(myVec.GetData(index))); - EXPECT_EQ(TestDoubleVal, static_cast(myVec.GetData(index))); - EXPECT_EQ(TestFloatVal, static_cast(myVec.GetData(index))); - EXPECT_STREQ(TestConstPointerVal, static_cast(myVec.GetData(index))); - } - - MultiIndexedDataVector CreateTestVector(AZStd::vector& indices) - { - enum Types - { - IntType = 0, - FloatType = 1, - }; - - MultiIndexedDataVector myVec; - constexpr int32_t Count = 10; - int32_t startInt = 10; - float startFloat = 2.0f; + testVector.RemoveIndex(i); + } - // Create some initial values - for (uint32_t i = 0; i < Count; ++i) + EXPECT_EQ(testVector.GetDataCount(), count / 2); + + // Make sure the rest of the data is still there + AZStd::vector remainingIndices; + for (size_t i = 1; i < count; i += 2) { - uint16_t index = myVec.GetFreeSlotIndex(); - indices.push_back(index); - myVec.GetData(index) = startInt; - myVec.GetData(index) = startFloat; - startInt += 1; - startFloat += 1.0f; + int value = testVector.GetData(indices.at(i)); + EXPECT_EQ(value, initialValue + increment * i); + remainingIndices.push_back(indices.at(i)); } - return myVec; + // remove the rest of the valus by value + for (uint16_t index : remainingIndices) + { + int* valuePtr = &testVector.GetData(index); + testVector.RemoveData(valuePtr); + } + + EXPECT_EQ(testVector.GetDataCount(), 0); + } + + TEST_F(IndexedDataVectorTests, TestIndexForData) + { + constexpr size_t count = 8; + constexpr int initialValue = 0; + constexpr int increment = 8; + + AZStd::vector indices; + IndexedDataVector testVector = SetupIndexedDataVector(count, initialValue, increment, &indices); + + // Add and remove items to shuffle the underlying data + ShuffleIndexedDataVector(testVector, indices); + + AZStd::vector& underlyingVector = testVector.GetDataVector(); + for (size_t i = 0; i < underlyingVector.size(); ++i) + { + int value = underlyingVector.at(i); + uint16_t index = testVector.GetIndexForData(&underlyingVector.at(i)); + + // The data from GetData(index) should match for the index retrieved using GetIndexForData() for the same data. + EXPECT_EQ(testVector.GetData(index), value); + } } - void CheckIndexedData(MultiIndexedDataVector& data, AZStd::vector& indices) + TEST_F(IndexedDataVectorTests, TestRawIndex) { - enum Types - { - IntType = 0, - FloatType = 1, - }; - - // For each index, get its data and make sure GetIndexForData returns the same - // index used to retrieve the data - for (uint32_t i = 0; i < data.GetDataCount(); ++i) - { - int32_t& intData = data.GetData(indices.at(i)); - uint16_t indexForData = data.GetIndexForData(&intData); - EXPECT_EQ(indices.at(i), indexForData); - - float& floatData = data.GetData(indices.at(i)); - indexForData = data.GetIndexForData(&floatData); - EXPECT_EQ(indices.at(i), indexForData); - } - } - - TEST_F(IndexedDataVectorTests, GetIndexForDataSimple) - { - AZStd::vector indices; - MultiIndexedDataVector myVec = CreateTestVector(indices); - CheckIndexedData(myVec, indices); - } - - TEST_F(IndexedDataVectorTests, GetIndexForDataComplex) - { - enum Types - { - IntType = 0, - FloatType = 1, - }; + constexpr size_t count = 8; + constexpr int initialValue = 0; + constexpr int increment = 8; AZStd::vector indices; - MultiIndexedDataVector myVec = CreateTestVector(indices); + IndexedDataVector testVector = SetupIndexedDataVector(count, initialValue, increment, &indices); - // remove every other value to shuffle the data around - for (uint32_t i = 0; i < myVec.GetDataCount(); i += 2) - { - myVec.RemoveIndex(indices.at(i)); - } + // Add and remove items to shuffle the underlying data + ShuffleIndexedDataVector(testVector, indices); - int32_t startInt = 100; - float startFloat = 20.0f; - - // Add some data back in - const size_t count = myVec.GetDataCount(); - for (uint32_t i = 0; i < count; i += 2) + AZStd::vector& underlyingVector = testVector.GetDataVector(); + for (size_t i = 0; i < indices.size(); ++i) { - uint16_t index = myVec.GetFreeSlotIndex(); - indices.at(i) = index; - myVec.GetData(index) = startInt; - myVec.GetData(index) = startFloat; - startInt += 1; - startFloat += 1.0f; + // Check that the data retrieved from GetData for a given index matches the data in the underlying vector for the raw index. + EXPECT_EQ(testVector.GetData(indices.at(i)), underlyingVector.at(testVector.GetRawIndex(indices.at(i)))); } - CheckIndexedData(myVec, indices); - } - - TEST_F(IndexedDataVectorTests, ForEach) - { - enum Types - { - IntType = 0, - FloatType = 1, - }; - - MultiIndexedDataVector myVec; - constexpr int32_t Count = 10; - int32_t startInt = 10; - float startFloat = 2.0f; - - AZStd::vector indices; - AZStd::set intValues; - AZStd::set floatValues; - - // Create some initial values - for (uint32_t i = 0; i < Count; ++i) - { - uint16_t index = myVec.GetFreeSlotIndex(); - indices.push_back(index); - myVec.GetData(index) = startInt; - myVec.GetData(index) = startFloat; - intValues.insert(startInt); - floatValues.insert(startFloat); - startInt += 1; - startFloat += 1.0f; - } - - uint32_t visitCount = 0; - myVec.ForEach([&](int32_t value) -> bool - { - intValues.erase(value); - ++visitCount; - return true; // keep iterating - }); - - // All ints should have been visited and found in the set - EXPECT_EQ(visitCount, Count); - EXPECT_EQ(intValues.size(), 0); - - visitCount = 0; - myVec.ForEach([&](float value) -> bool - { - floatValues.erase(value); - ++visitCount; - return true; // keep iterating - }); - - // All floats should have been visited and found in the set - EXPECT_EQ(visitCount, Count); - EXPECT_EQ(floatValues.size(), 0); - - visitCount = 0; - myVec.ForEach([&]([[maybe_unused]] int32_t value) -> bool - { - ++visitCount; - return false; // stop iterating - }); - - // Since false is immediately returned, only one element should have been visited. - EXPECT_EQ(visitCount, 1); - } } diff --git a/Gems/Atom/Feature/Common/Code/Tests/MultiIndexedDataVectorTests.cpp b/Gems/Atom/Feature/Common/Code/Tests/MultiIndexedDataVectorTests.cpp new file mode 100644 index 0000000000..5a317c41aa --- /dev/null +++ b/Gems/Atom/Feature/Common/Code/Tests/MultiIndexedDataVectorTests.cpp @@ -0,0 +1,320 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include +#include +#include +#include +#include + + +namespace UnitTest +{ + using namespace AZ; + using namespace AZ::Render; + + class MultiIndexedDataVectorTests + : public UnitTest::AllocatorsTestFixture + { + public: + void SetUp() override + { + UnitTest::AllocatorsTestFixture::SetUp(); + } + + void TearDown() override + { + UnitTest::AllocatorsTestFixture::TearDown(); + } + }; + + TEST_F(MultiIndexedDataVectorTests, TestInsert) + { + enum Types + { + IntType = 0, + DoubleType = 1, + }; + + MultiIndexedDataVector myVec; + constexpr int NumToInsert = 5; + + AZStd::vector indices; + + for (int i = 0; i < NumToInsert; ++i) + { + auto index = myVec.GetFreeSlotIndex(); + indices.push_back(index); + myVec.GetData(index) = i; + myVec.GetData(index) = (double)i; + } + + for (size_t i = 0; i < NumToInsert; ++i) + { + auto index = indices[i]; + EXPECT_EQ(i, myVec.GetData(index)); + EXPECT_EQ((double)i, myVec.GetData(index)); + } + } + + TEST_F(MultiIndexedDataVectorTests, TestSize) + { + enum Types + { + IntType = 0, + }; + + MultiIndexedDataVector myVec; + constexpr int NumToInsert = 5; + for (int i = 0; i < NumToInsert; ++i) + { + auto index = myVec.GetFreeSlotIndex(); + myVec.GetData(index) = i; + } + EXPECT_EQ(NumToInsert, myVec.GetDataCount()); + EXPECT_EQ(NumToInsert, myVec.GetDataVector().size()); + + myVec.Clear(); + + EXPECT_EQ(0, myVec.GetDataCount()); + EXPECT_EQ(0, myVec.GetDataVector().size()); + } + + TEST_F(MultiIndexedDataVectorTests, TestErase) + { + enum Types + { + IntType = 0, + }; + + MultiIndexedDataVector myVec; + constexpr int NumToInsert = 200; + AZStd::unordered_map valueToIndex; + + for (int i = 0; i < NumToInsert; ++i) + { + auto index = myVec.GetFreeSlotIndex(); + valueToIndex[i] = index; + myVec.GetData(index) = i; + } + + // erase every even number + for (int i = 0; i < NumToInsert; i += 2) + { + uint16_t index = valueToIndex[i]; + auto previousRawIndex = myVec.GetRawIndex(index); + auto movedIndex = myVec.RemoveIndex(index); + if (movedIndex != MultiIndexedDataVector::NoFreeSlot) + { + auto newRawIndex = myVec.GetRawIndex(movedIndex); + + // RemoveIndex() returns the index of the item that moves into its spot if any, so check + // to make sure the Raw index of the old matches the raw index of the new + EXPECT_EQ(previousRawIndex, newRawIndex); + } + valueToIndex.erase(i); + } + + for (const auto& iter : valueToIndex) + { + int val = iter.first; + uint16_t index = iter.second; + EXPECT_EQ(val, myVec.GetData(index)); + } + } + + TEST_F(MultiIndexedDataVectorTests, TestManyTypes) + { + enum Types + { + IntType = 0, + StringType = 1, + DoubleType = 2, + FloatType = 3, + CharType = 4, + }; + + MultiIndexedDataVector myVec; + auto index = myVec.GetFreeSlotIndex(); + + constexpr int TestIntVal = INT_MIN; + constexpr double TestDoubleVal = -DBL_MIN; + const AZStd::string TestStringVal = "This is an AZStd::string."; + constexpr float TestFloatVal = FLT_MAX; + const char* TestConstPointerVal = "This is a C array."; + + myVec.GetData(index) = TestIntVal; + myVec.GetData(index) = TestStringVal; + myVec.GetData(index) = TestDoubleVal; + myVec.GetData(index) = TestFloatVal; + myVec.GetData(index) = TestConstPointerVal; + + EXPECT_EQ(TestIntVal, static_cast(myVec.GetData(index))); + EXPECT_EQ(TestStringVal, static_cast(myVec.GetData(index))); + EXPECT_EQ(TestDoubleVal, static_cast(myVec.GetData(index))); + EXPECT_EQ(TestFloatVal, static_cast(myVec.GetData(index))); + EXPECT_STREQ(TestConstPointerVal, static_cast(myVec.GetData(index))); + } + + MultiIndexedDataVector CreateTestVector(AZStd::vector& indices) + { + enum Types + { + IntType = 0, + FloatType = 1, + }; + + MultiIndexedDataVector myVec; + constexpr int32_t Count = 10; + int32_t startInt = 10; + float startFloat = 2.0f; + + // Create some initial values + for (uint32_t i = 0; i < Count; ++i) + { + uint16_t index = myVec.GetFreeSlotIndex(); + indices.push_back(index); + myVec.GetData(index) = startInt; + myVec.GetData(index) = startFloat; + startInt += 1; + startFloat += 1.0f; + } + + return myVec; + } + + void CheckIndexedData(MultiIndexedDataVector& data, AZStd::vector& indices) + { + enum Types + { + IntType = 0, + FloatType = 1, + }; + + // For each index, get its data and make sure GetIndexForData returns the same + // index used to retrieve the data + for (uint32_t i = 0; i < data.GetDataCount(); ++i) + { + int32_t& intData = data.GetData(indices.at(i)); + uint16_t indexForData = data.GetIndexForData(&intData); + EXPECT_EQ(indices.at(i), indexForData); + + float& floatData = data.GetData(indices.at(i)); + indexForData = data.GetIndexForData(&floatData); + EXPECT_EQ(indices.at(i), indexForData); + } + } + + TEST_F(MultiIndexedDataVectorTests, GetIndexForDataSimple) + { + AZStd::vector indices; + MultiIndexedDataVector myVec = CreateTestVector(indices); + CheckIndexedData(myVec, indices); + } + + TEST_F(MultiIndexedDataVectorTests, GetIndexForDataComplex) + { + enum Types + { + IntType = 0, + FloatType = 1, + }; + + AZStd::vector indices; + MultiIndexedDataVector myVec = CreateTestVector(indices); + + // remove every other value to shuffle the data around + for (uint32_t i = 0; i < myVec.GetDataCount(); i += 2) + { + myVec.RemoveIndex(indices.at(i)); + } + + int32_t startInt = 100; + float startFloat = 20.0f; + + // Add some data back in + const size_t count = myVec.GetDataCount(); + for (uint32_t i = 0; i < count; i += 2) + { + uint16_t index = myVec.GetFreeSlotIndex(); + indices.at(i) = index; + myVec.GetData(index) = startInt; + myVec.GetData(index) = startFloat; + startInt += 1; + startFloat += 1.0f; + } + + CheckIndexedData(myVec, indices); + } + + TEST_F(MultiIndexedDataVectorTests, ForEach) + { + enum Types + { + IntType = 0, + FloatType = 1, + }; + + MultiIndexedDataVector myVec; + constexpr int32_t Count = 10; + int32_t startInt = 10; + float startFloat = 2.0f; + + AZStd::vector indices; + AZStd::set intValues; + AZStd::set floatValues; + + // Create some initial values + for (uint32_t i = 0; i < Count; ++i) + { + uint16_t index = myVec.GetFreeSlotIndex(); + indices.push_back(index); + myVec.GetData(index) = startInt; + myVec.GetData(index) = startFloat; + intValues.insert(startInt); + floatValues.insert(startFloat); + startInt += 1; + startFloat += 1.0f; + } + + uint32_t visitCount = 0; + myVec.ForEach([&](int32_t value) -> bool + { + intValues.erase(value); + ++visitCount; + return true; // keep iterating + }); + + // All ints should have been visited and found in the set + EXPECT_EQ(visitCount, Count); + EXPECT_EQ(intValues.size(), 0); + + visitCount = 0; + myVec.ForEach([&](float value) -> bool + { + floatValues.erase(value); + ++visitCount; + return true; // keep iterating + }); + + // All floats should have been visited and found in the set + EXPECT_EQ(visitCount, Count); + EXPECT_EQ(floatValues.size(), 0); + + visitCount = 0; + myVec.ForEach([&]([[maybe_unused]] int32_t value) -> bool + { + ++visitCount; + return false; // stop iterating + }); + + // Since false is immediately returned, only one element should have been visited. + EXPECT_EQ(visitCount, 1); + + } +} diff --git a/Gems/Atom/Feature/Common/Code/atom_feature_common_files.cmake b/Gems/Atom/Feature/Common/Code/atom_feature_common_files.cmake index 184460b210..3ed2ec8755 100644 --- a/Gems/Atom/Feature/Common/Code/atom_feature_common_files.cmake +++ b/Gems/Atom/Feature/Common/Code/atom_feature_common_files.cmake @@ -275,6 +275,8 @@ set(FILES Source/RayTracing/RayTracingPassData.h Source/ReflectionProbe/ReflectionProbeFeatureProcessor.cpp Source/ReflectionProbe/ReflectionProbe.cpp + Source/ReflectionScreenSpace/ReflectionScreenSpaceTracePass.cpp + Source/ReflectionScreenSpace/ReflectionScreenSpaceTracePass.h Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurPass.cpp Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurPass.h Source/ReflectionScreenSpace/ReflectionScreenSpaceBlurChildPass.cpp diff --git a/Gems/Atom/Feature/Common/Code/atom_feature_common_tests_files.cmake b/Gems/Atom/Feature/Common/Code/atom_feature_common_tests_files.cmake index 1d94a2ae9e..99f3cf8e1a 100644 --- a/Gems/Atom/Feature/Common/Code/atom_feature_common_tests_files.cmake +++ b/Gems/Atom/Feature/Common/Code/atom_feature_common_tests_files.cmake @@ -11,6 +11,7 @@ set(FILES Tests/CommonTest.cpp Tests/CoreLights/ShadowmapAtlasTest.cpp Tests/IndexedDataVectorTests.cpp + Tests/MultiIndexedDataVectorTests.cpp Tests/IndexableListTests.cpp Tests/SparseVectorTests.cpp Tests/SkinnedMesh/SkinnedMeshDispatchItemTests.cpp diff --git a/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/__init__.py b/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/__init__.py index d500d6e09c..7e244dcfb2 100644 --- a/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/__init__.py +++ b/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/__init__.py @@ -163,6 +163,7 @@ _LOGGER.debug('Invoking __init__.py for {0}.'.format({_PACKAGENAME})) # ------------------------------------------------------------------------- +# ------------------------------------------------------------------------- def get_datadir() -> pathlib.Path: """ persistent application data. diff --git a/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/capture_displaymapperpassthrough.py b/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/capture_displaymapper.py similarity index 65% rename from Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/capture_displaymapperpassthrough.py rename to Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/capture_displaymapper.py index 76cdd8450a..bfcdf4c79e 100644 --- a/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/capture_displaymapperpassthrough.py +++ b/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/capture_displaymapper.py @@ -10,9 +10,7 @@ """Frame capture of the Displaymapper Passthrough (outputs .dds image)""" # ------------------------------------------------------------------------ import logging as _logging -from env_bool import env_bool -# ------------------------------------------------------------------------ _MODULENAME = 'ColorGrading.capture_displaymapperpassthrough' import ColorGrading.initialize @@ -27,25 +25,35 @@ _LOGGER.debug('Initializing: {0}.'.format({_MODULENAME})) import azlmbr.bus import azlmbr.atom -default_passtree = ["Root", +# This requires the level to have the DisplayMapper component added +# and configured to 'Passthrough' +# but now we can capture the parent input +# so this is here for reference for how it previously worked +passtree_displaymapperpassthrough = ["Root", + "MainPipeline_0", + "MainPipeline", + "PostProcessPass", + "LightAdaptation", + "DisplayMapperPass", + "DisplayMapperPassthrough"] + +# we can grad the parent pass input to the displaymapper directly +passtree_default = ["Root", "MainPipeline_0", "MainPipeline", "PostProcessPass", "LightAdaptation", - "DisplayMapperPass", - "DisplayMapperPassthrough"] + "DisplayMapperPass"] -default_path = "FrameCapture\DisplayMapperPassthrough.dds" - -# To Do: we should try to set display mapper to passthrough, -# then back after capture? +default_path = "FrameCapture\DisplayMappeInput.dds" # To Do: we can wrap this, to call from a PySide2 GUI def capture(command="CapturePassAttachment", - passtree=default_passtree, - pass_type="Output", + passtree=passtree_default, + pass_type="Input", output_path=default_path): + """Writes frame capture into project cache""" azlmbr.atom.FrameCaptureRequestBus(azlmbr.bus.Broadcast, command, passtree, diff --git a/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/initialize.py b/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/initialize.py index ac64ade322..24fcd08f02 100644 --- a/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/initialize.py +++ b/Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/initialize.py @@ -32,10 +32,7 @@ if DCCSI_GDEBUG: DCCSI_LOGLEVEL = int(10) # set up logger with both console and file _logging -if DCCSI_GDEBUG: - _LOGGER = initialize_logger(_PACKAGENAME, log_to_file=True, default_log_level=DCCSI_LOGLEVEL) -else: - _LOGGER = initialize_logger(_PACKAGENAME, log_to_file=False, default_log_level=DCCSI_LOGLEVEL) +_LOGGER = initialize_logger(_PACKAGENAME, log_to_file=DCCSI_GDEBUG, default_log_level=DCCSI_LOGLEVEL) _LOGGER.debug('Initializing: {0}.'.format({_MODULENAME})) @@ -46,7 +43,7 @@ if DCCSI_DEV_MODE: APPDATA = get_datadir() # os APPDATA APPDATA_WING = Path(APPDATA, f"Wing Pro {DCCSI_WING_VERSION_MAJOR}").resolve() if APPDATA_WING.exists(): - site.addsitedir(pathlib.PureWindowsPath(APPDATA_WING).as_posix()) + site.addsitedir(APPDATA_WING.resolve()) import wingdbstub as debugger try: debugger.Ensure() @@ -75,8 +72,7 @@ def start(): try: _O3DE_DEV = Path(os.getenv('O3DE_DEV')) - _O3DE_DEV = _O3DE_DEV.resolve() - os.environ['O3DE_DEV'] = pathlib.PureWindowsPath(_O3DE_DEV).as_posix() + os.environ['O3DE_DEV'] = _O3DE_DEV.as_posix() _LOGGER.debug(f'O3DE_DEV is: {_O3DE_DEV}') except EnvironmentError as e: _LOGGER.error('O3DE engineroot not set or found') @@ -86,23 +82,22 @@ def start(): _TAG_LY_BUILD_PATH = os.getenv('TAG_LY_BUILD_PATH', 'build') _DEFAULT_BIN_PATH = Path(str(_O3DE_DEV), _TAG_LY_BUILD_PATH, 'bin', 'profile') _O3DE_BIN_PATH = Path(os.getenv('O3DE_BIN_PATH', _DEFAULT_BIN_PATH)) - _O3DE_BIN_PATH = _O3DE_BIN_PATH.resolve() - os.environ['O3DE_BIN_PATH'] = pathlib.PureWindowsPath(_O3DE_BIN_PATH).as_posix() + os.environ['O3DE_BIN_PATH'] = _O3DE_BIN_PATH.as_posix() _LOGGER.debug(f'O3DE_BIN_PATH is: {_O3DE_BIN_PATH}') - site.addsitedir(pathlib.PureWindowsPath(_O3DE_BIN_PATH).as_posix()) + site.addsitedir(_O3DE_BIN_PATH.resolve()) except EnvironmentError as e: _LOGGER.error('O3DE bin folder not set or found') raise e if running_editor: _O3DE_DEV = Path(os.getenv('O3DE_DEV', Path(azlmbr.paths.engroot))) - os.environ['O3DE_DEV'] = pathlib.PureWindowsPath(_O3DE_DEV).as_posix() + os.environ['O3DE_DEV'] = _O3DE_DEV.as_posix() _LOGGER.debug(_O3DE_DEV) _O3DE_BIN_PATH = Path(str(_O3DE_DEV),Path(azlmbr.paths.executableFolder)) _O3DE_BIN = Path(os.getenv('O3DE_BIN', _O3DE_BIN_PATH.resolve())) - os.environ['O3DE_BIN'] = pathlib.PureWindowsPath(_O3DE_BIN).as_posix() + os.environ['O3DE_BIN'] = _O3DE_BIN_PATH.as_posix() _LOGGER.debug(_O3DE_BIN) diff --git a/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/CMD_ColorGradingTools.bat b/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/CMD_ColorGradingTools.bat index 56021c0801..89dd86be80 100644 --- a/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/CMD_ColorGradingTools.bat +++ b/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/CMD_ColorGradingTools.bat @@ -34,15 +34,15 @@ SETLOCAL ENABLEDELAYEDEXPANSION IF EXIST "%~dp0User_Env.bat" CALL %~dp0User_Env.bat :: Initialize env -echo +echo. echo ... calling Env_Core.bat CALL %~dp0\Env_Core.bat -echo +echo. echo ... calling Env_Python.bat CALL %~dp0\Env_Python.bat -echo +echo. echo ... calling Env_Tools.bat CALL %~dp0\Env_Tools.bat diff --git a/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/Env_Python.bat b/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/Env_Python.bat index fc4afc964e..ffb34b06e5 100644 --- a/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/Env_Python.bat +++ b/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/Env_Python.bat @@ -27,37 +27,19 @@ echo ~ O3DE Color Grading Python Env ... echo _____________________________________________________________________ echo. -:: Python Version -:: Ideally these are set to match the O3DE python distribution -:: \python\runtime -IF "%DCCSI_PY_VERSION_MAJOR%"=="" (set DCCSI_PY_VERSION_MAJOR=3) -echo DCCSI_PY_VERSION_MAJOR = %DCCSI_PY_VERSION_MAJOR% - -:: PY version Major -IF "%DCCSI_PY_VERSION_MINOR%"=="" (set DCCSI_PY_VERSION_MINOR=7) -echo DCCSI_PY_VERSION_MINOR = %DCCSI_PY_VERSION_MINOR% - -IF "%DCCSI_PY_VERSION_RELEASE%"=="" (set DCCSI_PY_VERSION_RELEASE=10) -echo DCCSI_PY_VERSION_RELEASE = %DCCSI_PY_VERSION_RELEASE% - -:: shared location for 64bit python 3.7 DEV location -:: this defines a DCCsi sandbox for lib site-packages by version -:: \Gems\AtomLyIntegration\TechnicalArt\DccScriptingInterface\3rdParty\Python\Lib -set DCCSI_PYTHON_PATH=%DCCSIG_PATH%\3rdParty\Python -echo DCCSI_PYTHON_PATH = %DCCSI_PYTHON_PATH% - -:: add access to a Lib location that matches the py version (example: 3.7.x) -:: switch this for other python versions like maya (2.7.x) -IF "%DCCSI_PYTHON_LIB_PATH%"=="" (set DCCSI_PYTHON_LIB_PATH=%DCCSI_PYTHON_PATH%\Lib\%DCCSI_PY_VERSION_MAJOR%.x\%DCCSI_PY_VERSION_MAJOR%.%DCCSI_PY_VERSION_MINOR%.x\site-packages) -echo DCCSI_PYTHON_LIB_PATH = %DCCSI_PYTHON_LIB_PATH% - -:: add to the PATH -SET PATH=%DCCSI_PYTHON_LIB_PATH%;%PATH% - :: shared location for default O3DE python location set DCCSI_PYTHON_INSTALL=%O3DE_DEV%\Python echo DCCSI_PYTHON_INSTALL = %DCCSI_PYTHON_INSTALL% +:: Warning, many DCC tools (like Maya) include thier own versioned python interpretter. +:: Some apps may not operate correctly if PYTHONHOME is set/propogated. +:: This is definitely the case with Maya, doing so causes Maya to not boot. +FOR /F "tokens=* USEBACKQ" %%F IN (`%DCCSI_PYTHON_INSTALL%\python.cmd %DCCSI_PYTHON_INSTALL%\get_python_path.py`) DO (SET PYTHONHOME=%%F) +echo PYTHONHOME - is now the folder containing O3DE python executable +echo PYTHONHOME = %PYTHONHOME% + +SET PYTHON=%PYTHONHOME%\python.exe + :: location for O3DE python 3.7 location set DCCSI_PY_BASE=%DCCSI_PYTHON_INSTALL%\python.cmd echo DCCSI_PY_BASE = %DCCSI_PY_BASE% @@ -65,10 +47,7 @@ echo DCCSI_PY_BASE = %DCCSI_PY_BASE% :: ide and debugger plug set DCCSI_PY_DEFAULT=%DCCSI_PY_BASE% -IF "%DCCSI_PY_REV%"=="" (set DCCSI_PY_REV=rev2) -IF "%DCCSI_PY_PLATFORM%"=="" (set DCCSI_PY_PLATFORM=windows) - -set DCCSI_PY_IDE=%DCCSI_PYTHON_INSTALL%\runtime\python-%DCCSI_PY_VERSION_MAJOR%.%DCCSI_PY_VERSION_MINOR%.%DCCSI_PY_VERSION_RELEASE%-%DCCSI_PY_REV%-%DCCSI_PY_PLATFORM%\python +set DCCSI_PY_IDE=%PYTHONHOME% echo DCCSI_PY_IDE = %DCCSI_PY_IDE% :: Wing and other IDEs probably prefer access directly to the python.exe @@ -91,11 +70,6 @@ SET PATH=%DCCSI_PYTHON_INSTALL%;%DCCSI_PY_IDE%;%DCCSI_PY_IDE_PACKAGES%;%DCCSI_PY set PYTHONPATH=%DCCSIG_PATH%;%DCCSI_PYTHON_LIB_PATH%;%O3DE_BIN_PATH%;%DCCSI_COLORGRADING_SCRIPTS%;%DCCSI_FEATURECOMMON_SCRIPTS%;%PYTHONPATH% echo PYTHONPATH = %PYTHONPATH% -:: used for debugging in WingIDE (but needs to be here) -IF "%TAG_USERNAME%"=="" (set TAG_USERNAME=NOT_SET) -echo TAG_USERNAME = %TAG_USERNAME% -IF "%TAG_USERNAME%"=="NOT_SET" (echo Add TAG_USERNAME to User_Env.bat) - :: Set flag so we don't initialize dccsi environment twice SET O3DE_ENV_PY_INIT=1 GOTO END_OF_FILE diff --git a/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/User_Env.bat.template b/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/User_Env.bat.template index 973d6d5afd..7ab970c98e 100644 --- a/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/User_Env.bat.template +++ b/Gems/Atom/Feature/Common/Tools/ColorGrading/cmdline/User_Env.bat.template @@ -25,11 +25,6 @@ SET TAG_LY_BUILD_PATH=build SET DCCSI_GDEBUG=True SET DCCSI_DEV_MODE=True -:: set the your user name here for windows path -SET TAG_USERNAME=NOT_SET -SET DCCSI_PY_REV=rev1 -SET DCCSI_PY_PLATFORM=windows - :: Set flag so we don't initialize dccsi environment twice SET O3DE_USER_ENV_INIT=1 GOTO END_OF_FILE diff --git a/Gems/Atom/RPI/Assets/Textures/Defaults/Missing.png b/Gems/Atom/RPI/Assets/Textures/Defaults/Missing.png index 3e9bc68ea5..198d034892 100644 --- a/Gems/Atom/RPI/Assets/Textures/Defaults/Missing.png +++ b/Gems/Atom/RPI/Assets/Textures/Defaults/Missing.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:28c3cfd8958813b4b539738bfff589731da0aeec5b3376558f377da2ebe973ff -size 5455 +oid sha256:7028c8db4f935f23aa4396668278a67691d92fe345cc9d417a9f47bd9a4af32b +size 8130 diff --git a/Gems/Atom/RPI/Assets/Textures/Defaults/Missing.png.assetinfo b/Gems/Atom/RPI/Assets/Textures/Defaults/Missing.png.assetinfo new file mode 100644 index 0000000000..264a7f2a25 --- /dev/null +++ b/Gems/Atom/RPI/Assets/Textures/Defaults/Missing.png.assetinfo @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Gems/Atom/RPI/Assets/Textures/Defaults/Processing.png b/Gems/Atom/RPI/Assets/Textures/Defaults/Processing.png index 914499d6e7..14c3ec76b0 100644 --- a/Gems/Atom/RPI/Assets/Textures/Defaults/Processing.png +++ b/Gems/Atom/RPI/Assets/Textures/Defaults/Processing.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8a0935be7347d695ed1716d030b5bae68153a88239b0ff15f67f900ac90be442 -size 5038 +oid sha256:a7d94b9c0a77741736b93d8ed4d2b22bc9ae4cf649f3d8b3f10cbaf595a3ed31 +size 8336 diff --git a/Gems/Atom/RPI/Assets/Textures/Defaults/Processing.png.assetinfo b/Gems/Atom/RPI/Assets/Textures/Defaults/Processing.png.assetinfo new file mode 100644 index 0000000000..4a234ef9f3 --- /dev/null +++ b/Gems/Atom/RPI/Assets/Textures/Defaults/Processing.png.assetinfo @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Gems/Atom/RPI/Assets/Textures/Defaults/ProcessingFailed.png b/Gems/Atom/RPI/Assets/Textures/Defaults/ProcessingFailed.png index 558b16b96e..aafdcc2681 100644 --- a/Gems/Atom/RPI/Assets/Textures/Defaults/ProcessingFailed.png +++ b/Gems/Atom/RPI/Assets/Textures/Defaults/ProcessingFailed.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bb243cd6d6414b4e95eab919fa94193b57825902b8d09f40ce3f334d829e74e2 -size 6286 +oid sha256:3bbd45e3ef81850da81d1cc01775930a53c424e64e287b00990af3e7e6a682ba +size 9701 diff --git a/Gems/Atom/RPI/Assets/Textures/Defaults/ProcessingFailed.png.assetinfo b/Gems/Atom/RPI/Assets/Textures/Defaults/ProcessingFailed.png.assetinfo new file mode 100644 index 0000000000..747ce3e0e2 --- /dev/null +++ b/Gems/Atom/RPI/Assets/Textures/Defaults/ProcessingFailed.png.assetinfo @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Gems/Atom/RPI/Code/Include/Atom/RPI.Edit/Common/AssetUtils.h b/Gems/Atom/RPI/Code/Include/Atom/RPI.Edit/Common/AssetUtils.h index bd11965ffa..f758019cfb 100644 --- a/Gems/Atom/RPI/Code/Include/Atom/RPI.Edit/Common/AssetUtils.h +++ b/Gems/Atom/RPI/Code/Include/Atom/RPI.Edit/Common/AssetUtils.h @@ -12,6 +12,7 @@ #include #include +#include namespace AZ { @@ -21,21 +22,24 @@ namespace AZ { // Declarations... - Outcome MakeAssetId(const AZStd::string& sourcePath, uint32_t productSubId); + // Note that these functions default to TraceLevel::Error to preserve legacy behavior of these APIs. It would be nice to make the default match + // RPI.Reflect/Asset/AssetUtils.h which is TraceLevel::Warning, but we are close to a release so it isn't worth the risk at this time. - Outcome MakeAssetId(const AZStd::string& originatingSourcePath, const AZStd::string& referencedSourceFilePath, uint32_t productSubId); + Outcome MakeAssetId(const AZStd::string& sourcePath, uint32_t productSubId, TraceLevel reporting = TraceLevel::Error); + + Outcome MakeAssetId(const AZStd::string& originatingSourcePath, const AZStd::string& referencedSourceFilePath, uint32_t productSubId, TraceLevel reporting = TraceLevel::Error); template - Outcome> LoadAsset(const AZStd::string& sourcePath, uint32_t productSubId = 0); + Outcome> LoadAsset(const AZStd::string& sourcePath, uint32_t productSubId = 0, TraceLevel reporting = TraceLevel::Error); template - Outcome> LoadAsset(const AZStd::string& originatingSourcePath, const AZStd::string& referencedSourceFilePath, uint32_t productSubId = 0); + Outcome> LoadAsset(const AZStd::string& originatingSourcePath, const AZStd::string& referencedSourceFilePath, uint32_t productSubId = 0, TraceLevel reporting = TraceLevel::Error); template - Outcome> LoadAsset(const AZ::Data::AssetId& assetId, const char* sourcePathForDebug); + Outcome> LoadAsset(const AZ::Data::AssetId& assetId, const char* sourcePathForDebug, TraceLevel reporting = TraceLevel::Error); template - Outcome> LoadAsset(const AZ::Data::AssetId& assetId); + Outcome> LoadAsset(const AZ::Data::AssetId& assetId, TraceLevel reporting = TraceLevel::Error); //! Attempts to resolve the full path to a product asset given its ID AZStd::string GetProductPathByAssetId(const AZ::Data::AssetId& assetId); @@ -65,12 +69,12 @@ namespace AZ // Definitions... template - Outcome> LoadAsset(const AZStd::string& sourcePath, uint32_t productSubId) + Outcome> LoadAsset(const AZStd::string& sourcePath, uint32_t productSubId, TraceLevel reporting) { - auto assetId = MakeAssetId(sourcePath, productSubId); + auto assetId = MakeAssetId(sourcePath, productSubId, reporting); if (assetId.IsSuccess()) { - return LoadAsset(assetId.GetValue(), sourcePath.c_str()); + return LoadAsset(assetId.GetValue(), sourcePath.c_str(), reporting); } else { @@ -79,20 +83,20 @@ namespace AZ } template - Outcome> LoadAsset(const AZStd::string& originatingSourcePath, const AZStd::string& referencedSourceFilePath, uint32_t productSubId) + Outcome> LoadAsset(const AZStd::string& originatingSourcePath, const AZStd::string& referencedSourceFilePath, uint32_t productSubId, TraceLevel reporting) { AZStd::string resolvedPath = ResolvePathReference(originatingSourcePath, referencedSourceFilePath); - return LoadAsset(resolvedPath, productSubId); + return LoadAsset(resolvedPath, productSubId, reporting); } template - Outcome> LoadAsset(const AZ::Data::AssetId& assetId) + Outcome> LoadAsset(const AZ::Data::AssetId& assetId, TraceLevel reporting) { - return LoadAsset(assetId, nullptr); + return LoadAsset(assetId, nullptr, reporting); } template - Outcome> LoadAsset(const AZ::Data::AssetId& assetId, [[maybe_unused]] const char* sourcePathForDebug) + Outcome> LoadAsset(const AZ::Data::AssetId& assetId, [[maybe_unused]] const char* sourcePathForDebug, TraceLevel reporting) { if (nullptr == AZ::IO::FileIOBase::GetInstance()->GetAlias("@products@")) { @@ -111,11 +115,11 @@ namespace AZ } else { - AZ_Error("AssetUtils", false, "Could not load %s [Source='%s' Cache='%s' AssetID=%s] ", + AssetUtilsInternal::ReportIssue(reporting, AZStd::string::format("Could not load %s [Source='%s' Cache='%s' AssetID=%s] ", AzTypeInfo::Name(), sourcePathForDebug ? sourcePathForDebug : "", asset.GetHint().empty() ? "" : asset.GetHint().c_str(), - assetId.ToString().c_str()); + assetId.ToString().c_str()).c_str()); return AZ::Failure(); } diff --git a/Gems/Atom/RPI/Code/Include/Atom/RPI.Edit/Material/MaterialUtils.h b/Gems/Atom/RPI/Code/Include/Atom/RPI.Edit/Material/MaterialUtils.h index d12e848a02..c1183c7aa1 100644 --- a/Gems/Atom/RPI/Code/Include/Atom/RPI.Edit/Material/MaterialUtils.h +++ b/Gems/Atom/RPI/Code/Include/Atom/RPI.Edit/Material/MaterialUtils.h @@ -28,7 +28,18 @@ namespace AZ namespace MaterialUtils { - Outcome> GetImageAssetReference(AZStd::string_view materialSourceFilePath, const AZStd::string imageFilePath); + enum class GetImageAssetResult + { + Empty, //! No image was actually requested, the path was empty + Found, //! The requested asset was found + Missing //! The requested asset was not found, and a placeholder asset was used instead + }; + + //! Finds an ImageAsset referenced by a material file (or a placeholder) + //! @param imageAsset the resulting ImageAsset + //! @param materialSourceFilePath the full path to a material source file that is referenfing an image file + //! @param imageFilePath the path to an image source file, which could be relative to the asset root or relative to the material file + GetImageAssetResult GetImageAssetReference(Data::Asset& imageAsset, AZStd::string_view materialSourceFilePath, const AZStd::string imageFilePath); //! Resolve an enum to a uint32_t given its name and definition array (in MaterialPropertyDescriptor). //! @param propertyDescriptor it contains the definition of all enum names in an array. diff --git a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/AuxGeom/AuxGeomDraw.h b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/AuxGeom/AuxGeomDraw.h index 474d0d5b9e..29b127407e 100644 --- a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/AuxGeom/AuxGeomDraw.h +++ b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/AuxGeom/AuxGeomDraw.h @@ -147,6 +147,30 @@ namespace AZ //! @param viewProjOverrideIndex Which view projection override entry to use, -1 if unused virtual void DrawSphere( const AZ::Vector3& center, float radius, const AZ::Color& color, DrawStyle style = DrawStyle::Shaded, DepthTest depthTest = DepthTest::On, DepthWrite depthWrite = DepthWrite::On, FaceCullMode faceCull = FaceCullMode::Back, int32_t viewProjOverrideIndex = -1) = 0; + //! Draw a sphere. + //! @param center The center of the sphere. + //! @param direction The direction vector. The Pole of the hemisphere will point along this vector. + //! @param radius The radius. + //! @param color The color to draw the sphere. + //! @param style The draw style (point, wireframe, solid, shaded etc). + //! @param depthTest If depth testing should be enabled + //! @param depthWrite If depth writing should be enabled + //! @param faceCull Which (if any) facing triangles should be culled + //! @param viewProjOverrideIndex Which view projection override entry to use, -1 if unused + virtual void DrawSphere(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, const AZ::Color& color, DrawStyle style = DrawStyle::Shaded, DepthTest depthTest = DepthTest::On, DepthWrite depthWrite = DepthWrite::On, FaceCullMode faceCull = FaceCullMode::Back, int32_t viewProjOverrideIndex = -1) = 0; + + //! Draw a hemisphere. + //! @param center The center of the sphere. + //! @param direction The direction vector. The Pole of the hemisphere will point along this vector. + //! @param radius The radius. + //! @param color The color to draw the sphere. + //! @param style The draw style (point, wireframe, solid, shaded etc). + //! @param depthTest If depth testing should be enabled + //! @param depthWrite If depth writing should be enabled + //! @param faceCull Which (if any) facing triangles should be culled + //! @param viewProjOverrideIndex Which view projection override entry to use, -1 if unused + virtual void DrawHemisphere( const AZ::Vector3& center, const AZ::Vector3& direction, float radius, const AZ::Color& color, DrawStyle style = DrawStyle::Shaded, DepthTest depthTest = DepthTest::On, DepthWrite depthWrite = DepthWrite::On, FaceCullMode faceCull = FaceCullMode::Back, int32_t viewProjOverrideIndex = -1) = 0; + //! Draw a disk. //! @param center The center of the disk. //! @param direction The direction vector. The disk will be orthogonal this vector. @@ -172,7 +196,7 @@ namespace AZ //! @param viewProjOverrideIndex Which view projection override entry to use, -1 if unused virtual void DrawCone(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, float height, const AZ::Color& color, DrawStyle style = DrawStyle::Shaded, DepthTest depthTest = DepthTest::On, DepthWrite depthWrite = DepthWrite::On, FaceCullMode faceCull = FaceCullMode::Back, int32_t viewProjOverrideIndex = -1) = 0; - //! Draw a cylinder. + //! Draw a cylinder (with flat disks on the end). //! @param center The center of the base circle. //! @param direction The direction vector. The top end cap of the cylinder will face along this vector. //! @param radius The radius. @@ -185,6 +209,19 @@ namespace AZ //! @param viewProjOverrideIndex Which view projection override entry to use, -1 if unused virtual void DrawCylinder(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, float height, const AZ::Color& color, DrawStyle style = DrawStyle::Shaded, DepthTest depthTest = DepthTest::On, DepthWrite depthWrite = DepthWrite::On, FaceCullMode faceCull = FaceCullMode::Back, int32_t viewProjOverrideIndex = -1) = 0; + //! Draw a cylinder without flat disk on the end. + //! @param center The center of the base circle. + //! @param direction The direction vector. The top end cap of the cylinder will face along this vector. + //! @param radius The radius. + //! @param height The height of the cylinder. + //! @param color The color to draw the cylinder. + //! @param style The draw style (point, wireframe, solid, shaded etc). + //! @param depthTest If depth testing should be enabled + //! @param depthWrite If depth writing should be enabled + //! @param faceCull Which (if any) facing triangles should be culled + //! @param viewProjOverrideIndex Which view projection override entry to use, -1 if unused + virtual void DrawCylinderNoEnds(const AZ::Vector3& center, const AZ::Vector3& direction, float radius, float height, const AZ::Color& color, DrawStyle style = DrawStyle::Shaded, DepthTest depthTest = DepthTest::On, DepthWrite depthWrite = DepthWrite::On, FaceCullMode faceCull = FaceCullMode::Back, int32_t viewProjOverrideIndex = -1) = 0; + //! Draw an axis-aligned bounding box with no transform. //! @param aabb The AABB (typically the bounding box of a set of world space points). //! @param color The color to draw the box. diff --git a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/Image/ImageSystemInterface.h b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/Image/ImageSystemInterface.h index f567881c50..920b763bc3 100644 --- a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/Image/ImageSystemInterface.h +++ b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/Image/ImageSystemInterface.h @@ -29,6 +29,14 @@ namespace AZ Count }; + namespace DefaultImageAssetPaths + { + static constexpr char DefaultFallback[] = "textures/defaults/defaultfallback.png.streamingimage"; + static constexpr char Processing[] = "textures/defaults/processing.png.streamingimage"; + static constexpr char ProcessingFailed[] = "textures/defaults/processingfailed.png.streamingimage"; + static constexpr char Missing[] = "textures/defaults/missing.png.streamingimage"; + } + class ImageSystemInterface { public: diff --git a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/RPISystem.h b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/RPISystem.h index 9138c0b418..57f595ccba 100644 --- a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/RPISystem.h +++ b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/RPISystem.h @@ -97,7 +97,7 @@ namespace AZ // SystemTickBus::OnTick void OnSystemTick() override; - float GetCurrentTime(); + float GetCurrentTime() const; // The set of core asset handlers registered by the system. AZStd::vector> m_assetHandlers; @@ -123,7 +123,6 @@ namespace AZ // The job policy used for feature processor's rendering prepare RHI::JobPolicy m_prepareRenderJobPolicy = RHI::JobPolicy::Parallel; - ScriptTimePoint m_startTime; float m_currentSimulationTime = 0.0f; RPISystemDescriptor m_descriptor; diff --git a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/View.h b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/View.h index cdaf59ff75..eb3592944d 100644 --- a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/View.h +++ b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/View.h @@ -92,6 +92,8 @@ namespace AZ const AZ::Matrix4x4& GetViewToWorldMatrix() const; const AZ::Matrix4x4& GetViewToClipMatrix() const; const AZ::Matrix4x4& GetWorldToClipMatrix() const; + const AZ::Matrix4x4& GetClipToWorldMatrix() const; + //! Get the camera's world transform, converted from the viewToWorld matrix's native y-up to z-up AZ::Transform GetCameraTransform() const; @@ -130,17 +132,22 @@ namespace AZ //! Returns the masked occlusion culling interface MaskedOcclusionCulling* GetMaskedOcclusionCulling(); + //! This is called by RenderPipeline when this view is added to the pipeline. + void OnAddToRenderPipeline(); + private: View() = delete; View(const AZ::Name& name, UsageFlags usage); - //! Sorts the finalized draw lists in this view void SortFinalizedDrawLists(); //! Sorts a drawList using the sort function from a pass with the corresponding drawListTag void SortDrawList(RHI::DrawList& drawList, RHI::DrawListTag tag); + //! Attempt to create a shader resource group. + void TryCreateShaderResourceGroup(); + AZ::Name m_name; UsageFlags m_usageFlags; diff --git a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/ViewportContextBus.h b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/ViewportContextBus.h index 0b53172ba2..2b83903dd1 100644 --- a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/ViewportContextBus.h +++ b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/ViewportContextBus.h @@ -67,6 +67,9 @@ namespace AZ virtual ViewportContextPtr GetViewportContextByName(const Name& contextName) const = 0; //! Gets the registered ViewportContext with the corresponding ID, if any. virtual ViewportContextPtr GetViewportContextById(AzFramework::ViewportId id) const = 0; + //! Gets the registered ViewportContext with matching RPI::Scene, if any. + //! This function will return the first result. + virtual ViewportContextPtr GetViewportContextByScene(const Scene* scene) const = 0; //! Maps a ViewportContext to a new name, inheriting the View stack (if any) registered to that context name. //! This can be used to switch "default" viewports by registering a viewport with the default ViewportContext name //! but note that only one ViewportContext can be mapped to a context name at a time. diff --git a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/ViewportContextManager.h b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/ViewportContextManager.h index 65576f97d3..2672ede9f5 100644 --- a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/ViewportContextManager.h +++ b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/ViewportContextManager.h @@ -41,6 +41,7 @@ namespace AZ bool PopView(const Name& contextName, ViewPtr view) override; ViewPtr GetCurrentView(const Name& contextName) const override; ViewportContextPtr GetDefaultViewportContext() const override; + ViewportContextPtr GetViewportContextByScene(const Scene* scene) const override; private: void RegisterViewportContext(const Name& contextName, ViewportContextPtr viewportContext); diff --git a/Gems/Atom/RPI/Code/Source/RPI.Builders/Material/MaterialBuilder.cpp b/Gems/Atom/RPI/Code/Source/RPI.Builders/Material/MaterialBuilder.cpp index e9cebf29c7..f11b2f94ac 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Builders/Material/MaterialBuilder.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Builders/Material/MaterialBuilder.cpp @@ -63,11 +63,21 @@ namespace AZ { BusDisconnect(); } + + bool MaterialBuilder::ReportMaterialAssetWarningsAsErrors() const + { + bool warningsAsErrors = false; + if (auto settingsRegistry = AZ::SettingsRegistry::Get(); settingsRegistry != nullptr) + { + settingsRegistry->Get(warningsAsErrors, "/O3DE/Atom/RPI/MaterialBuilder/WarningsAsErrors"); + } + return warningsAsErrors; + } //! Adds all relevant dependencies for a referenced source file, considering that the path might be relative to the original file location or a full asset path. //! This will usually include multiple source dependencies and a single job dependency, but will include only source dependencies if the file is not found. //! Note the AssetBuilderSDK::JobDependency::m_platformIdentifier will not be set by this function. The calling code must set this value before passing back - //! to the AssetBuilderSDK::CreateJobsResponse. If isOrderedOnceForMaterialTypes is true and the dependency is a materialtype file, the job dependency type + //! to the AssetBuilderSDK::CreateJobsResponse. If isOrderedOnceForMaterialTypes is true and the dependency is a .materialtype file, the job dependency type //! will be set to JobDependencyType::OrderOnce. void AddPossibleDependencies(AZStd::string_view currentFilePath, AZStd::string_view referencedParentPath, @@ -277,8 +287,8 @@ namespace AZ return materialTypeAssetOutcome.GetValue(); } - - AZ::Data::Asset CreateMaterialAsset(AZStd::string_view materialSourceFilePath, const rapidjson::Value& json) + + AZ::Data::Asset MaterialBuilder::CreateMaterialAsset(AZStd::string_view materialSourceFilePath, const rapidjson::Value& json) const { auto material = LoadSourceData(json, materialSourceFilePath); @@ -292,7 +302,7 @@ namespace AZ return {}; } - auto materialAssetOutcome = material.GetValue().CreateMaterialAsset(Uuid::CreateRandom(), materialSourceFilePath, true); + auto materialAssetOutcome = material.GetValue().CreateMaterialAsset(Uuid::CreateRandom(), materialSourceFilePath, ReportMaterialAssetWarningsAsErrors()); if (!materialAssetOutcome.IsSuccess()) { return {}; diff --git a/Gems/Atom/RPI/Code/Source/RPI.Builders/Material/MaterialBuilder.h b/Gems/Atom/RPI/Code/Source/RPI.Builders/Material/MaterialBuilder.h index afb0789dcf..4fa5f3cf10 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Builders/Material/MaterialBuilder.h +++ b/Gems/Atom/RPI/Code/Source/RPI.Builders/Material/MaterialBuilder.h @@ -9,6 +9,8 @@ #pragma once #include +#include +#include namespace AZ { @@ -37,6 +39,9 @@ namespace AZ private: + AZ::Data::Asset CreateMaterialAsset(AZStd::string_view materialSourceFilePath, const rapidjson::Value& json) const; + bool ReportMaterialAssetWarningsAsErrors() const; + bool m_isShuttingDown = false; }; diff --git a/Gems/Atom/RPI/Code/Source/RPI.Builders/Model/ModelExporterComponent.h b/Gems/Atom/RPI/Code/Source/RPI.Builders/Model/ModelExporterComponent.h index ee4bce634d..de4e1a0fe5 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Builders/Model/ModelExporterComponent.h +++ b/Gems/Atom/RPI/Code/Source/RPI.Builders/Model/ModelExporterComponent.h @@ -25,7 +25,7 @@ namespace AZ namespace RPI { /** - * This is the central component that drive the process of exporting a scene to Model + * This is the central component that drive the process of exporting a scene to Model * and Material assets. It delegates asset-build duties to other components like * ModelAssetBuilderComponent and MaterialAssetBuilderComponent via export events. */ @@ -55,7 +55,7 @@ namespace AZ AZStd::string_view m_relativeFileName; AZStd::string_view m_extension; - const Uuid m_sourceUuid; + const Uuid m_sourceUuid = Uuid::CreateNull(); const DataStream::StreamType m_dataStreamType = DataStream::ST_BINARY; }; diff --git a/Gems/Atom/RPI/Code/Source/RPI.Edit/Common/AssetUtils.cpp b/Gems/Atom/RPI/Code/Source/RPI.Edit/Common/AssetUtils.cpp index c940ef808b..e2877aa163 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Edit/Common/AssetUtils.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Edit/Common/AssetUtils.cpp @@ -10,6 +10,7 @@ #include #include #include +#include namespace AZ { @@ -46,6 +47,12 @@ namespace AZ AZStd::string ResolvePathReference(const AZStd::string& originatingSourceFilePath, const AZStd::string& referencedSourceFilePath) { + // The IsAbsolute part prevents "second join parameter is an absolute path" warnings in StringFunc::Path::Join below + if (referencedSourceFilePath.empty() || AZ::IO::PathView{referencedSourceFilePath}.IsAbsolute()) + { + return referencedSourceFilePath; + } + AZStd::string normalizedReferencedPath = referencedSourceFilePath; AzFramework::StringFunc::Path::Normalize(normalizedReferencedPath); @@ -113,7 +120,7 @@ namespace AZ return results; } - Outcome MakeAssetId(const AZStd::string& sourcePath, uint32_t productSubId) + Outcome MakeAssetId(const AZStd::string& sourcePath, uint32_t productSubId, TraceLevel reporting) { bool assetFound = false; AZ::Data::AssetInfo sourceInfo; @@ -122,7 +129,7 @@ namespace AZ if (!assetFound) { - AZ_Error("AssetUtils", false, "Could not find asset [%s]", sourcePath.c_str()); + AssetUtilsInternal::ReportIssue(reporting, AZStd::string::format("Could not find asset [%s]", sourcePath.c_str()).c_str()); return AZ::Failure(); } else @@ -131,10 +138,10 @@ namespace AZ } } - Outcome MakeAssetId(const AZStd::string& originatingSourcePath, const AZStd::string& referencedSourceFilePath, uint32_t productSubId) + Outcome MakeAssetId(const AZStd::string& originatingSourcePath, const AZStd::string& referencedSourceFilePath, uint32_t productSubId, TraceLevel reporting) { AZStd::string resolvedPath = ResolvePathReference(originatingSourcePath, referencedSourceFilePath); - return MakeAssetId(resolvedPath, productSubId); + return MakeAssetId(resolvedPath, productSubId, reporting); } } // namespace AssetUtils } // namespace RPI diff --git a/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialSourceData.cpp b/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialSourceData.cpp index d6308ec655..4351213c22 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialSourceData.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialSourceData.cpp @@ -116,10 +116,11 @@ namespace AZ { m_properties = AZStd::move(newPropertyGroups); - AZ_Warning("MaterialSourceData", false, + AZ_Warning( + "MaterialSourceData", false, "This material is based on version '%u' of '%s', but the material type is now at version '%u'. " - "Automatic updates are available. Consider updating the .material source file.", - m_materialTypeVersion, m_materialType.c_str(), materialTypeSourceData.m_version); + "Automatic updates are available. Consider updating the .material source file: '%s'.", + m_materialTypeVersion, materialTypeFullPath.c_str(), materialTypeSourceData.m_version, materialSourceFilePath.data()); } m_materialTypeVersion = materialTypeSourceData.m_version; @@ -303,7 +304,7 @@ namespace AZ MaterialPropertyId propertyId{ group.first, property.first }; if (!property.second.m_value.IsValid()) { - AZ_Warning("Material source data", false, "Source data for material property value is invalid."); + materialAssetCreator.ReportWarning("Source data for material property value is invalid."); } else { @@ -317,22 +318,20 @@ namespace AZ { case MaterialPropertyDataType::Image: { - Outcome> imageAssetResult = MaterialUtils::GetImageAssetReference( - materialSourceFilePath, property.second.m_value.GetValue()); + Data::Asset imageAsset; - if (imageAssetResult.IsSuccess()) + MaterialUtils::GetImageAssetResult result = MaterialUtils::GetImageAssetReference( + imageAsset, materialSourceFilePath, property.second.m_value.GetValue()); + + if (result == MaterialUtils::GetImageAssetResult::Missing) { - auto& imageAsset = imageAssetResult.GetValue(); - // Load referenced images when load material - imageAsset.SetAutoLoadBehavior(Data::AssetLoadBehavior::PreLoad); - materialAssetCreator.SetPropertyValue(propertyId.GetFullName(), imageAsset); - } - else - { - materialAssetCreator.ReportError( + materialAssetCreator.ReportWarning( "Material property '%s': Could not find the image '%s'", propertyId.GetFullName().GetCStr(), property.second.m_value.GetValue().data()); } + + imageAsset.SetAutoLoadBehavior(Data::AssetLoadBehavior::PreLoad); + materialAssetCreator.SetPropertyValue(propertyId.GetFullName(), imageAsset); } break; case MaterialPropertyDataType::Enum: diff --git a/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialTypeSourceData.cpp b/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialTypeSourceData.cpp index d5551e89ae..d8e6c156be 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialTypeSourceData.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialTypeSourceData.cpp @@ -451,20 +451,21 @@ namespace AZ { case MaterialPropertyDataType::Image: { - auto imageAssetResult = MaterialUtils::GetImageAssetReference( - materialTypeSourceFilePath, property.m_value.GetValue()); + Data::Asset imageAsset; - if (imageAssetResult) - { - auto imageAsset = imageAssetResult.GetValue(); - materialTypeAssetCreator.SetPropertyValue(propertyId.GetFullName(), imageAsset); - } - else + MaterialUtils::GetImageAssetResult result = MaterialUtils::GetImageAssetReference( + imageAsset, materialTypeSourceFilePath, property.m_value.GetValue()); + + if (result == MaterialUtils::GetImageAssetResult::Missing) { materialTypeAssetCreator.ReportError( "Material property '%s': Could not find the image '%s'", propertyId.GetFullName().GetCStr(), property.m_value.GetValue().data()); } + else + { + materialTypeAssetCreator.SetPropertyValue(propertyId.GetFullName(), imageAsset); + } } break; case MaterialPropertyDataType::Enum: diff --git a/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialUtils.cpp b/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialUtils.cpp index 90ce9e66ce..7fff8d81bc 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialUtils.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialUtils.cpp @@ -28,25 +28,36 @@ namespace AZ { namespace MaterialUtils { - Outcome> GetImageAssetReference(AZStd::string_view materialSourceFilePath, const AZStd::string imageFilePath) + GetImageAssetResult GetImageAssetReference(Data::Asset& imageAsset, AZStd::string_view materialSourceFilePath, const AZStd::string imageFilePath) { + imageAsset = {}; + if (imageFilePath.empty()) { // The image value was present but specified an empty string, meaning the texture asset should be explicitly cleared. - return AZ::Success(Data::Asset()); + return GetImageAssetResult::Empty; } else { - Outcome imageAssetId = AssetUtils::MakeAssetId(materialSourceFilePath, imageFilePath, StreamingImageAsset::GetImageAssetSubId()); + // We use TraceLevel::None because fallback textures are available and we'll return GetImageAssetResult::Missing below in that case. + // Callers of GetImageAssetReference will be responsible for logging warnings or errors as needed. + + Outcome imageAssetId = AssetUtils::MakeAssetId(materialSourceFilePath, imageFilePath, StreamingImageAsset::GetImageAssetSubId(), AssetUtils::TraceLevel::None); + if (!imageAssetId.IsSuccess()) { - return AZ::Failure(); - } - else - { - Data::Asset unloadedImageAssetReference(imageAssetId.GetValue(), azrtti_typeid(), imageFilePath); - return AZ::Success(unloadedImageAssetReference); + // When the AssetId cannot be found, we don't want to outright fail, because the runtime has mechanisms for displaying fallback textures which gives the + // user a better recovery workflow. On the other hand we can't just provide an empty/invalid Asset because that would be interpreted as simply + // no value was present and result in using no texture, and this would amount to a silent failure. + // So we use a randomly generated (well except for the "BADA55E7" bit ;) UUID which the runtime and tools will interpret as a missing asset and represent + // it as such. + static const Uuid InvalidAssetPlaceholderId = "{BADA55E7-1A1D-4940-B655-9D08679BD62F}"; + imageAsset = Data::Asset{InvalidAssetPlaceholderId, azrtti_typeid(), imageFilePath}; + return GetImageAssetResult::Missing; } + + imageAsset = Data::Asset{imageAssetId.GetValue(), azrtti_typeid(), imageFilePath}; + return GetImageAssetResult::Found; } } diff --git a/Gems/Atom/RPI/Code/Source/RPI.Public/RPISystem.cpp b/Gems/Atom/RPI/Code/Source/RPI.Public/RPISystem.cpp index 2b32503838..4465b8594f 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Public/RPISystem.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Public/RPISystem.cpp @@ -33,6 +33,7 @@ #include #include +#include #include @@ -276,15 +277,10 @@ namespace AZ } } - float RPISystem::GetCurrentTime() + float RPISystem::GetCurrentTime() const { - ScriptTimePoint timeAtCurrentTick; - AZ::TickRequestBus::BroadcastResult(timeAtCurrentTick, &AZ::TickRequestBus::Events::GetTimeAtCurrentTick); - - // We subtract the start time to maximize precision of the time value, since we will be converting it to a float. - double currentTime = timeAtCurrentTick.GetSeconds() - m_startTime.GetSeconds(); - - return aznumeric_cast(currentTime); + const AZ::TimeUs currentSimulationTimeUs = AZ::GetRealElapsedTimeUs(); + return AZ::TimeUsToSeconds(currentSimulationTimeUs); } void RPISystem::RenderTick() diff --git a/Gems/Atom/RPI/Code/Source/RPI.Public/RenderPipeline.cpp b/Gems/Atom/RPI/Code/Source/RPI.Public/RenderPipeline.cpp index 8d4303f187..062eaf02bd 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Public/RenderPipeline.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Public/RenderPipeline.cpp @@ -178,6 +178,10 @@ namespace AZ pipelineViews.m_views.resize(1); } ViewPtr previousView = pipelineViews.m_views[0]; + if (view) + { + view->OnAddToRenderPipeline(); + } pipelineViews.m_views[0] = view; if (previousView) @@ -238,6 +242,7 @@ namespace AZ pipelineViews.m_type = PipelineViewType::Transient; } view->SetPassesByDrawList(&pipelineViews.m_passesByDrawList); + view->OnAddToRenderPipeline(); pipelineViews.m_views.push_back(view); } } diff --git a/Gems/Atom/RPI/Code/Source/RPI.Public/View.cpp b/Gems/Atom/RPI/Code/Source/RPI.Public/View.cpp index 8c1e38ba58..4ad8dae41c 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Public/View.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Public/View.cpp @@ -47,18 +47,14 @@ namespace AZ { AZ_Assert(!name.IsEmpty(), "invalid name"); - // Set default matrixes. + // Set default matrices SetWorldToViewMatrix(AZ::Matrix4x4::CreateIdentity()); AZ::Matrix4x4 viewToClipMatrix; AZ::MakePerspectiveFovMatrixRH(viewToClipMatrix, AZ::Constants::HalfPi, 1, 0.1f, 1000.f, true); SetViewToClipMatrix(viewToClipMatrix); - Data::Asset viewSrgShaderAsset = RPISystemInterface::Get()->GetCommonShaderAssetForSrgs(); + TryCreateShaderResourceGroup(); - if (viewSrgShaderAsset.IsReady()) - { - m_shaderResourceGroup = ShaderResourceGroup::Create(viewSrgShaderAsset, RPISystemInterface::Get()->GetViewSrgLayout()->GetName()); - } #if AZ_TRAIT_MASKED_OCCLUSION_CULLING_SUPPORTED m_maskedOcclusionCulling = MaskedOcclusionCulling::Create(); m_maskedOcclusionCulling->SetResolution(MaskedSoftwareOcclusionCullingWidth, MaskedSoftwareOcclusionCullingHeight); @@ -125,6 +121,7 @@ namespace AZ m_worldToViewMatrix = worldToView; m_worldToClipMatrix = m_viewToClipMatrix * m_worldToViewMatrix; + m_clipToWorldMatrix = m_worldToClipMatrix.GetInverseFull(); m_onWorldToViewMatrixChange.Signal(m_worldToViewMatrix); m_onWorldToClipMatrixChange.Signal(m_worldToClipMatrix); @@ -162,6 +159,7 @@ namespace AZ m_worldToViewMatrix = m_viewToWorldMatrix.GetInverseFast(); m_worldToClipMatrix = m_viewToClipMatrix * m_worldToViewMatrix; + m_clipToWorldMatrix = m_worldToClipMatrix.GetInverseFull(); // Only signal an update when there is a change, otherwise this might block // user input from changing the value. @@ -177,6 +175,7 @@ namespace AZ m_viewToClipMatrix = viewToClip; m_worldToClipMatrix = m_viewToClipMatrix * m_worldToViewMatrix; + m_clipToWorldMatrix = m_worldToClipMatrix.GetInverseFull(); // Update z depth constant simultaneously // zNear -> n, zFar -> f @@ -227,6 +226,11 @@ namespace AZ return m_worldToClipMatrix; } + const AZ::Matrix4x4& View::GetClipToWorldMatrix() const + { + return m_clipToWorldMatrix; + } + bool View::HasDrawListTag(RHI::DrawListTag drawListTag) { return drawListTag.IsValid() && m_drawListMask[drawListTag.GetIndex()]; @@ -361,16 +365,19 @@ namespace AZ { if (m_clipSpaceOffset.IsZero()) { - Matrix4x4 worldToClipPrevMatrix = m_viewToClipPrevMatrix * m_worldToViewPrevMatrix; - m_shaderResourceGroup->SetConstant(m_worldToClipPrevMatrixConstantIndex, worldToClipPrevMatrix); - m_shaderResourceGroup->SetConstant(m_viewProjectionMatrixConstantIndex, m_worldToClipMatrix); - m_shaderResourceGroup->SetConstant(m_projectionMatrixConstantIndex, m_viewToClipMatrix); - m_shaderResourceGroup->SetConstant(m_clipToWorldMatrixConstantIndex, m_clipToWorldMatrix); - m_shaderResourceGroup->SetConstant(m_projectionMatrixInverseConstantIndex, m_viewToClipMatrix.GetInverseFull()); + if (m_shaderResourceGroup) + { + Matrix4x4 worldToClipPrevMatrix = m_viewToClipPrevMatrix * m_worldToViewPrevMatrix; + m_shaderResourceGroup->SetConstant(m_worldToClipPrevMatrixConstantIndex, worldToClipPrevMatrix); + m_shaderResourceGroup->SetConstant(m_viewProjectionMatrixConstantIndex, m_worldToClipMatrix); + m_shaderResourceGroup->SetConstant(m_projectionMatrixConstantIndex, m_viewToClipMatrix); + m_shaderResourceGroup->SetConstant(m_clipToWorldMatrixConstantIndex, m_clipToWorldMatrix); + m_shaderResourceGroup->SetConstant(m_projectionMatrixInverseConstantIndex, m_viewToClipMatrix.GetInverseFull()); + } } else { - // Offset the current and previous frame clip matricies + // Offset the current and previous frame clip matrices Matrix4x4 offsetViewToClipMatrix = m_viewToClipMatrix; offsetViewToClipMatrix.SetElement(0, 2, m_clipSpaceOffset.GetX()); offsetViewToClipMatrix.SetElement(1, 2, m_clipSpaceOffset.GetY()); @@ -379,27 +386,33 @@ namespace AZ offsetViewToClipPrevMatrix.SetElement(0, 2, m_clipSpaceOffset.GetX()); offsetViewToClipPrevMatrix.SetElement(1, 2, m_clipSpaceOffset.GetY()); - // Build other matricies dependent on the view to clip matricies + // Build other matrices dependent on the view to clip matrices Matrix4x4 offsetWorldToClipMatrix = offsetViewToClipMatrix * m_worldToViewMatrix; Matrix4x4 offsetWorldToClipPrevMatrix = offsetViewToClipPrevMatrix * m_worldToViewPrevMatrix; Matrix4x4 offsetClipToViewMatrix = offsetViewToClipMatrix.GetInverseFull(); Matrix4x4 offsetClipToWorldMatrix = m_viewToWorldMatrix * offsetClipToViewMatrix; - - m_shaderResourceGroup->SetConstant(m_worldToClipPrevMatrixConstantIndex, offsetWorldToClipPrevMatrix); - m_shaderResourceGroup->SetConstant(m_viewProjectionMatrixConstantIndex, offsetWorldToClipMatrix); - m_shaderResourceGroup->SetConstant(m_projectionMatrixConstantIndex, offsetViewToClipMatrix); - m_shaderResourceGroup->SetConstant(m_clipToWorldMatrixConstantIndex, offsetClipToWorldMatrix); - m_shaderResourceGroup->SetConstant(m_projectionMatrixInverseConstantIndex, offsetViewToClipMatrix.GetInverseFull()); + + if (m_shaderResourceGroup) + { + m_shaderResourceGroup->SetConstant(m_worldToClipPrevMatrixConstantIndex, offsetWorldToClipPrevMatrix); + m_shaderResourceGroup->SetConstant(m_viewProjectionMatrixConstantIndex, offsetWorldToClipMatrix); + m_shaderResourceGroup->SetConstant(m_projectionMatrixConstantIndex, offsetViewToClipMatrix); + m_shaderResourceGroup->SetConstant(m_clipToWorldMatrixConstantIndex, offsetClipToWorldMatrix); + m_shaderResourceGroup->SetConstant(m_projectionMatrixInverseConstantIndex, offsetViewToClipMatrix.GetInverseFull()); + } } - m_shaderResourceGroup->SetConstant(m_worldPositionConstantIndex, m_position); - m_shaderResourceGroup->SetConstant(m_viewMatrixConstantIndex, m_worldToViewMatrix); - m_shaderResourceGroup->SetConstant(m_viewMatrixInverseConstantIndex, m_worldToViewMatrix.GetInverseFull()); - m_shaderResourceGroup->SetConstant(m_zConstantsConstantIndex, m_nearZ_farZ_farZTimesNearZ_farZMinusNearZ); - m_shaderResourceGroup->SetConstant(m_unprojectionConstantsIndex, m_unprojectionConstants); + if (m_shaderResourceGroup) + { + m_shaderResourceGroup->SetConstant(m_worldPositionConstantIndex, m_position); + m_shaderResourceGroup->SetConstant(m_viewMatrixConstantIndex, m_worldToViewMatrix); + m_shaderResourceGroup->SetConstant(m_viewMatrixInverseConstantIndex, m_worldToViewMatrix.GetInverseFull()); + m_shaderResourceGroup->SetConstant(m_zConstantsConstantIndex, m_nearZ_farZ_farZTimesNearZ_farZMinusNearZ); + m_shaderResourceGroup->SetConstant(m_unprojectionConstantsIndex, m_unprojectionConstants); - m_shaderResourceGroup->Compile(); + m_shaderResourceGroup->Compile(); + } m_viewToClipPrevMatrix = m_viewToClipMatrix; m_worldToViewPrevMatrix = m_worldToViewMatrix; @@ -418,5 +431,30 @@ namespace AZ { return m_maskedOcclusionCulling; } + + void View::TryCreateShaderResourceGroup() + { + if (!m_shaderResourceGroup) + { + if (auto rpiSystemInterface = RPISystemInterface::Get()) + { + if (Data::Asset viewSrgShaderAsset = rpiSystemInterface->GetCommonShaderAssetForSrgs(); + viewSrgShaderAsset.IsReady()) + { + m_shaderResourceGroup = + ShaderResourceGroup::Create(viewSrgShaderAsset, rpiSystemInterface->GetViewSrgLayout()->GetName()); + } + } + } + } + + void View::OnAddToRenderPipeline() + { + TryCreateShaderResourceGroup(); + if (!m_shaderResourceGroup) + { + AZ_Warning("RPI::View", false, "Shader Resource Group failed to initialize"); + } + } } // namespace RPI } // namespace AZ diff --git a/Gems/Atom/RPI/Code/Source/RPI.Public/ViewportContextManager.cpp b/Gems/Atom/RPI/Code/Source/RPI.Public/ViewportContextManager.cpp index 6ea2491a0f..bba9ae7cf6 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Public/ViewportContextManager.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Public/ViewportContextManager.cpp @@ -176,6 +176,20 @@ namespace AZ return {}; } + ViewportContextPtr ViewportContextManager::GetViewportContextByScene(const Scene* scene) const + { + AZStd::lock_guard lock(m_containerMutex); + for (const auto& viewportData : m_viewportContexts) + { + ViewportContextPtr viewportContext = viewportData.second.context.lock(); + if (viewportContext && viewportContext->GetRenderScene().get() == scene) + { + return viewportContext; + } + } + return {}; + } + void ViewportContextManager::RenameViewportContext(ViewportContextPtr viewportContext, const Name& newContextName) { auto currentAssignedViewportContext = GetViewportContextByName(newContextName); diff --git a/Gems/Atom/RPI/Code/Source/RPI.Reflect/Image/StreamingImageAssetHandler.cpp b/Gems/Atom/RPI/Code/Source/RPI.Reflect/Image/StreamingImageAssetHandler.cpp index fd04635da3..dd16c565e7 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Reflect/Image/StreamingImageAssetHandler.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Reflect/Image/StreamingImageAssetHandler.cpp @@ -7,6 +7,7 @@ */ #include +#include #include #include @@ -52,7 +53,7 @@ namespace AZ missingAssetStatus, &AzFramework::AssetSystem::AssetSystemRequests::GetAssetStatusById, asset.GetId().m_guid); // Determine which fallback image to use - const char* relativePath = "textures/defaults/defaultfallback.png.streamingimage"; + const char* relativePath = DefaultImageAssetPaths::DefaultFallback; bool useDebugFallbackImages = true; if (auto settingsRegistry = AZ::SettingsRegistry::Get(); settingsRegistry != nullptr) @@ -66,15 +67,15 @@ namespace AZ { case AzFramework::AssetSystem::AssetStatus::AssetStatus_Queued: case AzFramework::AssetSystem::AssetStatus::AssetStatus_Compiling: - relativePath = "textures/defaults/processing.png.streamingimage"; + relativePath = DefaultImageAssetPaths::Processing; break; case AzFramework::AssetSystem::AssetStatus::AssetStatus_Failed: - relativePath = "textures/defaults/processingfailed.png.streamingimage"; + relativePath = DefaultImageAssetPaths::ProcessingFailed; break; case AzFramework::AssetSystem::AssetStatus::AssetStatus_Missing: case AzFramework::AssetSystem::AssetStatus::AssetStatus_Unknown: case AzFramework::AssetSystem::AssetStatus::AssetStatus_Compiled: - relativePath = "textures/defaults/missing.png.streamingimage"; + relativePath = DefaultImageAssetPaths::Missing; break; } } diff --git a/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialAsset.cpp b/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialAsset.cpp index ac90333842..3c6947b83d 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialAsset.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialAsset.cpp @@ -226,10 +226,12 @@ namespace AZ if (changesWereApplied) { - AZ_Warning("MaterialAsset", false, + AZ_Warning( + "MaterialAsset", false, "This material is based on version '%u' of %s, but the material type is now at version '%u'. " - "Automatic updates are available. Consider updating the .material source file.", - originalVersion, m_materialTypeAsset.ToString().c_str(), m_materialTypeAsset->GetVersion()); + "Automatic updates are available. Consider updating the .material source file for '%s'.", + originalVersion, m_materialTypeAsset.ToString().c_str(), m_materialTypeAsset->GetVersion(), + GetId().ToString().c_str()); } m_materialTypeVersion = m_materialTypeAsset->GetVersion(); diff --git a/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialPropertyValue.cpp b/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialPropertyValue.cpp index d1017139fc..b74305613e 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialPropertyValue.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialPropertyValue.cpp @@ -118,12 +118,16 @@ namespace AZ else if (value.is>()) { result.m_value = Data::Asset( - AZStd::any_cast>(value).GetId(), azrtti_typeid()); + AZStd::any_cast>(value).GetId(), + azrtti_typeid(), + AZStd::any_cast>(value).GetHint()); } else if (value.is>()) { result.m_value = Data::Asset( - AZStd::any_cast>(value).GetId(), azrtti_typeid()); + AZStd::any_cast>(value).GetId(), + azrtti_typeid(), + AZStd::any_cast>(value).GetHint()); } else if (value.is>()) { diff --git a/Gems/Atom/RPI/Code/Tests/Common/RPITestFixture.cpp b/Gems/Atom/RPI/Code/Tests/Common/RPITestFixture.cpp index 5343c295d8..8c685656ba 100644 --- a/Gems/Atom/RPI/Code/Tests/Common/RPITestFixture.cpp +++ b/Gems/Atom/RPI/Code/Tests/Common/RPITestFixture.cpp @@ -69,6 +69,19 @@ namespace UnitTest assetPath /= "Cache"; AZ::IO::FileIOBase::GetInstance()->SetAlias("@products@", assetPath.c_str()); + // Remark, AZ::Utils::GetProjectPath() is not used when defining "user" folder, + // instead We use AZ::Test::GetEngineRootPath();. + // Reason: + // When running unit tests, using AZ::Utils::GetProjectPath() will resolve to something like: + // "/data/workspace/o3de/build/linux/External/Atom-9a4d112b/RPI/Code/Cache" + // The ShaderMetricSystem.cpp writes to the @user@ folder and the following runtime error occurs: + // "You may not alter data inside the asset cache. Please check the call stack and consider writing into the source asset folder instead." + // "Attempted write location: /data/workspace/o3de/build/linux/External/Atom-9a4d112b/RPI/Code/Cache/user/shadermetrics.json" + // To avoid the error We use AZ::Test::GetEngineRootPath(); + AZ::IO::Path userPath = AZ::Test::GetEngineRootPath(); + userPath /= "user"; + AZ::IO::FileIOBase::GetInstance()->SetAlias("@user@", userPath.c_str()); + m_jsonRegistrationContext = AZStd::make_unique(); m_jsonSystemComponent = AZStd::make_unique(); m_jsonSystemComponent->Reflect(m_jsonRegistrationContext.get()); diff --git a/Gems/Atom/RPI/Code/Tests/Material/MaterialSourceDataTests.cpp b/Gems/Atom/RPI/Code/Tests/Material/MaterialSourceDataTests.cpp index fa8eed35de..d4bf3e5eaa 100644 --- a/Gems/Atom/RPI/Code/Tests/Material/MaterialSourceDataTests.cpp +++ b/Gems/Atom/RPI/Code/Tests/Material/MaterialSourceDataTests.cpp @@ -625,23 +625,6 @@ namespace UnitTest // We use local functions to easily start a new MaterialAssetCreator for each test case because // the AssetCreator would just skip subsequent operations after the first failure is detected. - auto expectError = [](AZStd::function setOneBadInput, [[maybe_unused]] uint32_t expectedAsserts = 2) - { - MaterialSourceData sourceData; - - sourceData.m_materialType = "@exefolder@/Temp/test.materialtype"; - - AddPropertyGroup(sourceData, "general"); - - setOneBadInput(sourceData); - - AZ_TEST_START_ASSERTTEST; - auto materialAssetOutcome = sourceData.CreateMaterialAsset(Uuid::CreateRandom(), "", false); - AZ_TEST_STOP_ASSERTTEST(expectedAsserts); // Usually one for the initial error, and one for when End() is called - - EXPECT_FALSE(materialAssetOutcome.IsSuccess()); - }; - auto expectWarning = [](AZStd::function setOneBadInput, [[maybe_unused]] uint32_t expectedAsserts = 1) { MaterialSourceData sourceData; @@ -692,10 +675,10 @@ namespace UnitTest }); // Missing image reference - expectError([](MaterialSourceData& materialSourceData) + expectWarning([](MaterialSourceData& materialSourceData) { AddProperty(materialSourceData, "general", "MyImage", AZStd::string("doesNotExist.streamingimage")); - }, 3); // Expect a 3rd error because AssetUtils reports its own assertion failure + }); } diff --git a/Gems/Atom/RPI/Code/Tests/Material/MaterialTests.cpp b/Gems/Atom/RPI/Code/Tests/Material/MaterialTests.cpp index 9c3e08ee08..61999d808e 100644 --- a/Gems/Atom/RPI/Code/Tests/Material/MaterialTests.cpp +++ b/Gems/Atom/RPI/Code/Tests/Material/MaterialTests.cpp @@ -888,4 +888,43 @@ namespace UnitTest EXPECT_EQ(indexFromOldName, indexFromNewName); } + template + void CheckPropertyValueRoundTrip(const T& value) + { + AZ::RPI::MaterialPropertyValue materialPropertyValue{value}; + AZStd::any anyValue{value}; + AZ::RPI::MaterialPropertyValue materialPropertyValueFromAny = MaterialPropertyValue::FromAny(anyValue); + AZ::RPI::MaterialPropertyValue materialPropertyValueFromRoundTrip = MaterialPropertyValue::FromAny(MaterialPropertyValue::ToAny(materialPropertyValue)); + + EXPECT_EQ(materialPropertyValue, materialPropertyValueFromAny); + EXPECT_EQ(materialPropertyValue, materialPropertyValueFromRoundTrip); + + if (materialPropertyValue.Is>()) + { + EXPECT_EQ(materialPropertyValue.GetValue>().GetHint(), materialPropertyValueFromAny.GetValue>().GetHint()); + EXPECT_EQ(materialPropertyValue.GetValue>().GetHint(), materialPropertyValueFromRoundTrip.GetValue>().GetHint()); + } + } + + TEST_F(MaterialTests, TestMaterialPropertyValueAsAny) + { + CheckPropertyValueRoundTrip(true); + CheckPropertyValueRoundTrip(false); + CheckPropertyValueRoundTrip(7); + CheckPropertyValueRoundTrip(8u); + CheckPropertyValueRoundTrip(9.0f); + CheckPropertyValueRoundTrip(AZ::Vector2(1.0f, 2.0f)); + CheckPropertyValueRoundTrip(AZ::Vector3(1.0f, 2.0f, 3.0f)); + CheckPropertyValueRoundTrip(AZ::Vector4(1.0f, 2.0f, 3.0f, 4.0f)); + CheckPropertyValueRoundTrip(AZ::Color(1.0f, 2.0f, 3.0f, 4.0f)); + CheckPropertyValueRoundTrip(Data::Asset{}); + CheckPropertyValueRoundTrip(Data::Asset{}); + CheckPropertyValueRoundTrip(Data::Asset{}); + CheckPropertyValueRoundTrip(Data::Asset{Uuid::CreateRandom(), azrtti_typeid(), "TestAssetPath.png"}); + CheckPropertyValueRoundTrip(Data::Asset{Uuid::CreateRandom(), azrtti_typeid(), "TestAssetPath.png"}); + CheckPropertyValueRoundTrip(Data::Asset{Uuid::CreateRandom(), azrtti_typeid(), "TestAssetPath.png"}); + CheckPropertyValueRoundTrip(m_testImageAsset); + CheckPropertyValueRoundTrip(Data::Instance{m_testImage}); + CheckPropertyValueRoundTrip(AZStd::string{"hello"}); + } } diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/CMakeLists.txt b/Gems/Atom/Tools/AtomToolsFramework/Code/CMakeLists.txt index 40c8d7956e..e7e8208722 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/CMakeLists.txt +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/CMakeLists.txt @@ -42,6 +42,7 @@ ly_add_target( Gem::Atom_RHI.Reflect Gem::Atom_Feature_Common.Static Gem::Atom_Bootstrap.Headers + Gem::ImageProcessingAtom.Headers ) ly_add_target( @@ -60,6 +61,8 @@ ly_add_target( BUILD_DEPENDENCIES PRIVATE Gem::AtomToolsFramework.Static + RUNTIME_DEPENDENCIES + Gem::ImageProcessingAtom.Editor ) ################################################################################ @@ -80,6 +83,7 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED) PRIVATE AZ::AzTest AZ::AzTestShared + AZ::AzFrameworkTestShared Gem::AtomToolsFramework.Static Gem::Atom_Utils.TestUtils.Static ) diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Debug/TraceRecorder.h b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Debug/TraceRecorder.h index 96a8728a43..fc19aea2d3 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Debug/TraceRecorder.h +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Debug/TraceRecorder.h @@ -26,6 +26,21 @@ namespace AtomToolsFramework //! Get the combined output of all messages AZStd::string GetDump() const; + //! Return the number of OnAssert calls + size_t GetAssertCount() const; + + //! Return the number of OnException calls + size_t GetExceptionCount() const; + + //! Return the number of OnError calls, and includes OnAssert and OnException if @includeHigher is true + size_t GetErrorCount(bool includeHigher = false) const; + + //! Return the number of OnWarning calls, and includes higher categories if @includeHigher is true + size_t GetWarningCount(bool includeHigher = false) const; + + //! Return the number of OnPrintf calls, and includes higher categories if @includeHigher is true + size_t GetPrintfCount(bool includeHigher = false) const; + private: ////////////////////////////////////////////////////////////////////////// // AZ::Debug::TraceMessageBus::Handler overrides... @@ -38,5 +53,11 @@ namespace AtomToolsFramework size_t m_maxMessageCount = std::numeric_limits::max(); AZStd::list m_messages; + + size_t m_assertCount = 0; + size_t m_exceptionCount = 0; + size_t m_errorCount = 0; + size_t m_warningCount = 0; + size_t m_printfCount = 0; }; } // namespace AtomToolsFramework diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Util/MaterialPropertyUtil.h b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Util/MaterialPropertyUtil.h index 08f59f9e0b..d27f2403a1 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Util/MaterialPropertyUtil.h +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Util/MaterialPropertyUtil.h @@ -49,6 +49,7 @@ namespace AtomToolsFramework //! @param propertyValue the value being converted before saving bool ConvertToExportFormat( const AZStd::string& exportPath, + [[maybe_unused]] const AZ::Name& propertyId, const AZ::RPI::MaterialTypeSourceData::PropertyDefinition& propertyDefinition, AZ::RPI::MaterialPropertyValue& propertyValue); diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Util/Util.h b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Util/Util.h index 1ad6f69961..ab2b8b46c0 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Util/Util.h +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Util/Util.h @@ -8,8 +8,9 @@ #pragma once -#include #include +#include +#include #include AZ_PUSH_DISABLE_WARNING(4251 4800, "-Wunknown-warning-option") // disable warnings spawned by QT @@ -18,11 +19,24 @@ AZ_PUSH_DISABLE_WARNING(4251 4800, "-Wunknown-warning-option") // disable warnin #include AZ_POP_DISABLE_WARNING +class QImage; + namespace AtomToolsFramework { + template + T GetSettingOrDefault(AZStd::string_view path, const T& defaultValue) + { + T result; + auto settingsRegistry = AZ::SettingsRegistry::Get(); + return (settingsRegistry && settingsRegistry->Get(result, path)) ? result : defaultValue; + } + + using LoadImageAsyncCallback = AZStd::function; + void LoadImageAsync(const AZStd::string& path, LoadImageAsyncCallback callback); + QFileInfo GetSaveFileInfo(const QString& initialPath); QFileInfo GetOpenFileInfo(const AZStd::vector& assetTypes); QFileInfo GetUniqueFileInfo(const QString& initialPath); QFileInfo GetDuplicationFileInfo(const QString& initialPath); bool LaunchTool(const QString& baseName, const QString& extension, const QStringList& arguments); -} +} // namespace AtomToolsFramework diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ModularViewportCameraController.h b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ModularViewportCameraController.h index 1200cb3d79..45c5394fd8 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ModularViewportCameraController.h +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ModularViewportCameraController.h @@ -112,15 +112,16 @@ namespace AtomToolsFramework void UpdateViewport(const AzFramework::ViewportControllerUpdateEvent& event) override; // ModularViewportCameraControllerRequestBus overrides ... - void InterpolateToTransform(const AZ::Transform& worldFromLocal) override; - AZ::Transform GetReferenceFrame() const override; - void SetReferenceFrame(const AZ::Transform& worldFromLocal) override; - void ClearReferenceFrame() override; + bool InterpolateToTransform(const AZ::Transform& worldFromLocal) override; + bool IsInterpolating() const override; + void StartTrackingTransform(const AZ::Transform& worldFromLocal) override; + void StopTrackingTransform() override; + bool IsTrackingTransform() const override; private: - //! Update the reference frame after a change has been made to the camera - //! view without updating the internal camera via user input. - void RefreshReferenceFrame(); + //! Combine the current camera transform with any potential roll from the tracked + //! transform (this is usually zero). + AZ::Transform CombinedCameraTransform() const; //! The current mode the camera controller is in. enum class CameraMode @@ -141,21 +142,21 @@ namespace AtomToolsFramework AzFramework::Camera m_camera; //!< The current camera state (pitch/yaw/position/look-distance). AzFramework::Camera m_targetCamera; //!< The target (next) camera state that m_camera is catching up to. AzFramework::Camera m_previousCamera; //!< The state of the camera from the previous frame. - AZStd::optional m_storedCamera; //!< A potentially stored camera for when a custom reference frame is set. + AZStd::optional m_storedCamera; //!< A potentially stored camera for when a transform is being tracked. AzFramework::CameraSystem m_cameraSystem; //!< The camera system responsible for managing all CameraInputs. AzFramework::CameraProps m_cameraProps; //!< Camera properties to control rotate and translate smoothness. CameraControllerPriorityFn m_priorityFn; //!< Controls at what priority the camera controller should respond to events. CameraAnimation m_cameraAnimation; //!< Camera animation state (used during CameraMode::Animation). CameraMode m_cameraMode = CameraMode::Control; //!< The current mode the camera is operating in. - //! An additional reference frame the camera can operate in (identity has no effect). - AZ::Transform m_referenceFrameOverride = AZ::Transform::CreateIdentity(); - //! Flag to prevent circular updates of the camera transform (while the viewport transform is being updated internally). - bool m_updatingTransformInternally = false; + float m_roll = 0.0f; //!< The current amount of roll to be applied to the camera. + float m_targetRoll = 0.0f; //!< The target amount of roll to be applied to the camera (current will move towards this). //! Listen for camera view changes outside of the camera controller. AZ::RPI::ViewportContext::MatrixChangedEvent::Handler m_cameraViewMatrixChangeHandler; //! The current instance of the modular camera viewport context. AZStd::unique_ptr m_modularCameraViewportContext; + //! Flag to prevent circular updates of the camera transform (while the viewport transform is being updated internally). + bool m_updatingTransformInternally = false; }; //! Placeholder implementation for ModularCameraViewportContext (useful for verifying the interface). diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ModularViewportCameraControllerRequestBus.h b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ModularViewportCameraControllerRequestBus.h index ab397692e4..4422751d6b 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ModularViewportCameraControllerRequestBus.h +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ModularViewportCameraControllerRequestBus.h @@ -23,23 +23,31 @@ namespace AtomToolsFramework class ModularViewportCameraControllerRequests : public AZ::EBusTraits { public: + static inline constexpr float InterpolateToTransformDuration = 1.0f; + using BusIdType = AzFramework::ViewportId; static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById; static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single; //! Begin a smooth transition of the camera to the requested transform. //! @param worldFromLocal The transform of where the camera should end up. - virtual void InterpolateToTransform(const AZ::Transform& worldFromLocal) = 0; + //! @return Returns true if the call began an interpolation and false otherwise. Calls to InterpolateToTransform + //! will have no effect if an interpolation is currently in progress. + virtual bool InterpolateToTransform(const AZ::Transform& worldFromLocal) = 0; - //! Return the current reference frame. - //! @note If a reference frame has not been set or a frame has been cleared, this is just the identity. - virtual AZ::Transform GetReferenceFrame() const = 0; + //! Returns if the camera is currently interpolating to a new transform. + virtual bool IsInterpolating() const = 0; - //! Set a new reference frame other than the identity for the camera controller. - virtual void SetReferenceFrame(const AZ::Transform& worldFromLocal) = 0; + //! Start tracking a transform. + //! Store the current camera transform and move to the next camera transform. + virtual void StartTrackingTransform(const AZ::Transform& worldFromLocal) = 0; - //! Clear the current reference frame to restore the identity. - virtual void ClearReferenceFrame() = 0; + //! Stop tracking the set transform. + //! The previously stored camera transform is restored. + virtual void StopTrackingTransform() = 0; + + //! Return if the tracking transform is set. + virtual bool IsTrackingTransform() const = 0; protected: ~ModularViewportCameraControllerRequests() = default; diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/RenderViewportWidget.h b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/RenderViewportWidget.h index 8233658ded..5216f511cb 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/RenderViewportWidget.h +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/RenderViewportWidget.h @@ -21,6 +21,7 @@ #include #include #include +#include namespace AtomToolsFramework { @@ -30,8 +31,8 @@ namespace AtomToolsFramework //! @see AZ::RPI::ViewportContext for Atom's API for setting up class RenderViewportWidget : public QWidget - , public AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus::Handler , public AzToolsFramework::ViewportInteraction::ViewportMouseCursorRequestBus::Handler + , public AzToolsFramework::ViewportInteraction::ViewportInteractionRequests , public AzFramework::WindowRequestBus::Handler , protected AzFramework::InputChannelEventListener , protected AZ::TickBus::Handler @@ -90,11 +91,11 @@ namespace AtomToolsFramework //! Input processing is enabled by default. void SetInputProcessingEnabled(bool enabled); - // AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus::Handler overrides ... + // ViewportInteractionRequests overrides ... AzFramework::CameraState GetCameraState() override; AzFramework::ScreenPoint ViewportWorldToScreen(const AZ::Vector3& worldPosition) override; - AZStd::optional ViewportScreenToWorld(const AzFramework::ScreenPoint& screenPosition, float depth) override; - AZStd::optional ViewportScreenToWorldRay( + AZ::Vector3 ViewportScreenToWorld(const AzFramework::ScreenPoint& screenPosition) override; + AzToolsFramework::ViewportInteraction::ProjectedViewportRay ViewportScreenToWorldRay( const AzFramework::ScreenPoint& screenPosition) override; float DeviceScalingFactor() override; @@ -149,5 +150,7 @@ namespace AtomToolsFramework AZ::ScriptTimePoint m_time; // Maps our internal Qt events into AzFramework InputChannels for our ViewportControllerList. AzToolsFramework::QtEventToAzInputMapper* m_inputChannelMapper = nullptr; + // Implementation of ViewportInteractionRequests (handles viewport picking operations). + AZStd::unique_ptr m_viewportInteractionImpl; }; } //namespace AtomToolsFramework diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ViewportInteractionImpl.h b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ViewportInteractionImpl.h new file mode 100644 index 0000000000..b6ad6e17d1 --- /dev/null +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Include/AtomToolsFramework/Viewport/ViewportInteractionImpl.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#pragma once + +#include +#include +#include +#include +#include + +namespace AtomToolsFramework +{ + //! A concrete implementation of the ViewportInteractionRequestBus. + //! Primarily concerned with picking (screen to world and world to screen transformations). + class ViewportInteractionImpl + : public AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus::Handler + , private AZ::RPI::ViewportContextIdNotificationBus::Handler + { + public: + explicit ViewportInteractionImpl(AZ::RPI::ViewPtr viewPtr); + + void Connect(AzFramework::ViewportId viewportId); + void Disconnect(); + + // ViewportInteractionRequestBus overrides ... + AzFramework::CameraState GetCameraState() override; + AzFramework::ScreenPoint ViewportWorldToScreen(const AZ::Vector3& worldPosition) override; + AZ::Vector3 ViewportScreenToWorld(const AzFramework::ScreenPoint& screenPosition) override; + AzToolsFramework::ViewportInteraction::ProjectedViewportRay ViewportScreenToWorldRay( + const AzFramework::ScreenPoint& screenPosition) override; + float DeviceScalingFactor() override; + + AZStd::function m_screenSizeFn; //! Callback to determine the screen size. + AZStd::function m_deviceScalingFactorFn; //! Callback to determine the device scaling factor. + + private: + // ViewportContextIdNotificationBus overrides ... + void OnViewportDefaultViewChanged(AZ::RPI::ViewPtr view) override; + + AZ::RPI::ViewPtr m_viewPtr; + }; +} // namespace AtomToolsFramework diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Application/AtomToolsApplication.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Application/AtomToolsApplication.cpp index a63a5e6b46..0f21dcb70e 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Application/AtomToolsApplication.cpp +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Application/AtomToolsApplication.cpp @@ -79,12 +79,18 @@ namespace AtomToolsFramework m_styleManager.reset(new AzQtComponents::StyleManager(this)); m_styleManager->initialize(this, engineRootPath); - connect(&m_timer, &QTimer::timeout, this, [&]() + m_timer.setInterval(1); + connect(&m_timer, &QTimer::timeout, this, [this]() { this->PumpSystemEventLoopUntilEmpty(); this->Tick(); }); + connect(this, &QGuiApplication::applicationStateChanged, this, [this]() + { + // Limit the update interval when not in focus to reduce power consumption and interference with other applications + this->m_timer.setInterval((applicationState() & Qt::ApplicationActive) ? 1 : 32); + }); } AtomToolsApplication ::~AtomToolsApplication() diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Debug/TraceRecorder.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Debug/TraceRecorder.cpp index 3fd069ff0b..5f8c8b9004 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Debug/TraceRecorder.cpp +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Debug/TraceRecorder.cpp @@ -31,6 +31,7 @@ namespace AtomToolsFramework bool TraceRecorder::OnAssert(const char* message) { + ++m_assertCount; if (m_messages.size() < m_maxMessageCount) { m_messages.push_back(AZStd::string::format("Assert: %s", message)); @@ -40,6 +41,7 @@ namespace AtomToolsFramework bool TraceRecorder::OnException(const char* message) { + ++m_exceptionCount; if (m_messages.size() < m_maxMessageCount) { m_messages.push_back(AZStd::string::format("Exception: %s", message)); @@ -49,6 +51,7 @@ namespace AtomToolsFramework bool TraceRecorder::OnError(const char* /*window*/, const char* message) { + ++m_errorCount; if (m_messages.size() < m_maxMessageCount) { m_messages.push_back(AZStd::string::format("Error: %s", message)); @@ -58,6 +61,7 @@ namespace AtomToolsFramework bool TraceRecorder::OnWarning(const char* /*window*/, const char* message) { + ++m_warningCount; if (m_messages.size() < m_maxMessageCount) { m_messages.push_back(AZStd::string::format("Warning: %s", message)); @@ -67,11 +71,58 @@ namespace AtomToolsFramework bool TraceRecorder::OnPrintf(const char* /*window*/, const char* message) { + ++m_printfCount; if (m_messages.size() < m_maxMessageCount) { m_messages.push_back(AZStd::string::format("%s", message)); } return false; +} + + size_t TraceRecorder::GetAssertCount() const + { + return m_assertCount; + } + + size_t TraceRecorder::GetExceptionCount() const + { + return m_exceptionCount; + } + + size_t TraceRecorder::GetErrorCount(bool includeHigher) const + { + if (includeHigher) + { + return m_errorCount + GetAssertCount() + GetExceptionCount(); + } + else + { + return m_errorCount; + } + } + + size_t TraceRecorder::GetWarningCount(bool includeHigher) const + { + if (includeHigher) + { + return m_warningCount + GetErrorCount(true); + } + else + { + return m_warningCount; + } + } + + size_t TraceRecorder::GetPrintfCount(bool includeHigher) const + { + if (includeHigher) + { + return m_printfCount + GetWarningCount(true); + } + else + { + return m_printfCount; + } } } // namespace AtomToolsFramework diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Document/AtomToolsDocumentSystemComponent.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Document/AtomToolsDocumentSystemComponent.cpp index 00de2a7c4c..3a392c1413 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Document/AtomToolsDocumentSystemComponent.cpp +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Document/AtomToolsDocumentSystemComponent.cpp @@ -495,8 +495,6 @@ namespace AtomToolsFramework return AZ::Uuid::CreateNull(); } - traceRecorder.GetDump().clear(); - bool openResult = false; AtomToolsDocumentRequestBus::EventResult(openResult, documentId, &AtomToolsDocumentRequestBus::Events::Open, requestedPath); if (!openResult) @@ -507,6 +505,12 @@ namespace AtomToolsFramework AtomToolsDocumentSystemRequestBus::Broadcast(&AtomToolsDocumentSystemRequestBus::Events::DestroyDocument, documentId); return AZ::Uuid::CreateNull(); } + else if (traceRecorder.GetWarningCount(true) > 0) + { + QMessageBox::warning( + QApplication::activeWindow(), QString("Document opened with warnings"), + QString("Warnings encountered: \n%1\n\n%2").arg(requestedPath.c_str()).arg(traceRecorder.GetDump().c_str())); + } return documentId; } diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Util/MaterialPropertyUtil.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Util/MaterialPropertyUtil.cpp index c49cd3fafb..3ffd8efa6e 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Util/MaterialPropertyUtil.cpp +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Util/MaterialPropertyUtil.cpp @@ -167,6 +167,7 @@ namespace AtomToolsFramework bool ConvertToExportFormat( const AZStd::string& exportPath, + [[maybe_unused]] const AZ::Name& propertyId, const AZ::RPI::MaterialTypeSourceData::PropertyDefinition& propertyDefinition, AZ::RPI::MaterialPropertyValue& propertyValue) { @@ -175,7 +176,7 @@ namespace AtomToolsFramework const uint32_t index = propertyValue.GetValue(); if (index >= propertyDefinition.m_enumValues.size()) { - AZ_Error("AtomToolsFramework", false, "Invalid value for material enum property: '%s'.", propertyDefinition.m_name.c_str()); + AZ_Error("AtomToolsFramework", false, "Invalid value for material enum property: '%s'.", propertyId.GetCStr()); return false; } @@ -186,18 +187,33 @@ namespace AtomToolsFramework // Image asset references must be converted from asset IDs to a relative source file path if (propertyDefinition.m_dataType == AZ::RPI::MaterialPropertyDataType::Image) { + AZStd::string imagePath; + AZ::Data::AssetId imageAssetId; + if (propertyValue.Is>()) { const auto& imageAsset = propertyValue.GetValue>(); - const auto& imagePath = AZ::RPI::AssetUtils::GetSourcePathByAssetId(imageAsset.GetId()); - propertyValue = GetExteralReferencePath(exportPath, imagePath); - return true; + imageAssetId = imageAsset.GetId(); } if (propertyValue.Is>()) { const auto& image = propertyValue.GetValue>(); - const auto& imagePath = image ? AZ::RPI::AssetUtils::GetSourcePathByAssetId(image->GetAssetId()) : ""; + if (image) + { + imageAssetId = image->GetAssetId(); + } + } + + imagePath = AZ::RPI::AssetUtils::GetSourcePathByAssetId(imageAssetId); + + if (imageAssetId.IsValid() && imagePath.empty()) + { + AZ_Error("AtomToolsFramework", false, "Image asset could not be found for property: '%s'.", propertyId.GetCStr()); + return false; + } + else + { propertyValue = GetExteralReferencePath(exportPath, imagePath); return true; } diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Util/Util.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Util/Util.cpp index d3bce34af3..cd50c10e23 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Util/Util.cpp +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Util/Util.cpp @@ -6,15 +6,18 @@ * */ +#include +#include #include #include +#include #include #include #include #include +#include #include #include -#include AZ_PUSH_DISABLE_WARNING(4251 4800, "-Wunknown-warning-option") // disable warnings spawned by QT #include @@ -24,6 +27,36 @@ AZ_POP_DISABLE_WARNING namespace AtomToolsFramework { + void LoadImageAsync(const AZStd::string& path, LoadImageAsyncCallback callback) + { + AZ::Job* job = AZ::CreateJobFunction( + [path, callback]() + { + ImageProcessingAtom::IImageObjectPtr imageObject; + ImageProcessingAtom::ImageProcessingRequestBus::BroadcastResult( + imageObject, &ImageProcessingAtom::ImageProcessingRequests::LoadImagePreview, path); + + if (imageObject) + { + AZ::u8* imageBuf = nullptr; + AZ::u32 pitch = 0; + AZ::u32 mip = 0; + imageObject->GetImagePointer(mip, imageBuf, pitch); + const AZ::u32 width = imageObject->GetWidth(mip); + const AZ::u32 height = imageObject->GetHeight(mip); + + QImage image(imageBuf, width, height, pitch, QImage::Format_RGBA8888); + + if (callback) + { + callback(image); + } + } + }, + true); + job->Start(); + } + QFileInfo GetSaveFileInfo(const QString& initialPath) { const QFileInfo initialFileInfo(initialPath); diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/ModularViewportCameraController.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/ModularViewportCameraController.cpp index a92bfdbcdb..179ccd9fd8 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/ModularViewportCameraController.cpp +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/ModularViewportCameraController.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -175,16 +176,12 @@ namespace AtomToolsFramework // ignore these updates if the camera is being updated internally if (!m_updatingTransformInternally) { - if (m_storedCamera.has_value()) - { - // if an external change occurs ensure we update the stored reference frame if one is set - RefreshReferenceFrame(); - return; - } - m_previousCamera = m_targetCamera; - UpdateCameraFromTransform(m_targetCamera, m_modularCameraViewportContext->GetCameraTransform()); - m_camera = m_targetCamera; + + const AZ::Transform transform = m_modularCameraViewportContext->GetCameraTransform(); + const AZ::Vector3 eulerAngles = AzFramework::EulerAngles(AZ::Matrix3x3::CreateFromTransform(transform)); + UpdateCameraFromTranslationAndRotation(m_targetCamera, transform.GetTranslation(), eulerAngles); + m_targetRoll = eulerAngles.GetY(); } }; @@ -227,7 +224,9 @@ namespace AtomToolsFramework { m_targetCamera = m_cameraSystem.StepCamera(m_targetCamera, event.m_deltaTime.count()); m_camera = AzFramework::SmoothCamera(m_camera, m_targetCamera, m_cameraProps, event.m_deltaTime.count()); - m_modularCameraViewportContext->SetCameraTransform(m_referenceFrameOverride * m_camera.Transform()); + m_roll = AzFramework::SmoothValue(m_targetRoll, m_roll, m_cameraProps.m_rotateSmoothnessFn(), event.m_deltaTime.count()); + + m_modularCameraViewportContext->SetCameraTransform(CombinedCameraTransform()); } else if (m_cameraMode == CameraMode::Animation) { @@ -236,7 +235,10 @@ namespace AtomToolsFramework return t * t * t * (t * (t * 6.0f - 15.0f) + 10.0f); }; - m_cameraAnimation.m_time = AZ::GetClamp(m_cameraAnimation.m_time + event.m_deltaTime.count(), 0.0f, 1.0f); + m_cameraAnimation.m_time = AZ::GetClamp( + m_cameraAnimation.m_time + + (event.m_deltaTime.count() / ModularViewportCameraControllerRequests::InterpolateToTransformDuration), + 0.0f, 1.0f); const auto& [transformStart, transformEnd, animationTime] = m_cameraAnimation; @@ -250,6 +252,7 @@ namespace AtomToolsFramework m_camera.m_yaw = eulerAngles.GetZ(); m_camera.m_pivot = current.GetTranslation(); m_camera.m_offset = AZ::Vector3::CreateZero(); + m_targetRoll = eulerAngles.GetY(); m_targetCamera = m_camera; m_modularCameraViewportContext->SetCameraTransform(current); @@ -257,55 +260,59 @@ namespace AtomToolsFramework if (animationTime >= 1.0f) { m_cameraMode = CameraMode::Control; - RefreshReferenceFrame(); } } m_updatingTransformInternally = false; } - void ModularViewportCameraControllerInstance::InterpolateToTransform(const AZ::Transform& worldFromLocal) + bool ModularViewportCameraControllerInstance::InterpolateToTransform(const AZ::Transform& worldFromLocal) { - m_cameraMode = CameraMode::Animation; - m_cameraAnimation = CameraAnimation{ m_referenceFrameOverride * m_camera.Transform(), worldFromLocal, 0.0f }; + if (!IsInterpolating()) + { + m_cameraMode = CameraMode::Animation; + m_cameraAnimation = CameraAnimation{ CombinedCameraTransform(), worldFromLocal, 0.0f }; + + return true; + } + + return false; } - AZ::Transform ModularViewportCameraControllerInstance::GetReferenceFrame() const + bool ModularViewportCameraControllerInstance::IsInterpolating() const { - return m_referenceFrameOverride; + return m_cameraMode == CameraMode::Animation; } - void ModularViewportCameraControllerInstance::SetReferenceFrame(const AZ::Transform& worldFromLocal) + void ModularViewportCameraControllerInstance::StartTrackingTransform(const AZ::Transform& worldFromLocal) { if (!m_storedCamera.has_value()) { m_storedCamera = m_previousCamera; } - m_referenceFrameOverride = worldFromLocal; - m_targetCamera.m_pitch = 0.0f; - m_targetCamera.m_yaw = 0.0f; + const auto angles = AzFramework::EulerAngles(AZ::Matrix3x3::CreateFromQuaternion(worldFromLocal.GetRotation())); + m_targetCamera.m_pitch = angles.GetX(); + m_targetCamera.m_yaw = angles.GetZ(); m_targetCamera.m_offset = AZ::Vector3::CreateZero(); - m_targetCamera.m_pivot = AZ::Vector3::CreateZero(); - m_camera = m_targetCamera; + m_targetCamera.m_pivot = worldFromLocal.GetTranslation(); + m_targetRoll = angles.GetY(); } - void ModularViewportCameraControllerInstance::ClearReferenceFrame() + void ModularViewportCameraControllerInstance::StopTrackingTransform() { - m_referenceFrameOverride = AZ::Transform::CreateIdentity(); - if (m_storedCamera.has_value()) { m_targetCamera = m_storedCamera.value(); - m_camera = m_targetCamera; + m_targetRoll = 0.0f; } m_storedCamera.reset(); } - void ModularViewportCameraControllerInstance::RefreshReferenceFrame() + bool ModularViewportCameraControllerInstance::IsTrackingTransform() const { - m_referenceFrameOverride = m_modularCameraViewportContext->GetCameraTransform() * m_camera.Transform().GetInverse(); + return m_storedCamera.has_value(); } AZ::Transform PlaceholderModularCameraViewportContextImpl::GetCameraTransform() const @@ -324,4 +331,9 @@ namespace AtomToolsFramework { handler.Connect(m_viewMatrixChangedEvent); } + + AZ::Transform ModularViewportCameraControllerInstance::CombinedCameraTransform() const + { + return m_camera.Transform() * AZ::Transform::CreateFromMatrix3x3(AZ::Matrix3x3::CreateRotationY(m_targetRoll)); + } } // namespace AtomToolsFramework diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/RenderViewportWidget.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/RenderViewportWidget.cpp index bed4778e8e..759f939382 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/RenderViewportWidget.cpp +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/RenderViewportWidget.cpp @@ -75,7 +75,11 @@ namespace AtomToolsFramework m_defaultCamera = AZ::RPI::View::CreateView(cameraName, AZ::RPI::View::UsageFlags::UsageCamera); AZ::Interface::Get()->PushView(m_viewportContext->GetName(), m_defaultCamera); - AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus::Handler::BusConnect(GetId()); + m_viewportInteractionImpl = AZStd::make_unique(m_defaultCamera); + m_viewportInteractionImpl->m_deviceScalingFactorFn = [this] { return aznumeric_cast(devicePixelRatioF()); }; + m_viewportInteractionImpl->m_screenSizeFn = [this] { return AzFramework::ScreenSize(width(), height()); }; + m_viewportInteractionImpl->Connect(id); + AzToolsFramework::ViewportInteraction::ViewportMouseCursorRequestBus::Handler::BusConnect(GetId()); AzFramework::InputChannelEventListener::Connect(); AZ::TickBus::Handler::BusConnect(); @@ -107,7 +111,7 @@ namespace AtomToolsFramework AZ::TickBus::Handler::BusDisconnect(); AzFramework::InputChannelEventListener::Disconnect(); AzToolsFramework::ViewportInteraction::ViewportMouseCursorRequestBus::Handler::BusDisconnect(); - AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus::Handler::BusDisconnect(); + m_viewportInteractionImpl->Disconnect(); } void RenderViewportWidget::LockRenderTargetSize(uint32_t width, uint32_t height) @@ -290,77 +294,23 @@ namespace AtomToolsFramework AzFramework::CameraState RenderViewportWidget::GetCameraState() { - AZ::RPI::ViewPtr currentView = m_viewportContext->GetDefaultView(); - if (currentView == nullptr) - { - return {}; - } - - // Build camera state from Atom camera transforms - AzFramework::CameraState cameraState = AzFramework::CreateCameraFromWorldFromViewMatrix( - currentView->GetViewToWorldMatrix(), - AZ::Vector2{aznumeric_cast(width()), aznumeric_cast(height())} - ); - AzFramework::SetCameraClippingVolumeFromPerspectiveFovMatrixRH(cameraState, currentView->GetViewToClipMatrix()); - - // Convert from Z-up - AZStd::swap(cameraState.m_forward, cameraState.m_up); - cameraState.m_forward = -cameraState.m_forward; - - return cameraState; + return m_viewportInteractionImpl->GetCameraState(); } AzFramework::ScreenPoint RenderViewportWidget::ViewportWorldToScreen(const AZ::Vector3& worldPosition) { - if (AZ::RPI::ViewPtr currentView = m_viewportContext->GetDefaultView(); - currentView == nullptr) - { - return AzFramework::ScreenPoint(0, 0); - } - - return AzFramework::WorldToScreen(worldPosition, GetCameraState()); + return m_viewportInteractionImpl->ViewportWorldToScreen(worldPosition); } - AZStd::optional RenderViewportWidget::ViewportScreenToWorld(const AzFramework::ScreenPoint& screenPosition, float depth) + AZ::Vector3 RenderViewportWidget::ViewportScreenToWorld(const AzFramework::ScreenPoint& screenPosition) { - const auto& cameraProjection = m_viewportContext->GetCameraProjectionMatrix(); - const auto& cameraView = m_viewportContext->GetCameraViewMatrix(); - - const AZ::Vector4 normalizedScreenPosition { - screenPosition.m_x * 2.f / width() - 1.0f, - (height() - screenPosition.m_y) * 2.f / height() - 1.0f, - 1.f - depth, // [GFX TODO] [ATOM-1501] Currently we always assume reverse depth - 1.f - }; - - AZ::Matrix4x4 worldFromScreen = cameraProjection * cameraView; - worldFromScreen.InvertFull(); - - const AZ::Vector4 projectedPosition = worldFromScreen * normalizedScreenPosition; - if (projectedPosition.GetW() == 0.0f) - { - return {}; - } - - return projectedPosition.GetAsVector3() / projectedPosition.GetW(); + return m_viewportInteractionImpl->ViewportScreenToWorld(screenPosition); } - AZStd::optional RenderViewportWidget::ViewportScreenToWorldRay( + AzToolsFramework::ViewportInteraction::ProjectedViewportRay RenderViewportWidget::ViewportScreenToWorldRay( const AzFramework::ScreenPoint& screenPosition) { - auto pos0 = ViewportScreenToWorld(screenPosition, 0.f); - auto pos1 = ViewportScreenToWorld(screenPosition, 1.f); - if (!pos0.has_value() || !pos1.has_value()) - { - return {}; - } - - pos0 = m_viewportContext->GetDefaultView()->GetViewToWorldMatrix().GetTranslation(); - AZ::Vector3 rayOrigin = pos0.value(); - AZ::Vector3 rayDirection = pos1.value() - pos0.value(); - rayDirection.Normalize(); - - return AzToolsFramework::ViewportInteraction::ProjectedViewportRay{rayOrigin, rayDirection}; + return m_viewportInteractionImpl->ViewportScreenToWorldRay(screenPosition); } float RenderViewportWidget::DeviceScalingFactor() diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/ViewportInteractionImpl.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/ViewportInteractionImpl.cpp new file mode 100644 index 0000000000..1a015c167c --- /dev/null +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/ViewportInteractionImpl.cpp @@ -0,0 +1,68 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include +#include + +namespace AtomToolsFramework +{ + ViewportInteractionImpl::ViewportInteractionImpl(AZ::RPI::ViewPtr viewPtr) + : m_viewPtr(AZStd::move(viewPtr)) + { + } + + void ViewportInteractionImpl::Connect(const AzFramework::ViewportId viewportId) + { + AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus::Handler::BusConnect(viewportId); + AZ::RPI::ViewportContextIdNotificationBus::Handler::BusConnect(viewportId); + } + + void ViewportInteractionImpl::Disconnect() + { + AZ::RPI::ViewportContextIdNotificationBus::Handler::BusDisconnect(); + AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus::Handler::BusDisconnect(); + } + + AzFramework::CameraState ViewportInteractionImpl::GetCameraState() + { + // build camera state from atom camera transforms + AzFramework::CameraState cameraState = + AzFramework::CreateDefaultCamera(m_viewPtr->GetCameraTransform(), AzFramework::Vector2FromScreenSize(m_screenSizeFn())); + AzFramework::SetCameraClippingVolumeFromPerspectiveFovMatrixRH(cameraState, m_viewPtr->GetViewToClipMatrix()); + return cameraState; + } + + AzFramework::ScreenPoint ViewportInteractionImpl::ViewportWorldToScreen(const AZ::Vector3& worldPosition) + { + return AzFramework::WorldToScreen(worldPosition, GetCameraState()); + } + + AZ::Vector3 ViewportInteractionImpl::ViewportScreenToWorld(const AzFramework::ScreenPoint& screenPosition) + { + return AzFramework::ScreenToWorld(screenPosition, GetCameraState()); + } + + AzToolsFramework::ViewportInteraction::ProjectedViewportRay ViewportInteractionImpl::ViewportScreenToWorldRay( + const AzFramework::ScreenPoint& screenPosition) + { + const AzFramework::CameraState cameraState = GetCameraState(); + const AZ::Vector3 rayOrigin = AzFramework::ScreenToWorld(screenPosition, cameraState); + const AZ::Vector3 rayDirection = (rayOrigin - cameraState.m_position).GetNormalized(); + return AzToolsFramework::ViewportInteraction::ProjectedViewportRay{ rayOrigin, rayDirection }; + } + + float ViewportInteractionImpl::DeviceScalingFactor() + { + return m_deviceScalingFactorFn(); + } + + void ViewportInteractionImpl::OnViewportDefaultViewChanged(AZ::RPI::ViewPtr view) + { + m_viewPtr = AZStd::move(view); + } +} // namespace AtomToolsFramework diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Tests/AtomToolsFrameworkTest.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Tests/AtomToolsFrameworkTest.cpp index df16cfbc43..3124372bd2 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Tests/AtomToolsFrameworkTest.cpp +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Tests/AtomToolsFrameworkTest.cpp @@ -12,16 +12,25 @@ namespace UnitTest { + class AtomToolsFrameworkTestEnvironment : public AZ::Test::ITestEnvironment + { + protected: + void SetupEnvironment() override + { + AZ::AllocatorInstance::Create(); + } + + void TeardownEnvironment() override + { + AZ::AllocatorInstance::Destroy(); + } + }; + class AtomToolsFrameworkTest : public ::testing::Test { protected: void SetUp() override { - if (!AZ::AllocatorInstance::IsReady()) - { - AZ::AllocatorInstance::Create(AZ::SystemAllocator::Descriptor()); - } - m_assetSystemStub.Activate(); RegisterSourceAsset("objects/upgrades/materials/supercondor.material"); @@ -38,11 +47,6 @@ namespace UnitTest void TearDown() override { m_assetSystemStub.Deactivate(); - - if (AZ::AllocatorInstance::IsReady()) - { - AZ::AllocatorInstance::Destroy(); - } } void RegisterSourceAsset(const AZStd::string& path) @@ -73,5 +77,5 @@ namespace UnitTest ASSERT_EQ(AtomToolsFramework::GetExteralReferencePath("d:/project/assets/objects/upgrades/materials/supercondor.material", "d:/project/assets/materials/condor.material", 0), "materials/condor.material"); } - AZ_UNIT_TEST_HOOK(DEFAULT_UNIT_TEST_ENV); + AZ_UNIT_TEST_HOOK(new AtomToolsFrameworkTestEnvironment); } // namespace UnitTest diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Tests/ViewportInteractionImplTests.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Tests/ViewportInteractionImplTests.cpp new file mode 100644 index 0000000000..2dfe4f7c29 --- /dev/null +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Tests/ViewportInteractionImplTests.cpp @@ -0,0 +1,209 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace UnitTest +{ + class ViewportInteractionImplFixture : public ::testing::Test + { + public: + static inline constexpr AzFramework::ViewportId TestViewportId = 1234; + static inline constexpr AzFramework::ScreenSize ScreenDimensions = AzFramework::ScreenSize(1280, 720); + + static AzFramework::ScreenPoint ScreenCenter() + { + const auto halfScreenDimensions = ScreenDimensions * 0.5f; + return AzFramework::ScreenPoint(halfScreenDimensions.m_width, halfScreenDimensions.m_height); + } + + void SetUp() override + { + AZ::NameDictionary::Create(); + + m_view = AZ::RPI::View::CreateView(AZ::Name("TestView"), AZ::RPI::View::UsageCamera); + + const auto aspectRatio = aznumeric_cast(ScreenDimensions.m_width) / aznumeric_cast(ScreenDimensions.m_height); + + AZ::Matrix4x4 viewToClipMatrix; + AZ::MakePerspectiveFovMatrixRH(viewToClipMatrix, AZ::DegToRad(60.0f), aspectRatio, 0.1f, 1000.f, true); + m_view->SetViewToClipMatrix(viewToClipMatrix); + + m_viewportInteractionImpl = AZStd::make_unique(m_view); + + m_viewportInteractionImpl->m_deviceScalingFactorFn = [] + { + return 1.0f; + }; + m_viewportInteractionImpl->m_screenSizeFn = [] + { + return ScreenDimensions; + }; + + m_viewportInteractionImpl->Connect(TestViewportId); + } + + void TearDown() override + { + m_viewportInteractionImpl->Disconnect(); + m_viewportInteractionImpl.reset(); + + m_view.reset(); + + AZ::NameDictionary::Destroy(); + } + + AZ::RPI::ViewPtr m_view; + AZStd::unique_ptr m_viewportInteractionImpl; + }; + + // transform a point from screen space to world space, and then from world space back to screen space + AzFramework::ScreenPoint ScreenToWorldToScreen( + const AzFramework::ScreenPoint& screenPoint, + AzToolsFramework::ViewportInteraction::ViewportInteractionRequests& viewportInteractionRequests) + { + const auto worldResult = viewportInteractionRequests.ViewportScreenToWorld(screenPoint); + return viewportInteractionRequests.ViewportWorldToScreen(worldResult); + } + + TEST_F(ViewportInteractionImplFixture, ViewportInteractionRequestsMapsFromScreenToWorldAndBack) + { + using AzFramework::ScreenPoint; + + m_view->SetCameraTransform(AZ::Matrix3x4::CreateFromMatrix3x3AndTranslation( + AZ::Matrix3x3::CreateRotationZ(AZ::DegToRad(90.0f)), AZ::Vector3(10.0f, 0.0f, 5.0f))); + + { + const auto expectedScreenPoint = ScreenPoint{ 600, 450 }; + const auto resultScreenPoint = ScreenToWorldToScreen(expectedScreenPoint, *m_viewportInteractionImpl); + EXPECT_EQ(resultScreenPoint, expectedScreenPoint); + } + + { + auto expectedScreenPoint = ScreenCenter(); + const auto resultScreenPoint = ScreenToWorldToScreen(expectedScreenPoint, *m_viewportInteractionImpl); + EXPECT_EQ(resultScreenPoint, expectedScreenPoint); + } + + { + const auto expectedScreenPoint = ScreenPoint{ 0, 0 }; + const auto resultScreenPoint = ScreenToWorldToScreen(expectedScreenPoint, *m_viewportInteractionImpl); + EXPECT_EQ(resultScreenPoint, expectedScreenPoint); + } + + { + const auto expectedScreenPoint = ScreenPoint{ ScreenDimensions.m_width, ScreenDimensions.m_height }; + const auto resultScreenPoint = ScreenToWorldToScreen(expectedScreenPoint, *m_viewportInteractionImpl); + EXPECT_EQ(resultScreenPoint, expectedScreenPoint); + } + } + + TEST_F(ViewportInteractionImplFixture, ScreenToWorldReturnsPositionOnNearClipPlaneInWorldSpace) + { + m_view->SetCameraTransform(AZ::Matrix3x4::CreateFromMatrix3x3AndTranslation( + AZ::Matrix3x3::CreateRotationZ(AZ::DegToRad(-90.0f)), AZ::Vector3(20.0f, 0.0f, 0.0f))); + + const auto worldResult = m_viewportInteractionImpl->ViewportScreenToWorld(ScreenCenter()); + EXPECT_THAT(worldResult, IsClose(AZ::Vector3(20.1f, 0.0f, 0.0f))); + } + + // note: values produced by reproducing in the editor viewport + TEST_F(ViewportInteractionImplFixture, WorldToScreenGivesExpectedScreenCoordinates) + { + using AzFramework::ScreenPoint; + + { + m_view->SetCameraTransform(AZ::Matrix3x4::CreateFromMatrix3x3AndTranslation( + AZ::Matrix3x3::CreateRotationZ(AZ::DegToRad(160.0f)) * AZ::Matrix3x3::CreateRotationX(AZ::DegToRad(-18.0f)), + AZ::Vector3(-21.0f, 2.5f, 6.0f))); + + const auto screenResult = m_viewportInteractionImpl->ViewportWorldToScreen(AZ::Vector3(-21.0f, -1.5f, 5.0f)); + EXPECT_EQ(screenResult, ScreenPoint(420, 326)); + } + + { + m_view->SetCameraTransform(AZ::Matrix3x4::CreateFromMatrix3x3AndTranslation( + AZ::Matrix3x3::CreateRotationZ(AZ::DegToRad(175.0f)) * AZ::Matrix3x3::CreateRotationX(AZ::DegToRad(-90.0f)), + AZ::Vector3(-10.0f, -11.0f, 2.5f))); + + const auto screenResult = m_viewportInteractionImpl->ViewportWorldToScreen(AZ::Vector3(-10.0f, -10.5f, 0.5f)); + EXPECT_EQ(screenResult, ScreenPoint(654, 515)); + } + + { + m_view->SetCameraTransform(AZ::Matrix3x4::CreateFromMatrix3x3AndTranslation( + AZ::Matrix3x3::CreateRotationZ(AZ::DegToRad(70.0f)) * AZ::Matrix3x3::CreateRotationX(AZ::DegToRad(65.0f)), + AZ::Vector3(-22.5f, -10.0f, 1.5f))); + + const auto screenResult = m_viewportInteractionImpl->ViewportWorldToScreen(AZ::Vector3(-23.0f, -9.5f, 3.0f)); + EXPECT_EQ(screenResult, ScreenPoint(754, 340)); + } + } + + TEST_F(ViewportInteractionImplFixture, ScreenToWorldRayGivesGivesExpectedOriginAndDirection) + { + using AzFramework::ScreenPoint; + + m_view->SetCameraTransform(AZ::Matrix3x4::CreateFromMatrix3x3AndTranslation( + AZ::Matrix3x3::CreateRotationZ(AZ::DegToRad(34.0f)) * AZ::Matrix3x3::CreateRotationX(AZ::DegToRad(-24.0f)), + AZ::Vector3(-9.3f, -9.8f, 4.0f))); + + const auto ray = m_viewportInteractionImpl->ViewportScreenToWorldRay(ScreenPoint(832, 226)); + + float unused; + auto intersection = AZ::Intersect::IntersectRaySphere(ray.origin, ray.direction, AZ::Vector3(-14.0f, 5.7f, 0.75f), 0.5f, unused); + + EXPECT_EQ(intersection, AZ::Intersect::SphereIsectTypes::ISECT_RAY_SPHERE_ISECT); + } + + TEST_F(ViewportInteractionImplFixture, ViewportInteractionRequestsReturnsNewViewWhenItIsChanged) + { + // Given + const auto primaryViewTransform = AZ::Matrix3x4::CreateFromMatrix3x3AndTranslation( + AZ::Matrix3x3::CreateRotationZ(AZ::DegToRad(90.0f)) * AZ::Matrix3x3::CreateRotationX(AZ::DegToRad(-45.0f)), + AZ::Vector3(-10.0f, -15.0f, 20.0f)); + + m_view->SetCameraTransform(primaryViewTransform); + + AZ::RPI::ViewPtr secondaryView = AZ::RPI::View::CreateView(AZ::Name("SecondaryView"), AZ::RPI::View::UsageCamera); + + const auto secondaryViewTransform = AZ::Matrix3x4::CreateFromMatrix3x3AndTranslation( + AZ::Matrix3x3::CreateRotationZ(AZ::DegToRad(-90.0f)) * AZ::Matrix3x3::CreateRotationX(AZ::DegToRad(30.0f)), + AZ::Vector3(-50.0f, -25.0f, 10.0f)); + + secondaryView->SetCameraTransform(secondaryViewTransform); + + // When + AZ::RPI::ViewportContextIdNotificationBus::Event( + TestViewportId, &AZ::RPI::ViewportContextIdNotificationBus::Events::OnViewportDefaultViewChanged, secondaryView); + + // retrieve updated camera transform + AzFramework::CameraState cameraState; + AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus::EventResult( + cameraState, TestViewportId, &AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus::Events::GetCameraState); + + const auto cameraMatrix = AzFramework::CameraTransform(cameraState); + const auto cameraTransform = AZ::Matrix3x4::CreateFromMatrix3x3AndTranslation( + AZ::Matrix3x3::CreateFromMatrix4x4(cameraMatrix), cameraMatrix.GetTranslation()); + + // Then + // camera transform matches that of the secondary view + EXPECT_THAT(cameraTransform, IsClose(secondaryViewTransform)); + } +} // namespace UnitTest diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/atomtoolsframework_files.cmake b/Gems/Atom/Tools/AtomToolsFramework/Code/atomtoolsframework_files.cmake index a2446cebcc..3ddcc05245 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/atomtoolsframework_files.cmake +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/atomtoolsframework_files.cmake @@ -28,6 +28,7 @@ set(FILES Include/AtomToolsFramework/Util/MaterialPropertyUtil.h Include/AtomToolsFramework/Util/Util.h Include/AtomToolsFramework/Viewport/RenderViewportWidget.h + Include/AtomToolsFramework/Viewport/ViewportInteractionImpl.h Include/AtomToolsFramework/Viewport/ModularViewportCameraController.h Include/AtomToolsFramework/Viewport/ModularViewportCameraControllerRequestBus.h Include/AtomToolsFramework/Window/AtomToolsMainWindow.h @@ -55,6 +56,7 @@ set(FILES Source/Util/Util.cpp Source/Viewport/RenderViewportWidget.cpp Source/Viewport/ModularViewportCameraController.cpp + Source/Viewport/ViewportInteractionImpl.cpp Source/Window/AtomToolsMainWindow.cpp Source/Window/AtomToolsMainWindowSystemComponent.cpp Source/Window/AtomToolsMainWindowSystemComponent.h diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/atomtoolsframework_tests_files.cmake b/Gems/Atom/Tools/AtomToolsFramework/Code/atomtoolsframework_tests_files.cmake index bd9ad9b3d8..a071d29f47 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/atomtoolsframework_tests_files.cmake +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/atomtoolsframework_tests_files.cmake @@ -8,4 +8,5 @@ set(FILES Tests/AtomToolsFrameworkTest.cpp + Tests/ViewportInteractionImplTests.cpp ) \ No newline at end of file diff --git a/Gems/Atom/Tools/MaterialEditor/Code/CMakeLists.txt b/Gems/Atom/Tools/MaterialEditor/Code/CMakeLists.txt index d585e81162..99beb721d6 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/CMakeLists.txt +++ b/Gems/Atom/Tools/MaterialEditor/Code/CMakeLists.txt @@ -60,7 +60,6 @@ ly_add_target( Gem::AtomToolsFramework.Editor Gem::Atom_RPI.Public Gem::Atom_Feature_Common.Public - Gem::ImageProcessingAtom.Headers ) ly_add_target( @@ -113,7 +112,6 @@ ly_add_target( RUNTIME_DEPENDENCIES Gem::AtomToolsFramework.Editor Gem::EditorPythonBindings.Editor - Gem::ImageProcessingAtom.Editor ) ly_set_gem_variant_to_load(TARGETS MaterialEditor VARIANTS Tools) diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Include/Atom/Viewport/MaterialViewportRequestBus.h b/Gems/Atom/Tools/MaterialEditor/Code/Include/Atom/Viewport/MaterialViewportRequestBus.h index e859d6a433..e37512127c 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Include/Atom/Viewport/MaterialViewportRequestBus.h +++ b/Gems/Atom/Tools/MaterialEditor/Code/Include/Atom/Viewport/MaterialViewportRequestBus.h @@ -62,15 +62,6 @@ namespace MaterialEditor //! Get set of lighting preset names virtual MaterialViewportPresetNameSet GetLightingPresetNames() const = 0; - //! Set lighting preset preview image - //! @param preset used to set preview image - //! @param preview image - virtual void SetLightingPresetPreview(AZ::Render::LightingPresetPtr preset, const QImage& image) = 0; - - //! Get lighting preset preview image - //! @param preset used to find preview image - virtual QImage GetLightingPresetPreview(AZ::Render::LightingPresetPtr preset) const = 0; - //! Get model preset last save path //! @param preset to lookup last save path virtual AZStd::string GetLightingPresetLastSavePath(AZ::Render::LightingPresetPtr preset) const = 0; @@ -108,15 +99,6 @@ namespace MaterialEditor //! Get set of model preset names virtual MaterialViewportPresetNameSet GetModelPresetNames() const = 0; - //! Set model preset preview image - //! @param preset used to set preview image - //! @param preview image - virtual void SetModelPresetPreview(AZ::Render::ModelPresetPtr preset, const QImage& image) = 0; - - //! Get model preset preview image - //! @param preset used to find preview image - virtual QImage GetModelPresetPreview(AZ::Render::ModelPresetPtr preset) const = 0; - //! Get model preset last save path //! @param preset to lookup last save path virtual AZStd::string GetModelPresetLastSavePath(AZ::Render::ModelPresetPtr preset) const = 0; diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Document/MaterialDocument.cpp b/Gems/Atom/Tools/MaterialEditor/Code/Source/Document/MaterialDocument.cpp index 8635d1eb3e..2d7768feec 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Document/MaterialDocument.cpp +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Document/MaterialDocument.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -594,7 +595,7 @@ namespace MaterialEditor MaterialPropertyValue propertyValue = AtomToolsFramework::ConvertToRuntimeType(it->second.GetValue()); if (propertyValue.IsValid()) { - if (!AtomToolsFramework::ConvertToExportFormat(exportPath, propertyDefinition, propertyValue)) + if (!AtomToolsFramework::ConvertToExportFormat(exportPath, propertyId.GetFullName(), propertyDefinition, propertyValue)) { AZ_Error("MaterialDocument", false, "Material document property could not be converted: '%s' in '%s'.", propertyId.GetFullName().GetCStr(), m_absolutePath.c_str()); result = false; @@ -708,6 +709,8 @@ namespace MaterialEditor AZ_Error("MaterialDocument", false, "Material document extension not supported: '%s'.", m_absolutePath.c_str()); return false; } + + const bool elevateWarnings = false; // In order to support automation, general usability, and 'save as' functionality, the user must not have to wait // for their JSON file to be cooked by the asset processor before opening or editing it. @@ -716,7 +719,7 @@ namespace MaterialEditor // Long term, the material document should not be concerned with assets at all. The viewport window should be the // only thing concerned with assets or instances. auto materialAssetResult = - m_materialSourceData.CreateMaterialAssetFromSourceData(Uuid::CreateRandom(), m_absolutePath, true, true, &m_sourceDependencies); + m_materialSourceData.CreateMaterialAssetFromSourceData(Uuid::CreateRandom(), m_absolutePath, elevateWarnings, true, &m_sourceDependencies); if (!materialAssetResult) { AZ_Error("MaterialDocument", false, "Material asset could not be created from source data: '%s'.", m_absolutePath.c_str()); @@ -754,7 +757,7 @@ namespace MaterialEditor AZ_Error("MaterialDocument", false, "Material parent asset ID could not be created: '%s'.", m_materialSourceData.m_parentMaterial.c_str()); return false; } - + auto parentMaterialAssetResult = parentMaterialSourceData.CreateMaterialAssetFromSourceData( parentMaterialAssetIdResult.GetValue(), m_materialSourceData.m_parentMaterial, true, true); if (!parentMaterialAssetResult) diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportComponent.cpp b/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportComponent.cpp index a8f41917f9..c8df123d0d 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportComponent.cpp +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportComponent.cpp @@ -6,61 +6,26 @@ * */ -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -#include -#include -#include - -#include -#include - -#include - -#include -#include #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include namespace MaterialEditor { - using LoadImageAsyncCallback = AZStd::function; - void LoadImageAsync(const AZStd::string& path, LoadImageAsyncCallback callback) - { - AZ::Job* job = AZ::CreateJobFunction([path, callback]() { - ImageProcessingAtom::IImageObjectPtr imageObject; - ImageProcessingAtom::ImageProcessingRequestBus::BroadcastResult(imageObject, &ImageProcessingAtom::ImageProcessingRequests::LoadImagePreview, path); - - if (imageObject) - { - AZ::u8* imageBuf = nullptr; - AZ::u32 pitch = 0; - AZ::u32 mip = 0; - imageObject->GetImagePointer(mip, imageBuf, pitch); - const AZ::u32 width = imageObject->GetWidth(mip); - const AZ::u32 height = imageObject->GetHeight(mip); - - QImage image(imageBuf, width, height, pitch, QImage::Format_RGBA8888); - - if (callback) - { - callback(image); - } - } - }, true); - job->Start(); - } - MaterialViewportComponent::MaterialViewportComponent() { } @@ -162,12 +127,6 @@ namespace MaterialEditor m_viewportSettings = AZ::UserSettings::CreateFind(AZ::Crc32("MaterialViewportSettings"), AZ::UserSettings::CT_GLOBAL); - m_lightingPresetPreviewImageDefault = QImage(180, 90, QImage::Format::Format_RGBA8888); - m_lightingPresetPreviewImageDefault.fill(Qt::GlobalColor::black); - - m_modelPresetPreviewImageDefault = QImage(90, 90, QImage::Format::Format_RGBA8888); - m_modelPresetPreviewImageDefault.fill(Qt::GlobalColor::black); - MaterialViewportRequestBus::Handler::BusConnect(); AzFramework::AssetCatalogEventBus::Handler::BusConnect(); } @@ -177,12 +136,10 @@ namespace MaterialEditor AzFramework::AssetCatalogEventBus::Handler::BusDisconnect(); MaterialViewportRequestBus::Handler::BusDisconnect(); - m_lightingPresetPreviewImages.clear(); m_lightingPresetVector.clear(); m_lightingPresetLastSavePathMap.clear(); m_lightingPresetSelection.reset(); - m_modelPresetPreviewImages.clear(); m_modelPresetVector.clear(); m_modelPresetLastSavePathMap.clear(); m_modelPresetSelection.reset(); @@ -286,14 +243,6 @@ namespace MaterialEditor SelectLightingPreset(presetPtr); } - const auto& imagePath = AZ::RPI::AssetUtils::GetSourcePathByAssetId(presetPtr->m_skyboxImageAsset.GetId()); - LoadImageAsync(imagePath, [presetPtr](const QImage& image) { - QImage imageScaled = image.scaled(180, 90, Qt::AspectRatioMode::KeepAspectRatio); - AZ::TickBus::QueueFunction([presetPtr, imageScaled]() { - MaterialViewportRequestBus::Broadcast(&MaterialViewportRequestBus::Events::SetLightingPresetPreview, presetPtr, imageScaled); - }); - }); - return presetPtr; } @@ -353,17 +302,6 @@ namespace MaterialEditor return names; } - void MaterialViewportComponent::SetLightingPresetPreview(AZ::Render::LightingPresetPtr preset, const QImage& image) - { - m_lightingPresetPreviewImages[preset] = image; - } - - QImage MaterialViewportComponent::GetLightingPresetPreview(AZ::Render::LightingPresetPtr preset) const - { - auto imageItr = m_lightingPresetPreviewImages.find(preset); - return imageItr != m_lightingPresetPreviewImages.end() ? imageItr->second : m_lightingPresetPreviewImageDefault; - } - AZStd::string MaterialViewportComponent::GetLightingPresetLastSavePath(AZ::Render::LightingPresetPtr preset) const { auto pathItr = m_lightingPresetLastSavePathMap.find(preset); @@ -382,14 +320,6 @@ namespace MaterialEditor SelectModelPreset(presetPtr); } - const auto& imagePath = AZ::RPI::AssetUtils::GetSourcePathByAssetId(presetPtr->m_previewImageAsset.GetId()); - LoadImageAsync(imagePath, [presetPtr](const QImage& image) { - QImage imageScaled = image.scaled(90, 90, Qt::AspectRatioMode::KeepAspectRatio); - AZ::TickBus::QueueFunction([presetPtr, imageScaled]() { - MaterialViewportRequestBus::Broadcast(&MaterialViewportRequestBus::Events::SetModelPresetPreview, presetPtr, imageScaled); - }); - }); - return presetPtr; } @@ -449,17 +379,6 @@ namespace MaterialEditor return names; } - void MaterialViewportComponent::SetModelPresetPreview(AZ::Render::ModelPresetPtr preset, const QImage& image) - { - m_modelPresetPreviewImages[preset] = image; - } - - QImage MaterialViewportComponent::GetModelPresetPreview(AZ::Render::ModelPresetPtr preset) const - { - auto imageItr = m_modelPresetPreviewImages.find(preset); - return imageItr != m_modelPresetPreviewImages.end() ? imageItr->second : m_modelPresetPreviewImageDefault; - } - AZStd::string MaterialViewportComponent::GetModelPresetLastSavePath(AZ::Render::ModelPresetPtr preset) const { auto pathItr = m_modelPresetLastSavePathMap.find(preset); diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportComponent.h b/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportComponent.h index 12475bb113..a4f94c3546 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportComponent.h +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportComponent.h @@ -58,8 +58,6 @@ namespace MaterialEditor void SelectLightingPreset(AZ::Render::LightingPresetPtr preset) override; void SelectLightingPresetByName(const AZStd::string& name) override; MaterialViewportPresetNameSet GetLightingPresetNames() const override; - void SetLightingPresetPreview(AZ::Render::LightingPresetPtr preset, const QImage& image) override; - QImage GetLightingPresetPreview(AZ::Render::LightingPresetPtr preset) const override; AZStd::string GetLightingPresetLastSavePath(AZ::Render::LightingPresetPtr preset) const override; AZ::Render::ModelPresetPtr AddModelPreset(const AZ::Render::ModelPreset& preset) override; @@ -70,8 +68,6 @@ namespace MaterialEditor void SelectModelPreset(AZ::Render::ModelPresetPtr preset) override; void SelectModelPresetByName(const AZStd::string& name) override; MaterialViewportPresetNameSet GetModelPresetNames() const override; - void SetModelPresetPreview(AZ::Render::ModelPresetPtr preset, const QImage& image) override; - QImage GetModelPresetPreview(AZ::Render::ModelPresetPtr preset) const override; AZStd::string GetModelPresetLastSavePath(AZ::Render::ModelPresetPtr preset) const override; void SetShadowCatcherEnabled(bool enable) override; @@ -97,12 +93,6 @@ namespace MaterialEditor AZ::Render::ModelPresetPtrVector m_modelPresetVector; AZ::Render::ModelPresetPtr m_modelPresetSelection; - AZStd::map m_lightingPresetPreviewImages; - AZStd::map m_modelPresetPreviewImages; - - QImage m_lightingPresetPreviewImageDefault; - QImage m_modelPresetPreviewImageDefault; - mutable AZStd::map m_lightingPresetLastSavePathMap; mutable AZStd::map m_modelPresetLastSavePathMap; diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/LightingPresetBrowserDialog.cpp b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/LightingPresetBrowserDialog.cpp index 72bf7fe003..f8ad038a85 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/LightingPresetBrowserDialog.cpp +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/LightingPresetBrowserDialog.cpp @@ -7,6 +7,7 @@ */ #include +#include #include #include #include @@ -27,13 +28,16 @@ namespace MaterialEditor MaterialViewportRequestBus::BroadcastResult(presets, &MaterialViewportRequestBus::Events::GetLightingPresets); AZStd::sort(presets.begin(), presets.end(), [](const auto& a, const auto& b) { return a->m_displayName < b->m_displayName; }); + const int itemSize = aznumeric_cast( + AtomToolsFramework::GetSettingOrDefault("/O3DE/Atom/MaterialEditor/PresetBrowserDialog/LightingItemSize", 180)); + QListWidgetItem* selectedItem = nullptr; for (const auto& preset : presets) { - QImage image; - MaterialViewportRequestBus::BroadcastResult(image, &MaterialViewportRequestBus::Events::GetLightingPresetPreview, preset); - - QListWidgetItem* item = CreateListItem(preset->m_displayName.c_str(), image); + AZStd::string path; + MaterialViewportRequestBus::BroadcastResult(path, &MaterialViewportRequestBus::Events::GetLightingPresetLastSavePath, preset); + QListWidgetItem* item = CreateListItem( + preset->m_displayName.c_str(), AZ::RPI::AssetUtils::MakeAssetId(path, 0).GetValue(), QSize(itemSize, itemSize)); m_listItemToPresetMap[item] = preset; diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/ModelPresetBrowserDialog.cpp b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/ModelPresetBrowserDialog.cpp index c1936cde35..f5a1677462 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/ModelPresetBrowserDialog.cpp +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/ModelPresetBrowserDialog.cpp @@ -27,13 +27,13 @@ namespace MaterialEditor MaterialViewportRequestBus::BroadcastResult(presets, &MaterialViewportRequestBus::Events::GetModelPresets); AZStd::sort(presets.begin(), presets.end(), [](const auto& a, const auto& b) { return a->m_displayName < b->m_displayName; }); + const int itemSize = aznumeric_cast( + AtomToolsFramework::GetSettingOrDefault("/O3DE/Atom/MaterialEditor/PresetBrowserDialog/ModelItemSize", 90)); + QListWidgetItem* selectedItem = nullptr; for (const auto& preset : presets) { - QImage image; - MaterialViewportRequestBus::BroadcastResult(image, &MaterialViewportRequestBus::Events::GetModelPresetPreview, preset); - - QListWidgetItem* item = CreateListItem(preset->m_displayName.c_str(), image); + QListWidgetItem* item = CreateListItem(preset->m_displayName.c_str(), preset->m_modelAsset.GetId(), QSize(itemSize, itemSize)); m_listItemToPresetMap[item] = preset; diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/PresetBrowserDialog.cpp b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/PresetBrowserDialog.cpp index d3aa6350f0..f2bb84dff6 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/PresetBrowserDialog.cpp +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/PresetBrowserDialog.cpp @@ -12,11 +12,16 @@ #include #include #include +#include +#include +#include +#include #include #include #include #include +#include namespace MaterialEditor { @@ -41,35 +46,51 @@ namespace MaterialEditor m_ui->m_presetList->setGridSize(QSize(0, 0)); m_ui->m_presetList->setWrapping(true); - QObject::connect(m_ui->m_presetList, &QListWidget::currentItemChanged, [this]() { SelectCurrentPreset(); }); + QObject::connect(m_ui->m_presetList, &QListWidget::currentItemChanged, [this](){ SelectCurrentPreset(); }); } - QListWidgetItem* PresetBrowserDialog::CreateListItem(const QString& title, const QImage& image) + QListWidgetItem* PresetBrowserDialog::CreateListItem(const QString& title, const AZ::Data::AssetId& assetId, const QSize& size) { + const int itemBorder = aznumeric_cast( + AtomToolsFramework::GetSettingOrDefault("/O3DE/Atom/MaterialEditor/PresetBrowserDialog/ItemBorder", 4)); + const int itemSpacing = aznumeric_cast( + AtomToolsFramework::GetSettingOrDefault("/O3DE/Atom/MaterialEditor/PresetBrowserDialog/ItemSpacing", 10)); + const int headerHeight = aznumeric_cast( + AtomToolsFramework::GetSettingOrDefault("/O3DE/Atom/MaterialEditor/PresetBrowserDialog/HeaderHeight", 15)); + const QSize gridSize = m_ui->m_presetList->gridSize(); - m_ui->m_presetList->setGridSize( - QSize(AZStd::max(gridSize.width(), image.width() + 10), AZStd::max(gridSize.height(), image.height() + 10))); + m_ui->m_presetList->setGridSize(QSize( + AZStd::max(gridSize.width(), size.width() + itemSpacing), + AZStd::max(gridSize.height(), size.height() + itemSpacing + headerHeight))); QListWidgetItem* item = new QListWidgetItem(m_ui->m_presetList); item->setData(Qt::UserRole, title); - item->setSizeHint(image.size() + QSize(4, 4)); + item->setSizeHint(size + QSize(itemBorder, itemBorder + headerHeight)); m_ui->m_presetList->addItem(item); - QLabel* previewImage = new QLabel(m_ui->m_presetList); - previewImage->setFixedSize(image.size()); - previewImage->setMargin(0); - previewImage->setPixmap(QPixmap::fromImage(image)); - previewImage->updateGeometry(); + QWidget* itemWidget = new QWidget(m_ui->m_presetList); + itemWidget->setLayout(new QVBoxLayout(itemWidget)); + itemWidget->layout()->setSpacing(0); + itemWidget->layout()->setMargin(0); - AzQtComponents::ElidingLabel* previewLabel = new AzQtComponents::ElidingLabel(previewImage); - previewLabel->setText(title); - previewLabel->setFixedSize(QSize(image.width(), 15)); - previewLabel->setMargin(0); - previewLabel->setStyleSheet("background-color: rgb(35, 35, 35)"); - AzQtComponents::Text::addPrimaryStyle(previewLabel); - AzQtComponents::Text::addLabelStyle(previewLabel); + AzQtComponents::ElidingLabel* header = new AzQtComponents::ElidingLabel(itemWidget); + header->setText(title); + header->setFixedSize(QSize(size.width(), headerHeight)); + header->setMargin(0); + header->setStyleSheet("background-color: rgb(35, 35, 35)"); + AzQtComponents::Text::addPrimaryStyle(header); + AzQtComponents::Text::addLabelStyle(header); + itemWidget->layout()->addWidget(header); - m_ui->m_presetList->setItemWidget(item, previewImage); + AzToolsFramework::Thumbnailer::ThumbnailWidget* thumbnail = new AzToolsFramework::Thumbnailer::ThumbnailWidget(itemWidget); + thumbnail->setFixedSize(size); + thumbnail->SetThumbnailKey( + MAKE_TKEY(AzToolsFramework::AssetBrowser::ProductThumbnailKey, assetId), + AzToolsFramework::Thumbnailer::ThumbnailContext::DefaultContext); + thumbnail->updateGeometry(); + itemWidget->layout()->addWidget(thumbnail); + + m_ui->m_presetList->setItemWidget(item, itemWidget); return item; } @@ -79,15 +100,15 @@ namespace MaterialEditor m_ui->m_searchWidget->setReadOnly(false); m_ui->m_searchWidget->setContextMenuPolicy(Qt::CustomContextMenu); AzQtComponents::LineEdit::applySearchStyle(m_ui->m_searchWidget); - connect(m_ui->m_searchWidget, &QLineEdit::textChanged, this, [this]() { ApplySearchFilter(); }); - connect(m_ui->m_searchWidget, &QWidget::customContextMenuRequested, this, [this](const QPoint& pos) { ShowSearchMenu(pos); }); + connect(m_ui->m_searchWidget, &QLineEdit::textChanged, this, [this](){ ApplySearchFilter(); }); + connect(m_ui->m_searchWidget, &QWidget::customContextMenuRequested, this, [this](const QPoint& pos){ ShowSearchMenu(pos); }); } void PresetBrowserDialog::SetupDialogButtons() { connect(m_ui->m_buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept); connect(m_ui->m_buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject); - connect(this, &QDialog::rejected, this, [this]() { SelectInitialPreset(); }); + connect(this, &QDialog::rejected, this, [this](){ SelectInitialPreset(); }); } void PresetBrowserDialog::ApplySearchFilter() diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/PresetBrowserDialog.h b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/PresetBrowserDialog.h index ee01737352..20e049f6f8 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/PresetBrowserDialog.h +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/PresetBrowserDialogs/PresetBrowserDialog.h @@ -9,12 +9,12 @@ #pragma once #if !defined(Q_MOC_RUN) +#include #include - #include #endif -#include +#include class QImage; class QListWidgetItem; @@ -32,7 +32,7 @@ namespace MaterialEditor protected: void SetupPresetList(); - QListWidgetItem* CreateListItem(const QString& title, const QImage& image); + QListWidgetItem* CreateListItem(const QString& title, const AZ::Data::AssetId& assetId, const QSize& size); void SetupSearchWidget(); void SetupDialogButtons(); diff --git a/Gems/AtomLyIntegration/AtomBridge/Code/Source/AtomDebugDisplayViewportInterface.cpp b/Gems/AtomLyIntegration/AtomBridge/Code/Source/AtomDebugDisplayViewportInterface.cpp index 12e4ccd8ad..39cc2f63b2 100644 --- a/Gems/AtomLyIntegration/AtomBridge/Code/Source/AtomDebugDisplayViewportInterface.cpp +++ b/Gems/AtomLyIntegration/AtomBridge/Code/Source/AtomDebugDisplayViewportInterface.cpp @@ -1016,6 +1016,55 @@ namespace AZ::AtomBridge } } + void AtomDebugDisplayViewportInterface::DrawWireCylinderNoEnds(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float height) + { + if (m_auxGeomPtr) + { + const float scale = GetCurrentTransform().RetrieveScale().GetMaxElement(); + const AZ::Vector3 worldCenter = ToWorldSpacePosition(center); + const AZ::Vector3 worldAxis = ToWorldSpaceVector(axis); + m_auxGeomPtr->DrawCylinderNoEnds( + worldCenter, + worldAxis, + scale * radius, + scale * height, + m_rendState.m_color, + AZ::RPI::AuxGeomDraw::DrawStyle::Line, + m_rendState.m_depthTest, + m_rendState.m_depthWrite, + m_rendState.m_faceCullMode, + m_rendState.m_viewProjOverrideIndex + ); + } + } + + void AtomDebugDisplayViewportInterface::DrawSolidCylinderNoEnds( + const AZ::Vector3& center, + const AZ::Vector3& axis, + float radius, + float height, + bool drawShaded) + { + if (m_auxGeomPtr) + { + const float scale = GetCurrentTransform().RetrieveScale().GetMaxElement(); + const AZ::Vector3 worldCenter = ToWorldSpacePosition(center); + const AZ::Vector3 worldAxis = ToWorldSpaceVector(axis); + m_auxGeomPtr->DrawCylinderNoEnds( + worldCenter, + worldAxis, + scale * radius, + scale * height, + m_rendState.m_color, + drawShaded ? AZ::RPI::AuxGeomDraw::DrawStyle::Shaded : AZ::RPI::AuxGeomDraw::DrawStyle::Solid, + m_rendState.m_depthTest, + m_rendState.m_depthWrite, + m_rendState.m_faceCullMode, + m_rendState.m_viewProjOverrideIndex + ); + } + } + void AtomDebugDisplayViewportInterface::DrawWireCapsule( const AZ::Vector3& center, const AZ::Vector3& axis, @@ -1025,83 +1074,24 @@ namespace AZ::AtomBridge if (m_auxGeomPtr && radius > FLT_EPSILON && axis.GetLengthSq() > FLT_EPSILON) { AZ::Vector3 axisNormalized = axis.GetNormalizedEstimate(); - SingleColorStaticSizeLineHelper<(16+1) * 5> lines; // 360/22.5 = 16, 5 possible calls to CreateArbitraryAxisArc - AZ::Vector3 radiusV3 = AZ::Vector3(radius); - float stepAngle = DegToRad(22.5f); - float Deg0 = DegToRad(0.0f); + const float scale = GetCurrentTransform().RetrieveScale().GetMaxElement(); + const AZ::Vector3 worldCenter = ToWorldSpacePosition(center); + const AZ::Vector3 worldAxis = ToWorldSpaceVector(axis); - // Draw cylinder part (or just a circle around the middle) + // Draw cylinder part (if cylinder height is too small, ignore cylinder and just draw both hemispheres) if (heightStraightSection > FLT_EPSILON) { - DrawWireCylinder(center, axis, radius, heightStraightSection); - } - else - { - float Deg360 = DegToRad(360.0f); - CreateArbitraryAxisArc( - lines, - stepAngle, - Deg0, - Deg360, - center, - radiusV3, - axisNormalized - ); + DrawWireCylinderNoEnds(worldCenter, worldAxis, scale * radius, scale * heightStraightSection); } - float Deg90 = DegToRad(90.0f); - float Deg180 = DegToRad(180.0f); - - AZ::Vector3 ortho1Normalized, ortho2Normalized; - CalcBasisVectors(axisNormalized, ortho1Normalized, ortho2Normalized); AZ::Vector3 centerToTopCircleCenter = axisNormalized * heightStraightSection * 0.5f; - AZ::Vector3 topCenter = center + centerToTopCircleCenter; - AZ::Vector3 bottomCenter = center - centerToTopCircleCenter; - // Draw top cap as two criss-crossing 180deg arcs - CreateArbitraryAxisArc( - lines, - stepAngle, - Deg90, - Deg90 + Deg180, - topCenter, - radiusV3, - ortho1Normalized - ); + // Top hemisphere + DrawWireHemisphere(center + centerToTopCircleCenter, worldAxis, scale * radius); - CreateArbitraryAxisArc( - lines, - stepAngle, - Deg180, - Deg180 + Deg180, - topCenter, - radiusV3, - ortho2Normalized - ); - - // Draw bottom cap - CreateArbitraryAxisArc( - lines, - stepAngle, - -Deg90, - -Deg90 + Deg180, - bottomCenter, - radiusV3, - ortho1Normalized - ); - - CreateArbitraryAxisArc( - lines, - stepAngle, - Deg0, - Deg0 + Deg180, - bottomCenter, - radiusV3, - ortho2Normalized - ); - - lines.Draw(m_auxGeomPtr, m_rendState); + // Bottom hemisphere + DrawWireHemisphere(center - centerToTopCircleCenter, -worldAxis, scale * radius); } } @@ -1148,6 +1138,25 @@ namespace AZ::AtomBridge } } + void AtomDebugDisplayViewportInterface::DrawWireHemisphere(const AZ::Vector3& pos, const AZ::Vector3& axis, float radius) + { + if (m_auxGeomPtr) + { + const float scale = GetCurrentTransform().RetrieveScale().GetMaxElement(); + m_auxGeomPtr->DrawHemisphere( + ToWorldSpacePosition(pos), + axis, + scale * radius, + m_rendState.m_color, + AZ::RPI::AuxGeomDraw::DrawStyle::Line, + m_rendState.m_depthTest, + m_rendState.m_depthWrite, + m_rendState.m_faceCullMode, + m_rendState.m_viewProjOverrideIndex + ); + } + } + void AtomDebugDisplayViewportInterface::DrawWireDisk(const AZ::Vector3& pos, const AZ::Vector3& dir, float radius) { if (m_auxGeomPtr) @@ -1353,9 +1362,8 @@ namespace AZ::AtomBridge // if 2d draw need to project pos to screen first AzFramework::TextDrawParameters params; AZ::RPI::ViewportContextPtr viewportContext = GetViewportContext(); - const auto dpiScaleFactor = viewportContext->GetDpiScalingFactor(); params.m_drawViewportId = viewportContext->GetId(); // get the viewport ID so default viewport works - params.m_position = AZ::Vector3(x * dpiScaleFactor, y * dpiScaleFactor, 1.0f); + params.m_position = AZ::Vector3(x, y, 1.0f); params.m_color = m_rendState.m_color; params.m_scale = AZ::Vector2(size); params.m_hAlign = center ? AzFramework::TextHorizontalAlignment::Center : AzFramework::TextHorizontalAlignment::Left; //! Horizontal text alignment diff --git a/Gems/AtomLyIntegration/AtomBridge/Code/Source/AtomDebugDisplayViewportInterface.h b/Gems/AtomLyIntegration/AtomBridge/Code/Source/AtomDebugDisplayViewportInterface.h index 5f902c5884..7f7af9bbcb 100644 --- a/Gems/AtomLyIntegration/AtomBridge/Code/Source/AtomDebugDisplayViewportInterface.h +++ b/Gems/AtomLyIntegration/AtomBridge/Code/Source/AtomDebugDisplayViewportInterface.h @@ -168,9 +168,12 @@ namespace AZ::AtomBridge void DrawSolidCone(const AZ::Vector3& pos, const AZ::Vector3& dir, float radius, float height, bool drawShaded) override; void DrawWireCylinder(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float height) override; void DrawSolidCylinder(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float height, bool drawShaded) override; + void DrawWireCylinderNoEnds(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float height) override; + void DrawSolidCylinderNoEnds(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float height, bool drawShaded) override; void DrawWireCapsule(const AZ::Vector3& center, const AZ::Vector3& axis, float radius, float heightStraightSection) override; void DrawWireSphere(const AZ::Vector3& pos, float radius) override; void DrawWireSphere(const AZ::Vector3& pos, const AZ::Vector3 radius) override; + void DrawWireHemisphere(const AZ::Vector3& pos, const AZ::Vector3& axis, float radius) override; void DrawWireDisk(const AZ::Vector3& pos, const AZ::Vector3& dir, float radius) override; void DrawBall(const AZ::Vector3& pos, float radius, bool drawShaded) override; void DrawDisk(const AZ::Vector3& pos, const AZ::Vector3& dir, float radius) override; diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Include/AtomLyIntegration/CommonFeatures/CoreLights/AreaLightBus.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Include/AtomLyIntegration/CommonFeatures/CoreLights/AreaLightBus.h index 72c4ef97a8..b9c62e6fe2 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Include/AtomLyIntegration/CommonFeatures/CoreLights/AreaLightBus.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Include/AtomLyIntegration/CommonFeatures/CoreLights/AreaLightBus.h @@ -132,6 +132,13 @@ namespace AZ //! Sets the Esm exponent. Higher values produce a steeper falloff between light and shadow. virtual void SetEsmExponent(float exponent) = 0; + //! Reduces acne by biasing the shadowmap lookup along the geometric normal. + //! @return Returns the amount of bias to apply. + virtual float GetNormalShadowBias() const = 0; + + //! Reduces acne by biasing the shadowmap lookup along the geometric normal. + //! @param normalShadowBias Sets the amount of normal shadow bias to apply. + virtual void SetNormalShadowBias(float normalShadowBias) = 0; }; //! The EBus for requests to for setting and getting light component properties. diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Include/AtomLyIntegration/CommonFeatures/CoreLights/AreaLightComponentConfig.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Include/AtomLyIntegration/CommonFeatures/CoreLights/AreaLightComponentConfig.h index c76c922385..130e066e1a 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Include/AtomLyIntegration/CommonFeatures/CoreLights/AreaLightComponentConfig.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Include/AtomLyIntegration/CommonFeatures/CoreLights/AreaLightComponentConfig.h @@ -57,6 +57,7 @@ namespace AZ // Shadows (only used for supported shapes) bool m_enableShadow = false; float m_bias = 0.1f; + float m_normalShadowBias = 0.0f; ShadowmapSize m_shadowmapMaxSize = ShadowmapSize::Size256; ShadowFilterMethod m_shadowFilterMethod = ShadowFilterMethod::None; uint16_t m_filteringSampleCount = 12; diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentConfig.cpp b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentConfig.cpp index f0418a5024..91f8f1aa36 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentConfig.cpp +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentConfig.cpp @@ -34,6 +34,7 @@ namespace AZ // Shadows ->Field("Enable Shadow", &AreaLightComponentConfig::m_enableShadow) ->Field("Shadow Bias", &AreaLightComponentConfig::m_bias) + ->Field("Normal Shadow Bias", &AreaLightComponentConfig::m_normalShadowBias) ->Field("Shadowmap Max Size", &AreaLightComponentConfig::m_shadowmapMaxSize) ->Field("Shadow Filter Method", &AreaLightComponentConfig::m_shadowFilterMethod) ->Field("Filtering Sample Count", &AreaLightComponentConfig::m_filteringSampleCount) diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentController.cpp b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentController.cpp index 36cb2a7f5a..7668477690 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentController.cpp +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentController.cpp @@ -70,6 +70,8 @@ namespace AZ::Render ->Event("SetEnableShadow", &AreaLightRequestBus::Events::SetEnableShadow) ->Event("GetShadowBias", &AreaLightRequestBus::Events::GetShadowBias) ->Event("SetShadowBias", &AreaLightRequestBus::Events::SetShadowBias) + ->Event("GetNormalShadowBias", &AreaLightRequestBus::Events::GetNormalShadowBias) + ->Event("SetNormalShadowBias", &AreaLightRequestBus::Events::SetNormalShadowBias) ->Event("GetShadowmapMaxSize", &AreaLightRequestBus::Events::GetShadowmapMaxSize) ->Event("SetShadowmapMaxSize", &AreaLightRequestBus::Events::SetShadowmapMaxSize) ->Event("GetShadowFilterMethod", &AreaLightRequestBus::Events::GetShadowFilterMethod) @@ -91,6 +93,7 @@ namespace AZ::Render ->VirtualProperty("ShadowsEnabled", "GetEnableShadow", "SetEnableShadow") ->VirtualProperty("ShadowBias", "GetShadowBias", "SetShadowBias") + ->VirtualProperty("NormalShadowBias", "GetNormalShadowBias", "SetNormalShadowBias") ->VirtualProperty("ShadowmapMaxSize", "GetShadowmapMaxSize", "SetShadowmapMaxSize") ->VirtualProperty("ShadowFilterMethod", "GetShadowFilterMethod", "SetShadowFilterMethod") ->VirtualProperty("FilteringSampleCount", "GetFilteringSampleCount", "SetFilteringSampleCount") @@ -302,6 +305,7 @@ namespace AZ::Render if (m_configuration.m_enableShadow) { m_lightShapeDelegate->SetShadowBias(m_configuration.m_bias); + m_lightShapeDelegate->SetNormalShadowBias(m_configuration.m_normalShadowBias); m_lightShapeDelegate->SetShadowmapMaxSize(m_configuration.m_shadowmapMaxSize); m_lightShapeDelegate->SetShadowFilterMethod(m_configuration.m_shadowFilterMethod); m_lightShapeDelegate->SetFilteringSampleCount(m_configuration.m_filteringSampleCount); @@ -474,6 +478,20 @@ namespace AZ::Render } } + void AreaLightComponentController::SetNormalShadowBias(float bias) + { + m_configuration.m_normalShadowBias = bias; + if (m_lightShapeDelegate) + { + m_lightShapeDelegate->SetNormalShadowBias(bias); + } + } + + float AreaLightComponentController::GetNormalShadowBias() const + { + return m_configuration.m_normalShadowBias; + } + ShadowmapSize AreaLightComponentController::GetShadowmapMaxSize() const { return m_configuration.m_shadowmapMaxSize; diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentController.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentController.h index cc6223e7e5..81299a0372 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentController.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/AreaLightComponentController.h @@ -86,6 +86,8 @@ namespace AZ void SetFilteringSampleCount(uint32_t count) override; float GetEsmExponent() const override; void SetEsmExponent(float exponent) override; + float GetNormalShadowBias() const override; + void SetNormalShadowBias(float bias) override; void HandleDisplayEntityViewport( const AzFramework::ViewportInfo& viewportInfo, diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/DiskLightDelegate.cpp b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/DiskLightDelegate.cpp index dfb6cf6946..f060018099 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/DiskLightDelegate.cpp +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/DiskLightDelegate.cpp @@ -138,6 +138,14 @@ namespace AZ::Render } } + void DiskLightDelegate::SetNormalShadowBias(float bias) + { + if (GetShadowsEnabled() && GetLightHandle().IsValid()) + { + GetFeatureProcessor()->SetNormalShadowBias(GetLightHandle(), bias); + } + } + void DiskLightDelegate::SetShadowmapMaxSize(ShadowmapSize size) { if (GetShadowsEnabled() && GetLightHandle().IsValid()) diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/DiskLightDelegate.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/DiskLightDelegate.h index 2be782c69c..c19a8d37ae 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/DiskLightDelegate.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/DiskLightDelegate.h @@ -46,6 +46,7 @@ namespace AZ void SetShadowFilterMethod(ShadowFilterMethod method) override; void SetFilteringSampleCount(uint32_t count) override; void SetEsmExponent(float exponent) override; + void SetNormalShadowBias(float bias) override; private: diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/EditorAreaLightComponent.cpp b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/EditorAreaLightComponent.cpp index db46434d9a..02c9f77436 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/EditorAreaLightComponent.cpp +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/EditorAreaLightComponent.cpp @@ -136,7 +136,7 @@ namespace AZ ->Attribute(Edit::Attributes::Min, 0.0f) ->Attribute(Edit::Attributes::Max, 100.0f) ->Attribute(Edit::Attributes::SoftMin, 0.0f) - ->Attribute(Edit::Attributes::SoftMax, 2.0f) + ->Attribute(Edit::Attributes::SoftMax, 10.0f) ->Attribute(Edit::Attributes::ChangeNotify, Edit::PropertyRefreshLevels::ValuesOnly) ->Attribute(Edit::Attributes::Visibility, &AreaLightComponentConfig::SupportsShadows) ->Attribute(Edit::Attributes::ReadOnly, &AreaLightComponentConfig::ShadowsDisabled) @@ -171,7 +171,16 @@ namespace AZ ->Attribute(Edit::Attributes::ChangeNotify, Edit::PropertyRefreshLevels::ValuesOnly) ->Attribute(Edit::Attributes::Visibility, &AreaLightComponentConfig::SupportsShadows) ->Attribute(Edit::Attributes::ReadOnly, &AreaLightComponentConfig::IsEsmDisabled) - ; + ->DataElement( + Edit::UIHandlers::Slider, &AreaLightComponentConfig::m_normalShadowBias, "Normal Shadow Bias\n", + "Reduces acne by biasing the shadowmap lookup along the geometric normal.\n" + "If this is 0, no biasing is applied.") + ->Attribute(Edit::Attributes::Min, 0.f) + ->Attribute(Edit::Attributes::Max, 10.0f) + ->Attribute(Edit::Attributes::ChangeNotify, Edit::PropertyRefreshLevels::ValuesOnly) + ->Attribute(Edit::Attributes::Visibility, &AreaLightComponentConfig::SupportsShadows) + ->Attribute(Edit::Attributes::ReadOnly, &AreaLightComponentConfig::ShadowsDisabled) + ; } } diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/LightDelegateBase.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/LightDelegateBase.h index 336c67f55d..8b096b0367 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/LightDelegateBase.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/LightDelegateBase.h @@ -58,7 +58,8 @@ namespace AZ void SetShadowFilterMethod([[maybe_unused]] ShadowFilterMethod method) override {}; void SetFilteringSampleCount([[maybe_unused]] uint32_t count) override {}; void SetEsmExponent([[maybe_unused]] float esmExponent) override{}; - + void SetNormalShadowBias([[maybe_unused]] float bias) override{}; + protected: void InitBase(EntityId entityId); diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/LightDelegateInterface.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/LightDelegateInterface.h index 9bb8188898..40ffaf392d 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/LightDelegateInterface.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/LightDelegateInterface.h @@ -79,6 +79,8 @@ namespace AZ virtual void SetFilteringSampleCount(uint32_t count) = 0; //! Sets the Esm exponent to use. Higher values produce a steeper falloff between light and shadow. virtual void SetEsmExponent(float exponent) = 0; + //! Sets the normal bias. Reduces acne by biasing the shadowmap lookup along the geometric normal. + virtual void SetNormalShadowBias(float bias) = 0; }; } // namespace Render } // namespace AZ diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/SphereLightDelegate.cpp b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/SphereLightDelegate.cpp index 661b0c6b25..f2e1f41008 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/SphereLightDelegate.cpp +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/SphereLightDelegate.cpp @@ -107,4 +107,13 @@ namespace AZ::Render GetFeatureProcessor()->SetEsmExponent(GetLightHandle(), esmExponent); } } + + void SphereLightDelegate::SetNormalShadowBias(float bias) + { + if (GetShadowsEnabled() && GetLightHandle().IsValid()) + { + GetFeatureProcessor()->SetNormalShadowBias(GetLightHandle(), bias); + } + } + } // namespace AZ::Render diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/SphereLightDelegate.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/SphereLightDelegate.h index 8bdee2442a..bad00e597c 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/SphereLightDelegate.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/CoreLights/SphereLightDelegate.h @@ -36,6 +36,7 @@ namespace AZ void SetShadowFilterMethod(ShadowFilterMethod method) override; void SetFilteringSampleCount(uint32_t count) override; void SetEsmExponent(float esmExponent) override; + void SetNormalShadowBias(float bias) override; private: diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/Material/EditorMaterialComponentUtil.cpp b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/Material/EditorMaterialComponentUtil.cpp index 0fd7b7164d..d3e125426c 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/Material/EditorMaterialComponentUtil.cpp +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/Material/EditorMaterialComponentUtil.cpp @@ -134,7 +134,7 @@ namespace AZ propertyValue = AZ::RPI::MaterialPropertyValue::FromAny(propertyOverrideItr->second); } - if (!AtomToolsFramework::ConvertToExportFormat(path, propertyDefinition, propertyValue)) + if (!AtomToolsFramework::ConvertToExportFormat(path, propertyId.GetFullName(), propertyDefinition, propertyValue)) { AZ_Error("AZ::Render::EditorMaterialComponentUtil", false, "Failed to export: %s", path.c_str()); result = false; diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewContent.cpp b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewContent.cpp index 91b6d2b02a..8bc9c5ac7d 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewContent.cpp +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewContent.cpp @@ -163,9 +163,9 @@ namespace AZ m_modelAsset->GetAabb().GetAsSphere(center, radius); } - const auto distance = radius + NearDist; - const auto cameraRotation = Quaternion::CreateFromAxisAngle(Vector3::CreateAxisZ(), CameraRotationAngle); - const auto cameraPosition = center + cameraRotation.TransformVector(Vector3(0.0f, distance, 0.0f)); + const auto distance = fabsf(radius / sinf(FieldOfView)) + NearDist; + const auto cameraRotation = Quaternion::CreateFromAxisAngle(Vector3::CreateAxisX(), -CameraRotationAngle); + const auto cameraPosition = center + cameraRotation.TransformVector(-Vector3::CreateAxisY() * distance); const auto cameraTransform = Transform::CreateLookAt(cameraPosition, center); m_view->SetCameraTransform(Matrix3x4::CreateFromTransform(cameraTransform)); } diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewContent.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewContent.h index 7308aa19bc..dfab7a8630 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewContent.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewContent.h @@ -51,7 +51,7 @@ namespace AZ static constexpr float NearDist = 0.001f; static constexpr float FarDist = 100.0f; static constexpr float FieldOfView = Constants::HalfPi; - static constexpr float CameraRotationAngle = Constants::QuarterPi / 2.0f; + static constexpr float CameraRotationAngle = Constants::QuarterPi / 3.0f; RPI::ScenePtr m_scene; RPI::ViewPtr m_view; diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewUtils.cpp b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewUtils.cpp index c2988cf53d..d0e288d239 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewUtils.cpp +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewUtils.cpp @@ -9,9 +9,11 @@ #include #include #include +#include #include #include #include +#include #include namespace AZ @@ -20,45 +22,64 @@ namespace AZ { namespace SharedPreviewUtils { - Data::AssetId GetAssetId( - AzToolsFramework::Thumbnailer::SharedThumbnailKey key, - const Data::AssetType& assetType, - const Data::AssetId& defaultAssetId) + AZStd::unordered_set GetSupportedAssetTypes() { + return { RPI::AnyAsset::RTTI_Type(), RPI::MaterialAsset::RTTI_Type(), RPI::ModelAsset::RTTI_Type() }; + } + + bool IsSupportedAssetType(AzToolsFramework::Thumbnailer::SharedThumbnailKey key) + { + return GetSupportedAssetInfo(key).m_assetId.IsValid(); + } + + AZ::Data::AssetInfo GetSupportedAssetInfo(AzToolsFramework::Thumbnailer::SharedThumbnailKey key) + { + const auto& supportedTypeIds = GetSupportedAssetTypes(); + // if it's a source thumbnail key, find first product with a matching asset type auto sourceKey = azrtti_cast(key.data()); if (sourceKey) { bool foundIt = false; - AZStd::vector productsAssetInfo; + AZStd::vector productsAssetInfo; AzToolsFramework::AssetSystemRequestBus::BroadcastResult( foundIt, &AzToolsFramework::AssetSystemRequestBus::Events::GetAssetsProducedBySourceUUID, sourceKey->GetSourceUuid(), productsAssetInfo); - if (!foundIt) - { - return defaultAssetId; - } - auto assetInfoIt = AZStd::find_if( - productsAssetInfo.begin(), productsAssetInfo.end(), - [&assetType](const Data::AssetInfo& assetInfo) - { - return assetInfo.m_assetType == assetType; - }); - if (assetInfoIt == productsAssetInfo.end()) - { - return defaultAssetId; - } - return assetInfoIt->m_assetId; + for (const auto& assetInfo : productsAssetInfo) + { + if (supportedTypeIds.find(assetInfo.m_assetType) != supportedTypeIds.end()) + { + return assetInfo; + } + } + return AZ::Data::AssetInfo(); } // if it's a product thumbnail key just return its assetId + AZ::Data::AssetInfo assetInfo; auto productKey = azrtti_cast(key.data()); - if (productKey && productKey->GetAssetType() == assetType) + if (productKey && supportedTypeIds.find(productKey->GetAssetType()) != supportedTypeIds.end()) { - return productKey->GetAssetId(); + AZ::Data::AssetCatalogRequestBus::BroadcastResult( + assetInfo, &AZ::Data::AssetCatalogRequestBus::Events::GetAssetInfoById, productKey->GetAssetId()); } - return defaultAssetId; + return assetInfo; + } + + AZ::Data::AssetId GetSupportedAssetId(AzToolsFramework::Thumbnailer::SharedThumbnailKey key, const AZ::Data::AssetId& defaultAssetId) + { + const AZ::Data::AssetInfo assetInfo = GetSupportedAssetInfo(key); + return assetInfo.m_assetId.IsValid() ? assetInfo.m_assetId : defaultAssetId; + } + + AZ::Data::AssetId GetAssetIdForProductPath(const AZStd::string_view productPath) + { + if (!productPath.empty()) + { + return AZ::RPI::AssetUtils::GetAssetIdForProductPath(productPath.data()); + } + return AZ::Data::AssetId(); } QString WordWrap(const QString& string, int maxLength) @@ -85,32 +106,6 @@ namespace AZ } return result; } - - AZStd::unordered_set GetSupportedAssetTypes() - { - return { RPI::AnyAsset::RTTI_Type(), RPI::MaterialAsset::RTTI_Type(), RPI::ModelAsset::RTTI_Type() }; - } - - bool IsSupportedAssetType(AzToolsFramework::Thumbnailer::SharedThumbnailKey key) - { - for (const AZ::Uuid& typeId : SharedPreviewUtils::GetSupportedAssetTypes()) - { - const AZ::Data::AssetId& assetId = SharedPreviewUtils::GetAssetId(key, typeId); - if (assetId.IsValid()) - { - if (typeId == RPI::AnyAsset::RTTI_Type()) - { - AZ::Data::AssetInfo assetInfo; - AZ::Data::AssetCatalogRequestBus::BroadcastResult( - assetInfo, &AZ::Data::AssetCatalogRequestBus::Events::GetAssetInfoById, assetId); - return AzFramework::StringFunc::EndsWith(assetInfo.m_relativePath.c_str(), "lightingpreset.azasset"); - } - return true; - } - } - - return false; - } } // namespace SharedPreviewUtils } // namespace LyIntegration } // namespace AZ diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewUtils.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewUtils.h index 6c5d83d22a..28c9809d6d 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewUtils.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedPreviewUtils.h @@ -8,9 +8,9 @@ #pragma once -#include - #if !defined(Q_MOC_RUN) +#include +#include #include #endif @@ -20,21 +20,25 @@ namespace AZ { namespace SharedPreviewUtils { - //! Get assetId by assetType that belongs to either source or product thumbnail key - Data::AssetId GetAssetId( - AzToolsFramework::Thumbnailer::SharedThumbnailKey key, - const Data::AssetType& assetType, - const Data::AssetId& defaultAssetId = {}); - - //! Word wrap function for previewer QLabel, since by default it does not break long words such as filenames, so manual word - //! wrap needed - QString WordWrap(const QString& string, int maxLength); - //! Get the set of all asset types supported by the shared preview AZStd::unordered_set GetSupportedAssetTypes(); //! Determine if a thumbnail key has an asset supported by the shared preview bool IsSupportedAssetType(AzToolsFramework::Thumbnailer::SharedThumbnailKey key); + + //! Get assetInfo of source or product thumbnail key if asset type is supported by the shared preview + AZ::Data::AssetInfo GetSupportedAssetInfo(AzToolsFramework::Thumbnailer::SharedThumbnailKey key); + + //! Get assetId of source or product thumbnail key if asset type is supported by the shared preview + AZ::Data::AssetId GetSupportedAssetId( + AzToolsFramework::Thumbnailer::SharedThumbnailKey key, const AZ::Data::AssetId& defaultAssetId = {}); + + //! Wraps AZ::RPI::AssetUtils::GetAssetIdForProductPath to handle empty productPath + AZ::Data::AssetId GetAssetIdForProductPath(const AZStd::string_view productPath); + + //! Inserts new line characters into a string whenever the maximum number of characters per line is exceeded + QString WordWrap(const QString& string, int maxLength); + } // namespace SharedPreviewUtils } // namespace LyIntegration } // namespace AZ diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnail.cpp b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnail.cpp index 5d82bac139..d07c4577e8 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnail.cpp +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnail.cpp @@ -22,18 +22,13 @@ namespace AZ ////////////////////////////////////////////////////////////////////////// SharedThumbnail::SharedThumbnail(AzToolsFramework::Thumbnailer::SharedThumbnailKey key) : Thumbnail(key) + , m_assetInfo(SharedPreviewUtils::GetSupportedAssetInfo(key)) { - for (const AZ::Uuid& typeId : SharedPreviewUtils::GetSupportedAssetTypes()) + if (m_assetInfo.m_assetId.IsValid()) { - const AZ::Data::AssetId& assetId = SharedPreviewUtils::GetAssetId(key, typeId); - if (assetId.IsValid()) - { - m_assetId = assetId; - m_typeId = typeId; - AzToolsFramework::Thumbnailer::ThumbnailerRendererNotificationBus::Handler::BusConnect(key); - AzFramework::AssetCatalogEventBus::Handler::BusConnect(); - return; - } + AzToolsFramework::Thumbnailer::ThumbnailerRendererNotificationBus::Handler::BusConnect(key); + AzFramework::AssetCatalogEventBus::Handler::BusConnect(); + return; } AZ_Error("SharedThumbnail", false, "Failed to find matching assetId for the thumbnailKey."); @@ -43,7 +38,9 @@ namespace AZ void SharedThumbnail::LoadThread() { AzToolsFramework::Thumbnailer::ThumbnailerRendererRequestBus::QueueEvent( - m_typeId, &AzToolsFramework::Thumbnailer::ThumbnailerRendererRequests::RenderThumbnail, m_key, SharedThumbnailSize); + m_assetInfo.m_assetType, &AzToolsFramework::Thumbnailer::ThumbnailerRendererRequests::RenderThumbnail, m_key, + SharedThumbnailSize); + // wait for response from thumbnail renderer m_renderWait.acquire(); } @@ -68,7 +65,7 @@ namespace AZ void SharedThumbnail::OnCatalogAssetChanged([[maybe_unused]] const AZ::Data::AssetId& assetId) { - if (m_assetId == assetId && m_state == State::Ready) + if (m_assetInfo.m_assetId == assetId && m_state == State::Ready) { m_state = State::Unloaded; Load(); diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnail.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnail.h index dee433e0bb..2d4b17a09e 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnail.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnail.h @@ -43,8 +43,7 @@ namespace AZ void OnCatalogAssetChanged(const AZ::Data::AssetId& assetId) override; AZStd::binary_semaphore m_renderWait; - Data::AssetId m_assetId; - AZ::Uuid m_typeId; + Data::AssetInfo m_assetInfo; }; //! Cache configuration for shared thumbnails diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnailRenderer.cpp b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnailRenderer.cpp index c43ba5f1cf..4ee75e3436 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnailRenderer.cpp +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnailRenderer.cpp @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -20,9 +21,9 @@ namespace AZ { SharedThumbnailRenderer::SharedThumbnailRenderer() { - m_defaultModelAsset.Create(DefaultModelAssetId, true); - m_defaultMaterialAsset.Create(DefaultMaterialAssetId, true); - m_defaultLightingPresetAsset.Create(DefaultLightingPresetAssetId, true); + m_defaultModelAsset.Create(SharedPreviewUtils::GetAssetIdForProductPath(DefaultModelPath), true); + m_defaultMaterialAsset.Create(SharedPreviewUtils::GetAssetIdForProductPath(DefaultMaterialPath), true); + m_defaultLightingPresetAsset.Create(SharedPreviewUtils::GetAssetIdForProductPath(DefaultLightingPresetPath), true); for (const AZ::Uuid& typeId : SharedPreviewUtils::GetSupportedAssetTypes()) { @@ -37,17 +38,66 @@ namespace AZ SystemTickBus::Handler::BusDisconnect(); } + SharedThumbnailRenderer::ThumbnailConfig SharedThumbnailRenderer::GetThumbnailConfig( + AzToolsFramework::Thumbnailer::SharedThumbnailKey thumbnailKey) + { + ThumbnailConfig thumbnailConfig; + + const auto assetInfo = SharedPreviewUtils::GetSupportedAssetInfo(thumbnailKey); + if (assetInfo.m_assetType == RPI::ModelAsset::RTTI_Type()) + { + static constexpr const char* MaterialAssetPathSetting = + "/O3DE/Atom/CommonFeature/SharedPreview/ModelAssetType/MaterialAssetPath"; + static constexpr const char* LightingAssetPathSetting = + "/O3DE/Atom/CommonFeature/SharedPreview/ModelAssetType/LightingAssetPath"; + + thumbnailConfig.m_modelId = assetInfo.m_assetId; + thumbnailConfig.m_materialId = SharedPreviewUtils::GetAssetIdForProductPath( + AtomToolsFramework::GetSettingOrDefault(MaterialAssetPathSetting, DefaultMaterialPath)); + thumbnailConfig.m_lightingId = SharedPreviewUtils::GetAssetIdForProductPath( + AtomToolsFramework::GetSettingOrDefault(LightingAssetPathSetting, DefaultLightingPresetPath)); + } + else if (assetInfo.m_assetType == RPI::MaterialAsset::RTTI_Type()) + { + static constexpr const char* ModelAssetPathSetting = + "/O3DE/Atom/CommonFeature/SharedPreview/MaterialAssetType/ModelAssetPath"; + static constexpr const char* LightingAssetPathSetting = + "/O3DE/Atom/CommonFeature/SharedPreview/MaterialAssetType/LightingAssetPath"; + + thumbnailConfig.m_modelId = SharedPreviewUtils::GetAssetIdForProductPath( + AtomToolsFramework::GetSettingOrDefault(ModelAssetPathSetting, DefaultModelPath)); + thumbnailConfig.m_materialId = assetInfo.m_assetId; + thumbnailConfig.m_lightingId = SharedPreviewUtils::GetAssetIdForProductPath( + AtomToolsFramework::GetSettingOrDefault(LightingAssetPathSetting, DefaultLightingPresetPath)); + } + else if (assetInfo.m_assetType == RPI::AnyAsset::RTTI_Type()) + { + static constexpr const char* ModelAssetPathSetting = + "/O3DE/Atom/CommonFeature/SharedPreview/LightingAssetType/ModelAssetPath"; + static constexpr const char* MaterialAssetPathSetting = + "/O3DE/Atom/CommonFeature/SharedPreview/LightingAssetType/MaterialAssetPath"; + + thumbnailConfig.m_modelId = SharedPreviewUtils::GetAssetIdForProductPath( + AtomToolsFramework::GetSettingOrDefault(ModelAssetPathSetting, DefaultModelPath)); + thumbnailConfig.m_materialId = SharedPreviewUtils::GetAssetIdForProductPath( + AtomToolsFramework::GetSettingOrDefault(MaterialAssetPathSetting, "materials/reflectionprobe/reflectionprobevisualization.azmaterial")); + thumbnailConfig.m_lightingId = assetInfo.m_assetId; + } + + return thumbnailConfig; + } + void SharedThumbnailRenderer::RenderThumbnail(AzToolsFramework::Thumbnailer::SharedThumbnailKey thumbnailKey, int thumbnailSize) { if (auto previewRenderer = AZ::Interface::Get()) { + const auto& thumbnailConfig = GetThumbnailConfig(thumbnailKey); + previewRenderer->AddCaptureRequest( { thumbnailSize, AZStd::make_shared( previewRenderer->GetScene(), previewRenderer->GetView(), previewRenderer->GetEntityContextId(), - SharedPreviewUtils::GetAssetId(thumbnailKey, RPI::ModelAsset::RTTI_Type(), DefaultModelAssetId), - SharedPreviewUtils::GetAssetId(thumbnailKey, RPI::MaterialAsset::RTTI_Type(), DefaultMaterialAssetId), - SharedPreviewUtils::GetAssetId(thumbnailKey, RPI::AnyAsset::RTTI_Type(), DefaultLightingPresetAssetId), + thumbnailConfig.m_modelId, thumbnailConfig.m_materialId, thumbnailConfig.m_lightingId, Render::MaterialPropertyOverrideMap()), [thumbnailKey]() { diff --git a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnailRenderer.h b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnailRenderer.h index 4db7728109..2166ac49e7 100644 --- a/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnailRenderer.h +++ b/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SharedPreview/SharedThumbnailRenderer.h @@ -33,6 +33,15 @@ namespace AZ ~SharedThumbnailRenderer(); private: + struct ThumbnailConfig + { + Data::AssetId m_modelId; + Data::AssetId m_materialId; + Data::AssetId m_lightingId; + }; + + ThumbnailConfig GetThumbnailConfig(AzToolsFramework::Thumbnailer::SharedThumbnailKey thumbnailKey); + //! ThumbnailerRendererRequestsBus::Handler interface overrides... void RenderThumbnail(AzToolsFramework::Thumbnailer::SharedThumbnailKey thumbnailKey, int thumbnailSize) override; bool Installed() const override; @@ -42,15 +51,12 @@ namespace AZ // Default assets to be kept loaded and used for rendering if not overridden static constexpr const char* DefaultLightingPresetPath = "lightingpresets/thumbnail.lightingpreset.azasset"; - const Data::AssetId DefaultLightingPresetAssetId = AZ::RPI::AssetUtils::GetAssetIdForProductPath(DefaultLightingPresetPath); Data::Asset m_defaultLightingPresetAsset; static constexpr const char* DefaultModelPath = "models/sphere.azmodel"; - const Data::AssetId DefaultModelAssetId = AZ::RPI::AssetUtils::GetAssetIdForProductPath(DefaultModelPath); Data::Asset m_defaultModelAsset; static constexpr const char* DefaultMaterialPath = ""; - const Data::AssetId DefaultMaterialAssetId; Data::Asset m_defaultMaterialAsset; }; } // namespace LyIntegration diff --git a/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.cpp b/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.cpp index 698dd4cd75..a6dc818fc5 100644 --- a/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.cpp +++ b/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.cpp @@ -6,10 +6,13 @@ * */ +#include + #include #include #include #include +#include #include #include @@ -24,6 +27,7 @@ namespace AZ::Render { AtomActorDebugDraw::AtomActorDebugDraw(AZ::EntityId entityId) + : m_entityId(entityId) { m_auxGeomFeatureProcessor = RPI::Scene::GetFeatureProcessorForEntity(entityId); } @@ -41,7 +45,11 @@ namespace AZ::Render return; } + const RPI::Scene* scene = RPI::Scene::GetSceneForEntityId(m_entityId); + const RPI::ViewportContextPtr viewport = AZ::Interface::Get()->GetViewportContextByScene(scene); + AzFramework::DebugDisplayRequests* debugDisplay = GetDebugDisplay(viewport->GetId()); const AZ::Render::RenderActorSettings& renderActorSettings = EMotionFX::GetRenderActorSettings(); + const float scaleMultiplier = CalculateScaleMultiplier(instance); // Render aabb if (renderFlags[EMotionFX::ActorRenderFlag::RENDER_AABB]) @@ -55,18 +63,29 @@ namespace AZ::Render RenderLineSkeleton(instance, renderActorSettings.m_lineSkeletonColor); } - // Render advance skeleton + // Render advanced skeleton if (renderFlags[EMotionFX::ActorRenderFlag::RENDER_SKELETON]) { RenderSkeleton(instance, renderActorSettings.m_skeletonColor); } + if (renderFlags[EMotionFX::ActorRenderFlag::RENDER_NODENAMES]) + { + RenderJointNames(instance, viewport, renderActorSettings.m_jointNameColor); + } + // Render internal EMFX debug lines. if (renderFlags[EMotionFX::ActorRenderFlag::RENDER_EMFX_DEBUG]) { RenderEMFXDebugDraw(instance); } + // Render + if (renderFlags[EMotionFX::ActorRenderFlag::RENDER_NODEORIENTATION]) + { + RenderNodeOrientations(instance, debugDisplay, renderActorSettings.m_nodeOrientationScale * scaleMultiplier); + } + // Render vertex normal, face normal, tagent and wireframe. const bool renderVertexNormals = renderFlags[EMotionFX::ActorRenderFlag::RENDER_VERTEXNORMALS]; const bool renderFaceNormals = renderFlags[EMotionFX::ActorRenderFlag::RENDER_FACENORMALS]; @@ -79,7 +98,6 @@ namespace AZ::Render const EMotionFX::Pose* pose = instance->GetTransformData()->GetCurrentPose(); const size_t geomLODLevel = instance->GetLODLevel(); const size_t numEnabled = instance->GetNumEnabledNodes(); - const float scaleMultiplier = CalculateScaleMultiplier(instance); for (size_t i = 0; i < numEnabled; ++i) { EMotionFX::Node* node = instance->GetActor()->GetSkeleton()->GetNode(instance->GetEnabledNode(i)); @@ -167,6 +185,13 @@ namespace AZ::Render } } + AzFramework::DebugDisplayRequests* AtomActorDebugDraw::GetDebugDisplay(AzFramework::ViewportId viewportId) + { + AzFramework::DebugDisplayRequestBus::BusPtr debugDisplayBus; + AzFramework::DebugDisplayRequestBus::Bind(debugDisplayBus, viewportId); + return AzFramework::DebugDisplayRequestBus::FindFirstHandler(debugDisplayBus); + } + void AtomActorDebugDraw::RenderAABB(EMotionFX::ActorInstance* instance, const AZ::Color& aabbColor) { RPI::AuxGeomDrawPtr auxGeom = m_auxGeomFeatureProcessor->GetDrawQueue(); @@ -552,4 +577,139 @@ namespace AZ::Render auxGeom->DrawLines(lineArgs); } } + + void AtomActorDebugDraw::RenderJointNames(EMotionFX::ActorInstance* actorInstance, + RPI::ViewportContextPtr viewportContext, const AZ::Color& jointNameColor) + { + if (!m_fontDrawInterface) + { + auto fontQueryInterface = AZ::Interface::Get(); + if (!fontQueryInterface) + { + return; + } + m_fontDrawInterface = fontQueryInterface->GetDefaultFontDrawInterface(); + } + + if (!m_fontDrawInterface || !viewportContext || !viewportContext->GetRenderScene() || + !AZ::Interface::Get()) + { + return; + } + + const EMotionFX::Actor* actor = actorInstance->GetActor(); + const EMotionFX::Skeleton* skeleton = actor->GetSkeleton(); + const EMotionFX::TransformData* transformData = actorInstance->GetTransformData(); + const EMotionFX::Pose* pose = transformData->GetCurrentPose(); + const size_t numEnabledNodes = actorInstance->GetNumEnabledNodes(); + + m_drawParams.m_drawViewportId = viewportContext->GetId(); + AzFramework::WindowSize viewportSize = viewportContext->GetViewportSize(); + m_drawParams.m_position = AZ::Vector3(static_cast(viewportSize.m_width), 0.0f, 1.0f) + + TopRightBorderPadding * viewportContext->GetDpiScalingFactor(); + m_drawParams.m_color = jointNameColor; + m_drawParams.m_scale = AZ::Vector2(BaseFontSize); + m_drawParams.m_hAlign = AzFramework::TextHorizontalAlignment::Right; + m_drawParams.m_monospace = false; + m_drawParams.m_depthTest = false; + m_drawParams.m_virtual800x600ScreenSize = false; + m_drawParams.m_scaleWithWindow = false; + m_drawParams.m_multiline = true; + m_drawParams.m_lineSpacing = 0.5f; + + for (size_t i = 0; i < numEnabledNodes; ++i) + { + const EMotionFX::Node* joint = skeleton->GetNode(actorInstance->GetEnabledNode(i)); + const size_t jointIndex = joint->GetNodeIndex(); + const AZ::Vector3 worldPos = pose->GetWorldSpaceTransform(jointIndex).m_position; + + m_drawParams.m_position = worldPos; + m_fontDrawInterface->DrawScreenAlignedText3d(m_drawParams, joint->GetName()); + } + } + + void AtomActorDebugDraw::RenderNodeOrientations(EMotionFX::ActorInstance* actorInstance, + AzFramework::DebugDisplayRequests* debugDisplay, float scale) + { + // Get the actor and the transform data + const float unitScale = + 1.0f / (float)MCore::Distance::ConvertValue(1.0f, MCore::Distance::UNITTYPE_METERS, EMotionFX::GetEMotionFX().GetUnitType()); + const EMotionFX::Actor* actor = actorInstance->GetActor(); + const EMotionFX::Skeleton* skeleton = actor->GetSkeleton(); + const EMotionFX::TransformData* transformData = actorInstance->GetTransformData(); + const EMotionFX::Pose* pose = transformData->GetCurrentPose(); + const float constPreScale = scale * unitScale * 3.0f; + + const size_t numEnabled = actorInstance->GetNumEnabledNodes(); + for (size_t i = 0; i < numEnabled; ++i) + { + EMotionFX::Node* joint = skeleton->GetNode(actorInstance->GetEnabledNode(i)); + const size_t jointIndex = joint->GetNodeIndex(); + + static const float axisBoneScale = 50.0f; + const float size = CalculateBoneScale(actorInstance, joint) * constPreScale * axisBoneScale; + AZ::Transform worldTM = pose->GetWorldSpaceTransform(jointIndex).ToAZTransform(); + RenderLineAxis(debugDisplay, worldTM, size, false /*selected*/); + } + } + + void AtomActorDebugDraw::RenderLineAxis( + AzFramework::DebugDisplayRequests* debugDisplay, + AZ::Transform worldTM, + float size, + bool selected, + bool renderAxisName) + { + const float axisHeight = size * 0.7f; + const float frontSize = size * 5.0f + 0.2f; + const AZ::Vector3 position = worldTM.GetTranslation(); + + // Render x axis + { + AZ::Color xSelectedColor = selected ? AZ::Colors::Orange : AZ::Colors::Red; + + const AZ::Vector3 xAxisDir = (worldTM.TransformPoint(AZ::Vector3(size, 0.0f, 0.0f)) - position).GetNormalized(); + const AZ::Vector3 xAxisArrowStart = position + xAxisDir * axisHeight; + debugDisplay->SetColor(xSelectedColor); + debugDisplay->DrawArrow(position, xAxisArrowStart, size); + + if (renderAxisName) + { + const AZ::Vector3 xNamePos = position + xAxisDir * (size * 1.15f); + debugDisplay->DrawTextLabel(xNamePos, frontSize, "X"); + } + } + + // Render y axis + { + AZ::Color ySelectedColor = selected ? AZ::Colors::Orange : AZ::Colors::Blue; + + const AZ::Vector3 yAxisDir = (worldTM.TransformPoint(AZ::Vector3(0.0f, size, 0.0f)) - position).GetNormalized(); + const AZ::Vector3 yAxisArrowStart = position + yAxisDir * axisHeight; + debugDisplay->SetColor(ySelectedColor); + debugDisplay->DrawArrow(position, yAxisArrowStart, size); + + if (renderAxisName) + { + const AZ::Vector3 yNamePos = position + yAxisDir * (size * 1.15f); + debugDisplay->DrawTextLabel(yNamePos, frontSize, "Y"); + } + } + + // Render z axis + { + AZ::Color zSelectedColor = selected ? AZ::Colors::Orange : AZ::Colors::Green; + + const AZ::Vector3 zAxisDir = (worldTM.TransformPoint(AZ::Vector3(0.0f, 0.0f, size)) - position).GetNormalized(); + const AZ::Vector3 zAxisArrowStart = position + zAxisDir * axisHeight; + debugDisplay->SetColor(zSelectedColor); + debugDisplay->DrawArrow(position, zAxisArrowStart, size); + + if (renderAxisName) + { + const AZ::Vector3 zNamePos = position + zAxisDir * (size * 1.15f); + debugDisplay->DrawTextLabel(zNamePos, frontSize, "Z"); + } + } + } } // namespace AZ::Render diff --git a/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.h b/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.h index 60db07cd8e..d3a6bc44f3 100644 --- a/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.h +++ b/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.h @@ -10,8 +10,15 @@ #include #include +#include #include #include +#include + +namespace AzFramework +{ + class DebugDisplayRequests; +} namespace EMotionFX { @@ -40,6 +47,7 @@ namespace AZ::Render float CalculateBoneScale(EMotionFX::ActorInstance* actorInstance, EMotionFX::Node* node); float CalculateScaleMultiplier(EMotionFX::ActorInstance* instance) const; void PrepareForMesh(EMotionFX::Mesh* mesh, const AZ::Transform& worldTM); + AzFramework::DebugDisplayRequests* GetDebugDisplay(AzFramework::ViewportId viewportId); void RenderAABB(EMotionFX::ActorInstance* instance, const AZ::Color& aabbColor); void RenderLineSkeleton(EMotionFX::ActorInstance* instance, const AZ::Color& skeletonColor); @@ -60,14 +68,29 @@ namespace AZ::Render const AZ::Color& tangentsColor, const AZ::Color& mirroredBitangentsColor, const AZ::Color& bitangentsColor); void RenderWireframe(EMotionFX::Mesh* mesh, const AZ::Transform& worldTM, float wireframeScale, float scaleMultiplier, const AZ::Color& wireframeColor); + void RenderJointNames(EMotionFX::ActorInstance* actorInstance, RPI::ViewportContextPtr viewportContext, const AZ::Color& jointNameColor); + void RenderNodeOrientations(EMotionFX::ActorInstance* actorInstance, AzFramework::DebugDisplayRequests* debugDisplay, float scale = 1.0f); + void RenderLineAxis( + AzFramework::DebugDisplayRequests* debugDisplay, + AZ::Transform worldTM, //!< The world space transformation matrix to visualize. */ + float size, //!< The size value in units is used to control the scaling of the axis. */ + bool selected, //!< Set to true if you want to render the axis using the selection color. */ + bool renderAxisName = false); - EMotionFX::Mesh* m_currentMesh = nullptr; /**< A pointer to the mesh whose world space positions are in the pre-calculated positions buffer. - NULL in case we haven't pre-calculated any positions yet. */ - AZStd::vector m_worldSpacePositions; /**< The buffer used to store world space positions for rendering normals - tangents and the wireframe. */ + EMotionFX::Mesh* m_currentMesh = nullptr; //!< A pointer to the mesh whose world space positions are in the pre-calculated positions buffer. + //!< NULL in case we haven't pre-calculated any positions yet. + AZStd::vector m_worldSpacePositions; //!< The buffer used to store world space positions for rendering normals + //!< tangents and the wireframe. + + static constexpr float BaseFontSize = 0.7f; + const Vector3 TopRightBorderPadding = AZ::Vector3(-40.0f, 22.0f, 0.0f); RPI::AuxGeomFeatureProcessorInterface* m_auxGeomFeatureProcessor = nullptr; AZStd::vector m_auxVertices; AZStd::vector m_auxColors; + EntityId m_entityId; + + AzFramework::TextDrawParameters m_drawParams; + AzFramework::FontDrawInterface* m_fontDrawInterface = nullptr; }; } diff --git a/Gems/AtomLyIntegration/EMotionFXAtom/Code/Tools/EMStudio/AnimViewportToolBar.cpp b/Gems/AtomLyIntegration/EMotionFXAtom/Code/Tools/EMStudio/AnimViewportToolBar.cpp index b95e82a090..7bb8d49418 100644 --- a/Gems/AtomLyIntegration/EMotionFXAtom/Code/Tools/EMStudio/AnimViewportToolBar.cpp +++ b/Gems/AtomLyIntegration/EMotionFXAtom/Code/Tools/EMStudio/AnimViewportToolBar.cpp @@ -34,8 +34,9 @@ namespace EMStudio CreateViewOptionEntry(contextMenu, "Solid", EMotionFX::ActorRenderFlag::RENDER_SOLID); CreateViewOptionEntry(contextMenu, "Wireframe", EMotionFX::ActorRenderFlag::RENDER_WIREFRAME); - CreateViewOptionEntry(contextMenu, "Lighting", EMotionFX::ActorRenderFlag::RENDER_LIGHTING); - CreateViewOptionEntry(contextMenu, "Backface Culling", EMotionFX::ActorRenderFlag::RENDER_BACKFACECULLING); + // [EMFX-TODO] Add those option once implemented. + // CreateViewOptionEntry(contextMenu, "Lighting", EMotionFX::ActorRenderFlag::RENDER_LIGHTING); + // CreateViewOptionEntry(contextMenu, "Backface Culling", EMotionFX::ActorRenderFlag::RENDER_BACKFACECULLING); contextMenu->addSeparator(); CreateViewOptionEntry(contextMenu, "Vertex Normals", EMotionFX::ActorRenderFlag::RENDER_VERTEXNORMALS); CreateViewOptionEntry(contextMenu, "Face Normals", EMotionFX::ActorRenderFlag::RENDER_FACENORMALS); @@ -46,7 +47,8 @@ namespace EMStudio CreateViewOptionEntry(contextMenu, "Solid Skeleton", EMotionFX::ActorRenderFlag::RENDER_SKELETON); CreateViewOptionEntry(contextMenu, "Joint Names", EMotionFX::ActorRenderFlag::RENDER_NODENAMES); CreateViewOptionEntry(contextMenu, "Joint Orientations", EMotionFX::ActorRenderFlag::RENDER_NODEORIENTATION); - CreateViewOptionEntry(contextMenu, "Actor Bind Pose", EMotionFX::ActorRenderFlag::RENDER_ACTORBINDPOSE); + // [EMFX-TODO] Add those option once implemented. + // CreateViewOptionEntry(contextMenu, "Actor Bind Pose", EMotionFX::ActorRenderFlag::RENDER_ACTORBINDPOSE); contextMenu->addSeparator(); CreateViewOptionEntry(contextMenu, "Hit Detection Colliders", EMotionFX::ActorRenderFlag::RENDER_HITDETECTION_COLLIDERS); CreateViewOptionEntry(contextMenu, "Ragdoll Colliders", EMotionFX::ActorRenderFlag::RENDER_RAGDOLL_COLLIDERS); diff --git a/Gems/AtomLyIntegration/EMotionFXAtom/Code/Tools/EMStudio/AnimViewportWidget.cpp b/Gems/AtomLyIntegration/EMotionFXAtom/Code/Tools/EMStudio/AnimViewportWidget.cpp index 86529d16ec..43d8483a6b 100644 --- a/Gems/AtomLyIntegration/EMotionFXAtom/Code/Tools/EMStudio/AnimViewportWidget.cpp +++ b/Gems/AtomLyIntegration/EMotionFXAtom/Code/Tools/EMStudio/AnimViewportWidget.cpp @@ -55,13 +55,13 @@ namespace EMStudio void AnimViewportWidget::Reinit(bool resetCamera) { + m_renderer->Reinit(); + m_renderer->UpdateActorRenderFlag(m_renderFlags); + if (resetCamera) { ResetCamera(); } - - m_renderer->Reinit(); - m_renderer->UpdateActorRenderFlag(m_renderFlags); } EMotionFX::ActorRenderFlagBitset AnimViewportWidget::GetRenderFlags() const diff --git a/Gems/Camera/Code/Source/ViewportCameraSelectorWindow.cpp b/Gems/Camera/Code/Source/ViewportCameraSelectorWindow.cpp index dc091db9e5..eb1fd9890c 100644 --- a/Gems/Camera/Code/Source/ViewportCameraSelectorWindow.cpp +++ b/Gems/Camera/Code/Source/ViewportCameraSelectorWindow.cpp @@ -7,14 +7,14 @@ */ #include "ViewportCameraSelectorWindow.h" #include "ViewportCameraSelectorWindow_Internals.h" -#include -#include -#include -#include -#include -#include #include #include +#include +#include +#include +#include +#include +#include namespace Qt { @@ -64,12 +64,14 @@ namespace Camera CameraListModel::CameraListModel(QWidget* myParent) : QAbstractListModel(myParent) { + m_lastActiveCamera = AZ::EntityId(); m_cameraItems.push_back(AZ::EntityId()); CameraNotificationBus::Handler::BusConnect(); } CameraListModel::~CameraListModel() { + m_firstEntry = true; // set the view entity id back to Invalid, thus enabling the editor camera EditorCameraRequests::Bus::Broadcast(&EditorCameraRequests::SetViewFromEntityPerspective, AZ::EntityId()); @@ -98,11 +100,13 @@ namespace Camera { // If the camera entity is not an editor camera entity, don't add it to the list. // This occurs when we're in simulation mode. + + //We reset the m_firstEntry value so we can update m_lastActiveCamera when we remove from the cameras list + m_firstEntry = true; + bool isEditorEntity = false; AzToolsFramework::EditorEntityContextRequestBus::BroadcastResult( - isEditorEntity, - &AzToolsFramework::EditorEntityContextRequests::IsEditorEntity, - cameraId); + isEditorEntity, &AzToolsFramework::EditorEntityContextRequests::IsEditorEntity, cameraId); if (!isEditorEntity) { return; @@ -111,11 +115,25 @@ namespace Camera beginInsertRows(QModelIndex(), rowCount(), rowCount()); m_cameraItems.push_back(cameraId); endInsertRows(); + + if (m_lastActiveCamera.IsValid() && m_lastActiveCamera == cameraId) + { + Camera::CameraRequestBus::Event(cameraId, &Camera::CameraRequestBus::Events::MakeActiveView); + } } void CameraListModel::OnCameraRemoved(const AZ::EntityId& cameraId) { - auto cameraIt = AZStd::find_if(m_cameraItems.begin(), m_cameraItems.end(), + //Check it is the first time we remove a camera from the list before any other addition + //So we don't end up with the wrong camera ID. + if (m_firstEntry) + { + CameraSystemRequestBus::BroadcastResult(m_lastActiveCamera, &CameraSystemRequestBus::Events::GetActiveCamera); + m_firstEntry = false; + } + + auto cameraIt = AZStd::find_if( + m_cameraItems.begin(), m_cameraItems.end(), [&cameraId](const CameraListItem& entry) { return entry.m_cameraId == cameraId; @@ -162,7 +180,12 @@ namespace Camera // use the stylesheet for elements in a set where one item must be selected at all times setProperty("class", "SingleRequiredSelection"); - connect(m_cameraList, &CameraListModel::rowsInserted, this, [sortedProxyModel](const QModelIndex&, int, int) { sortedProxyModel->sortColumn(); }); + connect( + m_cameraList, &CameraListModel::rowsInserted, this, + [sortedProxyModel](const QModelIndex&, int, int) + { + sortedProxyModel->sortColumn(); + }); // highlight the current selected camera entity AZ::EntityId currentSelection; @@ -188,7 +211,8 @@ namespace Camera QScopedValueRollback rb(m_ignoreViewportViewEntityChanged, true); AZ::EntityId entityId = selectionModel()->currentIndex().data(Qt::CameraIdRole).value(); - EditorCameraRequests::Bus::Broadcast(&EditorCameraRequests::SetViewAndMovementLockFromEntityPerspective, entityId, lockCameraMovement); + EditorCameraRequests::Bus::Broadcast( + &EditorCameraRequests::SetViewAndMovementLockFromEntityPerspective, entityId, lockCameraMovement); } } @@ -220,7 +244,9 @@ namespace Camera } // swallow mouse move events so we can disable sloppy selection - void ViewportCameraSelectorWindow::mouseMoveEvent(QMouseEvent*) {} + void ViewportCameraSelectorWindow::mouseMoveEvent(QMouseEvent*) + { + } // double click selects the entity void ViewportCameraSelectorWindow::mouseDoubleClickEvent([[maybe_unused]] QMouseEvent* event) @@ -228,11 +254,13 @@ namespace Camera AZ::EntityId entityId = selectionModel()->currentIndex().data(Qt::CameraIdRole).value(); if (entityId.IsValid()) { - AzToolsFramework::ToolsApplicationRequestBus::Broadcast(&AzToolsFramework::ToolsApplicationRequestBus::Events::SetSelectedEntities, AzToolsFramework::EntityIdList { entityId }); + AzToolsFramework::ToolsApplicationRequestBus::Broadcast( + &AzToolsFramework::ToolsApplicationRequestBus::Events::SetSelectedEntities, AzToolsFramework::EntityIdList{ entityId }); } else { - AzToolsFramework::ToolsApplicationRequestBus::Broadcast(&AzToolsFramework::ToolsApplicationRequestBus::Events::SetSelectedEntities, AzToolsFramework::EntityIdList {}); + AzToolsFramework::ToolsApplicationRequestBus::Broadcast( + &AzToolsFramework::ToolsApplicationRequestBus::Events::SetSelectedEntities, AzToolsFramework::EntityIdList{}); } } @@ -290,7 +318,10 @@ namespace Camera : QWidget(parent) { setLayout(new QVBoxLayout(this)); - auto label = new QLabel("Select the camera you wish to view and navigate through. Closing this window will return you to the default editor camera.", this); + auto label = new QLabel( + "Select the camera you wish to view and navigate through. Closing this window will return you to the default editor " + "camera.", + this); label->setWordWrap(true); layout()->addWidget(label); layout()->addWidget(new ViewportCameraSelectorWindow(this)); @@ -309,6 +340,8 @@ namespace Camera viewOptions.isPreview = true; viewOptions.showInMenu = true; viewOptions.preferedDockingArea = Qt::DockWidgetArea::LeftDockWidgetArea; - AzToolsFramework::EditorRequestBus::Broadcast(&AzToolsFramework::EditorRequestBus::Events::RegisterViewPane, s_viewportCameraSelectorName, "Viewport", viewOptions, &Internal::CreateNewSelectionWindow); + AzToolsFramework::EditorRequestBus::Broadcast( + &AzToolsFramework::EditorRequestBus::Events::RegisterViewPane, s_viewportCameraSelectorName, "Viewport", viewOptions, + &Internal::CreateNewSelectionWindow); } } // namespace Camera diff --git a/Gems/Camera/Code/Source/ViewportCameraSelectorWindow_Internals.h b/Gems/Camera/Code/Source/ViewportCameraSelectorWindow_Internals.h index b07ae7789f..21f316b83d 100644 --- a/Gems/Camera/Code/Source/ViewportCameraSelectorWindow_Internals.h +++ b/Gems/Camera/Code/Source/ViewportCameraSelectorWindow_Internals.h @@ -58,6 +58,11 @@ namespace Camera private: AZStd::vector m_cameraItems; AZ::EntityId m_sequenceCameraEntityId; + AZ::EntityId m_lastActiveCamera; + + //Value to check that is the first time that we remove a camera before adding a new one. + //So we can update m_lastActiveCamera properly + bool m_firstEntry = true; }; struct ViewportCameraSelectorWindow diff --git a/Gems/EMotionFX/Code/EMotionFX/Source/MotionData/NonUniformMotionData.cpp b/Gems/EMotionFX/Code/EMotionFX/Source/MotionData/NonUniformMotionData.cpp index 6ced6152e1..50f3a1f73f 100644 --- a/Gems/EMotionFX/Code/EMotionFX/Source/MotionData/NonUniformMotionData.cpp +++ b/Gems/EMotionFX/Code/EMotionFX/Source/MotionData/NonUniformMotionData.cpp @@ -78,7 +78,6 @@ namespace EMotionFX { const Actor* actor = settings.m_actorInstance->GetActor(); const MotionLinkData* motionLinkData = FindMotionLinkData(actor); - const Skeleton* skeleton = actor->GetSkeleton(); const size_t jointDataIndex = motionLinkData->GetJointDataLinks()[jointSkeletonIndex]; if (m_additive && jointDataIndex == InvalidIndex) @@ -88,7 +87,7 @@ namespace EMotionFX // Sample the interpolated data. Transform result; - const bool inPlace = (settings.m_inPlace && skeleton->GetNode(jointSkeletonIndex)->GetIsRootNode()); + const bool inPlace = (settings.m_inPlace && jointSkeletonIndex == actor->GetMotionExtractionNodeIndex()); if (jointDataIndex != InvalidIndex && !inPlace) { const JointData& jointData = m_jointData[jointDataIndex]; @@ -139,14 +138,13 @@ namespace EMotionFX const MotionLinkData* motionLinkData = FindMotionLinkData(actor); const ActorInstance* actorInstance = settings.m_actorInstance; - const Skeleton* skeleton = actor->GetSkeleton(); const Pose* bindPose = actorInstance->GetTransformData()->GetBindPose(); const size_t numNodes = actorInstance->GetNumEnabledNodes(); for (size_t i = 0; i < numNodes; ++i) { const uint16 jointIndex = actorInstance->GetEnabledNode(i); const size_t jointDataIndex = motionLinkData->GetJointDataLinks()[jointIndex]; - const bool inPlace = (settings.m_inPlace && skeleton->GetNode(jointIndex)->GetIsRootNode()); + const bool inPlace = (settings.m_inPlace && jointIndex == actor->GetMotionExtractionNodeIndex()); // Sample the interpolated data. Transform result; diff --git a/Gems/EMotionFX/Code/EMotionFX/Source/MotionData/UniformMotionData.cpp b/Gems/EMotionFX/Code/EMotionFX/Source/MotionData/UniformMotionData.cpp index c4451ff902..881604c7ff 100644 --- a/Gems/EMotionFX/Code/EMotionFX/Source/MotionData/UniformMotionData.cpp +++ b/Gems/EMotionFX/Code/EMotionFX/Source/MotionData/UniformMotionData.cpp @@ -147,8 +147,7 @@ namespace EMotionFX size_t indexB; CalculateInterpolationIndicesUniform(settings.m_sampleTime, m_sampleSpacing, m_duration, m_numSamples, indexA, indexB, t); - const Skeleton* skeleton = actor->GetSkeleton(); - const bool inPlace = (settings.m_inPlace && skeleton->GetNode(jointSkeletonIndex)->GetIsRootNode()); + const bool inPlace = (settings.m_inPlace && jointSkeletonIndex == actor->GetMotionExtractionNodeIndex()); // Sample the interpolated data. Transform result; @@ -210,13 +209,12 @@ namespace EMotionFX const AZStd::vector& jointLinks = motionLinkData->GetJointDataLinks(); const ActorInstance* actorInstance = settings.m_actorInstance; - const Skeleton* skeleton = actor->GetSkeleton(); const Pose* bindPose = actorInstance->GetTransformData()->GetBindPose(); const size_t numNodes = actorInstance->GetNumEnabledNodes(); for (size_t i = 0; i < numNodes; ++i) { const size_t skeletonJointIndex = actorInstance->GetEnabledNode(i); - const bool inPlace = (settings.m_inPlace && skeleton->GetNode(skeletonJointIndex)->GetIsRootNode()); + const bool inPlace = (settings.m_inPlace && skeletonJointIndex == actor->GetMotionExtractionNodeIndex()); // Sample the interpolated data. Transform result; diff --git a/Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/RenderPlugin/RenderOptions.cpp b/Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/RenderPlugin/RenderOptions.cpp index 3d1b0e3150..241412c6c8 100644 --- a/Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/RenderPlugin/RenderOptions.cpp +++ b/Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/RenderPlugin/RenderOptions.cpp @@ -1063,6 +1063,7 @@ namespace EMStudio settings.m_vertexNormalsScale = m_vertexNormalsScale; settings.m_faceNormalsScale = m_faceNormalsScale; settings.m_tangentsScale = m_tangentsScale; + settings.m_nodeOrientationScale = m_nodeOrientationScale; settings.m_vertexNormalsColor = m_vertexNormalsColor; settings.m_faceNormalsColor = m_faceNormalsColor; @@ -1083,6 +1084,7 @@ namespace EMStudio settings.m_selectedClothColliderColor = m_selectedClothColliderColor; settings.m_simulatedObjectColliderColor = m_simulatedObjectColliderColor; settings.m_selectedSimulatedObjectColliderColor = m_selectedSimulatedObjectColliderColor; + settings.m_jointNameColor = m_nodeNameColor; } void RenderOptions::OnGridUnitSizeChangedCallback() const @@ -1111,6 +1113,7 @@ namespace EMStudio void RenderOptions::OnNodeOrientationScaleChangedCallback() const { PluginOptionsNotificationsBus::Event(s_nodeOrientationScaleOptionName, &PluginOptionsNotificationsBus::Events::OnOptionChanged, s_nodeOrientationScaleOptionName); + CopyToRenderActorSettings(EMotionFX::GetRenderActorSettings()); } void RenderOptions::OnScaleBonesOnLengthChangedCallback() const @@ -1285,6 +1288,7 @@ namespace EMStudio void RenderOptions::OnNodeNameColorChangedCallback() const { PluginOptionsNotificationsBus::Event(s_nodeNameColorOptionName, &PluginOptionsNotificationsBus::Events::OnOptionChanged, s_nodeNameColorOptionName); + CopyToRenderActorSettings(EMotionFX::GetRenderActorSettings()); } void RenderOptions::OnGridColorChangedCallback() const diff --git a/Gems/EMotionFX/Code/MCore/Source/Algorithms.cpp b/Gems/EMotionFX/Code/MCore/Source/Algorithms.cpp index dd82385092..527407aaa8 100644 --- a/Gems/EMotionFX/Code/MCore/Source/Algorithms.cpp +++ b/Gems/EMotionFX/Code/MCore/Source/Algorithms.cpp @@ -293,7 +293,7 @@ namespace MCore // check if the test point is inside the polygon AZ::Vector2 ClosestPointToPoly(const AZ::Vector2* polyPoints, size_t numPoints, const AZ::Vector2& testPoint) { - AZ::Vector2 result; + AZ::Vector2 result = AZ::Vector2::CreateZero(); float closestDist = FLT_MAX; for (size_t i = 0; i < numPoints; ++i) { diff --git a/Gems/EMotionFX/Code/MysticQt/Source/DialogStack.cpp b/Gems/EMotionFX/Code/MysticQt/Source/DialogStack.cpp index 5e9cf66fa7..30d54c6b7b 100644 --- a/Gems/EMotionFX/Code/MysticQt/Source/DialogStack.cpp +++ b/Gems/EMotionFX/Code/MysticQt/Source/DialogStack.cpp @@ -71,8 +71,6 @@ namespace MysticQt setWidget(m_rootSplitter); } - - // destructor DialogStack::~DialogStack() { } @@ -81,6 +79,14 @@ namespace MysticQt // get rid of all dialogs and their allocated memory void DialogStack::Clear() { + for (Dialog& dialog : m_dialogs) + { + if (dialog.m_dialogWidget) + { + dialog.m_dialogWidget->deleteLater(); + } + } + // destroy the dialogs m_dialogs.clear(); @@ -679,6 +685,4 @@ namespace MysticQt return; } } -} // namespace MysticQt - -#include +} // namespace MysticQt diff --git a/Gems/EMotionFX/Code/MysticQt/Source/DialogStack.h b/Gems/EMotionFX/Code/MysticQt/Source/DialogStack.h index bf93b5d23f..64a48fb392 100644 --- a/Gems/EMotionFX/Code/MysticQt/Source/DialogStack.h +++ b/Gems/EMotionFX/Code/MysticQt/Source/DialogStack.h @@ -6,10 +6,8 @@ * */ -#ifndef __MYSTICQT_DIALOGSTACK_H -#define __MYSTICQT_DIALOGSTACK_H +#pragma once -// #if !defined(Q_MOC_RUN) #include "MysticQtConfig.h" #include @@ -30,14 +28,10 @@ namespace MysticQt { class DialogStackSplitter; - /** - * - * - */ class MYSTICQT_API DialogStack : public QScrollArea { - Q_OBJECT + Q_OBJECT // AUTOMOC public: DialogStack(QWidget* parent = nullptr); @@ -89,5 +83,3 @@ namespace MysticQt int32 m_prevMouseY; }; } // namespace MysticQt - -#endif diff --git a/Gems/EMotionFX/Code/Source/Integration/Rendering/RenderActorSettings.h b/Gems/EMotionFX/Code/Source/Integration/Rendering/RenderActorSettings.h index c397690b16..0260d1aae5 100644 --- a/Gems/EMotionFX/Code/Source/Integration/Rendering/RenderActorSettings.h +++ b/Gems/EMotionFX/Code/Source/Integration/Rendering/RenderActorSettings.h @@ -26,6 +26,7 @@ namespace AZ::Render float m_faceNormalsScale = 1.0f; float m_tangentsScale = 1.0f; float m_wireframeScale = 1.0f; + float m_nodeOrientationScale = 1.0f; AZ::Color m_hitDetectionColliderColor{0.44f, 0.44f, 0.44f, 1.0f}; AZ::Color m_selectedHitDetectionColliderColor{ 0.3f, 0.56f, 0.88f, 1.0f }; @@ -46,5 +47,6 @@ namespace AZ::Render AZ::Color m_staticAABBColor{ 0.0f, 0.7f, 0.7f, 1.0f }; AZ::Color m_lineSkeletonColor{ 0.33333f, 1.0f, 0.0f, 1.0f }; AZ::Color m_skeletonColor{ 0.19f, 0.58f, 0.19f, 1.0f }; + AZ::Color m_jointNameColor{ 1.0f, 1.0f, 1.0f, 1.0f }; }; } // namespace AZ::Render diff --git a/Gems/EMotionFX/Code/Tests/AnimGraphMotionNodeTests.cpp b/Gems/EMotionFX/Code/Tests/AnimGraphMotionNodeTests.cpp index a377495d6c..efff992564 100644 --- a/Gems/EMotionFX/Code/Tests/AnimGraphMotionNodeTests.cpp +++ b/Gems/EMotionFX/Code/Tests/AnimGraphMotionNodeTests.cpp @@ -161,6 +161,8 @@ namespace EMotionFX // Make sure all nodes exist. ASSERT_TRUE(rootNode && pelvisNode && lHandNode && lLoArmNode && lLoLegNode && lAnkleNode && rHandNode && rLoArmNode && rLoLegNode && rAnkleNode) << "All nodes used should exist."; + + m_actor->SetMotionExtractionNodeIndex(m_jackRootIndex); } void SetupMirrorNodes() diff --git a/Gems/GradientSignal/Code/Source/Components/GradientTransformComponent.cpp b/Gems/GradientSignal/Code/Source/Components/GradientTransformComponent.cpp index 38936dc302..57de6f776a 100644 --- a/Gems/GradientSignal/Code/Source/Components/GradientTransformComponent.cpp +++ b/Gems/GradientSignal/Code/Source/Components/GradientTransformComponent.cpp @@ -324,8 +324,6 @@ namespace GradientSignal void GradientTransformComponent::TransformPositionToUVW(const AZ::Vector3& inPosition, AZ::Vector3& outUVW, const bool shouldNormalizeOutput, bool& wasPointRejected) const { - AZ_PROFILE_FUNCTION(Entity); - AZStd::lock_guard lock(m_cacheMutex); //transforming coordinate into "local" relative space of shape bounds diff --git a/Gems/GradientSignal/Code/Source/Components/ImageGradientComponent.cpp b/Gems/GradientSignal/Code/Source/Components/ImageGradientComponent.cpp index 6fe8d32484..021e083ea6 100644 --- a/Gems/GradientSignal/Code/Source/Components/ImageGradientComponent.cpp +++ b/Gems/GradientSignal/Code/Source/Components/ImageGradientComponent.cpp @@ -191,8 +191,6 @@ namespace GradientSignal float ImageGradientComponent::GetValue(const GradientSampleParams& sampleParams) const { - AZ_PROFILE_FUNCTION(Entity); - AZ::Vector3 uvw = sampleParams.m_position; bool wasPointRejected = false; diff --git a/Gems/GradientSignal/Code/Source/ImageAsset.cpp b/Gems/GradientSignal/Code/Source/ImageAsset.cpp index c67f86c6b8..7e73dc32d6 100644 --- a/Gems/GradientSignal/Code/Source/ImageAsset.cpp +++ b/Gems/GradientSignal/Code/Source/ImageAsset.cpp @@ -153,8 +153,6 @@ namespace GradientSignal float GetValueFromImageAsset(const AZ::Data::Asset& imageAsset, const AZ::Vector3& uvw, float tilingX, float tilingY, float defaultValue) { - AZ_PROFILE_FUNCTION(Entity); - if (imageAsset.IsReady()) { const auto& image = imageAsset.Get(); diff --git a/Gems/GraphCanvas/Code/Source/Components/Nodes/General/GeneralNodeTitleComponent.h b/Gems/GraphCanvas/Code/Source/Components/Nodes/General/GeneralNodeTitleComponent.h index 84963c7997..ce8ea4c8a9 100644 --- a/Gems/GraphCanvas/Code/Source/Components/Nodes/General/GeneralNodeTitleComponent.h +++ b/Gems/GraphCanvas/Code/Source/Components/Nodes/General/GeneralNodeTitleComponent.h @@ -19,7 +19,6 @@ #include #include #include -#include #include namespace GraphCanvas diff --git a/Gems/GraphCanvas/Code/Source/GraphCanvas.cpp b/Gems/GraphCanvas/Code/Source/GraphCanvas.cpp index f51c2c1272..dfcb106777 100644 --- a/Gems/GraphCanvas/Code/Source/GraphCanvas.cpp +++ b/Gems/GraphCanvas/Code/Source/GraphCanvas.cpp @@ -58,7 +58,6 @@ #include #include -#include #include #include @@ -386,6 +385,16 @@ namespace GraphCanvas AZ::Data::AssetCatalogRequestBus::Broadcast(&AZ::Data::AssetCatalogRequestBus::Events::EnumerateAssets, nullptr, collectAssetsCb, postEnumerateCb); } + void GraphCanvasSystemComponent::OnCatalogAssetChanged(const AZ::Data::AssetId& assetId) + { + AZ::Data::AssetInfo assetInfo; + AZ::Data::AssetCatalogRequestBus::BroadcastResult(assetInfo, &AZ::Data::AssetCatalogRequestBus::Events::GetAssetInfoById, assetId); + if (assetInfo.m_assetType == azrtti_typeid()) + { + GraphCanvas::TranslationRequestBus::Broadcast(&GraphCanvas::TranslationRequests::Restore); + } + } + void GraphCanvasSystemComponent::UnregisterAssetHandler() { if (m_assetHandler) diff --git a/Gems/GraphCanvas/Code/Source/GraphCanvas.h b/Gems/GraphCanvas/Code/Source/GraphCanvas.h index 7a4d9677ab..0b47e9010a 100644 --- a/Gems/GraphCanvas/Code/Source/GraphCanvas.h +++ b/Gems/GraphCanvas/Code/Source/GraphCanvas.h @@ -77,7 +77,10 @@ namespace GraphCanvas AZ::EntityId CreateVirtualChild(const AZ::EntityId& real, const AZStd::string& virtualChildElement) const override; //// + // AzFramework::AssetCatalogEventBus::Handler void OnCatalogLoaded(const char* /*catalogFile*/) override; + void OnCatalogAssetChanged(const AZ::Data::AssetId&) override; + //// AZStd::unique_ptr m_assetHandler; diff --git a/Gems/GraphCanvas/Code/Source/Translation/TranslationAsset.h b/Gems/GraphCanvas/Code/Source/Translation/TranslationAsset.h index 653aac3afc..b31bf25851 100644 --- a/Gems/GraphCanvas/Code/Source/Translation/TranslationAsset.h +++ b/Gems/GraphCanvas/Code/Source/Translation/TranslationAsset.h @@ -59,14 +59,14 @@ namespace GraphCanvas //! //! Requirements: //! - Must have a top level array called "entries" - //! - Must provide a "key" element for any entry added + //! - Must provide a "base" element for any entry added //! //! Example: //! //! { //! "entries": [ //! { - //! "key": "Globals", + //! "base": "Globals", //! "details": { //! "name": "My Name", //! "tooltip": "My Tooltip" @@ -90,21 +90,21 @@ namespace GraphCanvas //! Globals.details.somearray.0.name //! Globals.details.somearray.1.name //! - //! There is one important aspect however, if an element in an array has a "key" value, the value of this key + //! There is one important aspect however, if an element in an array has a "base" value, the value of this key //! will replace the index. This is useful when the index and/or ordering of an entry is not relevant or may //! change. //! //! "somearray": [ { //! "name": "First one" - //! "key": "a_key" + //! "base": "a_key" //! }, { //! "name": "Second one", - //! "key": "b_key" + //! "base": "b_key" //! } ] //! - //! Globals.details.somearray.0.key == "a_key" + //! Globals.details.somearray.0.base == "a_key" //! Globals.details.somearray.0.name == "First one" - //! Globals.details.somearray.1.key == "b_key" + //! Globals.details.somearray.1.base == "b_key" //! Globals.details.somearray.1.name == "Second one" //! class TranslationAssetHandler diff --git a/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.cpp b/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.cpp index bb42f77c49..1f76b53b27 100644 --- a/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.cpp +++ b/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.cpp @@ -11,17 +11,6 @@ namespace GraphCanvas { - namespace Schema - { - namespace Field - { - static constexpr char key[] = "key"; - static constexpr char context[] = "context"; - static constexpr char variant[] = "variant"; - static constexpr char entries[] = "entries"; - } - } - AZ_CLASS_ALLOCATOR_IMPL(TranslationFormatSerializer, AZ::SystemAllocator, 0); void AddEntryToDatabase(const AZStd::string& baseKey, const AZStd::string& name, const rapidjson::Value& it, TranslationFormat* translationFormat) @@ -76,11 +65,15 @@ namespace GraphCanvas const rapidjson::Value& array = it; for (rapidjson::SizeType i = 0; i < array.Size(); ++i) { - // so, here, I need to go in and if there is a "key" member within the object, then I need to use that, - // if there isn't, I can use the %d + // if there is a "base" member within the object, then use it, otherwise use the index if (array[i].IsObject()) { - if (array[i].HasMember(Schema::Field::key)) + if (array[i].HasMember(Schema::Field::deprecated_key)) + { + AZStd::string innerKey = array[i].FindMember(Schema::Field::deprecated_key)->value.GetString(); + itemKey.append(AZStd::string::format(".%s", innerKey.c_str())); + } + else if (array[i].HasMember(Schema::Field::key)) { AZStd::string innerKey = array[i].FindMember(Schema::Field::key)->value.GetString(); itemKey.append(AZStd::string::format(".%s", innerKey.c_str())); @@ -133,7 +126,12 @@ namespace GraphCanvas AZStd::string keyStr; rapidjson::Value::ConstMemberIterator keyValue; - if (entry.HasMember(Schema::Field::key)) + if (entry.HasMember(Schema::Field::deprecated_key)) + { + keyValue = entry.FindMember(Schema::Field::deprecated_key); + keyStr = keyValue->value.GetString(); + } + else if (entry.HasMember(Schema::Field::key)) { keyValue = entry.FindMember(Schema::Field::key); keyStr = keyValue->value.GetString(); diff --git a/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.h b/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.h index fa7e6e64e1..605e06a76b 100644 --- a/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.h +++ b/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.h @@ -23,4 +23,17 @@ namespace GraphCanvas AZ::JsonSerializationResult::Result Store(rapidjson::Value& outputValue, const void* inputValue, const void* defaultValue, const AZ::Uuid& valueTypeId, AZ::JsonSerializerContext& context) override; }; + + namespace Schema + { + namespace Field + { + // Moved away from "key" due to some strict filtering on secrets + static constexpr char deprecated_key[] = "key"; + static constexpr char key[] = "base"; + static constexpr char context[] = "context"; + static constexpr char variant[] = "variant"; + static constexpr char entries[] = "entries"; + } + } } diff --git a/Gems/GraphCanvas/Code/Source/Widgets/GraphCanvasLabel.h b/Gems/GraphCanvas/Code/Source/Widgets/GraphCanvasLabel.h index 4e52218721..3fbd934909 100644 --- a/Gems/GraphCanvas/Code/Source/Widgets/GraphCanvasLabel.h +++ b/Gems/GraphCanvas/Code/Source/Widgets/GraphCanvasLabel.h @@ -16,7 +16,6 @@ AZ_PUSH_DISABLE_WARNING(4251 4800, "-Wunknown-warning-option") AZ_POP_DISABLE_WARNING #include -#include namespace GraphCanvas { diff --git a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Nodes/NodeBus.h b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Nodes/NodeBus.h index 513400b470..d5b8a7ff57 100644 --- a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Nodes/NodeBus.h +++ b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Nodes/NodeBus.h @@ -15,7 +15,6 @@ #include #include #include -#include #include diff --git a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Nodes/NodeTitleBus.h b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Nodes/NodeTitleBus.h index 88846739d0..6470ebfbd1 100644 --- a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Nodes/NodeTitleBus.h +++ b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Nodes/NodeTitleBus.h @@ -11,7 +11,6 @@ #include #include -#include #include #include diff --git a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Slots/SlotBus.h b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Slots/SlotBus.h index a3f8bfb757..8df36232fe 100644 --- a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Slots/SlotBus.h +++ b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/Slots/SlotBus.h @@ -16,7 +16,6 @@ #include #include -#include class QGraphicsLayoutItem; diff --git a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Types/TranslationTypes.h b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Types/TranslationTypes.h deleted file mode 100644 index 7205be7c00..0000000000 --- a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Types/TranslationTypes.h +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) Contributors to the Open 3D Engine Project. - * For complete copyright and license terms please see the LICENSE at the root of this distribution. - * - * SPDX-License-Identifier: Apache-2.0 OR MIT - * - */ - -#pragma once - -#include - -#include - -namespace GraphCanvas -{ - struct TranslationKeyedString - { - public: - AZ_TYPE_INFO(TranslationKeyedString, "{B796685C-0335-4E74-9EF8-A1933E8B2142}"); - AZ_CLASS_ALLOCATOR(TranslationKeyedString, AZ::SystemAllocator, 0); - - static void Reflect(AZ::ReflectContext* context) - { - AZ::SerializeContext* serializeContext = azrtti_cast(context); - if (!serializeContext) - { - return; - } - - serializeContext->Class() - ->Version(1) - ->Field("Fallback", &TranslationKeyedString::m_fallback) - ->Field("Context", &TranslationKeyedString::m_context) - ->Field("Key", &TranslationKeyedString::m_key) - ; - } - - TranslationKeyedString() - : m_dirtyText(true) - { - } - - ~TranslationKeyedString() = default; - - TranslationKeyedString(const AZStd::string& fallback, const AZStd::string& context = AZStd::string(), const AZStd::string& key = AZStd::string()) - : m_fallback(fallback) - , m_context(context) - , m_key(key) - , m_dirtyText(true) - { - } - - const AZStd::string GetDisplayString() const - { - if (m_dirtyText) - { - const_cast(this)->TranslateString(); - } - - return m_display; - } - - void TranslateString() - { - m_display = m_fallback; - - if (!m_context.empty() && !m_key.empty()) - { - AZStd::string translatedText = QCoreApplication::translate(m_context.c_str(), m_key.c_str()).toUtf8().data(); - - if (translatedText != m_key) - { - m_display = translatedText; - } - } - - m_dirtyText = false; - } - - bool empty() const - { - return m_fallback.empty() && (m_context.empty() || m_key.empty()); - } - - bool operator==(const TranslationKeyedString& other) const - { - return m_fallback == other.m_fallback - && m_context == other.m_context - && m_key == other.m_key - ; - } - - void Clear() - { - m_key.clear(); - m_context.clear(); - m_fallback.clear(); - } - - void SetFallback(const AZStd::string& fallback) - { - m_fallback = fallback; - m_dirtyText = true; - } - - AZStd::string m_context; - AZStd::string m_key; - AZStd::string m_display; - - private: - AZStd::string m_fallback; - - bool m_dirtyText; - }; -} diff --git a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Widgets/NodePalette/TreeItems/NodePaletteTreeItem.cpp b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Widgets/NodePalette/TreeItems/NodePaletteTreeItem.cpp index cbdfbfcf0c..bce17c6348 100644 --- a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Widgets/NodePalette/TreeItems/NodePaletteTreeItem.cpp +++ b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Widgets/NodePalette/TreeItems/NodePaletteTreeItem.cpp @@ -9,6 +9,10 @@ #include +AZ_PUSH_DISABLE_WARNING(4244 4251 4800, "-Wunknown-warning-option") +#include +AZ_POP_DISABLE_WARNING + namespace GraphCanvas { //////////////////////// @@ -19,7 +23,6 @@ namespace GraphCanvas NodePaletteTreeItem::NodePaletteTreeItem(AZStd::string_view name, EditorId editorId) : GraphCanvas::GraphCanvasTreeItem() - , m_errorIcon(":/GraphCanvasEditorResources/toast_error_icon.png") , m_editorId(editorId) , m_name(QString::fromUtf8(name.data(), static_cast(name.size()))) , m_selected(false) @@ -88,7 +91,7 @@ namespace GraphCanvas case Qt::DecorationRole: if (HasError()) { - return m_errorIcon; + return QIcon(":/GraphCanvasEditorResources/toast_error_icon.png"); } break; default: diff --git a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Widgets/NodePalette/TreeItems/NodePaletteTreeItem.h b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Widgets/NodePalette/TreeItems/NodePaletteTreeItem.h index 3dad6fed0a..4259caf69b 100644 --- a/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Widgets/NodePalette/TreeItems/NodePaletteTreeItem.h +++ b/Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Widgets/NodePalette/TreeItems/NodePaletteTreeItem.h @@ -9,10 +9,6 @@ #include -AZ_PUSH_DISABLE_WARNING(4244 4251 4800, "-Wunknown-warning-option") -#include -AZ_POP_DISABLE_WARNING - #include #include #include @@ -117,7 +113,6 @@ namespace GraphCanvas private: // Error Display - QIcon m_errorIcon; QString m_errorString; AZStd::string m_styleOverride; diff --git a/Gems/GraphCanvas/Code/graphcanvas_staticlib_files.cmake b/Gems/GraphCanvas/Code/graphcanvas_staticlib_files.cmake index b62ff303a6..455b5673d3 100644 --- a/Gems/GraphCanvas/Code/graphcanvas_staticlib_files.cmake +++ b/Gems/GraphCanvas/Code/graphcanvas_staticlib_files.cmake @@ -102,8 +102,7 @@ set(FILES StaticLib/GraphCanvas/Types/GraphCanvasGraphData.h StaticLib/GraphCanvas/Types/GraphCanvasGraphSerialization.cpp StaticLib/GraphCanvas/Types/GraphCanvasGraphSerialization.h - StaticLib/GraphCanvas/Types/SceneMemberComponentSaveData.h - StaticLib/GraphCanvas/Types/TranslationTypes.h + StaticLib/GraphCanvas/Types/SceneMemberComponentSaveData.h StaticLib/GraphCanvas/Types/Types.h StaticLib/GraphCanvas/Types/QtMetaTypes.h StaticLib/GraphCanvas/Widgets/Resources/default_style.json diff --git a/Gems/LmbrCentral/Assets/Editor/Icons/Components/AxisAlignedBoxShape.svg b/Gems/LmbrCentral/Assets/Editor/Icons/Components/AxisAlignedBoxShape.svg new file mode 100644 index 0000000000..0f3982d713 --- /dev/null +++ b/Gems/LmbrCentral/Assets/Editor/Icons/Components/AxisAlignedBoxShape.svg @@ -0,0 +1,3 @@ + + + diff --git a/Gems/LmbrCentral/Assets/Editor/Icons/Components/Viewport/AxisAlignedBoxShape.svg b/Gems/LmbrCentral/Assets/Editor/Icons/Components/Viewport/AxisAlignedBoxShape.svg new file mode 100644 index 0000000000..51f0be0572 --- /dev/null +++ b/Gems/LmbrCentral/Assets/Editor/Icons/Components/Viewport/AxisAlignedBoxShape.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationAreaComponent.cpp b/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationAreaComponent.cpp index f723918cf3..ed707ee9b3 100644 --- a/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationAreaComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationAreaComponent.cpp @@ -47,6 +47,7 @@ namespace LmbrCentral { editContext->Class("Navigation Area", "Navigation Area configuration") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") + ->Attribute(AZ::Edit::Attributes::AddableByUser, false) ->Attribute(AZ::Edit::Attributes::Category, "AI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/NavigationArea.svg") ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/NavigationArea.svg") diff --git a/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationSeedComponent.cpp b/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationSeedComponent.cpp index 47999dbd4b..8d8727e314 100644 --- a/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationSeedComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationSeedComponent.cpp @@ -32,6 +32,7 @@ namespace LmbrCentral editContext->Class("Navigation Seed", "Determines reachable navigation nodes") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) + ->Attribute(AZ::Edit::Attributes::AddableByUser, false) ->Attribute(AZ::Edit::Attributes::Category, "AI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/NavigationSeed.svg") ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/NavigationSeed.svg") diff --git a/Gems/LmbrCentral/Code/Source/Ai/NavigationComponent.cpp b/Gems/LmbrCentral/Code/Source/Ai/NavigationComponent.cpp index 500d5c17da..9798307d51 100644 --- a/Gems/LmbrCentral/Code/Source/Ai/NavigationComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Ai/NavigationComponent.cpp @@ -120,6 +120,7 @@ namespace LmbrCentral editContext->Class( "Navigation", "The Navigation component provides basic pathfinding and pathfollowing services to an entity") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") + ->Attribute(AZ::Edit::Attributes::AddableByUser, false) ->Attribute(AZ::Edit::Attributes::Category, "AI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Navigation.svg") ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Navigation.svg") diff --git a/Gems/LmbrCentral/Code/Source/Scripting/TagComponent.cpp b/Gems/LmbrCentral/Code/Source/Scripting/TagComponent.cpp index f2701473f3..7eb3c62b5d 100644 --- a/Gems/LmbrCentral/Code/Source/Scripting/TagComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Scripting/TagComponent.cpp @@ -92,7 +92,7 @@ namespace LmbrCentral ; behaviorContext->EBus("TagGlobalRequestBus") - ->Event("RequestTaggedEntities", &TagGlobalRequestBus::Events::RequestTaggedEntities) + ->Event("Get Entity By Tag", &TagGlobalRequestBus::Events::RequestTaggedEntities, "RequestTaggedEntities") ; behaviorContext->EBus("TagComponentNotificationsBus") diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorAxisAlignedBoxShapeComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorAxisAlignedBoxShapeComponent.cpp index c833677b1d..f78f2f048d 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorAxisAlignedBoxShapeComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorAxisAlignedBoxShapeComponent.cpp @@ -36,8 +36,8 @@ namespace LmbrCentral "Axis Aligned Box Shape", "The Axis Aligned Box Shape component creates a box around the associated entity") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") - ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Box_Shape.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Box_Shape.svg") + ->Attribute(AZ::Edit::Attributes::Icon, "Editor/Icons/Components/AxisAlignedBoxShape.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/AxisAlignedBoxShape.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC_CE("Game")) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/axis-aligned-box-shape/") diff --git a/Gems/LyShine/Code/Editor/EditorWindow.cpp b/Gems/LyShine/Code/Editor/EditorWindow.cpp index a4ad4d7043..7b60474ed5 100644 --- a/Gems/LyShine/Code/Editor/EditorWindow.cpp +++ b/Gems/LyShine/Code/Editor/EditorWindow.cpp @@ -8,6 +8,7 @@ #include "EditorCommon.h" #include "CanvasHelpers.h" #include "AssetDropHelpers.h" +#include #include #include #include @@ -697,15 +698,36 @@ bool EditorWindow::SaveCanvasToXml(UiCanvasMetadata& canvasMetadata, bool forceA else if (recentFiles.size() > 0) { dir = Path::GetPath(recentFiles.front()); - dir.append(canvasMetadata.m_canvasDisplayName.c_str()); } // Else go to the default canvas directory else { dir = FileHelpers::GetAbsoluteDir(UICANVASEDITOR_CANVAS_DIRECTORY); - dir.append(canvasMetadata.m_canvasDisplayName.c_str()); } + // Make sure the directory exists. If not, walk up the directory path until we find one that does + // so that we will have a consistent 'starting folder' in the 'AzQtComponents::FileDialog::GetSaveFileName' call + // across different platforms. + AZ::IO::FixedMaxPath dirPath(dir.toUtf8().constData()); + + while (!AZ::IO::SystemFile::IsDirectory(dirPath.c_str())) + { + AZ::IO::PathView parentPath = dirPath.ParentPath(); + if (parentPath == dirPath) + { + // We've reach the root path, need to break out whether or not + // the root path exists + break; + } + else + { + dirPath = parentPath; + } + } + // Append the default filename + dirPath /= canvasMetadata.m_canvasDisplayName; + dir = QString::fromUtf8(dirPath.c_str(), static_cast(dirPath.Native().size())); + QString filename = AzQtComponents::FileDialog::GetSaveFileName(nullptr, QString(), dir, diff --git a/Gems/LyShine/Code/Source/Draw2d.cpp b/Gems/LyShine/Code/Source/Draw2d.cpp index 3476c530b2..9a97f27592 100644 --- a/Gems/LyShine/Code/Source/Draw2d.cpp +++ b/Gems/LyShine/Code/Source/Draw2d.cpp @@ -497,7 +497,7 @@ void CDraw2d::SetSortKey(int64_t key) AZ::Vector2 CDraw2d::Align(AZ::Vector2 position, AZ::Vector2 size, HAlign horizontalAlignment, VAlign verticalAlignment) { - AZ::Vector2 result; + AZ::Vector2 result = AZ::Vector2::CreateZero(); switch (horizontalAlignment) { case HAlign::Left: diff --git a/Gems/LyShine/Code/Source/UiTextComponent.cpp b/Gems/LyShine/Code/Source/UiTextComponent.cpp index e18a9cefe2..698dcc2b5e 100644 --- a/Gems/LyShine/Code/Source/UiTextComponent.cpp +++ b/Gems/LyShine/Code/Source/UiTextComponent.cpp @@ -4936,7 +4936,7 @@ AZStd::string UiTextComponent::GetLocalizedText([[maybe_unused]] const AZStd::st //////////////////////////////////////////////////////////////////////////////////////////////////// AZ::Vector2 UiTextComponent::CalculateAlignedPositionWithYOffset(const UiTransformInterface::RectPoints& points) { - AZ::Vector2 pos; + AZ::Vector2 pos = AZ::Vector2::CreateZero(); const DrawBatchLines& drawBatchLines = GetDrawBatchLines(); size_t numLinesOfText = drawBatchLines.batchLines.size(); diff --git a/Gems/Multiplayer/Code/CMakeLists.txt b/Gems/Multiplayer/Code/CMakeLists.txt index 559fa23553..afe40408ab 100644 --- a/Gems/Multiplayer/Code/CMakeLists.txt +++ b/Gems/Multiplayer/Code/CMakeLists.txt @@ -86,44 +86,24 @@ ly_create_alias(NAME Multiplayer.Servers NAMESPACE Gem TARGETS Gem::Multiplayer if (PAL_TRAIT_BUILD_HOST_TOOLS) ly_add_target( - NAME Multiplayer.Builders.Static STATIC + NAME Multiplayer.Tools.Static STATIC NAMESPACE Gem FILES_CMAKE multiplayer_tools_files.cmake - COMPILE_DEFINITIONS - PUBLIC - MULTIPLAYER_TOOLS INCLUDE_DIRECTORIES PRIVATE - . - Source ${pal_source_dir} - PUBLIC - Include - BUILD_DEPENDENCIES - PUBLIC - AZ::AzToolsFramework - Gem::Multiplayer.Static - ) - - # by naming this target Multiplayer.Builders it ensures that it is loaded - # in any pipeline tools (Like Asset Processor, AssetBuilder, etc) - ly_add_target( - NAME Multiplayer.Builders GEM_MODULE - NAMESPACE Gem - FILES_CMAKE - multiplayer_tools_files.cmake - INCLUDE_DIRECTORIES - PRIVATE + AZ::AzNetworking Source . PUBLIC Include BUILD_DEPENDENCIES - PRIVATE - Gem::Multiplayer.Builders.Static - RUNTIME_DEPENDENCIES - Gem::Multiplayer.Editor + PUBLIC + AZ::AzCore + AZ::AzFramework + AZ::AzNetworking + AZ::AzToolsFramework ) ly_add_target( @@ -152,11 +132,12 @@ if (PAL_TRAIT_BUILD_HOST_TOOLS) Gem::Atom_RPI.Public Gem::Atom_RHI.Reflect Gem::Multiplayer.Static - Gem::Multiplayer.Builders + Gem::Multiplayer.Tools.Static ) - + + ly_create_alias(NAME Multiplayer.Builders NAMESPACE Gem TARGETS Gem::Multiplayer.Editor) # use the Multiplayer.Editor module in tools like the Editor: Such tools also get the visual debug view: - ly_create_alias(NAME Multiplayer.Tools NAMESPACE Gem TARGETS Gem::Multiplayer.Editor Gem::Multiplayer.Debug Gem::Multiplayer.Builders) + ly_create_alias(NAME Multiplayer.Tools NAMESPACE Gem TARGETS Gem::Multiplayer.Debug Gem::Multiplayer.Builders) endif() if (PAL_TRAIT_BUILD_TESTS_SUPPORTED) @@ -207,7 +188,8 @@ if (PAL_TRAIT_BUILD_TESTS_SUPPORTED) AZ::AzTest AZ::AzTestShared AZ::AzToolsFrameworkTestCommon - Gem::Multiplayer.Builders.Static + Gem::Multiplayer.Static + Gem::Multiplayer.Tools.Static ) ly_add_googletest( NAME Gem::Multiplayer.Builders.Tests diff --git a/Gems/Multiplayer/Code/Source/MultiplayerGem.cpp b/Gems/Multiplayer/Code/Source/MultiplayerGem.cpp index 030964d81c..830f0e2ef4 100644 --- a/Gems/Multiplayer/Code/Source/MultiplayerGem.cpp +++ b/Gems/Multiplayer/Code/Source/MultiplayerGem.cpp @@ -6,10 +6,9 @@ * */ +#include #include #include -#include -#include #include #include #include @@ -20,25 +19,32 @@ namespace Multiplayer MultiplayerModule::MultiplayerModule() : AZ::Module() { - m_descriptors.insert(m_descriptors.end(), { - AzNetworking::NetworkingSystemComponent::CreateDescriptor(), - MultiplayerSystemComponent::CreateDescriptor(), - NetBindComponent::CreateDescriptor(), - NetworkSpawnableHolderComponent::CreateDescriptor(), - }); + m_descriptors.insert( + m_descriptors.end(), + { + AzNetworking::NetworkingSystemComponent::CreateDescriptor(), + MultiplayerSystemComponent::CreateDescriptor(), + NetBindComponent::CreateDescriptor(), + NetworkSpawnableHolderComponent::CreateDescriptor(), +#ifdef MULTIPLAYER_EDITOR + MultiplayerToolsSystemComponent::CreateDescriptor(), +#endif + }); CreateComponentDescriptors(m_descriptors); } AZ::ComponentTypeList MultiplayerModule::GetRequiredSystemComponents() const { - return AZ::ComponentTypeList - { + return AZ::ComponentTypeList{ azrtti_typeid(), azrtti_typeid(), +#ifdef MULTIPLAYER_EDITOR + azrtti_typeid(), +#endif }; } -} +} // namespace Multiplayer #if !defined(MULTIPLAYER_EDITOR) AZ_DECLARE_MODULE_CLASS(Gem_Multiplayer, Multiplayer::MultiplayerModule); diff --git a/Gems/Multiplayer/Code/Source/MultiplayerToolsModule.cpp b/Gems/Multiplayer/Code/Source/MultiplayerToolsSystemComponent.cpp similarity index 66% rename from Gems/Multiplayer/Code/Source/MultiplayerToolsModule.cpp rename to Gems/Multiplayer/Code/Source/MultiplayerToolsSystemComponent.cpp index ecda82a31b..058517d5dc 100644 --- a/Gems/Multiplayer/Code/Source/MultiplayerToolsModule.cpp +++ b/Gems/Multiplayer/Code/Source/MultiplayerToolsSystemComponent.cpp @@ -6,7 +6,7 @@ * */ -#include +#include #include #include @@ -39,22 +39,4 @@ namespace Multiplayer { m_didProcessNetPrefabs = didProcessNetPrefabs; } - - MultiplayerToolsModule::MultiplayerToolsModule() - : AZ::Module() - { - m_descriptors.insert(m_descriptors.end(), { - MultiplayerToolsSystemComponent::CreateDescriptor(), - }); - } - - AZ::ComponentTypeList MultiplayerToolsModule::GetRequiredSystemComponents() const - { - return AZ::ComponentTypeList - { - azrtti_typeid(), - }; - } } // namespace Multiplayer - -AZ_DECLARE_MODULE_CLASS(Gem_Multiplayer_Tools, Multiplayer::MultiplayerToolsModule); diff --git a/Gems/Multiplayer/Code/Source/MultiplayerToolsModule.h b/Gems/Multiplayer/Code/Source/MultiplayerToolsSystemComponent.h similarity index 72% rename from Gems/Multiplayer/Code/Source/MultiplayerToolsModule.h rename to Gems/Multiplayer/Code/Source/MultiplayerToolsSystemComponent.h index d0a6a81afb..3c4f8ea7a3 100644 --- a/Gems/Multiplayer/Code/Source/MultiplayerToolsModule.h +++ b/Gems/Multiplayer/Code/Source/MultiplayerToolsSystemComponent.h @@ -37,19 +37,5 @@ namespace Multiplayer bool m_didProcessNetPrefabs = false; }; - - class MultiplayerToolsModule - : public AZ::Module - { - public: - - AZ_RTTI(MultiplayerToolsModule, "{3F726172-21FC-48FA-8CFA-7D87EBA07E55}", AZ::Module); - AZ_CLASS_ALLOCATOR(MultiplayerToolsModule, AZ::SystemAllocator, 0); - - MultiplayerToolsModule(); - ~MultiplayerToolsModule() override = default; - - AZ::ComponentTypeList GetRequiredSystemComponents() const override; - }; } // namespace Multiplayer diff --git a/Gems/Multiplayer/Code/multiplayer_tools_files.cmake b/Gems/Multiplayer/Code/multiplayer_tools_files.cmake index aa948f4e75..b180e239a2 100644 --- a/Gems/Multiplayer/Code/multiplayer_tools_files.cmake +++ b/Gems/Multiplayer/Code/multiplayer_tools_files.cmake @@ -10,6 +10,6 @@ set(FILES Include/Multiplayer/IMultiplayerTools.h Source/Pipeline/NetworkPrefabProcessor.cpp Source/Pipeline/NetworkPrefabProcessor.h - Source/MultiplayerToolsModule.h - Source/MultiplayerToolsModule.cpp + Source/MultiplayerToolsSystemComponent.cpp + Source/MultiplayerToolsSystemComponent.h ) diff --git a/Gems/PhysX/Assets/Editor/Icons/Components/PhysXHeightfieldCollider.svg b/Gems/PhysX/Assets/Editor/Icons/Components/PhysXHeightfieldCollider.svg new file mode 100644 index 0000000000..f616a26381 --- /dev/null +++ b/Gems/PhysX/Assets/Editor/Icons/Components/PhysXHeightfieldCollider.svg @@ -0,0 +1,3 @@ + + + diff --git a/Gems/PhysX/Assets/Editor/Icons/Components/Viewport/PhysXHeightfieldCollider.svg b/Gems/PhysX/Assets/Editor/Icons/Components/Viewport/PhysXHeightfieldCollider.svg new file mode 100644 index 0000000000..fbfed18e46 --- /dev/null +++ b/Gems/PhysX/Assets/Editor/Icons/Components/Viewport/PhysXHeightfieldCollider.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/Gems/PhysX/Code/CMakeLists.txt b/Gems/PhysX/Code/CMakeLists.txt index bb3d7c08a2..fcb2f8ab20 100644 --- a/Gems/PhysX/Code/CMakeLists.txt +++ b/Gems/PhysX/Code/CMakeLists.txt @@ -182,14 +182,6 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED) Gem::LmbrCentral ) - if(PAL_TRAIT_JOINTS_TYPED_TEST_CASE) - ly_add_source_properties( - SOURCES Tests/PhysXJointsTest.cpp - PROPERTY COMPILE_DEFINITIONS - VALUES ENABLE_JOINTS_TYPED_TEST_CASE - ) - endif() - ly_add_googletest( NAME Gem::PhysX.Tests ) diff --git a/Gems/PhysX/Code/Editor/ColliderComponentMode.cpp b/Gems/PhysX/Code/Editor/ColliderComponentMode.cpp index 5de625f679..e5e75d88a3 100644 --- a/Gems/PhysX/Code/Editor/ColliderComponentMode.cpp +++ b/Gems/PhysX/Code/Editor/ColliderComponentMode.cpp @@ -7,20 +7,20 @@ */ #include "ColliderComponentMode.h" +#include "ColliderAssetScaleMode.h" +#include "ColliderBoxMode.h" +#include "ColliderCapsuleMode.h" #include "ColliderOffsetMode.h" #include "ColliderRotationMode.h" -#include "ColliderBoxMode.h" #include "ColliderSphereMode.h" -#include "ColliderCapsuleMode.h" -#include "ColliderAssetScaleMode.h" #include #include #include +#include #include #include -#include namespace PhysX { @@ -31,7 +31,7 @@ namespace PhysX const AZ::Crc32 SetOffsetSubModeActionUri = AZ_CRC("com.o3de.action.physx.setoffsetsubmode", 0xc06132e5); const AZ::Crc32 SetRotationSubModeActionUri = AZ_CRC("com.o3de.action.physx.setrotationsubmode", 0xc4225918); const AZ::Crc32 ResetSubModeActionUri = AZ_CRC("com.o3de.action.physx.resetsubmode", 0xb70b120e); - } + } // namespace AZ_CLASS_ALLOCATOR_IMPL(ColliderComponentMode, AZ::SystemAllocator, 0); @@ -39,19 +39,17 @@ namespace PhysX : AzToolsFramework::ComponentModeFramework::EditorBaseComponentMode(entityComponentIdPair, componentType) { CreateSubModes(); + CreateSubModeSelectionCluster(); ColliderComponentModeRequestBus::Handler::BusConnect(entityComponentIdPair); ColliderComponentModeUiRequestBus::Handler::BusConnect(entityComponentIdPair); - - CreateSubModeSelectionCluster(); } ColliderComponentMode::~ColliderComponentMode() { - RemoveSubModeSelectionCluster(); - ColliderComponentModeUiRequestBus::Handler::BusDisconnect(); ColliderComponentModeRequestBus::Handler::BusDisconnect(); + RemoveSubModeSelectionCluster(); m_subModes[m_subMode]->Teardown(GetEntityComponentIdPair()); } @@ -62,39 +60,41 @@ namespace PhysX AZStd::vector ColliderComponentMode::PopulateActionsImpl() { - - AzToolsFramework::ActionOverride setDimensionsModeAction; - setDimensionsModeAction.SetUri(SetDimensionsSubModeActionUri); - setDimensionsModeAction.SetKeySequence(QKeySequence(Qt::Key_1)); - setDimensionsModeAction.SetTitle("Set Resize Mode"); - setDimensionsModeAction.SetTip("Set resize mode"); - setDimensionsModeAction.SetEntityComponentIdPair(GetEntityComponentIdPair()); - setDimensionsModeAction.SetCallback([this]() - { - SetCurrentMode(SubMode::Dimensions); - }); - AzToolsFramework::ActionOverride setOffsetModeAction; setOffsetModeAction.SetUri(SetOffsetSubModeActionUri); - setOffsetModeAction.SetKeySequence(QKeySequence(Qt::Key_2)); + setOffsetModeAction.SetKeySequence(QKeySequence(Qt::Key_1)); setOffsetModeAction.SetTitle("Set Offset Mode"); setOffsetModeAction.SetTip("Set offset mode"); setOffsetModeAction.SetEntityComponentIdPair(GetEntityComponentIdPair()); - setOffsetModeAction.SetCallback([this]() - { - SetCurrentMode(SubMode::Offset); - }); + setOffsetModeAction.SetCallback( + [this]() + { + SetCurrentMode(SubMode::Offset); + }); AzToolsFramework::ActionOverride setRotationModeAction; setRotationModeAction.SetUri(SetRotationSubModeActionUri); - setRotationModeAction.SetKeySequence(QKeySequence(Qt::Key_3)); + setRotationModeAction.SetKeySequence(QKeySequence(Qt::Key_2)); setRotationModeAction.SetTitle("Set Rotation Mode"); setRotationModeAction.SetTip("Set rotation mode"); setRotationModeAction.SetEntityComponentIdPair(GetEntityComponentIdPair()); - setRotationModeAction.SetCallback([this]() - { - SetCurrentMode(SubMode::Rotation); - }); + setRotationModeAction.SetCallback( + [this]() + { + SetCurrentMode(SubMode::Rotation); + }); + + AzToolsFramework::ActionOverride setDimensionsModeAction; + setDimensionsModeAction.SetUri(SetDimensionsSubModeActionUri); + setDimensionsModeAction.SetKeySequence(QKeySequence(Qt::Key_3)); + setDimensionsModeAction.SetTitle("Set Resize Mode"); + setDimensionsModeAction.SetTip("Set resize mode"); + setDimensionsModeAction.SetEntityComponentIdPair(GetEntityComponentIdPair()); + setDimensionsModeAction.SetCallback( + [this]() + { + SetCurrentMode(SubMode::Dimensions); + }); AzToolsFramework::ActionOverride resetModeAction; resetModeAction.SetUri(ResetSubModeActionUri); @@ -102,12 +102,13 @@ namespace PhysX resetModeAction.SetTitle("Reset Current Mode"); resetModeAction.SetTip("Reset current mode"); resetModeAction.SetEntityComponentIdPair(GetEntityComponentIdPair()); - resetModeAction.SetCallback([this]() - { - ResetCurrentMode(); - }); + resetModeAction.SetCallback( + [this]() + { + ResetCurrentMode(); + }); - return {setDimensionsModeAction, setOffsetModeAction, setRotationModeAction, resetModeAction }; + return { setDimensionsModeAction, setOffsetModeAction, setRotationModeAction, resetModeAction }; } void ColliderComponentMode::CreateSubModes() @@ -141,7 +142,7 @@ namespace PhysX if (mouseInteraction.m_mouseEvent == AzToolsFramework::ViewportInteraction::MouseEvent::Wheel && mouseInteraction.m_mouseInteraction.m_keyboardModifiers.Ctrl()) { - int direction = MouseWheelDelta(mouseInteraction) > 0.0f ? 1 : -1; + const int direction = MouseWheelDelta(mouseInteraction) > 0.0f ? -1 : 1; AZ::u32 currentModeIndex = static_cast(m_subMode); AZ::u32 numSubModes = static_cast(SubMode::NumModes); AZ::u32 nextModeIndex = (currentModeIndex + numSubModes + direction) % m_subModes.size(); @@ -159,10 +160,17 @@ namespace PhysX void ColliderComponentMode::SetCurrentMode(SubMode newMode) { - AZ_Assert(m_subModes.count(newMode) > 0, "Submode not found:%d", newMode); + AZ_Assert(m_subModes.find(newMode) != m_subModes.end(), "Submode not found:%d", newMode); m_subModes[m_subMode]->Teardown(GetEntityComponentIdPair()); m_subMode = newMode; m_subModes[m_subMode]->Setup(GetEntityComponentIdPair()); + + const auto modeIndex = static_cast(newMode); + AZ_Assert(modeIndex < m_buttonIds.size(), "Invalid mode index %i.", modeIndex); + AzToolsFramework::ViewportUi::ViewportUiRequestBus::Event( + AzToolsFramework::ViewportUi::DefaultViewportId, + &AzToolsFramework::ViewportUi::ViewportUiRequestBus::Events::SetClusterActiveButton, m_modeSelectionClusterId, + m_buttonIds[modeIndex]); } AzToolsFramework::ViewportUi::ClusterId ColliderComponentMode::GetClusterId() const @@ -172,36 +180,40 @@ namespace PhysX AzToolsFramework::ViewportUi::ButtonId ColliderComponentMode::GetOffsetButtonId() const { - return m_offsetModeButtonId; + return m_buttonIds[static_cast(SubMode::Offset)]; } AzToolsFramework::ViewportUi::ButtonId ColliderComponentMode::GetRotationButtonId() const { - return m_rotationModeButtonId; + return m_buttonIds[static_cast(SubMode::Rotation)]; } AzToolsFramework::ViewportUi::ButtonId ColliderComponentMode::GetDimensionsButtonId() const { - return m_dimensionsModeButtonId; + return m_buttonIds[static_cast(SubMode::Dimensions)]; + } + + AZStd::string ColliderComponentMode::GetComponentModeName() const + { + return "Collider Edit Mode"; } void RefreshUI() { /// The reason this is in a free function is because ColliderComponentMode /// privately inherits from ToolsApplicationNotificationBus. Trying to invoke - /// the bus inside the class scope causes the compiler to complain it's not accessible - /// to due private inheritence. - /// Using the global namespace operator :: should have fixed that, except there + /// the bus inside the class scope causes the compiler to complain it's not accessible + /// to due private inheritence. + /// Using the global namespace operator :: should have fixed that, except there /// is a bug in the microsoft compiler meaning it doesn't work. So this is a work around. AzToolsFramework::ToolsApplicationNotificationBus::Broadcast( - &AzToolsFramework::ToolsApplicationNotificationBus::Events::InvalidatePropertyDisplay, - AzToolsFramework::Refresh_Values); + &AzToolsFramework::ToolsApplicationNotificationBus::Events::InvalidatePropertyDisplay, AzToolsFramework::Refresh_Values); } void ColliderComponentMode::ResetCurrentMode() { m_subModes[m_subMode]->ResetValues(GetEntityComponentIdPair()); - m_subModes[m_subMode]->Refresh(GetEntityComponentIdPair()); + m_subModes[m_subMode]->Refresh(GetEntityComponentIdPair()); RefreshUI(); } @@ -225,8 +237,8 @@ namespace PhysX void ColliderComponentMode::RemoveSubModeSelectionCluster() { AzToolsFramework::ViewportUi::ViewportUiRequestBus::Event( - AzToolsFramework::ViewportUi::DefaultViewportId, - &AzToolsFramework::ViewportUi::ViewportUiRequestBus::Events::RemoveCluster, m_modeSelectionClusterId); + AzToolsFramework::ViewportUi::DefaultViewportId, &AzToolsFramework::ViewportUi::ViewportUiRequestBus::Events::RemoveCluster, + m_modeSelectionClusterId); } void ColliderComponentMode::CreateSubModeSelectionCluster() @@ -237,29 +249,37 @@ namespace PhysX &AzToolsFramework::ViewportUi::ViewportUiRequestBus::Events::CreateCluster, AzToolsFramework::ViewportUi::Alignment::TopLeft); // create and register the buttons - m_dimensionsModeButtonId = RegisterClusterButton(m_modeSelectionClusterId, "Scale"); - m_offsetModeButtonId = RegisterClusterButton(m_modeSelectionClusterId, "Move"); - m_rotationModeButtonId = RegisterClusterButton(m_modeSelectionClusterId, "Rotate"); + m_buttonIds.resize(static_cast(SubMode::NumModes)); + m_buttonIds[static_cast(SubMode::Offset)] = RegisterClusterButton(m_modeSelectionClusterId, "Move"); + m_buttonIds[static_cast(SubMode::Rotation)] = RegisterClusterButton(m_modeSelectionClusterId, "Rotate"); + m_buttonIds[static_cast(SubMode::Dimensions)] = RegisterClusterButton(m_modeSelectionClusterId, "Scale"); - const auto onButtonClicked = [this](AzToolsFramework::ViewportUi::ButtonId buttonId) { - if (buttonId == m_dimensionsModeButtonId) - { - SetCurrentMode(SubMode::Dimensions); - } - else if (buttonId == m_offsetModeButtonId) + SetCurrentMode(SubMode::Offset); + + const auto onButtonClicked = [this](AzToolsFramework::ViewportUi::ButtonId buttonId) + { + if (buttonId == m_buttonIds[static_cast(SubMode::Offset)]) { SetCurrentMode(SubMode::Offset); } - else if (buttonId == m_rotationModeButtonId) + else if (buttonId == m_buttonIds[static_cast(SubMode::Rotation)]) { SetCurrentMode(SubMode::Rotation); } + else if (buttonId == m_buttonIds[static_cast(SubMode::Dimensions)]) + { + SetCurrentMode(SubMode::Dimensions); + } + else + { + AZ_Error("PhysX Collider Component Mode", false, "Unrecognized button ID."); + } }; - + m_modeSelectionHandler = AZ::Event::Handler(onButtonClicked); AzToolsFramework::ViewportUi::ViewportUiRequestBus::Event( AzToolsFramework::ViewportUi::DefaultViewportId, - &AzToolsFramework::ViewportUi::ViewportUiRequestBus::Events::RegisterClusterEventHandler, - m_modeSelectionClusterId, m_modeSelectionHandler); + &AzToolsFramework::ViewportUi::ViewportUiRequestBus::Events::RegisterClusterEventHandler, m_modeSelectionClusterId, + m_modeSelectionHandler); } -} +} // namespace PhysX diff --git a/Gems/PhysX/Code/Editor/ColliderComponentMode.h b/Gems/PhysX/Code/Editor/ColliderComponentMode.h index b4ca060065..a756075513 100644 --- a/Gems/PhysX/Code/Editor/ColliderComponentMode.h +++ b/Gems/PhysX/Code/Editor/ColliderComponentMode.h @@ -31,21 +31,23 @@ namespace PhysX ColliderComponentMode(const AZ::EntityComponentIdPair& entityComponentIdPair, AZ::Uuid componentType); ~ColliderComponentMode(); - // EditorBaseComponentMode ... + // EditorBaseComponentMode overrides ... void Refresh() override; AZStd::vector PopulateActionsImpl() override; AZStd::vector PopulateViewportUiImpl() override; - // ColliderComponentModeBus ... + // ColliderComponentModeBus overrides ... SubMode GetCurrentMode() override; void SetCurrentMode(SubMode index) override; - // ColliderComponentModeUiBus ... + // ColliderComponentModeUiBus overrides ... AzToolsFramework::ViewportUi::ButtonId GetOffsetButtonId() const override; AzToolsFramework::ViewportUi::ButtonId GetRotationButtonId() const override; AzToolsFramework::ViewportUi::ClusterId GetClusterId() const override; AzToolsFramework::ViewportUi::ButtonId GetDimensionsButtonId() const override; + // ComponentMode overrides ... + AZStd::string GetComponentModeName() const override; private: // AzToolsFramework::ViewportInteraction::ViewportSelectionRequests ... @@ -63,12 +65,9 @@ namespace PhysX AzToolsFramework::ViewportUi::ClusterId m_modeSelectionClusterId; //!< Viewport UI cluster for changing sub mode. - AzToolsFramework::ViewportUi::ButtonId - m_dimensionsModeButtonId; //!< Id of the Viewport UI button for resize/dimensions mode. - AzToolsFramework::ViewportUi::ButtonId - m_offsetModeButtonId; //!< Id of the Viewport UI button for offset mode. - AzToolsFramework::ViewportUi::ButtonId - m_rotationModeButtonId; //!< Id of the Viewport UI button for rotation mode. + + AZStd::vector m_buttonIds; //!< Ids for the Viewport UI buttons for each mode. + AZ::Event::Handler m_modeSelectionHandler; //!< Event handler for sub mode changes. }; diff --git a/Gems/PhysX/Code/Editor/ColliderComponentModeBus.h b/Gems/PhysX/Code/Editor/ColliderComponentModeBus.h index 289215067a..05072f699a 100644 --- a/Gems/PhysX/Code/Editor/ColliderComponentModeBus.h +++ b/Gems/PhysX/Code/Editor/ColliderComponentModeBus.h @@ -19,9 +19,9 @@ namespace PhysX public: enum class SubMode : AZ::u32 { - Dimensions, Offset, Rotation, + Dimensions, NumModes }; diff --git a/Gems/PhysX/Code/Editor/EditorJointConfiguration.cpp b/Gems/PhysX/Code/Editor/EditorJointConfiguration.cpp index 02e684de63..166c44de22 100644 --- a/Gems/PhysX/Code/Editor/EditorJointConfiguration.cpp +++ b/Gems/PhysX/Code/Editor/EditorJointConfiguration.cpp @@ -11,6 +11,7 @@ #include #include #include +#include namespace { @@ -213,7 +214,7 @@ namespace PhysX if (auto* serializeContext = azrtti_cast(context)) { serializeContext->Class() - ->Version(4, &EditorJointConfig::VersionConverter) + ->Version(5, &EditorJointConfig::VersionConverter) ->Field("Local Position", &EditorJointConfig::m_localPosition) ->Field("Local Rotation", &EditorJointConfig::m_localRotation) ->Field("Parent Entity", &EditorJointConfig::m_leadEntity) @@ -228,6 +229,12 @@ namespace PhysX if (auto* editContext = serializeContext->GetEditContext()) { + editContext->Enum("Joint Display Setup State", "Options for displaying joint setup.") + ->Value("Never", EditorJointConfig::DisplaySetupState::Never) + ->Value("Selected", EditorJointConfig::DisplaySetupState::Selected) + ->Value("Always", EditorJointConfig::DisplaySetupState::Always) + ; + editContext->Class( "PhysX Joint Configuration", "") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") @@ -244,8 +251,11 @@ namespace PhysX ->Attribute(AZ::Edit::Attributes::ChangeNotify, &EditorJointConfig::ValidateLeadEntityId) ->DataElement(0, &PhysX::EditorJointConfig::m_selfCollide, "Lead-Follower Collide" , "When active, the lead and follower pair will collide with each other.") - ->DataElement(0, &PhysX::EditorJointConfig::m_displayJointSetup, "Display Setup in Viewport" - , "Display joint setup in the viewport.") + ->DataElement( + AZ::Edit::UIHandlers::ComboBox, &PhysX::EditorJointConfig::m_displayJointSetup, "Display Setup in Viewport" + , "Never = Not shown." + "Select = Show setup display when entity is selected." + "Always = Always show setup display.") ->Attribute(AZ::Edit::Attributes::ReadOnly, &EditorJointConfig::IsInComponentMode) ->DataElement(0, &PhysX::EditorJointConfig::m_selectLeadOnSnap, "Select Lead on Snap" , "Select lead entity on snap to position in component mode.") @@ -306,6 +316,23 @@ namespace PhysX m_followerEntity); } + bool EditorJointConfig::ShowSetupDisplay() const + { + switch(m_displayJointSetup) + { + case DisplaySetupState::Always: + return true; + case DisplaySetupState::Selected: + { + bool showSetup = false; + AzToolsFramework::EditorEntityInfoRequestBus::EventResult( + showSetup, m_followerEntity, &AzToolsFramework::EditorEntityInfoRequests::IsSelected); + return showSetup; + } + } + return false; + } + bool EditorJointConfig::IsInComponentMode() const { return m_inComponentMode; @@ -343,6 +370,31 @@ namespace PhysX } } + // convert m_displayJointSetup from a bool to the enum with the option Never,Selected,Always show joint setup helpers. + if (classElement.GetVersion() <= 4) + { + // get the current bool setting and remove it. + bool oldSetting = false; + const int displayJointSetupIndex = classElement.FindElement(AZ_CRC_CE("Display Debug")); + if (displayJointSetupIndex >= 0) + { + AZ::SerializeContext::DataElementNode& elementNode = classElement.GetSubElement(displayJointSetupIndex); + elementNode.GetData(oldSetting); + classElement.RemoveElement(displayJointSetupIndex); + } + + //if the old setting was on set it to 'Selected'. otherwise 'Never' + if (oldSetting) + { + classElement.AddElementWithData(context, "Display Debug", EditorJointConfig::DisplaySetupState::Selected); + } + else + { + classElement.AddElementWithData(context, "Display Debug", EditorJointConfig::DisplaySetupState::Never); + } + } + + return result; } diff --git a/Gems/PhysX/Code/Editor/EditorJointConfiguration.h b/Gems/PhysX/Code/Editor/EditorJointConfiguration.h index 89ab31e4a7..f3dcd4afed 100644 --- a/Gems/PhysX/Code/Editor/EditorJointConfiguration.h +++ b/Gems/PhysX/Code/Editor/EditorJointConfiguration.h @@ -100,12 +100,21 @@ namespace PhysX AZ_TYPE_INFO(EditorJointConfig, "{8A966D65-CA97-4786-A13C-ACAA519D97EA}"); static void Reflect(AZ::ReflectContext* context); + enum class DisplaySetupState : AZ::u8 + { + Never = 0, + Selected, + Always + }; + void SetLeadEntityId(AZ::EntityId leadEntityId); JointGenericProperties ToGenericProperties() const; JointComponentConfiguration ToGameTimeConfig() const; + bool ShowSetupDisplay() const; + bool m_breakable = false; - bool m_displayJointSetup = false; + DisplaySetupState m_displayJointSetup = DisplaySetupState::Selected; bool m_inComponentMode = false; bool m_selectLeadOnSnap = true; bool m_selfCollide = false; @@ -129,3 +138,8 @@ namespace PhysX }; } // namespace PhysX + +namespace AZ +{ + AZ_TYPE_INFO_SPECIALIZE(PhysX::EditorJointConfig::DisplaySetupState, "{17EBE6BD-289A-4326-8A24-DCE3B7FEC51E}"); +} // namespace AZ diff --git a/Gems/PhysX/Code/Source/EditorBallJointComponent.cpp b/Gems/PhysX/Code/Source/EditorBallJointComponent.cpp index fa71fa0061..d7065a869d 100644 --- a/Gems/PhysX/Code/Source/EditorBallJointComponent.cpp +++ b/Gems/PhysX/Code/Source/EditorBallJointComponent.cpp @@ -215,7 +215,7 @@ namespace PhysX { EditorJointComponent::DisplayEntityViewport(viewportInfo, debugDisplay); - if (!m_config.m_displayJointSetup && + if (!m_config.ShowSetupDisplay() && !m_config.m_inComponentMode) { return; diff --git a/Gems/PhysX/Code/Source/EditorColliderComponent.cpp b/Gems/PhysX/Code/Source/EditorColliderComponent.cpp index 262e40cb99..7e1d1c341f 100644 --- a/Gems/PhysX/Code/Source/EditorColliderComponent.cpp +++ b/Gems/PhysX/Code/Source/EditorColliderComponent.cpp @@ -760,7 +760,7 @@ namespace PhysX if (asset == m_shapeConfiguration.m_physicsAsset.m_pxAsset) { m_shapeConfiguration.m_physicsAsset.m_pxAsset = asset; - m_shapeConfiguration.m_physicsAsset.m_configuration.m_asset = m_shapeConfiguration.m_physicsAsset.m_pxAsset; + m_shapeConfiguration.m_physicsAsset.m_configuration.m_asset = asset; UpdateMaterialSlotsFromMeshAsset(); CreateStaticEditorCollider(); @@ -785,7 +785,9 @@ namespace PhysX { const PhysX::EditorRigidBodyComponent* entityRigidbody = m_entity->FindComponent(); - if (m_shapeConfiguration.m_physicsAsset.m_pxAsset && (m_shapeConfiguration.m_shapeType == Physics::ShapeType::PhysicsAsset) && entityRigidbody) + if (entityRigidbody && + m_shapeConfiguration.m_shapeType == Physics::ShapeType::PhysicsAsset && + m_shapeConfiguration.m_physicsAsset.m_pxAsset.IsReady()) { AZStd::vector> shapes; Utils::GetShapesFromAsset(m_shapeConfiguration.m_physicsAsset.m_configuration, m_configuration, m_hasNonUniformScale, diff --git a/Gems/PhysX/Code/Source/EditorHeightfieldColliderComponent.cpp b/Gems/PhysX/Code/Source/EditorHeightfieldColliderComponent.cpp index 0f09258524..fb0a38fa18 100644 --- a/Gems/PhysX/Code/Source/EditorHeightfieldColliderComponent.cpp +++ b/Gems/PhysX/Code/Source/EditorHeightfieldColliderComponent.cpp @@ -34,8 +34,8 @@ namespace PhysX "PhysX Heightfield Collider", "Creates geometry in the PhysX simulation based on an attached heightfield component") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "PhysX") - ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/PhysXCollider.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/PhysXCollider.svg") + ->Attribute(AZ::Edit::Attributes::Icon, "Editor/Icons/Components/PhysXHeightfieldCollider.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/PhysXHeightfieldCollider.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC_CE("Game")) ->Attribute( AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/physx/heightfield-collider/") diff --git a/Gems/PhysX/Code/Source/EditorHingeJointComponent.cpp b/Gems/PhysX/Code/Source/EditorHingeJointComponent.cpp index 1b575074e2..f009c990b4 100644 --- a/Gems/PhysX/Code/Source/EditorHingeJointComponent.cpp +++ b/Gems/PhysX/Code/Source/EditorHingeJointComponent.cpp @@ -211,7 +211,7 @@ namespace PhysX { EditorJointComponent::DisplayEntityViewport(viewportInfo, debugDisplay); - if (!m_config.m_displayJointSetup && + if (!m_config.ShowSetupDisplay() && !m_config.m_inComponentMode) { return; diff --git a/Gems/PhysX/Code/Source/PhysXCharacters/API/CharacterUtils.cpp b/Gems/PhysX/Code/Source/PhysXCharacters/API/CharacterUtils.cpp index 4ed2825cc2..46f4c04880 100644 --- a/Gems/PhysX/Code/Source/PhysXCharacters/API/CharacterUtils.cpp +++ b/Gems/PhysX/Code/Source/PhysXCharacters/API/CharacterUtils.cpp @@ -344,6 +344,55 @@ namespace PhysX bool isAcceleration = true; return physx::PxD6JointDrive(stiffness, damping, forceLimit, isAcceleration); } + + AZStd::vector ComputeHierarchyDepths(const AZStd::vector& parentIndices) + { + const size_t numNodes = parentIndices.size(); + AZStd::vector nodeDepths(numNodes); + for (size_t nodeIndex = 0; nodeIndex < numNodes; nodeIndex++) + { + nodeDepths[nodeIndex] = { -1, nodeIndex }; + } + + for (size_t nodeIndex = 0; nodeIndex < numNodes; nodeIndex++) + { + if (nodeDepths[nodeIndex].m_depth != -1) + { + continue; + } + int depth = -1; // initial depth value for this node + int ancestorDepth = 0; // the depth of the first ancestor we find when iteratively visiting parents + bool ancestorFound = false; // whether we have found either an ancestor which already has a depth value, or the root + size_t currentIndex = nodeIndex; + while (!ancestorFound) + { + depth++; + if (depth > numNodes) + { + AZ_Error("PhysX Ragdoll", false, "Loop detected in hierarchy depth computation."); + return nodeDepths; + } + const size_t parentIndex = parentIndices[currentIndex]; + + if (parentIndex >= numNodes || nodeDepths[currentIndex].m_depth != -1) + { + ancestorFound = true; + ancestorDepth = (nodeDepths[currentIndex].m_depth != -1) ? nodeDepths[currentIndex].m_depth : 0; + } + + currentIndex = parentIndex; + } + + currentIndex = nodeIndex; + for (int i = depth; i >= 0; i--) + { + nodeDepths[currentIndex] = { ancestorDepth + i, currentIndex }; + currentIndex = parentIndices[currentIndex]; + } + } + + return nodeDepths; + } } // namespace Characters } // namespace Utils } // namespace PhysX diff --git a/Gems/PhysX/Code/Source/PhysXCharacters/API/CharacterUtils.h b/Gems/PhysX/Code/Source/PhysXCharacters/API/CharacterUtils.h index 0f51a5d9b9..245dc01abd 100644 --- a/Gems/PhysX/Code/Source/PhysXCharacters/API/CharacterUtils.h +++ b/Gems/PhysX/Code/Source/PhysXCharacters/API/CharacterUtils.h @@ -49,6 +49,18 @@ namespace PhysX //! @param forceLimit The upper limit on the force the joint can apply to reach its target. //! @return The created joint drive. physx::PxD6JointDrive CreateD6JointDrive(float strength, float dampingRatio, float forceLimit); + + //! Contains information about a node in a hierarchy and how deep it is in the hierarchy relative to the root. + struct DepthData + { + int m_depth = -1; //!< Depth of the joint in the hierarchy. The root has depth 0, its children depth 1, and so on. + size_t m_index = 0; // ComputeHierarchyDepths(const AZStd::vector& parentIndices); } // namespace Characters } // namespace Utils } // namespace PhysX diff --git a/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.cpp b/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.cpp index 57972fea3e..7615a175d1 100644 --- a/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.cpp +++ b/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.cpp @@ -7,20 +7,20 @@ */ #include -#include #include -#include #include +#include +#include #include +#include #include #include -#include +#include #include namespace PhysX { - bool RagdollComponent::VersionConverter(AZ::SerializeContext& context, - AZ::SerializeContext::DataElementNode& classElement) + bool RagdollComponent::VersionConverter(AZ::SerializeContext& context, AZ::SerializeContext::DataElementNode& classElement) { // The element "PhysXRagdoll" was changed from a shared pointer to a unique pointer, but a version converter was // not added at the time. This means there may be serialized data with either the shared or unique pointer, but @@ -76,13 +76,13 @@ namespace PhysX ->Field("EnableJointProjection", &RagdollComponent::m_enableJointProjection) ->Field("ProjectionLinearTol", &RagdollComponent::m_jointProjectionLinearTolerance) ->Field("ProjectionAngularTol", &RagdollComponent::m_jointProjectionAngularToleranceDegrees) - ; + ->Field("EnableMassRatioClamping", &RagdollComponent::m_enableMassRatioClamping) + ->Field("MaxMassRatio", &RagdollComponent::m_maxMassRatio); AZ::EditContext* editContext = serializeContext->GetEditContext(); if (editContext) { - editContext->Class( - "PhysX Ragdoll", "Creates a PhysX ragdoll simulation for an animation actor.") + editContext->Class("PhysX Ragdoll", "Creates a PhysX ragdoll simulation for an animation actor.") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "PhysX") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/PhysXRagdoll.svg") @@ -90,34 +90,49 @@ namespace PhysX ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/physx/ragdoll/") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) - ->DataElement(AZ::Edit::UIHandlers::Default, &RagdollComponent::m_positionIterations, "Position Iteration Count", + ->DataElement( + AZ::Edit::UIHandlers::Default, &RagdollComponent::m_positionIterations, "Position Iteration Count", "The frequency at which ragdoll collider positions are resolved. Higher values can increase fidelity but decrease " "performance. Very high values might introduce instability.") ->Attribute(AZ::Edit::Attributes::Min, 1) ->Attribute(AZ::Edit::Attributes::Max, 255) - ->DataElement(AZ::Edit::UIHandlers::Default, &RagdollComponent::m_velocityIterations, "Velocity Iteration Count", + ->DataElement( + AZ::Edit::UIHandlers::Default, &RagdollComponent::m_velocityIterations, "Velocity Iteration Count", "The frequency at which ragdoll collider velocities are resolved. Higher values can increase fidelity but decrease " "performance. Very high values might introduce instability.") ->Attribute(AZ::Edit::Attributes::Min, 1) ->Attribute(AZ::Edit::Attributes::Max, 255) - ->DataElement(AZ::Edit::UIHandlers::Default, &RagdollComponent::m_enableJointProjection, - "Enable Joint Projection", "When active, preserves joint constraints in volatile simulations. " + ->DataElement( + AZ::Edit::UIHandlers::Default, &RagdollComponent::m_enableJointProjection, "Enable Joint Projection", + "When active, preserves joint constraints in volatile simulations. " "Might not be physically correct in all simulations.") ->Attribute(AZ::Edit::Attributes::ChangeNotify, AZ::Edit::PropertyRefreshLevels::EntireTree) - ->DataElement(AZ::Edit::UIHandlers::Default, &RagdollComponent::m_jointProjectionLinearTolerance, + ->DataElement( + AZ::Edit::UIHandlers::Default, &RagdollComponent::m_jointProjectionLinearTolerance, "Joint Projection Linear Tolerance", "Maximum linear joint error. Projection is applied to linear joint errors above this value.") ->Attribute(AZ::Edit::Attributes::Min, 0.0f) ->Attribute(AZ::Edit::Attributes::Step, 1e-3f) ->Attribute(AZ::Edit::Attributes::Visibility, &RagdollComponent::IsJointProjectionVisible) - ->DataElement(AZ::Edit::UIHandlers::Default, &RagdollComponent::m_jointProjectionAngularToleranceDegrees, + ->DataElement( + AZ::Edit::UIHandlers::Default, &RagdollComponent::m_jointProjectionAngularToleranceDegrees, "Joint Projection Angular Tolerance", "Maximum angular joint error. Projection is applied to angular joint errors above this value.") ->Attribute(AZ::Edit::Attributes::Min, 0.0f) ->Attribute(AZ::Edit::Attributes::Step, 0.1f) ->Attribute(AZ::Edit::Attributes::Suffix, " degrees") ->Attribute(AZ::Edit::Attributes::Visibility, &RagdollComponent::IsJointProjectionVisible) - ; + ->DataElement( + AZ::Edit::UIHandlers::Default, &RagdollComponent::m_enableMassRatioClamping, "Enable Mass Ratio Clamping", + "When active, ragdoll node mass values may be overridden to avoid unstable mass ratios.") + ->Attribute(AZ::Edit::Attributes::ChangeNotify, AZ::Edit::PropertyRefreshLevels::EntireTree) + ->DataElement( + AZ::Edit::UIHandlers::Default, &RagdollComponent::m_maxMassRatio, "Maximum Mass Ratio", + "The mass of the child body of a joint may be clamped to avoid its ratio with the parent " + "body mass exceeding this threshold.") + ->Attribute(AZ::Edit::Attributes::Min, 1.0f) + ->Attribute(AZ::Edit::Attributes::Step, 0.1f) + ->Attribute(AZ::Edit::Attributes::Visibility, &RagdollComponent::IsMaxMassRatioVisible); } } @@ -126,11 +141,16 @@ namespace PhysX } } - bool RagdollComponent::IsJointProjectionVisible() + bool RagdollComponent::IsJointProjectionVisible() const { return m_enableJointProjection; } + bool RagdollComponent::IsMaxMassRatioVisible() const + { + return m_enableMassRatioClamping; + } + // AZ::Component void RagdollComponent::Init() { @@ -272,7 +292,6 @@ namespace PhysX return ragdoll->IsSimulated(); } return false; - } AZ::Aabb RagdollComponent::GetAabb() const @@ -318,20 +337,19 @@ namespace PhysX if (numNodes == 0) { - AZ_Error("PhysX Ragdoll Component", false, - "Ragdoll configuration has 0 nodes, ragdoll will not be created for entity \"%s\".", + AZ_Error( + "PhysX Ragdoll Component", false, "Ragdoll configuration has 0 nodes, ragdoll will not be created for entity \"%s\".", GetEntity()->GetName().c_str()); return; } - ragdollConfiguration.m_parentIndices.resize(numNodes); for (size_t nodeIndex = 0; nodeIndex < numNodes; nodeIndex++) { AZStd::string parentName; AZStd::string nodeName = ragdollConfiguration.m_nodes[nodeIndex].m_debugName; - AzFramework::CharacterPhysicsDataRequestBus::EventResult(parentName, GetEntityId(), - &AzFramework::CharacterPhysicsDataRequests::GetParentNodeName, nodeName); + AzFramework::CharacterPhysicsDataRequestBus::EventResult( + parentName, GetEntityId(), &AzFramework::CharacterPhysicsDataRequests::GetParentNodeName, nodeName); AZ::Outcome parentIndex = Utils::Characters::GetNodeIndex(ragdollConfiguration, parentName); ragdollConfiguration.m_parentIndices[nodeIndex] = parentIndex ? parentIndex.GetValue() : SIZE_MAX; @@ -339,8 +357,8 @@ namespace PhysX } Physics::RagdollState bindPose; - AzFramework::CharacterPhysicsDataRequestBus::EventResult(bindPose, GetEntityId(), - &AzFramework::CharacterPhysicsDataRequests::GetBindPose, ragdollConfiguration); + AzFramework::CharacterPhysicsDataRequestBus::EventResult( + bindPose, GetEntityId(), &AzFramework::CharacterPhysicsDataRequests::GetBindPose, ragdollConfiguration); AZ::Transform entityTransform = AZ::Transform::CreateIdentity(); AZ::TransformBus::EventResult(entityTransform, GetEntityId(), &AZ::TransformBus::Events::GetWorldTM); @@ -354,13 +372,12 @@ namespace PhysX m_ragdollHandle = sceneInterface->AddSimulatedBody(m_attachedSceneHandle, &ragdollConfiguration); } auto* ragdoll = GetPhysXRagdoll(); - if (ragdoll == nullptr || - m_ragdollHandle == AzPhysics::InvalidSimulatedBodyHandle) + if (ragdoll == nullptr || m_ragdollHandle == AzPhysics::InvalidSimulatedBodyHandle) { AZ_Error("PhysX Ragdoll Component", false, "Failed to create ragdoll."); return; } - + for (size_t nodeIndex = 0; nodeIndex < numNodes; nodeIndex++) { if (physx::PxRigidDynamic* pxRigidBody = ragdoll->GetPxRigidDynamic(nodeIndex)) @@ -389,17 +406,63 @@ namespace PhysX } } + // If mass ratio clamping is enabled, iterate out from the root and clamp mass values + if (m_enableMassRatioClamping) + { + const float maxMassRatio = AZStd::GetMax(1.0f + AZ::Constants::FloatEpsilon, m_maxMassRatio); + + // figure out the depth of each node in the tree, so that nodes can be visited from the root outwards + AZStd::vector nodeDepths = + Utils::Characters::ComputeHierarchyDepths(ragdollConfiguration.m_parentIndices); + + AZStd::sort( + nodeDepths.begin(), nodeDepths.end(), + [](const Utils::Characters::DepthData& d1, const Utils::Characters::DepthData& d2) + { + return d1.m_depth < d2.m_depth; + }); + + bool massesClamped = false; + for (const auto& nodeDepth : nodeDepths) + { + const size_t nodeIndex = nodeDepth.m_index; + const size_t parentIndex = ragdollConfiguration.m_parentIndices[nodeIndex]; + if (parentIndex < numNodes) + { + AzPhysics::RigidBody& nodeRigidBody = ragdoll->GetNode(nodeIndex)->GetRigidBody(); + const float originalMass = nodeRigidBody.GetMass(); + const float parentMass = ragdoll->GetNode(parentIndex)->GetRigidBody().GetMass(); + const float minMass = parentMass / maxMassRatio; + const float maxMass = parentMass; + if (originalMass < minMass || originalMass > maxMass) + { + const float clampedMass = AZStd::clamp(originalMass, minMass, maxMass); + nodeRigidBody.SetMass(clampedMass); + massesClamped = true; + if (!AZ::IsClose(originalMass, 0.0f)) + { + // scale the inertia proportionally to how the mass was modified + auto pxRigidBody = static_cast(nodeRigidBody.GetNativePointer()); + pxRigidBody->setMassSpaceInertiaTensor(clampedMass / originalMass * pxRigidBody->getMassSpaceInertiaTensor()); + } + } + } + } + + AZ_WarningOnce("PhysX Ragdoll", !massesClamped, + "Mass values for ragdoll on entity \"%s\" were modified based on max mass ratio setting to avoid instability.", + GetEntity()->GetName().c_str()); + } + AzFramework::RagdollPhysicsRequestBus::Handler::BusConnect(GetEntityId()); AzPhysics::SimulatedBodyComponentRequestsBus::Handler::BusConnect(GetEntityId()); - AzFramework::RagdollPhysicsNotificationBus::Event(GetEntityId(), - &AzFramework::RagdollPhysicsNotifications::OnRagdollActivated); + AzFramework::RagdollPhysicsNotificationBus::Event(GetEntityId(), &AzFramework::RagdollPhysicsNotifications::OnRagdollActivated); } void RagdollComponent::DestroyRagdoll() { - if (m_ragdollHandle != AzPhysics::InvalidSimulatedBodyHandle && - m_attachedSceneHandle != AzPhysics::InvalidSceneHandle) + if (m_ragdollHandle != AzPhysics::InvalidSimulatedBodyHandle && m_attachedSceneHandle != AzPhysics::InvalidSceneHandle) { AzFramework::RagdollPhysicsRequestBus::Handler::BusDisconnect(); AzFramework::RagdollPhysicsNotificationBus::Event( @@ -421,8 +484,7 @@ namespace PhysX const Ragdoll* RagdollComponent::GetPhysXRagdollConst() const { - if (m_ragdollHandle == AzPhysics::InvalidSimulatedBodyHandle || - m_attachedSceneHandle == AzPhysics::InvalidSceneHandle) + if (m_ragdollHandle == AzPhysics::InvalidSimulatedBodyHandle || m_attachedSceneHandle == AzPhysics::InvalidSceneHandle) { return nullptr; } diff --git a/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.h b/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.h index 63dd1354dd..3ef59bf623 100644 --- a/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.h +++ b/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.h @@ -103,7 +103,8 @@ namespace PhysX Ragdoll* GetPhysXRagdoll(); const Ragdoll* GetPhysXRagdollConst() const; - bool IsJointProjectionVisible(); + bool IsJointProjectionVisible() const; + bool IsMaxMassRatioVisible() const; AzPhysics::SimulatedBodyHandle m_ragdollHandle = AzPhysics::InvalidSimulatedBodyHandle; AzPhysics::SceneHandle m_attachedSceneHandle = AzPhysics::InvalidSceneHandle; @@ -119,5 +120,9 @@ namespace PhysX float m_jointProjectionLinearTolerance = 1e-3f; /// Angular joint error (in degrees) above which projection will be applied. float m_jointProjectionAngularToleranceDegrees = 1.0f; + /// Allows ragdoll node mass values to be overridden to avoid unstable mass ratios. + bool m_enableMassRatioClamping = false; + /// If mass ratio clamping is enabled, masses will be clamped to within this ratio. + float m_maxMassRatio = 2.0f; }; } // namespace PhysX diff --git a/Gems/PhysX/Code/Source/Platform/Android/PAL_android.cmake b/Gems/PhysX/Code/Source/Platform/Android/PAL_android.cmake index e6a2b35d36..1d078bb505 100644 --- a/Gems/PhysX/Code/Source/Platform/Android/PAL_android.cmake +++ b/Gems/PhysX/Code/Source/Platform/Android/PAL_android.cmake @@ -7,5 +7,3 @@ # set(PAL_TRAIT_PHYSX_SUPPORTED TRUE) -set(PAL_TRAIT_JOINTS_TYPED_TEST_CASE FALSE) - diff --git a/Gems/PhysX/Code/Source/Platform/Linux/PAL_linux.cmake b/Gems/PhysX/Code/Source/Platform/Linux/PAL_linux.cmake index 0d9c4f1e3a..43c92ab916 100644 --- a/Gems/PhysX/Code/Source/Platform/Linux/PAL_linux.cmake +++ b/Gems/PhysX/Code/Source/Platform/Linux/PAL_linux.cmake @@ -7,7 +7,6 @@ # set(PAL_TRAIT_PHYSX_SUPPORTED TRUE) -set(PAL_TRAIT_JOINTS_TYPED_TEST_CASE FALSE) if(PAL_TRAIT_BUILD_HOST_TOOLS) ly_associate_package(PACKAGE_NAME poly2tri-7f0487a-rev1-linux TARGETS poly2tri PACKAGE_HASH b16eef8f0bc469de0e3056d28d7484cf42659667e39b68b239f0d3a4cbb533d0) diff --git a/Gems/PhysX/Code/Source/Platform/Mac/PAL_mac.cmake b/Gems/PhysX/Code/Source/Platform/Mac/PAL_mac.cmake index 141a80ae59..992280bceb 100644 --- a/Gems/PhysX/Code/Source/Platform/Mac/PAL_mac.cmake +++ b/Gems/PhysX/Code/Source/Platform/Mac/PAL_mac.cmake @@ -7,7 +7,6 @@ # set(PAL_TRAIT_PHYSX_SUPPORTED TRUE) -set(PAL_TRAIT_JOINTS_TYPED_TEST_CASE FALSE) if(PAL_TRAIT_BUILD_HOST_TOOLS) ly_associate_package(PACKAGE_NAME poly2tri-7f0487a-rev1-mac TARGETS poly2tri PACKAGE_HASH 23e49e6b06d79327985d17b40bff20ab202519c283a842378f5f1791c1bf8dbc) diff --git a/Gems/PhysX/Code/Source/Platform/Windows/PAL_windows.cmake b/Gems/PhysX/Code/Source/Platform/Windows/PAL_windows.cmake index 7abd7ab9e9..336bb89c40 100644 --- a/Gems/PhysX/Code/Source/Platform/Windows/PAL_windows.cmake +++ b/Gems/PhysX/Code/Source/Platform/Windows/PAL_windows.cmake @@ -7,7 +7,6 @@ # set(PAL_TRAIT_PHYSX_SUPPORTED TRUE) -set(PAL_TRAIT_JOINTS_TYPED_TEST_CASE TRUE) if(PAL_TRAIT_BUILD_HOST_TOOLS) ly_associate_package(PACKAGE_NAME poly2tri-7f0487a-rev1-windows TARGETS poly2tri PACKAGE_HASH 5fea2bf294e5130e0654fbfa39f192e6369f3853901dde90bb9b3f3a11edcb1e) diff --git a/Gems/PhysX/Code/Source/Platform/iOS/PAL_ios.cmake b/Gems/PhysX/Code/Source/Platform/iOS/PAL_ios.cmake index 6316fa60c6..1d078bb505 100644 --- a/Gems/PhysX/Code/Source/Platform/iOS/PAL_ios.cmake +++ b/Gems/PhysX/Code/Source/Platform/iOS/PAL_ios.cmake @@ -7,4 +7,3 @@ # set(PAL_TRAIT_PHYSX_SUPPORTED TRUE) -set(PAL_TRAIT_JOINTS_TYPED_TEST_CASE FALSE) diff --git a/Gems/PhysX/Code/Tests/PhysXColliderComponentModeTests.cpp b/Gems/PhysX/Code/Tests/PhysXColliderComponentModeTests.cpp index 1f393386f8..2b5db1be67 100644 --- a/Gems/PhysX/Code/Tests/PhysXColliderComponentModeTests.cpp +++ b/Gems/PhysX/Code/Tests/PhysXColliderComponentModeTests.cpp @@ -66,7 +66,7 @@ namespace UnitTest PhysX::ColliderComponentModeRequests::SubMode subMode = PhysX::ColliderComponentModeRequests::SubMode::NumModes; PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); // When the mouse wheel is scrolled while holding ctrl AzToolsFramework::ViewportInteraction::MouseInteractionEvent @@ -84,7 +84,7 @@ namespace UnitTest // Then the component mode is cycled. PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); EXPECT_EQ(handled, MouseInteractionResult::Viewport); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); } TEST_F(PhysXColliderComponentModeTest, MouseWheelDownShouldSetPreviousMode) @@ -95,7 +95,7 @@ namespace UnitTest PhysX::ColliderComponentModeRequests::SubMode subMode = PhysX::ColliderComponentModeRequests::SubMode::NumModes; PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); // When the mouse wheel is scrolled while holding ctrl AzToolsFramework::ViewportInteraction::MouseInteractionEvent @@ -116,7 +116,7 @@ namespace UnitTest EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Rotation, subMode); } - TEST_F(PhysXColliderComponentModeTest, PressingKey1ShouldSetSizeMode) + TEST_F(PhysXColliderComponentModeTest, PressingKey1ShouldSetOffsetMode) { // Given there is a collider component in component mode. CreateColliderComponent(); @@ -124,17 +124,17 @@ namespace UnitTest PhysX::ColliderComponentModeRequests::SubMode subMode = PhysX::ColliderComponentModeRequests::SubMode::NumModes; PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); // When the '1' key is pressed QTest::keyPress(&m_editorActions.m_componentModeWidget, Qt::Key_1); - // Then the component mode is set to Size. + // Then the component mode is set to Offset. PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); } - TEST_F(PhysXColliderComponentModeTest, PressingKey2ShouldSetSizeMode) + TEST_F(PhysXColliderComponentModeTest, PressingKey2ShouldSetRotationMode) { // Given there is a collider component in component mode. auto colliderEntity = CreateColliderComponent(); @@ -143,14 +143,14 @@ namespace UnitTest PhysX::ColliderComponentModeRequests::SubMode subMode = PhysX::ColliderComponentModeRequests::SubMode::NumModes; PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); // When the '2' key is pressed QTest::keyPress(&m_editorActions.m_componentModeWidget, Qt::Key_2); - // Then the component mode is set to Offset. + // Then the component mode is set to Rotation. PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Rotation, subMode); } TEST_F(PhysXColliderComponentModeTest, PressingKey3ShouldSetSizeMode) @@ -162,14 +162,14 @@ namespace UnitTest PhysX::ColliderComponentModeRequests::SubMode subMode = PhysX::ColliderComponentModeRequests::SubMode::NumModes; PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); // When the '3' key is pressed QTest::keyPress(&m_editorActions.m_componentModeWidget, Qt::Key_3); - // Then the component mode is set to Rotation. + // Then the component mode is set to Size. PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Rotation, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); } TEST_F(PhysXColliderComponentModeTest, PressingKeyRShouldResetSphereRadius) @@ -292,7 +292,7 @@ namespace UnitTest // Check preconditions PhysX::ColliderComponentModeRequests::SubMode subMode = PhysX::ColliderComponentModeRequests::SubMode::NumModes; PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); // Get the cluster and button Ids AzToolsFramework::ViewportUi::ClusterId modeSelectionClusterId; @@ -327,7 +327,7 @@ namespace UnitTest // Check preconditions PhysX::ColliderComponentModeRequests::SubMode subMode = PhysX::ColliderComponentModeRequests::SubMode::NumModes; PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); // Get the cluster and button Ids AzToolsFramework::ViewportUi::ClusterId modeSelectionClusterId; @@ -362,7 +362,7 @@ namespace UnitTest // Check preconditions PhysX::ColliderComponentModeRequests::SubMode subMode = PhysX::ColliderComponentModeRequests::SubMode::NumModes; PhysX::ColliderComponentModeRequestBus::BroadcastResult(subMode, &PhysX::ColliderComponentModeRequests::GetCurrentMode); - EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Dimensions, subMode); + EXPECT_EQ(PhysX::ColliderComponentModeRequests::SubMode::Offset, subMode); // Get the cluster and button Ids AzToolsFramework::ViewportUi::ClusterId modeSelectionClusterId; diff --git a/Gems/PhysX/Code/Tests/PhysXJointsTest.cpp b/Gems/PhysX/Code/Tests/PhysXJointsTest.cpp index 3a7eac0884..8a624e0223 100644 --- a/Gems/PhysX/Code/Tests/PhysXJointsTest.cpp +++ b/Gems/PhysX/Code/Tests/PhysXJointsTest.cpp @@ -267,8 +267,6 @@ namespace PhysX EXPECT_GT(followerEndPosition.GetZ(), followerPosition.GetZ()); } -// for some reason TYPED_TEST_CASE with the fixture is not working on Android + Linux -#ifdef ENABLE_JOINTS_TYPED_TEST_CASE template class PhysXJointsApiTest : public PhysX::GenericPhysicsInterfaceTest { @@ -347,5 +345,4 @@ namespace PhysX EXPECT_GT(childCurrentPos.GetX(), this->m_childInitialPos.GetX()); } -#endif // ENABLE_JOINTS_TYPED_TEST_CASE } diff --git a/Gems/PhysX/Code/Tests/RagdollTests.cpp b/Gems/PhysX/Code/Tests/RagdollTests.cpp index 30e9400790..ff4637fd6e 100644 --- a/Gems/PhysX/Code/Tests/RagdollTests.cpp +++ b/Gems/PhysX/Code/Tests/RagdollTests.cpp @@ -367,4 +367,19 @@ namespace PhysX float minZ = ragdoll->GetAabb().GetMin().GetZ(); EXPECT_NEAR(minZ, 0.0f, 0.05f); } + + TEST(ComputeHierarchyDepthsTest, DepthValuesCorrect) + { + AZStd::vector parentIndices = + { 3, 5, AZStd::numeric_limits::max(), 1, 2, 9, 7, 4, 0, 6, 11, 12, 5, 14, 15, 16, 5, 18, 19, 4, 21, 22, 4 }; + + const AZStd::vector nodeDepths = Utils::Characters::ComputeHierarchyDepths(parentIndices); + + std::vector expectedDepths = { 8, 6, 0, 7, 1, 5, 3, 2, 9, 4, 8, 7, 6, 9, 8, 7, 6, 4, 3, 2, 4, 3, 2 }; + + for (size_t i = 0; i < parentIndices.size(); i++) + { + EXPECT_EQ(nodeDepths[i].m_depth, expectedDepths[i]); + } + } } // namespace PhysX diff --git a/Gems/QtForPython/Code/CMakeLists.txt b/Gems/QtForPython/Code/CMakeLists.txt index 48ce5c02d3..da763978a6 100644 --- a/Gems/QtForPython/Code/CMakeLists.txt +++ b/Gems/QtForPython/Code/CMakeLists.txt @@ -21,7 +21,8 @@ ly_add_target( NAME QtForPython.Editor.Static STATIC NAMESPACE Gem FILES_CMAKE - qtforpython_editor_${PAL_PLATFORM_NAME_LOWERCASE}_files.cmake + qtforpython_editor_files.cmake + ${CMAKE_CURRENT_SOURCE_DIR}/Source/Platform/${PAL_PLATFORM_NAME}/qtforpython_editor_${PAL_PLATFORM_NAME_LOWERCASE}_files.cmake PLATFORM_INCLUDE_FILES ${common_source_dir}/${PAL_TRAIT_COMPILER_ID}/qtforpython_${PAL_TRAIT_COMPILER_ID_LOWERCASE}.cmake INCLUDE_DIRECTORIES @@ -45,6 +46,9 @@ ly_add_target( NAMESPACE Gem FILES_CMAKE qtforpython_shared_files.cmake + INCLUDE_DIRECTORIES + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR}/Source/Platform/${PAL_PLATFORM_NAME} BUILD_DEPENDENCIES PRIVATE Gem::QtForPython.Editor.Static diff --git a/Gems/QtForPython/Code/Source/Platform/Linux/InitializeEmbeddedPyside2.h b/Gems/QtForPython/Code/Source/Platform/Linux/InitializeEmbeddedPyside2.h new file mode 100644 index 0000000000..094a4f8548 --- /dev/null +++ b/Gems/QtForPython/Code/Source/Platform/Linux/InitializeEmbeddedPyside2.h @@ -0,0 +1,60 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ +#pragma once + +#include +#include + +namespace QtForPython +{ + const char* s_libPythonLibraryFile = "libpython3.7m.so.1.0"; + const char* s_libPyside2LibraryFile = "libpyside2.abi3.so.5.14"; + const char* s_libShibokenLibraryFile = "libshiboken2.abi3.so.5.14"; + + class InitializeEmbeddedPyside2 + { + public: + InitializeEmbeddedPyside2() + { + m_libPythonLibraryFile = InitializeEmbeddedPyside2::LoadModule(s_libPythonLibraryFile); + m_libPyside2LibraryFile = InitializeEmbeddedPyside2::LoadModule(s_libPyside2LibraryFile); + m_libShibokenLibraryFile = InitializeEmbeddedPyside2::LoadModule(s_libShibokenLibraryFile); + } + virtual ~InitializeEmbeddedPyside2() + { + InitializeEmbeddedPyside2::UnloadModule(m_libShibokenLibraryFile); + InitializeEmbeddedPyside2::UnloadModule(m_libPyside2LibraryFile); + InitializeEmbeddedPyside2::UnloadModule(m_libPythonLibraryFile); + } + + private: + static void* LoadModule(const char* moduleToLoad) + { + void* moduleHandle = dlopen(moduleToLoad, RTLD_NOW | RTLD_GLOBAL); + if (!moduleHandle) + { + [[maybe_unused]] const char* loadError = dlerror(); + AZ_Error("QtForPython", false, "Unable to load python library %s for Pyside2: %s", moduleToLoad, + loadError ? loadError : "Unknown Error"); + } + return moduleHandle; + } + + static void UnloadModule(void* moduleHandle) + { + if (moduleHandle) + { + dlclose(moduleHandle); + } + } + + void* m_libPythonLibraryFile; + void* m_libPyside2LibraryFile; + void* m_libShibokenLibraryFile; + }; +} // namespace QtForPython diff --git a/Gems/QtForPython/Code/Source/Platform/Linux/PAL_linux.cmake b/Gems/QtForPython/Code/Source/Platform/Linux/PAL_linux.cmake index 236043e893..789d2afae2 100644 --- a/Gems/QtForPython/Code/Source/Platform/Linux/PAL_linux.cmake +++ b/Gems/QtForPython/Code/Source/Platform/Linux/PAL_linux.cmake @@ -6,4 +6,4 @@ # # -set(PAL_TRAIT_BUILD_QTFORPYTHON_SUPPORTED FALSE) +set(PAL_TRAIT_BUILD_QTFORPYTHON_SUPPORTED TRUE) diff --git a/Gems/QtForPython/Code/Source/Platform/Linux/qtforpython_editor_linux_files.cmake b/Gems/QtForPython/Code/Source/Platform/Linux/qtforpython_editor_linux_files.cmake new file mode 100644 index 0000000000..54c588a247 --- /dev/null +++ b/Gems/QtForPython/Code/Source/Platform/Linux/qtforpython_editor_linux_files.cmake @@ -0,0 +1,11 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set(FILES + InitializeEmbeddedPyside2.h +) diff --git a/Gems/QtForPython/Code/Source/Platform/Mac/InitializeEmbeddedPyside2.h b/Gems/QtForPython/Code/Source/Platform/Mac/InitializeEmbeddedPyside2.h new file mode 100644 index 0000000000..819764620b --- /dev/null +++ b/Gems/QtForPython/Code/Source/Platform/Mac/InitializeEmbeddedPyside2.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ +#pragma once + +namespace QtForPython +{ + class InitializeEmbeddedPyside2 + { + public: + InitializeEmbeddedPyside2() = default; + virtual ~InitializeEmbeddedPyside2() = default; + }; +} // namespace QtForPython diff --git a/Gems/QtForPython/Code/Source/Platform/Mac/qtforpython_editor_macos_files.cmake b/Gems/QtForPython/Code/Source/Platform/Mac/qtforpython_editor_macos_files.cmake new file mode 100644 index 0000000000..54c588a247 --- /dev/null +++ b/Gems/QtForPython/Code/Source/Platform/Mac/qtforpython_editor_macos_files.cmake @@ -0,0 +1,11 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set(FILES + InitializeEmbeddedPyside2.h +) diff --git a/Gems/QtForPython/Code/Source/Platform/Windows/InitializeEmbeddedPyside2.h b/Gems/QtForPython/Code/Source/Platform/Windows/InitializeEmbeddedPyside2.h new file mode 100644 index 0000000000..819764620b --- /dev/null +++ b/Gems/QtForPython/Code/Source/Platform/Windows/InitializeEmbeddedPyside2.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) Contributors to the Open 3D Engine Project. + * For complete copyright and license terms please see the LICENSE at the root of this distribution. + * + * SPDX-License-Identifier: Apache-2.0 OR MIT + * + */ +#pragma once + +namespace QtForPython +{ + class InitializeEmbeddedPyside2 + { + public: + InitializeEmbeddedPyside2() = default; + virtual ~InitializeEmbeddedPyside2() = default; + }; +} // namespace QtForPython diff --git a/Gems/QtForPython/Code/Source/Platform/Windows/qtforpython_editor_windows_files.cmake b/Gems/QtForPython/Code/Source/Platform/Windows/qtforpython_editor_windows_files.cmake new file mode 100644 index 0000000000..54c588a247 --- /dev/null +++ b/Gems/QtForPython/Code/Source/Platform/Windows/qtforpython_editor_windows_files.cmake @@ -0,0 +1,11 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set(FILES + InitializeEmbeddedPyside2.h +) diff --git a/Gems/QtForPython/Code/Source/QtForPythonModule.cpp b/Gems/QtForPython/Code/Source/QtForPythonModule.cpp index 1ed79310b4..ad39d0b82c 100644 --- a/Gems/QtForPython/Code/Source/QtForPythonModule.cpp +++ b/Gems/QtForPython/Code/Source/QtForPythonModule.cpp @@ -8,13 +8,17 @@ #include #include +#include #include +#include "InitializeEmbeddedPyside2.h" + namespace QtForPython { class QtForPythonModule : public AZ::Module + , private InitializeEmbeddedPyside2 { public: AZ_RTTI(QtForPythonModule, "{81545CD5-79FA-47CE-96F2-1A9C5D59B4B9}", AZ::Module); @@ -22,11 +26,13 @@ namespace QtForPython QtForPythonModule() : AZ::Module() + , InitializeEmbeddedPyside2() { m_descriptors.insert(m_descriptors.end(), { QtForPythonSystemComponent::CreateDescriptor(), }); } + ~QtForPythonModule() override = default; /** * Add required SystemComponents to the SystemEntity. diff --git a/Gems/QtForPython/Code/Source/QtForPythonSystemComponent.cpp b/Gems/QtForPython/Code/Source/QtForPythonSystemComponent.cpp index 83a158dd18..240beff78e 100644 --- a/Gems/QtForPython/Code/Source/QtForPythonSystemComponent.cpp +++ b/Gems/QtForPython/Code/Source/QtForPythonSystemComponent.cpp @@ -203,10 +203,6 @@ namespace QtForPython { QtBootstrapParameters params; -#if !defined(Q_OS_WIN) -#error Unsupported OS platform for this QtForPython gem -#endif - params.m_mainWindowId = 0; using namespace AzToolsFramework; QWidget* activeWindow = nullptr; diff --git a/Gems/QtForPython/Code/qtforpython_editor_macos_files.cmake b/Gems/QtForPython/Code/Source/qtforpython_editor_files.cmake similarity index 100% rename from Gems/QtForPython/Code/qtforpython_editor_macos_files.cmake rename to Gems/QtForPython/Code/Source/qtforpython_editor_files.cmake diff --git a/Gems/QtForPython/Code/qtforpython_editor_windows_files.cmake b/Gems/QtForPython/Code/qtforpython_editor_files.cmake similarity index 100% rename from Gems/QtForPython/Code/qtforpython_editor_windows_files.cmake rename to Gems/QtForPython/Code/qtforpython_editor_files.cmake diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionBeginevent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionBeginevent.names index 98a2d3f85b..d77596c36e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionBeginevent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionBeginevent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "On Collision Begin event", + "base": "On Collision Begin event", "context": "AZEventHandler", "variant": "", "details": { @@ -9,49 +9,49 @@ }, "slots": [ { - "key": "Simulated Body Handle", + "base": "Simulated Body Handle", "details": { "name": "Simulated Body Handle" } }, { - "key": "Collision Event", + "base": "Collision Event", "details": { "name": "Collision Event" } }, { - "key": "On Collision Begin event", + "base": "On Collision Begin event", "details": { "name": "On Collision Begin event" } }, { - "key": "Connect", + "base": "Connect", "details": { "name": "Connect" } }, { - "key": "Disconnect", + "base": "Disconnect", "details": { "name": "Disconnect" } }, { - "key": "On Connected", + "base": "On Connected", "details": { "name": "On Connected" } }, { - "key": "On Disconnected", + "base": "On Disconnected", "details": { "name": "On Disconnected" } }, { - "key": "OnEvent", + "base": "OnEvent", "details": { "name": "OnEvent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionEndevent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionEndevent.names index 4844732dd4..1d2c622e8c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionEndevent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionEndevent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "On Collision End event", + "base": "On Collision End event", "context": "AZEventHandler", "variant": "", "details": { @@ -9,49 +9,49 @@ }, "slots": [ { - "key": "Simulated Body Handle", + "base": "Simulated Body Handle", "details": { "name": "Simulated Body Handle" } }, { - "key": "Collision Event", + "base": "Collision Event", "details": { "name": "Collision Event" } }, { - "key": "On Collision End event", + "base": "On Collision End event", "details": { "name": "On Collision End event" } }, { - "key": "Connect", + "base": "Connect", "details": { "name": "Connect" } }, { - "key": "Disconnect", + "base": "Disconnect", "details": { "name": "Disconnect" } }, { - "key": "On Connected", + "base": "On Connected", "details": { "name": "On Connected" } }, { - "key": "On Disconnected", + "base": "On Disconnected", "details": { "name": "On Disconnected" } }, { - "key": "OnEvent", + "base": "OnEvent", "details": { "name": "OnEvent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionPersistevent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionPersistevent.names index 7ee4cd8f5c..c685623d88 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionPersistevent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnCollisionPersistevent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "On Collision Persist event", + "base": "On Collision Persist event", "context": "AZEventHandler", "variant": "", "details": { @@ -9,49 +9,49 @@ }, "slots": [ { - "key": "Simulated Body Handle", + "base": "Simulated Body Handle", "details": { "name": "Simulated Body Handle" } }, { - "key": "Collision Event", + "base": "Collision Event", "details": { "name": "Collision Event" } }, { - "key": "On Collision Persist event", + "base": "On Collision Persist event", "details": { "name": "On Collision Persist event" } }, { - "key": "Connect", + "base": "Connect", "details": { "name": "Connect" } }, { - "key": "Disconnect", + "base": "Disconnect", "details": { "name": "Disconnect" } }, { - "key": "On Connected", + "base": "On Connected", "details": { "name": "On Connected" } }, { - "key": "On Disconnected", + "base": "On Disconnected", "details": { "name": "On Disconnected" } }, { - "key": "OnEvent", + "base": "OnEvent", "details": { "name": "OnEvent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnGravityChangedevent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnGravityChangedevent.names index 7841a0bc78..dce2578ca9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnGravityChangedevent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnGravityChangedevent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "On Gravity Changed event", + "base": "On Gravity Changed event", "context": "AZEventHandler", "variant": "", "details": { @@ -9,49 +9,49 @@ }, "slots": [ { - "key": "Scene Handle", + "base": "Scene Handle", "details": { "name": "Scene Handle" } }, { - "key": "Gravity Vector", + "base": "Gravity Vector", "details": { "name": "Gravity Vector" } }, { - "key": "On Gravity Changed event", + "base": "On Gravity Changed event", "details": { "name": "On Gravity Changed event" } }, { - "key": "Connect", + "base": "Connect", "details": { "name": "Connect" } }, { - "key": "Disconnect", + "base": "Disconnect", "details": { "name": "Disconnect" } }, { - "key": "On Connected", + "base": "On Connected", "details": { "name": "On Connected" } }, { - "key": "On Disconnected", + "base": "On Disconnected", "details": { "name": "On Disconnected" } }, { - "key": "OnEvent", + "base": "OnEvent", "details": { "name": "OnEvent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnTriggerEnterevent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnTriggerEnterevent.names index b1adfeb30b..0850092f0f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnTriggerEnterevent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnTriggerEnterevent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "On Trigger Enter event", + "base": "On Trigger Enter event", "context": "AZEventHandler", "variant": "", "details": { @@ -9,49 +9,49 @@ }, "slots": [ { - "key": "Simulated Body Handle", + "base": "Simulated Body Handle", "details": { "name": "Simulated Body Handle" } }, { - "key": "Trigger Event", + "base": "Trigger Event", "details": { "name": "Trigger Event" } }, { - "key": "On Trigger Enter event", + "base": "On Trigger Enter event", "details": { "name": "On Trigger Enter event" } }, { - "key": "Connect", + "base": "Connect", "details": { "name": "Connect" } }, { - "key": "Disconnect", + "base": "Disconnect", "details": { "name": "Disconnect" } }, { - "key": "On Connected", + "base": "On Connected", "details": { "name": "On Connected" } }, { - "key": "On Disconnected", + "base": "On Disconnected", "details": { "name": "On Disconnected" } }, { - "key": "OnEvent", + "base": "OnEvent", "details": { "name": "OnEvent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnTriggerExitevent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnTriggerExitevent.names index 0c70ada73d..87c1c8e65f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnTriggerExitevent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/OnTriggerExitevent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "On Trigger Exit event", + "base": "On Trigger Exit event", "context": "AZEventHandler", "variant": "", "details": { @@ -9,49 +9,49 @@ }, "slots": [ { - "key": "Simulated Body Handle", + "base": "Simulated Body Handle", "details": { "name": "Simulated Body Handle" } }, { - "key": "Trigger Event", + "base": "Trigger Event", "details": { "name": "Trigger Event" } }, { - "key": "On Trigger Exit event", + "base": "On Trigger Exit event", "details": { "name": "On Trigger Exit event" } }, { - "key": "Connect", + "base": "Connect", "details": { "name": "Connect" } }, { - "key": "Disconnect", + "base": "Disconnect", "details": { "name": "Disconnect" } }, { - "key": "On Connected", + "base": "On Connected", "details": { "name": "On Connected" } }, { - "key": "On Disconnected", + "base": "On Disconnected", "details": { "name": "On Disconnected" } }, { - "key": "OnEvent", + "base": "OnEvent", "details": { "name": "OnEvent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/Postsimulateevent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/Postsimulateevent.names index 3cbbe32b4d..cbf2b98cb2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/Postsimulateevent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/Postsimulateevent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Postsimulate event", + "base": "Postsimulate event", "context": "AZEventHandler", "variant": "", "details": { @@ -9,43 +9,43 @@ }, "slots": [ { - "key": "Tick time", + "base": "Tick time", "details": { "name": "Tick time" } }, { - "key": "Postsimulate event", + "base": "Postsimulate event", "details": { "name": "Postsimulate event" } }, { - "key": "Connect", + "base": "Connect", "details": { "name": "Connect" } }, { - "key": "Disconnect", + "base": "Disconnect", "details": { "name": "Disconnect" } }, { - "key": "On Connected", + "base": "On Connected", "details": { "name": "On Connected" } }, { - "key": "On Disconnected", + "base": "On Disconnected", "details": { "name": "On Disconnected" } }, { - "key": "OnEvent", + "base": "OnEvent", "details": { "name": "OnEvent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/Presimulateevent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/Presimulateevent.names index d3fb8cca6e..d71831f458 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/Presimulateevent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/Presimulateevent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Presimulate event", + "base": "Presimulate event", "context": "AZEventHandler", "variant": "", "details": { @@ -9,43 +9,43 @@ }, "slots": [ { - "key": "Tick time", + "base": "Tick time", "details": { "name": "Tick time" } }, { - "key": "Presimulate event", + "base": "Presimulate event", "details": { "name": "Presimulate event" } }, { - "key": "Connect", + "base": "Connect", "details": { "name": "Connect" } }, { - "key": "Disconnect", + "base": "Disconnect", "details": { "name": "Disconnect" } }, { - "key": "On Connected", + "base": "On Connected", "details": { "name": "On Connected" } }, { - "key": "On Disconnected", + "base": "On Disconnected", "details": { "name": "On Disconnected" } }, { - "key": "OnEvent", + "base": "OnEvent", "details": { "name": "OnEvent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/SettingsRegistryNotifyEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/SettingsRegistryNotifyEvent.names index 09ec65d790..6460d967b9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/SettingsRegistryNotifyEvent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/SettingsRegistryNotifyEvent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SettingsRegistry Notify Event", + "base": "SettingsRegistry Notify Event", "context": "AZEventHandler", "variant": "", "details": { @@ -9,43 +9,43 @@ }, "slots": [ { - "key": "Json Path", + "base": "Json Path", "details": { "name": "Json Path" } }, { - "key": "SettingsRegistry Notify Event", + "base": "SettingsRegistry Notify Event", "details": { "name": "SettingsRegistry Notify Event" } }, { - "key": "Connect", + "base": "Connect", "details": { "name": "Connect" } }, { - "key": "Disconnect", + "base": "Disconnect", "details": { "name": "Disconnect" } }, { - "key": "On Connected", + "base": "On Connected", "details": { "name": "On Connected" } }, { - "key": "On Disconnected", + "base": "On Disconnected", "details": { "name": "On Disconnected" } }, { - "key": "OnEvent", + "base": "OnEvent", "details": { "name": "OnEvent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSMetrics_AttributesSubmissionList.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSMetrics_AttributesSubmissionList.names index e0c9852e54..68e19cbfca 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSMetrics_AttributesSubmissionList.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSMetrics_AttributesSubmissionList.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSMetrics_AttributesSubmissionList", + "base": "AWSMetrics_AttributesSubmissionList", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "Getattributes", + "base": "Getattributes", "details": { "name": "Get Attributes" }, @@ -32,7 +32,7 @@ ] }, { - "key": "Setattributes", + "base": "Setattributes", "details": { "name": "Set Attributes" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSMetrics_MetricsAttribute.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSMetrics_MetricsAttribute.names index 57a94769b0..a3ac9a92c5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSMetrics_MetricsAttribute.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSMetrics_MetricsAttribute.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSMetrics_MetricsAttribute", + "base": "AWSMetrics_MetricsAttribute", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetName", + "base": "SetName", "context": "AWSMetrics_MetricsAttribute", "entry": { "name": "In", @@ -39,7 +39,7 @@ ] }, { - "key": "SetStrValue", + "base": "SetStrValue", "context": "AWSMetrics_MetricsAttribute", "entry": { "name": "In", @@ -68,7 +68,7 @@ ] }, { - "key": "SetIntValue", + "base": "SetIntValue", "context": "AWSMetrics_MetricsAttribute", "entry": { "name": "In", @@ -97,7 +97,7 @@ ] }, { - "key": "SetDoubleValue", + "base": "SetDoubleValue", "context": "AWSMetrics_MetricsAttribute", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorDynamoDB.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorDynamoDB.names index 3d9e963484..46ba1bad8d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorDynamoDB.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorDynamoDB.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSScriptBehaviorDynamoDB", + "base": "AWSScriptBehaviorDynamoDB", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetItem", + "base": "GetItem", "context": "AWSScriptBehaviorDynamoDB", "entry": { "name": "In", @@ -40,7 +40,7 @@ ] }, { - "key": "GetItemRaw", + "base": "GetItemRaw", "context": "AWSScriptBehaviorDynamoDB", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorLambda.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorLambda.names index 9ee4a606b9..db4a42a152 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorLambda.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorLambda.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSScriptBehaviorLambda", + "base": "AWSScriptBehaviorLambda", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "Invoke", + "base": "Invoke", "context": "AWSScriptBehaviorLambda", "entry": { "name": "In", @@ -39,7 +39,7 @@ ] }, { - "key": "InvokeRaw", + "base": "InvokeRaw", "context": "AWSScriptBehaviorLambda", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorS3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorS3.names index 7630385d28..c4dd1d5827 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorS3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AWSScriptBehaviorS3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSScriptBehaviorS3", + "base": "AWSScriptBehaviorS3", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetObject", + "base": "GetObject", "context": "AWSScriptBehaviorS3", "entry": { "name": "In", @@ -45,7 +45,7 @@ ] }, { - "key": "GetObjectRaw", + "base": "GetObjectRaw", "context": "AWSScriptBehaviorS3", "entry": { "name": "In", @@ -86,7 +86,7 @@ ] }, { - "key": "HeadObject", + "base": "HeadObject", "context": "AWSScriptBehaviorS3", "entry": { "name": "In", @@ -115,7 +115,7 @@ ] }, { - "key": "HeadObjectRaw", + "base": "HeadObjectRaw", "context": "AWSScriptBehaviorS3", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AZ__SceneAPI__Containers__SceneGraph.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AZ__SceneAPI__Containers__SceneGraph.names new file mode 100644 index 0000000000..9526e9d8af --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AZ__SceneAPI__Containers__SceneGraph.names @@ -0,0 +1,581 @@ +{ + "entries": [ + { + "base": "AZ::SceneAPI::Containers::SceneGraph", + "context": "BehaviorClass", + "variant": "", + "details": { + "name": "Scene Graph", + "category": "Scene Graph" + }, + "methods": [ + { + "base": "GetNodeChild", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Node Child" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Node Child is invoked" + }, + "details": { + "name": "Get Node Child" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ], + "results": [ + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ] + }, + { + "base": "FindWithPath", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Find With Path" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Find With Path is invoked" + }, + "details": { + "name": "Find With Path" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Path" + } + } + ], + "results": [ + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ] + }, + { + "base": "HasNodeChild", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Has Node Child" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Has Node Child is invoked" + }, + "details": { + "name": "Has Node Child" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Has Node Child" + } + } + ] + }, + { + "base": "HasNodeParent", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Has Node Parent" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Has Node Parent is invoked" + }, + "details": { + "name": "Has Node Parent" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Has Node Parent" + } + } + ] + }, + { + "base": "GetNodeSibling", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Node Sibling" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Node Sibling is invoked" + }, + "details": { + "name": "Get Node Sibling" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ], + "results": [ + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ] + }, + { + "base": "HasNodeSibling", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Has Node Sibling" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Has Node Sibling is invoked" + }, + "details": { + "name": "Has Node Sibling" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Has Node Sibling" + } + } + ] + }, + { + "base": "IsNodeEndPoint", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Is Node End Point" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Is Node End Point is invoked" + }, + "details": { + "name": "Is Node End Point" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Is Node End Point" + } + } + ] + }, + { + "base": "GetNodeCount", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Node Count" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Node Count is invoked" + }, + "details": { + "name": "Get Node Count" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + } + ], + "results": [ + { + "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", + "details": { + "name": "Node Count" + } + } + ] + }, + { + "base": "HasNodeContent", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Has Node Content" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Has Node Content is invoked" + }, + "details": { + "name": "Has Node Content" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Has Node Content" + } + } + ] + }, + { + "base": "GetNodeContent", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Node Content" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Node Content is invoked" + }, + "details": { + "name": "Get Node Content" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ], + "results": [ + { + "typeid": "{3EF0DDEC-C734-4804-BE99-82058FEBDA71}", + "details": { + "name": "Graph Object Proxy" + } + } + ] + }, + { + "base": "GetNodeName", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Node Name" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Node Name is invoked" + }, + "details": { + "name": "Get Node Name" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ], + "results": [ + { + "typeid": "{4077AC3C-B301-4F5A-BEA7-54D6511AEC2E}", + "details": { + "name": "Node Name" + } + } + ] + }, + { + "base": "GetRoot", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Root" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Root is invoked" + }, + "details": { + "name": "Get Root" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + } + ], + "results": [ + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ] + }, + { + "base": "GetNodeSeperationCharacter", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Node Separation Character" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Node Separation Character is invoked" + }, + "details": { + "name": "Get Node Separation Character" + }, + "results": [ + { + "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", + "details": { + "name": "Separation Character" + } + } + ] + }, + { + "base": "GetNodeParent", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Node Parent" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Node Parent is invoked" + }, + "details": { + "name": "Get Node Parent" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ], + "results": [ + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ] + }, + { + "base": "FindWithRootAndPath", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Find With Root And Path" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Find With Root And Path is invoked" + }, + "details": { + "name": "Find With Root And Path" + }, + "params": [ + { + "typeid": "{CAC6556D-D5FE-4D0E-BCCD-8940357C1D35}", + "details": { + "name": "Scene Graph" + } + }, + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Path" + } + } + ], + "results": [ + { + "typeid": "{4AD18037-E629-480D-8165-997A137327FD}", + "details": { + "name": "Node Index" + } + } + ] + }, + { + "base": "IsValidName", + "context": "AZ::SceneAPI::Containers::SceneGraph", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Is Valid Name" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Is Valid Name is invoked" + }, + "details": { + "name": "Is Valid Name" + }, + "params": [ + { + "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", + "details": { + "name": "Name" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Is Valid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AZ__SceneAPI__DataTypes__IMeshData__Face.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AZ__SceneAPI__DataTypes__IMeshData__Face.names new file mode 100644 index 0000000000..49dd69edf3 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AZ__SceneAPI__DataTypes__IMeshData__Face.names @@ -0,0 +1,52 @@ +{ + "entries": [ + { + "base": "AZ::SceneAPI::DataTypes::IMeshData::Face", + "context": "BehaviorClass", + "variant": "", + "details": { + "name": "Mesh Data Face", + "category": "Scene Graph" + }, + "methods": [ + { + "base": "GetVertexIndex", + "context": "AZ::SceneAPI::DataTypes::IMeshData::Face", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Vertex Index" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Vertex Index is invoked" + }, + "details": { + "name": "Get Vertex Index" + }, + "params": [ + { + "typeid": "{F9F49C1A-014F-46F5-A46F-B56D8CB46C2B}", + "details": { + "name": "Mesh Data Face" + } + }, + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Face Index" + } + } + ], + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "Index" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AcesParameterOverrides.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AcesParameterOverrides.names index 50a563d9c4..d1c7a70e04 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AcesParameterOverrides.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AcesParameterOverrides.names @@ -1,33 +1,313 @@ { "entries": [ { - "key": "AcesParameterOverrides", + "base": "AcesParameterOverrides", "context": "BehaviorClass", "variant": "", "details": { - "name": "AcesParameterOverrides" + "name": "Aces Parameter Overrides", + "category": "Rendering" }, "methods": [ { - "key": "LoadPreset", + "base": "LoadPreset", "context": "AcesParameterOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke LoadPreset" + "tooltip": "When signaled, this will invoke Load Preset" }, "exit": { "name": "Out", - "tooltip": "Signaled after LoadPreset is invoked" + "tooltip": "Signaled after Load Preset is invoked" }, "details": { - "name": "AcesParameterOverrides::LoadPreset", - "category": "Other" + "name": "Load Preset" }, "params": [ { "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", "details": { - "name": "AcesParameterOverrides*" + "name": "Aces Parameter Overrides" + } + } + ] + }, + { + "base": "GetOutputDeviceTransformType_4000Nits", + "details": { + "name": "Get Output Device Transform Type_ 4000 Nits" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + }, + { + "base": "GetOutputDeviceTransformType_2000Nits", + "details": { + "name": "Get Output Device Transform Type_ 2000 Nits" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + }, + { + "base": "GetapplyCATD60toD65", + "details": { + "name": "GetapplyCATD 60toD 65" + }, + "params": [ + { + "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", + "details": { + "name": "" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "SetapplyCATD60toD65", + "details": { + "name": "SetapplyCATD 60toD 65" + }, + "params": [ + { + "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", + "details": { + "name": "" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "GetOutputDeviceTransformType_48Nits", + "details": { + "name": "Get Output Device Transform Type_ 48 Nits" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + }, + { + "base": "GetOutputDeviceTransformType_NumOutputDeviceTransformTypes", + "details": { + "name": "Get Output Device Transform Type_ Num Output Device Transform Types" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + }, + { + "base": "GetOutputDeviceTransformType_1000Nits", + "details": { + "name": "Get Output Device Transform Type_ 1000 Nits" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + }, + { + "base": "GetapplyDesaturation", + "details": { + "name": "Getapply Desaturation" + }, + "params": [ + { + "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", + "details": { + "name": "" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "SetapplyDesaturation", + "details": { + "name": "Setapply Desaturation" + }, + "params": [ + { + "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", + "details": { + "name": "" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "Getpreset", + "details": { + "name": "Getpreset" + }, + "params": [ + { + "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", + "details": { + "name": "" + } + } + ], + "results": [ + { + "typeid": "{B94085B7-C0D4-466A-A791-188A4559EC8D}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "Setpreset", + "details": { + "name": "Setpreset" + }, + "params": [ + { + "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", + "details": { + "name": "" + } + }, + { + "typeid": "{B94085B7-C0D4-466A-A791-188A4559EC8D}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "GetalterSurround", + "details": { + "name": "Getalter Surround" + }, + "params": [ + { + "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", + "details": { + "name": "" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "SetalterSurround", + "details": { + "name": "Setalter Surround" + }, + "params": [ + { + "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", + "details": { + "name": "" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "GetoverrideDefaults", + "details": { + "name": "Getoverride Defaults" + }, + "params": [ + { + "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", + "details": { + "name": "" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "SetoverrideDefaults", + "details": { + "name": "Setoverride Defaults" + }, + "params": [ + { + "typeid": "{3EE8C0D4-3792-46C0-B91C-B89A81C36B91}", + "details": { + "name": "" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ActorComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ActorComponent.names index a87e636a17..b6092e23f7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ActorComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ActorComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ActorComponent", + "base": "ActorComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AnimationData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AnimationData.names index 54155ecbde..d026c998ba 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AnimationData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AnimationData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AnimationData", + "base": "AnimationData", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetData.names index c7fd08013f..c9a8cfe791 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AssetData", + "base": "AssetData", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetUseCount", + "base": "GetUseCount", "context": "AssetData", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "IsLoading", + "base": "IsLoading", "context": "AssetData", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "IsError", + "base": "IsError", "context": "AssetData", "entry": { "name": "In", @@ -110,7 +110,7 @@ ] }, { - "key": "IsReady", + "base": "IsReady", "context": "AssetData", "entry": { "name": "In", @@ -141,7 +141,7 @@ ] }, { - "key": "GetId", + "base": "GetId", "context": "AssetData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetId.names index 0cebae5057..18c20bbd5a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetId.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AssetId", + "base": "AssetId", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "CreateString", + "base": "CreateString", "context": "AssetId", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "IsValid", + "base": "IsValid", "context": "AssetId", "entry": { "name": "In", @@ -72,7 +72,7 @@ ] }, { - "key": "ToString", + "base": "ToString", "context": "AssetId", "entry": { "name": "In", @@ -103,7 +103,7 @@ ] }, { - "key": "IsEqual", + "base": "IsEqual", "context": "AssetId", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetInfo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetInfo.names index 3c14063340..39abff351c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetInfo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AssetInfo.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AssetInfo", + "base": "AssetInfo", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "assetId", + "base": "assetId", "details": { "name": "Get Asset Id" }, @@ -31,7 +31,7 @@ ] }, { - "key": "assetType", + "base": "assetType", "details": { "name": "Get Asset Type" }, @@ -53,7 +53,7 @@ ] }, { - "key": "sizeBytes", + "base": "sizeBytes", "details": { "name": "Get Size (Bytes)" }, @@ -75,7 +75,7 @@ ] }, { - "key": "relativePath", + "base": "relativePath", "details": { "name": "Get Relative Path" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AtomToolsDocumentSystemSettings.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AtomToolsDocumentSystemSettings.names index 966764e44a..b5c7982730 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AtomToolsDocumentSystemSettings.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AtomToolsDocumentSystemSettings.names @@ -1,12 +1,57 @@ { "entries": [ { - "key": "AtomToolsDocumentSystemSettings", + "base": "AtomToolsDocumentSystemSettings", "context": "BehaviorClass", "variant": "", "details": { - "name": "AtomToolsDocumentSystemSettings" - } + "name": "Document System Settings", + "category": "Atom Tools" + }, + "methods": [ + { + "base": "GetshowReloadDocumentPrompt", + "details": { + "name": "Get Show Reload Document Prompt" + }, + "params": [ + { + "typeid": "{9E576D4F-A74A-4326-9135-C07284D0A3B9}", + "details": { + "name": "Document System Settings" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Enabled" + } + } + ] + }, + { + "base": "SetshowReloadDocumentPrompt", + "details": { + "name": "Set Show Reload Document Prompt" + }, + "params": [ + { + "typeid": "{9E576D4F-A74A-4326-9135-C07284D0A3B9}", + "details": { + "name": "Document System Settings" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Enabled" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AuthenticationTokens.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AuthenticationTokens.names index fde350b776..c041aa00ff 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AuthenticationTokens.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AuthenticationTokens.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AuthenticationTokens", + "base": "AuthenticationTokens", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetAccessToken", + "base": "GetAccessToken", "details": { "name": "Get Access Token" }, @@ -32,7 +32,7 @@ ] }, { - "key": "SetAccessToken", + "base": "SetAccessToken", "details": { "name": "Set Access Token" }, @@ -52,7 +52,7 @@ ] }, { - "key": "GetOpenIdToken", + "base": "GetOpenIdToken", "context": "getter", "details": { "name": "Get OpenId Token" @@ -75,7 +75,7 @@ ] }, { - "key": "SetOpenIdToken", + "base": "SetOpenIdToken", "context": "setter", "details": { "name": "Set OpenId Token" @@ -96,7 +96,7 @@ ] }, { - "key": "GetRefreshToken", + "base": "GetRefreshToken", "context": "getter", "details": { "name": "Get Refresh Token" @@ -119,7 +119,7 @@ ] }, { - "key": "SetRefreshToken", + "base": "SetRefreshToken", "context": "setter", "details": { "name": "Set Refresh Token" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AxisType.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AxisType.names index 005a2d564e..c5fc0fe1f3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AxisType.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AxisType.names @@ -1,12 +1,99 @@ { "entries": [ { - "key": "AxisType", + "base": "AxisType", "context": "BehaviorClass", "variant": "", "details": { - "name": "AxisType" - } + "name": "Axis Type", + "category": "Constants" + }, + "methods": [ + { + "base": "GetZNegative", + "details": { + "name": "Get -Z" + }, + "results": [ + { + "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", + "details": { + "name": "-Z" + } + } + ] + }, + { + "base": "GetZPositive", + "details": { + "name": "Get +Z" + }, + "results": [ + { + "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", + "details": { + "name": "+Z" + } + } + ] + }, + { + "base": "GetYPositive", + "details": { + "name": "Get +Y" + }, + "results": [ + { + "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", + "details": { + "name": "+Y" + } + } + ] + }, + { + "base": "GetXNegative", + "details": { + "name": "Get -X" + }, + "results": [ + { + "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", + "details": { + "name": "-X" + } + } + ] + }, + { + "base": "GetXPositive", + "details": { + "name": "Get +X" + }, + "results": [ + { + "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", + "details": { + "name": "+X" + } + } + ] + }, + { + "base": "GetYNegative", + "details": { + "name": "Get -Y" + }, + "results": [ + { + "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", + "details": { + "name": "-Y" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AzFramework__SurfaceData__SurfacePoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AzFramework__SurfaceData__SurfacePoint.names new file mode 100644 index 0000000000..b78273d630 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/AzFramework__SurfaceData__SurfacePoint.names @@ -0,0 +1,141 @@ +{ + "entries": [ + { + "base": "AzFramework::SurfaceData::SurfacePoint", + "context": "BehaviorClass", + "variant": "", + "details": { + "name": "Surface Point", + "category": "Surface Data" + }, + "methods": [ + { + "base": "Getposition", + "details": { + "name": "Get Position" + }, + "params": [ + { + "typeid": "{331A3D0E-BB1D-47BF-96A2-249FAA0D720D}", + "details": { + "name": "Surface Point" + } + } + ], + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Position" + } + } + ] + }, + { + "base": "Setposition", + "details": { + "name": "Set Position" + }, + "params": [ + { + "typeid": "{331A3D0E-BB1D-47BF-96A2-249FAA0D720D}", + "details": { + "name": "Surface Point" + } + }, + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Position" + } + } + ] + }, + { + "base": "Getnormal", + "details": { + "name": "Get Normal" + }, + "params": [ + { + "typeid": "{331A3D0E-BB1D-47BF-96A2-249FAA0D720D}", + "details": { + "name": "Surface Point" + } + } + ], + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Normal" + } + } + ] + }, + { + "base": "Setnormal", + "details": { + "name": "Set Normal" + }, + "params": [ + { + "typeid": "{331A3D0E-BB1D-47BF-96A2-249FAA0D720D}", + "details": { + "name": "Surface Point" + } + }, + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Normal" + } + } + ] + }, + { + "base": "GetsurfaceTags", + "details": { + "name": "Get Surface Tags" + }, + "params": [ + { + "typeid": "{331A3D0E-BB1D-47BF-96A2-249FAA0D720D}", + "details": { + "name": "Surface Point" + } + } + ], + "results": [ + { + "typeid": "{8F60B4D4-06F0-577C-AFB9-ECBFA7B66D4E}", + "details": { + "name": "Surface Tags" + } + } + ] + }, + { + "base": "SetsurfaceTags", + "details": { + "name": "Set Surface Tags" + }, + "params": [ + { + "typeid": "{331A3D0E-BB1D-47BF-96A2-249FAA0D720D}", + "details": { + "name": "Surface Point" + } + }, + { + "typeid": "{8F60B4D4-06F0-577C-AFB9-ECBFA7B66D4E}", + "details": { + "name": "Surface Tags" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlastActorData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlastActorData.names new file mode 100644 index 0000000000..04aa2f21c2 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlastActorData.names @@ -0,0 +1,105 @@ +{ + "entries": [ + { + "base": "BlastActorData", + "context": "BehaviorClass", + "variant": "", + "details": { + "name": "Actor Data", + "category": "Blast" + }, + "methods": [ + { + "base": "GetEntityId", + "details": { + "name": "Get Entity Id" + }, + "params": [ + { + "typeid": "{A23453D5-79A8-49C8-B9F0-9CC35D711DD4}", + "details": { + "name": "Blast Actor Data*", + "tooltip": "Represents Blast Actor in a Script Canvas friendly format." + } + } + ], + "results": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + } + ] + }, + { + "base": "SetEntityId", + "details": { + "name": "Set Entity Id" + }, + "params": [ + { + "typeid": "{A23453D5-79A8-49C8-B9F0-9CC35D711DD4}", + "details": { + "name": "Blast Actor Data*", + "tooltip": "Represents Blast Actor in a Script Canvas friendly format." + } + }, + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + } + ] + }, + { + "base": "GetIsStatic", + "details": { + "name": "Get Is Static" + }, + "params": [ + { + "typeid": "{A23453D5-79A8-49C8-B9F0-9CC35D711DD4}", + "details": { + "name": "Blast Actor Data*", + "tooltip": "Represents Blast Actor in a Script Canvas friendly format." + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Is Static" + } + } + ] + }, + { + "base": "SetIsStatic", + "details": { + "name": "Set Is Static" + }, + "params": [ + { + "typeid": "{A23453D5-79A8-49C8-B9F0-9CC35D711DD4}", + "details": { + "name": "Blast Actor Data*", + "tooltip": "Represents Blast Actor in a Script Canvas friendly format." + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Is Static" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeAnimationData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeAnimationData.names index 640613b7b0..61b54272a5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeAnimationData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeAnimationData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "BlendShapeAnimationData", + "base": "BlendShapeAnimationData", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeData.names index f450864610..d6a19b9837 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeData.names @@ -1,45 +1,44 @@ { "entries": [ { - "key": "BlendShapeData", + "base": "BlendShapeData", "context": "BehaviorClass", "variant": "", "details": { - "name": "BlendShapeData" + "name": "Blend Shape Data" }, "methods": [ { - "key": "GetUV", + "base": "GetUV", "context": "BlendShapeData", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetUV" + "tooltip": "When signaled, this will invoke Get UV" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetUV is invoked" + "tooltip": "Signaled after Get UV is invoked" }, "details": { - "name": "BlendShapeData::GetUV", - "category": "Other" + "name": "Get UV" }, "params": [ { "typeid": "{FF875C22-2E4F-4CE3-BA49-09BF78C70A09}", "details": { - "name": "BlendShapeData*" + "name": "Blend Shape Data" } }, { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Vertex Index" } }, { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "UV Set Index" } } ], @@ -47,37 +46,36 @@ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "const Vector2&" + "name": "UV" } } ] }, { - "key": "GetTangent", + "base": "GetTangent", "context": "BlendShapeData", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTangent" + "tooltip": "When signaled, this will invoke Get Tangent" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTangent is invoked" + "tooltip": "Signaled after Get Tangent is invoked" }, "details": { - "name": "BlendShapeData::GetTangent", - "category": "Other" + "name": "Get Tangent" }, "params": [ { "typeid": "{FF875C22-2E4F-4CE3-BA49-09BF78C70A09}", "details": { - "name": "const BlendShapeData&" + "name": "Blend Shape Data" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Index" } } ], @@ -85,37 +83,36 @@ { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Vector4" + "name": "Tangents" } } ] }, { - "key": "GetBitangent", + "base": "GetBitangent", "context": "BlendShapeData", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetBitangent" + "tooltip": "When signaled, this will invoke Get Bitangent" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetBitangent is invoked" + "tooltip": "Signaled after Get Bitangent is invoked" }, "details": { - "name": "BlendShapeData::GetBitangent", - "category": "Other" + "name": "Get Bi-Tangent" }, "params": [ { "typeid": "{FF875C22-2E4F-4CE3-BA49-09BF78C70A09}", "details": { - "name": "const BlendShapeData&" + "name": "Blend Shape Data" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Index" } } ], @@ -123,43 +120,42 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Bi-Tangent" } } ] }, { - "key": "GetColor", + "base": "GetColor", "context": "BlendShapeData", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetColor" + "tooltip": "When signaled, this will invoke Get Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetColor is invoked" + "tooltip": "Signaled after Get Color is invoked" }, "details": { - "name": "BlendShapeData::GetColor", - "category": "Other" + "name": "Get Color" }, "params": [ { "typeid": "{FF875C22-2E4F-4CE3-BA49-09BF78C70A09}", "details": { - "name": "const BlendShapeData&" + "name": "Blend Shape Data" } }, { "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", "details": { - "name": "unsigned char" + "name": "Color Set Index" } }, { "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", "details": { - "name": "unsigned char" + "name": "Color Index" } } ], @@ -167,7 +163,7 @@ { "typeid": "{937E3BF8-5204-4D40-A8DA-C8F083C89F9F}", "details": { - "name": "SceneAPI::DataTypes::Color" + "name": "Color" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeDataFace.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeDataFace.names index 2d4d4c2f92..abbdfd2f2f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeDataFace.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BlendShapeDataFace.names @@ -1,39 +1,38 @@ { "entries": [ { - "key": "BlendShapeDataFace", + "base": "BlendShapeDataFace", "context": "BehaviorClass", "variant": "", "details": { - "name": "BlendShapeDataFace" + "name": "Blend Shape Data Face" }, "methods": [ { - "key": "GetVertexIndex", + "base": "GetVertexIndex", "context": "BlendShapeDataFace", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetVertexIndex" + "tooltip": "When signaled, this will invoke Get Vertex Index" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetVertexIndex is invoked" + "tooltip": "Signaled after Get Vertex Index is invoked" }, "details": { - "name": "BlendShapeDataFace::GetVertexIndex", - "category": "Other" + "name": "Get Vertex Index" }, "params": [ { "typeid": "{C972EC9A-3A5C-47CD-9A92-ECB4C0C0451C}", "details": { - "name": "const SceneAPI::DataTypes::IBlendShapeData::Face&" + "name": "Blend Shape Data Face" } }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Face Index" } } ], @@ -41,7 +40,7 @@ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Vertex Index" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BoxShapeConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BoxShapeConfig.names index b5cad7c12d..aac06f415c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BoxShapeConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/BoxShapeConfig.names @@ -1,12 +1,58 @@ { "entries": [ { - "key": "BoxShapeConfig", + "base": "BoxShapeConfig", "context": "BehaviorClass", "variant": "", "details": { - "name": "BoxShapeConfig" - } + "name": "Box Shape Config" + }, + "methods": [ + { + "base": "GetDimensions", + "details": { + "name": "Get Dimensions" + }, + "params": [ + { + "typeid": "{F034FBA2-AC2F-4E66-8152-14DFB90D6283}", + "details": { + "name": "Box Shape Config", + "tooltip": "Box shape configuration parameters" + } + } + ], + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Dimensions" + } + } + ] + }, + { + "base": "SetDimensions", + "details": { + "name": "Set Dimensions" + }, + "params": [ + { + "typeid": "{F034FBA2-AC2F-4E66-8152-14DFB90D6283}", + "details": { + "name": "Box Shape Config", + "tooltip": "Box shape configuration parameters" + } + }, + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Dimensions" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CameraComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CameraComponent.names index 1b0a02f28e..7a687e359e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CameraComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CameraComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CameraComponent", + "base": "CameraComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CapsuleShapeConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CapsuleShapeConfig.names index 5172f2b9b9..6fe97b25e6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CapsuleShapeConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CapsuleShapeConfig.names @@ -1,12 +1,102 @@ { "entries": [ { - "key": "CapsuleShapeConfig", + "base": "CapsuleShapeConfig", "context": "BehaviorClass", "variant": "", "details": { - "name": "CapsuleShapeConfig" - } + "name": "Capsule Shape Config" + }, + "methods": [ + { + "base": "GetHeight", + "details": { + "name": "Get Height" + }, + "params": [ + { + "typeid": "{00931AEB-2AD8-42CE-B1DC-FA4332F51501}", + "details": { + "name": "Capsule Shape Config", + "tooltip": "Capsule shape configuration parameters" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Height" + } + } + ] + }, + { + "base": "SetHeight", + "details": { + "name": "Set Height" + }, + "params": [ + { + "typeid": "{00931AEB-2AD8-42CE-B1DC-FA4332F51501}", + "details": { + "name": "Capsule Shape Config", + "tooltip": "Capsule shape configuration parameters" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Height" + } + } + ] + }, + { + "base": "GetRadius", + "details": { + "name": "Get Radius" + }, + "params": [ + { + "typeid": "{00931AEB-2AD8-42CE-B1DC-FA4332F51501}", + "details": { + "name": "Capsule Shape Config", + "tooltip": "Capsule shape configuration parameters" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Radius" + } + } + ] + }, + { + "base": "SetRadius", + "details": { + "name": "Set Radius" + }, + "params": [ + { + "typeid": "{00931AEB-2AD8-42CE-B1DC-FA4332F51501}", + "details": { + "name": "Capsule Shape Config", + "tooltip": "Capsule shape configuration parameters" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Radius" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ClientAuthAWSCredentials.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ClientAuthAWSCredentials.names index 3d1fc2e80e..da4fd03629 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ClientAuthAWSCredentials.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ClientAuthAWSCredentials.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ClientAuthAWSCredentials", + "base": "ClientAuthAWSCredentials", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetAWSAccessKeyId", + "base": "GetAWSAccessKeyId", "details": { "name": "Get AWS Access Key Id" }, @@ -32,7 +32,7 @@ ] }, { - "key": "SetAWSAccessKeyId", + "base": "SetAWSAccessKeyId", "details": { "name": "Set AWS Access Key Id" }, @@ -52,7 +52,7 @@ ] }, { - "key": "GetAWSSecretKey", + "base": "GetAWSSecretKey", "details": { "name": "Get AWS Secret Key" }, @@ -74,7 +74,7 @@ ] }, { - "key": "SetAWSSecretKey", + "base": "SetAWSSecretKey", "details": { "name": "Set AWS Secret Key" }, @@ -94,7 +94,7 @@ ] }, { - "key": "GetAWSSessionToken", + "base": "GetAWSSessionToken", "details": { "name": "Get AWS Session Token" }, @@ -116,7 +116,7 @@ ] }, { - "key": "SetAWSSessionToken", + "base": "SetAWSSessionToken", "details": { "name": "Set AWS Session Token" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CollisionEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CollisionEvent.names index 3613a3631f..5d4d37d1f3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CollisionEvent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CollisionEvent.names @@ -1,33 +1,32 @@ { "entries": [ { - "key": "CollisionEvent", + "base": "CollisionEvent", "context": "BehaviorClass", "variant": "", "details": { - "name": "CollisionEvent" + "name": "Collision Event" }, "methods": [ { - "key": "GetBody1EntityId", + "base": "GetBody1EntityId", "context": "CollisionEvent", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetBody1EntityId" + "tooltip": "When signaled, this will invoke Get Body 1 Entity Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetBody1EntityId is invoked" + "tooltip": "Signaled after Get Body 1 Entity Id is invoked" }, "details": { - "name": "CollisionEvent::Get Body 1 EntityId", - "category": "Other" + "name": "Get Body 1 Entity Id" }, "params": [ { "typeid": "{7602AA36-792C-4BDC-BDF8-AA16792151A3}", "details": { - "name": "CollisionEvent*" + "name": "Collision Event" } } ], @@ -35,32 +34,31 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "GetBody2EntityId", + "base": "GetBody2EntityId", "context": "CollisionEvent", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetBody2EntityId" + "tooltip": "When signaled, this will invoke Get Body 2 Entity Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetBody2EntityId is invoked" + "tooltip": "Signaled after Get Body 2 Entity Id is invoked" }, "details": { - "name": "CollisionEvent::Get Body 2 EntityId", - "category": "Other" + "name": "Get Body 2 Entity Id" }, "params": [ { "typeid": "{7602AA36-792C-4BDC-BDF8-AA16792151A3}", "details": { - "name": "CollisionEvent*" + "name": "Collision Event" } } ], @@ -68,11 +66,33 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] + }, + { + "base": "GetContacts", + "details": { + "name": "Get Contacts" + }, + "params": [ + { + "typeid": "{7602AA36-792C-4BDC-BDF8-AA16792151A3}", + "details": { + "name": "Collision Event" + } + } + ], + "results": [ + { + "typeid": "{009022A1-16A5-50B0-958F-F69C729985A3}", + "details": { + "name": "Contacts" + } + } + ] } ] } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CollisionGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CollisionGroup.names index ba4a63ebe2..2892f8b5c5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CollisionGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CollisionGroup.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CollisionGroup", + "base": "CollisionGroup", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ComponentId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ComponentId.names index b9a8574451..32213e9d4b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ComponentId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ComponentId.names @@ -1,34 +1,33 @@ { "entries": [ { - "key": "ComponentId", + "base": "ComponentId", "context": "BehaviorClass", "variant": "", "details": { - "name": "ComponentID", + "name": "Component Id", "category": "Entity" }, "methods": [ { - "key": "IsValid", + "base": "IsValid", "context": "ComponentId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsValid" + "tooltip": "When signaled, this will invoke Is Valid" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsValid is invoked" + "tooltip": "Signaled after Is Valid is invoked" }, "details": { - "name": "ComponentId::IsValid", - "category": "Entity" + "name": "Is Valid" }, "params": [ { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "BehaviorComponentId*" + "name": "Behavior Component Id*" } } ], @@ -36,13 +35,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Is Valid" } } ] }, { - "key": "Equal", + "base": "Equal", "context": "ComponentId", "entry": { "name": "In", @@ -53,20 +52,19 @@ "tooltip": "Signaled after Equal is invoked" }, "details": { - "name": "ComponentId::Equal", - "category": "Entity" + "name": "Equal" }, "params": [ { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "BehaviorComponentId*" + "name": "Behavior Component Id" } }, { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "const BehaviorComponentId&" + "name": "Behavior Component Id" } } ], @@ -74,31 +72,30 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Is Equal" } } ] }, { - "key": "ToString", + "base": "ToString", "context": "ComponentId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ToString" + "tooltip": "When signaled, this will invoke To String" }, "exit": { "name": "Out", - "tooltip": "Signaled after ToString is invoked" + "tooltip": "Signaled after To String is invoked" }, "details": { - "name": "ComponentId::ToString", - "category": "Entity" + "name": "To String" }, "params": [ { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "BehaviorComponentId*" + "name": "Behavior Component Id*" } } ], diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ConstantGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ConstantGradientComponent.names index 0e0fdad150..e51e6c292b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ConstantGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ConstantGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ConstantGradientComponent", + "base": "ConstantGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ConstantGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ConstantGradientConfig.names index ed5c46c4fa..c7110f1a52 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ConstantGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ConstantGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ConstantGradientConfig", + "base": "ConstantGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Contact.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Contact.names index 068759089b..547cb70970 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Contact.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Contact.names @@ -1,12 +1,182 @@ { "entries": [ { - "key": "Contact", + "base": "Contact", "context": "BehaviorClass", "variant": "", "details": { "name": "Contact" - } + }, + "methods": [ + { + "base": "GetPosition", + "details": { + "name": "Get Position" + }, + "params": [ + { + "typeid": "{D7439508-ED10-4395-9D48-1FC3D7815361}", + "details": { + "name": "Contact" + } + } + ], + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Position" + } + } + ] + }, + { + "base": "SetPosition", + "details": { + "name": "Set Position" + }, + "params": [ + { + "typeid": "{D7439508-ED10-4395-9D48-1FC3D7815361}", + "details": { + "name": "Contact" + } + }, + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Position" + } + } + ] + }, + { + "base": "GetNormal", + "details": { + "name": "Get Normal" + }, + "params": [ + { + "typeid": "{D7439508-ED10-4395-9D48-1FC3D7815361}", + "details": { + "name": "Contact" + } + } + ], + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Normal" + } + } + ] + }, + { + "base": "SetNormal", + "details": { + "name": "Set Normal" + }, + "params": [ + { + "typeid": "{D7439508-ED10-4395-9D48-1FC3D7815361}", + "details": { + "name": "Contact" + } + }, + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Normal" + } + } + ] + }, + { + "base": "GetImpulse", + "details": { + "name": "Get Impulse" + }, + "params": [ + { + "typeid": "{D7439508-ED10-4395-9D48-1FC3D7815361}", + "details": { + "name": "Contact" + } + } + ], + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Impulse" + } + } + ] + }, + { + "base": "SetImpulse", + "details": { + "name": "Set Impulse" + }, + "params": [ + { + "typeid": "{D7439508-ED10-4395-9D48-1FC3D7815361}", + "details": { + "name": "Contact" + } + }, + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Impulse" + } + } + ] + }, + { + "base": "GetSeparation", + "details": { + "name": "Get Separation" + }, + "params": [ + { + "typeid": "{D7439508-ED10-4395-9D48-1FC3D7815361}", + "details": { + "name": "Contact" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Separation" + } + } + ] + }, + { + "base": "SetSeparation", + "details": { + "name": "Set Separation" + }, + "params": [ + { + "typeid": "{D7439508-ED10-4395-9D48-1FC3D7815361}", + "details": { + "name": "Contact" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Separation" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CryRange.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CryRange.names index 39791a3b8b..aae928f16f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CryRange.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CryRange.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CryRange", + "base": "CryRange", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CylinderShapeConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CylinderShapeConfig.names index 633933e188..89ee21fe7d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CylinderShapeConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/CylinderShapeConfig.names @@ -1,12 +1,102 @@ { "entries": [ { - "key": "CylinderShapeConfig", + "base": "CylinderShapeConfig", "context": "BehaviorClass", "variant": "", "details": { - "name": "CylinderShapeConfig" - } + "name": "Cylinder Shape Config" + }, + "methods": [ + { + "base": "GetHeight", + "details": { + "name": "Get Height" + }, + "params": [ + { + "typeid": "{53254779-82F1-441E-9116-81E1FACFECF4}", + "details": { + "name": "Cylinder Shape Config", + "tooltip": "Cylinder shape configuration parameters" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Height" + } + } + ] + }, + { + "base": "SetHeight", + "details": { + "name": "Set Height" + }, + "params": [ + { + "typeid": "{53254779-82F1-441E-9116-81E1FACFECF4}", + "details": { + "name": "Cylinder Shape Config", + "tooltip": "Cylinder shape configuration parameters" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Height" + } + } + ] + }, + { + "base": "GetRadius", + "details": { + "name": "Get Radius" + }, + "params": [ + { + "typeid": "{53254779-82F1-441E-9116-81E1FACFECF4}", + "details": { + "name": "Cylinder Shape Config", + "tooltip": "Cylinder shape configuration parameters" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Radius" + } + } + ] + }, + { + "base": "SetRadius", + "details": { + "name": "Set Radius" + }, + "params": [ + { + "typeid": "{53254779-82F1-441E-9116-81E1FACFECF4}", + "details": { + "name": "Cylinder Shape Config", + "tooltip": "Cylinder shape configuration parameters" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Radius" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DiskShapeConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DiskShapeConfig.names index 82cd174850..6f4af06f00 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DiskShapeConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DiskShapeConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "DiskShapeConfig", + "base": "DiskShapeConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DisplaySettingsState.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DisplaySettingsState.names index 6911c3d15e..2addd0d656 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DisplaySettingsState.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DisplaySettingsState.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "DisplaySettingsState", + "base": "DisplaySettingsState", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ToString", + "base": "ToString", "context": "DisplaySettingsState", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DitherGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DitherGradientComponent.names index 36d4024bce..e3b269f248 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DitherGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DitherGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "DitherGradientComponent", + "base": "DitherGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DitherGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DitherGradientConfig.names index bdbf4d34e4..94ee3bc7c7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DitherGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/DitherGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "DitherGradientConfig", + "base": "DitherGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorActorComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorActorComponent.names index 9ff8e9933c..d07b60cb07 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorActorComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorActorComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorActorComponent", + "base": "EditorActorComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorCameraComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorCameraComponent.names index ad933a1918..23724acac1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorCameraComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorCameraComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorCameraComponent", + "base": "EditorCameraComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorLayerComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorLayerComponent.names index f8cdb2e825..415af30964 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorLayerComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorLayerComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorLayerComponent", + "base": "EditorLayerComponent", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "CreateLayerEntityFromName", + "base": "CreateLayerEntityFromName", "context": "EditorLayerComponent", "entry": { "name": "In", @@ -42,7 +42,7 @@ ] }, { - "key": "RecoverLayer", + "base": "RecoverLayer", "context": "EditorLayerComponent", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorMaterialComponentSlot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorMaterialComponentSlot.names index fbb74f130d..5b20e07711 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorMaterialComponentSlot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorMaterialComponentSlot.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorMaterialComponentSlot", + "base": "EditorMaterialComponentSlot", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorSequenceComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorSequenceComponent.names index 32e5072aa2..7e29d2e3cb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorSequenceComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorSequenceComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorSequenceComponent", + "base": "EditorSequenceComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorSimpleMotionComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorSimpleMotionComponent.names index 8ae6402242..fa1366b36a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorSimpleMotionComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorSimpleMotionComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorSimpleMotionComponent", + "base": "EditorSimpleMotionComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorTransformBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorTransformBus.names index 11b6390631..cb681cedbd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorTransformBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EditorTransformBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorTransformBus", + "base": "EditorTransformBus", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity Transform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity Transform.names index 86c3415b37..389c88d709 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity Transform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity Transform.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Entity Transform", + "base": "Entity Transform", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Rotate", + "base": "Rotate", "context": "Entity Transform", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity.names index 258e490a4e..22a3a46c7c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity.names @@ -1,41 +1,41 @@ { "entries": [ { - "key": "Entity", + "base": "Entity", "context": "BehaviorClass", "variant": "", "details": { - "name": "Entity", + "name": "Behavior Entity", "category": "Entity" }, "methods": [ { - "key": "GetComponentName", + "base": "GetComponentName", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetComponentName" + "tooltip": "When signaled, this will invoke Get Component Name" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetComponentName is invoked" + "tooltip": "Signaled after Get Component Name is invoked" }, "details": { - "name": "Entity::GetComponentName", - "category": "Entity" + "name": "Get Component Name", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } }, { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "BehaviorComponentId" + "name": "Behavior Component Id" } } ], @@ -43,38 +43,38 @@ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::vector" + "name": "Component Name" } } ] }, { - "key": "GetComponentType", + "base": "GetComponentType", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetComponentType" + "tooltip": "When signaled, this will invoke Get Component Type" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetComponentType is invoked" + "tooltip": "Signaled after Get Component Type is invoked" }, "details": { - "name": "Entity::GetComponentType", - "category": "Entity" + "name": "Get Component Type", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } }, { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "BehaviorComponentId" + "name": "Behavior Component Id" } } ], @@ -82,44 +82,44 @@ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "Uuid" + "name": "Type" } } ] }, { - "key": "CreateComponent", + "base": "CreateComponent", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateComponent" + "tooltip": "When signaled, this will invoke Create Component" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateComponent is invoked" + "tooltip": "Signaled after Create Component is invoked" }, "details": { - "name": "Entity::CreateComponent", - "category": "Entity" + "name": "Create Component", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } }, { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "const AZ::Uuid&" + "name": "Component Type" } }, { "typeid": "{0A7929DF-2932-40EA-B2B3-79BC1C3490D0}", "details": { - "name": "const ComponentConfig*" + "name": "Component Config*" } } ], @@ -127,38 +127,38 @@ { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "Number" + "name": "Behavior Component Id" } } ] }, { - "key": "DestroyComponent", + "base": "DestroyComponent", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke DestroyComponent" + "tooltip": "When signaled, this will invoke Destroy Component" }, "exit": { "name": "Out", - "tooltip": "Signaled after DestroyComponent is invoked" + "tooltip": "Signaled after Destroy Component is invoked" }, "details": { - "name": "Entity::DestroyComponent", - "category": "Entity" + "name": "Destroy Component", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } }, { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "BehaviorComponentId" + "name": "Behavior Component Id" } } ], @@ -166,38 +166,38 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Success" } } ] }, { - "key": "FindComponentOfType", + "base": "FindComponentOfType", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke FindComponentOfType" + "tooltip": "When signaled, this will invoke Find Component Of Type" }, "exit": { "name": "Out", - "tooltip": "Signaled after FindComponentOfType is invoked" + "tooltip": "Signaled after Find Component Of Type is invoked" }, "details": { - "name": "Entity::FindComponentOfType", - "category": "Entity" + "name": "Find Component Of Type", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } }, { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "const AZ::Uuid&" + "name": "Component Type" } } ], @@ -205,44 +205,44 @@ { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "Component ID" + "name": "Behavior Component Id" } } ] }, { - "key": "SetComponentConfiguration", + "base": "SetComponentConfiguration", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetComponentConfiguration" + "tooltip": "When signaled, this will invoke Set Component Configuration" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetComponentConfiguration is invoked" + "tooltip": "Signaled after Set Component Configuration is invoked" }, "details": { - "name": "Entity::SetComponentConfiguration", - "category": "Entity" + "name": "Set Component Configuration", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } }, { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "BehaviorComponentId" + "name": "Behavior Component Id" } }, { "typeid": "{0A7929DF-2932-40EA-B2B3-79BC1C3490D0}", "details": { - "name": "const ComponentConfig&" + "name": "Component Config" } } ], @@ -250,31 +250,31 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Success" } } ] }, { - "key": "IsValid", + "base": "IsValid", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsValid" + "tooltip": "When signaled, this will invoke Is Valid" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsValid is invoked" + "tooltip": "Signaled after Is Valid is invoked" }, "details": { - "name": "Entity::IsValid", - "category": "Entity/Game Entity" + "name": "Is Valid", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "EntityID", + "name": "Behavior Entity", "tooltip": "Entity" } } @@ -283,13 +283,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Is Valid" } } ] }, { - "key": "GetId", + "base": "GetId", "context": "Entity", "entry": { "name": "In", @@ -300,14 +300,14 @@ "tooltip": "Signaled after GetId is invoked" }, "details": { - "name": "Entity::GetId", - "category": "Entity" + "name": "Get Id", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } } @@ -316,14 +316,14 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityID", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "GetOwningContextId", + "base": "GetOwningContextId", "context": "Entity", "entry": { "name": "In", @@ -334,14 +334,13 @@ "tooltip": "Signaled after GetOwningContextId is invoked" }, "details": { - "name": "Entity::GetOwningContextId", - "category": "Entity" + "name": "Get Owning Context Id" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } } @@ -350,31 +349,31 @@ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "Uuid" + "name": "Context Id" } } ] }, { - "key": "GetComponents", + "base": "GetComponents", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetComponents" + "tooltip": "When signaled, this will invoke Get Components" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetComponents is invoked" + "tooltip": "Signaled after Get Components is invoked" }, "details": { - "name": "Entity::GetComponents", - "category": "Entity" + "name": "Get Components", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } } @@ -389,32 +388,32 @@ ] }, { - "key": "FindAllComponentsOfType", + "base": "FindAllComponentsOfType", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke FindAllComponentsOfType" + "tooltip": "When signaled, this will invoke Find All Components Of Type" }, "exit": { "name": "Out", - "tooltip": "Signaled after FindAllComponentsOfType is invoked" + "tooltip": "Signaled after Find All Components Of Type is invoked" }, "details": { - "name": "Entity::FindAllComponentsOfType", - "category": "Entity" + "name": "Find All Components Of Type", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } }, { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "const AZ::Uuid&" + "name": "Component Type" } } ], @@ -422,44 +421,44 @@ { "typeid": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "details": { - "name": "AZStd::vector" + "name": "Components" } } ] }, { - "key": "GetComponentConfiguration", + "base": "GetComponentConfiguration", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetComponentConfiguration" + "tooltip": "When signaled, this will invoke Get Component Configuration" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetComponentConfiguration is invoked" + "tooltip": "Signaled after Get Component Configuration is invoked" }, "details": { - "name": "Entity::GetComponentConfiguration", - "category": "Entity" + "name": "Get Component Configuration", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } }, { "typeid": "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}", "details": { - "name": "BehaviorComponentId" + "name": "Behavior Component Id" } }, { "typeid": "{0A7929DF-2932-40EA-B2B3-79BC1C3490D0}", "details": { - "name": "ComponentConfig&" + "name": "Component Config" } } ], @@ -467,62 +466,62 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Success" } } ] }, { - "key": "SetName", + "base": "SetName", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetName" + "tooltip": "When signaled, this will invoke Set Name" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetName is invoked" + "tooltip": "Signaled after Set Name is invoked" }, "details": { - "name": "Entity::SetName", - "category": "Entity" + "name": "Set Name", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } }, { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "const char*" + "name": "Name" } } ] }, { - "key": "IsActivated", + "base": "IsActivated", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsActivated" + "tooltip": "When signaled, this will invoke Is Activated" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsActivated is invoked" + "tooltip": "Signaled after Is Activated is invoked" }, "details": { - "name": "Entity::IsActivated", - "category": "Entity" + "name": "Is Activated", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } } @@ -531,13 +530,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Is Activated" } } ] }, { - "key": "Activate", + "base": "Activate", "context": "Entity", "entry": { "name": "In", @@ -548,21 +547,21 @@ "tooltip": "Signaled after Activate is invoked" }, "details": { - "name": "Entity::Activate", - "category": "Entity" + "name": "Activate", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } } ] }, { - "key": "Deactivate", + "base": "Deactivate", "context": "Entity", "entry": { "name": "In", @@ -573,39 +572,39 @@ "tooltip": "Signaled after Deactivate is invoked" }, "details": { - "name": "Entity::Deactivate", - "category": "Entity" + "name": "Deactivate", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } } ] }, { - "key": "GetName", + "base": "GetName", "context": "Entity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetName" + "tooltip": "When signaled, this will invoke Get Name" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetName is invoked" + "tooltip": "Signaled after Get Name is invoked" }, "details": { - "name": "Entity::GetName", - "category": "Entity" + "name": "GetName", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } } @@ -614,13 +613,13 @@ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "String" + "name": "Name" } } ] }, { - "key": "Exists", + "base": "Exists", "context": "Entity", "entry": { "name": "In", @@ -631,14 +630,14 @@ "tooltip": "Signaled after Exists is invoked" }, "details": { - "name": "Entity::Exists", - "category": "Entity" + "name": "Exists", + "category": "Other" }, "params": [ { "typeid": "{41CC88A4-FE07-48E6-943D-998DE68AFF5C}", "details": { - "name": "BehaviorEntity*", + "name": "Behavior Entity", "tooltip": "Entity" } } @@ -647,7 +646,7 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Exists" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityComponentIdPair.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityComponentIdPair.names index 65f9f52bd9..50268aecb5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityComponentIdPair.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityComponentIdPair.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EntityComponentIdPair", + "base": "EntityComponentIdPair", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetEntityId", + "base": "GetEntityId", "context": "EntityComponentIdPair", "entry": { "name": "In", @@ -42,7 +42,7 @@ ] }, { - "key": "Equal", + "base": "Equal", "context": "EntityComponentIdPair", "entry": { "name": "In", @@ -80,7 +80,7 @@ ] }, { - "key": "ToString", + "base": "ToString", "context": "EntityComponentIdPair", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityEntity_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityEntity_VM.names index fe98c15e8c..ea810ec9f0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityEntity_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityEntity_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EntityEntity_VM", + "base": "EntityEntity_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ToString", + "base": "ToString", "context": "EntityEntity_VM", "entry": { "name": "In", @@ -42,7 +42,7 @@ ] }, { - "key": "IsValid", + "base": "IsValid", "context": "EntityEntity_VM", "entry": { "name": "In", @@ -75,7 +75,7 @@ ] }, { - "key": "GetEntityForward", + "base": "GetEntityForward", "context": "EntityEntity_VM", "entry": { "name": "In", @@ -114,7 +114,7 @@ ] }, { - "key": "IsActive", + "base": "IsActive", "context": "EntityEntity_VM", "entry": { "name": "In", @@ -147,7 +147,7 @@ ] }, { - "key": "GetEntityRight", + "base": "GetEntityRight", "context": "EntityEntity_VM", "entry": { "name": "In", @@ -186,7 +186,7 @@ ] }, { - "key": "GetEntityUp", + "base": "GetEntityUp", "context": "EntityEntity_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityType.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityType.names index c536170171..3389be627a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityType.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/EntityType.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EntityType", + "base": "EntityType", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPerActivation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPerActivation.names index 121cf63347..a6a5e8142a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPerActivation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPerActivation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ExecutionStateInterpretedPerActivation", + "base": "ExecutionStateInterpretedPerActivation", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPerActivationOnGraphStart.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPerActivationOnGraphStart.names index f0138954e0..416c6b2f5b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPerActivationOnGraphStart.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPerActivationOnGraphStart.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ExecutionStateInterpretedPerActivationOnGraphStart", + "base": "ExecutionStateInterpretedPerActivationOnGraphStart", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPure.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPure.names index fdd633d126..0dd0d06720 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPure.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPure.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ExecutionStateInterpretedPure", + "base": "ExecutionStateInterpretedPure", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPureOnGraphStart.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPureOnGraphStart.names index c979b46dbd..94204607cc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPureOnGraphStart.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedPureOnGraphStart.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ExecutionStateInterpretedPureOnGraphStart", + "base": "ExecutionStateInterpretedPureOnGraphStart", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedSingleton.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedSingleton.names index 3fa218a880..3303bba243 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedSingleton.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExecutionStateInterpretedSingleton.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ExecutionStateInterpretedSingleton", + "base": "ExecutionStateInterpretedSingleton", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExportProduct.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExportProduct.names index a8035016f6..b42f87cf63 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExportProduct.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExportProduct.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ExportProduct", + "base": "ExportProduct", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExportProductList.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExportProductList.names index e2dac48874..c3bbaf92a3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExportProductList.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExportProductList.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ExportProductList", + "base": "ExportProductList", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "AddProduct", + "base": "AddProduct", "context": "ExportProductList", "entry": { "name": "In", @@ -39,7 +39,7 @@ ] }, { - "key": "GetProducts", + "base": "GetProducts", "context": "ExportProductList", "entry": { "name": "In", @@ -71,7 +71,7 @@ ] }, { - "key": "AddDependencyToProduct", + "base": "AddDependencyToProduct", "context": "ExportProductList", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExposureControlConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExposureControlConfig.names index ef15a10176..fc0bf98597 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExposureControlConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ExposureControlConfig.names @@ -1,12 +1,266 @@ { "entries": [ { - "key": "ExposureControlConfig", + "base": "ExposureControlConfig", "context": "BehaviorClass", "variant": "", "details": { - "name": "ExposureControlConfig" - } + "name": "Exposure Control Config" + }, + "methods": [ + { + "base": "GetautoExposureSpeedUp", + "details": { + "name": "Get Auto Exposure Speed Up" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Auto Exposure Speed Up" + } + } + ] + }, + { + "base": "SetautoExposureSpeedUp", + "details": { + "name": "Set Auto Exposure Speed Up" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Auto Exposure Speed Up" + } + } + ] + }, + { + "base": "GetautoExposureSpeedDown", + "details": { + "name": "Get Auto Exposure Speed Down" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Auto Exposure Speed Down" + } + } + ] + }, + { + "base": "SetautoExposureSpeedDown", + "details": { + "name": "Setauto Exposure Speed Down" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Exposure Speed Down" + } + } + ] + }, + { + "base": "GetautoExposureMax", + "details": { + "name": "Get Auto Exposure Max" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Auto Exposure Max" + } + } + ] + }, + { + "base": "SetautoExposureMax", + "details": { + "name": "Set Auto Exposure Max" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Auto Exposure Max" + } + } + ] + }, + { + "base": "GetautoExposureMin", + "details": { + "name": "Get Auto Exposure Min" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Auto Exposure Min" + } + } + ] + }, + { + "base": "SetautoExposureMin", + "details": { + "name": "Set Auto Exposure Min" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Auto Exposure Min" + } + } + ] + }, + { + "base": "GetexposureControlType", + "details": { + "name": "Get Exposure Control Type" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + } + ], + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "Exposure Control Type" + } + } + ] + }, + { + "base": "SetexposureControlType", + "details": { + "name": "Set Exposure Control Type" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + }, + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "Exposure Control Type" + } + } + ] + }, + { + "base": "GetcompensateValue", + "details": { + "name": "Get Compensate Value" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Compensate Value" + } + } + ] + }, + { + "base": "SetcompensateValue", + "details": { + "name": "Set Compensate Value" + }, + "params": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Compensate Value" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GameplayNotificationId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GameplayNotificationId.names index 686f40b859..27dab194a4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GameplayNotificationId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GameplayNotificationId.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GameplayNotificationId", + "base": "GameplayNotificationId", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "ToString", + "base": "ToString", "context": "GameplayNotificationId", "entry": { "name": "In", @@ -42,7 +42,7 @@ ] }, { - "key": "Equal", + "base": "Equal", "context": "GameplayNotificationId", "entry": { "name": "In", @@ -80,7 +80,7 @@ ] }, { - "key": "Clone", + "base": "Clone", "context": "GameplayNotificationId", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSampleParams.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSampleParams.names index 233f8b4ba9..8db90358b4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSampleParams.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSampleParams.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GradientSampleParams", + "base": "GradientSampleParams", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSampler.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSampler.names index ebf2a37da5..57f65951aa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSampler.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSampler.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GradientSampler", + "base": "GradientSampler", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSurfaceDataComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSurfaceDataComponent.names index 16b8c9437d..dbc0134c40 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSurfaceDataComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSurfaceDataComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GradientSurfaceDataComponent", + "base": "GradientSurfaceDataComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSurfaceDataConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSurfaceDataConfig.names index c176bcd603..0a488feb78 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSurfaceDataConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientSurfaceDataConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GradientSurfaceDataConfig", + "base": "GradientSurfaceDataConfig", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetNumTags", + "base": "GetNumTags", "context": "GradientSurfaceDataConfig", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetTag", + "base": "GetTag", "context": "GradientSurfaceDataConfig", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "RemoveTag", + "base": "RemoveTag", "context": "GradientSurfaceDataConfig", "entry": { "name": "In", @@ -109,7 +109,7 @@ ] }, { - "key": "AddTag", + "base": "AddTag", "context": "GradientSurfaceDataConfig", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientTransformComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientTransformComponent.names index 007c0f28a3..f0f587922a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientTransformComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientTransformComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GradientTransformComponent", + "base": "GradientTransformComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientTransformConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientTransformConfig.names index 8686f131d6..1156dfc75e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientTransformConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GradientTransformConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GradientTransformConfig", + "base": "GradientTransformConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GraphModelSlotId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GraphModelSlotId.names index 67c5edb8e7..232ec5f34a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GraphModelSlotId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/GraphModelSlotId.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GraphModelSlotId", + "base": "GraphModelSlotId", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IAnimationData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IAnimationData.names index 2dc1fd3ce8..c258755cf5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IAnimationData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IAnimationData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "IAnimationData", + "base": "IAnimationData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetKeyFrameCount", + "base": "GetKeyFrameCount", "context": "IAnimationData", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetKeyFrame", + "base": "GetKeyFrame", "context": "IAnimationData", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "GetTimeStepBetweenFrames", + "base": "GetTimeStepBetweenFrames", "context": "IAnimationData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IBlendShapeAnimationData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IBlendShapeAnimationData.names index a326b0b586..1d73f54d56 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IBlendShapeAnimationData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IBlendShapeAnimationData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "IBlendShapeAnimationData", + "base": "IBlendShapeAnimationData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetBlendShapeName", + "base": "GetBlendShapeName", "context": "IBlendShapeAnimationData", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetKeyFrameCount", + "base": "GetKeyFrameCount", "context": "IBlendShapeAnimationData", "entry": { "name": "In", @@ -73,7 +73,7 @@ ] }, { - "key": "GetKeyFrame", + "base": "GetKeyFrame", "context": "IBlendShapeAnimationData", "entry": { "name": "In", @@ -111,7 +111,7 @@ ] }, { - "key": "GetTimeStepBetweenFrames", + "base": "GetTimeStepBetweenFrames", "context": "IBlendShapeAnimationData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IBlendShapeData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IBlendShapeData.names index 5c4f91be1a..24143c053c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IBlendShapeData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IBlendShapeData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "IBlendShapeData", + "base": "IBlendShapeData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetNormal", + "base": "GetNormal", "context": "IBlendShapeData", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "GetFaceVertexIndex", + "base": "GetFaceVertexIndex", "context": "IBlendShapeData", "entry": { "name": "In", @@ -91,7 +91,7 @@ ] }, { - "key": "GetFaceInfo", + "base": "GetFaceInfo", "context": "IBlendShapeData", "entry": { "name": "In", @@ -129,7 +129,7 @@ ] }, { - "key": "GetPosition", + "base": "GetPosition", "context": "IBlendShapeData", "entry": { "name": "In", @@ -167,7 +167,7 @@ ] }, { - "key": "GetUsedPointIndexForControlPoint", + "base": "GetUsedPointIndexForControlPoint", "context": "IBlendShapeData", "entry": { "name": "In", @@ -205,7 +205,7 @@ ] }, { - "key": "GetVertexCount", + "base": "GetVertexCount", "context": "IBlendShapeData", "entry": { "name": "In", @@ -237,7 +237,7 @@ ] }, { - "key": "GetFaceCount", + "base": "GetFaceCount", "context": "IBlendShapeData", "entry": { "name": "In", @@ -269,7 +269,7 @@ ] }, { - "key": "GetControlPointIndex", + "base": "GetControlPointIndex", "context": "IBlendShapeData", "entry": { "name": "In", @@ -307,7 +307,7 @@ ] }, { - "key": "GetUsedControlPointCount", + "base": "GetUsedControlPointCount", "context": "IBlendShapeData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IGraphObject.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IGraphObject.names index a330f6bdae..b804be2319 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IGraphObject.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IGraphObject.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "IGraphObject", + "base": "IGraphObject", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IMeshData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IMeshData.names index 608c225f3d..2ac54d8ab0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IMeshData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/IMeshData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "IMeshData", + "base": "IMeshData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetUnitSizeInMeters", + "base": "GetUnitSizeInMeters", "context": "IMeshData", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetOriginalUnitSizeInMeters", + "base": "GetOriginalUnitSizeInMeters", "context": "IMeshData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ImageGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ImageGradientComponent.names index 186eee8f38..194c7eb028 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ImageGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ImageGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ImageGradientComponent", + "base": "ImageGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ImageGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ImageGradientConfig.names index d774b0d054..75e0b09edf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ImageGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ImageGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ImageGradientConfig", + "base": "ImageGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceGamepad.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceGamepad.names index 69ce4ef1ce..462cc30656 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceGamepad.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceGamepad.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "InputDeviceGamepad", + "base": "InputDeviceGamepad", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceKeyboard.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceKeyboard.names index f041229250..f9b49b0fc9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceKeyboard.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceKeyboard.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "InputDeviceKeyboard", + "base": "InputDeviceKeyboard", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceMotion.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceMotion.names index 92421945e7..994989916f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceMotion.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceMotion.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "InputDeviceMotion", + "base": "InputDeviceMotion", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceMouse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceMouse.names index 762d2fe576..dd47cb6405 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceMouse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceMouse.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "InputDeviceMouse", + "base": "InputDeviceMouse", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceTouch.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceTouch.names index 082e6e65cf..b34a2bfe64 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceTouch.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceTouch.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "InputDeviceTouch", + "base": "InputDeviceTouch", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceVirtualKeyboard.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceVirtualKeyboard.names index 770640e7f7..6ed1e9058b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceVirtualKeyboard.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputDeviceVirtualKeyboard.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "InputDeviceVirtualKeyboard", + "base": "InputDeviceVirtualKeyboard", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputEventNotificationId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputEventNotificationId.names index e964bd2518..c510b34efd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputEventNotificationId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InputEventNotificationId.names @@ -1,34 +1,33 @@ { "entries": [ { - "key": "InputEventNotificationId", + "base": "InputEventNotificationId", "context": "BehaviorClass", "variant": "", "details": { - "name": "Input Event Notification ID", - "category": "Gameplay/Input" + "name": "Input", + "category": "Gameplay" }, "methods": [ { - "key": "ToString", + "base": "ToString", "context": "InputEventNotificationId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ToString" + "tooltip": "When signaled, this will invoke To String" }, "exit": { "name": "Out", - "tooltip": "Signaled after ToString is invoked" + "tooltip": "Signaled after To String is invoked" }, "details": { - "name": "InputEventNotificationId::ToString", - "category": "Gameplay/Input" + "name": "To String" }, "params": [ { "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", "details": { - "name": "InputEventNotificationId*" + "name": "Input Event Notification Id" } } ], @@ -42,7 +41,7 @@ ] }, { - "key": "Equal", + "base": "Equal", "context": "InputEventNotificationId", "entry": { "name": "In", @@ -53,20 +52,19 @@ "tooltip": "Signaled after Equal is invoked" }, "details": { - "name": "InputEventNotificationId::Equal", - "category": "Gameplay/Input" + "name": "Equal" }, "params": [ { "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", "details": { - "name": "InputEventNotificationId*" + "name": "Input Event Notification Id" } }, { "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", "details": { - "name": "const InputEventNotificationId&" + "name": "Input Event Notification Id" } } ], @@ -74,13 +72,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Equal" } } ] }, { - "key": "Clone", + "base": "Clone", "context": "InputEventNotificationId", "entry": { "name": "In", @@ -91,14 +89,13 @@ "tooltip": "Signaled after Clone is invoked" }, "details": { - "name": "InputEventNotificationId::Clone", - "category": "Gameplay/Input" + "name": "Clone" }, "params": [ { "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", "details": { - "name": "InputEventNotificationId*" + "name": "Input Event Notification Id" } } ], @@ -106,39 +103,36 @@ { "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", "details": { - "name": "InputEventNotificationID" + "name": "Input Event Notification Id" } } ] }, { - "key": "CreateInputEventNotificationId", + "base": "CreateInputEventNotificationId", "context": "InputEventNotificationId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateInputEventNotificationId" + "tooltip": "When signaled, this will invoke Create Input Event Notification Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateInputEventNotificationId is invoked" + "tooltip": "Signaled after Create Input Event Notification Id is invoked" }, "details": { - "name": "InputEventNotificationId::CreateInputEventNotificationId", - "category": "Gameplay/Input" + "name": "Create Input Event Notification Id" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "localUserId", - "tooltip": "Local user ID (0-3, or -1 for all users)" + "name": "Local User Id" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "actionName", - "tooltip": "The name of the Input event action" + "name": "Value" } } ], @@ -146,7 +140,111 @@ { "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", "details": { - "name": "InputEventNotificationID" + "name": "Input Event Notification Id" + } + } + ] + }, + { + "base": "GetactionNameCrc", + "details": { + "name": "Get Action Name Tag" + }, + "params": [ + { + "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", + "details": { + "name": "Input Event Notification Id" + } + } + ], + "results": [ + { + "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", + "details": { + "name": "Tag" + } + } + ] + }, + { + "base": "SetactionNameCrc", + "details": { + "name": "Set Action Name Tag" + }, + "params": [ + { + "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", + "details": { + "name": "Input Event Notification Id" + } + }, + { + "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", + "details": { + "name": "Tag" + } + } + ] + }, + { + "base": "GetlocalUserId", + "details": { + "name": "Get Local User Id" + }, + "params": [ + { + "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", + "details": { + "name": "Input Event Notification Id" + } + } + ], + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "Local User Id" + } + } + ] + }, + { + "base": "SetlocalUserId", + "details": { + "name": "Set Local User Id" + }, + "params": [ + { + "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", + "details": { + "name": "Input Event Notification Id" + } + }, + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "Local User Id" + } + } + ] + }, + { + "base": "SetactionName", + "details": { + "name": "Set Action Name" + }, + "params": [ + { + "typeid": "{9E0F0801-348B-4FF9-AF9B-858D59404968}", + "details": { + "name": "Input Event Notification Id" + } + }, + { + "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", + "details": { + "name": "Action Name" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InvertGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InvertGradientComponent.names index 8e72ef70d6..80153489d0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InvertGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InvertGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "InvertGradientComponent", + "base": "InvertGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InvertGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InvertGradientConfig.names index 21840537c4..0c7f50683f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InvertGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/InvertGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "InvertGradientConfig", + "base": "InvertGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LevelsGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LevelsGradientComponent.names index 08c34aea98..c44335f796 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LevelsGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LevelsGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "LevelsGradientComponent", + "base": "LevelsGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LevelsGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LevelsGradientConfig.names index badb39ba8e..6b1b6f5d1f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LevelsGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LevelsGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "LevelsGradientConfig", + "base": "LevelsGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LightConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LightConfig.names index 2ff191ad6c..9695d74586 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LightConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LightConfig.names @@ -1,12 +1,350 @@ { "entries": [ { - "key": "LightConfig", + "base": "LightConfig", "context": "BehaviorClass", "variant": "", "details": { - "name": "LightConfig" - } + "name": "Light Config" + }, + "methods": [ + { + "base": "GetshadowmapSize", + "details": { + "name": "Get Shadowmap Size" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + } + ], + "results": [ + { + "typeid": "{3EC1CE83-483D-41FD-9909-D22B03E56F4E}", + "details": { + "name": "Shadowmap Size" + } + } + ] + }, + { + "base": "SetshadowmapSize", + "details": { + "name": "Set Shadowmap Size" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + }, + { + "typeid": "{3EC1CE83-483D-41FD-9909-D22B03E56F4E}", + "details": { + "name": "Shadowmap Size" + } + } + ] + }, + { + "base": "GetshadowCascadeCount", + "details": { + "name": "Get Shadow Cascade Count" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + } + ], + "results": [ + { + "typeid": "{ECA0B403-C4F8-4B86-95FC-81688D046E40}", + "details": { + "name": "Shadow Cascade Count" + } + } + ] + }, + { + "base": "SetshadowCascadeCount", + "details": { + "name": "Set Shadow Cascade Count" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + }, + { + "typeid": "{ECA0B403-C4F8-4B86-95FC-81688D046E40}", + "details": { + "name": "Shadow Cascade Count" + } + } + ] + }, + { + "base": "GetenableShadowDebugColoring", + "details": { + "name": "Get Enable Shadow Debug Coloring" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Enable" + } + } + ] + }, + { + "base": "SetenableShadowDebugColoring", + "details": { + "name": "Set Enable Shadow Debug Coloring" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Enable" + } + } + ] + }, + { + "base": "Getintensity", + "details": { + "name": "Get Intensity" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Intensity" + } + } + ] + }, + { + "base": "Setintensity", + "details": { + "name": "Set Intensity" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Intensity" + } + } + ] + }, + { + "base": "GetshadowRatioLogarithmUniform", + "details": { + "name": "Get Shadow Ratio Logarithm Uniform" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Shadow Ratio Logarithm Uniform" + } + } + ] + }, + { + "base": "SetshadowRatioLogarithmUniform", + "details": { + "name": "Set Shadow Ratio Logarithm Uniform" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Shadow Ratio Logarithm Uniform" + } + } + ] + }, + { + "base": "Getcolor", + "details": { + "name": "Get Color" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + } + ], + "results": [ + { + "typeid": "{7894072A-9050-4F0F-901B-34B1A0D29417}", + "details": { + "name": "Color" + } + } + ] + }, + { + "base": "Setcolor", + "details": { + "name": "Set Color" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + }, + { + "typeid": "{7894072A-9050-4F0F-901B-34B1A0D29417}", + "details": { + "name": "Color" + } + } + ] + }, + { + "base": "Getdirection", + "details": { + "name": "Get Direction" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + } + ], + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Direction" + } + } + ] + }, + { + "base": "Setdirection", + "details": { + "name": "Set Direction" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + }, + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Direction" + } + } + ] + }, + { + "base": "GetshadowFarClipDistance", + "details": { + "name": "Get Shadow Far Clip Distance" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Shadow Far Clip Distance" + } + } + ] + }, + { + "base": "SetshadowFarClipDistance", + "details": { + "name": "Set Shadow Far Clip Distance" + }, + "params": [ + { + "typeid": "{02644F52-9483-47A8-9028-37671695C34E}", + "details": { + "name": "Light Config" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Shadow Far Clip Distance" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LightingPreset.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LightingPreset.names index 3bad4ebca7..2de6836faf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LightingPreset.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/LightingPreset.names @@ -1,12 +1,434 @@ { "entries": [ { - "key": "LightingPreset", + "base": "LightingPreset", "context": "BehaviorClass", "variant": "", "details": { - "name": "LightingPreset" - } + "name": "Lighting Preset" + }, + "methods": [ + { + "base": "GetshadowCatcherOpacity", + "details": { + "name": "Get Shadow Catcher Opacity" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Shadow Catcher Opacity" + } + } + ] + }, + { + "base": "SetshadowCatcherOpacity", + "details": { + "name": "Set Shadow Catcher Opacity" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Shadow Catcher Opacity" + } + } + ] + }, + { + "base": "GetskyboxExposure", + "details": { + "name": "Get Skybox Exposure" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Skybox Exposure" + } + } + ] + }, + { + "base": "SetskyboxExposure", + "details": { + "name": "Set Skybox Exposure" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Skybox Exposure" + } + } + ] + }, + { + "base": "Getlights", + "details": { + "name": "Get Lights" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + } + ], + "results": [ + { + "typeid": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", + "details": { + "name": "Light Configs" + } + } + ] + }, + { + "base": "Setlights", + "details": { + "name": "Set Lights" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + }, + { + "typeid": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", + "details": { + "name": "Light Configs" + } + } + ] + }, + { + "base": "GetiblExposure", + "details": { + "name": "Get IBL Exposure" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "IBL Exposure" + } + } + ] + }, + { + "base": "SetiblExposure", + "details": { + "name": "Set IBL Exposure" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "IBL Exposure" + } + } + ] + }, + { + "base": "GetskyboxImageAsset", + "details": { + "name": "Get Skybox Image Asset" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + } + ], + "results": [ + { + "typeid": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "details": { + "name": "Skybox Image Asset" + } + } + ] + }, + { + "base": "SetskyboxImageAsset", + "details": { + "name": "Set Skybox Image Asset" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + }, + { + "typeid": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "details": { + "name": "Skybox Image Asset" + } + } + ] + }, + { + "base": "GetiblSpecularImageAsset", + "details": { + "name": "Get IBL Specular Image Asset" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + } + ], + "results": [ + { + "typeid": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "details": { + "name": "IBL Specular Image Asset" + } + } + ] + }, + { + "base": "SetiblSpecularImageAsset", + "details": { + "name": "Set IBL Specular Image Asset" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + }, + { + "typeid": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "details": { + "name": "IBL Specular Image Asset" + } + } + ] + }, + { + "base": "GetdisplayName", + "details": { + "name": "Get Display Name" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + } + ], + "results": [ + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Display Name" + } + } + ] + }, + { + "base": "SetdisplayName", + "details": { + "name": "Set Display Name" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Display Name" + } + } + ] + }, + { + "base": "GetalternateSkyboxImageAsset", + "details": { + "name": "Get Alternate Skybox Image Asset" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + } + ], + "results": [ + { + "typeid": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "details": { + "name": "Alternate Skybox Image Asset" + } + } + ] + }, + { + "base": "SetalternateSkyboxImageAsset", + "details": { + "name": "Set Alternate Skybox Image Asset" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + }, + { + "typeid": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "details": { + "name": "Alternate Skybox Image Asset" + } + } + ] + }, + { + "base": "GetiblDiffuseImageAsset", + "details": { + "name": "Get IBL Diffuse Image Asset" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + } + ], + "results": [ + { + "typeid": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "details": { + "name": "IBL Diffuse Image Asset" + } + } + ] + }, + { + "base": "SetiblDiffuseImageAsset", + "details": { + "name": "Set IBL Diffuse Image Asset" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + }, + { + "typeid": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "details": { + "name": "IBL Diffuse Image Asset" + } + } + ] + }, + { + "base": "Getexposure", + "details": { + "name": "Get Exposure" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + } + ], + "results": [ + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + } + ] + }, + { + "base": "Setexposure", + "details": { + "name": "Set Exposure" + }, + "params": [ + { + "typeid": "{6EEACBC0-2D97-414C-8E87-088E7BA231A9}", + "details": { + "name": "Lighting Preset" + } + }, + { + "typeid": "{C6FD75F7-58BA-46CE-8FBA-2D64CB4ECFF9}", + "details": { + "name": "Exposure Control Config" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialAssignment.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialAssignment.names index a77e2615b8..eee8e79088 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialAssignment.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialAssignment.names @@ -1,41 +1,117 @@ { "entries": [ { - "key": "MaterialAssignment", + "base": "MaterialAssignment", "context": "BehaviorClass", "variant": "", "details": { - "name": "MaterialAssignment" + "name": "Material Assignment", + "category": "Rendering" }, "methods": [ { - "key": "ToString", + "base": "ToString", "context": "MaterialAssignment", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ToString" + "tooltip": "When signaled, this will invoke To String" }, "exit": { "name": "Out", - "tooltip": "Signaled after ToString is invoked" + "tooltip": "Signaled after To String is invoked" }, "details": { - "name": "MaterialAssignment::ToString", - "category": "Other" + "name": "To String" + }, + "results": [ + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "AZ Std::basic_string, allocator>" + } + } + ] + }, + { + "base": "GetmaterialAsset", + "details": { + "name": "Getmaterial Asset" }, "params": [ { "typeid": "{C66E5214-A24B-4722-B7F0-5991E6F8F163}", "details": { - "name": "AZ::Render::MaterialAssignment*" + "name": "" } } ], "results": [ { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "typeid": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", "details": { - "name": "AZStd::basic_string, allocator>" + "name": "" + } + } + ] + }, + { + "base": "SetmaterialAsset", + "details": { + "name": "Setmaterial Asset" + }, + "params": [ + { + "typeid": "{C66E5214-A24B-4722-B7F0-5991E6F8F163}", + "details": { + "name": "" + } + }, + { + "typeid": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "GetpropertyOverrides", + "details": { + "name": "Getproperty Overrides" + }, + "params": [ + { + "typeid": "{C66E5214-A24B-4722-B7F0-5991E6F8F163}", + "details": { + "name": "" + } + } + ], + "results": [ + { + "typeid": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "SetpropertyOverrides", + "details": { + "name": "Setproperty Overrides" + }, + "params": [ + { + "typeid": "{C66E5214-A24B-4722-B7F0-5991E6F8F163}", + "details": { + "name": "" + } + }, + { + "typeid": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", + "details": { + "name": "" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialAssignmentId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialAssignmentId.names index 6a5c0d5b60..4f8e8299ff 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialAssignmentId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialAssignmentId.names @@ -1,68 +1,51 @@ { "entries": [ { - "key": "MaterialAssignmentId", + "base": "MaterialAssignmentId", "context": "BehaviorClass", "variant": "", "details": { - "name": "MaterialAssignmentId" + "name": "Material Assignment Id", + "category": "Rendering" }, "methods": [ { - "key": "ToString", + "base": "ToString", "context": "MaterialAssignmentId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ToString" + "tooltip": "When signaled, this will invoke To String" }, "exit": { "name": "Out", - "tooltip": "Signaled after ToString is invoked" + "tooltip": "Signaled after To String is invoked" }, "details": { - "name": "MaterialAssignmentId::ToString", - "category": "Other" + "name": "To String" }, - "params": [ - { - "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", - "details": { - "name": "AZ::Render::MaterialAssignmentId*" - } - } - ], "results": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::basic_string, allocator>" + "name": "AZ Std::basic_string, allocator>" } } ] }, { - "key": "IsAssetOnly", + "base": "IsAssetOnly", "context": "MaterialAssignmentId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsAssetOnly" + "tooltip": "When signaled, this will invoke Is Asset Only" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsAssetOnly is invoked" + "tooltip": "Signaled after Is Asset Only is invoked" }, "details": { - "name": "MaterialAssignmentId::IsAssetOnly", - "category": "Other" + "name": "Is Asset Only" }, - "params": [ - { - "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", - "details": { - "name": "AZ::Render::MaterialAssignmentId*" - } - } - ], "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", @@ -73,28 +56,19 @@ ] }, { - "key": "IsSlotIdOnly", + "base": "IsSlotIdOnly", "context": "MaterialAssignmentId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsSlotIdOnly" + "tooltip": "When signaled, this will invoke Is Slot Id Only" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsSlotIdOnly is invoked" + "tooltip": "Signaled after Is Slot Id Only is invoked" }, "details": { - "name": "MaterialAssignmentId::IsSlotIdOnly", - "category": "Other" + "name": "Is Slot Id Only" }, - "params": [ - { - "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", - "details": { - "name": "AZ::Render::MaterialAssignmentId*" - } - } - ], "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", @@ -105,28 +79,19 @@ ] }, { - "key": "IsLodAndSlotId", + "base": "IsLodAndSlotId", "context": "MaterialAssignmentId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsLodAndSlotId" + "tooltip": "When signaled, this will invoke Is Lod And Slot Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsLodAndSlotId is invoked" + "tooltip": "Signaled after Is Lod And Slot Id is invoked" }, "details": { - "name": "MaterialAssignmentId::IsLodAndSlotId", - "category": "Other" + "name": "Is Lod And Slot Id" }, - "params": [ - { - "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", - "details": { - "name": "AZ::Render::MaterialAssignmentId*" - } - } - ], "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", @@ -137,28 +102,19 @@ ] }, { - "key": "IsDefault", + "base": "IsDefault", "context": "MaterialAssignmentId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsDefault" + "tooltip": "When signaled, this will invoke Is Default" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsDefault is invoked" + "tooltip": "Signaled after Is Default is invoked" }, "details": { - "name": "MaterialAssignmentId::IsDefault", - "category": "Other" + "name": "Is Default" }, - "params": [ - { - "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", - "details": { - "name": "AZ::Render::MaterialAssignmentId*" - } - } - ], "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", @@ -169,28 +125,19 @@ ] }, { - "key": "IsLodAndAsset", + "base": "IsLodAndAsset", "context": "MaterialAssignmentId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsLodAndAsset" + "tooltip": "When signaled, this will invoke Is Lod And Asset" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsLodAndAsset is invoked" + "tooltip": "Signaled after Is Lod And Asset is invoked" }, "details": { - "name": "MaterialAssignmentId::IsLodAndAsset", - "category": "Other" + "name": "Is Lod And Asset" }, - "params": [ - { - "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", - "details": { - "name": "AZ::Render::MaterialAssignmentId*" - } - } - ], "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", @@ -199,6 +146,90 @@ } } ] + }, + { + "base": "GetlodIndex", + "details": { + "name": "Getlod Index" + }, + "params": [ + { + "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", + "details": { + "name": "" + } + } + ], + "results": [ + { + "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "SetlodIndex", + "details": { + "name": "Setlod Index" + }, + "params": [ + { + "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", + "details": { + "name": "" + } + }, + { + "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "GetmaterialSlotStableId", + "details": { + "name": "Getmaterial Slot Stable Id" + }, + "params": [ + { + "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", + "details": { + "name": "" + } + } + ], + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "SetmaterialSlotStableId", + "details": { + "name": "Setmaterial Slot Stable Id" + }, + "params": [ + { + "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", + "details": { + "name": "" + } + }, + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "" + } + } + ] } ] } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialComponentConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialComponentConfig.names index 66798ef901..e167ff79a5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialComponentConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialComponentConfig.names @@ -1,12 +1,59 @@ { "entries": [ { - "key": "MaterialComponentConfig", + "base": "MaterialComponentConfig", "context": "BehaviorClass", "variant": "", "details": { - "name": "MaterialComponentConfig" - } + "name": "Material Component Config", + "category": "Rendering" + }, + "methods": [ + { + "base": "Getmaterials", + "details": { + "name": "Get Materials" + }, + "params": [ + { + "typeid": "{3366C279-32AE-48F6-839B-7700AE117A54}", + "details": { + "name": "", + "tooltip": "Material Component Config" + } + } + ], + "results": [ + { + "typeid": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", + "details": { + "name": "Material Assignment Map" + } + } + ] + }, + { + "base": "Setmaterials", + "details": { + "name": "Set Materials" + }, + "params": [ + { + "typeid": "{3366C279-32AE-48F6-839B-7700AE117A54}", + "details": { + "name": "", + "tooltip": "Material Component Config" + } + }, + { + "typeid": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", + "details": { + "name": "Material Assignment Map" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialData.names index fc1aaa0e0b..a3736cd467 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MaterialData", + "base": "MaterialData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetBaseColor", + "base": "GetBaseColor", "context": "MaterialData", "entry": { "name": "In", @@ -42,7 +42,7 @@ ] }, { - "key": "GetUseRoughnessMap", + "base": "GetUseRoughnessMap", "context": "MaterialData", "entry": { "name": "In", @@ -75,7 +75,7 @@ ] }, { - "key": "GetShininess", + "base": "GetShininess", "context": "MaterialData", "entry": { "name": "In", @@ -108,7 +108,7 @@ ] }, { - "key": "GetUseEmissiveMap", + "base": "GetUseEmissiveMap", "context": "MaterialData", "entry": { "name": "In", @@ -141,7 +141,7 @@ ] }, { - "key": "GetEmissiveColor", + "base": "GetEmissiveColor", "context": "MaterialData", "entry": { "name": "In", @@ -174,7 +174,7 @@ ] }, { - "key": "GetSpecularColor", + "base": "GetSpecularColor", "context": "MaterialData", "entry": { "name": "In", @@ -207,7 +207,7 @@ ] }, { - "key": "GetUniqueId", + "base": "GetUniqueId", "context": "MaterialData", "entry": { "name": "In", @@ -240,7 +240,7 @@ ] }, { - "key": "GetDiffuseColor", + "base": "GetDiffuseColor", "context": "MaterialData", "entry": { "name": "In", @@ -273,7 +273,7 @@ ] }, { - "key": "GetEmissiveIntensity", + "base": "GetEmissiveIntensity", "context": "MaterialData", "entry": { "name": "In", @@ -306,7 +306,7 @@ ] }, { - "key": "GetMaterialName", + "base": "GetMaterialName", "context": "MaterialData", "entry": { "name": "In", @@ -339,7 +339,7 @@ ] }, { - "key": "GetUseMetallicMap", + "base": "GetUseMetallicMap", "context": "MaterialData", "entry": { "name": "In", @@ -372,7 +372,7 @@ ] }, { - "key": "GetMetallicFactor", + "base": "GetMetallicFactor", "context": "MaterialData", "entry": { "name": "In", @@ -405,7 +405,7 @@ ] }, { - "key": "GetRoughnessFactor", + "base": "GetRoughnessFactor", "context": "MaterialData", "entry": { "name": "In", @@ -438,7 +438,7 @@ ] }, { - "key": "GetUseAOMap", + "base": "GetUseAOMap", "context": "MaterialData", "entry": { "name": "In", @@ -471,7 +471,7 @@ ] }, { - "key": "GetTexture", + "base": "GetTexture", "context": "MaterialData", "entry": { "name": "In", @@ -510,7 +510,7 @@ ] }, { - "key": "IsNoDraw", + "base": "IsNoDraw", "context": "MaterialData", "entry": { "name": "In", @@ -543,7 +543,7 @@ ] }, { - "key": "GetOpacity", + "base": "GetOpacity", "context": "MaterialData", "entry": { "name": "In", @@ -576,7 +576,7 @@ ] }, { - "key": "GetUseColorMap", + "base": "GetUseColorMap", "context": "MaterialData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Math.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Math.names index 546608f0b0..4cb39e58a4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Math.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Math.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Math", + "base": "Math", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "Math", "entry": { "name": "In", @@ -48,7 +48,7 @@ ] }, { - "key": "Round", + "base": "Round", "context": "Math", "entry": { "name": "In", @@ -80,7 +80,7 @@ ] }, { - "key": "Sqrt", + "base": "Sqrt", "context": "Math", "entry": { "name": "In", @@ -112,7 +112,7 @@ ] }, { - "key": "Mod", + "base": "Mod", "context": "Math", "entry": { "name": "In", @@ -150,7 +150,7 @@ ] }, { - "key": "Ceil", + "base": "Ceil", "context": "Math", "entry": { "name": "In", @@ -182,7 +182,7 @@ ] }, { - "key": "IsEven", + "base": "IsEven", "context": "Math", "entry": { "name": "In", @@ -214,7 +214,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "Math", "entry": { "name": "In", @@ -258,7 +258,7 @@ ] }, { - "key": "ArcSin", + "base": "ArcSin", "context": "Math", "entry": { "name": "In", @@ -290,7 +290,7 @@ ] }, { - "key": "ArcTan", + "base": "ArcTan", "context": "Math", "entry": { "name": "In", @@ -322,7 +322,7 @@ ] }, { - "key": "Max", + "base": "Max", "context": "Math", "entry": { "name": "In", @@ -360,7 +360,7 @@ ] }, { - "key": "Tan", + "base": "Tan", "context": "Math", "entry": { "name": "In", @@ -392,7 +392,7 @@ ] }, { - "key": "ArcTan2", + "base": "ArcTan2", "context": "Math", "entry": { "name": "In", @@ -430,7 +430,7 @@ ] }, { - "key": "Floor", + "base": "Floor", "context": "Math", "entry": { "name": "In", @@ -462,7 +462,7 @@ ] }, { - "key": "Min", + "base": "Min", "context": "Math", "entry": { "name": "In", @@ -500,7 +500,7 @@ ] }, { - "key": "Lerp", + "base": "Lerp", "context": "Math", "entry": { "name": "In", @@ -544,7 +544,7 @@ ] }, { - "key": "LerpInverse", + "base": "LerpInverse", "context": "Math", "entry": { "name": "In", @@ -588,7 +588,7 @@ ] }, { - "key": "IsOdd", + "base": "IsOdd", "context": "Math", "entry": { "name": "In", @@ -620,7 +620,7 @@ ] }, { - "key": "Abs", + "base": "Abs", "context": "Math", "entry": { "name": "In", @@ -651,7 +651,7 @@ ] }, { - "key": "RadToDeg", + "base": "RadToDeg", "context": "Math", "entry": { "name": "In", @@ -683,7 +683,7 @@ ] }, { - "key": "Sin", + "base": "Sin", "context": "Math", "entry": { "name": "In", @@ -715,7 +715,7 @@ ] }, { - "key": "Cos", + "base": "Cos", "context": "Math", "entry": { "name": "In", @@ -747,7 +747,7 @@ ] }, { - "key": "ArcCos", + "base": "ArcCos", "context": "Math", "entry": { "name": "In", @@ -779,7 +779,7 @@ ] }, { - "key": "Sign", + "base": "Sign", "context": "Math", "entry": { "name": "In", @@ -811,7 +811,7 @@ ] }, { - "key": "Clamp", + "base": "Clamp", "context": "Math", "entry": { "name": "In", @@ -855,7 +855,7 @@ ] }, { - "key": "GetSinCos", + "base": "GetSinCos", "context": "Math", "entry": { "name": "In", @@ -891,7 +891,7 @@ ] }, { - "key": "DegToRad", + "base": "DegToRad", "context": "Math", "entry": { "name": "In", @@ -923,7 +923,7 @@ ] }, { - "key": "Pow", + "base": "Pow", "context": "Math", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathAABB_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathAABB_VM.names index b8a8e84eea..56f6267643 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathAABB_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathAABB_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathAABB_VM", + "base": "MathAABB_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Overlaps", + "base": "Overlaps", "context": "MathAABB_VM", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "SurfaceArea", + "base": "SurfaceArea", "context": "MathAABB_VM", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "ToSphere", + "base": "ToSphere", "context": "MathAABB_VM", "entry": { "name": "In", @@ -111,7 +111,7 @@ ] }, { - "key": "FromOBB", + "base": "FromOBB", "context": "MathAABB_VM", "entry": { "name": "In", @@ -143,7 +143,7 @@ ] }, { - "key": "Translate", + "base": "Translate", "context": "MathAABB_VM", "entry": { "name": "In", @@ -181,7 +181,7 @@ ] }, { - "key": "ContainsVector3", + "base": "ContainsVector3", "context": "MathAABB_VM", "entry": { "name": "In", @@ -219,7 +219,7 @@ ] }, { - "key": "Distance", + "base": "Distance", "context": "MathAABB_VM", "entry": { "name": "In", @@ -257,7 +257,7 @@ ] }, { - "key": "FromPoint", + "base": "FromPoint", "context": "MathAABB_VM", "entry": { "name": "In", @@ -289,7 +289,7 @@ ] }, { - "key": "Null", + "base": "Null", "context": "MathAABB_VM", "entry": { "name": "In", @@ -313,7 +313,7 @@ ] }, { - "key": "YExtent", + "base": "YExtent", "context": "MathAABB_VM", "entry": { "name": "In", @@ -345,7 +345,7 @@ ] }, { - "key": "Clamp", + "base": "Clamp", "context": "MathAABB_VM", "entry": { "name": "In", @@ -383,7 +383,7 @@ ] }, { - "key": "ContainsAABB", + "base": "ContainsAABB", "context": "MathAABB_VM", "entry": { "name": "In", @@ -421,7 +421,7 @@ ] }, { - "key": "Expand", + "base": "Expand", "context": "MathAABB_VM", "entry": { "name": "In", @@ -459,7 +459,7 @@ ] }, { - "key": "Extents", + "base": "Extents", "context": "MathAABB_VM", "entry": { "name": "In", @@ -491,7 +491,7 @@ ] }, { - "key": "FromCenterHalfExtents", + "base": "FromCenterHalfExtents", "context": "MathAABB_VM", "entry": { "name": "In", @@ -529,7 +529,7 @@ ] }, { - "key": "GetMin", + "base": "GetMin", "context": "MathAABB_VM", "entry": { "name": "In", @@ -561,7 +561,7 @@ ] }, { - "key": "ApplyTransform", + "base": "ApplyTransform", "context": "MathAABB_VM", "entry": { "name": "In", @@ -599,7 +599,7 @@ ] }, { - "key": "Center", + "base": "Center", "context": "MathAABB_VM", "entry": { "name": "In", @@ -631,7 +631,7 @@ ] }, { - "key": "FromMinMax", + "base": "FromMinMax", "context": "MathAABB_VM", "entry": { "name": "In", @@ -669,7 +669,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "MathAABB_VM", "entry": { "name": "In", @@ -701,7 +701,7 @@ ] }, { - "key": "IsValid", + "base": "IsValid", "context": "MathAABB_VM", "entry": { "name": "In", @@ -733,7 +733,7 @@ ] }, { - "key": "GetMax", + "base": "GetMax", "context": "MathAABB_VM", "entry": { "name": "In", @@ -765,7 +765,7 @@ ] }, { - "key": "XExtent", + "base": "XExtent", "context": "MathAABB_VM", "entry": { "name": "In", @@ -797,7 +797,7 @@ ] }, { - "key": "AddPoint", + "base": "AddPoint", "context": "MathAABB_VM", "entry": { "name": "In", @@ -835,7 +835,7 @@ ] }, { - "key": "AddAABB", + "base": "AddAABB", "context": "MathAABB_VM", "entry": { "name": "In", @@ -873,7 +873,7 @@ ] }, { - "key": "FromCenterRadius", + "base": "FromCenterRadius", "context": "MathAABB_VM", "entry": { "name": "In", @@ -911,7 +911,7 @@ ] }, { - "key": "ZExtent", + "base": "ZExtent", "context": "MathAABB_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathColor_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathColor_VM.names index d63799df8b..cc13a61532 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathColor_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathColor_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathColor_VM", + "base": "MathColor_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "One", + "base": "One", "context": "MathColor_VM", "entry": { "name": "In", @@ -33,7 +33,7 @@ ] }, { - "key": "LinearToGamma", + "base": "LinearToGamma", "context": "MathColor_VM", "entry": { "name": "In", @@ -65,7 +65,7 @@ ] }, { - "key": "FromVector3", + "base": "FromVector3", "context": "MathColor_VM", "entry": { "name": "In", @@ -97,7 +97,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "MathColor_VM", "entry": { "name": "In", @@ -135,7 +135,7 @@ ] }, { - "key": "Negate", + "base": "Negate", "context": "MathColor_VM", "entry": { "name": "In", @@ -167,7 +167,7 @@ ] }, { - "key": "Dot3", + "base": "Dot3", "context": "MathColor_VM", "entry": { "name": "In", @@ -205,7 +205,7 @@ ] }, { - "key": "Dot", + "base": "Dot", "context": "MathColor_VM", "entry": { "name": "In", @@ -243,7 +243,7 @@ ] }, { - "key": "FromValues", + "base": "FromValues", "context": "MathColor_VM", "entry": { "name": "In", @@ -293,7 +293,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "MathColor_VM", "entry": { "name": "In", @@ -331,7 +331,7 @@ ] }, { - "key": "FromVector3AndNumber", + "base": "FromVector3AndNumber", "context": "MathColor_VM", "entry": { "name": "In", @@ -369,7 +369,7 @@ ] }, { - "key": "GammaToLinear", + "base": "GammaToLinear", "context": "MathColor_VM", "entry": { "name": "In", @@ -401,7 +401,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "MathColor_VM", "entry": { "name": "In", @@ -445,7 +445,7 @@ ] }, { - "key": "IsZero", + "base": "IsZero", "context": "MathColor_VM", "entry": { "name": "In", @@ -483,7 +483,7 @@ ] }, { - "key": "MultiplyByColor", + "base": "MultiplyByColor", "context": "MathColor_VM", "entry": { "name": "In", @@ -521,7 +521,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "MathColor_VM", "entry": { "name": "In", @@ -559,7 +559,7 @@ ] }, { - "key": "Subtract", + "base": "Subtract", "context": "MathColor_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathCrc32_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathCrc32_VM.names index 1b2b5a4e7d..339b02c5fd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathCrc32_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathCrc32_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathCrc32_VM", + "base": "MathCrc32_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "FromString", + "base": "FromString", "context": "MathCrc32_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathMatrix3x3_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathMatrix3x3_VM.names index a66332a5fa..b1722ef645 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathMatrix3x3_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathMatrix3x3_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathMatrix3x3_VM", + "base": "MathMatrix3x3_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Transpose", + "base": "Transpose", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "Zero", + "base": "Zero", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -65,7 +65,7 @@ ] }, { - "key": "Subtract", + "base": "Subtract", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -103,7 +103,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -147,7 +147,7 @@ ] }, { - "key": "Invert", + "base": "Invert", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -179,7 +179,7 @@ ] }, { - "key": "GetDiagonal", + "base": "GetDiagonal", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -211,7 +211,7 @@ ] }, { - "key": "GetColumn", + "base": "GetColumn", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -249,7 +249,7 @@ ] }, { - "key": "MultiplyByVector", + "base": "MultiplyByVector", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -287,7 +287,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -325,7 +325,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -357,7 +357,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -395,7 +395,7 @@ ] }, { - "key": "ToAdjugate", + "base": "ToAdjugate", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -427,7 +427,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -471,7 +471,7 @@ ] }, { - "key": "MultiplyByMatrix", + "base": "MultiplyByMatrix", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -509,7 +509,7 @@ ] }, { - "key": "IsOrthogonal", + "base": "IsOrthogonal", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -541,7 +541,7 @@ ] }, { - "key": "Orthogonalize", + "base": "Orthogonalize", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -573,7 +573,7 @@ ] }, { - "key": "GetRows", + "base": "GetRows", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -605,7 +605,7 @@ ] }, { - "key": "FromCrossProduct", + "base": "FromCrossProduct", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -637,7 +637,7 @@ ] }, { - "key": "GetColumns", + "base": "GetColumns", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -669,7 +669,7 @@ ] }, { - "key": "FromTransform", + "base": "FromTransform", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -701,7 +701,7 @@ ] }, { - "key": "FromScale", + "base": "FromScale", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -733,7 +733,7 @@ ] }, { - "key": "ToScale", + "base": "ToScale", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -765,7 +765,7 @@ ] }, { - "key": "FromQuaternion", + "base": "FromQuaternion", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -797,7 +797,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -835,7 +835,7 @@ ] }, { - "key": "GetRow", + "base": "GetRow", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -873,7 +873,7 @@ ] }, { - "key": "FromRotationYDegrees", + "base": "FromRotationYDegrees", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -905,7 +905,7 @@ ] }, { - "key": "FromRows", + "base": "FromRows", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -949,7 +949,7 @@ ] }, { - "key": "FromDiagonal", + "base": "FromDiagonal", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -981,7 +981,7 @@ ] }, { - "key": "FromRotationZDegrees", + "base": "FromRotationZDegrees", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -1013,7 +1013,7 @@ ] }, { - "key": "FromMatrix4x4", + "base": "FromMatrix4x4", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -1045,7 +1045,7 @@ ] }, { - "key": "FromColumns", + "base": "FromColumns", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -1089,7 +1089,7 @@ ] }, { - "key": "FromRotationXDegrees", + "base": "FromRotationXDegrees", "context": "MathMatrix3x3_VM", "entry": { "name": "In", @@ -1121,7 +1121,7 @@ ] }, { - "key": "ToDeterminant", + "base": "ToDeterminant", "context": "MathMatrix3x3_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathMatrix4x4_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathMatrix4x4_VM.names index ec8549b966..7df54c7060 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathMatrix4x4_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathMatrix4x4_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathMatrix4x4_VM", + "base": "MathMatrix4x4_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetRow", + "base": "GetRow", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "FromRotationXDegrees", + "base": "FromRotationXDegrees", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "FromRotationZDegrees", + "base": "FromRotationZDegrees", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -111,7 +111,7 @@ ] }, { - "key": "FromRows", + "base": "FromRows", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -161,7 +161,7 @@ ] }, { - "key": "ToScale", + "base": "ToScale", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -193,7 +193,7 @@ ] }, { - "key": "FromQuaternion", + "base": "FromQuaternion", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -225,7 +225,7 @@ ] }, { - "key": "FromScale", + "base": "FromScale", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -257,7 +257,7 @@ ] }, { - "key": "FromTransform", + "base": "FromTransform", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -289,7 +289,7 @@ ] }, { - "key": "GetTranslation", + "base": "GetTranslation", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -321,7 +321,7 @@ ] }, { - "key": "FromQuaternionAndTranslation", + "base": "FromQuaternionAndTranslation", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -359,7 +359,7 @@ ] }, { - "key": "GetColumn", + "base": "GetColumn", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -397,7 +397,7 @@ ] }, { - "key": "GetDiagonal", + "base": "GetDiagonal", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -429,7 +429,7 @@ ] }, { - "key": "Invert", + "base": "Invert", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -461,7 +461,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -505,7 +505,7 @@ ] }, { - "key": "FromMatrix3x3", + "base": "FromMatrix3x3", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -537,7 +537,7 @@ ] }, { - "key": "GetColumns", + "base": "GetColumns", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -569,7 +569,7 @@ ] }, { - "key": "GetRows", + "base": "GetRows", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -601,7 +601,7 @@ ] }, { - "key": "MultiplyByMatrix", + "base": "MultiplyByMatrix", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -639,7 +639,7 @@ ] }, { - "key": "FromDiagonal", + "base": "FromDiagonal", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -671,7 +671,7 @@ ] }, { - "key": "FromRotationYDegrees", + "base": "FromRotationYDegrees", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -703,7 +703,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -747,7 +747,7 @@ ] }, { - "key": "Transpose", + "base": "Transpose", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -779,7 +779,7 @@ ] }, { - "key": "FromColumns", + "base": "FromColumns", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -829,7 +829,7 @@ ] }, { - "key": "FromTranslation", + "base": "FromTranslation", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -861,7 +861,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -893,7 +893,7 @@ ] }, { - "key": "MultiplyByVector", + "base": "MultiplyByVector", "context": "MathMatrix4x4_VM", "entry": { "name": "In", @@ -931,7 +931,7 @@ ] }, { - "key": "Zero", + "base": "Zero", "context": "MathMatrix4x4_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathOBB_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathOBB_VM.names index 4776bbbd8a..4932723ee9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathOBB_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathOBB_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathOBB_VM", + "base": "MathOBB_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetPosition", + "base": "GetPosition", "context": "MathOBB_VM", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetAxisY", + "base": "GetAxisY", "context": "MathOBB_VM", "entry": { "name": "In", @@ -73,7 +73,7 @@ ] }, { - "key": "GetAxisX", + "base": "GetAxisX", "context": "MathOBB_VM", "entry": { "name": "In", @@ -105,7 +105,7 @@ ] }, { - "key": "FromAabb", + "base": "FromAabb", "context": "MathOBB_VM", "entry": { "name": "In", @@ -137,7 +137,7 @@ ] }, { - "key": "FromPositionRotationAndHalfLengths", + "base": "FromPositionRotationAndHalfLengths", "context": "MathOBB_VM", "entry": { "name": "In", @@ -181,7 +181,7 @@ ] }, { - "key": "GetAxisZ", + "base": "GetAxisZ", "context": "MathOBB_VM", "entry": { "name": "In", @@ -213,7 +213,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "MathOBB_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathPlane_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathPlane_VM.names index adea5df187..36d88d5fe9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathPlane_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathPlane_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathPlane_VM", + "base": "MathPlane_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetPlaneEquationCoefficients", + "base": "GetPlaneEquationCoefficients", "context": "MathPlane_VM", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetDistance", + "base": "GetDistance", "context": "MathPlane_VM", "entry": { "name": "In", @@ -73,7 +73,7 @@ ] }, { - "key": "Project", + "base": "Project", "context": "MathPlane_VM", "entry": { "name": "In", @@ -111,7 +111,7 @@ ] }, { - "key": "FromNormalAndPoint", + "base": "FromNormalAndPoint", "context": "MathPlane_VM", "entry": { "name": "In", @@ -149,7 +149,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "MathPlane_VM", "entry": { "name": "In", @@ -181,7 +181,7 @@ ] }, { - "key": "Transform", + "base": "Transform", "context": "MathPlane_VM", "entry": { "name": "In", @@ -219,7 +219,7 @@ ] }, { - "key": "DistanceToPoint", + "base": "DistanceToPoint", "context": "MathPlane_VM", "entry": { "name": "In", @@ -257,7 +257,7 @@ ] }, { - "key": "FromCoefficients", + "base": "FromCoefficients", "context": "MathPlane_VM", "entry": { "name": "In", @@ -307,7 +307,7 @@ ] }, { - "key": "FromNormalAndDistance", + "base": "FromNormalAndDistance", "context": "MathPlane_VM", "entry": { "name": "In", @@ -345,7 +345,7 @@ ] }, { - "key": "GetNormal", + "base": "GetNormal", "context": "MathPlane_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathQuaternion_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathQuaternion_VM.names index 4fc4390979..cc9f2ba875 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathQuaternion_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathQuaternion_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathQuaternion_VM", + "base": "MathQuaternion_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Subtract", + "base": "Subtract", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "RotationYDegrees", + "base": "RotationYDegrees", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "Normalize", + "base": "Normalize", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -111,7 +111,7 @@ ] }, { - "key": "LengthReciprocal", + "base": "LengthReciprocal", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -143,7 +143,7 @@ ] }, { - "key": "CreateFromEulerAngles", + "base": "CreateFromEulerAngles", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -187,7 +187,7 @@ ] }, { - "key": "IsIdentity", + "base": "IsIdentity", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -225,7 +225,7 @@ ] }, { - "key": "FromTransform", + "base": "FromTransform", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -257,7 +257,7 @@ ] }, { - "key": "Lerp", + "base": "Lerp", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -301,7 +301,7 @@ ] }, { - "key": "RotationZDegrees", + "base": "RotationZDegrees", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -333,7 +333,7 @@ ] }, { - "key": "ConvertTransformToRotation", + "base": "ConvertTransformToRotation", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -365,7 +365,7 @@ ] }, { - "key": "ShortestArc", + "base": "ShortestArc", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -403,7 +403,7 @@ ] }, { - "key": "RotationXDegrees", + "base": "RotationXDegrees", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -435,7 +435,7 @@ ] }, { - "key": "IsZero", + "base": "IsZero", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -473,7 +473,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -517,7 +517,7 @@ ] }, { - "key": "Length", + "base": "Length", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -549,7 +549,7 @@ ] }, { - "key": "Conjugate", + "base": "Conjugate", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -581,7 +581,7 @@ ] }, { - "key": "ToAngleDegrees", + "base": "ToAngleDegrees", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -613,7 +613,7 @@ ] }, { - "key": "Dot", + "base": "Dot", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -651,7 +651,7 @@ ] }, { - "key": "Negate", + "base": "Negate", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -683,7 +683,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -721,7 +721,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -759,7 +759,7 @@ ] }, { - "key": "Slerp", + "base": "Slerp", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -803,7 +803,7 @@ ] }, { - "key": "InvertFull", + "base": "InvertFull", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -835,7 +835,7 @@ ] }, { - "key": "FromMatrix4x4", + "base": "FromMatrix4x4", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -867,7 +867,7 @@ ] }, { - "key": "RotateVector3", + "base": "RotateVector3", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -905,7 +905,7 @@ ] }, { - "key": "FromMatrix3x3", + "base": "FromMatrix3x3", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -937,7 +937,7 @@ ] }, { - "key": "Squad", + "base": "Squad", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -993,7 +993,7 @@ ] }, { - "key": "FromAxisAngleDegrees", + "base": "FromAxisAngleDegrees", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -1031,7 +1031,7 @@ ] }, { - "key": "LengthSquared", + "base": "LengthSquared", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -1063,7 +1063,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -1095,7 +1095,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "MathQuaternion_VM", "entry": { "name": "In", @@ -1133,7 +1133,7 @@ ] }, { - "key": "MultiplyByRotation", + "base": "MultiplyByRotation", "context": "MathQuaternion_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathRandom_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathRandom_VM.names index 0ac7a5b5a0..9dffa229ca 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathRandom_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathRandom_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathRandom_VM", + "base": "MathRandom_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "RandomPointOnSphere", + "base": "RandomPointOnSphere", "context": "MathRandom_VM", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "RandomPointInCircle", + "base": "RandomPointInCircle", "context": "MathRandom_VM", "entry": { "name": "In", @@ -73,7 +73,7 @@ ] }, { - "key": "RandomPointInSquare", + "base": "RandomPointInSquare", "context": "MathRandom_VM", "entry": { "name": "In", @@ -105,7 +105,7 @@ ] }, { - "key": "RandomUnitVector2", + "base": "RandomUnitVector2", "context": "MathRandom_VM", "entry": { "name": "In", @@ -129,7 +129,7 @@ ] }, { - "key": "RandomVector2", + "base": "RandomVector2", "context": "MathRandom_VM", "entry": { "name": "In", @@ -167,7 +167,7 @@ ] }, { - "key": "RandomPointInCylinder", + "base": "RandomPointInCylinder", "context": "MathRandom_VM", "entry": { "name": "In", @@ -205,7 +205,7 @@ ] }, { - "key": "RandomQuaternion", + "base": "RandomQuaternion", "context": "MathRandom_VM", "entry": { "name": "In", @@ -243,7 +243,7 @@ ] }, { - "key": "RandomVector4", + "base": "RandomVector4", "context": "MathRandom_VM", "entry": { "name": "In", @@ -281,7 +281,7 @@ ] }, { - "key": "RandomPointInBox", + "base": "RandomPointInBox", "context": "MathRandom_VM", "entry": { "name": "In", @@ -313,7 +313,7 @@ ] }, { - "key": "RandomPointOnCircle", + "base": "RandomPointOnCircle", "context": "MathRandom_VM", "entry": { "name": "In", @@ -345,7 +345,7 @@ ] }, { - "key": "RandomPointInEllipsoid", + "base": "RandomPointInEllipsoid", "context": "MathRandom_VM", "entry": { "name": "In", @@ -377,7 +377,7 @@ ] }, { - "key": "RandomInteger", + "base": "RandomInteger", "context": "MathRandom_VM", "entry": { "name": "In", @@ -415,7 +415,7 @@ ] }, { - "key": "RandomPointInWedge", + "base": "RandomPointInWedge", "context": "MathRandom_VM", "entry": { "name": "In", @@ -477,7 +477,7 @@ ] }, { - "key": "RandomGrayscale", + "base": "RandomGrayscale", "context": "MathRandom_VM", "entry": { "name": "In", @@ -515,7 +515,7 @@ ] }, { - "key": "RandomPointInCone", + "base": "RandomPointInCone", "context": "MathRandom_VM", "entry": { "name": "In", @@ -553,7 +553,7 @@ ] }, { - "key": "RandomColor", + "base": "RandomColor", "context": "MathRandom_VM", "entry": { "name": "In", @@ -591,7 +591,7 @@ ] }, { - "key": "RandomNumber", + "base": "RandomNumber", "context": "MathRandom_VM", "entry": { "name": "In", @@ -629,7 +629,7 @@ ] }, { - "key": "RandomPointInSphere", + "base": "RandomPointInSphere", "context": "MathRandom_VM", "entry": { "name": "In", @@ -661,7 +661,7 @@ ] }, { - "key": "RandomUnitVector3", + "base": "RandomUnitVector3", "context": "MathRandom_VM", "entry": { "name": "In", @@ -685,7 +685,7 @@ ] }, { - "key": "RandomVector3", + "base": "RandomVector3", "context": "MathRandom_VM", "entry": { "name": "In", @@ -723,7 +723,7 @@ ] }, { - "key": "RandomPointInArc", + "base": "RandomPointInArc", "context": "MathRandom_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathTransform_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathTransform_VM.names index da20b78d90..392596d90b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathTransform_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathTransform_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathTransform_VM", + "base": "MathTransform_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "RotationZDegrees", + "base": "RotationZDegrees", "context": "MathTransform_VM", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetUp", + "base": "GetUp", "context": "MathTransform_VM", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "GetForward", + "base": "GetForward", "context": "MathTransform_VM", "entry": { "name": "In", @@ -117,7 +117,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "MathTransform_VM", "entry": { "name": "In", @@ -161,7 +161,7 @@ ] }, { - "key": "RotationXDegrees", + "base": "RotationXDegrees", "context": "MathTransform_VM", "entry": { "name": "In", @@ -193,7 +193,7 @@ ] }, { - "key": "FromTranslation", + "base": "FromTranslation", "context": "MathTransform_VM", "entry": { "name": "In", @@ -225,7 +225,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "MathTransform_VM", "entry": { "name": "In", @@ -257,7 +257,7 @@ ] }, { - "key": "MultiplyByUniformScale", + "base": "MultiplyByUniformScale", "context": "MathTransform_VM", "entry": { "name": "In", @@ -295,7 +295,7 @@ ] }, { - "key": "MultiplyByTransform", + "base": "MultiplyByTransform", "context": "MathTransform_VM", "entry": { "name": "In", @@ -333,7 +333,7 @@ ] }, { - "key": "FromRotation", + "base": "FromRotation", "context": "MathTransform_VM", "entry": { "name": "In", @@ -365,7 +365,7 @@ ] }, { - "key": "RotationYDegrees", + "base": "RotationYDegrees", "context": "MathTransform_VM", "entry": { "name": "In", @@ -397,7 +397,7 @@ ] }, { - "key": "FromRotationAndTranslation", + "base": "FromRotationAndTranslation", "context": "MathTransform_VM", "entry": { "name": "In", @@ -435,7 +435,7 @@ ] }, { - "key": "MultiplyByVector3", + "base": "MultiplyByVector3", "context": "MathTransform_VM", "entry": { "name": "In", @@ -473,7 +473,7 @@ ] }, { - "key": "MultiplyByVector4", + "base": "MultiplyByVector4", "context": "MathTransform_VM", "entry": { "name": "In", @@ -511,7 +511,7 @@ ] }, { - "key": "ToScale", + "base": "ToScale", "context": "MathTransform_VM", "entry": { "name": "In", @@ -543,7 +543,7 @@ ] }, { - "key": "FromMatrix3x3", + "base": "FromMatrix3x3", "context": "MathTransform_VM", "entry": { "name": "In", @@ -575,7 +575,7 @@ ] }, { - "key": "GetRight", + "base": "GetRight", "context": "MathTransform_VM", "entry": { "name": "In", @@ -613,7 +613,7 @@ ] }, { - "key": "IsOrthogonal", + "base": "IsOrthogonal", "context": "MathTransform_VM", "entry": { "name": "In", @@ -651,7 +651,7 @@ ] }, { - "key": "Orthogonalize", + "base": "Orthogonalize", "context": "MathTransform_VM", "entry": { "name": "In", @@ -683,7 +683,7 @@ ] }, { - "key": "FromMatrix3x3AndTranslation", + "base": "FromMatrix3x3AndTranslation", "context": "MathTransform_VM", "entry": { "name": "In", @@ -721,7 +721,7 @@ ] }, { - "key": "FromScale", + "base": "FromScale", "context": "MathTransform_VM", "entry": { "name": "In", @@ -753,7 +753,7 @@ ] }, { - "key": "GetTranslation", + "base": "GetTranslation", "context": "MathTransform_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathUtils.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathUtils.names index 20232e4b0a..d394306ed0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathUtils.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathUtils.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathUtils", + "base": "MathUtils", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "ConvertEulerDegreesToQuaternion", + "base": "ConvertEulerDegreesToQuaternion", "context": "MathUtils", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "ConvertEulerDegreesToTransformPrecise", + "base": "ConvertEulerDegreesToTransformPrecise", "context": "MathUtils", "entry": { "name": "In", @@ -73,7 +73,7 @@ ] }, { - "key": "ConvertEulerDegreesToTransform", + "base": "ConvertEulerDegreesToTransform", "context": "MathUtils", "entry": { "name": "In", @@ -104,7 +104,7 @@ ] }, { - "key": "ConvertQuaternionToEulerRadians", + "base": "ConvertQuaternionToEulerRadians", "context": "MathUtils", "entry": { "name": "In", @@ -135,7 +135,7 @@ ] }, { - "key": "CreateLookAt", + "base": "CreateLookAt", "context": "MathUtils", "entry": { "name": "In", @@ -179,7 +179,7 @@ ] }, { - "key": "ConvertTransformToEulerRadians", + "base": "ConvertTransformToEulerRadians", "context": "MathUtils", "entry": { "name": "In", @@ -210,7 +210,7 @@ ] }, { - "key": "ConvertQuaternionToEulerDegrees", + "base": "ConvertQuaternionToEulerDegrees", "context": "MathUtils", "entry": { "name": "In", @@ -241,7 +241,7 @@ ] }, { - "key": "ConvertTransformToEulerDegrees", + "base": "ConvertTransformToEulerDegrees", "context": "MathUtils", "entry": { "name": "In", @@ -272,7 +272,7 @@ ] }, { - "key": "ConvertEulerRadiansToQuaternion", + "base": "ConvertEulerRadiansToQuaternion", "context": "MathUtils", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector2_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector2_VM.names index aefb8a3b4b..ad6cca60a4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector2_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector2_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathVector2_VM", + "base": "MathVector2_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "DirectionTo", + "base": "DirectionTo", "context": "MathVector2_VM", "entry": { "name": "In", @@ -53,7 +53,7 @@ ] }, { - "key": "Subtract", + "base": "Subtract", "context": "MathVector2_VM", "entry": { "name": "In", @@ -91,7 +91,7 @@ ] }, { - "key": "Project", + "base": "Project", "context": "MathVector2_VM", "entry": { "name": "In", @@ -129,7 +129,7 @@ ] }, { - "key": "Distance", + "base": "Distance", "context": "MathVector2_VM", "entry": { "name": "In", @@ -167,7 +167,7 @@ ] }, { - "key": "FromValues", + "base": "FromValues", "context": "MathVector2_VM", "entry": { "name": "In", @@ -205,7 +205,7 @@ ] }, { - "key": "Dot", + "base": "Dot", "context": "MathVector2_VM", "entry": { "name": "In", @@ -243,7 +243,7 @@ ] }, { - "key": "Angle", + "base": "Angle", "context": "MathVector2_VM", "entry": { "name": "In", @@ -275,7 +275,7 @@ ] }, { - "key": "Negate", + "base": "Negate", "context": "MathVector2_VM", "entry": { "name": "In", @@ -307,7 +307,7 @@ ] }, { - "key": "MultiplyByVector", + "base": "MultiplyByVector", "context": "MathVector2_VM", "entry": { "name": "In", @@ -345,7 +345,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "MathVector2_VM", "entry": { "name": "In", @@ -383,7 +383,7 @@ ] }, { - "key": "Clamp", + "base": "Clamp", "context": "MathVector2_VM", "entry": { "name": "In", @@ -427,7 +427,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "MathVector2_VM", "entry": { "name": "In", @@ -465,7 +465,7 @@ ] }, { - "key": "Slerp", + "base": "Slerp", "context": "MathVector2_VM", "entry": { "name": "In", @@ -509,7 +509,7 @@ ] }, { - "key": "IsZero", + "base": "IsZero", "context": "MathVector2_VM", "entry": { "name": "In", @@ -547,7 +547,7 @@ ] }, { - "key": "SetY", + "base": "SetY", "context": "MathVector2_VM", "entry": { "name": "In", @@ -585,7 +585,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "MathVector2_VM", "entry": { "name": "In", @@ -629,7 +629,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "MathVector2_VM", "entry": { "name": "In", @@ -667,7 +667,7 @@ ] }, { - "key": "IsNormalized", + "base": "IsNormalized", "context": "MathVector2_VM", "entry": { "name": "In", @@ -705,7 +705,7 @@ ] }, { - "key": "LengthSquared", + "base": "LengthSquared", "context": "MathVector2_VM", "entry": { "name": "In", @@ -737,7 +737,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "MathVector2_VM", "entry": { "name": "In", @@ -769,7 +769,7 @@ ] }, { - "key": "ToPerpendicular", + "base": "ToPerpendicular", "context": "MathVector2_VM", "entry": { "name": "In", @@ -801,7 +801,7 @@ ] }, { - "key": "Normalize", + "base": "Normalize", "context": "MathVector2_VM", "entry": { "name": "In", @@ -833,7 +833,7 @@ ] }, { - "key": "Max", + "base": "Max", "context": "MathVector2_VM", "entry": { "name": "In", @@ -871,7 +871,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "MathVector2_VM", "entry": { "name": "In", @@ -909,7 +909,7 @@ ] }, { - "key": "Absolute", + "base": "Absolute", "context": "MathVector2_VM", "entry": { "name": "In", @@ -941,7 +941,7 @@ ] }, { - "key": "SetX", + "base": "SetX", "context": "MathVector2_VM", "entry": { "name": "In", @@ -979,7 +979,7 @@ ] }, { - "key": "Min", + "base": "Min", "context": "MathVector2_VM", "entry": { "name": "In", @@ -1017,7 +1017,7 @@ ] }, { - "key": "DivideByVector", + "base": "DivideByVector", "context": "MathVector2_VM", "entry": { "name": "In", @@ -1055,7 +1055,7 @@ ] }, { - "key": "DistanceSquared", + "base": "DistanceSquared", "context": "MathVector2_VM", "entry": { "name": "In", @@ -1093,7 +1093,7 @@ ] }, { - "key": "Length", + "base": "Length", "context": "MathVector2_VM", "entry": { "name": "In", @@ -1125,7 +1125,7 @@ ] }, { - "key": "Lerp", + "base": "Lerp", "context": "MathVector2_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector3_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector3_VM.names index 001fc94f4d..445031012f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector3_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector3_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathVector3_VM", + "base": "MathVector3_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Reciprocal", + "base": "Reciprocal", "context": "MathVector3_VM", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "Subtract", + "base": "Subtract", "context": "MathVector3_VM", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "Project", + "base": "Project", "context": "MathVector3_VM", "entry": { "name": "In", @@ -117,7 +117,7 @@ ] }, { - "key": "Normalize", + "base": "Normalize", "context": "MathVector3_VM", "entry": { "name": "In", @@ -149,7 +149,7 @@ ] }, { - "key": "Distance", + "base": "Distance", "context": "MathVector3_VM", "entry": { "name": "In", @@ -187,7 +187,7 @@ ] }, { - "key": "SetZ", + "base": "SetZ", "context": "MathVector3_VM", "entry": { "name": "In", @@ -225,7 +225,7 @@ ] }, { - "key": "Max", + "base": "Max", "context": "MathVector3_VM", "entry": { "name": "In", @@ -263,7 +263,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "MathVector3_VM", "entry": { "name": "In", @@ -301,7 +301,7 @@ ] }, { - "key": "Absolute", + "base": "Absolute", "context": "MathVector3_VM", "entry": { "name": "In", @@ -333,7 +333,7 @@ ] }, { - "key": "BuildTangentBasis", + "base": "BuildTangentBasis", "context": "MathVector3_VM", "entry": { "name": "In", @@ -365,7 +365,7 @@ ] }, { - "key": "Clamp", + "base": "Clamp", "context": "MathVector3_VM", "entry": { "name": "In", @@ -409,7 +409,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "MathVector3_VM", "entry": { "name": "In", @@ -447,7 +447,7 @@ ] }, { - "key": "Slerp", + "base": "Slerp", "context": "MathVector3_VM", "entry": { "name": "In", @@ -491,7 +491,7 @@ ] }, { - "key": "IsZero", + "base": "IsZero", "context": "MathVector3_VM", "entry": { "name": "In", @@ -529,7 +529,7 @@ ] }, { - "key": "SetY", + "base": "SetY", "context": "MathVector3_VM", "entry": { "name": "In", @@ -567,7 +567,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "MathVector3_VM", "entry": { "name": "In", @@ -611,7 +611,7 @@ ] }, { - "key": "Cross", + "base": "Cross", "context": "MathVector3_VM", "entry": { "name": "In", @@ -649,7 +649,7 @@ ] }, { - "key": "DirectionTo", + "base": "DirectionTo", "context": "MathVector3_VM", "entry": { "name": "In", @@ -693,7 +693,7 @@ ] }, { - "key": "MultiplyByVector", + "base": "MultiplyByVector", "context": "MathVector3_VM", "entry": { "name": "In", @@ -731,7 +731,7 @@ ] }, { - "key": "Negate", + "base": "Negate", "context": "MathVector3_VM", "entry": { "name": "In", @@ -763,7 +763,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "MathVector3_VM", "entry": { "name": "In", @@ -801,7 +801,7 @@ ] }, { - "key": "IsPerpendicular", + "base": "IsPerpendicular", "context": "MathVector3_VM", "entry": { "name": "In", @@ -845,7 +845,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "MathVector3_VM", "entry": { "name": "In", @@ -877,7 +877,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "MathVector3_VM", "entry": { "name": "In", @@ -915,7 +915,7 @@ ] }, { - "key": "IsNormalized", + "base": "IsNormalized", "context": "MathVector3_VM", "entry": { "name": "In", @@ -953,7 +953,7 @@ ] }, { - "key": "LengthSquared", + "base": "LengthSquared", "context": "MathVector3_VM", "entry": { "name": "In", @@ -985,7 +985,7 @@ ] }, { - "key": "FromValues", + "base": "FromValues", "context": "MathVector3_VM", "entry": { "name": "In", @@ -1029,7 +1029,7 @@ ] }, { - "key": "Dot", + "base": "Dot", "context": "MathVector3_VM", "entry": { "name": "In", @@ -1067,7 +1067,7 @@ ] }, { - "key": "SetX", + "base": "SetX", "context": "MathVector3_VM", "entry": { "name": "In", @@ -1105,7 +1105,7 @@ ] }, { - "key": "LengthReciprocal", + "base": "LengthReciprocal", "context": "MathVector3_VM", "entry": { "name": "In", @@ -1137,7 +1137,7 @@ ] }, { - "key": "Min", + "base": "Min", "context": "MathVector3_VM", "entry": { "name": "In", @@ -1175,7 +1175,7 @@ ] }, { - "key": "DistanceSquared", + "base": "DistanceSquared", "context": "MathVector3_VM", "entry": { "name": "In", @@ -1213,7 +1213,7 @@ ] }, { - "key": "Length", + "base": "Length", "context": "MathVector3_VM", "entry": { "name": "In", @@ -1245,7 +1245,7 @@ ] }, { - "key": "DivideByVector", + "base": "DivideByVector", "context": "MathVector3_VM", "entry": { "name": "In", @@ -1283,7 +1283,7 @@ ] }, { - "key": "Lerp", + "base": "Lerp", "context": "MathVector3_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector4_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector4_VM.names index 87654cb3f9..5caadf4728 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector4_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MathVector4_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MathVector4_VM", + "base": "MathVector4_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetW", + "base": "SetW", "context": "MathVector4_VM", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "SetX", + "base": "SetX", "context": "MathVector4_VM", "entry": { "name": "In", @@ -85,7 +85,7 @@ ] }, { - "key": "IsNormalized", + "base": "IsNormalized", "context": "MathVector4_VM", "entry": { "name": "In", @@ -123,7 +123,7 @@ ] }, { - "key": "LengthSquared", + "base": "LengthSquared", "context": "MathVector4_VM", "entry": { "name": "In", @@ -155,7 +155,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "MathVector4_VM", "entry": { "name": "In", @@ -193,7 +193,7 @@ ] }, { - "key": "Negate", + "base": "Negate", "context": "MathVector4_VM", "entry": { "name": "In", @@ -225,7 +225,7 @@ ] }, { - "key": "Dot", + "base": "Dot", "context": "MathVector4_VM", "entry": { "name": "In", @@ -263,7 +263,7 @@ ] }, { - "key": "FromValues", + "base": "FromValues", "context": "MathVector4_VM", "entry": { "name": "In", @@ -313,7 +313,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "MathVector4_VM", "entry": { "name": "In", @@ -345,7 +345,7 @@ ] }, { - "key": "Length", + "base": "Length", "context": "MathVector4_VM", "entry": { "name": "In", @@ -377,7 +377,7 @@ ] }, { - "key": "MultiplyByVector", + "base": "MultiplyByVector", "context": "MathVector4_VM", "entry": { "name": "In", @@ -415,7 +415,7 @@ ] }, { - "key": "DirectionTo", + "base": "DirectionTo", "context": "MathVector4_VM", "entry": { "name": "In", @@ -459,7 +459,7 @@ ] }, { - "key": "DivideByVector", + "base": "DivideByVector", "context": "MathVector4_VM", "entry": { "name": "In", @@ -497,7 +497,7 @@ ] }, { - "key": "LengthReciprocal", + "base": "LengthReciprocal", "context": "MathVector4_VM", "entry": { "name": "In", @@ -529,7 +529,7 @@ ] }, { - "key": "SetZ", + "base": "SetZ", "context": "MathVector4_VM", "entry": { "name": "In", @@ -567,7 +567,7 @@ ] }, { - "key": "Normalize", + "base": "Normalize", "context": "MathVector4_VM", "entry": { "name": "In", @@ -599,7 +599,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "MathVector4_VM", "entry": { "name": "In", @@ -637,7 +637,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "MathVector4_VM", "entry": { "name": "In", @@ -681,7 +681,7 @@ ] }, { - "key": "IsZero", + "base": "IsZero", "context": "MathVector4_VM", "entry": { "name": "In", @@ -719,7 +719,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "MathVector4_VM", "entry": { "name": "In", @@ -757,7 +757,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "MathVector4_VM", "entry": { "name": "In", @@ -795,7 +795,7 @@ ] }, { - "key": "Reciprocal", + "base": "Reciprocal", "context": "MathVector4_VM", "entry": { "name": "In", @@ -827,7 +827,7 @@ ] }, { - "key": "Subtract", + "base": "Subtract", "context": "MathVector4_VM", "entry": { "name": "In", @@ -865,7 +865,7 @@ ] }, { - "key": "Absolute", + "base": "Absolute", "context": "MathVector4_VM", "entry": { "name": "In", @@ -897,7 +897,7 @@ ] }, { - "key": "SetY", + "base": "SetY", "context": "MathVector4_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Math_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Math_VM.names index d3b492ff31..e8a695f972 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Math_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Math_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Math_VM", + "base": "Math_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ThreeGeneric", + "base": "ThreeGeneric", "context": "Math_VM", "entry": { "name": "In", @@ -53,7 +53,7 @@ ] }, { - "key": "MultiplyAndAdd", + "base": "MultiplyAndAdd", "context": "Math_VM", "entry": { "name": "In", @@ -97,7 +97,7 @@ ] }, { - "key": "StringToNumber", + "base": "StringToNumber", "context": "Math_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Matrix3x4.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Matrix3x4.names index a2f2bed3f9..4b529d8dda 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Matrix3x4.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Matrix3x4.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Matrix3x4", + "base": "Matrix3x4", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "CreateZero", + "base": "CreateZero", "context": "Matrix3x4", "entry": { "name": "In", @@ -33,7 +33,7 @@ ] }, { - "key": "SetRotationPartFromQuaternion", + "base": "SetRotationPartFromQuaternion", "context": "Matrix3x4", "entry": { "name": "In", @@ -63,7 +63,7 @@ ] }, { - "key": "CreateFromColumns", + "base": "CreateFromColumns", "context": "Matrix3x4", "entry": { "name": "In", @@ -113,7 +113,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "Matrix3x4", "entry": { "name": "In", @@ -157,7 +157,7 @@ ] }, { - "key": "IsOrthogonal", + "base": "IsOrthogonal", "context": "Matrix3x4", "entry": { "name": "In", @@ -195,7 +195,7 @@ ] }, { - "key": "Orthogonalize", + "base": "Orthogonalize", "context": "Matrix3x4", "entry": { "name": "In", @@ -219,7 +219,7 @@ ] }, { - "key": "CreateFromMatrix3x3", + "base": "CreateFromMatrix3x3", "context": "Matrix3x4", "entry": { "name": "In", @@ -251,7 +251,7 @@ ] }, { - "key": "RetrieveScale", + "base": "RetrieveScale", "context": "Matrix3x4", "entry": { "name": "In", @@ -283,7 +283,7 @@ ] }, { - "key": "CreateRotationX", + "base": "CreateRotationX", "context": "Matrix3x4", "entry": { "name": "In", @@ -315,7 +315,7 @@ ] }, { - "key": "CreateFromMatrix3x3AndTranslation", + "base": "CreateFromMatrix3x3AndTranslation", "context": "Matrix3x4", "entry": { "name": "In", @@ -352,7 +352,7 @@ ] }, { - "key": "ToString", + "base": "ToString", "context": "Matrix3x4", "entry": { "name": "In", @@ -383,7 +383,7 @@ ] }, { - "key": "ExtractScale", + "base": "ExtractScale", "context": "Matrix3x4", "entry": { "name": "In", @@ -415,7 +415,7 @@ ] }, { - "key": "GetTranspose", + "base": "GetTranspose", "context": "Matrix3x4", "entry": { "name": "In", @@ -446,7 +446,7 @@ ] }, { - "key": "InvertFast", + "base": "InvertFast", "context": "Matrix3x4", "entry": { "name": "In", @@ -470,7 +470,7 @@ ] }, { - "key": "CreateFromRows", + "base": "CreateFromRows", "context": "Matrix3x4", "entry": { "name": "In", @@ -514,7 +514,7 @@ ] }, { - "key": "CreateTranslation", + "base": "CreateTranslation", "context": "Matrix3x4", "entry": { "name": "In", @@ -546,7 +546,7 @@ ] }, { - "key": "GetTranspose3x3", + "base": "GetTranspose3x3", "context": "Matrix3x4", "entry": { "name": "In", @@ -578,7 +578,7 @@ ] }, { - "key": "SetColumn", + "base": "SetColumn", "context": "Matrix3x4", "entry": { "name": "In", @@ -614,7 +614,7 @@ ] }, { - "key": "GetRow", + "base": "GetRow", "context": "Matrix3x4", "entry": { "name": "In", @@ -652,7 +652,7 @@ ] }, { - "key": "GetInverseFast", + "base": "GetInverseFast", "context": "Matrix3x4", "entry": { "name": "In", @@ -684,7 +684,7 @@ ] }, { - "key": "GetOrthogonalized", + "base": "GetOrthogonalized", "context": "Matrix3x4", "entry": { "name": "In", @@ -717,7 +717,7 @@ ] }, { - "key": "Multiply3x3", + "base": "Multiply3x3", "context": "Matrix3x4", "entry": { "name": "In", @@ -755,7 +755,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "Matrix3x4", "entry": { "name": "In", @@ -787,7 +787,7 @@ ] }, { - "key": "CreateFromQuaternion", + "base": "CreateFromQuaternion", "context": "Matrix3x4", "entry": { "name": "In", @@ -819,7 +819,7 @@ ] }, { - "key": "SetBasisAndTranslation", + "base": "SetBasisAndTranslation", "context": "Matrix3x4", "entry": { "name": "In", @@ -867,7 +867,7 @@ ] }, { - "key": "MultiplyVector4", + "base": "MultiplyVector4", "context": "Matrix3x4", "entry": { "name": "In", @@ -905,7 +905,7 @@ ] }, { - "key": "CreateScale", + "base": "CreateScale", "context": "Matrix3x4", "entry": { "name": "In", @@ -937,7 +937,7 @@ ] }, { - "key": "CreateDiagonal", + "base": "CreateDiagonal", "context": "Matrix3x4", "entry": { "name": "In", @@ -969,7 +969,7 @@ ] }, { - "key": "GetTranslation", + "base": "GetTranslation", "context": "Matrix3x4", "entry": { "name": "In", @@ -1001,7 +1001,7 @@ ] }, { - "key": "InvertFull", + "base": "InvertFull", "context": "Matrix3x4", "entry": { "name": "In", @@ -1025,7 +1025,7 @@ ] }, { - "key": "SetColumns", + "base": "SetColumns", "context": "Matrix3x4", "entry": { "name": "In", @@ -1073,7 +1073,7 @@ ] }, { - "key": "SetElement", + "base": "SetElement", "context": "Matrix3x4", "entry": { "name": "In", @@ -1115,7 +1115,7 @@ ] }, { - "key": "Equal", + "base": "Equal", "context": "Matrix3x4", "entry": { "name": "In", @@ -1153,7 +1153,7 @@ ] }, { - "key": "GetDeterminant3x3", + "base": "GetDeterminant3x3", "context": "Matrix3x4", "entry": { "name": "In", @@ -1185,7 +1185,7 @@ ] }, { - "key": "GetColumns", + "base": "GetColumns", "context": "Matrix3x4", "entry": { "name": "In", @@ -1233,7 +1233,7 @@ ] }, { - "key": "SetRows", + "base": "SetRows", "context": "Matrix3x4", "entry": { "name": "In", @@ -1275,7 +1275,7 @@ ] }, { - "key": "GetMultipliedByScale", + "base": "GetMultipliedByScale", "context": "Matrix3x4", "entry": { "name": "In", @@ -1313,7 +1313,7 @@ ] }, { - "key": "CreateRotationZ", + "base": "CreateRotationZ", "context": "Matrix3x4", "entry": { "name": "In", @@ -1345,7 +1345,7 @@ ] }, { - "key": "CreateFromQuaternionAndTranslation", + "base": "CreateFromQuaternionAndTranslation", "context": "Matrix3x4", "entry": { "name": "In", @@ -1383,7 +1383,7 @@ ] }, { - "key": "GetRowAsVector3", + "base": "GetRowAsVector3", "context": "Matrix3x4", "entry": { "name": "In", @@ -1421,7 +1421,7 @@ ] }, { - "key": "MultiplyMatrix3x4", + "base": "MultiplyMatrix3x4", "context": "Matrix3x4", "entry": { "name": "In", @@ -1459,7 +1459,7 @@ ] }, { - "key": "GetRows", + "base": "GetRows", "context": "Matrix3x4", "entry": { "name": "In", @@ -1501,7 +1501,7 @@ ] }, { - "key": "Clone", + "base": "Clone", "context": "Matrix3x4", "entry": { "name": "In", @@ -1533,7 +1533,7 @@ ] }, { - "key": "MultiplyVector3", + "base": "MultiplyVector3", "context": "Matrix3x4", "entry": { "name": "In", @@ -1571,7 +1571,7 @@ ] }, { - "key": "CreateIdentity", + "base": "CreateIdentity", "context": "Matrix3x4", "entry": { "name": "In", @@ -1595,7 +1595,7 @@ ] }, { - "key": "GetBasisAndTranslation", + "base": "GetBasisAndTranslation", "context": "Matrix3x4", "entry": { "name": "In", @@ -1643,7 +1643,7 @@ ] }, { - "key": "CreateFromValue", + "base": "CreateFromValue", "context": "Matrix3x4", "entry": { "name": "In", @@ -1675,7 +1675,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "Matrix3x4", "entry": { "name": "In", @@ -1719,7 +1719,7 @@ ] }, { - "key": "Transpose3x3", + "base": "Transpose3x3", "context": "Matrix3x4", "entry": { "name": "In", @@ -1743,7 +1743,7 @@ ] }, { - "key": "Transpose", + "base": "Transpose", "context": "Matrix3x4", "entry": { "name": "In", @@ -1767,7 +1767,7 @@ ] }, { - "key": "CreateRotationY", + "base": "CreateRotationY", "context": "Matrix3x4", "entry": { "name": "In", @@ -1799,7 +1799,7 @@ ] }, { - "key": "SetRow", + "base": "SetRow", "context": "Matrix3x4", "entry": { "name": "In", @@ -1835,7 +1835,7 @@ ] }, { - "key": "GetInverseFull", + "base": "GetInverseFull", "context": "Matrix3x4", "entry": { "name": "In", @@ -1867,7 +1867,7 @@ ] }, { - "key": "GetColumn", + "base": "GetColumn", "context": "Matrix3x4", "entry": { "name": "In", @@ -1905,7 +1905,7 @@ ] }, { - "key": "SetTranslation", + "base": "SetTranslation", "context": "Matrix3x4", "entry": { "name": "In", @@ -1935,7 +1935,7 @@ ] }, { - "key": "basisX", + "base": "basisX", "context": "Getter", "details": { "name": "Get Basis X" @@ -1958,7 +1958,7 @@ ] }, { - "key": "basisX", + "base": "basisX", "context": "Setter", "details": { "name": "Set Basis X" @@ -1979,7 +1979,7 @@ ] }, { - "key": "basisY", + "base": "basisY", "context": "Getter", "details": { "name": "Get Basis Y" @@ -2002,7 +2002,7 @@ ] }, { - "key": "basisY", + "base": "basisY", "context": "Setter", "details": { "name": "Set Basis Y" @@ -2023,7 +2023,7 @@ ] }, { - "key": "basisZ", + "base": "basisZ", "context": "Getter", "details": { "name": "Get Basis Z" @@ -2046,7 +2046,7 @@ ] }, { - "key": "basisZ", + "base": "basisZ", "context": "Setter", "details": { "name": "Set Basis Z" @@ -2067,7 +2067,7 @@ ] }, { - "key": "translation", + "base": "translation", "context": "Getter", "details": { "name": "Get Translation" @@ -2090,7 +2090,7 @@ ] }, { - "key": "translation", + "base": "translation", "context": "Setter", "details": { "name": "Set Translation" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshData.names index 9e6b60edbb..6e82906a0f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MeshData", + "base": "MeshData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetVertexIndex", + "base": "GetVertexIndex", "context": "MeshData", "entry": { "name": "In", @@ -53,7 +53,7 @@ ] }, { - "key": "GetPosition", + "base": "GetPosition", "context": "MeshData", "entry": { "name": "In", @@ -91,7 +91,7 @@ ] }, { - "key": "GetFaceInfo", + "base": "GetFaceInfo", "context": "MeshData", "entry": { "name": "In", @@ -129,7 +129,7 @@ ] }, { - "key": "HasNormalData", + "base": "HasNormalData", "context": "MeshData", "entry": { "name": "In", @@ -161,7 +161,7 @@ ] }, { - "key": "GetNormal", + "base": "GetNormal", "context": "MeshData", "entry": { "name": "In", @@ -199,7 +199,7 @@ ] }, { - "key": "GetUsedPointIndexForControlPoint", + "base": "GetUsedPointIndexForControlPoint", "context": "MeshData", "entry": { "name": "In", @@ -237,7 +237,7 @@ ] }, { - "key": "GetVertexCount", + "base": "GetVertexCount", "context": "MeshData", "entry": { "name": "In", @@ -269,7 +269,7 @@ ] }, { - "key": "GetFaceCount", + "base": "GetFaceCount", "context": "MeshData", "entry": { "name": "In", @@ -301,7 +301,7 @@ ] }, { - "key": "GetUsedControlPointCount", + "base": "GetUsedControlPointCount", "context": "MeshData", "entry": { "name": "In", @@ -333,7 +333,7 @@ ] }, { - "key": "GetFaceMaterialId", + "base": "GetFaceMaterialId", "context": "MeshData", "entry": { "name": "In", @@ -371,7 +371,7 @@ ] }, { - "key": "GetControlPointIndex", + "base": "GetControlPointIndex", "context": "MeshData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexBitangentData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexBitangentData.names index e46faa5cfa..71a6080574 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexBitangentData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexBitangentData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MeshVertexBitangentData", + "base": "MeshVertexBitangentData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetCount", + "base": "GetCount", "context": "MeshVertexBitangentData", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetBitangent", + "base": "GetBitangent", "context": "MeshVertexBitangentData", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "GetBitangentSetIndex", + "base": "GetBitangentSetIndex", "context": "MeshVertexBitangentData", "entry": { "name": "In", @@ -111,7 +111,7 @@ ] }, { - "key": "GetGenerationMethod", + "base": "GetGenerationMethod", "context": "MeshVertexBitangentData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexColorData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexColorData.names index 961508f944..a0a7c099c8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexColorData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexColorData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MeshVertexColorData", + "base": "MeshVertexColorData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetCustomName", + "base": "GetCustomName", "context": "MeshVertexColorData", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetCount", + "base": "GetCount", "context": "MeshVertexColorData", "entry": { "name": "In", @@ -73,7 +73,7 @@ ] }, { - "key": "GetColor", + "base": "GetColor", "context": "MeshVertexColorData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexTangentData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexTangentData.names index 6866276dca..6e67408931 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexTangentData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexTangentData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MeshVertexTangentData", + "base": "MeshVertexTangentData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetCount", + "base": "GetCount", "context": "MeshVertexTangentData", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetTangent", + "base": "GetTangent", "context": "MeshVertexTangentData", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "GetTangentSetIndex", + "base": "GetTangentSetIndex", "context": "MeshVertexTangentData", "entry": { "name": "In", @@ -111,7 +111,7 @@ ] }, { - "key": "GetGenerationMethod", + "base": "GetGenerationMethod", "context": "MeshVertexTangentData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexUVData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexUVData.names index 474a4b91b3..78372ea7ae 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexUVData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MeshVertexUVData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MeshVertexUVData", + "base": "MeshVertexUVData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetCustomName", + "base": "GetCustomName", "context": "MeshVertexUVData", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetCount", + "base": "GetCount", "context": "MeshVertexUVData", "entry": { "name": "In", @@ -73,7 +73,7 @@ ] }, { - "key": "GetUV", + "base": "GetUV", "context": "MeshVertexUVData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientComponent.names index f0aa39575a..d25ce96a86 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MixedGradientComponent", + "base": "MixedGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientConfig.names index c603845990..a9d42f497a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MixedGradientConfig", + "base": "MixedGradientConfig", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetNumLayers", + "base": "GetNumLayers", "context": "MixedGradientConfig", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "AddLayer", + "base": "AddLayer", "context": "MixedGradientConfig", "entry": { "name": "In", @@ -65,7 +65,7 @@ ] }, { - "key": "RemoveLayer", + "base": "RemoveLayer", "context": "MixedGradientConfig", "entry": { "name": "In", @@ -95,7 +95,7 @@ ] }, { - "key": "GetLayer", + "base": "GetLayer", "context": "MixedGradientConfig", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientLayer.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientLayer.names index b8588fa56c..e192fe2c63 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientLayer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MixedGradientLayer.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MixedGradientLayer", + "base": "MixedGradientLayer", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ModelPreset.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ModelPreset.names index be96ebd842..c69a75db5e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ModelPreset.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ModelPreset.names @@ -1,12 +1,140 @@ { "entries": [ { - "key": "ModelPreset", + "base": "ModelPreset", "context": "BehaviorClass", "variant": "", "details": { - "name": "ModelPreset" - } + "name": "Model Preset" + }, + "methods": [ + { + "base": "GetdisplayName", + "details": { + "name": "Get Display Name" + }, + "params": [ + { + "typeid": "{A7304AE2-EC26-44A4-8C00-89D9731CCB13}", + "details": { + "name": "Model Preset" + } + } + ], + "results": [ + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Display Name" + } + } + ] + }, + { + "base": "SetdisplayName", + "details": { + "name": "Set Display Name" + }, + "params": [ + { + "typeid": "{A7304AE2-EC26-44A4-8C00-89D9731CCB13}", + "details": { + "name": "Model Preset" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Display Name" + } + } + ] + }, + { + "base": "GetmodelAsset", + "details": { + "name": "Get Model Asset" + }, + "params": [ + { + "typeid": "{A7304AE2-EC26-44A4-8C00-89D9731CCB13}", + "details": { + "name": "Model Preset" + } + } + ], + "results": [ + { + "typeid": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", + "details": { + "name": "Model Asset" + } + } + ] + }, + { + "base": "SetmodelAsset", + "details": { + "name": "Set Model Asset" + }, + "params": [ + { + "typeid": "{A7304AE2-EC26-44A4-8C00-89D9731CCB13}", + "details": { + "name": "Model Preset" + } + }, + { + "typeid": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", + "details": { + "name": "Model Asset" + } + } + ] + }, + { + "base": "GetpreviewImageAsset", + "details": { + "name": "Get Preview Image Asset" + }, + "params": [ + { + "typeid": "{A7304AE2-EC26-44A4-8C00-89D9731CCB13}", + "details": { + "name": "Model Preset" + } + } + ], + "results": [ + { + "typeid": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "details": { + "name": "Preview Image Asset" + } + } + ] + }, + { + "base": "SetpreviewImageAsset", + "details": { + "name": "Set Preview Image Asset" + }, + "params": [ + { + "typeid": "{A7304AE2-EC26-44A4-8C00-89D9731CCB13}", + "details": { + "name": "Model Preset" + } + }, + { + "typeid": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "details": { + "name": "Preview Image Asset" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MotionEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MotionEvent.names index b75bf1286a..320f4e128f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MotionEvent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MotionEvent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MotionEvent", + "base": "MotionEvent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MultiplayerSystemComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MultiplayerSystemComponent.names index cfa35a377f..d7ed32a229 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MultiplayerSystemComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MultiplayerSystemComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MultiplayerSystemComponent", + "base": "MultiplayerSystemComponent", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetOnClientDisconnectedEvent", + "base": "GetOnClientDisconnectedEvent", "context": "MultiplayerSystemComponent", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Name.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Name.names index 1104d336a2..746c94bf6a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Name.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Name.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Name", + "base": "Name", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ToString", + "base": "ToString", "context": "Name", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "Set", + "base": "Set", "context": "Name", "entry": { "name": "In", @@ -71,7 +71,7 @@ ] }, { - "key": "IsEmpty", + "base": "IsEmpty", "context": "Name", "entry": { "name": "In", @@ -103,7 +103,7 @@ ] }, { - "key": "Equal", + "base": "Equal", "context": "Name", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetBindComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetBindComponent.names index 5fe51e3a68..0a5f5f8de8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetBindComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetBindComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "NetBindComponent", + "base": "NetBindComponent", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "IsNetEntityRoleAuthority", + "base": "IsNetEntityRoleAuthority", "context": "NetBindComponent", "entry": { "name": "In", @@ -43,7 +43,7 @@ ] }, { - "key": "IsNetEntityRoleAutonomous", + "base": "IsNetEntityRoleAutonomous", "context": "NetBindComponent", "entry": { "name": "In", @@ -76,7 +76,7 @@ ] }, { - "key": "IsNetEntityRoleClient", + "base": "IsNetEntityRoleClient", "context": "NetBindComponent", "entry": { "name": "In", @@ -109,7 +109,7 @@ ] }, { - "key": "IsNetEntityRoleServer", + "base": "IsNetEntityRoleServer", "context": "NetBindComponent", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponentNetworkInput.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponentNetworkInput.names index 0a6c5db61f..011315360d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponentNetworkInput.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponentNetworkInput.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "NetworkTestPlayerComponentNetworkInput", + "base": "NetworkTestPlayerComponentNetworkInput", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "CreateFromValues", + "base": "CreateFromValues", "context": "NetworkTestPlayerComponentNetworkInput", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "FwdBack", + "base": "FwdBack", "details": { "name": "Get Forward Back" }, @@ -69,7 +69,7 @@ ] }, { - "key": "FwdBack", + "base": "FwdBack", "details": { "name": "Set Forward Back" }, @@ -89,7 +89,7 @@ ] }, { - "key": "LeftRight", + "base": "LeftRight", "details": { "name": "Get Left Right" }, @@ -111,7 +111,7 @@ ] }, { - "key": "LeftRight", + "base": "LeftRight", "details": { "name": "Set Left Right" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NodeIndex.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NodeIndex.names index 2cfbfb6ff8..12170c59ab 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NodeIndex.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NodeIndex.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "NodeIndex", + "base": "NodeIndex", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Equal", + "base": "Equal", "context": "NodeIndex", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "ToString", + "base": "ToString", "context": "NodeIndex", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "IsValid", + "base": "IsValid", "context": "NodeIndex", "entry": { "name": "In", @@ -111,7 +111,7 @@ ] }, { - "key": "Distance", + "base": "Distance", "context": "NodeIndex", "entry": { "name": "In", @@ -149,7 +149,7 @@ ] }, { - "key": "AsNumber", + "base": "AsNumber", "context": "NodeIndex", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/OutputDeviceTransformType.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/OutputDeviceTransformType.names index eefbac6a0b..7ceb39b27b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/OutputDeviceTransformType.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/OutputDeviceTransformType.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "OutputDeviceTransformType", + "base": "OutputDeviceTransformType", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PerlinGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PerlinGradientComponent.names index 6acda4e4e1..1f84509238 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PerlinGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PerlinGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PerlinGradientComponent", + "base": "PerlinGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PerlinGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PerlinGradientConfig.names index 3f36153bb8..970558cfd9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PerlinGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PerlinGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PerlinGradientConfig", + "base": "PerlinGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PhysicsScene.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PhysicsScene.names index 19894bcc21..07faa4053b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PhysicsScene.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PhysicsScene.names @@ -1,33 +1,32 @@ { "entries": [ { - "key": "PhysicsScene", + "base": "PhysicsScene", "context": "BehaviorClass", "variant": "", "details": { - "name": "PhysicsScene" + "name": "Physics Scene" }, "methods": [ { - "key": "GetOnGravityChangeEvent", + "base": "GetOnGravityChangeEvent", "context": "PhysicsScene", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOnGravityChangeEvent" + "tooltip": "When signaled, this will invoke Get On Gravity Change Event" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOnGravityChangeEvent is invoked" + "tooltip": "Signaled after Get On Gravity Change Event is invoked" }, "details": { - "name": "PhysicsScene::GetOnGravityChangeEvent", - "category": "Other" + "name": "Get On Gravity Change Event" }, "params": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Scene Name" } } ], @@ -35,31 +34,30 @@ { "typeid": "{4985DFB0-7CD9-5B28-980B-BA2C701BE3D6}", "details": { - "name": "Event const Vector3& >*" + "name": "Gravity Change Event" } } ] }, { - "key": "QueryScene", + "base": "QueryScene", "context": "PhysicsScene", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke QueryScene" + "tooltip": "When signaled, this will invoke Query Scene" }, "exit": { "name": "Out", - "tooltip": "Signaled after QueryScene is invoked" + "tooltip": "Signaled after Query Scene is invoked" }, "details": { - "name": "PhysicsScene::QueryScene", - "category": "Other" + "name": "Query Scene" }, "params": [ { "typeid": "{52BD8163-BDC4-4B09-ABB2-11DD1F601FFD}", "details": { - "name": "Scene*" + "name": "Scene" } }, { @@ -74,7 +72,7 @@ { "typeid": "{BAFCC4E7-A06B-4909-B2AE-C89D9E84FE4E}", "details": { - "name": "SceneQueryHits" + "name": "Scene Query Hits" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PhysicsSystemInterface.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PhysicsSystemInterface.names index bd2751ecca..d1eb03798d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PhysicsSystemInterface.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PhysicsSystemInterface.names @@ -1,87 +1,85 @@ { "entries": [ { - "key": "PhysicsSystemInterface", + "base": "PhysicsSystemInterface", "context": "BehaviorClass", "variant": "", "details": { - "name": "PhysicsSystemInterface" + "name": "Physics System", + "category": "PhysX" }, "methods": [ { - "key": "GetOnPresimulateEvent", + "base": "GetOnPresimulateEvent", "context": "PhysicsSystemInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOnPresimulateEvent" + "tooltip": "When signaled, this will invoke Get On Pre Simulate Event" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOnPresimulateEvent is invoked" + "tooltip": "Signaled after Get On Pre Simulate Event is invoked" }, "details": { - "name": "PhysicsSystemInterface::GetOnPresimulateEvent", - "category": "Other" + "name": "Get On Pre Simulate Event" }, "results": [ { "typeid": "{F0A3166F-115C-5C3E-8D65-28FBA4420028}", "details": { - "name": "Event*" + "name": "Event" } } ] }, { - "key": "GetOnPostsimulateEvent", + "base": "GetOnPostsimulateEvent", "context": "PhysicsSystemInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOnPostsimulateEvent" + "tooltip": "When signaled, this will invoke Get On Post Simulate Event" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOnPostsimulateEvent is invoked" + "tooltip": "Signaled after Get On Post Simulate Event is invoked" }, "details": { - "name": "PhysicsSystemInterface::GetOnPostsimulateEvent", - "category": "Other" + "name": "Get On Post Simulate Event" }, "results": [ { "typeid": "{F0A3166F-115C-5C3E-8D65-28FBA4420028}", "details": { - "name": "Event*" + "name": "Event" } } ] }, { - "key": "GetSceneHandle", + "base": "GetSceneHandle", "context": "PhysicsSystemInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetSceneHandle" + "tooltip": "When signaled, this will invoke Get Scene Handle" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetSceneHandle is invoked" + "tooltip": "Signaled after Get Scene Handle is invoked" }, "details": { - "name": "PhysicsSystemInterface::GetSceneHandle", - "category": "Other" + "name": "Get Scene Handle" }, "params": [ { "typeid": "{B6F4D92A-061B-4CB3-AAB5-984B599A53AE}", "details": { - "name": "SystemInterface*" + "name": "System Interface" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Scene Name" } } ], @@ -89,37 +87,36 @@ { "typeid": "{36669095-4036-5479-B116-41A32E4E16EA}", "details": { - "name": "tuple" + "name": "Scene Handle" } } ] }, { - "key": "GetScene", + "base": "GetScene", "context": "PhysicsSystemInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetScene" + "tooltip": "When signaled, this will invoke Get Scene" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetScene is invoked" + "tooltip": "Signaled after Get Scene is invoked" }, "details": { - "name": "PhysicsSystemInterface::GetScene", - "category": "Other" + "name": "Get Scene" }, "params": [ { "typeid": "{B6F4D92A-061B-4CB3-AAB5-984B599A53AE}", "details": { - "name": "SystemInterface*" + "name": "System Interface" } }, { "typeid": "{36669095-4036-5479-B116-41A32E4E16EA}", "details": { - "name": "tuple" + "name": "Scene Handle" } } ], @@ -127,7 +124,7 @@ { "typeid": "{52BD8163-BDC4-4B09-ABB2-11DD1F601FFD}", "details": { - "name": "Scene*" + "name": "Scene" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Platform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Platform.names index b7a5be6da9..c07b27df44 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Platform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Platform.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Platform", + "base": "Platform", "context": "BehaviorClass", "variant": "", "details": { @@ -10,25 +10,24 @@ }, "methods": [ { - "key": "GetName", + "base": "GetName", "context": "Platform", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetName" + "tooltip": "When signaled, this will invoke Get Name" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetName is invoked" + "tooltip": "Signaled after Get Name is invoked" }, "details": { - "name": "Platform::GetName", - "category": "Utilities" + "name": "Get Name" }, "params": [ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Id" } } ], @@ -36,7 +35,91 @@ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "Number" + "name": "Name" + } + } + ] + }, + { + "base": "GetMac", + "details": { + "name": "Get Mac" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Id" + } + } + ] + }, + { + "base": "GetLinux", + "details": { + "name": "Get Linux" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Id" + } + } + ] + }, + { + "base": "GetiOS", + "details": { + "name": "Get iOS" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Id" + } + } + ] + }, + { + "base": "GetWindows64", + "details": { + "name": "Get Windows64" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Id" + } + } + ] + }, + { + "base": "GetAndroid64", + "details": { + "name": "Get Android64" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Id" + } + } + ] + }, + { + "base": "GetCurrent", + "details": { + "name": "Get Current" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Id" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PolygonPrism.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PolygonPrism.names index 193f0e94c9..3b2cc44451 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PolygonPrism.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PolygonPrism.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PolygonPrism", + "base": "PolygonPrism", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "height", + "base": "height", "details": { "name": "Get Height" }, @@ -33,7 +33,7 @@ ] }, { - "key": "vertexContainer", + "base": "vertexContainer", "details": { "name": "Get Vertex Container" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PositionSplineQueryResult.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PositionSplineQueryResult.names index 6a778c30a2..478a499b8e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PositionSplineQueryResult.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PositionSplineQueryResult.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PositionSplineQueryResult", + "base": "PositionSplineQueryResult", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PosterizeGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PosterizeGradientComponent.names index 5768ce41f2..6c2372d99c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PosterizeGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PosterizeGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PosterizeGradientComponent", + "base": "PosterizeGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PosterizeGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PosterizeGradientConfig.names index bea4631714..03b82c4262 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PosterizeGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PosterizeGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PosterizeGradientConfig", + "base": "PosterizeGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PropertyTreeEditor.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PropertyTreeEditor.names index a4da66e5fd..8224b2617c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PropertyTreeEditor.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PropertyTreeEditor.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PropertyTreeEditor", + "base": "PropertyTreeEditor", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ResetContainer", + "base": "ResetContainer", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "CompareProperty", + "base": "CompareProperty", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -91,7 +91,7 @@ ] }, { - "key": "IsContainer", + "base": "IsContainer", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -129,7 +129,7 @@ ] }, { - "key": "GetContainerCount", + "base": "GetContainerCount", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -167,7 +167,7 @@ ] }, { - "key": "SetProperty", + "base": "SetProperty", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -211,7 +211,7 @@ ] }, { - "key": "AppendContainerItem", + "base": "AppendContainerItem", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -255,7 +255,7 @@ ] }, { - "key": "GetProperty", + "base": "GetProperty", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -293,7 +293,7 @@ ] }, { - "key": "AddContainerItem", + "base": "AddContainerItem", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -343,7 +343,7 @@ ] }, { - "key": "RemoveContainerItem", + "base": "RemoveContainerItem", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -387,7 +387,7 @@ ] }, { - "key": "BuildPathsListWithTypes", + "base": "BuildPathsListWithTypes", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -419,7 +419,7 @@ ] }, { - "key": "HasAttribute", + "base": "HasAttribute", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -463,7 +463,7 @@ ] }, { - "key": "BuildPathsList", + "base": "BuildPathsList", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -495,7 +495,7 @@ ] }, { - "key": "SetVisibleEnforcement", + "base": "SetVisibleEnforcement", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -525,7 +525,7 @@ ] }, { - "key": "UpdateContainerItem", + "base": "UpdateContainerItem", "context": "PropertyTreeEditor", "entry": { "name": "In", @@ -575,7 +575,7 @@ ] }, { - "key": "GetContainerItem", + "base": "GetContainerItem", "context": "PropertyTreeEditor", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PythonBehaviorInfo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PythonBehaviorInfo.names index 44d606200e..cbc3f91d4d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PythonBehaviorInfo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/PythonBehaviorInfo.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PythonBehaviorInfo", + "base": "PythonBehaviorInfo", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomGradientComponent.names index 39484e12ca..528f0f6ba1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "RandomGradientComponent", + "base": "RandomGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomGradientConfig.names index 437018b5ee..16cde16465 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "RandomGradientConfig", + "base": "RandomGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomTimedSpawnerComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomTimedSpawnerComponent.names index 580b4b9b73..7be82eb510 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomTimedSpawnerComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RandomTimedSpawnerComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "RandomTimedSpawnerComponent", + "base": "RandomTimedSpawnerComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RaySplineQueryResult.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RaySplineQueryResult.names index d8bae42895..0c143f7bca 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RaySplineQueryResult.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RaySplineQueryResult.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "RaySplineQueryResult", + "base": "RaySplineQueryResult", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceGradientComponent.names index f8e307243e..f55bd9b2fc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ReferenceGradientComponent", + "base": "ReferenceGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceGradientConfig.names index f54a665d2d..75c14d2132 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ReferenceGradientConfig", + "base": "ReferenceGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceShapeConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceShapeConfig.names index ba88940ef2..c312519f02 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceShapeConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceShapeConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ReferenceShapeConfig", + "base": "ReferenceShapeConfig", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "shapeEntityId", + "base": "shapeEntityId", "details": { "name": "ReferenceShapeConfig::shapeEntityId::Getter" }, @@ -32,7 +32,7 @@ ] }, { - "key": "shapeEntityId", + "base": "shapeEntityId", "details": { "name": "ReferenceShapeConfig::shapeEntityId::Setter" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RuntimeData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RuntimeData.names index d0b45d418a..9736c7e787 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RuntimeData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/RuntimeData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "RuntimeData", + "base": "RuntimeData", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetRequiredAssets", + "base": "GetRequiredAssets", "context": "RuntimeData", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Scene.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Scene.names index 38c123e0cf..febcc224f1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Scene.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Scene.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Scene", + "base": "Scene", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetOriginalSceneOrientation", + "base": "GetOriginalSceneOrientation", "context": "Scene", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneGraphName.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneGraphName.names index f3bb103ae3..5c7fb58120 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneGraphName.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneGraphName.names @@ -1,33 +1,33 @@ { "entries": [ { - "key": "SceneGraphName", + "base": "SceneGraphName", "context": "BehaviorClass", "variant": "", "details": { - "name": "SceneGraphName" + "name": "Scene Graph Name", + "category": "Scene Graph" }, "methods": [ { - "key": "GetPath", + "base": "GetPath", "context": "SceneGraphName", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPath" + "tooltip": "When signaled, this will invoke Get Path" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPath is invoked" + "tooltip": "Signaled after Get Path is invoked" }, "details": { - "name": "SceneGraphName::GetPath", - "category": "Other" + "name": "Get Path" }, "params": [ { "typeid": "{4077AC3C-B301-4F5A-BEA7-54D6511AEC2E}", "details": { - "name": "AZ::SceneAPI::Containers::SceneGraph::Name*" + "name": "Scene Graph Name" } } ], @@ -35,31 +35,30 @@ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "const char*" + "name": "Path" } } ] }, { - "key": "GetName", + "base": "GetName", "context": "SceneGraphName", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetName" + "tooltip": "When signaled, this will invoke Get Name" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetName is invoked" + "tooltip": "Signaled after Get Name is invoked" }, "details": { - "name": "SceneGraphName::GetName", - "category": "Other" + "name": "Get Name" }, "params": [ { "typeid": "{4077AC3C-B301-4F5A-BEA7-54D6511AEC2E}", "details": { - "name": "AZ::SceneAPI::Containers::SceneGraph::Name*" + "name": "Scene Graph Name" } } ], @@ -67,31 +66,30 @@ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "const char*" + "name": "Name" } } ] }, { - "key": "ToString", + "base": "ToString", "context": "SceneGraphName", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ToString" + "tooltip": "When signaled, this will invoke To String" }, "exit": { "name": "Out", - "tooltip": "Signaled after ToString is invoked" + "tooltip": "Signaled after To String is invoked" }, "details": { - "name": "SceneGraphName::ToString", - "category": "Other" + "name": "To String" }, "params": [ { "typeid": "{4077AC3C-B301-4F5A-BEA7-54D6511AEC2E}", "details": { - "name": "const AZ::SceneAPI::Containers::SceneGraph::Name&" + "name": "Scene Graph Name" } } ], @@ -99,7 +97,7 @@ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "const char*" + "name": "String" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneManifest.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneManifest.names index ede7f6ea12..bc018a3011 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneManifest.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneManifest.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SceneManifest", + "base": "SceneManifest", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ImportFromJson", + "base": "ImportFromJson", "context": "SceneManifest", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "ExportToJson", + "base": "ExportToJson", "context": "SceneManifest", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneQueries.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneQueries.names index 731a41bac1..1aa7a6642c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneQueries.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SceneQueries.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SceneQueries", + "base": "SceneQueries", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "CreateRayCastRequest", + "base": "CreateRayCastRequest", "context": "SceneQueries", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ScriptTimePoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ScriptTimePoint.names index 8cad1c3269..c80e6d466b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ScriptTimePoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ScriptTimePoint.names @@ -1,34 +1,32 @@ { "entries": [ { - "key": "ScriptTimePoint", + "base": "ScriptTimePoint", "context": "BehaviorClass", "variant": "", "details": { - "name": "Script Time Point", - "category": "Timing" + "name": "Script Time Point" }, "methods": [ { - "key": "ToString", + "base": "ToString", "context": "ScriptTimePoint", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ToString" + "tooltip": "When signaled, this will invoke To String" }, "exit": { "name": "Out", - "tooltip": "Signaled after ToString is invoked" + "tooltip": "Signaled after To String is invoked" }, "details": { - "name": "ScriptTimePoint::ToString", - "category": "Timing" + "name": "To String" }, "params": [ { "typeid": "{4C0F6AD4-0D4F-4354-AD4A-0C01E948245C}", "details": { - "name": "ScriptTimePoint*" + "name": "Script Time Point" } } ], @@ -42,25 +40,24 @@ ] }, { - "key": "GetSeconds", + "base": "GetSeconds", "context": "ScriptTimePoint", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetSeconds" + "tooltip": "When signaled, this will invoke Get Seconds" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetSeconds is invoked" + "tooltip": "Signaled after Get Seconds is invoked" }, "details": { - "name": "ScriptTimePoint::GetSeconds", - "category": "Timing" + "name": "Get Seconds" }, "params": [ { "typeid": "{4C0F6AD4-0D4F-4354-AD4A-0C01E948245C}", "details": { - "name": "ScriptTimePoint*" + "name": "Script Time Point" } } ], @@ -68,31 +65,30 @@ { "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "details": { - "name": "Number" + "name": "Seconds" } } ] }, { - "key": "GetMilliseconds", + "base": "GetMilliseconds", "context": "ScriptTimePoint", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetMilliseconds" + "tooltip": "When signaled, this will invoke Get Milliseconds" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetMilliseconds is invoked" + "tooltip": "Signaled after Get Milliseconds is invoked" }, "details": { - "name": "ScriptTimePoint::GetMilliseconds", - "category": "Timing" + "name": "Get Milliseconds" }, "params": [ { "typeid": "{4C0F6AD4-0D4F-4354-AD4A-0C01E948245C}", "details": { - "name": "ScriptTimePoint*" + "name": "Script Time Point" } } ], @@ -100,7 +96,7 @@ { "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "details": { - "name": "Number" + "name": "Milliseconds" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SearchFilter.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SearchFilter.names index 851aef1fda..693e465864 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SearchFilter.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SearchFilter.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SearchFilter", + "base": "SearchFilter", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SequenceComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SequenceComponent.names index 59c9be78f7..c330e85e85 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SequenceComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SequenceComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SequenceComponent", + "base": "SequenceComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SettingsRegistryInterface.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SettingsRegistryInterface.names index 31cfa551b4..660fb5206f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SettingsRegistryInterface.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SettingsRegistryInterface.names @@ -1,39 +1,39 @@ { "entries": [ { - "key": "SettingsRegistryInterface", + "base": "SettingsRegistryInterface", "context": "BehaviorClass", "variant": "", "details": { - "name": "SettingsRegistryInterface" + "name": "Settings Registry", + "category": "Registry" }, "methods": [ { - "key": "GetFloat", + "base": "GetFloat", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFloat" + "tooltip": "When signaled, this will invoke Get Float" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFloat is invoked" + "tooltip": "Signaled after Get Float is invoked" }, "details": { - "name": "SettingsRegistryInterface::GetFloat", - "category": "Other" + "name": "Get Float" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } } ], @@ -41,43 +41,42 @@ { "typeid": "{8FE8A00F-5FE8-54A1-A314-346843AD21B6}", "details": { - "name": "AZStd::optional" + "name": "Value" } } ] }, { - "key": "SetFloat", + "base": "SetFloat", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFloat" + "tooltip": "When signaled, this will invoke Set Float" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFloat is invoked" + "tooltip": "Signaled after Set Float is invoked" }, "details": { - "name": "SettingsRegistryInterface::SetFloat", - "category": "Other" + "name": "Set Float" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } }, { "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "details": { - "name": "double" + "name": "Value" } } ], @@ -85,37 +84,36 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "RemoveKey", + "base": "RemoveKey", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke RemoveKey" + "tooltip": "When signaled, this will invoke Remove Key" }, "exit": { "name": "Out", - "tooltip": "Signaled after RemoveKey is invoked" + "tooltip": "Signaled after Remove Key is invoked" }, "details": { - "name": "SettingsRegistryInterface::RemoveKey", - "category": "Other" + "name": "Remove Key" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } } ], @@ -123,43 +121,42 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "SetInt", + "base": "SetInt", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetInt" + "tooltip": "When signaled, this will invoke Set Int" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetInt is invoked" + "tooltip": "Signaled after Set Int is invoked" }, "details": { - "name": "SettingsRegistryInterface::SetInt", - "category": "Other" + "name": "Set Int" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } }, { "typeid": "{70D8A282-A1EA-462D-9D04-51EDE81FAC2F}", "details": { - "name": "AZ::s64" + "name": "Value" } } ], @@ -167,43 +164,42 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "SetUInt", + "base": "SetUInt", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetUInt" + "tooltip": "When signaled, this will invoke Set UInt" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetUInt is invoked" + "tooltip": "Signaled after Set UInt is invoked" }, "details": { - "name": "SettingsRegistryInterface::SetUInt", - "category": "Other" + "name": "Set UInt" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Value" } } ], @@ -211,37 +207,36 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "GetBool", + "base": "GetBool", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetBool" + "tooltip": "When signaled, this will invoke Get Bool" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetBool is invoked" + "tooltip": "Signaled after Get Bool is invoked" }, "details": { - "name": "SettingsRegistryInterface::GetBool", - "category": "Other" + "name": "Get Bool" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } } ], @@ -249,37 +244,36 @@ { "typeid": "{0170062C-2E7E-5CEB-BAB8-F7663BEF7B3E}", "details": { - "name": "AZStd::optional" + "name": "Value" } } ] }, { - "key": "GetInt", + "base": "GetInt", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetInt" + "tooltip": "When signaled, this will invoke Get Int" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetInt is invoked" + "tooltip": "Signaled after Get Int is invoked" }, "details": { - "name": "SettingsRegistryInterface::GetInt", - "category": "Other" + "name": "Get Int" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } } ], @@ -287,37 +281,36 @@ { "typeid": "{8E0A7AC1-C649-56B4-99CF-8BE08EEFC47B}", "details": { - "name": "AZStd::optional" + "name": "Value" } } ] }, { - "key": "GetUInt", + "base": "GetUInt", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetUInt" + "tooltip": "When signaled, this will invoke Get UInt" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetUInt is invoked" + "tooltip": "Signaled after Get UInt is invoked" }, "details": { - "name": "SettingsRegistryInterface::GetUInt", - "category": "Other" + "name": "Get UInt" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } } ], @@ -325,25 +318,24 @@ { "typeid": "{858A22B8-1B5E-5016-BF33-B2469DD9CAD3}", "details": { - "name": "AZStd::optional" + "name": "Value" } } ] }, { - "key": "GetNotifyEvent", + "base": "GetNotifyEvent", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNotifyEvent" + "tooltip": "When signaled, this will invoke Get Notify Event" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNotifyEvent is invoked" + "tooltip": "Signaled after Get Notify Event is invoked" }, "details": { - "name": "Get Notify Event", - "subtitle": "Settings Registry" + "name": "Get Notify Event" }, "params": [ { @@ -357,43 +349,43 @@ { "typeid": "{84290CFC-1335-5341-AD8B-0A3FE9FE46D0}", "details": { - "name": "Event" + "name": "Script Notify Event" } } ] }, { - "key": "MergeSettings", + "base": "MergeSettings", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke MergeSettings" + "tooltip": "When signaled, this will invoke Merge Settings" }, "exit": { "name": "Out", - "tooltip": "Signaled after MergeSettings is invoked" + "tooltip": "Signaled after Merge Settings is invoked" }, "details": { - "name": "SettingsRegistryInterface::MergeSettings", - "category": "Other" + "name": "Merge Settings" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Format", + "tooltip": "0: Json Path, 1: Json Merge Patch" } } ], @@ -401,49 +393,49 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "MergeSettingsFile", + "base": "MergeSettingsFile", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke MergeSettingsFile" + "tooltip": "When signaled, this will invoke Merge Settings File" }, "exit": { "name": "Out", - "tooltip": "Signaled after MergeSettingsFile is invoked" + "tooltip": "Signaled after Merge Settings File is invoked" }, "details": { - "name": "SettingsRegistryInterface::MergeSettingsFile", - "category": "Other" + "name": "Merge Settings File" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "Root Key" } }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Format", + "tooltip": "0: Json Path, 1: Json Merge Patch" } } ], @@ -451,37 +443,36 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "GetString", + "base": "GetString", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetString" + "tooltip": "When signaled, this will invoke Get String" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetString is invoked" + "tooltip": "Signaled after Get String is invoked" }, "details": { - "name": "SettingsRegistryInterface::GetString", - "category": "Other" + "name": "Get String" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } } ], @@ -489,31 +480,30 @@ { "typeid": "{B0D91084-263A-54B9-A4F3-7C5F4240E248}", "details": { - "name": "AZStd::optional, allocator>>" + "name": "Output" } } ] }, { - "key": "IsValid", + "base": "IsValid", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsValid" + "tooltip": "When signaled, this will invoke Is Valid" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsValid is invoked" + "tooltip": "Signaled after Is Valid is invoked" }, "details": { - "name": "SettingsRegistryInterface::IsValid", - "category": "Other" + "name": "Is Valid" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } } ], @@ -521,49 +511,48 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "MergeSettingsFolder", + "base": "MergeSettingsFolder", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke MergeSettingsFolder" + "tooltip": "When signaled, this will invoke Merge Settings Folder" }, "exit": { "name": "Out", - "tooltip": "Signaled after MergeSettingsFolder is invoked" + "tooltip": "Signaled after Merge Settings Folder is invoked" }, "details": { - "name": "SettingsRegistryInterface::MergeSettingsFolder", - "category": "Other" + "name": "Merge Settings Folder" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } }, { "typeid": "{EB6B8ADF-ABAA-4D22-B596-127F9C611740}", "details": { - "name": "const SpecializationsProxy&" + "name": "Specializations Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } } ], @@ -571,43 +560,42 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "SetBool", + "base": "SetBool", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetBool" + "tooltip": "When signaled, this will invoke Set Bool" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetBool is invoked" + "tooltip": "Signaled after Set Bool is invoked" }, "details": { - "name": "SettingsRegistryInterface::SetBool", - "category": "Other" + "name": "Set Bool" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } }, { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ], @@ -615,43 +603,42 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "SetString", + "base": "SetString", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetString" + "tooltip": "When signaled, this will invoke Set String" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetString is invoked" + "tooltip": "Signaled after Set String is invoked" }, "details": { - "name": "SettingsRegistryInterface::SetString", - "category": "Other" + "name": "Set String" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } } ], @@ -659,37 +646,36 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "DumpSettings", + "base": "DumpSettings", "context": "SettingsRegistryInterface", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke DumpSettings" + "tooltip": "When signaled, this will invoke Dump Settings" }, "exit": { "name": "Out", - "tooltip": "Signaled after DumpSettings is invoked" + "tooltip": "Signaled after Dump Settings is invoked" }, "details": { - "name": "SettingsRegistryInterface::DumpSettings", - "category": "Other" + "name": "Dump Settings" }, "params": [ { "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", "details": { - "name": "SettingsRegistryScriptProxy*" + "name": "Settings Registry Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "JSON Path" } } ], @@ -697,7 +683,7 @@ { "typeid": "{B0D91084-263A-54B9-A4F3-7C5F4240E248}", "details": { - "name": "AZStd::optional, allocator>>" + "name": "Output" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderCollectionItem.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderCollectionItem.names index 94fe0bb982..0e081769b4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderCollectionItem.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderCollectionItem.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShaderCollectionItem", + "base": "ShaderCollectionItem", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetShaderAsset", + "base": "GetShaderAsset", "context": "ShaderCollectionItem", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetShaderAssetId", + "base": "GetShaderAssetId", "context": "ShaderCollectionItem", "entry": { "name": "In", @@ -73,7 +73,7 @@ ] }, { - "key": "GetShaderVariantId", + "base": "GetShaderVariantId", "context": "ShaderCollectionItem", "entry": { "name": "In", @@ -105,7 +105,7 @@ ] }, { - "key": "GetShaderOptionGroup", + "base": "GetShaderOptionGroup", "context": "ShaderCollectionItem", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderOptionGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderOptionGroup.names index 59c02d8c6d..24c1085b7d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderOptionGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderOptionGroup.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShaderOptionGroup", + "base": "ShaderOptionGroup", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetValueByOptionName", + "base": "GetValueByOptionName", "context": "ShaderOptionGroup", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "GetShaderOptionDescriptors", + "base": "GetShaderOptionDescriptors", "context": "ShaderOptionGroup", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "GetShaderVariantId", + "base": "GetShaderVariantId", "context": "ShaderOptionGroup", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderSemantic.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderSemantic.names index 011619c1e3..372a9a7e79 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderSemantic.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderSemantic.names @@ -1,41 +1,117 @@ { "entries": [ { - "key": "ShaderSemantic", + "base": "ShaderSemantic", "context": "BehaviorClass", "variant": "", "details": { - "name": "ShaderSemantic" + "name": "Shader Semantic", + "category": "Rendering" }, "methods": [ { - "key": "ToString", + "base": "ToString", "context": "ShaderSemantic", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ToString" + "tooltip": "When signaled, this will invoke To String" }, "exit": { "name": "Out", - "tooltip": "Signaled after ToString is invoked" + "tooltip": "Signaled after To String is invoked" }, "details": { - "name": "ShaderSemantic::ToString", - "category": "Other" + "name": "To String" + }, + "results": [ + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "AZ Std::basic_string, allocator>" + } + } + ] + }, + { + "base": "Getname", + "details": { + "name": "Getname" }, "params": [ { "typeid": "{C6FFF25F-FE52-4D08-8D96-D04C14048816}", "details": { - "name": "ShaderSemantic*" + "name": "" } } ], "results": [ { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "typeid": "{3D2B920C-9EFD-40D5-AAE0-DF131C3D4931}", "details": { - "name": "AZStd::basic_string, allocator>" + "name": "" + } + } + ] + }, + { + "base": "Setname", + "details": { + "name": "Setname" + }, + "params": [ + { + "typeid": "{C6FFF25F-FE52-4D08-8D96-D04C14048816}", + "details": { + "name": "" + } + }, + { + "typeid": "{3D2B920C-9EFD-40D5-AAE0-DF131C3D4931}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "Getindex", + "details": { + "name": "Getindex" + }, + "params": [ + { + "typeid": "{C6FFF25F-FE52-4D08-8D96-D04C14048816}", + "details": { + "name": "" + } + } + ], + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "" + } + } + ] + }, + { + "base": "Setindex", + "details": { + "name": "Setindex" + }, + "params": [ + { + "typeid": "{C6FFF25F-FE52-4D08-8D96-D04C14048816}", + "details": { + "name": "" + } + }, + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantId.names index c6aa37ec83..b56def1788 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantId.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShaderVariantId", + "base": "ShaderVariantId", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Equal", + "base": "Equal", "context": "ShaderVariantId", "entry": { "name": "In", @@ -47,7 +47,7 @@ ] }, { - "key": "IsEmpty", + "base": "IsEmpty", "context": "ShaderVariantId", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantInfo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantInfo.names index 215b56ccee..3f503edf3c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantInfo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantInfo.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShaderVariantInfo", + "base": "ShaderVariantInfo", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantListSourceData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantListSourceData.names index d8ff471af0..42dc75b474 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantListSourceData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShaderVariantListSourceData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShaderVariantListSourceData", + "base": "ShaderVariantListSourceData", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShapeAreaFalloffGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShapeAreaFalloffGradientComponent.names index 1935304451..728a4412b5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShapeAreaFalloffGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShapeAreaFalloffGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShapeAreaFalloffGradientComponent", + "base": "ShapeAreaFalloffGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShapeAreaFalloffGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShapeAreaFalloffGradientConfig.names index 03da764cf9..32fd92f533 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShapeAreaFalloffGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ShapeAreaFalloffGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShapeAreaFalloffGradientConfig", + "base": "ShapeAreaFalloffGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimpleAssetReferenceBase.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimpleAssetReferenceBase.names index 67c99ad82e..083e61fc8a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimpleAssetReferenceBase.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimpleAssetReferenceBase.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SimpleAssetReferenceBase", + "base": "SimpleAssetReferenceBase", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetAssetPath", + "base": "SetAssetPath", "context": "SimpleAssetReferenceBase", "entry": { "name": "In", @@ -39,7 +39,7 @@ ] }, { - "key": "assetPath", + "base": "assetPath", "details": { "name": "Get Asset Path" }, @@ -62,7 +62,7 @@ ] }, { - "key": "assetType", + "base": "assetType", "details": { "name": "Get Asset Type" }, @@ -85,7 +85,7 @@ ] }, { - "key": "fileFilter", + "base": "fileFilter", "details": { "name": "Get File Filter" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimpleMotionComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimpleMotionComponent.names index 9867741842..cac9c16821 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimpleMotionComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimpleMotionComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SimpleMotionComponent", + "base": "SimpleMotionComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimulatedBody.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimulatedBody.names index e950654cad..05f66ca154 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimulatedBody.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SimulatedBody.names @@ -1,33 +1,32 @@ { "entries": [ { - "key": "SimulatedBody", + "base": "SimulatedBody", "context": "BehaviorClass", "variant": "", "details": { - "name": "SimulatedBody" + "name": "Simulated Body" }, "methods": [ { - "key": "GetOnCollisionEndEvent", + "base": "GetOnCollisionEndEvent", "context": "SimulatedBody", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOnCollisionEndEvent" + "tooltip": "When signaled, this will invoke Get On Collision End Event" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOnCollisionEndEvent is invoked" + "tooltip": "Signaled after Get On Collision End Event is invoked" }, "details": { - "name": "SimulatedBody::GetOnCollisionEndEvent", - "category": "Other" + "name": "Get On Collision End Event" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } @@ -36,31 +35,30 @@ { "typeid": "{4C19E257-F929-524E-80E3-C910C5F3E2D9}", "details": { - "name": "Event const CollisionEvent& >*" + "name": "Collision Event" } } ] }, { - "key": "GetOnCollisionPersistEvent", + "base": "GetOnCollisionPersistEvent", "context": "SimulatedBody", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOnCollisionPersistEvent" + "tooltip": "When signaled, this will invoke Get On Collision Persist Event" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOnCollisionPersistEvent is invoked" + "tooltip": "Signaled after Get On Collision Persist Event is invoked" }, "details": { - "name": "SimulatedBody::GetOnCollisionPersistEvent", - "category": "Other" + "name": "Get On Collision Persist Event" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } @@ -69,31 +67,30 @@ { "typeid": "{4C19E257-F929-524E-80E3-C910C5F3E2D9}", "details": { - "name": "Event const CollisionEvent& >*" + "name": "Collision Event" } } ] }, { - "key": "GetOnTriggerEnterEvent", + "base": "GetOnTriggerEnterEvent", "context": "SimulatedBody", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOnTriggerEnterEvent" + "tooltip": "When signaled, this will invoke Get On Trigger Enter Event" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOnTriggerEnterEvent is invoked" + "tooltip": "Signaled after Get On Trigger Enter Event is invoked" }, "details": { - "name": "SimulatedBody::GetOnTriggerEnterEvent", - "category": "Other" + "name": "Get On Trigger Enter Event" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } @@ -102,31 +99,30 @@ { "typeid": "{C00D2478-E0F3-57A3-AB60-A04DFC515016}", "details": { - "name": "Event const TriggerEvent& >*" + "name": "Trigger Event" } } ] }, { - "key": "GetOnCollisionBeginEvent", + "base": "GetOnCollisionBeginEvent", "context": "SimulatedBody", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOnCollisionBeginEvent" + "tooltip": "When signaled, this will invoke Get On Collision Begin Event" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOnCollisionBeginEvent is invoked" + "tooltip": "Signaled after Get On Collision Begin Event is invoked" }, "details": { - "name": "SimulatedBody::GetOnCollisionBeginEvent", - "category": "Other" + "name": "Get On Collision Begin Event" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } @@ -135,31 +131,31 @@ { "typeid": "{4C19E257-F929-524E-80E3-C910C5F3E2D9}", "details": { - "name": "Event const CollisionEvent& >*" + "name": "Collision Event" } } ] }, { - "key": "GetOnTriggerExitEvent", + "base": "GetOnTriggerExitEvent", "context": "SimulatedBody", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOnTriggerExitEvent" + "tooltip": "When signaled, this will invoke Get On Trigger Exit Event" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOnTriggerExitEvent is invoked" + "tooltip": "Signaled after Get On Trigger Exit Event is invoked" }, "details": { - "name": "SimulatedBody::GetOnTriggerExitEvent", + "name": "Get On Trigger Exit Event", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } @@ -168,7 +164,7 @@ { "typeid": "{C00D2478-E0F3-57A3-AB60-A04DFC515016}", "details": { - "name": "Event const TriggerEvent& >*" + "name": "Trigger Event" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SliceInstanceAddress.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SliceInstanceAddress.names index 003b833a1d..3aa69fd61a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SliceInstanceAddress.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SliceInstanceAddress.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SliceInstanceAddress", + "base": "SliceInstanceAddress", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "IsValid", + "base": "IsValid", "context": "SliceInstanceAddress", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SliceInstantiationTicket.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SliceInstantiationTicket.names index b9edb1cfa1..325c544763 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SliceInstantiationTicket.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SliceInstantiationTicket.names @@ -1,16 +1,15 @@ { "entries": [ { - "key": "SliceInstantiationTicket", + "base": "SliceInstantiationTicket", "context": "BehaviorClass", "variant": "", "details": { - "name": "Slice Instantiation Ticket", - "category": "Gameplay" + "name": "Slice Instantiation Ticket" }, "methods": [ { - "key": "Equal", + "base": "Equal", "context": "SliceInstantiationTicket", "entry": { "name": "In", @@ -21,20 +20,19 @@ "tooltip": "Signaled after Equal is invoked" }, "details": { - "name": "SliceInstantiationTicket::Equal", - "category": "Gameplay" + "name": "Equal" }, "params": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "SliceInstantiationTicket*" + "name": "Slice Instantiation Ticket*" } }, { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "const SliceInstantiationTicket&" + "name": "const Slice Instantiation Ticket&" } } ], @@ -42,31 +40,30 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Equal" } } ] }, { - "key": "ToString", + "base": "ToString", "context": "SliceInstantiationTicket", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ToString" + "tooltip": "When signaled, this will invoke To String" }, "exit": { "name": "Out", - "tooltip": "Signaled after ToString is invoked" + "tooltip": "Signaled after To String is invoked" }, "details": { - "name": "SliceInstantiationTicket::ToString", - "category": "Gameplay" + "name": "To String" }, "params": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "SliceInstantiationTicket*" + "name": "Slice Instantiation Ticket*" } } ], @@ -74,31 +71,30 @@ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::basic_string, allocator>" + "name": "String" } } ] }, { - "key": "IsValid", + "base": "IsValid", "context": "SliceInstantiationTicket", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsValid" + "tooltip": "When signaled, this will invoke Is Valid" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsValid is invoked" + "tooltip": "Signaled after Is Valid is invoked" }, "details": { - "name": "SliceInstantiationTicket::IsValid", - "category": "Gameplay" + "name": "Is Valid" }, "params": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "SliceInstantiationTicket*" + "name": "Slice Instantiation Ticket*" } } ], @@ -106,7 +102,7 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Is Valid" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStep.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStep.names index 2fff9e6f59..a95cd5d878 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStep.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStep.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SmoothStep", + "base": "SmoothStep", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStepGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStepGradientComponent.names index 42374f5c08..63bbb21361 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStepGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStepGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SmoothStepGradientComponent", + "base": "SmoothStepGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStepGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStepGradientConfig.names index d9d27df79b..29331f4a45 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStepGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SmoothStepGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SmoothStepGradientConfig", + "base": "SmoothStepGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SpawnerConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SpawnerConfig.names index f78e690f18..fafcb74e0b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SpawnerConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SpawnerConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SpawnerConfig", + "base": "SpawnerConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Specializations.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Specializations.names index db5ae9fccf..6e7070b006 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Specializations.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Specializations.names @@ -1,39 +1,40 @@ { "entries": [ { - "key": "Specializations", + "base": "Specializations", "context": "BehaviorClass", "variant": "", "details": { - "name": "Specializations" + "name": "Specializations", + "category": "Registry" }, "methods": [ { - "key": "GetPriority", + "base": "GetPriority", "context": "Specializations", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPriority" + "tooltip": "When signaled, this will invoke Get Priority" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPriority is invoked" + "tooltip": "Signaled after Get Priority is invoked" }, "details": { - "name": "Specializations::GetPriority", + "name": "Get Priority", "category": "Other" }, "params": [ { "typeid": "{EB6B8ADF-ABAA-4D22-B596-127F9C611740}", "details": { - "name": "SpecializationsProxy*" + "name": "Specializations Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "Specialization" } } ], @@ -41,31 +42,30 @@ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Priority" } } ] }, { - "key": "GetCount", + "base": "GetCount", "context": "Specializations", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCount" + "tooltip": "When signaled, this will invoke Get Count" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCount is invoked" + "tooltip": "Signaled after Get Count is invoked" }, "details": { - "name": "Specializations::GetCount", - "category": "Other" + "name": "Get Count" }, "params": [ { "typeid": "{EB6B8ADF-ABAA-4D22-B596-127F9C611740}", "details": { - "name": "SpecializationsProxy*" + "name": "Specializations Proxy" } } ], @@ -73,13 +73,13 @@ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Count" } } ] }, { - "key": "Contains", + "base": "Contains", "context": "Specializations", "entry": { "name": "In", @@ -90,20 +90,19 @@ "tooltip": "Signaled after Contains is invoked" }, "details": { - "name": "Specializations::Contains", - "category": "Other" + "name": "Contains" }, "params": [ { "typeid": "{EB6B8ADF-ABAA-4D22-B596-127F9C611740}", "details": { - "name": "SpecializationsProxy*" + "name": "Specializations Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "Specialization" } } ], @@ -111,13 +110,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Contains" } } ] }, { - "key": "Append", + "base": "Append", "context": "Specializations", "entry": { "name": "In", @@ -128,20 +127,19 @@ "tooltip": "Signaled after Append is invoked" }, "details": { - "name": "Specializations::Append", - "category": "Other" + "name": "Append" }, "params": [ { "typeid": "{EB6B8ADF-ABAA-4D22-B596-127F9C611740}", "details": { - "name": "SpecializationsProxy*" + "name": "Specializations Proxy" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "Specialization" } } ], @@ -149,37 +147,36 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "GetSpecialization", + "base": "GetSpecialization", "context": "Specializations", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetSpecialization" + "tooltip": "When signaled, this will invoke Get Specialization" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetSpecialization is invoked" + "tooltip": "Signaled after Get Specialization is invoked" }, "details": { - "name": "Specializations::GetSpecialization", - "category": "Other" + "name": "Get Specialization" }, "params": [ { "typeid": "{EB6B8ADF-ABAA-4D22-B596-127F9C611740}", "details": { - "name": "SpecializationsProxy*" + "name": "Specializations Proxy" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Index" } } ], @@ -187,7 +184,7 @@ { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "AZStd::basic_string_view>" + "name": "Specialization" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SphereShapeConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SphereShapeConfig.names index be4d2dbdb2..889b0dbe55 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SphereShapeConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SphereShapeConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SphereShapeConfig", + "base": "SphereShapeConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/String.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/String.names index 3bee4fbec1..b8d70936e4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/String.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/String.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "String", + "base": "String", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ReplaceString", + "base": "ReplaceString", "context": "String", "entry": { "name": "In", @@ -59,7 +59,7 @@ ] }, { - "key": "Join", + "base": "Join", "context": "String", "entry": { "name": "In", @@ -97,7 +97,7 @@ ] }, { - "key": "StartsWith", + "base": "StartsWith", "context": "String", "entry": { "name": "In", @@ -141,7 +141,7 @@ ] }, { - "key": "ContainsString", + "base": "ContainsString", "context": "String", "entry": { "name": "In", @@ -191,7 +191,7 @@ ] }, { - "key": "Split", + "base": "Split", "context": "String", "entry": { "name": "In", @@ -229,7 +229,7 @@ ] }, { - "key": "IsValidFindPosition", + "base": "IsValidFindPosition", "context": "String", "entry": { "name": "In", @@ -261,7 +261,7 @@ ] }, { - "key": "EndsWith", + "base": "EndsWith", "context": "String", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/String_VM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/String_VM.names index 38a203d02f..86a0f9e3c0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/String_VM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/String_VM.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "String_VM", + "base": "String_VM", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ToLower", + "base": "ToLower", "context": "String_VM", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "ToUpper", + "base": "ToUpper", "context": "String_VM", "entry": { "name": "In", @@ -73,7 +73,7 @@ ] }, { - "key": "Substring", + "base": "Substring", "context": "String_VM", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceAltitudeGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceAltitudeGradientComponent.names index c42e70fd88..6d5e6004b3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceAltitudeGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceAltitudeGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SurfaceAltitudeGradientComponent", + "base": "SurfaceAltitudeGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceAltitudeGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceAltitudeGradientConfig.names index 2886505974..55f73fe1a0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceAltitudeGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceAltitudeGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SurfaceAltitudeGradientConfig", + "base": "SurfaceAltitudeGradientConfig", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetNumTags", + "base": "GetNumTags", "context": "SurfaceAltitudeGradientConfig", "entry": { "name": "In", @@ -42,7 +42,7 @@ ] }, { - "key": "GetTag", + "base": "GetTag", "context": "SurfaceAltitudeGradientConfig", "entry": { "name": "In", @@ -81,7 +81,7 @@ ] }, { - "key": "RemoveTag", + "base": "RemoveTag", "context": "SurfaceAltitudeGradientConfig", "entry": { "name": "In", @@ -112,7 +112,7 @@ ] }, { - "key": "AddTag", + "base": "AddTag", "context": "SurfaceAltitudeGradientConfig", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceMaskGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceMaskGradientComponent.names index e82633638e..d3c50d9034 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceMaskGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceMaskGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SurfaceMaskGradientComponent", + "base": "SurfaceMaskGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceMaskGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceMaskGradientConfig.names index 126e5cb118..4bf5c687ec 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceMaskGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceMaskGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SurfaceMaskGradientConfig", + "base": "SurfaceMaskGradientConfig", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetNumTags", + "base": "GetNumTags", "context": "SurfaceMaskGradientConfig", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetTag", + "base": "GetTag", "context": "SurfaceMaskGradientConfig", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "RemoveTag", + "base": "RemoveTag", "context": "SurfaceMaskGradientConfig", "entry": { "name": "In", @@ -109,7 +109,7 @@ ] }, { - "key": "AddTag", + "base": "AddTag", "context": "SurfaceMaskGradientConfig", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceSlopeGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceSlopeGradientComponent.names index 94dbbf61a6..dad8d7b765 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceSlopeGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceSlopeGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SurfaceSlopeGradientComponent", + "base": "SurfaceSlopeGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceSlopeGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceSlopeGradientConfig.names index c57eb21d4b..4a9e8e25dd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceSlopeGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceSlopeGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SurfaceSlopeGradientConfig", + "base": "SurfaceSlopeGradientConfig", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetNumTags", + "base": "GetNumTags", "context": "SurfaceSlopeGradientConfig", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "GetTag", + "base": "GetTag", "context": "SurfaceSlopeGradientConfig", "entry": { "name": "In", @@ -79,7 +79,7 @@ ] }, { - "key": "RemoveTag", + "base": "RemoveTag", "context": "SurfaceSlopeGradientConfig", "entry": { "name": "In", @@ -109,7 +109,7 @@ ] }, { - "key": "AddTag", + "base": "AddTag", "context": "SurfaceSlopeGradientConfig", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceTagWeight.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceTagWeight.names index 0e950bcdbd..52c8078238 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceTagWeight.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/SurfaceTagWeight.names @@ -1,12 +1,99 @@ { "entries": [ { - "key": "SurfaceTagWeight", + "base": "SurfaceTagWeight", "context": "BehaviorClass", "variant": "", "details": { - "name": "SurfaceTagWeight" - } + "name": "Surface Tag Weight", + "category": "Surface Data" + }, + "methods": [ + { + "base": "GetsurfaceType", + "details": { + "name": "Get Surface Type" + }, + "params": [ + { + "typeid": "{EA14018E-E853-4BF5-8E13-D83BB99A54CC}", + "details": { + "name": "Surface Tag Weight" + } + } + ], + "results": [ + { + "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", + "details": { + "name": "Tag" + } + } + ] + }, + { + "base": "SetsurfaceType", + "details": { + "name": "Set Surface Type" + }, + "params": [ + { + "typeid": "{EA14018E-E853-4BF5-8E13-D83BB99A54CC}", + "details": { + "name": "Surface Tag Weight" + } + }, + { + "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", + "details": { + "name": "Tag" + } + } + ] + }, + { + "base": "Getweight", + "details": { + "name": "Get Weight" + }, + "params": [ + { + "typeid": "{EA14018E-E853-4BF5-8E13-D83BB99A54CC}", + "details": { + "name": "Surface Tag Weight" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Weight" + } + } + ] + }, + { + "base": "Setweight", + "details": { + "name": "Set Weight" + }, + "params": [ + { + "typeid": "{EA14018E-E853-4BF5-8E13-D83BB99A54CC}", + "details": { + "name": "Surface Tag Weight" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Weight" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Tag Helper.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Tag Helper.names index 32e587c80f..65996b7b3b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Tag Helper.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Tag Helper.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Tag Helper", + "base": "Tag Helper", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetEntitiesbyTag", + "base": "GetEntitiesbyTag", "context": "Tag Helper", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TestTupleMethods.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TestTupleMethods.names index dd5a04064c..03702818ca 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TestTupleMethods.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TestTupleMethods.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TestTupleMethods", + "base": "TestTupleMethods", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Three", + "base": "Three", "context": "TestTupleMethods", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ThresholdGradientComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ThresholdGradientComponent.names index ea113281c7..1418df947e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ThresholdGradientComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ThresholdGradientComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ThresholdGradientComponent", + "base": "ThresholdGradientComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ThresholdGradientConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ThresholdGradientConfig.names index 9fc1ac28ca..4ca077834f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ThresholdGradientConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ThresholdGradientConfig.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ThresholdGradientConfig", + "base": "ThresholdGradientConfig", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TickOrder.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TickOrder.names index db75d9c39b..a6716ab37e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TickOrder.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TickOrder.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TickOrder", + "base": "TickOrder", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TransformComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TransformComponent.names index 5c7d439587..ebf6400d43 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TransformComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TransformComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TransformComponent", + "base": "TransformComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TransformConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TransformConfig.names index f13c9a8f80..3c5ade5a55 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TransformConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TransformConfig.names @@ -1,76 +1,316 @@ { "entries": [ { - "key": "TransformConfig", + "base": "TransformConfig", "context": "BehaviorClass", "variant": "", "details": { - "name": "Transform", + "name": "Transform Config", "category": "Entity" }, "methods": [ { - "key": "SetTransform", + "base": "SetTransform", "context": "TransformConfig", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTransform" + "tooltip": "When signaled, this will invoke Set Transform" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTransform is invoked" + "tooltip": "Signaled after Set Transform is invoked" }, "details": { - "name": "TransformConfig::SetTransform", - "category": "Entity" + "name": "Set Transform" }, "params": [ { "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", "details": { - "name": "TransformConfig*" + "name": "Transform Config" } }, { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "const Transform&" + "name": "Transform" } } ] }, { - "key": "SetLocalAndWorldTransform", + "base": "SetLocalAndWorldTransform", "context": "TransformConfig", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetLocalAndWorldTransform" + "tooltip": "When signaled, this will invoke Set Local And World Transform" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetLocalAndWorldTransform is invoked" + "tooltip": "Signaled after Set Local And World Transform is invoked" }, "details": { - "name": "TransformConfig::SetLocalAndWorldTransform", - "category": "Entity" + "name": "Set Local And World Transform" }, "params": [ { "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", "details": { - "name": "TransformConfig*" + "name": "Transform Config" } }, { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "const Transform&" + "name": "Local" } }, { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "const Transform&" + "name": "World" + } + } + ] + }, + { + "base": "GetparentActivationTransformMode", + "details": { + "name": "Get Parent Activation Transform Mode" + }, + "params": [ + { + "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", + "details": { + "name": "Transform Config" + } + } + ], + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Mode", + "tooltip": "0: Maintain Original Relative Transform\n1: Maintain Current World Transform" + } + } + ] + }, + { + "base": "SetparentActivationTransformMode", + "details": { + "name": "Set Parent Activation Transform Mode" + }, + "params": [ + { + "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", + "details": { + "name": "Transform Config" + } + }, + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Mode", + "tooltip": "0: Maintain Original Relative Transform\n1: Maintain Current World Transform" + } + } + ] + }, + { + "base": "GetparentId", + "details": { + "name": "Get Parent Id" + }, + "params": [ + { + "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", + "details": { + "name": "Transform Config" + } + } + ], + "results": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Parent Id", + "tooltip": "Entity Unique Id" + } + } + ] + }, + { + "base": "SetparentId", + "details": { + "name": "Set Parent Id" + }, + "params": [ + { + "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", + "details": { + "name": "Transform Config" + } + }, + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Parent Id", + "tooltip": "Entity Unique Id" + } + } + ] + }, + { + "base": "GetworldTransform", + "details": { + "name": "Get World Transform" + }, + "params": [ + { + "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", + "details": { + "name": "Transform Config" + } + } + ], + "results": [ + { + "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", + "details": { + "name": "World" + } + } + ] + }, + { + "base": "SetworldTransform", + "details": { + "name": "Set World Transform" + }, + "params": [ + { + "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", + "details": { + "name": "Transform Config" + } + }, + { + "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", + "details": { + "name": "World" + } + } + ] + }, + { + "base": "GetMaintainCurrentWorldTransform", + "details": { + "name": "Get Maintain Current World Transform" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Value" + } + } + ] + }, + { + "base": "GetisStatic", + "details": { + "name": "Get Is Static" + }, + "params": [ + { + "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", + "details": { + "name": "Transform Config" + } + } + ], + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Is Static" + } + } + ] + }, + { + "base": "SetisStatic", + "details": { + "name": "Set Is Static" + }, + "params": [ + { + "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", + "details": { + "name": "Transform Config" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Is Static" + } + } + ] + }, + { + "base": "GetMaintainOriginalRelativeTransform", + "details": { + "name": "Get Maintain Original Relative Transform" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Value" + } + } + ] + }, + { + "base": "GetlocalTransform", + "details": { + "name": "Get Local Transform" + }, + "params": [ + { + "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", + "details": { + "name": "Transform Config" + } + } + ], + "results": [ + { + "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", + "details": { + "name": "Local" + } + } + ] + }, + { + "base": "SetlocalTransform", + "details": { + "name": "Set Local Transform" + }, + "params": [ + { + "typeid": "{B3AAB26D-D075-4E2B-9653-9527EE363DF8}", + "details": { + "name": "Transform Config" + } + }, + { + "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", + "details": { + "name": "Local" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TriggerEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TriggerEvent.names index ecac2ac2d5..7dd601aab9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TriggerEvent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TriggerEvent.names @@ -1,33 +1,33 @@ { "entries": [ { - "key": "TriggerEvent", + "base": "TriggerEvent", "context": "BehaviorClass", "variant": "", "details": { - "name": "TriggerEvent" + "name": "Trigger Event" }, "methods": [ { - "key": "GetTriggerEntityId", + "base": "GetTriggerEntityId", "context": "TriggerEvent", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTriggerEntityId" + "tooltip": "When signaled, this will invoke Get Trigger Entity Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTriggerEntityId is invoked" + "tooltip": "Signaled after Get Trigger Entity Id is invoked" }, "details": { - "name": "TriggerEvent::Get Trigger EntityId", + "name": "Get Trigger Entity Id", "category": "Other" }, "params": [ { "typeid": "{7A0851A3-2CBD-4A03-85D5-1C40221E7F61}", "details": { - "name": "TriggerEvent*" + "name": "Trigger Event" } } ], @@ -35,32 +35,32 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "GetOtherEntityId", + "base": "GetOtherEntityId", "context": "TriggerEvent", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOtherEntityId" + "tooltip": "When signaled, this will invoke Get Other Entity Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOtherEntityId is invoked" + "tooltip": "Signaled after Get Other Entity Id is invoked" }, "details": { - "name": "TriggerEvent::Get Other EntityId", + "name": "Get Other Entity Id", "category": "Other" }, "params": [ { "typeid": "{7A0851A3-2CBD-4A03-85D5-1C40221E7F61}", "details": { - "name": "TriggerEvent*" + "name": "Trigger Event" } } ], @@ -68,7 +68,7 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TypeExposition.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TypeExposition.names index 4157b33300..5cb7fe9b2d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TypeExposition.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/TypeExposition.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TypeExposition", + "base": "TypeExposition", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Reflect_AZStd__array_AZ__Vector3_2", + "base": "Reflect_AZStd__array_AZ__Vector3_2", "context": "TypeExposition", "entry": { "name": "In", @@ -41,7 +41,7 @@ ] }, { - "key": "Reflect_AZ__Outcome_AZ__Vector3_void", + "base": "Reflect_AZ__Outcome_AZ__Vector3_void", "context": "TypeExposition", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UVCoords.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UVCoords.names index 57abfbff4b..ecbd6b8618 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UVCoords.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UVCoords.names @@ -1,191 +1,341 @@ { "entries": [ { - "key": "UVCoords", + "base": "UVCoords", "context": "BehaviorClass", "variant": "", "details": { "name": "UV Coords", - "category": "UI/LyShine Examples" + "category": "UI/UI Examples" }, "methods": [ { - "key": "SetUVCoords", + "base": "SetUVCoords", "context": "UVCoords", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetUVCoords" + "tooltip": "When signaled, this will invoke SetUV Coords" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetUVCoords is invoked" + "tooltip": "Signaled after SetUV Coords is invoked" }, "details": { - "name": "UVCoords::SetUVCoords", - "category": "UI/LyShine Examples" + "name": "Set UV Coords" }, "params": [ { "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", "details": { - "name": "UV Coords", - "tooltip": "The UV coordinates to set" + "name": "UV Rect" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Left", - "tooltip": "The lower X UV coordinate [0-1]" + "name": "Left" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Top", - "tooltip": "The higher Y UV coordinate [0-1]" + "name": "Top" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Right", - "tooltip": "The higher X UV coordinate [0-1]" + "name": "Right" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Bottom", - "tooltip": "The lower Y UV coordinate [0-1]" + "name": "Bottom" } } ] }, { - "key": "SetBottom", + "base": "SetBottom", "context": "UVCoords", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetBottom" + "tooltip": "When signaled, this will invoke Set Bottom" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetBottom is invoked" + "tooltip": "Signaled after Set Bottom is invoked" }, "details": { - "name": "UVCoords::SetBottom", - "category": "UI/LyShine Examples" + "name": "Set Bottom" }, "params": [ { "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", "details": { - "name": "UV Coords", - "tooltip": "The UV coordinates to set" + "name": "UV Rect" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Bottom", - "tooltip": "The lower Y UV coordinate [0-1]" + "name": "Bottom" } } ] }, { - "key": "SetRight", + "base": "SetRight", "context": "UVCoords", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetRight" + "tooltip": "When signaled, this will invoke Set Right" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetRight is invoked" + "tooltip": "Signaled after Set Right is invoked" }, "details": { - "name": "UVCoords::SetRight", - "category": "UI/LyShine Examples" + "name": "Set Right" }, "params": [ { "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", "details": { - "name": "UV Coords", - "tooltip": "The UV coordinates to set" + "name": "UV Rect" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Right", - "tooltip": "The higher X UV coordinate [0-1]" + "name": "Right" } } ] }, { - "key": "SetTop", + "base": "SetTop", "context": "UVCoords", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTop" + "tooltip": "When signaled, this will invoke Set Top" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTop is invoked" + "tooltip": "Signaled after Set Top is invoked" }, "details": { - "name": "UVCoords::SetTop", - "category": "UI/LyShine Examples" + "name": "Set Top" }, "params": [ { "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", "details": { - "name": "UV Coords", - "tooltip": "The UV coordinates to set" + "name": "UV Rect" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Top", - "tooltip": "The higher Y UV coordinate [0-1]" + "name": "Top" } } ] }, { - "key": "SetLeft", + "base": "SetLeft", "context": "UVCoords", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetLeft" + "tooltip": "When signaled, this will invoke Set Left" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetLeft is invoked" + "tooltip": "Signaled after Set Left is invoked" }, "details": { - "name": "UVCoords::SetLeft", - "category": "UI/LyShine Examples" + "name": "Set Left" }, "params": [ { "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", "details": { - "name": "UV Coords", - "tooltip": "The UV coordinates to set" + "name": "UV Rect" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Left", - "tooltip": "Sets the lower X UV coordinate [0-1]" + "name": "Left" + } + } + ] + }, + { + "base": "Getleft", + "details": { + "name": "Left" + }, + "params": [ + { + "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", + "details": { + "name": "UV Rect" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Left" + } + } + ] + }, + { + "base": "Setleft", + "details": { + "name": "Set Left" + }, + "params": [ + { + "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", + "details": { + "name": "UV Rect" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Left" + } + } + ] + }, + { + "base": "Gettop", + "details": { + "name": "Top" + }, + "params": [ + { + "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", + "details": { + "name": "UV Rect" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Top" + } + } + ] + }, + { + "base": "Settop", + "details": { + "name": "Set Top" + }, + "params": [ + { + "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", + "details": { + "name": "UV Rect" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Top" + } + } + ] + }, + { + "base": "Getright", + "details": { + "name": "Get Right" + }, + "params": [ + { + "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", + "details": { + "name": "UV Rect" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Right" + } + } + ] + }, + { + "base": "Setright", + "details": { + "name": "Set Right" + }, + "params": [ + { + "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", + "details": { + "name": "UV Rect" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Right" + } + } + ] + }, + { + "base": "Getbottom", + "details": { + "name": "Get Bottom" + }, + "params": [ + { + "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", + "details": { + "name": "UV Rect" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Bottom" + } + } + ] + }, + { + "base": "Setbottom", + "details": { + "name": "Bottom" + }, + "params": [ + { + "typeid": "{E134EAE8-52A1-4E43-847B-09E546CC5B95}", + "details": { + "name": "UV Rect" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Bottom" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiAnchors.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiAnchors.names index 9adfa70b6e..6f0f08fdb0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiAnchors.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiAnchors.names @@ -1,33 +1,32 @@ { "entries": [ { - "key": "UiAnchors", + "base": "UiAnchors", "context": "BehaviorClass", "variant": "", "details": { - "name": "UiAnchors" + "name": "Ui Anchors" }, "methods": [ { - "key": "SetBottom", + "base": "SetBottom", "context": "UiAnchors", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetBottom" + "tooltip": "When signaled, this will invoke Set Bottom" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetBottom is invoked" + "tooltip": "Signaled after Set Bottom is invoked" }, "details": { - "name": "UiAnchors::SetBottom", - "category": "Other" + "name": "Set Bottom" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "Anchors" } }, { @@ -39,25 +38,24 @@ ] }, { - "key": "SetRight", + "base": "SetRight", "context": "UiAnchors", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetRight" + "tooltip": "When signaled, this will invoke Set Right" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetRight is invoked" + "tooltip": "Signaled after Set Right is invoked" }, "details": { - "name": "UiAnchors::SetRight", - "category": "Other" + "name": "Set Right" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "Anchors" } }, { @@ -69,25 +67,24 @@ ] }, { - "key": "SetTop", + "base": "SetTop", "context": "UiAnchors", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTop" + "tooltip": "When signaled, this will invoke Set Top" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTop is invoked" + "tooltip": "Signaled after Set Top is invoked" }, "details": { - "name": "UiAnchors::SetTop", - "category": "Other" + "name": "Set Top" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "Anchors" } }, { @@ -99,25 +96,24 @@ ] }, { - "key": "SetLeft", + "base": "SetLeft", "context": "UiAnchors", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetLeft" + "tooltip": "When signaled, this will invoke Set Left" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetLeft is invoked" + "tooltip": "Signaled after Set Left is invoked" }, "details": { - "name": "UiAnchors::SetLeft", - "category": "Other" + "name": "Set Left" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "Anchors" } }, { @@ -129,25 +125,24 @@ ] }, { - "key": "SetAnchors", + "base": "SetAnchors", "context": "UiAnchors", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAnchors" + "tooltip": "When signaled, this will invoke Set Anchors" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAnchors is invoked" + "tooltip": "Signaled after Set Anchors is invoked" }, "details": { - "name": "UiAnchors::SetAnchors", - "category": "Other" + "name": "Set Anchors" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "Anchors" } }, { @@ -177,15 +172,15 @@ ] }, { - "key": "left", + "base": "Getleft", "details": { - "name": "UiAnchors::left::Getter" + "name": "Getleft" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "" } } ], @@ -193,41 +188,41 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float&" + "name": "" } } ] }, { - "key": "left", + "base": "Setleft", "details": { - "name": "UiAnchors::left::Setter" + "name": "Setleft" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "const float&" + "name": "" } } ] }, { - "key": "top", + "base": "Gettop", "details": { - "name": "UiAnchors::top::Getter" + "name": "Gettop" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "" } } ], @@ -235,41 +230,41 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float&" + "name": "" } } ] }, { - "key": "top", + "base": "Settop", "details": { - "name": "UiAnchors::top::Setter" + "name": "Settop" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "const float&" + "name": "" } } ] }, { - "key": "right", + "base": "Getright", "details": { - "name": "UiAnchors::right::Getter" + "name": "Getright" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "" } } ], @@ -277,41 +272,41 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float&" + "name": "" } } ] }, { - "key": "right", + "base": "Setright", "details": { - "name": "UiAnchors::right::Setter" + "name": "Setright" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "const float&" + "name": "" } } ] }, { - "key": "bottom", + "base": "Getbottom", "details": { - "name": "UiAnchors::bottom::Getter" + "name": "Getbottom" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "" } } ], @@ -319,27 +314,27 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float&" + "name": "" } } ] }, { - "key": "bottom", + "base": "Setbottom", "details": { - "name": "UiAnchors::bottom::Setter" + "name": "Setbottom" }, "params": [ { "typeid": "{65D4346C-FB16-4CB0-9BDC-1185B122C4A9}", "details": { - "name": "Anchors*" + "name": "" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "const float&" + "name": "" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiFaderComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiFaderComponent.names index 6266f8234c..7f7fcd9478 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiFaderComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiFaderComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiFaderComponent", + "base": "UiFaderComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiImageComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiImageComponent.names index 66935473be..42ce5b7de3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiImageComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiImageComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiImageComponent", + "base": "UiImageComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiImageSequenceComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiImageSequenceComponent.names index e0f2292b8d..86c01c7510 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiImageSequenceComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiImageSequenceComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiImageSequenceComponent", + "base": "UiImageSequenceComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutCellComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutCellComponent.names index 123be9bca5..d7f8882110 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutCellComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutCellComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiLayoutCellComponent", + "base": "UiLayoutCellComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutColumnComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutColumnComponent.names index 7962c9e48b..bc37e12574 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutColumnComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutColumnComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiLayoutColumnComponent", + "base": "UiLayoutColumnComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutRowComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutRowComponent.names index 7617b10f9c..7f576d62e9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutRowComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiLayoutRowComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiLayoutRowComponent", + "base": "UiLayoutRowComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiOffsets.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiOffsets.names index dcf4704ca1..6b7aa8422a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiOffsets.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiOffsets.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiOffsets", + "base": "UiOffsets", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetBottom", + "base": "SetBottom", "context": "UiOffsets", "entry": { "name": "In", @@ -42,7 +42,7 @@ ] }, { - "key": "SetRight", + "base": "SetRight", "context": "UiOffsets", "entry": { "name": "In", @@ -74,7 +74,7 @@ ] }, { - "key": "SetOffsets", + "base": "SetOffsets", "context": "UiOffsets", "entry": { "name": "In", @@ -127,7 +127,7 @@ ] }, { - "key": "SetTop", + "base": "SetTop", "context": "UiOffsets", "entry": { "name": "In", @@ -159,7 +159,7 @@ ] }, { - "key": "SetLeft", + "base": "SetLeft", "context": "UiOffsets", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiPadding.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiPadding.names index 296735cd1d..5b1e4d4f93 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiPadding.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiPadding.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiPadding", + "base": "UiPadding", "context": "BehaviorClass", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetPadding", + "base": "SetPadding", "context": "UiPadding", "entry": { "name": "In", @@ -63,7 +63,7 @@ ] }, { - "key": "SetBottom", + "base": "SetBottom", "context": "UiPadding", "entry": { "name": "In", @@ -95,7 +95,7 @@ ] }, { - "key": "SetRight", + "base": "SetRight", "context": "UiPadding", "entry": { "name": "In", @@ -127,7 +127,7 @@ ] }, { - "key": "SetTop", + "base": "SetTop", "context": "UiPadding", "entry": { "name": "In", @@ -159,7 +159,7 @@ ] }, { - "key": "SetLeft", + "base": "SetLeft", "context": "UiPadding", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiParticleEmitterComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiParticleEmitterComponent.names index ba5463b7a0..8218d063fb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiParticleEmitterComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiParticleEmitterComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiParticleEmitterComponent", + "base": "UiParticleEmitterComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiScrollBarComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiScrollBarComponent.names index 81a27fcdf1..13a890a74e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiScrollBarComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiScrollBarComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiScrollBarComponent", + "base": "UiScrollBarComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiSliderComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiSliderComponent.names index 269ae95c1c..52a5928940 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiSliderComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiSliderComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiSliderComponent", + "base": "UiSliderComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTextComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTextComponent.names index ffed23d747..e611e3bc50 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTextComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTextComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiTextComponent", + "base": "UiTextComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTextInputComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTextInputComponent.names index ca2bd78b61..872ee6c4b0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTextInputComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTextInputComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiTextInputComponent", + "base": "UiTextInputComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTooltipDisplayComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTooltipDisplayComponent.names index b39c29cf97..436f9265b7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTooltipDisplayComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTooltipDisplayComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiTooltipDisplayComponent", + "base": "UiTooltipDisplayComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTransform2dComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTransform2dComponent.names index 4f0a04958a..dd8b4126c6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTransform2dComponent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UiTransform2dComponent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiTransform2dComponent", + "base": "UiTransform2dComponent", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Unit Testing.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Unit Testing.names index c5eefda46c..7dcec69b68 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Unit Testing.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Unit Testing.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Unit Testing", + "base": "Unit Testing", "context": "BehaviorClass", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ExpectLessThanEqual", + "base": "ExpectLessThanEqual", "context": "Unit Testing", "entry": { "name": "In", @@ -20,39 +20,39 @@ "tooltip": "Signaled after ExpectLessThanEqual is invoked" }, "details": { - "name": "Unit Testing::Expect Less Than Equal", + "name": "Expect Less Than Equal", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "details": { - "name": "double" + "name": "Candidate" } }, { "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "details": { - "name": "double" + "name": "Reference" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "ExpectGreaterThanEqual", + "base": "ExpectGreaterThanEqual", "context": "Unit Testing", "entry": { "name": "In", @@ -70,32 +70,32 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "details": { - "name": "double" + "name": "Candidate" } }, { "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "details": { - "name": "double" + "name": "Reference" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "MarkComplete", + "base": "MarkComplete", "context": "Unit Testing", "entry": { "name": "In", @@ -106,27 +106,27 @@ "tooltip": "Signaled after MarkComplete is invoked" }, "details": { - "name": "Unit Testing::Mark Complete", + "name": "Mark Complete", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "ExpectTrue", + "base": "ExpectTrue", "context": "Unit Testing", "entry": { "name": "In", @@ -137,33 +137,33 @@ "tooltip": "Signaled after ExpectTrue is invoked" }, "details": { - "name": "Unit Testing::Expect True", + "name": "Expect True", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Candidate" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "Checkpoint", + "base": "Checkpoint", "context": "Unit Testing", "entry": { "name": "In", @@ -174,27 +174,27 @@ "tooltip": "Signaled after Checkpoint is invoked" }, "details": { - "name": "Unit Testing::Checkpoint", + "name": "Checkpoint", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "ExpectFalse", + "base": "ExpectFalse", "context": "Unit Testing", "entry": { "name": "In", @@ -205,33 +205,33 @@ "tooltip": "Signaled after ExpectFalse is invoked" }, "details": { - "name": "Unit Testing::Expect False", + "name": "Expect False", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Candidate" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "ExpectEqual", + "base": "ExpectEqual", "context": "Unit Testing", "entry": { "name": "In", @@ -242,39 +242,39 @@ "tooltip": "Signaled after ExpectEqual is invoked" }, "details": { - "name": "Unit Testing::Expect Equal", + "name": "Expect Equal", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", "details": { - "name": "Aabb" + "name": "Candidate" } }, { "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", "details": { - "name": "Aabb" + "name": "Reference" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "ExpectLessThan", + "base": "ExpectLessThan", "context": "Unit Testing", "entry": { "name": "In", @@ -285,70 +285,70 @@ "tooltip": "Signaled after ExpectLessThan is invoked" }, "details": { - "name": "Unit Testing::Expect Less Than", + "name": "Expect Less Than", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "details": { - "name": "double" + "name": "Candidate" } }, { "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "details": { - "name": "double" + "name": "Reference" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "AddSuccess", + "base": "AddSuccess", "context": "Unit Testing", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke AddSuccess" + "tooltip": "When signaled, this will invoke Add Success" }, "exit": { "name": "Out", - "tooltip": "Signaled after AddSuccess is invoked" + "tooltip": "Signaled after Add Success is invoked" }, "details": { - "name": "Unit Testing::Add Success", + "name": "Add Success", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "ExpectNotEqual", + "base": "ExpectNotEqual", "context": "Unit Testing", "entry": { "name": "In", @@ -359,14 +359,14 @@ "tooltip": "Signaled after ExpectNotEqual is invoked" }, "details": { - "name": "Unit Testing::Expect Not Equal", + "name": "Expect Not Equal", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, @@ -385,13 +385,13 @@ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "ExpectGreaterThan", + "base": "ExpectGreaterThan", "context": "Unit Testing", "entry": { "name": "In", @@ -402,14 +402,14 @@ "tooltip": "Signaled after ExpectGreaterThan is invoked" }, "details": { - "name": "Unit Testing::Expect Greater Than", + "name": "Expect Greater Than", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, @@ -428,13 +428,13 @@ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] }, { - "key": "AddFailure", + "base": "AddFailure", "context": "Unit Testing", "entry": { "name": "In", @@ -445,21 +445,21 @@ "tooltip": "Signaled after AddFailure is invoked" }, "details": { - "name": "Unit Testing::Add Failure", + "name": "Add Failure", "category": "Other" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "const AZStd::basic_string, alloc" + "name": "Report" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UnitTesting.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UnitTesting.names new file mode 100644 index 0000000000..64ecdb414a --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/UnitTesting.names @@ -0,0 +1,484 @@ +{ + "entries": [ + { + "base": "Unit Testing", + "context": "BehaviorClass", + "variant": "", + "details": { + "name": "Unit Testing" + }, + "methods": [ + { + "base": "ExpectLessThanEqual", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Expect Less Than Equal" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Expect Less Than Equal is invoked" + }, + "details": { + "name": "Expect Less Than Equal" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", + "details": { + "name": "Candidate", + "tooltip": "left of <=" + } + }, + { + "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", + "details": { + "name": "Reference", + "tooltip": "right of <=" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "ExpectGreaterThanEqual", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Expect Greater Than Equal" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Expect Greater Than Equal is invoked" + }, + "details": { + "name": "Expect Greater Than Equal" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", + "details": { + "name": "Candidate", + "tooltip": "left of >=" + } + }, + { + "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", + "details": { + "name": "Reference", + "tooltip": "right of >=" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "MarkComplete", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Mark Complete" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Mark Complete is invoked" + }, + "details": { + "name": "Mark Complete" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "ExpectTrue", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Expect True" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Expect True is invoked" + }, + "details": { + "name": "Expect True" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Candidate", + "tooltip": "a value that must be true" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "Checkpoint", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Checkpoint" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Checkpoint is invoked" + }, + "details": { + "name": "Checkpoint" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "ExpectFalse", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Expect False" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Expect False is invoked" + }, + "details": { + "name": "Expect False" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Candidate", + "tooltip": "a value that must be false" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "ExpectEqual", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Expect Equal" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Expect Equal is invoked" + }, + "details": { + "name": "Expect Equal" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", + "details": { + "name": "Candidate", + "tooltip": "left of ==" + } + }, + { + "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", + "details": { + "name": "Reference", + "tooltip": "right of ==" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "ExpectLessThan", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Expect Less Than" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Expect Less Than is invoked" + }, + "details": { + "name": "Expect Less Than" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", + "details": { + "name": "Candidate", + "tooltip": "left of <" + } + }, + { + "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", + "details": { + "name": "Reference", + "tooltip": "right of <" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "AddSuccess", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Add Success" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Add Success is invoked" + }, + "details": { + "name": "Add Success" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "ExpectNotEqual", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Expect Not Equal" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Expect Not Equal is invoked" + }, + "details": { + "name": "Expect Not Equal" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", + "details": { + "name": "Candidate", + "tooltip": "left of !=" + } + }, + { + "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", + "details": { + "name": "Reference", + "tooltip": "right of !=" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "ExpectGreaterThan", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Expect Greater Than" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Expect Greater Than is invoked" + }, + "details": { + "name": "Expect Greater Than" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", + "details": { + "name": "Candidate", + "tooltip": "left of >" + } + }, + { + "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", + "details": { + "name": "Reference", + "tooltip": "right of >" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + }, + { + "base": "AddFailure", + "context": "Unit Testing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Add Failure" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Add Failure is invoked" + }, + "details": { + "name": "Add Failure" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "Report", + "tooltip": "additional notes for the test report" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Uuid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Uuid.names index dbed05c272..26ab64071d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Uuid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Uuid.names @@ -1,66 +1,61 @@ { "entries": [ { - "key": "Uuid", + "base": "Uuid", "context": "BehaviorClass", "variant": "", "details": { - "name": "UUID", - "category": "Utilities" + "name": "Uuid" }, "methods": [ { - "key": "CreateRandom", + "base": "CreateRandom", "context": "Uuid", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateRandom" + "tooltip": "When signaled, this will invoke Create Random" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateRandom is invoked" + "tooltip": "Signaled after Create Random is invoked" }, "details": { - "name": "Uuid::CreateRandom", - "category": "Utilities" + "name": "Create Random" }, "results": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "UUID", - "tooltip": "Universally Unique Identifier" + "name": "Uuid" } } ] }, { - "key": "CreateNull", + "base": "CreateNull", "context": "Uuid", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateNull" + "tooltip": "When signaled, this will invoke Create Null" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateNull is invoked" + "tooltip": "Signaled after Create Null is invoked" }, "details": { - "name": "Uuid::CreateNull", - "category": "Utilities" + "name": "Create Null" }, "results": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "Null UUID", - "tooltip": "Null Universally Unique Identifier" + "name": "Uuid" } } ] }, { - "key": "Create", + "base": "Create", "context": "Uuid", "entry": { "name": "In", @@ -71,8 +66,7 @@ "tooltip": "Signaled after Create is invoked" }, "details": { - "name": "Uuid::Create", - "category": "Utilities" + "name": "Create" }, "results": [ { @@ -84,25 +78,24 @@ ] }, { - "key": "CreateName", + "base": "CreateName", "context": "Uuid", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateName" + "tooltip": "When signaled, this will invoke Create Name" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateName is invoked" + "tooltip": "Signaled after Create Name is invoked" }, "details": { - "name": "Uuid::CreateName", - "category": "Utilities" + "name": "Create Name" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "const char*" + "name": "Name" } } ], @@ -116,7 +109,7 @@ ] }, { - "key": "Clone", + "base": "Clone", "context": "Uuid", "entry": { "name": "In", @@ -127,14 +120,13 @@ "tooltip": "Signaled after Clone is invoked" }, "details": { - "name": "Uuid::Clone", - "category": "Utilities" + "name": "Clone" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "const AZ::Uuid&" + "name": "Uuid" } } ], @@ -148,31 +140,30 @@ ] }, { - "key": "LessThan", + "base": "LessThan", "context": "Uuid", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke LessThan" + "tooltip": "When signaled, this will invoke Less Than" }, "exit": { "name": "Out", - "tooltip": "Signaled after LessThan is invoked" + "tooltip": "Signaled after Less Than is invoked" }, "details": { - "name": "Uuid::LessThan", - "category": "Utilities" + "name": "Less Than" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid*" + "name": "Uuid" } }, { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "const AZ::Uuid&" + "name": "Uuid" } } ], @@ -180,32 +171,30 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Less Than" } } ] }, { - "key": "IsNull", + "base": "IsNull", "context": "Uuid", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsNull" + "tooltip": "When signaled, this will invoke Is Null" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsNull is invoked" + "tooltip": "Signaled after Is Null is invoked" }, "details": { - "name": "Uuid::IsNull", - "category": "Utilities" + "name": "Is Null" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "UUID", - "tooltip": "Universally Unique Identifier" + "name": "Uuid" } } ], @@ -213,37 +202,36 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Is Null" } } ] }, { - "key": "CreateString", + "base": "CreateString", "context": "Uuid", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateString" + "tooltip": "When signaled, this will invoke Create String" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateString is invoked" + "tooltip": "Signaled after Create String is invoked" }, "details": { - "name": "Uuid::CreateString", - "category": "Utilities" + "name": "Create String" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "const char*" + "name": "String" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Size" } } ], @@ -257,26 +245,24 @@ ] }, { - "key": "ToString", + "base": "ToString", "context": "Uuid", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ToString" + "tooltip": "When signaled, this will invoke To String" }, "exit": { "name": "Out", - "tooltip": "Signaled after ToString is invoked" + "tooltip": "Signaled after To String is invoked" }, "details": { - "name": "Uuid::ToString", - "category": "Utilities" + "name": "To String" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "UUID", - "tooltip": "Universally Unique Identifier" + "name": "Uuid" } } ], @@ -290,7 +276,7 @@ ] }, { - "key": "Equal", + "base": "Equal", "context": "Uuid", "entry": { "name": "In", @@ -301,22 +287,19 @@ "tooltip": "Signaled after Equal is invoked" }, "details": { - "name": "Uuid::Equal", - "category": "Utilities" + "name": "Equal" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "UUID A", - "tooltip": "Universally Unique Identifier A" + "name": "Uuid" } }, { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "UUID B", - "tooltip": "Universally Unique Identifier B" + "name": "Uuid" } } ], @@ -324,7 +307,7 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Boolean" + "name": "Is Equal" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/VertexColor.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/VertexColor.names index e7636f6353..19024105d3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/VertexColor.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/VertexColor.names @@ -1,12 +1,102 @@ { "entries": [ { - "key": "VertexColor", + "base": "VertexColor", "context": "BehaviorClass", "variant": "", "details": { - "name": "VertexColor" - } + "name": "Vertex Color" + }, + "methods": [ + { + "base": "Getred", + "details": { + "name": "Get Red" + }, + "params": [ + { + "typeid": "{937E3BF8-5204-4D40-A8DA-C8F083C89F9F}", + "details": { + "name": "Color" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Red" + } + } + ] + }, + { + "base": "Getgreen", + "details": { + "name": "Get Green" + }, + "params": [ + { + "typeid": "{937E3BF8-5204-4D40-A8DA-C8F083C89F9F}", + "details": { + "name": "Color" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Green" + } + } + ] + }, + { + "base": "Getblue", + "details": { + "name": "Get Blue" + }, + "params": [ + { + "typeid": "{937E3BF8-5204-4D40-A8DA-C8F083C89F9F}", + "details": { + "name": "Color" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Blue" + } + } + ] + }, + { + "base": "Getalpha", + "details": { + "name": "Get Alpha" + }, + "params": [ + { + "typeid": "{937E3BF8-5204-4D40-A8DA-C8F083C89F9F}", + "details": { + "name": "Color" + } + } + ], + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Alpha" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ViewPaneOptions.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ViewPaneOptions.names index 7a5a2c6d09..6d88ffc05b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ViewPaneOptions.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ViewPaneOptions.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ViewPaneOptions", + "base": "ViewPaneOptions", "context": "BehaviorClass", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSCognitoAuthorizationNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSCognitoAuthorizationNotificationBus.names index dd039b28e9..94be770939 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSCognitoAuthorizationNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSCognitoAuthorizationNotificationBus.names @@ -1,38 +1,38 @@ { "entries": [ { - "key": "AWSCognitoAuthorizationNotificationBus", + "base": "AWSCognitoAuthorizationNotificationBus", "context": "EBusHandler", "variant": "", "details": { - "name": "AWSCognitoAuthorizationNotificationBus", - "category": "EBus Handlers" + "name": "AWS Cognito Authorization", + "category": "AWS Core" }, "methods": [ { - "key": "OnRequestAWSCredentialsSuccess", + "base": "OnRequestAWSCredentialsSuccess", "details": { - "name": "OnRequestAWSCredentialsSuccess" + "name": "On Request AWS Credentials Success" }, "params": [ { "typeid": "{02FB32C4-B94E-4084-9049-3DF32F87BD76}", "details": { - "name": "ClientAuthAWSCredentials" + "name": "AWS Client Auth Credentials" } } ] }, { - "key": "OnRequestAWSCredentialsFail", + "base": "OnRequestAWSCredentialsFail", "details": { - "name": "OnRequestAWSCredentialsFail" + "name": "On Request AWS Credentials Fail" }, "params": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Error" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSCognitoUserManagementNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSCognitoUserManagementNotificationBus.names index a796ec0f48..0286fffc7d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSCognitoUserManagementNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSCognitoUserManagementNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSCognitoUserManagementNotificationBus", + "base": "AWSCognitoUserManagementNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnEmailSignUpSuccess", + "base": "OnEmailSignUpSuccess", "details": { "name": "On Email Sign Up Success" }, @@ -24,7 +24,7 @@ ] }, { - "key": "OnEmailSignUpFail", + "base": "OnEmailSignUpFail", "details": { "name": "On Email Sign Up Fail" }, @@ -38,7 +38,7 @@ ] }, { - "key": "OnPhoneSignUpSuccess", + "base": "OnPhoneSignUpSuccess", "details": { "name": "On Phone Sign Up Success" }, @@ -52,7 +52,7 @@ ] }, { - "key": "OnPhoneSignUpFail", + "base": "OnPhoneSignUpFail", "details": { "name": "On Phone Sign Up Fail" }, @@ -66,13 +66,13 @@ ] }, { - "key": "OnConfirmSignUpSuccess", + "base": "OnConfirmSignUpSuccess", "details": { "name": "On Confirm Sign Up Success" } }, { - "key": "OnConfirmSignUpFail", + "base": "OnConfirmSignUpFail", "details": { "name": "On Confirm Sign Up Fail" }, @@ -86,13 +86,13 @@ ] }, { - "key": "OnForgotPasswordSuccess", + "base": "OnForgotPasswordSuccess", "details": { "name": "On Forgot Password Success" } }, { - "key": "OnForgotPasswordFail", + "base": "OnForgotPasswordFail", "details": { "name": "On Forgot Password Fail" }, @@ -106,13 +106,13 @@ ] }, { - "key": "OnConfirmForgotPasswordSuccess", + "base": "OnConfirmForgotPasswordSuccess", "details": { "name": "On Confirm Forgot Password Success" } }, { - "key": "OnConfirmForgotPasswordFail", + "base": "OnConfirmForgotPasswordFail", "details": { "name": "On Confirm Forgot Password Fail" }, @@ -126,13 +126,13 @@ ] }, { - "key": "OnEnableMFASuccess", + "base": "OnEnableMFASuccess", "details": { "name": "On Enable MFA Success" } }, { - "key": "OnEnableMFAFail", + "base": "OnEnableMFAFail", "details": { "name": "On Enable MFA Fail" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSDynamoDBBehaviorNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSDynamoDBBehaviorNotificationBus.names index c5840d7bdb..77e324d882 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSDynamoDBBehaviorNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSDynamoDBBehaviorNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSDynamoDBBehaviorNotificationBus", + "base": "AWSDynamoDBBehaviorNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnGetItemSuccess", + "base": "OnGetItemSuccess", "details": { "name": "On Get Item Success" }, @@ -24,7 +24,7 @@ ] }, { - "key": "OnGetItemError", + "base": "OnGetItemError", "details": { "name": "On Get Item Error" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSLambdaBehaviorNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSLambdaBehaviorNotificationBus.names index 713ece5219..b02432eb5f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSLambdaBehaviorNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSLambdaBehaviorNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSLambdaBehaviorNotificationBus", + "base": "AWSLambdaBehaviorNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnInvokeSuccess", + "base": "OnInvokeSuccess", "details": { "name": "On Invoke Success" }, @@ -24,7 +24,7 @@ ] }, { - "key": "OnInvokeError", + "base": "OnInvokeError", "details": { "name": "On Invoke Error" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSMetricsNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSMetricsNotificationBus.names index 1aa4c85f74..22a39aece5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSMetricsNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSMetricsNotificationBus.names @@ -1,44 +1,44 @@ { "entries": [ { - "key": "AWSMetricsNotificationBus", + "base": "AWSMetricsNotificationBus", "context": "EBusHandler", "variant": "", "details": { - "name": "AWSMetricsNotificationBus", - "category": "EBus Handlers" + "name": "AWS Metrics", + "category": "AWS Core" }, "methods": [ { - "key": "OnSendMetricsSuccess", + "base": "OnSendMetricsSuccess", "details": { - "name": "OnSendMetricsSuccess" + "name": "On Send Metrics Success" }, "params": [ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Request Id" } } ] }, { - "key": "OnSendMetricsFailure", + "base": "OnSendMetricsFailure", "details": { - "name": "OnSendMetricsFailure" + "name": "On Send Metrics Failure" }, "params": [ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Request Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Error" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSS3BehaviorNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSS3BehaviorNotificationBus.names index 55b093d348..38b0d6467d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSS3BehaviorNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AWSS3BehaviorNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSS3BehaviorNotificationBus", + "base": "AWSS3BehaviorNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnHeadObjectSuccess", + "base": "OnHeadObjectSuccess", "details": { "name": "On Head Object Success" }, @@ -24,7 +24,7 @@ ] }, { - "key": "OnHeadObjectError", + "base": "OnHeadObjectError", "details": { "name": "On Head Object Error" }, @@ -38,7 +38,7 @@ ] }, { - "key": "OnGetObjectSuccess", + "base": "OnGetObjectSuccess", "details": { "name": "On Get Object Success" }, @@ -52,7 +52,7 @@ ] }, { - "key": "OnGetObjectError", + "base": "OnGetObjectError", "details": { "name": "On Get Object Error" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ActorComponentNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ActorComponentNotificationBus.names index c4f08cd6f8..4ea752408b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ActorComponentNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ActorComponentNotificationBus.names @@ -1,37 +1,38 @@ { "entries": [ { - "key": "ActorComponentNotificationBus", + "base": "ActorComponentNotificationBus", "context": "EBusHandler", "variant": "", "details": { - "name": "ActorComponentNotificationBus" + "name": "Actor", + "category": "Animation" }, "methods": [ { - "key": "OnActorInstanceCreated", + "base": "OnActorInstanceCreated", "details": { - "name": "OnActorInstanceCreated" + "name": "On Actor Instance Created" }, "params": [ { "typeid": "{280A0170-EB6A-4E90-B2F1-E18D8EAEFB36}", "details": { - "name": "" + "name": "Actor Instance" } } ] }, { - "key": "OnActorInstanceDestroyed", + "base": "OnActorInstanceDestroyed", "details": { - "name": "OnActorInstanceDestroyed" + "name": "On Actor Instance Destroyed" }, "params": [ { "typeid": "{280A0170-EB6A-4E90-B2F1-E18D8EAEFB36}", "details": { - "name": "" + "name": "Actor Instance" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ActorNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ActorNotificationBus.names index a43f1d827c..103b584015 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ActorNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ActorNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ActorNotificationBus", + "base": "ActorNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnMotionEvent", + "base": "OnMotionEvent", "details": { "name": "On Motion Event" }, @@ -18,13 +18,13 @@ { "typeid": "{0C899DAC-6B19-4BDD-AD8C-8A11EF2A6729}", "details": { - "name": "MotionEvent" + "name": "Motion Event" } } ] }, { - "key": "OnMotionLoop", + "base": "OnMotionLoop", "details": { "name": "On Motion Loop" }, @@ -38,7 +38,7 @@ ] }, { - "key": "OnStateEntering", + "base": "OnStateEntering", "details": { "name": "On State Entering" }, @@ -52,7 +52,7 @@ ] }, { - "key": "OnStateEntered", + "base": "OnStateEntered", "details": { "name": "On State Entered" }, @@ -66,7 +66,7 @@ ] }, { - "key": "OnStateExiting", + "base": "OnStateExiting", "details": { "name": "On State Exiting" }, @@ -80,7 +80,7 @@ ] }, { - "key": "OnStateExited", + "base": "OnStateExited", "details": { "name": "On State Exited" }, @@ -94,7 +94,7 @@ ] }, { - "key": "OnStateTransitionStart", + "base": "OnStateTransitionStart", "details": { "name": "On State Transition Start" }, @@ -114,7 +114,7 @@ ] }, { - "key": "OnStateTransitionEnd", + "base": "OnStateTransitionEnd", "details": { "name": "On State Transition End" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AnimGraphComponentNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AnimGraphComponentNotificationBus.names index 4b0b1a6399..f34fe7445a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AnimGraphComponentNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AnimGraphComponentNotificationBus.names @@ -1,229 +1,230 @@ { "entries": [ { - "key": "AnimGraphComponentNotificationBus", + "base": "AnimGraphComponentNotificationBus", "context": "EBusHandler", "variant": "", "details": { - "name": "AnimGraphComponentNotificationBus" + "name": "Anim Graph", + "category": "Animation" }, "methods": [ { - "key": "OnAnimGraphInstanceCreated", + "base": "OnAnimGraphInstanceCreated", "details": { - "name": "OnAnimGraphInstanceCreated" + "name": "On Anim Graph Instance Created" }, "params": [ { "typeid": "{2CC86AA2-AFC0-434B-A317-B102FD02E76D}", "details": { - "name": "" + "name": "Anim Graph Instance" } } ] }, { - "key": "OnAnimGraphInstanceDestroyed", + "base": "OnAnimGraphInstanceDestroyed", "details": { - "name": "OnAnimGraphInstanceDestroyed" + "name": "On Anim Graph Instance Destroyed" }, "params": [ { "typeid": "{2CC86AA2-AFC0-434B-A317-B102FD02E76D}", "details": { - "name": "" + "name": "Anim Graph Instance" } } ] }, { - "key": "OnAnimGraphFloatParameterChanged", + "base": "OnAnimGraphFloatParameterChanged", "details": { - "name": "OnAnimGraphFloatParameterChanged" + "name": "On Anim Graph Float Parameter Changed" }, "params": [ { "typeid": "{2CC86AA2-AFC0-434B-A317-B102FD02E76D}", "details": { - "name": "" + "name": "Anim Graph Instance" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Previous Value" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Current Value" } } ] }, { - "key": "OnAnimGraphBoolParameterChanged", + "base": "OnAnimGraphBoolParameterChanged", "details": { - "name": "OnAnimGraphBoolParameterChanged" + "name": "On Anim Graph Bool Parameter Changed" }, "params": [ { "typeid": "{2CC86AA2-AFC0-434B-A317-B102FD02E76D}", "details": { - "name": "" + "name": "Anim Graph Instance" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Previous Value" } }, { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Current Value" } } ] }, { - "key": "OnAnimGraphStringParameterChanged", + "base": "OnAnimGraphStringParameterChanged", "details": { - "name": "OnAnimGraphStringParameterChanged" + "name": "On Anim Graph String Parameter Changed" }, "params": [ { "typeid": "{2CC86AA2-AFC0-434B-A317-B102FD02E76D}", "details": { - "name": "" + "name": "Anim Graph Instance" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Previous Value" } }, { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Current Value" } } ] }, { - "key": "OnAnimGraphVector2ParameterChanged", + "base": "OnAnimGraphVector2ParameterChanged", "details": { - "name": "OnAnimGraphVector2ParameterChanged" + "name": "On Anim Graph Vector2 Parameter Changed" }, "params": [ { "typeid": "{2CC86AA2-AFC0-434B-A317-B102FD02E76D}", "details": { - "name": "" + "name": "Anim Graph Instance" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Previous Value" } }, { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Current Value" } } ] }, { - "key": "OnAnimGraphVector3ParameterChanged", + "base": "OnAnimGraphVector3ParameterChanged", "details": { - "name": "OnAnimGraphVector3ParameterChanged" + "name": "On Anim Graph Vector3 Parameter Changed" }, "params": [ { "typeid": "{2CC86AA2-AFC0-434B-A317-B102FD02E76D}", "details": { - "name": "" + "name": "Anim Graph Instance" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Previous Value" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Current Value" } } ] }, { - "key": "OnAnimGraphRotationParameterChanged", + "base": "OnAnimGraphRotationParameterChanged", "details": { - "name": "OnAnimGraphRotationParameterChanged" + "name": "On Anim Graph Rotation Parameter Changed" }, "params": [ { "typeid": "{2CC86AA2-AFC0-434B-A317-B102FD02E76D}", "details": { - "name": "" + "name": "Anim Graph Instance" } }, { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{73103120-3DD3-4873-BAB3-9713FA2804FB}", "details": { - "name": "Quaternion" + "name": "Previous Value" } }, { "typeid": "{73103120-3DD3-4873-BAB3-9713FA2804FB}", "details": { - "name": "Quaternion" + "name": "Current Value" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AttachmentComponentNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AttachmentComponentNotificationBus.names index 4ce39f83cb..76c3024999 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AttachmentComponentNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AttachmentComponentNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AttachmentComponentNotificationBus", + "base": "AttachmentComponentNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,33 +10,31 @@ }, "methods": [ { - "key": "OnAttached", + "base": "OnAttached", "details": { - "name": "On Attached", - "tooltip": "Notifies when the entity is attached" + "name": "On Attached" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "Target", - "tooltip": "ID of the target being attached to" + "name": "Entity Id", + "tooltip": "Entity Unique Id" } } ] }, { - "key": "OnDetached", + "base": "OnDetached", "details": { - "name": "On Detached", - "tooltip": "Notifies when the entity is detached" + "name": "On Detached" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "Target", - "tooltip": "ID of the target being detached from" + "name": "Entity Id", + "tooltip": "Entity Unique Id" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/Audio System Component Notifications.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/Audio System Component Notifications.names index adf505b728..7909af5ebd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/Audio System Component Notifications.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/Audio System Component Notifications.names @@ -1,23 +1,24 @@ { "entries": [ { - "key": "Audio System Component Notifications", + "base": "Audio System Component Notifications", "context": "EBusHandler", "variant": "", "details": { - "name": "Audio System Component Notifications" + "name": "Audio System", + "category": "Audio" }, "methods": [ { - "key": "OnGamePaused", + "base": "OnGamePaused", "details": { - "name": "OnGamePaused" + "name": "On Game Paused" } }, { - "key": "OnGameUnpaused", + "base": "OnGameUnpaused", "details": { - "name": "OnGameUnpaused" + "name": "On Game Unpaused" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AudioTriggerComponentNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AudioTriggerComponentNotificationBus.names index d134f20f74..45baf45199 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AudioTriggerComponentNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AudioTriggerComponentNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AudioTriggerComponentNotificationBus", + "base": "AudioTriggerComponentNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnTriggerFinished", + "base": "OnTriggerFinished", "details": { "name": "On Trigger Finished", "tooltip": "Executes when an audio trigger has finished playing (the sound has ended)." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AuthenticationProviderNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AuthenticationProviderNotificationBus.names index f90336780e..c567504c83 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AuthenticationProviderNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/AuthenticationProviderNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AuthenticationProviderNotificationBus", + "base": "AuthenticationProviderNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnPasswordGrantSingleFactorSignInSuccess", + "base": "OnPasswordGrantSingleFactorSignInSuccess", "details": { "name": "On Password Grant Single Factor Sign In Success" }, @@ -24,7 +24,7 @@ ] }, { - "key": "OnPasswordGrantSingleFactorSignInFail", + "base": "OnPasswordGrantSingleFactorSignInFail", "details": { "name": "On Password Grant Single Factor Sign In Fail" }, @@ -38,13 +38,13 @@ ] }, { - "key": "OnPasswordGrantMultiFactorSignInSuccess", + "base": "OnPasswordGrantMultiFactorSignInSuccess", "details": { "name": "On Password Grant Multi Factor Sign In Success" } }, { - "key": "OnPasswordGrantMultiFactorSignInFail", + "base": "OnPasswordGrantMultiFactorSignInFail", "details": { "name": "On Password Grant Multi Factor Sign In Fail" }, @@ -58,7 +58,7 @@ ] }, { - "key": "OnPasswordGrantMultiFactorConfirmSignInSuccess", + "base": "OnPasswordGrantMultiFactorConfirmSignInSuccess", "details": { "name": "On Password Grant Multi Factor Confirm Sign In Success" }, @@ -72,7 +72,7 @@ ] }, { - "key": "OnPasswordGrantMultiFactorConfirmSignInFail", + "base": "OnPasswordGrantMultiFactorConfirmSignInFail", "details": { "name": "On Password Grant Multi Factor Confirm Sign In Fail" }, @@ -86,7 +86,7 @@ ] }, { - "key": "OnDeviceCodeGrantSignInSuccess", + "base": "OnDeviceCodeGrantSignInSuccess", "details": { "name": "On Device Code Grant Sign In Success" }, @@ -112,7 +112,7 @@ ] }, { - "key": "OnDeviceCodeGrantSignInFail", + "base": "OnDeviceCodeGrantSignInFail", "details": { "name": "On Device Code Grant Sign In Fail" }, @@ -126,7 +126,7 @@ ] }, { - "key": "OnDeviceCodeGrantConfirmSignInSuccess", + "base": "OnDeviceCodeGrantConfirmSignInSuccess", "details": { "name": "On Device Code Grant Confirm Sign In Success" }, @@ -140,7 +140,7 @@ ] }, { - "key": "OnDeviceCodeGrantConfirmSignInFail", + "base": "OnDeviceCodeGrantConfirmSignInFail", "details": { "name": "On Device Code Grant Confirm Sign In Fail" }, @@ -154,7 +154,7 @@ ] }, { - "key": "OnRefreshTokensSuccess", + "base": "OnRefreshTokensSuccess", "details": { "name": "On Refresh Tokens Success" }, @@ -168,7 +168,7 @@ ] }, { - "key": "OnRefreshTokensFail", + "base": "OnRefreshTokensFail", "details": { "name": "On Refresh Tokens Fail" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/BlastFamilyComponentNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/BlastFamilyComponentNotificationBus.names index b73860d14c..b083994547 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/BlastFamilyComponentNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/BlastFamilyComponentNotificationBus.names @@ -1,16 +1,16 @@ { "entries": [ { - "key": "BlastFamilyComponentNotificationBus", + "base": "BlastFamilyComponentNotificationBus", "context": "EBusHandler", "variant": "", "details": { - "name": "BlastFamilyComponentNotificationBus", - "category": "EBus Handlers" + "name": "Blast Family", + "category": "Blast" }, "methods": [ { - "key": "OnActorCreated", + "base": "OnActorCreated", "details": { "name": "On Actor Created" }, @@ -25,7 +25,7 @@ ] }, { - "key": "OnActorDestroyed", + "base": "OnActorDestroyed", "details": { "name": "On Actor Destroyed" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/CameraNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/CameraNotificationBus.names index 3c12c9643e..d1c0a4942e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/CameraNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/CameraNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CameraNotificationBus", + "base": "CameraNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnCameraAdded", + "base": "OnCameraAdded", "details": { "name": "On Camera Added" }, @@ -25,7 +25,7 @@ ] }, { - "key": "OnCameraRemoved", + "base": "OnCameraRemoved", "details": { "name": "On Camera Removed" }, @@ -40,7 +40,7 @@ ] }, { - "key": "OnActiveViewChanged", + "base": "OnActiveViewChanged", "details": { "name": "On Active View Changed" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/CollisionNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/CollisionNotificationBus.names index bf835079c8..76327e1006 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/CollisionNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/CollisionNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CollisionNotificationBus", + "base": "CollisionNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnCollisionBegin", + "base": "OnCollisionBegin", "details": { "name": "On Collision Begin" }, @@ -31,7 +31,7 @@ ] }, { - "key": "OnCollisionPersist", + "base": "OnCollisionPersist", "details": { "name": "On Collision Persist", "tooltip": "Raised while this collider is in contact with another collider" @@ -53,7 +53,7 @@ ] }, { - "key": "OnCollisionEnd", + "base": "OnCollisionEnd", "details": { "name": "On Collision End", "tooltip": "Raised when a collider loses contact with another collider" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ConsoleNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ConsoleNotificationBus.names index e96eef8e46..0f990a40b1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ConsoleNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ConsoleNotificationBus.names @@ -1,23 +1,24 @@ { "entries": [ { - "key": "ConsoleNotificationBus", + "base": "ConsoleNotificationBus", "context": "EBusHandler", "variant": "", "details": { - "name": "ConsoleNotificationBus" + "name": "Console", + "category": "Utilities" }, "methods": [ { - "key": "OnConsoleCommandExecuted", + "base": "OnConsoleCommandExecuted", "details": { - "name": "OnConsoleCommandExecuted" + "name": "On Console Command Executed" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Command" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorComponentModeNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorComponentModeNotificationBus.names index 2dfae7ace9..391f467a6b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorComponentModeNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorComponentModeNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorComponentModeNotificationBus", + "base": "EditorComponentModeNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ActiveComponentModeChanged", + "base": "ActiveComponentModeChanged", "details": { "name": "ActiveComponentModeChanged" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorEntityContextNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorEntityContextNotificationBus.names index 699b59c46c..52472570a4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorEntityContextNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorEntityContextNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorEntityContextNotificationBus", + "base": "EditorEntityContextNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "OnEditorEntityCreated", + "base": "OnEditorEntityCreated", "details": { "name": "OnEditorEntityCreated" }, @@ -24,7 +24,7 @@ ] }, { - "key": "OnEditorEntityDeleted", + "base": "OnEditorEntityDeleted", "details": { "name": "OnEditorEntityDeleted" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorEventBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorEventBus.names index 7aa15f1009..6327d02fb3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorEventBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EditorEventBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorEventBus", + "base": "EditorEventBus", "context": "EBusHandler", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "NotifyRegisterViews", + "base": "NotifyRegisterViews", "details": { "name": "NotifyRegisterViews" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EntityBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EntityBus.names index b72951159e..3e3cec1916 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EntityBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/EntityBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EntityBus", + "base": "EntityBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnEntityActivated", + "base": "OnEntityActivated", "details": { "name": "On Entity Activated", "tooltip": "Signals that an entity was activated" @@ -26,7 +26,7 @@ ] }, { - "key": "OnEntityDeactivated", + "base": "OnEntityDeactivated", "details": { "name": "On Entity Deactivated", "tooltip": "Signals that an entity is being deactivated" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/FrameCaptureNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/FrameCaptureNotificationBus.names index a3067cb11a..ab5be84903 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/FrameCaptureNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/FrameCaptureNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "FrameCaptureNotificationBus", + "base": "FrameCaptureNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "OnCaptureFinished", + "base": "OnCaptureFinished", "details": { "name": "OnCaptureFinished" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/GlobalScriptEvents.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/GlobalScriptEvents.names index 7a62831c76..4b0b9d1ef5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/GlobalScriptEvents.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/GlobalScriptEvents.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GlobalScriptEvents", + "base": "GlobalScriptEvents", "context": "EBusHandler", "variant": "", "details": { @@ -9,13 +9,13 @@ }, "methods": [ { - "key": "Void", + "base": "Void", "details": { "name": "Void" } }, { - "key": "Not", + "base": "Not", "details": { "name": "Not" }, @@ -37,7 +37,7 @@ ] }, { - "key": "Increment", + "base": "Increment", "details": { "name": "Increment" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/InputSystemNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/InputSystemNotificationBus.names index 5aea1ad6b7..b3893a3486 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/InputSystemNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/InputSystemNotificationBus.names @@ -1,23 +1,24 @@ { "entries": [ { - "key": "InputSystemNotificationBus", + "base": "InputSystemNotificationBus", "context": "EBusHandler", "variant": "", "details": { - "name": "InputSystemNotificationBus" + "name": "Input System", + "category": "Input" }, "methods": [ { - "key": "OnPreInputUpdate", + "base": "OnPreInputUpdate", "details": { - "name": "OnPreInputUpdate" + "name": "On Pre Input Update" } }, { - "key": "OnPostInputUpdate", + "base": "OnPostInputUpdate", "details": { - "name": "OnPostInputUpdate" + "name": "On Post Input Update" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/LocalScriptEvents.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/LocalScriptEvents.names index bb23219646..ed27ffe5e1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/LocalScriptEvents.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/LocalScriptEvents.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "LocalScriptEvents", + "base": "LocalScriptEvents", "context": "EBusHandler", "variant": "", "details": { @@ -9,13 +9,13 @@ }, "methods": [ { - "key": "Void", + "base": "Void", "details": { "name": "Void" } }, { - "key": "Not", + "base": "Not", "details": { "name": "Not" }, @@ -37,7 +37,7 @@ ] }, { - "key": "Increment", + "base": "Increment", "details": { "name": "Increment" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/LookAtNotification.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/LookAtNotification.names index 6d1ff93ed4..e27ea1f05b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/LookAtNotification.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/LookAtNotification.names @@ -1,24 +1,24 @@ { "entries": [ { - "key": "LookAtNotification", + "base": "LookAtNotification", "context": "EBusHandler", "variant": "", "details": { - "name": "LookAtNotification", - "tooltip": "Notifications for the Look At Component" + "name": "Look At", + "category": "Gameplay" }, "methods": [ { - "key": "OnTargetChanged", + "base": "OnTargetChanged", "details": { - "name": "OnTargetChanged" + "name": "On Target Changed" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/MeshComponentNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/MeshComponentNotificationBus.names index a62652ba47..08e5be460a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/MeshComponentNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/MeshComponentNotificationBus.names @@ -1,17 +1,18 @@ { "entries": [ { - "key": "MeshComponentNotificationBus", + "base": "MeshComponentNotificationBus", "context": "EBusHandler", "variant": "", "details": { - "name": "MeshComponentNotificationBus" + "name": "Mesh", + "category": "Rendering" }, "methods": [ { - "key": "OnModelReady", + "base": "OnModelReady", "details": { - "name": "OnModelReady" + "name": "On Model Ready" }, "params": [ { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/NavigationComponentNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/NavigationComponentNotificationBus.names index 7a939652fb..15e4a9a85f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/NavigationComponentNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/NavigationComponentNotificationBus.names @@ -1,83 +1,83 @@ { "entries": [ { - "key": "NavigationComponentNotificationBus", + "base": "NavigationComponentNotificationBus", "context": "EBusHandler", "variant": "", "details": { - "name": "NavigationComponentNotificationBus", - "category": "EBus Handlers" + "name": "Movement", + "category": "Navigation" }, "methods": [ { - "key": "OnSearchingForPath", + "base": "OnSearchingForPath", "details": { - "name": "OnSearchingForPath" + "name": "On Searching For Path" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "RequestId", + "name": "Request Id", "tooltip": "Navigation request Id" } } ] }, { - "key": "OnTraversalStarted", + "base": "OnTraversalStarted", "details": { - "name": "OnTraversalStarted" + "name": "On Traversal Started" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "RequestId", + "name": "Request Id", "tooltip": "Navigation request Id" } } ] }, { - "key": "OnTraversalPathUpdate", + "base": "OnTraversalPathUpdate", "details": { - "name": "OnTraversalPathUpdate" + "name": "On Traversal Path Update" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "RequestId", + "name": "Request Id", "tooltip": "Navigation request Id" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "NextPathPosition", + "name": "Next Path Position", "tooltip": "Next path position" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "InflectionPosition", + "name": "Inflection Position", "tooltip": "Next inflection position" } } ] }, { - "key": "OnTraversalInProgress", + "base": "OnTraversalInProgress", "details": { - "name": "OnTraversalInProgress" + "name": "On Traversal In Progress" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "RequestId", + "name": "Request Id", "tooltip": "Navigation request Id" } }, @@ -91,30 +91,30 @@ ] }, { - "key": "OnTraversalComplete", + "base": "OnTraversalComplete", "details": { - "name": "OnTraversalComplete" + "name": "On Traversal Complete" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "RequestId", + "name": "Request Id", "tooltip": "Navigation request Id" } } ] }, { - "key": "OnTraversalCancelled", + "base": "OnTraversalCancelled", "details": { - "name": "OnTraversalCancelled" + "name": "On Traversal Cancelled" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "RequestId", + "name": "Request Id", "tooltip": "Navigation request Id" } } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/NetworkTestPlayerComponentBusHandler.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/NetworkTestPlayerComponentBusHandler.names index 9d69acdc02..ddb3349d59 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/NetworkTestPlayerComponentBusHandler.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/NetworkTestPlayerComponentBusHandler.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "NetworkTestPlayerComponentBusHandler", + "base": "NetworkTestPlayerComponentBusHandler", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "CreateInput", + "base": "CreateInput", "details": { "name": "Create Input" }, @@ -32,7 +32,7 @@ ] }, { - "key": "ProcessInput", + "base": "ProcessInput", "details": { "name": "Process Input" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ProfilingCaptureNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ProfilingCaptureNotificationBus.names index d1e76ba23a..d02dcfb1a0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ProfilingCaptureNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ProfilingCaptureNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ProfilingCaptureNotificationBus", + "base": "ProfilingCaptureNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "OnCaptureQueryTimestampFinished", + "base": "OnCaptureQueryTimestampFinished", "details": { "name": "OnCaptureQueryTimestampFinished" }, @@ -29,7 +29,7 @@ ] }, { - "key": "OnCaptureCpuFrameTimeFinished", + "base": "OnCaptureCpuFrameTimeFinished", "details": { "name": "OnCaptureCpuFrameTimeFinished" }, @@ -49,7 +49,7 @@ ] }, { - "key": "OnCaptureQueryPipelineStatisticsFinished", + "base": "OnCaptureQueryPipelineStatisticsFinished", "details": { "name": "OnCaptureQueryPipelineStatisticsFinished" }, @@ -69,7 +69,7 @@ ] }, { - "key": "OnCaptureBenchmarkMetadataFinished", + "base": "OnCaptureBenchmarkMetadataFinished", "details": { "name": "OnCaptureBenchmarkMetadataFinished" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ScriptBuildingNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ScriptBuildingNotificationBus.names index 08af710bc3..3d501e7ad9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ScriptBuildingNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ScriptBuildingNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ScriptBuildingNotificationBus", + "base": "ScriptBuildingNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "OnUpdateManifest", + "base": "OnUpdateManifest", "details": { "name": "OnUpdateManifest" }, @@ -31,7 +31,7 @@ ] }, { - "key": "OnPrepareForExport", + "base": "OnPrepareForExport", "details": { "name": "OnPrepareForExport" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SequenceComponentNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SequenceComponentNotificationBus.names index 2de5b0e2f1..146d5b4401 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SequenceComponentNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SequenceComponentNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SequenceComponentNotificationBus", + "base": "SequenceComponentNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,89 +10,96 @@ }, "methods": [ { - "key": "OnStart", + "base": "OnStart", "details": { - "name": "On Start" + "name": "On Start", + "tooltip": "Called when Sequence starts" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Start Time" } } ] }, { - "key": "OnStop", + "base": "OnStop", "details": { - "name": "On Stop" + "name": "On Stop", + "tooltip": "Called when Sequence stops" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Stop Time" } } ] }, { - "key": "OnPause", + "base": "OnPause", "details": { - "name": "On Pause" + "name": "On Pause", + "tooltip": "Called when Sequence pauses" } }, { - "key": "OnResume", + "base": "OnResume", "details": { - "name": "On Resume" + "name": "On Resume", + "tooltip": "Called when Sequence resumes" } }, { - "key": "OnAbort", + "base": "OnAbort", "details": { - "name": "On Abort" + "name": "On Abort", + "tooltip": "Called when Sequence is aborted" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Abort Time" } } ] }, { - "key": "OnUpdate", + "base": "OnUpdate", "details": { - "name": "On Update" + "name": "On Update", + "tooltip": "Called when Sequence is updated. That is, when the current play time changes, or the playback speed changes" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Update Time" } } ] }, { - "key": "OnTrackEventTriggered", + "base": "OnTrackEventTriggered", "details": { - "name": "On Track Event Triggered" + "name": "On Track Event Triggered", + "tooltip": "Called when Sequence Event is triggered" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Event Name" } }, { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Event Value" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ShapeComponentNotificationsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ShapeComponentNotificationsBus.names index 8041830dff..5a3a4ae797 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ShapeComponentNotificationsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ShapeComponentNotificationsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShapeComponentNotificationsBus", + "base": "ShapeComponentNotificationsBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnShapeChanged", + "base": "OnShapeChanged", "details": { "name": "On Shape Changed" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SimpleStateComponentNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SimpleStateComponentNotificationBus.names index 2fe77025c7..3c198f9de5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SimpleStateComponentNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SimpleStateComponentNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SimpleStateComponentNotificationBus", + "base": "SimpleStateComponentNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnStateChanged", + "base": "OnStateChanged", "details": { "name": "On State Changed", "tooltip": "Notifies that the state has changed from state oldName to state newName" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SpawnerComponentNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SpawnerComponentNotificationBus.names index 39c8a095af..31f0b8a34f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SpawnerComponentNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SpawnerComponentNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SpawnerComponentNotificationBus", + "base": "SpawnerComponentNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,90 +10,84 @@ }, "methods": [ { - "key": "OnSpawnBegin", + "base": "OnSpawnBegin", "details": { - "name": "On Spawn Begin", - "tooltip": "Notifies when the spawn starts" + "name": "On Spawn Begin" }, "params": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "Slice", - "tooltip": "Slice instance from the spawn event" + "name": "Slice Instantiation Ticket" } } ] }, { - "key": "OnSpawnEnd", + "base": "OnSpawnEnd", "details": { - "name": "On Spawn End", - "tooltip": "Notifies when the spawn completes" + "name": "On Spawn End" }, "params": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "Slice", - "tooltip": "Slice instance from the spawn event" + "name": "Slice Instantiation Ticket" } } ] }, { - "key": "OnEntitySpawned", + "base": "OnEntitySpawned", "details": { - "name": "On Entity Spawned", - "tooltip": "Notify that an entity has spawned, will be called once for each entity spawned in a slice" + "name": "On Entity Spawned" }, "params": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "Slice", - "tooltip": "Slice instance from the spawn event" + "name": "Slice Instantiation Ticket" } }, { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "Entity", - "tooltip": "EntityID of the spawned entity, for each spawned entity" + "name": "Entity Id", + "tooltip": "Entity Unique Id" } } ] }, { - "key": "OnSpawnedSliceDestroyed", + "base": "OnSpawnedSliceDestroyed", "details": { - "name": "OnSpawnedSliceDestroyed" + "name": "On Spawned Slice Destroyed" }, "params": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "SliceInstantiationTicket" + "name": "Slice Instantiation Ticket" } } ] }, { - "key": "OnEntitiesSpawned", + "base": "OnEntitiesSpawned", "details": { - "name": "OnEntitiesSpawned" + "name": "On Entities Spawned" }, "params": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "SliceInstantiationTicket" + "name": "Slice Instantiation Ticket" } }, { "typeid": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "details": { - "name": "AZStd::vector" + "name": "Entities" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SubmarineEvents.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SubmarineEvents.names index a2e75129cf..93469fc2e1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SubmarineEvents.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/SubmarineEvents.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SubmarineEvents", + "base": "SubmarineEvents", "context": "EBusHandler", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetSpeed", + "base": "SetSpeed", "details": { "name": "SetSpeed" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TagComponentNotificationsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TagComponentNotificationsBus.names index 1fc8a7cdab..9067ed5694 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TagComponentNotificationsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TagComponentNotificationsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TagComponentNotificationsBus", + "base": "TagComponentNotificationsBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnTagAdded", + "base": "OnTagAdded", "details": { "name": "On Tag Added", "tooltip": "Executes when a tag is added to the source entity" @@ -26,7 +26,7 @@ ] }, { - "key": "OnTagRemoved", + "base": "OnTagRemoved", "details": { "name": "On Tag Removed", "tooltip": "Executes when a tag is removed from the source entity" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TagGlobalNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TagGlobalNotificationBus.names index e5b8179b69..e1a74900be 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TagGlobalNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TagGlobalNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TagGlobalNotificationBus", + "base": "TagGlobalNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnEntityTagAdded", + "base": "OnEntityTagAdded", "details": { "name": "On Entity Tag Added", "tooltip": "Executes when the specified source tag is added to any entity" @@ -26,7 +26,7 @@ ] }, { - "key": "OnEntityTagRemoved", + "base": "OnEntityTagRemoved", "details": { "name": "On Entity Tag Removed", "tooltip": "Executes when the specified source tag is removed from any entity" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TickBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TickBus.names index 5144e771d3..690529859a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TickBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TickBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TickBus", + "base": "TickBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnTick", + "base": "OnTick", "details": { "name": "On Tick", "tooltip": "Signals that the application has issued a tick" @@ -33,7 +33,7 @@ ] }, { - "key": "GetTickOrder", + "base": "GetTickOrder", "details": { "name": "Get Tick Order", "tooltip": "Specifies the order in which a handler receives tick events relative to other handlers" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ToolsApplicationNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ToolsApplicationNotificationBus.names index 9572139c16..7829467814 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ToolsApplicationNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ToolsApplicationNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ToolsApplicationNotificationBus", + "base": "ToolsApplicationNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "EntityRegistered", + "base": "EntityRegistered", "details": { "name": "EntityRegistered" }, @@ -24,7 +24,7 @@ ] }, { - "key": "EntityDeregistered", + "base": "EntityDeregistered", "details": { "name": "EntityDeregistered" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TraceMessageBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TraceMessageBus.names index 0d01423428..3f5bb30372 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TraceMessageBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TraceMessageBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TraceMessageBus", + "base": "TraceMessageBus", "context": "EBusHandler", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "OnPreAssert", + "base": "OnPreAssert", "details": { "name": "OnPreAssert" }, @@ -49,7 +49,7 @@ ] }, { - "key": "OnPreError", + "base": "OnPreError", "details": { "name": "OnPreError" }, @@ -95,7 +95,7 @@ ] }, { - "key": "OnPreWarning", + "base": "OnPreWarning", "details": { "name": "OnPreWarning" }, @@ -141,7 +141,7 @@ ] }, { - "key": "OnAssert", + "base": "OnAssert", "details": { "name": "OnAssert" }, @@ -163,7 +163,7 @@ ] }, { - "key": "OnError", + "base": "OnError", "details": { "name": "OnError" }, @@ -191,7 +191,7 @@ ] }, { - "key": "OnWarning", + "base": "OnWarning", "details": { "name": "OnWarning" }, @@ -219,7 +219,7 @@ ] }, { - "key": "OnException", + "base": "OnException", "details": { "name": "OnException" }, @@ -241,7 +241,7 @@ ] }, { - "key": "OnPrintf", + "base": "OnPrintf", "details": { "name": "OnPrintf" }, @@ -269,7 +269,7 @@ ] }, { - "key": "OnOutput", + "base": "OnOutput", "details": { "name": "OnOutput" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TransformNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TransformNotificationBus.names index 88090b8a30..aefaab4035 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TransformNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TransformNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TransformNotificationBus", + "base": "TransformNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnTransformChanged", + "base": "OnTransformChanged", "details": { "name": "On Transform Changed", "tooltip": "Signals that the local or world transform of the entity changed" @@ -33,7 +33,7 @@ ] }, { - "key": "OnParentChanged", + "base": "OnParentChanged", "details": { "name": "On Parent Changed", "tooltip": "Signals that the parent of the entity changed" @@ -56,7 +56,7 @@ ] }, { - "key": "OnChildAdded", + "base": "OnChildAdded", "details": { "name": "On Child Added", "tooltip": "Signals that a child was added to the entity" @@ -72,7 +72,7 @@ ] }, { - "key": "OnChildRemoved", + "base": "OnChildRemoved", "details": { "name": "On Child Removed", "tooltip": "Signals that a child was removed from the entity" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TriggerNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TriggerNotificationBus.names index 726763e12e..a78fcf4dc4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TriggerNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/TriggerNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TriggerNotificationBus", + "base": "TriggerNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnTriggerEnter", + "base": "OnTriggerEnter", "details": { "name": "On Trigger Enter", "tooltip": "Triggered when another collider enters this trigger" @@ -26,7 +26,7 @@ ] }, { - "key": "OnTriggerExit", + "base": "OnTriggerExit", "details": { "name": "On Trigger Exit", "tooltip": "Triggered when another collider exits this trigger" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiAnimationNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiAnimationNotificationBus.names index cb4411af2f..06a9ed1f38 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiAnimationNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiAnimationNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiAnimationNotificationBus", + "base": "UiAnimationNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnUiAnimationEvent", + "base": "OnUiAnimationEvent", "details": { "name": "On Animation Event", "tooltip": "Executes when an animation event occurs" @@ -33,7 +33,7 @@ ] }, { - "key": "OnUiTrackEvent", + "base": "OnUiTrackEvent", "details": { "name": "OnUiTrackEvent" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiButtonNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiButtonNotificationBus.names index 3e4f19f235..7e36a2ba20 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiButtonNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiButtonNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiButtonNotificationBus", + "base": "UiButtonNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnButtonClick", + "base": "OnButtonClick", "details": { "name": "On Button Click", "tooltip": "Executes when the button has been clicked" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasAssetRefNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasAssetRefNotificationBus.names index de65b7363a..15e2b87526 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasAssetRefNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasAssetRefNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCanvasAssetRefNotificationBus", + "base": "UiCanvasAssetRefNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnCanvasLoadedIntoEntity", + "base": "OnCanvasLoadedIntoEntity", "details": { "name": "On Canvas Loaded Into Entity", "tooltip": "Executes when the canvas asset reference loads a canvas" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasInputNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasInputNotificationBus.names index 597f57c4f2..86d7ff6b69 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasInputNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasInputNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCanvasInputNotificationBus", + "base": "UiCanvasInputNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnCanvasPrimaryPressed", + "base": "OnCanvasPrimaryPressed", "details": { "name": "On Canvas Primary Pressed", "tooltip": "Executes on a positional input press" @@ -26,7 +26,7 @@ ] }, { - "key": "OnCanvasPrimaryReleased", + "base": "OnCanvasPrimaryReleased", "details": { "name": "On Canvas Primary Released", "tooltip": "Executes on a positional input release" @@ -42,7 +42,7 @@ ] }, { - "key": "OnCanvasMultiTouchPressed", + "base": "OnCanvasMultiTouchPressed", "details": { "name": "On Canvas Multi-touch Pressed", "tooltip": "Executes on a positional input press" @@ -65,7 +65,7 @@ ] }, { - "key": "OnCanvasMultiTouchReleased", + "base": "OnCanvasMultiTouchReleased", "details": { "name": "On Canvas Multi-touch Released", "tooltip": "Executes on a positional input release" @@ -88,7 +88,7 @@ ] }, { - "key": "OnCanvasHoverStart", + "base": "OnCanvasHoverStart", "details": { "name": "On Canvas Hover Start", "tooltip": "Executes when an element starts being hovered" @@ -104,7 +104,7 @@ ] }, { - "key": "OnCanvasHoverEnd", + "base": "OnCanvasHoverEnd", "details": { "name": "On Canvas Hover End", "tooltip": "Executes when an element ends being hovered" @@ -120,7 +120,7 @@ ] }, { - "key": "OnCanvasEnterPressed", + "base": "OnCanvasEnterPressed", "details": { "name": "On Canvas Enter Pressed", "tooltip": "Executes when the “enter” key is pressed" @@ -136,7 +136,7 @@ ] }, { - "key": "OnCanvasEnterReleased", + "base": "OnCanvasEnterReleased", "details": { "name": "On Canvas Enter Released", "tooltip": "Executes when the enter key is released" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasNotificationBus.names index 662890e4d3..e919f654c7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCanvasNotificationBus", + "base": "UiCanvasNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnAction", + "base": "OnAction", "details": { "name": "On Action", "tooltip": "Executes when the canvas sends an action" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasRefNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasRefNotificationBus.names index 79b4773d25..9677c9241a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasRefNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCanvasRefNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCanvasRefNotificationBus", + "base": "UiCanvasRefNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnCanvasRefChanged", + "base": "OnCanvasRefChanged", "details": { "name": "On Canvas Ref Changed", "tooltip": "Executes when the canvas referenced by a UiCanvasAssetRefComponent has changed. This can happen when \"Load Canvas\", \"Unload Canvas\", or \"Set Canvas Ref Entity\" is called" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCheckboxNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCheckboxNotificationBus.names index f7c17fcac3..d64769915e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCheckboxNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiCheckboxNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCheckboxNotificationBus", + "base": "UiCheckboxNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnCheckboxStateChange", + "base": "OnCheckboxStateChange", "details": { "name": "On Checkbox State Change", "tooltip": "Executes when the checkbox state has changed" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDraggableNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDraggableNotificationBus.names index e4460fb79c..6fa083ccf6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDraggableNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDraggableNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDraggableNotificationBus", + "base": "UiDraggableNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnDragStart", + "base": "OnDragStart", "details": { "name": "On Drag Start", "tooltip": "Executes when dragging is detected on the draggable component. For mouse or touch input, this occurs when movement has been detected after the press or touch" @@ -26,7 +26,7 @@ ] }, { - "key": "OnDrag", + "base": "OnDrag", "details": { "name": "On Drag", "tooltip": "Executes each time the drag position changes during dragging. \"On Drag\" events happen only between \"On Drag Start\" and \"On Drag End\" events" @@ -42,7 +42,7 @@ ] }, { - "key": "OnDragEnd", + "base": "OnDragEnd", "details": { "name": "On Drag End", "tooltip": "Executes at the end of dragging when the release input event occurs. The \"On Drag End\" notification is sent before the \"On Drop\" drop target notification" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropTargetNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropTargetNotificationBus.names index efd1277d08..1cc9259db4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropTargetNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropTargetNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDropTargetNotificationBus", + "base": "UiDropTargetNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnDropHoverStart", + "base": "OnDropHoverStart", "details": { "name": "On Drop Hover Start", "tooltip": "Executes when the focus starts to be on the drop target during dragging" @@ -26,7 +26,7 @@ ] }, { - "key": "OnDropHoverEnd", + "base": "OnDropHoverEnd", "details": { "name": "On Drop Hover End", "tooltip": "Executes when the focus stops being on the drop target during dragging" @@ -42,7 +42,7 @@ ] }, { - "key": "OnDrop", + "base": "OnDrop", "details": { "name": "On Drop", "tooltip": "Executes when a draggable element is dropped on the drop target. Implement the game logic of what should happen on drag and drop here" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropdownNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropdownNotificationBus.names index 2bf6ab7674..be7c62fbb6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropdownNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropdownNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDropdownNotificationBus", + "base": "UiDropdownNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,21 +10,21 @@ }, "methods": [ { - "key": "OnDropdownExpanded", + "base": "OnDropdownExpanded", "details": { "name": "On Dropdown Expanded", "tooltip": "Executes when the dropdown is expanded" } }, { - "key": "OnDropdownCollapsed", + "base": "OnDropdownCollapsed", "details": { "name": "On Dropdown Collapsed", "tooltip": "Executes when the dropdown is collapsed" } }, { - "key": "OnDropdownValueChanged", + "base": "OnDropdownValueChanged", "details": { "name": "On Dropdown Value Changed", "tooltip": "Executes when an option is selected" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropdownOptionNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropdownOptionNotificationBus.names index ae0dfa4c70..f285f552a0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropdownOptionNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDropdownOptionNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDropdownOptionNotificationBus", + "base": "UiDropdownOptionNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnDropdownOptionSelected", + "base": "OnDropdownOptionSelected", "details": { "name": "On Dropdown Option Selected", "tooltip": "Executes when the dropdown option was selected" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDynamicScrollBoxDataBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDynamicScrollBoxDataBus.names index 2f3c04119f..19407e35ea 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDynamicScrollBoxDataBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDynamicScrollBoxDataBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDynamicScrollBoxDataBus", + "base": "UiDynamicScrollBoxDataBus", "context": "EBusHandler", "variant": "", "details": { @@ -11,7 +11,7 @@ }, "methods": [ { - "key": "GetNumElements", + "base": "GetNumElements", "details": { "name": "Get Number Of Elements", "tooltip": "Gets the number of elements in the list. Called when the list is being constructed (in the component's InGamePostActivate or when RefreshContent is being called explicitly). Used with lists that are not divided into sections" @@ -26,7 +26,7 @@ ] }, { - "key": "GetElementWidth", + "base": "GetElementWidth", "details": { "name": "Get Element Width", "tooltip": "Gets the width of an element at the specified index. Called when an element’s size is needed by a horizontal list of variable element sizes, and the “auto calculate size” option is disabled. Used with lists that are not divided into sections" @@ -51,7 +51,7 @@ ] }, { - "key": "GetElementHeight", + "base": "GetElementHeight", "details": { "name": "Get Element Height", "tooltip": "Gets the height of an element at the specified index. Called when an element’s size is needed by a vertical list of variable element sizes, and the “auto calculate size” option is disabled. Used with lists that are not divided into sections" @@ -76,7 +76,7 @@ ] }, { - "key": "GetNumSections", + "base": "GetNumSections", "details": { "name": "Get Number Of Sections", "tooltip": "Gets the number of sections in the list. Called when the list is being constructed (in the component's InGamePostActivate or when RefreshContent is being called explicitly). Used with lists that are divided into section" @@ -91,7 +91,7 @@ ] }, { - "key": "GetNumElementsInSection", + "base": "GetNumElementsInSection", "details": { "name": "Get Num Elements in Section", "tooltip": "Gets the number of elements in the specified section. Called when the list is being constructed (in the component's InGamePostActivate or when RefreshContent is being called explicitly). Used with lists that are divided into sections" @@ -116,7 +116,7 @@ ] }, { - "key": "GetElementInSectionWidth", + "base": "GetElementInSectionWidth", "details": { "name": "Get Element In Section Width", "tooltip": "Gets the width of an element at the specified section and element index. Called when an element’s size is needed by a horizontal list of variable element sizes, and the “auto calculate size” option is disabled. Used with lists that are divided into sections" @@ -148,7 +148,7 @@ ] }, { - "key": "GetElementInSectionHeight", + "base": "GetElementInSectionHeight", "details": { "name": "Get Element In Section Height", "tooltip": "Gets the height of an element at the specified section and element index. Called when an element’s size is needed by a vertical list of variable element sizes, and the “auto calculate size” option is disabled. Used with lists that are divided into sections" @@ -180,7 +180,7 @@ ] }, { - "key": "GetSectionHeaderWidth", + "base": "GetSectionHeaderWidth", "details": { "name": "Get Section Header Width", "tooltip": "Gets the width of a header at the specified section. Called when a header’s size is needed by a horizontal list of variable header sizes, and the “auto calculate size” option is disabled. Used with lists that are divided into sections" @@ -205,7 +205,7 @@ ] }, { - "key": "GetSectionHeaderHeight", + "base": "GetSectionHeaderHeight", "details": { "name": "Get Section Header Height", "tooltip": "Gets the height of a header at the specified section. Called when a header's size is needed by a vertical list of variable header sizes, and the “auto calculate size” option is disabled. Used with lists that are divided into sections" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDynamicScrollBoxElementNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDynamicScrollBoxElementNotificationBus.names index 5c0f5a4c26..3978c48472 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDynamicScrollBoxElementNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiDynamicScrollBoxElementNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDynamicScrollBoxElementNotificationBus", + "base": "UiDynamicScrollBoxElementNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -11,7 +11,7 @@ }, "methods": [ { - "key": "OnElementBecomingVisible", + "base": "OnElementBecomingVisible", "details": { "name": "On Element Becoming Visible", "tooltip": "Executes when a child of the scroll box is about to become visible. Use this event to populate the child with data for display" @@ -34,7 +34,7 @@ ] }, { - "key": "OnPrepareElementForSizeCalculation", + "base": "OnPrepareElementForSizeCalculation", "details": { "name": "On Prepare Element For Size Calculation", "tooltip": "Executes when elements have variable sizes and are set to auto calculate. Used with lists that are not divided into sections" @@ -57,7 +57,7 @@ ] }, { - "key": "OnElementInSectionBecomingVisible", + "base": "OnElementInSectionBecomingVisible", "details": { "name": "On Element In Section Becoming Visible", "tooltip": "Executes when an element in a section is about to become visible. Used to populate the element with data for display. Used with lists that are divided into sections" @@ -87,7 +87,7 @@ ] }, { - "key": "OnPrepareElementInSectionForSizeCalculation", + "base": "OnPrepareElementInSectionForSizeCalculation", "details": { "name": "On Prepare Element In Section For Size Calculation", "tooltip": "Executes when elements in sections have variable sizes and are set to auto calculate. Used with lists that are divided into sections" @@ -117,7 +117,7 @@ ] }, { - "key": "OnSectionHeaderBecomingVisible", + "base": "OnSectionHeaderBecomingVisible", "details": { "name": "On Section Header Becoming Visible", "tooltip": "Executes when a header is about to become visible. Used to populate the header with data for display. Used with lists that are divided into sections" @@ -140,7 +140,7 @@ ] }, { - "key": "OnPrepareSectionHeaderForSizeCalculation", + "base": "OnPrepareSectionHeaderForSizeCalculation", "details": { "name": "On Prepare Section Header For Size Calculation", "tooltip": "Executes when headers have variable sizes and are set to auto calculate. Used with lists that are divided into sections" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiFaderNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiFaderNotificationBus.names index b400fcc52b..b6ad05a4e5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiFaderNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiFaderNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiFaderNotificationBus", + "base": "UiFaderNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,21 +10,21 @@ }, "methods": [ { - "key": "OnFadeComplete", + "base": "OnFadeComplete", "details": { "name": "On Fade Complete", "tooltip": "Executes when the fade is done" } }, { - "key": "OnFadeInterrupted", + "base": "OnFadeInterrupted", "details": { "name": "On Fade Interrupted", "tooltip": "Executes when the fade has been interrupted" } }, { - "key": "OnFaderDestroyed", + "base": "OnFaderDestroyed", "details": { "name": "On Fader Destroyed", "tooltip": "Executes when the fader component has been destroyed" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiFlipbookAnimationNotificationsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiFlipbookAnimationNotificationsBus.names index 674ccb7ff5..8446eb9b12 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiFlipbookAnimationNotificationsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiFlipbookAnimationNotificationsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiFlipbookAnimationNotificationsBus", + "base": "UiFlipbookAnimationNotificationsBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,21 +10,21 @@ }, "methods": [ { - "key": "OnAnimationStarted", + "base": "OnAnimationStarted", "details": { "name": "On Animation Started", "tooltip": "Executes when the flipbook animation has begun playing" } }, { - "key": "OnAnimationStopped", + "base": "OnAnimationStopped", "details": { "name": "On Animation Stopped", "tooltip": "Executes when the flipbook animation has stopped playing" } }, { - "key": "OnLoopSequenceCompleted", + "base": "OnLoopSequenceCompleted", "details": { "name": "On Loop Sequence Completed", "tooltip": "Executes when the flipbook animation has completed one loop iteration. This triggers only when the \"Loop Type\" of the flipbook animation is configured to anything other than \"None\".\n\nFor \"Linear\" loops, this triggers when \"End Frame\" is displayed.\n\nFor \"Ping Pong\" loops, this triggers when either \"Start Frame\" or \"End Frame\" is displayed (depending on the current loop direction of the loop)" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiInitializationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiInitializationBus.names index 7231f093d9..074d8dd7b9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiInitializationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiInitializationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiInitializationBus", + "base": "UiInitializationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "InGamePostActivate", + "base": "InGamePostActivate", "details": { "name": "In-game Post-activate", "tooltip": "Executes after all loaded UI elements have been activated and their parent and canvas references fixed-up" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiInteractableNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiInteractableNotificationBus.names index 07aec6b83a..635630c1b0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiInteractableNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiInteractableNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiInteractableNotificationBus", + "base": "UiInteractableNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,35 +10,35 @@ }, "methods": [ { - "key": "OnHoverStart", + "base": "OnHoverStart", "details": { "name": "On Hover Start", "tooltip": "Executes when the interactive element starts being hovered" } }, { - "key": "OnHoverEnd", + "base": "OnHoverEnd", "details": { "name": "On Hover End", "tooltip": "Executes when the interactive element ends being hovered" } }, { - "key": "OnPressed", + "base": "OnPressed", "details": { "name": "On Pressed", "tooltip": "Executes when the interactive element has been pressed" } }, { - "key": "OnReleased", + "base": "OnReleased", "details": { "name": "On Released", "tooltip": "Executes when the interactive element has been released" } }, { - "key": "OnReceivedHoverByNavigatingFromDescendant", + "base": "OnReceivedHoverByNavigatingFromDescendant", "details": { "name": "On Received Hover By Navigating From Descendant", "tooltip": "Executes when the interactive element receives the hover by being navigated to from a descendant" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiMarkupButtonNotificationsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiMarkupButtonNotificationsBus.names index 435af88d0a..6d3b96553c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiMarkupButtonNotificationsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiMarkupButtonNotificationsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiMarkupButtonNotificationsBus", + "base": "UiMarkupButtonNotificationsBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnHoverStart", + "base": "OnHoverStart", "details": { "name": "On Hover Start", "tooltip": "Executes when the button has become hovered" @@ -40,7 +40,7 @@ ] }, { - "key": "OnHoverEnd", + "base": "OnHoverEnd", "details": { "name": "On Hover End", "tooltip": "Executes when the button is no longer hovered" @@ -70,7 +70,7 @@ ] }, { - "key": "OnPressed", + "base": "OnPressed", "details": { "name": "On Pressed", "tooltip": "Executes when the button receives a press event" @@ -100,7 +100,7 @@ ] }, { - "key": "OnReleased", + "base": "OnReleased", "details": { "name": "On Released", "tooltip": "Executes when the button receives a release event" @@ -130,7 +130,7 @@ ] }, { - "key": "OnClick", + "base": "OnClick", "details": { "name": "On Click", "tooltip": "Executes when the button is clicked (a release on the button following a press on the button)" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiRadioButtonGroupNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiRadioButtonGroupNotificationBus.names index bf3f1b1bc1..d21eb84512 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiRadioButtonGroupNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiRadioButtonGroupNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiRadioButtonGroupNotificationBus", + "base": "UiRadioButtonGroupNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnRadioButtonGroupStateChange", + "base": "OnRadioButtonGroupStateChange", "details": { "name": "On Radio Button Group State Change", "tooltip": "Executes when the radio button group state has changed" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiRadioButtonNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiRadioButtonNotificationBus.names index 4c15af7a33..7219cce771 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiRadioButtonNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiRadioButtonNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiRadioButtonNotificationBus", + "base": "UiRadioButtonNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnRadioButtonStateChange", + "base": "OnRadioButtonStateChange", "details": { "name": "On RadioButton State Change", "tooltip": "Executes when the radio button state has changed" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollBoxNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollBoxNotificationBus.names index acad307dbb..9e8a042255 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollBoxNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollBoxNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiScrollBoxNotificationBus", + "base": "UiScrollBoxNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnScrollOffsetChanging", + "base": "OnScrollOffsetChanging", "details": { "name": "On Scroll Offset Changing", "tooltip": "Executes when the scroll offset is changing" @@ -26,7 +26,7 @@ ] }, { - "key": "OnScrollOffsetChanged", + "base": "OnScrollOffsetChanged", "details": { "name": "On Scroll Offset Changed", "tooltip": "Executes when the scroll offset has changed" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollableNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollableNotificationBus.names index 5de1e45ad6..7c4092175c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollableNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollableNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiScrollableNotificationBus", + "base": "UiScrollableNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnScrollableValueChanging", + "base": "OnScrollableValueChanging", "details": { "name": "On Scrollable Value Changing", "tooltip": "Executes when the scroll value is changing" @@ -26,7 +26,7 @@ ] }, { - "key": "OnScrollableValueChanged", + "base": "OnScrollableValueChanged", "details": { "name": "On Scrollable Value Changed", "tooltip": "Executes when the scroll value has changed" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollerNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollerNotificationBus.names index a12b67ac57..fc5e701451 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollerNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiScrollerNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiScrollerNotificationBus", + "base": "UiScrollerNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnScrollerValueChanging", + "base": "OnScrollerValueChanging", "details": { "name": "On Scroller Value Changing", "tooltip": "Executes when the scroller value is changing" @@ -26,7 +26,7 @@ ] }, { - "key": "OnScrollerValueChanged", + "base": "OnScrollerValueChanged", "details": { "name": "On Scroller Value Changed", "tooltip": "Executes when the scroller value has changed" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiSliderNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiSliderNotificationBus.names index 76c9fde12a..770ca8d183 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiSliderNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiSliderNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiSliderNotificationBus", + "base": "UiSliderNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnSliderValueChanging", + "base": "OnSliderValueChanging", "details": { "name": "On Slider Value Changing", "tooltip": "Executes when the slider value is changing" @@ -26,7 +26,7 @@ ] }, { - "key": "OnSliderValueChanged", + "base": "OnSliderValueChanged", "details": { "name": "On Slider Value Changed", "tooltip": "Executes when the slider value has finished changing" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiSpawnerNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiSpawnerNotificationBus.names index 9c3bb637ec..e78828f936 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiSpawnerNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiSpawnerNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiSpawnerNotificationBus", + "base": "UiSpawnerNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnSpawnBegin", + "base": "OnSpawnBegin", "details": { "name": "On Spawn Begin", "tooltip": "Executes when the slice has been spawned, but entities have not yet been activated. \"On Entity Spawned\" events are about to be dispatched" @@ -26,7 +26,7 @@ ] }, { - "key": "OnEntitySpawned", + "base": "OnEntitySpawned", "details": { "name": "On Entity Spawned", "tooltip": "Executes when an entity has been created during a spawn. Called once for each entity created while spawning a slice" @@ -49,7 +49,7 @@ ] }, { - "key": "OnEntitiesSpawned", + "base": "OnEntitiesSpawned", "details": { "name": "On Entities Spawned", "tooltip": "Executes when all entities have been created during a spawn.\n\nCalled only once for each spawn request. Called after the \"On Entity Spawned\" calls and before the \"On Spawn End\" call" @@ -72,7 +72,7 @@ ] }, { - "key": "OnTopLevelEntitiesSpawned", + "base": "OnTopLevelEntitiesSpawned", "details": { "name": "On Top Level Entities Spawned", "tooltip": "Executes when all top-level entities have been created during the spawn.\n\nTop-level entities are entities that do not have any parent within the slice. Typically, there is only one top-level entity for each slice.\n\nCalled only once for each spawn request. Called after the \"On Entity Spawned\" calls and before the \"On Spawn End\" call" @@ -95,7 +95,7 @@ ] }, { - "key": "OnSpawnEnd", + "base": "OnSpawnEnd", "details": { "name": "On Spawn End", "tooltip": "Executes when a slice has been spawned. Called once for each spawn request. All \"On Entity Spawned\" events have been dispatched" @@ -111,7 +111,7 @@ ] }, { - "key": "OnSpawnFailed", + "base": "OnSpawnFailed", "details": { "name": "On Spawn Failed", "tooltip": "Executes when a spawn request has failed" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiTextInputNotificationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiTextInputNotificationBus.names index 4bc897df5d..b5ad552ef1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiTextInputNotificationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/UiTextInputNotificationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiTextInputNotificationBus", + "base": "UiTextInputNotificationBus", "context": "EBusHandler", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "OnTextInputChange", + "base": "OnTextInputChange", "details": { "name": "On Text Input Change", "tooltip": "Executes when a character is added, removed, or changed" @@ -26,7 +26,7 @@ ] }, { - "key": "OnTextInputEndEdit", + "base": "OnTextInputEndEdit", "details": { "name": "On Text Input End Edit", "tooltip": "Executes when edit of text is completed" @@ -42,7 +42,7 @@ ] }, { - "key": "OnTextInputEnter", + "base": "OnTextInputEnter", "details": { "name": "On Text Input Enter", "tooltip": "Executes when \"Enter\" is pressed on the keyboard" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/VariableNotification.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/VariableNotification.names index c470e02dfb..3ef35b24b7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/VariableNotification.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/VariableNotification.names @@ -1,18 +1,19 @@ { "entries": [ { - "key": "VariableNotification", + "base": "VariableNotification", "context": "EBusHandler", "variant": "", "details": { - "name": "VariableNotification", + "name": "Variable Notification", + "category": "Variables", "tooltip": "Notifications from the Variables in the current Script Canvas graph" }, "methods": [ { - "key": "OnVariableValueChanged", + "base": "OnVariableValueChanged", "details": { - "name": "OnVariableValueChanged" + "name": "On Variable Value Changed" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ViewPaneCallbackBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ViewPaneCallbackBus.names index b77d3caf75..45bbf4cbc9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ViewPaneCallbackBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Handlers/ViewPaneCallbackBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ViewPaneCallbackBus", + "base": "ViewPaneCallbackBus", "context": "EBusHandler", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "CreateViewPaneWidget", + "base": "CreateViewPaneWidget", "details": { "name": "CreateViewPaneWidget" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSCognitoAuthorizationRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSCognitoAuthorizationRequestBus.names index 9ba441a6c8..3b01bcc40b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSCognitoAuthorizationRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSCognitoAuthorizationRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSCognitoAuthorizationRequestBus", + "base": "AWSCognitoAuthorizationRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "Reset", + "base": "Reset", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Reset" @@ -24,7 +24,7 @@ } }, { - "key": "GetIdentityId", + "base": "GetIdentityId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetIdentityId" @@ -46,7 +46,7 @@ ] }, { - "key": "HasPersistedLogins", + "base": "HasPersistedLogins", "entry": { "name": "In", "tooltip": "When signaled, this will invoke HasPersistedLogins" @@ -68,7 +68,7 @@ ] }, { - "key": "Initialize", + "base": "Initialize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Initialize" @@ -90,7 +90,7 @@ ] }, { - "key": "RequestAWSCredentialsAsync", + "base": "RequestAWSCredentialsAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RequestAWSCredentialsAsync" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSCognitoUserManagementRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSCognitoUserManagementRequestBus.names index 932378a747..1c1cab22fd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSCognitoUserManagementRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSCognitoUserManagementRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSCognitoUserManagementRequestBus", + "base": "AWSCognitoUserManagementRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "EnableMFAAsync", + "base": "EnableMFAAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Enable MFA Async" @@ -33,7 +33,7 @@ ] }, { - "key": "ConfirmSignUpAsync", + "base": "ConfirmSignUpAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Confirm Sign Up Async" @@ -63,7 +63,7 @@ ] }, { - "key": "PhoneSignUpAsync", + "base": "PhoneSignUpAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Phone Sign Up Async" @@ -100,7 +100,7 @@ ] }, { - "key": "EmailSignUpAsync", + "base": "EmailSignUpAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Email Sign Up Async" @@ -137,7 +137,7 @@ ] }, { - "key": "ConfirmForgotPasswordAsync", + "base": "ConfirmForgotPasswordAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Confirm Forgot Password Async" @@ -174,7 +174,7 @@ ] }, { - "key": "Initialize", + "base": "Initialize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Initialize" @@ -196,7 +196,7 @@ ] }, { - "key": "ForgotPasswordAsync", + "base": "ForgotPasswordAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Forgot Password Async" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSMetricsRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSMetricsRequestBus.names index b725fc3de1..99df5e2d5e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSMetricsRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSMetricsRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSMetricsRequestBus", + "base": "AWSMetricsRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SubmitMetrics", + "base": "SubmitMetrics", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SubmitMetrics" @@ -62,7 +62,7 @@ ] }, { - "key": "FlushMetrics", + "base": "FlushMetrics", "entry": { "name": "In", "tooltip": "When signaled, this will invoke FlushMetrics" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSResourceMappingRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSResourceMappingRequestBus.names index f7ed1d7591..4bda3ef0ff 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSResourceMappingRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AWSResourceMappingRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AWSResourceMappingRequestBus", + "base": "AWSResourceMappingRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetResourceNameId", + "base": "GetResourceNameId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Resource Name Id" @@ -41,7 +41,7 @@ ] }, { - "key": "GetResourceRegion", + "base": "GetResourceRegion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Resource Region" @@ -72,7 +72,7 @@ ] }, { - "key": "GetDefaultRegion", + "base": "GetDefaultRegion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Default Region" @@ -94,7 +94,7 @@ ] }, { - "key": "GetDefaultAccountId", + "base": "GetDefaultAccountId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Default Account Id" @@ -116,7 +116,7 @@ ] }, { - "key": "GetResourceAccountId", + "base": "GetResourceAccountId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Resource Account Id" @@ -147,7 +147,7 @@ ] }, { - "key": "GetResourceType", + "base": "GetResourceType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Resource Type" @@ -178,7 +178,7 @@ ] }, { - "key": "ReloadConfigFile", + "base": "ReloadConfigFile", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Reload Config File" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ActorComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ActorComponentRequestBus.names index 5deea3567a..d40cfe2045 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ActorComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ActorComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ActorComponentRequestBus", + "base": "ActorComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetRenderCharacter", + "base": "GetRenderCharacter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Render Character" @@ -32,7 +32,7 @@ ] }, { - "key": "DetachFromEntity", + "base": "DetachFromEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Detach From Entity" @@ -46,7 +46,7 @@ } }, { - "key": "GetRenderActorVisible", + "base": "GetRenderActorVisible", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Render Actor Visible" @@ -68,7 +68,7 @@ ] }, { - "key": "AttachToEntity", + "base": "AttachToEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Attach To Entity" @@ -99,7 +99,7 @@ ] }, { - "key": "SetRenderCharacter", + "base": "SetRenderCharacter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Render Character" @@ -121,7 +121,7 @@ ] }, { - "key": "GetJointTransform", + "base": "GetJointTransform", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Joint Transform" @@ -158,7 +158,7 @@ ] }, { - "key": "GetJointIndexByName", + "base": "GetJointIndexByName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Joint Index By Name" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimAudioComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimAudioComponentRequestBus.names index 3620304e48..25180e8ae7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimAudioComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimAudioComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AnimAudioComponentRequestBus", + "base": "AnimAudioComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "AddTriggerEvent", + "base": "AddTriggerEvent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Add Trigger Event" @@ -45,7 +45,7 @@ ] }, { - "key": "ClearTriggerEvents", + "base": "ClearTriggerEvents", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Clear Trigger Events" @@ -60,7 +60,7 @@ } }, { - "key": "RemoveTriggerEvent", + "base": "RemoveTriggerEvent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Remove Trigger Event" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimGraphComponentNetworkRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimGraphComponentNetworkRequestBus.names index 59c14412b9..865335410e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimGraphComponentNetworkRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimGraphComponentNetworkRequestBus.names @@ -1,59 +1,60 @@ { "entries": [ { - "key": "AnimGraphComponentNetworkRequestBus", + "base": "AnimGraphComponentNetworkRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "AnimGraphComponentNetworkRequestBus" + "name": "Anim Graph", + "category": "Animation" }, "methods": [ { - "key": "GetActiveStates", + "base": "GetActiveStates", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetActiveStates" + "tooltip": "When signaled, this will invoke Get Active States" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetActiveStates is invoked" + "tooltip": "Signaled after Get Active States is invoked" }, "details": { - "name": "GetActiveStates" + "name": "Get Active States" }, "results": [ { "typeid": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "details": { - "name": "AZStd::vector" + "name": "Active States" } } ] }, { - "key": "CreateSnapshot", + "base": "CreateSnapshot", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateSnapshot" + "tooltip": "When signaled, this will invoke Create Snapshot" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateSnapshot is invoked" + "tooltip": "Signaled after Create Snapshot is invoked" }, "details": { - "name": "CreateSnapshot" + "name": "Create Snapshot" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Is Authoritative" } } ] }, { - "key": "SetActiveStates", + "base": "SetActiveStates", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetActiveStates" @@ -63,57 +64,57 @@ "tooltip": "Signaled after SetActiveStates is invoked" }, "details": { - "name": "SetActiveStates" + "name": "Set Active States" }, "params": [ { "typeid": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "details": { - "name": "AZStd::vector" + "name": "Active States" } } ] }, { - "key": "IsAssetReady", + "base": "IsAssetReady", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsAssetReady" + "tooltip": "When signaled, this will invoke Is Asset Ready" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsAssetReady is invoked" + "tooltip": "Signaled after Is Asset Ready is invoked" }, "details": { - "name": "IsAssetReady" + "name": "Is Asset Ready" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Is Asset Ready" } } ] }, { - "key": "HasSnapshot", + "base": "HasSnapshot", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke HasSnapshot" + "tooltip": "When signaled, this will invoke Has Snapshot" }, "exit": { "name": "Out", - "tooltip": "Signaled after HasSnapshot is invoked" + "tooltip": "Signaled after Has Snapshot is invoked" }, "details": { - "name": "HasSnapshot" + "name": "Has Snapshot" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Has Snapshot" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimGraphComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimGraphComponentRequestBus.names index d6b9adb914..976c253f89 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimGraphComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AnimGraphComponentRequestBus.names @@ -1,54 +1,54 @@ { "entries": [ { - "key": "AnimGraphComponentRequestBus", + "base": "AnimGraphComponentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "AnimGraphComponentRequestBus", + "name": "Anim Graph", "category": "Animation" }, "methods": [ { - "key": "GetVisualizeEnabled", + "base": "GetVisualizeEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetVisualizeEnabled" + "tooltip": "When signaled, this will invoke Get Visualize Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetVisualizeEnabled is invoked" + "tooltip": "Signaled after Get Visualize Enabled is invoked" }, "details": { - "name": "GetVisualizeEnabled" + "name": "Get Visualize Enabled" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetNamedParameterRotation", + "base": "SetNamedParameterRotation", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNamedParameterRotation" + "tooltip": "When signaled, this will invoke Set Named Parameter Rotation" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNamedParameterRotation is invoked" + "tooltip": "Signaled after Set Named Parameter Rotation is invoked" }, "details": { - "name": "SetNamedParameterRotation" + "name": "Set Named Parameter Rotation" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } }, { @@ -60,51 +60,51 @@ ] }, { - "key": "SetParameterString", + "base": "SetParameterString", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetParameterString" + "tooltip": "When signaled, this will invoke Set Parameter String" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetParameterString is invoked" + "tooltip": "Signaled after Set Parameter String is invoked" }, "details": { - "name": "SetParameterString" + "name": "Set Parameter String" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Index" } }, { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Value" } } ] }, { - "key": "GetNamedParameterString", + "base": "GetNamedParameterString", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNamedParameterString" + "tooltip": "When signaled, this will invoke Get Named Parameter String" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNamedParameterString is invoked" + "tooltip": "Signaled after Get Named Parameter String is invoked" }, "details": { - "name": "GetNamedParameterString" + "name": "Get Named Parameter String" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Parameter Name" } } ], @@ -112,29 +112,29 @@ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Value" } } ] }, { - "key": "GetNamedParameterVector2", + "base": "GetNamedParameterVector2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNamedParameterVector2" + "tooltip": "When signaled, this will invoke Get Named Parameter Vector2" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNamedParameterVector2 is invoked" + "tooltip": "Signaled after Get Named Parameter Vector2 is invoked" }, "details": { - "name": "GetNamedParameterVector2" + "name": "Get Named Parameter Vector2" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Parameter Name" } } ], @@ -142,29 +142,29 @@ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Value" } } ] }, { - "key": "GetParameterFloat", + "base": "GetParameterFloat", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetParameterFloat" + "tooltip": "When signaled, this will invoke Get Parameter Float" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetParameterFloat is invoked" + "tooltip": "Signaled after Get Parameter Float is invoked" }, "details": { - "name": "GetParameterFloat" + "name": "Get Parameter Float" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } } ], @@ -172,29 +172,29 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetParameterRotation", + "base": "SetParameterRotation", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetParameterRotation" + "tooltip": "When signaled, this will invoke Set Parameter Rotation" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetParameterRotation is invoked" + "tooltip": "Signaled after Set Parameter Rotation is invoked" }, "details": { - "name": "SetParameterRotation" + "name": "Set Parameter Rotation" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Parameter Name" } }, { @@ -206,23 +206,23 @@ ] }, { - "key": "GetNamedParameterFloat", + "base": "GetNamedParameterFloat", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNamedParameterFloat" + "tooltip": "When signaled, this will invoke Get Named Parameter Float" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNamedParameterFloat is invoked" + "tooltip": "Signaled after Get Named Parameter Float is invoked" }, "details": { - "name": "GetNamedParameterFloat" + "name": "Get Named Parameter Float" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Parameter Name" } } ], @@ -230,57 +230,57 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetParameterBool", + "base": "SetParameterBool", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetParameterBool" + "tooltip": "When signaled, this will invoke Set Parameter Bool" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetParameterBool is invoked" + "tooltip": "Signaled after Set Parameter Bool is invoked" }, "details": { - "name": "SetParameterBool" + "name": "Set Parameter Bool" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Value" } } ] }, { - "key": "FindParameterName", + "base": "FindParameterName", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke FindParameterName" + "tooltip": "When signaled, this will invoke Find Parameter Name" }, "exit": { "name": "Out", - "tooltip": "Signaled after FindParameterName is invoked" + "tooltip": "Signaled after Find Parameter Name is invoked" }, "details": { - "name": "FindParameterName" + "name": "Find Parameter Name" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } } ], @@ -288,29 +288,29 @@ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } } ] }, { - "key": "GetNamedParameterBool", + "base": "GetNamedParameterBool", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNamedParameterBool" + "tooltip": "When signaled, this will invoke Get Named Parameter Bool" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNamedParameterBool is invoked" + "tooltip": "Signaled after Get Named Parameter Bool is invoked" }, "details": { - "name": "GetNamedParameterBool" + "name": "Get Named Parameter Bool" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } } ], @@ -318,57 +318,57 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Value" } } ] }, { - "key": "SetParameterFloat", + "base": "SetParameterFloat", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetParameterFloat" + "tooltip": "When signaled, this will invoke Set Parameter Float" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetParameterFloat is invoked" + "tooltip": "Signaled after Set Parameter Float is invoked" }, "details": { - "name": "SetParameterFloat" + "name": "Set Parameter Float" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetParameterVector2", + "base": "GetParameterVector2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetParameterVector2" + "tooltip": "When signaled, this will invoke Get Parameter Vector2" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetParameterVector2 is invoked" + "tooltip": "Signaled after Get Parameter Vector2 is invoked" }, "details": { - "name": "GetParameterVector2" + "name": "Get Parameter Vector2" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } } ], @@ -376,29 +376,29 @@ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Value" } } ] }, { - "key": "GetParameterBool", + "base": "GetParameterBool", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetParameterBool" + "tooltip": "When signaled, this will invoke Get Parameter Bool" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetParameterBool is invoked" + "tooltip": "Signaled after Get Parameter Bool is invoked" }, "details": { - "name": "GetParameterBool" + "name": "Get Parameter Bool" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } } ], @@ -406,57 +406,57 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Value" } } ] }, { - "key": "SetNamedParameterVector3", + "base": "SetNamedParameterVector3", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNamedParameterVector3" + "tooltip": "When signaled, this will invoke Set Named Parameter Vector3" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNamedParameterVector3 is invoked" + "tooltip": "Signaled after Set Named Parameter Vector3 is invoked" }, "details": { - "name": "SetNamedParameterVector3" + "name": "Set Named Parameter Vector3" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "FindParameterIndex", + "base": "FindParameterIndex", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke FindParameterIndex" + "tooltip": "When signaled, this will invoke Find Parameter Index" }, "exit": { "name": "Out", - "tooltip": "Signaled after FindParameterIndex is invoked" + "tooltip": "Signaled after Find Parameter Index is invoked" }, "details": { - "name": "FindParameterIndex" + "name": "Find Parameter Index" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } } ], @@ -464,85 +464,85 @@ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } } ] }, { - "key": "SetNamedParameterString", + "base": "SetNamedParameterString", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNamedParameterString" + "tooltip": "When signaled, this will invoke Set Named Parameter String" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNamedParameterString is invoked" + "tooltip": "Signaled after Set Named Parameter String is invoked" }, "details": { - "name": "SetNamedParameterString" + "name": "Set Named Parameter String" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } }, { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Value" } } ] }, { - "key": "SetParameterVector3", + "base": "SetParameterVector3", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetParameterVector3" + "tooltip": "When signaled, this will invoke Set Parameter Vector3" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetParameterVector3 is invoked" + "tooltip": "Signaled after Set Parameter Vector3 is invoked" }, "details": { - "name": "SetParameterVector3" + "name": "Set Parameter Vector3" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "GetParameterVector3", + "base": "GetParameterVector3", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetParameterVector3" + "tooltip": "When signaled, this will invoke Get Parameter Vector3" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetParameterVector3 is invoked" + "tooltip": "Signaled after Get Parameter Vector3 is invoked" }, "details": { - "name": "GetParameterVector3" + "name": "Get Parameter Vector3" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } } ], @@ -550,80 +550,80 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "SyncAnimGraph", + "base": "SyncAnimGraph", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SyncAnimGraph" + "tooltip": "When signaled, this will invoke Sync Anim Graph" }, "exit": { "name": "Out", - "tooltip": "Signaled after SyncAnimGraph is invoked" + "tooltip": "Signaled after Sync Anim Graph is invoked" }, "details": { - "name": "SyncAnimGraph" + "name": "Sync Anim Graph" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "SetParameterRotationEuler", + "base": "SetParameterRotationEuler", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetParameterRotationEuler" + "tooltip": "When signaled, this will invoke Set Parameter Rotation Euler" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetParameterRotationEuler is invoked" + "tooltip": "Signaled after Set Parameter Rotation Euler is invoked" }, "details": { - "name": "SetParameterRotationEuler" + "name": "Set Parameter Rotation Euler" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Angles (Radians)" } } ] }, { - "key": "GetParameterRotationEuler", + "base": "GetParameterRotationEuler", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetParameterRotationEuler" + "tooltip": "When signaled, this will invoke Get Parameter Rotation Euler" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetParameterRotationEuler is invoked" + "tooltip": "Signaled after Get Parameter Rotation Euler is invoked" }, "details": { - "name": "GetParameterRotationEuler" + "name": "Get Parameter Rotation Euler" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } } ], @@ -631,29 +631,29 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Angles (Radians)" } } ] }, { - "key": "GetParameterRotation", + "base": "GetParameterRotation", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetParameterRotation" + "tooltip": "When signaled, this will invoke Get Parameter Rotation" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetParameterRotation is invoked" + "tooltip": "Signaled after Get Parameter Rotation is invoked" }, "details": { - "name": "GetParameterRotation" + "name": "Get Parameter Rotation" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Parameter Name" } } ], @@ -667,23 +667,23 @@ ] }, { - "key": "GetNamedParameterRotationEuler", + "base": "GetNamedParameterRotationEuler", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNamedParameterRotationEuler" + "tooltip": "When signaled, this will invoke Get Named Parameter Rotation Euler" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNamedParameterRotationEuler is invoked" + "tooltip": "Signaled after Get Named Parameter Rotation Euler is invoked" }, "details": { - "name": "GetNamedParameterRotationEuler" + "name": "Get Named Parameter Rotation Euler" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } } ], @@ -691,108 +691,108 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Angles (Radians)" } } ] }, { - "key": "DesyncAnimGraph", + "base": "DesyncAnimGraph", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke DesyncAnimGraph" + "tooltip": "When signaled, this will invoke Desync Anim Graph" }, "exit": { "name": "Out", - "tooltip": "Signaled after DesyncAnimGraph is invoked" + "tooltip": "Signaled after Desync Anim Graph is invoked" }, "details": { - "name": "DesyncAnimGraph" + "name": "Desync Anim Graph" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "SetNamedParameterRotationEuler", + "base": "SetNamedParameterRotationEuler", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNamedParameterRotationEuler" + "tooltip": "When signaled, this will invoke Set Named Parameter Rotation Euler" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNamedParameterRotationEuler is invoked" + "tooltip": "Signaled after Set Named Parameter Rotation Euler is invoked" }, "details": { - "name": "SetNamedParameterRotationEuler" + "name": "Set Named Parameter Rotation Euler" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Parameter Name" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Angles (Radians)" } } ] }, { - "key": "SetParameterVector2", + "base": "SetParameterVector2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetParameterVector2" + "tooltip": "When signaled, this will invoke Set Parameter Vector2" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetParameterVector2 is invoked" + "tooltip": "Signaled after Set Parameter Vector2 is invoked" }, "details": { - "name": "SetParameterVector2" + "name": "Set Parameter Vector2" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } }, { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Value" } } ] }, { - "key": "GetNamedParameterRotation", + "base": "GetNamedParameterRotation", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNamedParameterRotation" + "tooltip": "When signaled, this will invoke Get Named Parameter Rotation" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNamedParameterRotation is invoked" + "tooltip": "Signaled after Get Named Parameter Rotation is invoked" }, "details": { - "name": "GetNamedParameterRotation" + "name": "Get Named Parameter Rotation" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } } ], @@ -806,129 +806,129 @@ ] }, { - "key": "SetNamedParameterBool", + "base": "SetNamedParameterBool", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNamedParameterBool" + "tooltip": "When signaled, this will invoke Set Named Parameter Bool" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNamedParameterBool is invoked" + "tooltip": "Signaled after Set Named Parameter Bool is invoked" }, "details": { - "name": "SetNamedParameterBool" + "name": "Set Named Parameter Bool" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } }, { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Value" } } ] }, { - "key": "SetVisualizeEnabled", + "base": "SetVisualizeEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetVisualizeEnabled" + "tooltip": "When signaled, this will invoke Set Visualize Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetVisualizeEnabled is invoked" + "tooltip": "Signaled after Set Visualize Enabled is invoked" }, "details": { - "name": "SetVisualizeEnabled" + "name": "Set Visualize Enabled" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Value" } } ] }, { - "key": "SetNamedParameterFloat", + "base": "SetNamedParameterFloat", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNamedParameterFloat" + "tooltip": "When signaled, this will invoke Set Named Parameter Float" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNamedParameterFloat is invoked" + "tooltip": "Signaled after Set Named Parameter Float is invoked" }, "details": { - "name": "SetNamedParameterFloat" + "name": "Set Named Parameter Float" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetNamedParameterVector2", + "base": "SetNamedParameterVector2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNamedParameterVector2" + "tooltip": "When signaled, this will invoke Set Named Parameter Vector2" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNamedParameterVector2 is invoked" + "tooltip": "Signaled after Set Named Parameter Vector2 is invoked" }, "details": { - "name": "SetNamedParameterVector2" + "name": "Set Named Parameter Vector2" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } }, { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Value" } } ] }, { - "key": "GetNamedParameterVector3", + "base": "GetNamedParameterVector3", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNamedParameterVector3" + "tooltip": "When signaled, this will invoke Get Named Parameter Vector3" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNamedParameterVector3 is invoked" + "tooltip": "Signaled after Get Named Parameter Vector3 is invoked" }, "details": { - "name": "GetNamedParameterVector3" + "name": "Get Named Parameter Vector3" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } } ], @@ -936,29 +936,29 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "GetParameterString", + "base": "GetParameterString", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetParameterString" + "tooltip": "When signaled, this will invoke Get Parameter String" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetParameterString is invoked" + "tooltip": "Signaled after Get Parameter String is invoked" }, "details": { - "name": "GetParameterString" + "name": "Get Parameter String" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Parameter Index" } } ], @@ -966,7 +966,7 @@ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Value" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ArcBallControllerRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ArcBallControllerRequestBus.names index 9c9ef0b882..293c391360 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ArcBallControllerRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ArcBallControllerRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ArcBallControllerRequestBus", + "base": "ArcBallControllerRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetPan", + "base": "GetPan", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPan" @@ -33,7 +33,7 @@ ] }, { - "key": "GetCenter", + "base": "GetCenter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetCenter" @@ -56,7 +56,7 @@ ] }, { - "key": "SetZoomingSensitivity", + "base": "SetZoomingSensitivity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetZoomingSensitivity" @@ -79,7 +79,7 @@ ] }, { - "key": "GetPitch", + "base": "GetPitch", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPitch" @@ -102,7 +102,7 @@ ] }, { - "key": "SetPanningSensitivity", + "base": "SetPanningSensitivity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetPanningSensitivity" @@ -125,7 +125,7 @@ ] }, { - "key": "GetZoomingSensitivity", + "base": "GetZoomingSensitivity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetZoomingSensitivity" @@ -148,7 +148,7 @@ ] }, { - "key": "SetHeading", + "base": "SetHeading", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetHeading" @@ -171,7 +171,7 @@ ] }, { - "key": "GetMaxDistance", + "base": "GetMaxDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetMaxDistance" @@ -194,7 +194,7 @@ ] }, { - "key": "SetDistance", + "base": "SetDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetDistance" @@ -217,7 +217,7 @@ ] }, { - "key": "SetMinDistance", + "base": "SetMinDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetMinDistance" @@ -240,7 +240,7 @@ ] }, { - "key": "SetMaxDistance", + "base": "SetMaxDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetMaxDistance" @@ -263,7 +263,7 @@ ] }, { - "key": "GetMinDistance", + "base": "GetMinDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetMinDistance" @@ -286,7 +286,7 @@ ] }, { - "key": "GetHeading", + "base": "GetHeading", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetHeading" @@ -309,7 +309,7 @@ ] }, { - "key": "GetPanningSensitivity", + "base": "GetPanningSensitivity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPanningSensitivity" @@ -332,7 +332,7 @@ ] }, { - "key": "SetCenter", + "base": "SetCenter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetCenter" @@ -355,7 +355,7 @@ ] }, { - "key": "SetPan", + "base": "SetPan", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetPan" @@ -378,7 +378,7 @@ ] }, { - "key": "SetPitch", + "base": "SetPitch", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetPitch" @@ -401,7 +401,7 @@ ] }, { - "key": "GetDistance", + "base": "GetDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetDistance" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AreaLightRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AreaLightRequestBus.names index fe409184f5..d57b9b6ffe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AreaLightRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AreaLightRequestBus.names @@ -1,135 +1,142 @@ { "entries": [ { - "key": "AreaLightRequestBus", + "base": "AreaLightRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "AreaLightRequestBus" + "name": "Area Light", + "category": "Lights" }, "methods": [ { - "key": "SetFilteringSampleCount", + "base": "SetFilteringSampleCount", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFilteringSampleCount" + "tooltip": "When signaled, this will invoke Set Filtering Sample Count" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFilteringSampleCount is invoked" + "tooltip": "Signaled after Set Filtering Sample Count is invoked" }, "details": { - "name": "SetFilteringSampleCount" + "name": "Set Filtering Sample Count", + "tooltip": "Sets the sample count for filtering of the shadow boundary. Maximum 64" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Sample Count" } } ] }, { - "key": "SetIntensity", + "base": "SetIntensity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetIntensity" + "tooltip": "When signaled, this will invoke Set Intensity" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetIntensity is invoked" + "tooltip": "Signaled after Set Intensity is invoked" }, "details": { - "name": "SetIntensity" + "name": "Set Intensity", + "tooltip": "Sets an area light's intensity and intensity mode. This value is indepedent from its color" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Intensity" } } ] }, { - "key": "SetEsmExponent", + "base": "SetEsmExponent", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEsmExponent" + "tooltip": "When signaled, this will invoke Set Esm Exponent" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEsmExponent is invoked" + "tooltip": "Signaled after Set Esm Exponent is invoked" }, "details": { - "name": "SetEsmExponent" + "name": "Set Esm Exponent", + "tooltip": "Sets the Esm exponent. Higher values produce a steeper falloff between light and shadow" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Exponent" } } ] }, { - "key": "GetOuterShutterAngle", + "base": "GetOuterShutterAngle", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOuterShutterAngle" + "tooltip": "When signaled, this will invoke Get Outer Shutter Angle" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOuterShutterAngle is invoked" + "tooltip": "Signaled after Get Outer Shutter Angle is invoked" }, "details": { - "name": "GetOuterShutterAngle" + "name": "Get Outer Shutter Angle", + "tooltip": "Returns the outer angle of the shutters in degrees" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Angle (Degrees)" } } ] }, { - "key": "GetInnerShutterAngle", + "base": "GetInnerShutterAngle", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetInnerShutterAngle" + "tooltip": "When signaled, this will invoke Get Inner Shutter Angle" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetInnerShutterAngle is invoked" + "tooltip": "Signaled after Get Inner Shutter Angle is invoked" }, "details": { - "name": "GetInnerShutterAngle" + "name": "Get Inner Shutter Angle", + "tooltip": "Returns the outer angle of the shutters in degrees" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Angles (Degrees)" } } ] }, { - "key": "SetColor", + "base": "SetColor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetColor" + "tooltip": "When signaled, this will invoke Set Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetColor is invoked" + "tooltip": "Signaled after Set Color is invoked" }, "details": { - "name": "SetColor" + "name": "Set Color", + "tooltip": "Sets an area light's color. This value is indepedent from its intensity" }, "params": [ { @@ -141,479 +148,501 @@ ] }, { - "key": "SetShadowBias", + "base": "SetShadowBias", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetShadowBias" + "tooltip": "When signaled, this will invoke Set Shadow Bias" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetShadowBias is invoked" + "tooltip": "Signaled after Set Shadow Bias is invoked" }, "details": { - "name": "SetShadowBias" + "name": "Set Shadow Bias" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Bias" } } ] }, { - "key": "SetShadowFilterMethod", + "base": "SetShadowFilterMethod", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetShadowFilterMethod" + "tooltip": "When signaled, this will invoke Set Shadow Filter Method" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetShadowFilterMethod is invoked" + "tooltip": "Signaled after Set Shadow Filter Method is invoked" }, "details": { - "name": "SetShadowFilterMethod" + "name": "Set Shadow Filter Method", + "tooltip": "Sets the filter method of shadows, 0: None, 1: Percentage Closer Filtering (PCF), 2: Exponential Shadow Maps (ESM), 3: ESM with PCF Fallback" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Shadow Filter Method", + "tooltip": "0: None, 1: Percentage Closer Filtering (PCF), 2: Exponential Shadow Maps (ESM), 3: ESM with PCF Fallback" } } ] }, { - "key": "GetEsmExponent", + "base": "GetEsmExponent", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEsmExponent" + "tooltip": "When signaled, this will invoke Get Esm Exponent" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEsmExponent is invoked" + "tooltip": "Signaled after Get Esm Exponent is invoked" }, "details": { - "name": "GetEsmExponent" + "name": "Get Esm Exponent", + "tooltip": "Gets the Esm exponent. Higher values produce a steeper falloff between light and shadow" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Exponent" } } ] }, { - "key": "SetInnerShutterAngle", + "base": "SetInnerShutterAngle", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetInnerShutterAngle" + "tooltip": "When signaled, this will invoke Set Inner Shutter Angle" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetInnerShutterAngle is invoked" + "tooltip": "Signaled after Set Inner Shutter Angle is invoked" }, "details": { - "name": "SetInnerShutterAngle" + "name": "Set Inner Shutter Angle", + "tooltip": "Sets the inner angle of the shutters in degrees" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Angle (Degrees)" } } ] }, { - "key": "SetEnableShadow", + "base": "SetEnableShadow", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnableShadow" + "tooltip": "When signaled, this will invoke Set Enable Shadow" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnableShadow is invoked" + "tooltip": "Signaled after Set Enable Shadow is invoked" }, "details": { - "name": "SetEnableShadow" + "name": "Set Enable Shadow", + "tooltip": "Sets if shadows should be enabled" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] }, { - "key": "SetUseFastApproximation", + "base": "SetUseFastApproximation", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetUseFastApproximation" + "tooltip": "When signaled, this will invoke Set Use Fast Approximation" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetUseFastApproximation is invoked" + "tooltip": "Signaled after Set Use Fast Approximation is invoked" }, "details": { - "name": "SetUseFastApproximation" + "name": "Set Use Fast Approximation", + "tooltip": "Sets whether the light should use the default high quality linearly transformed cosine lights (false) or a faster approximation (true)" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Use Fast Approximation" } } ] }, { - "key": "GetUseFastApproximation", + "base": "GetUseFastApproximation", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetUseFastApproximation" + "tooltip": "When signaled, this will invoke Get Use Fast Approximation" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetUseFastApproximation is invoked" + "tooltip": "Signaled after Get Use Fast Approximation is invoked" }, "details": { - "name": "GetUseFastApproximation" + "name": "Get Use Fast Approximation", + "tooltip" : "Gets whether the light is using the default high quality linearly transformed cosine lights (false) or a faster approximation (true)" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Uses Fast Approximation" } } ] }, { - "key": "GetFilteringSampleCount", + "base": "GetFilteringSampleCount", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFilteringSampleCount" + "tooltip": "When signaled, this will invoke Get Filtering Sample Count" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFilteringSampleCount is invoked" + "tooltip": "Signaled after Get Filtering Sample Count is invoked" }, "details": { - "name": "GetFilteringSampleCount" + "name": "Get Filtering Sample Count", + "tooltip": "Gets the sample count for filtering of the shadow boundary" }, "results": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Sample Count" } } ] }, { - "key": "GetEnableShadow", + "base": "GetEnableShadow", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEnableShadow" + "tooltip": "When signaled, this will invoke Get Enable Shadow" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEnableShadow is invoked" + "tooltip": "Signaled after Get Enable Shadow is invoked" }, "details": { - "name": "GetEnableShadow" + "name": "Get Enable Shadow", + "tooltip": "Returns true if shadows are enabled" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetShadowFilterMethod", + "base": "GetShadowFilterMethod", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetShadowFilterMethod" + "tooltip": "When signaled, this will invoke Get Shadow Filter Method" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetShadowFilterMethod is invoked" + "tooltip": "Signaled after Get Shadow Filter Method is invoked" }, "details": { - "name": "GetShadowFilterMethod" + "name": "Get Shadow Filter Method", + "tooltip": "Gets the filter method of shadows, 0: None, 1: Percentage Closer Filtering (PCF), 2: Exponential Shadow Maps (ESM), 3: ESM with PCF Fallback" }, "results": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Filter Method", + "tooltip": "0: None, 1: Percentage Closer Filtering (PCF), 2: Exponential Shadow Maps (ESM), 3: ESM with PCF Fallback" } } ] }, { - "key": "GetIntensityMode", + "base": "GetIntensityMode", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetIntensityMode" + "tooltip": "When signaled, this will invoke Get Intensity Mode" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetIntensityMode is invoked" + "tooltip": "Signaled after Get Intensity Mode is invoked" }, "details": { - "name": "GetIntensityMode" + "name": "Get Intensity Mode", + "tooltip": "Gets an area light's photometric type\n0: Lumen (Total amount of luminous power emitted. Since a unit sphere is 4 pi steradians, 1 candela emitting uniformly in all directions is 4 pi lumens)\n1: Candela (Base unit of luminous intensity; luminous power per unit solid angle)\n2: Lux (One lux is one lumen per square meter. The same lux emitting from larger areas emits more lumens than smaller areas)\n3: Nit (Nits are candela per square meter. It can be calculated as Lux / Pi)\n4: Ev100Luminance (Exposure value for luminance - Similar to nits, A measurement of illuminance that grows exponentially. See https://en.wikipedia.org/wiki/Exposure_value)\n5: Ev100Illuminance (Exposure value for illuminance - Similar to lux, A measurement of illuminance that grows exponentially. See https://en.wikipedia.org/wiki/Exposure_value)" }, "results": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Intensity Mode", + "tooltip": "0: Lumen (Total amount of luminous power emitted. Since a unit sphere is 4 pi steradians, 1 candela emitting uniformly in all directions is 4 pi lumens)\n1: Candela (Base unit of luminous intensity; luminous power per unit solid angle)\n2: Lux (One lux is one lumen per square meter. The same lux emitting from larger areas emits more lumens than smaller areas)\n3: Nit (Nits are candela per square meter. It can be calculated as Lux / Pi)\n4: Ev100Luminance (Exposure value for luminance - Similar to nits, A measurement of illuminance that grows exponentially. See https://en.wikipedia.org/wiki/Exposure_value)\n5: Ev100Illuminance (Exposure value for illuminance - Similar to lux, A measurement of illuminance that grows exponentially. See https://en.wikipedia.org/wiki/Exposure_value)" } } ] }, { - "key": "GetShadowBias", + "base": "GetShadowBias", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetShadowBias" + "tooltip": "When signaled, this will invoke Get Shadow Bias" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetShadowBias is invoked" + "tooltip": "Signaled after Get Shadow Bias is invoked" }, "details": { - "name": "GetShadowBias" + "name": "Get Shadow Bias", + "tooltip": "Returns the shadow bias" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Bias" } } ] }, { - "key": "SetAttenuationRadiusMode", + "base": "SetAttenuationRadiusMode", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAttenuationRadiusMode" + "tooltip": "When signaled, this will invoke Set Attenuation Radius Mode" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAttenuationRadiusMode is invoked" + "tooltip": "Signaled after Set Attenuation Radius Mode is invoked" }, "details": { - "name": "SetAttenuationRadiusMode" + "name": "Set Attenuation Radius Mode", + "tooltip": "0: Automatic, the radius will immediately be recalculated based on the intensity\n1: Explicit, the radius value will be unchanged from its previous value" + }, "params": [ { "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", "details": { - "name": "unsigned char" + "name": "Mode", + "tooltip": "0: Automatic, the radius will immediately be recalculated based on the intensity\n1: Explicit, the radius value will be unchanged from its previous value" } } ] }, { - "key": "SetEmitsLightBothDirections", + "base": "SetEmitsLightBothDirections", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEmitsLightBothDirections" + "tooltip": "When signaled, this will invoke Set Emits Light Both Directions" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEmitsLightBothDirections is invoked" + "tooltip": "Signaled after Set Emits Light Both Directions is invoked" }, "details": { - "name": "SetEmitsLightBothDirections" + "name": "Set Emits Light Both Directions" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] }, { - "key": "SetEnableShutters", + "base": "SetEnableShutters", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnableShutters" + "tooltip": "When signaled, this will invoke Set Enable Shutters" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnableShutters is invoked" + "tooltip": "Signaled after Set Enable Shutters is invoked" }, "details": { - "name": "SetEnableShutters" + "name": "Set Enable Shutters" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] }, { - "key": "GetShadowmapMaxSize", + "base": "GetShadowmapMaxSize", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetShadowmapMaxSize" + "tooltip": "When signaled, this will invoke Get Shadowmap Max Size" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetShadowmapMaxSize is invoked" + "tooltip": "Signaled after Get Shadowmap Max Size is invoked" }, "details": { - "name": "GetShadowmapMaxSize" + "name": "Get Shadowmap Max Size", + "tooltip": "Returns the maximum width and height of shadowmap" }, "results": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Max Size" } } ] }, { - "key": "GetEmitsLightBothDirections", + "base": "GetEmitsLightBothDirections", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEmitsLightBothDirections" + "tooltip": "When signaled, this will invoke Get Emits Light Both Directions" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEmitsLightBothDirections is invoked" + "tooltip": "Signaled after Get Emits Light Both Directions is invoked" }, "details": { - "name": "GetEmitsLightBothDirections" + "name": "Get Emits Light Both Directions" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetOuterShutterAngle", + "base": "SetOuterShutterAngle", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetOuterShutterAngle" + "tooltip": "When signaled, this will invoke Set Outer Shutter Angle" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetOuterShutterAngle is invoked" + "tooltip": "Signaled after Set Outer Shutter Angle is invoked" }, "details": { - "name": "SetOuterShutterAngle" + "name": "Set Outer Shutter Angle", + "tooltip": "Sets the outer angle of the shutters in degrees" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Angle (Degrees)" } } ] }, { - "key": "SetAttenuationRadius", + "base": "SetAttenuationRadius", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAttenuationRadius" + "tooltip": "When signaled, this will invoke Set Attenuation Radius" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAttenuationRadius is invoked" + "tooltip": "Signaled after Set Attenuation Radius is invoked" }, "details": { - "name": "SetAttenuationRadius" + "name": "Set Attenuation Radius", + "tooltip": "Set the distance and which an area light will no longer affect lighting. Setting this forces the Radius Calculation to Explicit mode" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Radius" } } ] }, { - "key": "GetAttenuationRadius", + "base": "GetAttenuationRadius", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAttenuationRadius" + "tooltip": "When signaled, this will invoke Get Attenuation Radius" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAttenuationRadius is invoked" + "tooltip": "Signaled after Get Attenuation Radius is invoked" }, "details": { - "name": "GetAttenuationRadius" + "name": "Get Attenuation Radius", + "tooltip" : "Gets the distance at which the area light will no longer affect lighting" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Radius" } } ] }, { - "key": "GetEnableShutters", + "base": "GetEnableShutters", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEnableShutters" + "tooltip": "When signaled, this will invoke Get Enable Shutters" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEnableShutters is invoked" + "tooltip": "Signaled after Get Enable Shutters is invoked" }, "details": { - "name": "GetEnableShutters" + "name": "Get Enable Shutters", + "tooltip": "Returns true if shutters are enabled" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetColor", + "base": "GetColor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetColor" + "tooltip": "When signaled, this will invoke Get Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetColor is invoked" + "tooltip": "Signaled after Get Color is invoked" }, "details": { - "name": "GetColor" + "name": "Get Color" }, "results": [ { @@ -625,67 +654,70 @@ ] }, { - "key": "ConvertToIntensityMode", + "base": "ConvertToIntensityMode", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ConvertToIntensityMode" + "tooltip": "When signaled, this will invoke Convert To Intensity Mode" }, "exit": { "name": "Out", - "tooltip": "Signaled after ConvertToIntensityMode is invoked" + "tooltip": "Signaled after Convert To Intensity Mode is invoked" }, "details": { - "name": "ConvertToIntensityMode" + "name": "Convert To Intensity Mode", + "tooltip": "Sets the photometric unit to the one provided and converts the intensity to the photometric unit so actual light intensity remains constant" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Mode", + "tooltip": "0: Lumen (Total amount of luminous power emitted. Since a unit sphere is 4 pi steradians, 1 candela emitting uniformly in all directions is 4 pi lumens)\n1: Candela (Base unit of luminous intensity; luminous power per unit solid angle)\n2: Lux (One lux is one lumen per square meter. The same lux emitting from larger areas emits more lumens than smaller areas)\n3: Nit (Nits are candela per square meter. It can be calculated as Lux / Pi)\n4: Ev100Luminance (Exposure value for luminance - Similar to nits, A measurement of illuminance that grows exponentially. See https://en.wikipedia.org/wiki/Exposure_value)\n5: Ev100Illuminance (Exposure value for illuminance - Similar to lux, A measurement of illuminance that grows exponentially. See https://en.wikipedia.org/wiki/Exposure_value)" } } ] }, { - "key": "SetShadowmapMaxSize", + "base": "SetShadowmapMaxSize", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetShadowmapMaxSize" + "tooltip": "When signaled, this will invoke Set Shadowmap Max Size" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetShadowmapMaxSize is invoked" + "tooltip": "Signaled after Set Shadowmap Max Size is invoked" }, "details": { - "name": "SetShadowmapMaxSize" + "name": "Set Shadowmap Max Size" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Max Size" } } ] }, { - "key": "GetIntensity", + "base": "GetIntensity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetIntensity" + "tooltip": "When signaled, this will invoke Get Intensity" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetIntensity is invoked" + "tooltip": "Signaled after Get Intensity is invoked" }, "details": { - "name": "GetIntensity" + "name": "Get Intensity", + "tooltip": "Gets an area light's intensity. This value is indepedent from its color" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Intensity" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AreaSystemRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AreaSystemRequestBus.names index 0986961990..fd994b7663 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AreaSystemRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AreaSystemRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AreaSystemRequestBus", + "base": "AreaSystemRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetInstanceCountInAabb", + "base": "GetInstanceCountInAabb", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Instance Count In AABB" @@ -40,7 +40,7 @@ ] }, { - "key": "GetInstancesInAabb", + "base": "GetInstancesInAabb", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Instances In AABB" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AssetCollectionAsyncLoaderTestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AssetCollectionAsyncLoaderTestBus.names index c6af4aa7fb..98a242a478 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AssetCollectionAsyncLoaderTestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AssetCollectionAsyncLoaderTestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AssetCollectionAsyncLoaderTestBus", + "base": "AssetCollectionAsyncLoaderTestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetPendingAssetsList", + "base": "GetPendingAssetsList", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPendingAssetsList" @@ -31,7 +31,7 @@ ] }, { - "key": "GetCountOfPendingAssets", + "base": "GetCountOfPendingAssets", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetCountOfPendingAssets" @@ -53,7 +53,7 @@ ] }, { - "key": "ValidateAssetWasLoaded", + "base": "ValidateAssetWasLoaded", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ValidateAssetWasLoaded" @@ -83,7 +83,7 @@ ] }, { - "key": "CancelLoadingAssets", + "base": "CancelLoadingAssets", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CancelLoadingAssets" @@ -97,7 +97,7 @@ } }, { - "key": "StartLoadingAssetsFromAssetList", + "base": "StartLoadingAssetsFromAssetList", "entry": { "name": "In", "tooltip": "When signaled, this will invoke StartLoadingAssetsFromAssetList" @@ -127,7 +127,7 @@ ] }, { - "key": "StartLoadingAssetsFromJsonFile", + "base": "StartLoadingAssetsFromJsonFile", "entry": { "name": "In", "tooltip": "When signaled, this will invoke StartLoadingAssetsFromJsonFile" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AssetEditorRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AssetEditorRequestBus.names index 958a9e4dba..5c93fe893d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AssetEditorRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AssetEditorRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AssetEditorRequestBus", + "base": "AssetEditorRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "CreateNewGraph", + "base": "CreateNewGraph", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CreateNewGraph" @@ -32,7 +32,7 @@ ] }, { - "key": "ContainsGraph", + "base": "ContainsGraph", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ContainsGraph" @@ -63,7 +63,7 @@ ] }, { - "key": "CloseGraph", + "base": "CloseGraph", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CloseGraph" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsDocumentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsDocumentRequestBus.names index d3439b0a67..13e66d2420 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsDocumentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsDocumentRequestBus.names @@ -1,53 +1,54 @@ { "entries": [ { - "key": "AtomToolsDocumentRequestBus", + "base": "AtomToolsDocumentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "AtomToolsDocumentRequestBus" + "name": "Document", + "category": "Atom Tools" }, "methods": [ { - "key": "CanRedo", + "base": "CanRedo", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CanRedo" + "tooltip": "When signaled, this will invoke Can Redo" }, "exit": { "name": "Out", - "tooltip": "Signaled after CanRedo is invoked" + "tooltip": "Signaled after Can Redo is invoked" }, "details": { - "name": "CanRedo" + "name": "Can Redo" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Can Redo" } } ] }, { - "key": "SaveAsChild", + "base": "SaveAsChild", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SaveAsChild" + "tooltip": "When signaled, this will invoke Save As Child" }, "exit": { "name": "Out", - "tooltip": "Signaled after SaveAsChild is invoked" + "tooltip": "Signaled after Save As Child is invoked" }, "details": { - "name": "SaveAsChild" + "name": "Save As Child" }, "params": [ { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Save Path" } } ], @@ -55,13 +56,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "Reopen", + "base": "Reopen", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Reopen" @@ -77,13 +78,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "Save", + "base": "Save", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Save" @@ -99,35 +100,35 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "IsOpen", + "base": "IsOpen", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsOpen" + "tooltip": "When signaled, this will invoke Is Open" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsOpen is invoked" + "tooltip": "Signaled after Is Open is invoked" }, "details": { - "name": "IsOpen" + "name": "Is Open" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Is Open" } } ] }, { - "key": "Undo", + "base": "Undo", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Undo" @@ -143,13 +144,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "Open", + "base": "Open", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Open" @@ -165,7 +166,7 @@ { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Load Path" } } ], @@ -173,79 +174,79 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "CanUndo", + "base": "CanUndo", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CanUndo" + "tooltip": "When signaled, this will invoke Can Undo" }, "exit": { "name": "Out", - "tooltip": "Signaled after CanUndo is invoked" + "tooltip": "Signaled after Can Undo is invoked" }, "details": { - "name": "CanUndo" + "name": "Can Undo" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Can Undo" } } ] }, { - "key": "SetPropertyValue", + "base": "SetPropertyValue", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyValue" + "tooltip": "When signaled, this will invoke Set Property Value" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyValue is invoked" + "tooltip": "Signaled after Set Property Value is invoked" }, "details": { - "name": "SetPropertyValue" + "name": "Set Property Value" }, "params": [ { "typeid": "{3D2B920C-9EFD-40D5-AAE0-DF131C3D4931}", "details": { - "name": "Name" + "name": "Property Full Name" } }, { "typeid": "{03924488-C7F4-4D6D-948B-ABC2D1AE2FD3}", "details": { - "name": "any" + "name": "Value" } } ] }, { - "key": "SaveAsCopy", + "base": "SaveAsCopy", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SaveAsCopy" + "tooltip": "When signaled, this will invoke Save As Copy" }, "exit": { "name": "Out", - "tooltip": "Signaled after SaveAsCopy is invoked" + "tooltip": "Signaled after Save As Copy is invoked" }, "details": { - "name": "SaveAsCopy" + "name": "Save As Copy" }, "params": [ { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Save Path" } } ], @@ -253,51 +254,51 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "BeginEdit", + "base": "BeginEdit", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke BeginEdit" + "tooltip": "When signaled, this will invoke Begin Edit" }, "exit": { "name": "Out", - "tooltip": "Signaled after BeginEdit is invoked" + "tooltip": "Signaled after Begin Edit is invoked" }, "details": { - "name": "BeginEdit" + "name": "Begin Edit" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Begin" } } ] }, { - "key": "GetPropertyValue", + "base": "GetPropertyValue", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyValue" + "tooltip": "When signaled, this will invoke Get Property Value" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyValue is invoked" + "tooltip": "Signaled after Get Property Value is invoked" }, "details": { - "name": "GetPropertyValue" + "name": "Get Property Value" }, "params": [ { "typeid": "{3D2B920C-9EFD-40D5-AAE0-DF131C3D4931}", "details": { - "name": "Name" + "name": "Property Full Name" } } ], @@ -305,13 +306,13 @@ { "typeid": "{03924488-C7F4-4D6D-948B-ABC2D1AE2FD3}", "details": { - "name": "any" + "name": "Value" } } ] }, { - "key": "Close", + "base": "Close", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Close" @@ -327,13 +328,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "IsModified", + "base": "IsModified", "entry": { "name": "In", "tooltip": "When signaled, this will invoke IsModified" @@ -343,107 +344,107 @@ "tooltip": "Signaled after IsModified is invoked" }, "details": { - "name": "IsModified" + "name": "Is Modified" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Is Modified" } } ] }, { - "key": "EndEdit", + "base": "EndEdit", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke EndEdit" + "tooltip": "When signaled, this will invoke End Edit" }, "exit": { "name": "Out", - "tooltip": "Signaled after EndEdit is invoked" + "tooltip": "Signaled after End Edit is invoked" }, "details": { - "name": "EndEdit" + "name": "End Edit" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "End Edit" } } ] }, { - "key": "GetAbsolutePath", + "base": "GetAbsolutePath", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAbsolutePath" + "tooltip": "When signaled, this will invoke Get Absolute Path" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAbsolutePath is invoked" + "tooltip": "Signaled after Get Absolute Path is invoked" }, "details": { - "name": "GetAbsolutePath" + "name": "Get Absolute Path" }, "results": [ { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Path" } } ] }, { - "key": "GetRelativePath", + "base": "GetRelativePath", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetRelativePath" + "tooltip": "When signaled, this will invoke Get Relative Path" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetRelativePath is invoked" + "tooltip": "Signaled after Get Relative Path is invoked" }, "details": { - "name": "GetRelativePath" + "name": "Get Relative Path" }, "results": [ { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Path" } } ] }, { - "key": "IsSavable", + "base": "IsSavable", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsSavable" + "tooltip": "When signaled, this will invoke Is Savable" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsSavable is invoked" + "tooltip": "Signaled after Is Savable is invoked" }, "details": { - "name": "IsSavable" + "name": "Is Savable" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Is Savable" } } ] }, { - "key": "Redo", + "base": "Redo", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Redo" @@ -459,7 +460,7 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsDocumentSystemRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsDocumentSystemRequestBus.names index d22bf3bc7c..020f951c51 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsDocumentSystemRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsDocumentSystemRequestBus.names @@ -1,31 +1,32 @@ { "entries": [ { - "key": "AtomToolsDocumentSystemRequestBus", + "base": "AtomToolsDocumentSystemRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "AtomToolsDocumentSystemRequestBus" + "name": "Document", + "category": "Atom Tools" }, "methods": [ { - "key": "SaveDocument", + "base": "SaveDocument", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SaveDocument" + "tooltip": "When signaled, this will invoke Save Document" }, "exit": { "name": "Out", - "tooltip": "Signaled after SaveDocument is invoked" + "tooltip": "Signaled after Save Document is invoked" }, "details": { - "name": "SaveDocument" + "name": "Save Document" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid" + "name": "Document Id" } } ], @@ -33,35 +34,35 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "SaveDocumentAsChild", + "base": "SaveDocumentAsChild", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SaveDocumentAsChild" + "tooltip": "When signaled, this will invoke Save Document As Child" }, "exit": { "name": "Out", - "tooltip": "Signaled after SaveDocumentAsChild is invoked" + "tooltip": "Signaled after Save Document As Child is invoked" }, "details": { - "name": "SaveDocumentAsChild" + "name": "Save Document As Child" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid" + "name": "Document Id" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Target Path" } } ], @@ -69,29 +70,29 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "OpenDocument", + "base": "OpenDocument", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke OpenDocument" + "tooltip": "When signaled, this will invoke Open Document" }, "exit": { "name": "Out", - "tooltip": "Signaled after OpenDocument is invoked" + "tooltip": "Signaled after Open Document is invoked" }, "details": { - "name": "OpenDocument" + "name": "Open Document" }, "params": [ { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Source Path" } } ], @@ -99,35 +100,35 @@ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid" + "name": "Document Id" } } ] }, { - "key": "CreateDocumentFromFile", + "base": "CreateDocumentFromFile", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateDocumentFromFile" + "tooltip": "When signaled, this will invoke Create Document From File" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateDocumentFromFile is invoked" + "tooltip": "Signaled after Create Document From File is invoked" }, "details": { - "name": "CreateDocumentFromFile" + "name": "Create Document From File" }, "params": [ { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Source Path" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Target Path" } } ], @@ -135,29 +136,29 @@ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid" + "name": "Document Id" } } ] }, { - "key": "CloseDocument", + "base": "CloseDocument", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CloseDocument" + "tooltip": "When signaled, this will invoke Close Document" }, "exit": { "name": "Out", - "tooltip": "Signaled after CloseDocument is invoked" + "tooltip": "Signaled after Close Document is invoked" }, "details": { - "name": "CloseDocument" + "name": "Close Document" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid" + "name": "Document Id" } } ], @@ -165,51 +166,51 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "CloseAllDocuments", + "base": "CloseAllDocuments", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CloseAllDocuments" + "tooltip": "When signaled, this will invoke Close All Documents" }, "exit": { "name": "Out", - "tooltip": "Signaled after CloseAllDocuments is invoked" + "tooltip": "Signaled after Close All Documents is invoked" }, "details": { - "name": "CloseAllDocuments" + "name": "Close All Documents" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "CloseAllDocumentsExcept", + "base": "CloseAllDocumentsExcept", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CloseAllDocumentsExcept" + "tooltip": "When signaled, this will invoke Close All Documents Except" }, "exit": { "name": "Out", - "tooltip": "Signaled after CloseAllDocumentsExcept is invoked" + "tooltip": "Signaled after Close All Documents Except is invoked" }, "details": { - "name": "CloseAllDocumentsExcept" + "name": "Close All Documents Except" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid" + "name": "Document Id" } } ], @@ -217,51 +218,51 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "CreateDocument", + "base": "CreateDocument", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateDocument" + "tooltip": "When signaled, this will invoke Create Document" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateDocument is invoked" + "tooltip": "Signaled after Create Document is invoked" }, "details": { - "name": "CreateDocument" + "name": "Create Document" }, "results": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid" + "name": "Document Id" } } ] }, { - "key": "DestroyDocument", + "base": "DestroyDocument", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke DestroyDocument" + "tooltip": "When signaled, this will invoke Destroy Document" }, "exit": { "name": "Out", - "tooltip": "Signaled after DestroyDocument is invoked" + "tooltip": "Signaled after Destroy Document is invoked" }, "details": { - "name": "DestroyDocument" + "name": "Destroy Document" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid" + "name": "Document Id" } } ], @@ -269,35 +270,35 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "SaveDocumentAsCopy", + "base": "SaveDocumentAsCopy", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SaveDocumentAsCopy" + "tooltip": "When signaled, this will invoke Save Document As Copy" }, "exit": { "name": "Out", - "tooltip": "Signaled after SaveDocumentAsCopy is invoked" + "tooltip": "Signaled after Save Document As Copy is invoked" }, "details": { - "name": "SaveDocumentAsCopy" + "name": "Save Document As Copy" }, "params": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid" + "name": "Document Id" } }, { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Target Path" } } ], @@ -305,29 +306,29 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] }, { - "key": "SaveAllDocuments", + "base": "SaveAllDocuments", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SaveAllDocuments" + "tooltip": "When signaled, this will invoke Save All Documents" }, "exit": { "name": "Out", - "tooltip": "Signaled after SaveAllDocuments is invoked" + "tooltip": "Signaled after Save All Documents is invoked" }, "details": { - "name": "SaveAllDocuments" + "name": "Save All Documents" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsMainWindowFactoryRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsMainWindowFactoryRequestBus.names index 87f3925316..bbb141f329 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsMainWindowFactoryRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsMainWindowFactoryRequestBus.names @@ -1,39 +1,40 @@ { "entries": [ { - "key": "AtomToolsMainWindowFactoryRequestBus", + "base": "AtomToolsMainWindowFactoryRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "AtomToolsMainWindowFactoryRequestBus" + "name": "Main Window Factory", + "category": "Atom Tools" }, "methods": [ { - "key": "CreateMainWindow", + "base": "CreateMainWindow", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateMainWindow" + "tooltip": "When signaled, this will invoke Create Main Window" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateMainWindow is invoked" + "tooltip": "Signaled after Create Main Window is invoked" }, "details": { - "name": "CreateMainWindow" + "name": "Create Main Window" } }, { - "key": "DestroyMainWindow", + "base": "DestroyMainWindow", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke DestroyMainWindow" + "tooltip": "When signaled, this will invoke Destroy Main Window" }, "exit": { "name": "Out", - "tooltip": "Signaled after DestroyMainWindow is invoked" + "tooltip": "Signaled after Destroy Main Window is invoked" }, "details": { - "name": "DestroyMainWindow" + "name": "Destroy Main Window" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsMainWindowRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsMainWindowRequestBus.names index cb21434ad0..741afa30af 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsMainWindowRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AtomToolsMainWindowRequestBus.names @@ -1,123 +1,124 @@ { "entries": [ { - "key": "AtomToolsMainWindowRequestBus", + "base": "AtomToolsMainWindowRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "AtomToolsMainWindowRequestBus" + "name": "Main Window", + "category": "Atom Tools" }, "methods": [ { - "key": "UnlockViewportRenderTargetSize", + "base": "UnlockViewportRenderTargetSize", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke UnlockViewportRenderTargetSize" + "tooltip": "When signaled, this will invoke Unlock Viewport Render Target Size" }, "exit": { "name": "Out", - "tooltip": "Signaled after UnlockViewportRenderTargetSize is invoked" + "tooltip": "Signaled after Unlock Viewport Render Target Size is invoked" }, "details": { - "name": "UnlockViewportRenderTargetSize" + "name": "Unlock Viewport Render Target Size" } }, { - "key": "GetDockWidgetNames", + "base": "GetDockWidgetNames", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetDockWidgetNames" + "tooltip": "When signaled, this will invoke Get Dock Widget Names" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetDockWidgetNames is invoked" + "tooltip": "Signaled after Get Dock Widget Names is invoked" }, "details": { - "name": "GetDockWidgetNames" + "name": "Get Dock Widget Names" }, "results": [ { "typeid": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "details": { - "name": "AZStd::vector" + "name": "Widget Names" } } ] }, { - "key": "ResizeViewportRenderTarget", + "base": "ResizeViewportRenderTarget", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ResizeViewportRenderTarget" + "tooltip": "When signaled, this will invoke Resize Viewport Render Target" }, "exit": { "name": "Out", - "tooltip": "Signaled after ResizeViewportRenderTarget is invoked" + "tooltip": "Signaled after Resize Viewport Render Target is invoked" }, "details": { - "name": "ResizeViewportRenderTarget" + "name": "Resize Viewport Render Target" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Width" } }, { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Height" } } ] }, { - "key": "SetDockWidgetVisible", + "base": "SetDockWidgetVisible", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetDockWidgetVisible" + "tooltip": "When signaled, this will invoke Set Dock Widget Visible" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetDockWidgetVisible is invoked" + "tooltip": "Signaled after Set Dock Widget Visible is invoked" }, "details": { - "name": "SetDockWidgetVisible" + "name": "Set Dock Widget Visible" }, "params": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Widget Name" } }, { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Is Visible" } } ] }, { - "key": "IsDockWidgetVisible", + "base": "IsDockWidgetVisible", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsDockWidgetVisible" + "tooltip": "When signaled, this will invoke Is Dock Widget Visible" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsDockWidgetVisible is invoked" + "tooltip": "Signaled after Is Dock Widget Visible is invoked" }, "details": { - "name": "IsDockWidgetVisible" + "name": "Is Dock Widget Visible" }, "params": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Widget Name" } } ], @@ -125,51 +126,51 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Is Visible" } } ] }, { - "key": "LockViewportRenderTargetSize", + "base": "LockViewportRenderTargetSize", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke LockViewportRenderTargetSize" + "tooltip": "When signaled, this will invoke Lock Viewport Render Target Size" }, "exit": { "name": "Out", - "tooltip": "Signaled after LockViewportRenderTargetSize is invoked" + "tooltip": "Signaled after Lock Viewport Render Target Size is invoked" }, "details": { - "name": "LockViewportRenderTargetSize" + "name": "Lock Viewport Render Target Size" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Width" } }, { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Height" } } ] }, { - "key": "ActivateWindow", + "base": "ActivateWindow", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ActivateWindow" + "tooltip": "When signaled, this will invoke Activate Window" }, "exit": { "name": "Out", - "tooltip": "Signaled after ActivateWindow is invoked" + "tooltip": "Signaled after Activate Window is invoked" }, "details": { - "name": "ActivateWindow" + "name": "Activate Window" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AttachmentComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AttachmentComponentRequestBus.names index a6e09acaa9..5e097988a6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AttachmentComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AttachmentComponentRequestBus.names @@ -1,16 +1,16 @@ { "entries": [ { - "key": "AttachmentComponentRequestBus", + "base": "AttachmentComponentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "AttachmentComponentRequestBus", + "name": "Attachment", "category": "Animation" }, "methods": [ { - "key": "Attach", + "base": "Attach", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Attach" @@ -20,35 +20,32 @@ "tooltip": "Signaled after Attach is invoked" }, "details": { - "name": "Attach", - "tooltip": "Attaches the entity" + "name": "Attach" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "Target", - "tooltip": "ID of entity to attach to" + "name": "Target Entity Id", + "tooltip": "The Entity to attach" } }, { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "Bone", - "tooltip": "Name of bone on entity to attach to. If bone is not found, then attach to target entity's transform origin" + "name": "Target Bone Name" } }, { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "Offset", - "tooltip": "Attachment's offset from target" + "name": "Offset Transform" } } ] }, { - "key": "Detach", + "base": "Detach", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Detach" @@ -58,30 +55,27 @@ "tooltip": "Signaled after Detach is invoked" }, "details": { - "name": "Detach", - "tooltip": "Detaches the entity" + "name": "Detach" } }, { - "key": "SetAttachmentOffset", + "base": "SetAttachmentOffset", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set Offset" + "tooltip": "When signaled, this will invoke SetAttachmentOffset" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Offset is invoked" + "tooltip": "Signaled after SetAttachmentOffset is invoked" }, "details": { - "name": "Set Offset", - "tooltip": "Sets the offset of the attachment" + "name": "Set Attachment Offset" }, "params": [ { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "Offset", - "tooltip": "Attachment's offset from target" + "name": "Offset Transform" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioEnvironmentComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioEnvironmentComponentRequestBus.names index 641d11c99c..6d5ba9f6a2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioEnvironmentComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioEnvironmentComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AudioEnvironmentComponentRequestBus", + "base": "AudioEnvironmentComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetAmount", + "base": "SetAmount", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Amount" @@ -33,7 +33,7 @@ ] }, { - "key": "SetEnvironmentAmount", + "base": "SetEnvironmentAmount", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Environment Amount" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioListenerComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioListenerComponentRequestBus.names index c08b9854d9..4f1afdb06d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioListenerComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioListenerComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AudioListenerComponentRequestBus", + "base": "AudioListenerComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetRotationEntity", + "base": "SetRotationEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Rotation Entity" @@ -34,7 +34,7 @@ ] }, { - "key": "SetPositionEntity", + "base": "SetPositionEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Position Entity" @@ -58,7 +58,7 @@ ] }, { - "key": "SetFullTransformEntity", + "base": "SetFullTransformEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Full Transform Entity" @@ -82,7 +82,7 @@ ] }, { - "key": "SetListenerEnabled", + "base": "SetListenerEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Listener Enabled" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioPreloadComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioPreloadComponentRequestBus.names index beb17272ec..f2ce00d72e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioPreloadComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioPreloadComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AudioPreloadComponentRequestBus", + "base": "AudioPreloadComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "IsLoaded", + "base": "IsLoaded", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Loaded" @@ -40,7 +40,7 @@ ] }, { - "key": "Unload", + "base": "Unload", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Unload" @@ -54,7 +54,7 @@ } }, { - "key": "UnloadPreload", + "base": "UnloadPreload", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Unload Preload" @@ -76,7 +76,7 @@ ] }, { - "key": "Load", + "base": "Load", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Load" @@ -90,7 +90,7 @@ } }, { - "key": "LoadPreload", + "base": "LoadPreload", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Load Preload" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioRtpcComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioRtpcComponentRequestBus.names index 6ea496f6b1..2053611961 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioRtpcComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioRtpcComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AudioRtpcComponentRequestBus", + "base": "AudioRtpcComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetValue", + "base": "SetValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Value" @@ -33,7 +33,7 @@ ] }, { - "key": "SetRtpcValue", + "base": "SetRtpcValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set RTPC Value" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioSwitchComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioSwitchComponentRequestBus.names index cb2ca6db64..87d263ac96 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioSwitchComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioSwitchComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AudioSwitchComponentRequestBus", + "base": "AudioSwitchComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetState", + "base": "SetState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set State" @@ -34,7 +34,7 @@ ] }, { - "key": "SetSwitchState", + "base": "SetSwitchState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Switch State" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioSystemComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioSystemComponentRequestBus.names index f92d691860..526eada299 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioSystemComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioSystemComponentRequestBus.names @@ -1,15 +1,16 @@ { "entries": [ { - "key": "AudioSystemComponentRequestBus", + "base": "AudioSystemComponentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "Audio System" + "name": "Audio System", + "category": "Audio" }, "methods": [ { - "key": "LevelUnloadAudio", + "base": "LevelUnloadAudio", "entry": { "name": "In", "tooltip": "When signaled, this will invoke LevelUnloadAudio" @@ -19,11 +20,11 @@ "tooltip": "Signaled after LevelUnloadAudio is invoked" }, "details": { - "name": "LevelUnloadAudio" + "name": "Level Unload Audio" } }, { - "key": "LevelLoadAudio", + "base": "LevelLoadAudio", "entry": { "name": "In", "tooltip": "When signaled, this will invoke LevelLoadAudio" @@ -33,104 +34,104 @@ "tooltip": "Signaled after LevelLoadAudio is invoked" }, "details": { - "name": "LevelLoadAudio" + "name": "Level Load Audio" }, "params": [ { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Level Name" } } ] }, { - "key": "GlobalKillAudioTrigger", + "base": "GlobalKillAudioTrigger", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GlobalKillAudioTrigger" + "tooltip": "When signaled, this will invoke Global Kill Audio Trigger" }, "exit": { "name": "Out", - "tooltip": "Signaled after GlobalKillAudioTrigger is invoked" + "tooltip": "Signaled after Global Kill Audio Trigger is invoked" }, "details": { - "name": "GlobalKillAudioTrigger" + "name": "Global Kill Audio Trigger" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Trigger Name" } }, { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Callback Owner", "tooltip": "Entity Unique Id" } } ] }, { - "key": "GlobalSetAudioRtpc", + "base": "GlobalSetAudioRtpc", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GlobalSetAudioRtpc" + "tooltip": "When signaled, this will invoke Global Set Audio RTPC" }, "exit": { "name": "Out", - "tooltip": "Signaled after GlobalSetAudioRtpc is invoked" + "tooltip": "Signaled after Global Set Audio RTPC is invoked" }, "details": { - "name": "GlobalSetAudioRtpc" + "name": "Global Set Audio RTPC" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "RTPC Name" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GlobalSetAudioSwitchState", + "base": "GlobalSetAudioSwitchState", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GlobalSetAudioSwitchState" + "tooltip": "When signaled, this will invoke Global Set Audio Switch State" }, "exit": { "name": "Out", - "tooltip": "Signaled after GlobalSetAudioSwitchState is invoked" + "tooltip": "Signaled after Global Set Audio Switch State is invoked" }, "details": { - "name": "GlobalSetAudioSwitchState" + "name": "Global Set Audio Switch State" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Switch Name" } }, { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "State Name" } } ] }, { - "key": "GlobalRefreshAudio", + "base": "GlobalRefreshAudio", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GlobalRefreshAudio" @@ -140,100 +141,100 @@ "tooltip": "Signaled after GlobalRefreshAudio is invoked" }, "details": { - "name": "GlobalRefreshAudio" + "name": "Global Refresh Audio" }, "params": [ { "typeid": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "details": { - "name": "" + "name": "Level Name" } } ] }, { - "key": "GlobalMuteAudio", + "base": "GlobalMuteAudio", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GlobalMuteAudio" + "tooltip": "When signaled, this will invoke Global Mute Audio" }, "exit": { "name": "Out", - "tooltip": "Signaled after GlobalMuteAudio is invoked" + "tooltip": "Signaled after Global Mute Audio is invoked" }, "details": { - "name": "GlobalMuteAudio" + "name": "Global Mute Audio" } }, { - "key": "GlobalExecuteAudioTrigger", + "base": "GlobalExecuteAudioTrigger", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GlobalExecuteAudioTrigger" + "tooltip": "When signaled, this will invoke Global Execute Audio Trigger" }, "exit": { "name": "Out", - "tooltip": "Signaled after GlobalExecuteAudioTrigger is invoked" + "tooltip": "Signaled after Global Execute Audio Trigger is invoked" }, "details": { - "name": "GlobalExecuteAudioTrigger" + "name": "Global Execute Audio Trigger" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Trigger Name" } }, { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Callback Owner", "tooltip": "Entity Unique Id" } } ] }, { - "key": "GlobalStopAllSounds", + "base": "GlobalStopAllSounds", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GlobalStopAllSounds" + "tooltip": "When signaled, this will invoke Global Stop All Sounds" }, "exit": { "name": "Out", - "tooltip": "Signaled after GlobalStopAllSounds is invoked" + "tooltip": "Signaled after Global Stop All Sounds is invoked" }, "details": { - "name": "GlobalStopAllSounds" + "name": "Global Stop All Sounds" } }, { - "key": "GlobalUnmuteAudio", + "base": "GlobalUnmuteAudio", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GlobalUnmuteAudio" + "tooltip": "When signaled, this will invoke Global Unmute Audio" }, "exit": { "name": "Out", - "tooltip": "Signaled after GlobalUnmuteAudio is invoked" + "tooltip": "Signaled after Global Unmute Audio is invoked" }, "details": { - "name": "GlobalUnmuteAudio" + "name": "Global Unmute Audio" } }, { - "key": "GlobalResetAudioRtpcs", + "base": "GlobalResetAudioRtpcs", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GlobalResetAudioRtpcs" + "tooltip": "When signaled, this will invoke Global Reset Audio RTPCs" }, "exit": { "name": "Out", - "tooltip": "Signaled after GlobalResetAudioRtpcs is invoked" + "tooltip": "Signaled after Global Reset Audio RTPCs is invoked" }, "details": { - "name": "GlobalResetAudioRtpcs" + "name": "Global Reset Audio RTPCs" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioTriggerComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioTriggerComponentRequestBus.names index 111c2d328c..3f584ca463 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioTriggerComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AudioTriggerComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AudioTriggerComponentRequestBus", + "base": "AudioTriggerComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetObstructionType", + "base": "SetObstructionType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Obstruction Type" @@ -33,7 +33,7 @@ ] }, { - "key": "KillAllTriggers", + "base": "KillAllTriggers", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Kill All Triggers" @@ -48,7 +48,7 @@ } }, { - "key": "ExecuteTrigger", + "base": "ExecuteTrigger", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Execute Trigger" @@ -72,7 +72,7 @@ ] }, { - "key": "SetMovesWithEntity", + "base": "SetMovesWithEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Moves With Entity" @@ -96,7 +96,7 @@ ] }, { - "key": "Stop", + "base": "Stop", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Stop" @@ -111,7 +111,7 @@ } }, { - "key": "Play", + "base": "Play", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Play" @@ -126,7 +126,7 @@ } }, { - "key": "KillTrigger", + "base": "KillTrigger", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Kill Trigger" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AuthenticationProviderRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AuthenticationProviderRequestBus.names index 237d70340b..c0db453e2e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AuthenticationProviderRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/AuthenticationProviderRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "AuthenticationProviderRequestBus", + "base": "AuthenticationProviderRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SignOut", + "base": "SignOut", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SignOut" @@ -42,7 +42,7 @@ ] }, { - "key": "DeviceCodeGrantConfirmSignInAsync", + "base": "DeviceCodeGrantConfirmSignInAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Device Code Grant Confirm Sign In Async" @@ -65,7 +65,7 @@ ] }, { - "key": "DeviceCodeGrantSignInAsync", + "base": "DeviceCodeGrantSignInAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Device Code Grant Sign In Async" @@ -88,7 +88,7 @@ ] }, { - "key": "PasswordGrantMultiFactorSignInAsync", + "base": "PasswordGrantMultiFactorSignInAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Password Grant Multi Factor Sign In Async" @@ -125,7 +125,7 @@ ] }, { - "key": "GetAuthenticationTokens", + "base": "GetAuthenticationTokens", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Authentication Tokens" @@ -156,7 +156,7 @@ ] }, { - "key": "GetTokensWithRefreshAsync", + "base": "GetTokensWithRefreshAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Tokens With Refresh Async" @@ -179,7 +179,7 @@ ] }, { - "key": "IsSignedIn", + "base": "IsSignedIn", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Signed In" @@ -210,7 +210,7 @@ ] }, { - "key": "PasswordGrantSingleFactorSignInAsync", + "base": "PasswordGrantSingleFactorSignInAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Password GrantSingle Factor Sign In Async" @@ -247,7 +247,7 @@ ] }, { - "key": "RefreshTokensAsync", + "base": "RefreshTokensAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Refresh Tokens Async" @@ -270,7 +270,7 @@ ] }, { - "key": "Initialize", + "base": "Initialize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Initialize" @@ -300,7 +300,7 @@ ] }, { - "key": "PasswordGrantMultiFactorConfirmSignInAsync", + "base": "PasswordGrantMultiFactorConfirmSignInAsync", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Password Grant Multi Factor Confirm Sign In Async" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BlastFamilyComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BlastFamilyComponentRequestBus.names index f4c2192375..3c71a6e04c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BlastFamilyComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BlastFamilyComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "BlastFamilyComponentRequestBus", + "base": "BlastFamilyComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Get Actors Data", + "base": "Get Actors Data", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Actors Data" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BlastFamilyDamageRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BlastFamilyDamageRequestBus.names index 9ef94a60bd..9dec40475a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BlastFamilyDamageRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BlastFamilyDamageRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "BlastFamilyDamageRequestBus", + "base": "BlastFamilyDamageRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Get Family Id", + "base": "Get Family Id", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Family Id" @@ -32,7 +32,7 @@ ] }, { - "key": "Destroy actor", + "base": "Destroy actor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Destroy actor" @@ -46,7 +46,7 @@ } }, { - "key": "Triangle Damage", + "base": "Triangle Damage", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Triangle Damage" @@ -90,7 +90,7 @@ ] }, { - "key": "Impact Spread Damage", + "base": "Impact Spread Damage", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Impact Spread Damage" @@ -134,7 +134,7 @@ ] }, { - "key": "Stress Damage", + "base": "Stress Damage", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Stress Damage" @@ -164,7 +164,7 @@ ] }, { - "key": "Shear Damage", + "base": "Shear Damage", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Shear Damage" @@ -215,7 +215,7 @@ ] }, { - "key": "Capsule Damage", + "base": "Capsule Damage", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Capsule Damage" @@ -266,7 +266,7 @@ ] }, { - "key": "Radial Damage", + "base": "Radial Damage", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Radial Damage" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BloomRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BloomRequestBus.names index 0ae96265bc..dbbadc1aaf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BloomRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BloomRequestBus.names @@ -1,1417 +1,1417 @@ { "entries": [ { - "key": "BloomRequestBus", + "base": "BloomRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "BloomRequestBus" + "name": "Bloom Request Bus" }, "methods": [ { - "key": "GetTintStage0Override", + "base": "GetTintStage0Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTintStage0Override" + "tooltip": "When signaled, this will invoke Get Tint Stage 0 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTintStage0Override is invoked" + "tooltip": "Signaled after Get Tint Stage 0 Override is invoked" }, "details": { - "name": "GetTintStage0Override" + "name": "Get Tint Stage 0 Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetTintStage0Override", + "base": "SetTintStage0Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTintStage0Override" + "tooltip": "When signaled, this will invoke Set Tint Stage 0 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTintStage0Override is invoked" + "tooltip": "Signaled after Set Tint Stage 0 Override is invoked" }, "details": { - "name": "SetTintStage0Override" + "name": "Set Tint Stage 0 Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetTintStage1", + "base": "SetTintStage1", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTintStage1" + "tooltip": "When signaled, this will invoke Set Tint Stage 1" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTintStage1 is invoked" + "tooltip": "Signaled after Set Tint Stage 1 is invoked" }, "details": { - "name": "SetTintStage1" + "name": "Set Tint Stage 1" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "SetTintStage0", + "base": "SetTintStage0", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTintStage0" + "tooltip": "When signaled, this will invoke Set Tint Stage 0" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTintStage0 is invoked" + "tooltip": "Signaled after Set Tint Stage 0 is invoked" }, "details": { - "name": "SetTintStage0" + "name": "Set Tint Stage 0" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "GetKernelSizeStage3Override", + "base": "GetKernelSizeStage3Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeStage3Override" + "tooltip": "When signaled, this will invoke Get Kernel Size Stage 3 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeStage3Override is invoked" + "tooltip": "Signaled after Get Kernel Size Stage 3 Override is invoked" }, "details": { - "name": "GetKernelSizeStage3Override" + "name": "Get Kernel Size Stage 3 Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetTintStage3Override", + "base": "GetTintStage3Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTintStage3Override" + "tooltip": "When signaled, this will invoke Get Tint Stage 3 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTintStage3Override is invoked" + "tooltip": "Signaled after Get Tint Stage 3 Override is invoked" }, "details": { - "name": "GetTintStage3Override" + "name": "Get Tint Stage 3 Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetKernelSizeScaleOverride", + "base": "SetKernelSizeScaleOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeScaleOverride" + "tooltip": "When signaled, this will invoke Set Kernel Size Scale Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeScaleOverride is invoked" + "tooltip": "Signaled after Set Kernel Size Scale Override is invoked" }, "details": { - "name": "SetKernelSizeScaleOverride" + "name": "Set Kernel Size Scale Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetKernelSizeStage2", + "base": "SetKernelSizeStage2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeStage2" + "tooltip": "When signaled, this will invoke Set Kernel Size Stage 2" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeStage2 is invoked" + "tooltip": "Signaled after Set Kernel Size Stage 2 is invoked" }, "details": { - "name": "SetKernelSizeStage2" + "name": "Set Kernel Size Stage 2" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetKernelSizeStage4", + "base": "GetKernelSizeStage4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeStage4" + "tooltip": "When signaled, this will invoke Get Kernel Size Stage 4" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeStage4 is invoked" + "tooltip": "Signaled after Get Kernel Size Stage 4 is invoked" }, "details": { - "name": "GetKernelSizeStage4" + "name": "Get Kernel Size Stage 4" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetTintStage0", + "base": "GetTintStage0", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTintStage0" + "tooltip": "When signaled, this will invoke Get Tint Stage 0" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTintStage0 is invoked" + "tooltip": "Signaled after Get Tint Stage 0 is invoked" }, "details": { - "name": "GetTintStage0" + "name": "Get Tint Stage 0" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "SetTintStage4Override", + "base": "SetTintStage4Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTintStage4Override" + "tooltip": "When signaled, this will invoke Set Tint Stage 4 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTintStage4Override is invoked" + "tooltip": "Signaled after Set Tint Stage 4 Override is invoked" }, "details": { - "name": "SetTintStage4Override" + "name": "Set Tint Stage 4 Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetKernelSizeScale", + "base": "GetKernelSizeScale", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeScale" + "tooltip": "When signaled, this will invoke Get Kernel Size Scale" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeScale is invoked" + "tooltip": "Signaled after Get Kernel Size Scale is invoked" }, "details": { - "name": "GetKernelSizeScale" + "name": "Get Kernel Size Scale" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetKernelSizeStage2", + "base": "GetKernelSizeStage2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeStage2" + "tooltip": "When signaled, this will invoke Get Kernel Size Stage 2" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeStage2 is invoked" + "tooltip": "Signaled after Get Kernel Size Stage 2 is invoked" }, "details": { - "name": "GetKernelSizeStage2" + "name": "Get Kernel Size Stage 2" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetTintStage1Override", + "base": "SetTintStage1Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTintStage1Override" + "tooltip": "When signaled, this will invoke Set Tint Stage 1 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTintStage1Override is invoked" + "tooltip": "Signaled after Set Tint Stage 1 Override is invoked" }, "details": { - "name": "SetTintStage1Override" + "name": "Set Tint Stage 1 Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetTintStage3", + "base": "SetTintStage3", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTintStage3" + "tooltip": "When signaled, this will invoke Set Tint Stage 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTintStage3 is invoked" + "tooltip": "Signaled after Set Tint Stage 3 is invoked" }, "details": { - "name": "SetTintStage3" + "name": "Set Tint Stage 3" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "GetEnabledOverride", + "base": "GetEnabledOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEnabledOverride" + "tooltip": "When signaled, this will invoke Get Enabled Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEnabledOverride is invoked" + "tooltip": "Signaled after Get Enabled Override is invoked" }, "details": { - "name": "GetEnabledOverride" + "name": "Get Enabled Override" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetTintStage3Override", + "base": "SetTintStage3Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTintStage3Override" + "tooltip": "When signaled, this will invoke Set Tint Stage 3 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTintStage3Override is invoked" + "tooltip": "Signaled after Set Tint Stage 3 Override is invoked" }, "details": { - "name": "SetTintStage3Override" + "name": "Set Tint Stage 3 Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetEnabledOverride", + "base": "SetEnabledOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnabledOverride" + "tooltip": "When signaled, this will invoke Set Enabled Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnabledOverride is invoked" + "tooltip": "Signaled after Set Enabled Override is invoked" }, "details": { - "name": "SetEnabledOverride" + "name": "Set Enabled Override" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetKernelSizeStage0", + "base": "SetKernelSizeStage0", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeStage0" + "tooltip": "When signaled, this will invoke Set Kernel Size Stage 0" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeStage0 is invoked" + "tooltip": "Signaled after Set Kernel Size Stage 0 is invoked" }, "details": { - "name": "SetKernelSizeStage0" + "name": "Set Kernel Size Stage 0" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetKernelSizeStage0Override", + "base": "GetKernelSizeStage0Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeStage0Override" + "tooltip": "When signaled, this will invoke Get Kernel Size Stage 0 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeStage0Override is invoked" + "tooltip": "Signaled after Get Kernel Size Stage 0 Override is invoked" }, "details": { - "name": "GetKernelSizeStage0Override" + "name": "Get Kernel Size Stage 0 Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetKernelSizeStage4Override", + "base": "SetKernelSizeStage4Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeStage4Override" + "tooltip": "When signaled, this will invoke Set Kernel Size Stage 4 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeStage4Override is invoked" + "tooltip": "Signaled after Set Kernel Size Stage 4 Override is invoked" }, "details": { - "name": "SetKernelSizeStage4Override" + "name": "Set Kernel Size Stage 4 Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetTintStage2", + "base": "GetTintStage2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTintStage2" + "tooltip": "When signaled, this will invoke Get Tint Stage 2" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTintStage2 is invoked" + "tooltip": "Signaled after Get Tint Stage 2 is invoked" }, "details": { - "name": "GetTintStage2" + "name": "Get Tint Stage 2" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "GetTintStage4Override", + "base": "GetTintStage4Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTintStage4Override" + "tooltip": "When signaled, this will invoke Get Tint Stage 4 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTintStage4Override is invoked" + "tooltip": "Signaled after Get Tint Stage 4 Override is invoked" }, "details": { - "name": "GetTintStage4Override" + "name": "Get Tint Stage 4 Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetKernelSizeStage0Override", + "base": "SetKernelSizeStage0Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeStage0Override" + "tooltip": "When signaled, this will invoke Set Kernel Size Stage 0 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeStage0Override is invoked" + "tooltip": "Signaled after Set Kernel Size Stage 0 Override is invoked" }, "details": { - "name": "SetKernelSizeStage0Override" + "name": "Set Kernel Size Stage 0 Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetKernelSizeStage4Override", + "base": "GetKernelSizeStage4Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeStage4Override" + "tooltip": "When signaled, this will invoke Get Kernel Size Stage 4 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeStage4Override is invoked" + "tooltip": "Signaled after Get Kernel Size Stage 4 Override is invoked" }, "details": { - "name": "GetKernelSizeStage4Override" + "name": "Get Kernel Size Stage 4 Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetTintStage2Override", + "base": "GetTintStage2Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTintStage2Override" + "tooltip": "When signaled, this will invoke Get Tint Stage 2 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTintStage2Override is invoked" + "tooltip": "Signaled after Get Tint Stage 2 Override is invoked" }, "details": { - "name": "GetTintStage2Override" + "name": "Get Tint Stage 2 Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetTintStage3", + "base": "GetTintStage3", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTintStage3" + "tooltip": "When signaled, this will invoke Get Tint Stage 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTintStage3 is invoked" + "tooltip": "Signaled after Get Tint Stage 3 is invoked" }, "details": { - "name": "GetTintStage3" + "name": "Get Tint Stage 3" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "SetKernelSizeScale", + "base": "SetKernelSizeScale", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeScale" + "tooltip": "When signaled, this will invoke Set Kernel Size Scale" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeScale is invoked" + "tooltip": "Signaled after Set Kernel Size Scale is invoked" }, "details": { - "name": "SetKernelSizeScale" + "name": "Set Kernel Size Scale" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetIntensity", + "base": "GetIntensity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetIntensity" + "tooltip": "When signaled, this will invoke Get Intensity" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetIntensity is invoked" + "tooltip": "Signaled after Get Intensity is invoked" }, "details": { - "name": "GetIntensity" + "name": "Get Intensity" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetBicubicEnabledOverride", + "base": "GetBicubicEnabledOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetBicubicEnabledOverride" + "tooltip": "When signaled, this will invoke Get Bicubic Enabled Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetBicubicEnabledOverride is invoked" + "tooltip": "Signaled after Get Bicubic Enabled Override is invoked" }, "details": { - "name": "GetBicubicEnabledOverride" + "name": "Get Bicubic Enabled Override" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetKernelSizeStage4", + "base": "SetKernelSizeStage4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeStage4" + "tooltip": "When signaled, this will invoke Set Kernel Size Stage 4" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeStage4 is invoked" + "tooltip": "Signaled after Set Kernel Size Stage 4 is invoked" }, "details": { - "name": "SetKernelSizeStage4" + "name": "Set Kernel Size Stage 4" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetBicubicEnabled", + "base": "SetBicubicEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetBicubicEnabled" + "tooltip": "When signaled, this will invoke Set Bicubic Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetBicubicEnabled is invoked" + "tooltip": "Signaled after Set Bicubic Enabled is invoked" }, "details": { - "name": "SetBicubicEnabled" + "name": "Set Bicubic Enabled" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetKernelSizeStage1Override", + "base": "GetKernelSizeStage1Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeStage1Override" + "tooltip": "When signaled, this will invoke Get Kernel Size Stage 1 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeStage1Override is invoked" + "tooltip": "Signaled after Get Kernel Size Stage 1 Override is invoked" }, "details": { - "name": "GetKernelSizeStage1Override" + "name": "Get Kernel Size Stage 1 Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetThresholdOverride", + "base": "GetThresholdOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetThresholdOverride" + "tooltip": "When signaled, this will invoke Get Threshold Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetThresholdOverride is invoked" + "tooltip": "Signaled after Get Threshold Override is invoked" }, "details": { - "name": "GetThresholdOverride" + "name": "Get Threshold Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetIntensity", + "base": "SetIntensity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetIntensity" + "tooltip": "When signaled, this will invoke Set Intensity" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetIntensity is invoked" + "tooltip": "Signaled after Set Intensity is invoked" }, "details": { - "name": "SetIntensity" + "name": "Set Intensity" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetBicubicEnabledOverride", + "base": "SetBicubicEnabledOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetBicubicEnabledOverride" + "tooltip": "When signaled, this will invoke Set Bicubic Enabled Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetBicubicEnabledOverride is invoked" + "tooltip": "Signaled after Set Bicubic Enabled Override is invoked" }, "details": { - "name": "SetBicubicEnabledOverride" + "name": "Set Bicubic Enabled Override" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetKernelSizeStage1", + "base": "GetKernelSizeStage1", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeStage1" + "tooltip": "When signaled, this will invoke Get Kernel Size Stage 1" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeStage1 is invoked" + "tooltip": "Signaled after Get Kernel Size Stage 1 is invoked" }, "details": { - "name": "GetKernelSizeStage1" + "name": "Get Kernel Size Stage 1" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetKernelSizeStage2Override", + "base": "GetKernelSizeStage2Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeStage2Override" + "tooltip": "When signaled, this will invoke Get Kernel Size Stage 2 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeStage2Override is invoked" + "tooltip": "Signaled after Get Kernel Size Stage 2 Override is invoked" }, "details": { - "name": "GetKernelSizeStage2Override" + "name": "Get Kernel Size Stage 2 Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetTintStage4", + "base": "SetTintStage4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTintStage4" + "tooltip": "When signaled, this will invoke Set Tint Stage 4" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTintStage4 is invoked" + "tooltip": "Signaled after Set Tint Stage 4 is invoked" }, "details": { - "name": "SetTintStage4" + "name": "Set Tint Stage 4" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "SetKernelSizeStage1", + "base": "SetKernelSizeStage1", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeStage1" + "tooltip": "When signaled, this will invoke Set Kernel Size Stage 1" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeStage1 is invoked" + "tooltip": "Signaled after Set Kernel Size Stage 1 is invoked" }, "details": { - "name": "SetKernelSizeStage1" + "name": "Set Kernel Size Stage 1" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetThresholdOverride", + "base": "SetThresholdOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetThresholdOverride" + "tooltip": "When signaled, this will invoke Set Threshold Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetThresholdOverride is invoked" + "tooltip": "Signaled after Set Threshold Override is invoked" }, "details": { - "name": "SetThresholdOverride" + "name": "Set Threshold Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetTintStage1", + "base": "GetTintStage1", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTintStage1" + "tooltip": "When signaled, this will invoke Get Tint Stage 1" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTintStage1 is invoked" + "tooltip": "Signaled after Get Tint Stage 1 is invoked" }, "details": { - "name": "GetTintStage1" + "name": "Get Tint Stage 1" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "GetKnee", + "base": "GetKnee", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKnee" + "tooltip": "When signaled, this will invoke Get Knee" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKnee is invoked" + "tooltip": "Signaled after Get Knee is invoked" }, "details": { - "name": "GetKnee" + "name": "Get Knee" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetThreshold", + "base": "SetThreshold", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetThreshold" + "tooltip": "When signaled, this will invoke Set Threshold" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetThreshold is invoked" + "tooltip": "Signaled after Set Threshold is invoked" }, "details": { - "name": "SetThreshold" + "name": "Set Threshold" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetIntensityOverride", + "base": "SetIntensityOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetIntensityOverride" + "tooltip": "When signaled, this will invoke Set Intensity Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetIntensityOverride is invoked" + "tooltip": "Signaled after Set Intensity Override is invoked" }, "details": { - "name": "SetIntensityOverride" + "name": "Set Intensity Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetEnabled", + "base": "GetEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEnabled" + "tooltip": "When signaled, this will invoke Get Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEnabled is invoked" + "tooltip": "Signaled after Get Enabled is invoked" }, "details": { - "name": "GetEnabled" + "name": "Get Enabled" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetKernelSizeStage1Override", + "base": "SetKernelSizeStage1Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeStage1Override" + "tooltip": "When signaled, this will invoke Set Kernel Size Stage 1 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeStage1Override is invoked" + "tooltip": "Signaled after Set Kernel Size Stage 1 Override is invoked" }, "details": { - "name": "SetKernelSizeStage1Override" + "name": "Set Kernel Size Stage 1 Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetKernelSizeStage0", + "base": "GetKernelSizeStage0", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeStage0" + "tooltip": "When signaled, this will invoke Get Kernel Size Stage 0" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeStage0 is invoked" + "tooltip": "Signaled after Get Kernel Size Stage 0 is invoked" }, "details": { - "name": "GetKernelSizeStage0" + "name": "Get Kernel Size Stage 0" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetTintStage2Override", + "base": "SetTintStage2Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTintStage2Override" + "tooltip": "When signaled, this will invoke Set Tint Stage 2 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTintStage2Override is invoked" + "tooltip": "Signaled after Set Tint Stage 2 Override is invoked" }, "details": { - "name": "SetTintStage2Override" + "name": "Set Tint Stage 2 Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetTintStage4", + "base": "GetTintStage4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTintStage4" + "tooltip": "When signaled, this will invoke Get Tint Stage 4" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTintStage4 is invoked" + "tooltip": "Signaled after Get Tint Stage 4 is invoked" }, "details": { - "name": "GetTintStage4" + "name": "Get Tint Stage 4" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "GetKernelSizeScaleOverride", + "base": "GetKernelSizeScaleOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeScaleOverride" + "tooltip": "When signaled, this will invoke Get Kernel Size Scale Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeScaleOverride is invoked" + "tooltip": "Signaled after Get Kernel Size Scale Override is invoked" }, "details": { - "name": "GetKernelSizeScaleOverride" + "name": "Get Kernel Size Scale Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetKernelSizeStage2Override", + "base": "SetKernelSizeStage2Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeStage2Override" + "tooltip": "When signaled, this will invoke Set Kernel Size Stage 2 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeStage2Override is invoked" + "tooltip": "Signaled after Set Kernel Size Stage 2 Override is invoked" }, "details": { - "name": "SetKernelSizeStage2Override" + "name": "Set Kernel Size Stage 2 Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetKernelSizeStage3", + "base": "GetKernelSizeStage3", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKernelSizeStage3" + "tooltip": "When signaled, this will invoke Get Kernel Size Stage 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKernelSizeStage3 is invoked" + "tooltip": "Signaled after Get Kernel Size Stage 3 is invoked" }, "details": { - "name": "GetKernelSizeStage3" + "name": "Get Kernel Size Stage 3" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetTintStage1Override", + "base": "GetTintStage1Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTintStage1Override" + "tooltip": "When signaled, this will invoke Get Tint Stage 1 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTintStage1Override is invoked" + "tooltip": "Signaled after Get Tint Stage 1 Override is invoked" }, "details": { - "name": "GetTintStage1Override" + "name": "Get Tint Stage 1 Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetTintStage2", + "base": "SetTintStage2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTintStage2" + "tooltip": "When signaled, this will invoke Set Tint Stage 2" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTintStage2 is invoked" + "tooltip": "Signaled after Set Tint Stage 2 is invoked" }, "details": { - "name": "SetTintStage2" + "name": "Set Tint Stage 2" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Value" } } ] }, { - "key": "GetKneeOverride", + "base": "GetKneeOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetKneeOverride" + "tooltip": "When signaled, this will invoke Get Knee Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetKneeOverride is invoked" + "tooltip": "Signaled after Get Knee Override is invoked" }, "details": { - "name": "GetKneeOverride" + "name": "Get Knee Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetKnee", + "base": "SetKnee", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKnee" + "tooltip": "When signaled, this will invoke Set Knee" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKnee is invoked" + "tooltip": "Signaled after Set Knee is invoked" }, "details": { - "name": "SetKnee" + "name": "Set Knee" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetIntensityOverride", + "base": "GetIntensityOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetIntensityOverride" + "tooltip": "When signaled, this will invoke Get Intensity Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetIntensityOverride is invoked" + "tooltip": "Signaled after Get Intensity Override is invoked" }, "details": { - "name": "GetIntensityOverride" + "name": "Get Intensity Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetEnabled", + "base": "SetEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnabled" + "tooltip": "When signaled, this will invoke Set Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnabled is invoked" + "tooltip": "Signaled after Set Enabled is invoked" }, "details": { - "name": "SetEnabled" + "name": "Set Enabled" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetThreshold", + "base": "GetThreshold", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetThreshold" + "tooltip": "When signaled, this will invoke Get Threshold" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetThreshold is invoked" + "tooltip": "Signaled after Get Threshold is invoked" }, "details": { - "name": "GetThreshold" + "name": "Get Threshold" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetKernelSizeStage3", + "base": "SetKernelSizeStage3", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeStage3" + "tooltip": "When signaled, this will invoke Set Kernel Size Stage 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeStage3 is invoked" + "tooltip": "Signaled after Set Kernel Size Stage 3 is invoked" }, "details": { - "name": "SetKernelSizeStage3" + "name": "Set Kernel Size Stage 3" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetKernelSizeStage3Override", + "base": "SetKernelSizeStage3Override", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKernelSizeStage3Override" + "tooltip": "When signaled, this will invoke Set Kernel Size Stage 3 Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKernelSizeStage3Override is invoked" + "tooltip": "Signaled after Set Kernel Size Stage 3 Override is invoked" }, "details": { - "name": "SetKernelSizeStage3Override" + "name": "Set Kernel Size Stage 3 Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "SetKneeOverride", + "base": "SetKneeOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetKneeOverride" + "tooltip": "When signaled, this will invoke Set Knee Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetKneeOverride is invoked" + "tooltip": "Signaled after Set Knee Override is invoked" }, "details": { - "name": "SetKneeOverride" + "name": "Set Knee Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Value" } } ] }, { - "key": "GetBicubicEnabled", + "base": "GetBicubicEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetBicubicEnabled" + "tooltip": "When signaled, this will invoke Get Bicubic Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetBicubicEnabled is invoked" + "tooltip": "Signaled after Get Bicubic Enabled is invoked" }, "details": { - "name": "GetBicubicEnabled" + "name": "Get Bicubic Enabled" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BoundsRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BoundsRequestBus.names index a778eb6039..87ea2b079c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BoundsRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BoundsRequestBus.names @@ -1,53 +1,53 @@ { "entries": [ { - "key": "BoundsRequestBus", + "base": "BoundsRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "BoundsRequestBus" + "name": "Bounds Request Bus" }, "methods": [ { - "key": "GetWorldBounds", + "base": "GetWorldBounds", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetWorldBounds" + "tooltip": "When signaled, this will invoke Get World Bounds" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetWorldBounds is invoked" + "tooltip": "Signaled after Get World Bounds is invoked" }, "details": { - "name": "GetWorldBounds" + "name": "Get World Bounds" }, "results": [ { "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", "details": { - "name": "Aabb" + "name": "AABB" } } ] }, { - "key": "GetLocalBounds", + "base": "GetLocalBounds", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetLocalBounds" + "tooltip": "When signaled, this will invoke Get Local Bounds" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetLocalBounds is invoked" + "tooltip": "Signaled after Get Local Bounds is invoked" }, "details": { - "name": "GetLocalBounds" + "name": "Get Local Bounds" }, "results": [ { "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", "details": { - "name": "Aabb" + "name": "AABB" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BoxShapeComponentRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BoxShapeComponentRequestsBus.names index 816dc5e4ec..16fbe8c4bd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BoxShapeComponentRequestsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/BoxShapeComponentRequestsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "BoxShapeComponentRequestsBus", + "base": "BoxShapeComponentRequestsBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetBoxConfiguration", + "base": "GetBoxConfiguration", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Configuration" @@ -34,7 +34,7 @@ ] }, { - "key": "GetBoxDimensions", + "base": "GetBoxDimensions", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Dimensions" @@ -57,7 +57,7 @@ ] }, { - "key": "SetBoxDimensions", + "base": "SetBoxDimensions", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Dimensions" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CameraRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CameraRequestBus.names index 4fbeba0aa7..6c0112bfc2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CameraRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CameraRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CameraRequestBus", + "base": "CameraRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetOrthographicHalfWidth", + "base": "GetOrthographicHalfWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Orthographic Half Width" @@ -32,7 +32,7 @@ ] }, { - "key": "GetFov", + "base": "GetFov", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Field of View" @@ -54,7 +54,7 @@ ] }, { - "key": "SetFovRadians", + "base": "SetFovRadians", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Field of View (Radians)" @@ -76,7 +76,7 @@ ] }, { - "key": "SetNearClipDistance", + "base": "SetNearClipDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Near Clip Distance" @@ -98,7 +98,7 @@ ] }, { - "key": "IsOrthographic", + "base": "IsOrthographic", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Orthographic" @@ -120,7 +120,7 @@ ] }, { - "key": "SetFovDegrees", + "base": "SetFovDegrees", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Field of View (Degrees)" @@ -142,7 +142,7 @@ ] }, { - "key": "GetFovRadians", + "base": "GetFovRadians", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Field of View (Radians)" @@ -164,7 +164,7 @@ ] }, { - "key": "SetFov", + "base": "SetFov", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Field of View" @@ -186,7 +186,7 @@ ] }, { - "key": "MakeActiveView", + "base": "MakeActiveView", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Make Active View" @@ -200,7 +200,7 @@ } }, { - "key": "GetFarClipDistance", + "base": "GetFarClipDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Far Clip Distance" @@ -222,7 +222,7 @@ ] }, { - "key": "GetFovDegrees", + "base": "GetFovDegrees", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Field of View (Degrees)" @@ -244,7 +244,7 @@ ] }, { - "key": "SetOrthographic", + "base": "SetOrthographic", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Orthographic" @@ -266,7 +266,7 @@ ] }, { - "key": "SetOrthographicHalfWidth", + "base": "SetOrthographicHalfWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Orthographic Half Width" @@ -288,7 +288,7 @@ ] }, { - "key": "GetNearClipDistance", + "base": "GetNearClipDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Near Clip Distance" @@ -310,7 +310,7 @@ ] }, { - "key": "SetFarClipDistance", + "base": "SetFarClipDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Far Clip Distance" @@ -332,7 +332,7 @@ ] }, { - "key": "IsActiveView", + "base": "IsActiveView", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Active View" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CameraSystemRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CameraSystemRequestBus.names index 6ad6354cd4..c8f9638b52 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CameraSystemRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CameraSystemRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CameraSystemRequestBus", + "base": "CameraSystemRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetActiveCamera", + "base": "GetActiveCamera", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Active Camera" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CapsuleShapeComponentRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CapsuleShapeComponentRequestsBus.names index ac6a688b01..d8d9222b09 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CapsuleShapeComponentRequestsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CapsuleShapeComponentRequestsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CapsuleShapeComponentRequestsBus", + "base": "CapsuleShapeComponentRequestsBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetCapsuleConfiguration", + "base": "GetCapsuleConfiguration", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Configuration" @@ -34,7 +34,7 @@ ] }, { - "key": "SetHeight", + "base": "SetHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Height" @@ -58,7 +58,7 @@ ] }, { - "key": "SetRadius", + "base": "SetRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Radius" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CharacterControllerRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CharacterControllerRequestBus.names index b5b4dbfedd..e0226d0a6f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CharacterControllerRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CharacterControllerRequestBus.names @@ -1,63 +1,60 @@ { "entries": [ { - "key": "CharacterControllerRequestBus", + "base": "CharacterControllerRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "CharacterControllerRequestBus", + "name": "Character", "category": "PhysX" }, "methods": [ { - "key": "SetSlopeLimitDegrees", + "base": "SetSlopeLimitDegrees", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set Slope Limit (degrees)" + "tooltip": "When signaled, this will invoke Set Slope Limit Degrees" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Slope Limit (degrees) is invoked" + "tooltip": "Signaled after Set Slope Limit Degrees is invoked" }, "details": { - "name": "Set Slope Limit (degrees)", - "tooltip": "Sets the maximum slope (in degrees) which the controller can ascend" + "name": "Set Slope Limit Degrees" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Slope Limit (degrees)", - "tooltip": "The new value for the maximum slope (in degrees) which the controller can ascend" + "name": "Slope Limit" } } ] }, { - "key": "GetSlopeLimitDegrees", + "base": "GetSlopeLimitDegrees", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Slope Limit (degrees)" + "tooltip": "When signaled, this will invoke Get Slope Limit Degrees" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Slope Limit (degrees) is invoked" + "tooltip": "Signaled after Get Slope Limit Degrees is invoked" }, "details": { - "name": "Get Slope Limit (degrees)", - "tooltip": "Gets the maximum slope (in degrees) which the controller can ascend" + "name": "Get Slope Limit Degrees" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Slope Limit" } } ] }, { - "key": "SetMaximumSpeed", + "base": "SetMaximumSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Maximum Speed" @@ -67,21 +64,19 @@ "tooltip": "Signaled after Set Maximum Speed is invoked" }, "details": { - "name": "Set Maximum Speed", - "tooltip": "Sets the maximum speed, above which the accumulated requested velocity will be clamped" + "name": "Set Maximum Speed" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Maximum Speed", - "tooltip": "The new value for the maximum speed, above which the accumulated requested velocity will be clamped" + "name": "Maximum Speed" } } ] }, { - "key": "GetUpDirection", + "base": "GetUpDirection", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Up Direction" @@ -91,20 +86,19 @@ "tooltip": "Signaled after Get Up Direction is invoked" }, "details": { - "name": "Get Up Direction", - "tooltip": "Gets the direction considered to be upwards when simulating the character" + "name": "Get Up Direction" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Up" } } ] }, { - "key": "AddVelocity", + "base": "AddVelocity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Add Velocity" @@ -114,21 +108,19 @@ "tooltip": "Signaled after Add Velocity is invoked" }, "details": { - "name": "Add Velocity", - "tooltip": "Requests a velocity for the controller, to be accumulated with other requests this tick and cumulatively applied before the next physics update" + "name": "Add Velocity" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Velocity", - "tooltip": "The desired velocity" + "name": "Velocity" } } ] }, { - "key": "SetBasePosition", + "base": "SetBasePosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Base Position" @@ -138,21 +130,19 @@ "tooltip": "Signaled after Set Base Position is invoked" }, "details": { - "name": "Set Base Position", - "tooltip": "Directly moves (teleports) the controller to a new base position" + "name": "Set Base Position" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Base Position", - "tooltip": "The new value for the controller's base position" + "name": "Position" } } ] }, { - "key": "GetCenterPosition", + "base": "GetCenterPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Center Position" @@ -162,20 +152,19 @@ "tooltip": "Signaled after Get Center Position is invoked" }, "details": { - "name": "Get Center Position", - "tooltip": "Gets the position of the controller's center" + "name": "Get Center Position" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Position" } } ] }, { - "key": "GetStepHeight", + "base": "GetStepHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Step Height" @@ -185,20 +174,19 @@ "tooltip": "Signaled after Get Step Height is invoked" }, "details": { - "name": "Get Step Height", - "tooltip": "Gets the maximum height of steps which the controller can ascend" + "name": "Get Step Height" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Step Height" } } ] }, { - "key": "GetBasePosition", + "base": "GetBasePosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Base Position" @@ -208,20 +196,19 @@ "tooltip": "Signaled after Get Base Position is invoked" }, "details": { - "name": "Get Base Position", - "tooltip": "Gets the position of the controller's base" + "name": "Get Base Position" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Position" } } ] }, { - "key": "SetStepHeight", + "base": "SetStepHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Step Height" @@ -231,21 +218,19 @@ "tooltip": "Signaled after Set Step Height is invoked" }, "details": { - "name": "Set Step Height", - "tooltip": "Sets the maximum height of steps which the controller can ascend" + "name": "Set Step Height" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Step Height", - "tooltip": "The new value for the maximum height of steps which the controller can ascend" + "name": "Step Height" } } ] }, { - "key": "GetMaximumSpeed", + "base": "GetMaximumSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Maximum Speed" @@ -255,20 +240,19 @@ "tooltip": "Signaled after Get Maximum Speed is invoked" }, "details": { - "name": "Get Maximum Speed", - "tooltip": "Gets the maximum speed, above which the accumulated requested velocity will be clamped" + "name": "Get Maximum Speed" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Maximum Speed" } } ] }, { - "key": "GetVelocity", + "base": "GetVelocity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Velocity" @@ -278,14 +262,13 @@ "tooltip": "Signaled after Get Velocity is invoked" }, "details": { - "name": "Get Velocity", - "tooltip": "Gets the character's observed velocity from the last simulation update" + "name": "Get Velocity" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Velocity" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CharacterGameplayRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CharacterGameplayRequestBus.names new file mode 100644 index 0000000000..f3b01b7898 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CharacterGameplayRequestBus.names @@ -0,0 +1,124 @@ +{ + "entries": [ + { + "base": "CharacterGameplayRequestBus", + "context": "EBusSender", + "variant": "", + "details": { + "name": "Character" + }, + "methods": [ + { + "base": "GetFallingVelocity", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Falling Velocity" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Falling Velocity is invoked" + }, + "details": { + "name": "Get Falling Velocity" + }, + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Falling Velocity" + } + } + ] + }, + { + "base": "GetGravityMultiplier", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Gravity Multiplier" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Gravity Multiplier is invoked" + }, + "details": { + "name": "Get Gravity Multiplier" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Gravity Multiplier" + } + } + ] + }, + { + "base": "SetGravityMultiplier", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Gravity Multiplier" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Gravity Multiplier is invoked" + }, + "details": { + "name": "Set Gravity Multiplier" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Gravity Multiplier" + } + } + ] + }, + { + "base": "IsOnGround", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Is On Ground" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Is On Ground is invoked" + }, + "details": { + "name": "Is On Ground" + }, + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Is On Ground" + } + } + ] + }, + { + "base": "SetFallingVelocity", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Falling Velocity" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Falling Velocity is invoked" + }, + "details": { + "name": "Set Falling Velocity" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Falling Velocity" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CollisionFilteringBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CollisionFilteringBus.names index ea74fb1d02..b4f903b1d2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CollisionFilteringBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CollisionFilteringBus.names @@ -1,16 +1,15 @@ { "entries": [ { - "key": "CollisionFilteringBus", + "base": "CollisionFilteringBus", "context": "EBusSender", "variant": "", "details": { - "name": "CollisionFilteringBus", - "category": "PhysX" + "name": "Collision Filtering" }, "methods": [ { - "key": "ToggleCollisionLayer", + "base": "ToggleCollisionLayer", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Toggle Collision Layer" @@ -20,35 +19,31 @@ "tooltip": "Signaled after Toggle Collision Layer is invoked" }, "details": { - "name": "Toggle Collision Layer", - "tooltip": "Toggles a collision layer on or off on a collision group." + "name": "Toggle Collision Layer" }, "params": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "Layer Name", - "tooltip": "The name of the layer to toggle. The layer name must exist in the PhysX Configuration otherwise this node will have no effect." + "name": "Layer Name" } }, { "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", "details": { - "name": "Collider Tag", - "tooltip": "Use this to target a specific collider on the entity. If left blank, all colliders will be updated." + "name": "Collider Tag" } }, { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Enabled", - "tooltip": "Toggles the layer on or off" + "name": "Enabled" } } ] }, { - "key": "SetCollisionGroup", + "base": "SetCollisionGroup", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Collision Group" @@ -58,28 +53,25 @@ "tooltip": "Signaled after Set Collision Group is invoked" }, "details": { - "name": "Set Collision Group", - "tooltip": "Sets the collision group on a collider" + "name": "Set Collision Group" }, "params": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "Group Name", - "tooltip": "The name of the group to set. The group name must exist in the PhysX Configuration otherwise this node will have no effect." + "name": "Group Name" } }, { "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", "details": { - "name": "Collider Tag", - "tooltip": "Use this to target a specific collider on the entity. If left blank, all colliders will be updated." + "name": "Collider Tag" } } ] }, { - "key": "GetCollisionGroupName", + "base": "GetCollisionGroupName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Collision Group Name" @@ -89,20 +81,19 @@ "tooltip": "Signaled after Get Collision Group Name is invoked" }, "details": { - "name": "Get Collision Group Name", - "tooltip": "Gets the collision group on an entity. Note: multiple colliders on an entity are not supported." + "name": "Get Collision Group Name" }, "results": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Name" } } ] }, { - "key": "GetCollisionLayerName", + "base": "GetCollisionLayerName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Collision Layer Name" @@ -112,20 +103,19 @@ "tooltip": "Signaled after Get Collision Layer Name is invoked" }, "details": { - "name": "Get Collision Layer Name", - "tooltip": "Gets the collision layer on an entity. Note: multiple colliders on an entity are not supported." + "name": "Get Collision Layer Name" }, "results": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Name" } } ] }, { - "key": "SetCollisionLayer", + "base": "SetCollisionLayer", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Collision Layer" @@ -135,22 +125,19 @@ "tooltip": "Signaled after Set Collision Layer is invoked" }, "details": { - "name": "Set Collision Layer", - "tooltip": "Sets the collision layer on a collider" + "name": "Set Collision Layer" }, "params": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "Layer Name", - "tooltip": "The name of the layer to set. The layer name must exist in the PhysX Configuration otherwise this node will have no effect." + "name": "Layer Name" } }, { "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", "details": { - "name": "Collider Tag", - "tooltip": "Use this to target a specific collider on the entity. If left blank, all colliders will be updated." + "name": "Collider Tag" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ComponentApplicationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ComponentApplicationBus.names index 59eb3e5025..21682964e3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ComponentApplicationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ComponentApplicationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ComponentApplicationBus", + "base": "ComponentApplicationBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetEntityName", + "base": "GetEntityName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Entity Name" @@ -41,7 +41,7 @@ ] }, { - "key": "SetEntityName", + "base": "SetEntityName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Entity Name" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ComponentModeSystemRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ComponentModeSystemRequestBus.names index c2cbe27fbb..d657a8218a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ComponentModeSystemRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ComponentModeSystemRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ComponentModeSystemRequestBus", + "base": "ComponentModeSystemRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "EnterComponentMode", + "base": "EnterComponentMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke EnterComponentMode" @@ -31,7 +31,7 @@ ] }, { - "key": "EndComponentMode", + "base": "EndComponentMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke EndComponentMode" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ConsoleRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ConsoleRequestBus.names index d956496c3e..2f2c1a69f7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ConsoleRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ConsoleRequestBus.names @@ -1,16 +1,16 @@ { "entries": [ { - "key": "ConsoleRequestBus", + "base": "ConsoleRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "ConsoleRequestBus", + "name": "Console", "category": "Utilities" }, "methods": [ { - "key": "ExecuteConsoleCommand", + "base": "ExecuteConsoleCommand", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Execute Console Command" @@ -26,7 +26,7 @@ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Command" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ConstantGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ConstantGradientRequestBus.names index 6d445cc293..a7313a9ffd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ConstantGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ConstantGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ConstantGradientRequestBus", + "base": "ConstantGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetConstantValue", + "base": "GetConstantValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetConstantValue" @@ -31,7 +31,7 @@ ] }, { - "key": "SetConstantValue", + "base": "SetConstantValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetConstantValue" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CylinderShapeComponentRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CylinderShapeComponentRequestsBus.names index a4bd93758f..b4de59a887 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CylinderShapeComponentRequestsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/CylinderShapeComponentRequestsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CylinderShapeComponentRequestsBus", + "base": "CylinderShapeComponentRequestsBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetCylinderConfiguration", + "base": "GetCylinderConfiguration", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Configuration" @@ -34,7 +34,7 @@ ] }, { - "key": "SetHeight", + "base": "SetHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Height" @@ -58,7 +58,7 @@ ] }, { - "key": "SetRadius", + "base": "SetRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Radius" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DebugDrawRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DebugDrawRequestBus.names index 18933932f8..78c04e0aea 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DebugDrawRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DebugDrawRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "DebugDrawRequestBus", + "base": "DebugDrawRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "DrawTextOnEntity", + "base": "DrawTextOnEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Text On Entity" @@ -50,7 +50,7 @@ ] }, { - "key": "DrawRayEntityToDirection", + "base": "DrawRayEntityToDirection", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Ray Entity To Direction" @@ -91,7 +91,7 @@ ] }, { - "key": "DrawObb", + "base": "DrawObb", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Oriented Bounding Box" @@ -125,7 +125,7 @@ ] }, { - "key": "DrawObbOnEntity", + "base": "DrawObbOnEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Oriented Bounding Box on Entity" @@ -166,7 +166,7 @@ ] }, { - "key": "DrawRayLocationToDirection", + "base": "DrawRayLocationToDirection", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Ray Location To Direction" @@ -206,7 +206,7 @@ ] }, { - "key": "DrawSphereOnEntity", + "base": "DrawSphereOnEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Sphere On Entity" @@ -247,7 +247,7 @@ ] }, { - "key": "DrawAabbOnEntity", + "base": "DrawAabbOnEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Axis Aligned Bounding Box On Entity" @@ -288,7 +288,7 @@ ] }, { - "key": "DrawLineEntityToEntity", + "base": "DrawLineEntityToEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Line Entity To Entity" @@ -330,7 +330,7 @@ ] }, { - "key": "DrawTextAtLocation", + "base": "DrawTextAtLocation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Text At Location" @@ -370,7 +370,7 @@ ] }, { - "key": "DrawTextOnScreen", + "base": "DrawTextOnScreen", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Text On Screen" @@ -404,7 +404,7 @@ ] }, { - "key": "DrawAabb", + "base": "DrawAabb", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Axis Aligned Bounding Box" @@ -438,7 +438,7 @@ ] }, { - "key": "DrawLineLocationToLocation", + "base": "DrawLineLocationToLocation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Line Location To Location" @@ -478,7 +478,7 @@ ] }, { - "key": "DrawLineEntityToLocation", + "base": "DrawLineEntityToLocation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Line Entity To Location" @@ -519,7 +519,7 @@ ] }, { - "key": "DrawRayEntityToEntity", + "base": "DrawRayEntityToEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Ray Entity To Entity" @@ -561,7 +561,7 @@ ] }, { - "key": "DrawSphereAtLocation", + "base": "DrawSphereAtLocation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Draw Sphere At Location" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DecalRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DecalRequestBus.names index 2d69295887..7be614892d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DecalRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DecalRequestBus.names @@ -1,185 +1,186 @@ { "entries": [ { - "key": "DecalRequestBus", + "base": "DecalRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "DecalRequestBus" + "name": "Decal", + "category": "Rendering" }, "methods": [ { - "key": "GetMaterial", + "base": "GetMaterial", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetMaterial" + "tooltip": "When signaled, this will invoke Get Material" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetMaterial is invoked" + "tooltip": "Signaled after Get Material is invoked" }, "details": { - "name": "GetMaterial" + "name": "Get Material" }, "results": [ { "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AssetId" + "name": "Asset Id" } } ] }, { - "key": "GetSortKey", + "base": "GetSortKey", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetSortKey" + "tooltip": "When signaled, this will invoke Get Sort Key" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetSortKey is invoked" + "tooltip": "Signaled after Get Sort Key is invoked" }, "details": { - "name": "GetSortKey" + "name": "Get Sort Key" }, "results": [ { "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", "details": { - "name": "unsigned char" + "name": "Sort Key" } } ] }, { - "key": "SetSortKey", + "base": "SetSortKey", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetSortKey" + "tooltip": "When signaled, this will invoke Set Sort Key" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetSortKey is invoked" + "tooltip": "Signaled after Set Sort Key is invoked" }, "details": { - "name": "SetSortKey" + "name": "Set Sort Key" }, "params": [ { "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", "details": { - "name": "unsigned char" + "name": "Sort Key" } } ] }, { - "key": "SetMaterial", + "base": "SetMaterial", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetMaterial" + "tooltip": "When signaled, this will invoke Set Material" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetMaterial is invoked" + "tooltip": "Signaled after Set Material is invoked" }, "details": { - "name": "SetMaterial" + "name": "Set Material" }, "params": [ { "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AssetId" + "name": "Asset Id" } } ] }, { - "key": "SetAttenuationAngle", + "base": "SetAttenuationAngle", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAttenuationAngle" + "tooltip": "When signaled, this will invoke Set Attenuation Angle" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAttenuationAngle is invoked" + "tooltip": "Signaled after Set Attenuation Angle is invoked" }, "details": { - "name": "SetAttenuationAngle" + "name": "Set Attenuation Angle" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Attenuation Angle" } } ] }, { - "key": "GetOpacity", + "base": "GetOpacity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOpacity" + "tooltip": "When signaled, this will invoke Get Opacity" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOpacity is invoked" + "tooltip": "Signaled after Get Opacity is invoked" }, "details": { - "name": "GetOpacity" + "name": "Get Opacity" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Opacity" } } ] }, { - "key": "SetOpacity", + "base": "SetOpacity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetOpacity" + "tooltip": "When signaled, this will invoke Set Opacity" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetOpacity is invoked" + "tooltip": "Signaled after Set Opacity is invoked" }, "details": { - "name": "SetOpacity" + "name": "Set Opacity" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Opacity" } } ] }, { - "key": "GetAttenuationAngle", + "base": "GetAttenuationAngle", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAttenuationAngle" + "tooltip": "When signaled, this will invoke Get Attenuation Angle" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAttenuationAngle is invoked" + "tooltip": "Signaled after Get Attenuation Angle is invoked" }, "details": { - "name": "GetAttenuationAngle" + "name": "Get Attenuation Angle" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Attenuation Angle" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DeferredFogRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DeferredFogRequestsBus.names index ff796ed9d8..a3ba8eda5d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DeferredFogRequestsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DeferredFogRequestsBus.names @@ -1,493 +1,494 @@ { "entries": [ { - "key": "DeferredFogRequestsBus", + "base": "DeferredFogRequestsBus", "context": "EBusSender", "variant": "", "details": { - "name": "DeferredFogRequestsBus" + "name": "Deferred Fog", + "category": "Rendering" }, "methods": [ { - "key": "SetNoiseTexture", + "base": "SetNoiseTexture", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNoiseTexture" + "tooltip": "When signaled, this will invoke Set Noise Texture" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNoiseTexture is invoked" + "tooltip": "Signaled after Set Noise Texture is invoked" }, "details": { - "name": "SetNoiseTexture" + "name": "Set Noise Texture" }, "params": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Path" } } ] }, { - "key": "SetNoiseTexCoordScale", + "base": "SetNoiseTexCoordScale", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNoiseTexCoordScale" + "tooltip": "When signaled, this will invoke Set Noise Tex Coord Scale" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNoiseTexCoordScale is invoked" + "tooltip": "Signaled after Set Noise Tex Coord Scale is invoked" }, "details": { - "name": "SetNoiseTexCoordScale" + "name": "Set Noise Tex Coord Scale" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Tex Coord Scale" } } ] }, { - "key": "SetNoiseTexCoord2Scale", + "base": "SetNoiseTexCoord2Scale", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNoiseTexCoord2Scale" + "tooltip": "When signaled, this will invoke Set Noise Tex Coord 2 Scale" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNoiseTexCoord2Scale is invoked" + "tooltip": "Signaled after Set Noise Tex Coord 2 Scale is invoked" }, "details": { - "name": "SetNoiseTexCoord2Scale" + "name": "Set Noise Tex Coord 2 Scale" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Tex Coord 2 Scale" } } ] }, { - "key": "GetFogMaxHeight", + "base": "GetFogMaxHeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFogMaxHeight" + "tooltip": "When signaled, this will invoke Get Fog Max Height" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFogMaxHeight is invoked" + "tooltip": "Signaled after Get Fog Max Height is invoked" }, "details": { - "name": "GetFogMaxHeight" + "name": "Get Fog Max Height" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Max Height" } } ] }, { - "key": "GetNoiseTexCoordScale", + "base": "GetNoiseTexCoordScale", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNoiseTexCoordScale" + "tooltip": "When signaled, this will invoke Get Noise Tex Coord Scale" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNoiseTexCoordScale is invoked" + "tooltip": "Signaled after Get Noise Tex Coord Scale is invoked" }, "details": { - "name": "GetNoiseTexCoordScale" + "name": "Get Noise Tex Coord Scale" }, "results": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Tex Coord Scale" } } ] }, { - "key": "GetNoiseTexCoordVelocity", + "base": "GetNoiseTexCoordVelocity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNoiseTexCoordVelocity" + "tooltip": "When signaled, this will invoke Get Noise Tex Coord Velocity" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNoiseTexCoordVelocity is invoked" + "tooltip": "Signaled after Get Noise Tex Coord Velocity is invoked" }, "details": { - "name": "GetNoiseTexCoordVelocity" + "name": "Get Noise Tex Coord Velocity" }, "results": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Tex Coord Velocity" } } ] }, { - "key": "SetFogEndDistance", + "base": "SetFogEndDistance", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFogEndDistance" + "tooltip": "When signaled, this will invoke Set Fog End Distance" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFogEndDistance is invoked" + "tooltip": "Signaled after Set Fog End Distance is invoked" }, "details": { - "name": "SetFogEndDistance" + "name": "Set Fog End Distance" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Fod End Distance" } } ] }, { - "key": "GetFogEndDistance", + "base": "GetFogEndDistance", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFogEndDistance" + "tooltip": "When signaled, this will invoke Get Fog End Distance" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFogEndDistance is invoked" + "tooltip": "Signaled after Get Fog End Distance is invoked" }, "details": { - "name": "GetFogEndDistance" + "name": "Get Fog End Distance" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Fog End Distance" } } ] }, { - "key": "GetNoiseTexCoord2Scale", + "base": "GetNoiseTexCoord2Scale", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNoiseTexCoord2Scale" + "tooltip": "When signaled, this will invoke Get Noise Tex Coord 2 Scale" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNoiseTexCoord2Scale is invoked" + "tooltip": "Signaled after Get Noise Tex Coord 2 Scale is invoked" }, "details": { - "name": "GetNoiseTexCoord2Scale" + "name": "Get Noise Tex Coord 2 Scale" }, "results": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Tex Coord 2 Scale" } } ] }, { - "key": "SetNoiseTexCoord2Velocity", + "base": "SetNoiseTexCoord2Velocity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNoiseTexCoord2Velocity" + "tooltip": "When signaled, this will invoke Set Noise Tex Coord 2 Velocity" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNoiseTexCoord2Velocity is invoked" + "tooltip": "Signaled after Set Noise Tex Coord 2 Velocity is invoked" }, "details": { - "name": "SetNoiseTexCoord2Velocity" + "name": "Set Noise Tex Coord 2 Velocity" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Tex Coord 2 Velocity" } } ] }, { - "key": "GetFogStartDistance", + "base": "GetFogStartDistance", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFogStartDistance" + "tooltip": "When signaled, this will invoke Get Fog Start Distance" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFogStartDistance is invoked" + "tooltip": "Signaled after Get Fog Start Distance is invoked" }, "details": { - "name": "GetFogStartDistance" + "name": "Get Fog Start Distance" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Fog Start Distance" } } ] }, { - "key": "SetFogMaxHeight", + "base": "SetFogMaxHeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFogMaxHeight" + "tooltip": "When signaled, this will invoke Set Fog Max Height" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFogMaxHeight is invoked" + "tooltip": "Signaled after Set Fog Max Height is invoked" }, "details": { - "name": "SetFogMaxHeight" + "name": "Set Fog Max Height" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Fog Max Height" } } ] }, { - "key": "SetNoiseTexCoordVelocity", + "base": "SetNoiseTexCoordVelocity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetNoiseTexCoordVelocity" + "tooltip": "When signaled, this will invoke Set Noise Tex Coord Velocity" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetNoiseTexCoordVelocity is invoked" + "tooltip": "Signaled after Set Noise Tex Coord Velocity is invoked" }, "details": { - "name": "SetNoiseTexCoordVelocity" + "name": "Set Noise Tex Coord Velocity" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Tex Coord Velocity" } } ] }, { - "key": "GetNoiseTexCoord2Velocity", + "base": "GetNoiseTexCoord2Velocity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNoiseTexCoord2Velocity" + "tooltip": "When signaled, this will invoke Get Noise Tex Coord 2 Velocity" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNoiseTexCoord2Velocity is invoked" + "tooltip": "Signaled after Get Noise Tex Coord 2 Velocity is invoked" }, "details": { - "name": "GetNoiseTexCoord2Velocity" + "name": "Get Noise Tex Coord 2 Velocity" }, "results": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Tex Coord 2 Velocity" } } ] }, { - "key": "SetFogStartDistance", + "base": "SetFogStartDistance", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFogStartDistance" + "tooltip": "When signaled, this will invoke Set Fog Start Distance" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFogStartDistance is invoked" + "tooltip": "Signaled after Set Fog Start Distance is invoked" }, "details": { - "name": "SetFogStartDistance" + "name": "Set Fog Start Distance" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Fog Start Distance" } } ] }, { - "key": "GetFogMinHeight", + "base": "GetFogMinHeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFogMinHeight" + "tooltip": "When signaled, this will invoke Get Fog Min Height" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFogMinHeight is invoked" + "tooltip": "Signaled after Get Fog Min Height is invoked" }, "details": { - "name": "GetFogMinHeight" + "name": "Get Fog Min Height" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Fog Min Height" } } ] }, { - "key": "GetFogColor", + "base": "GetFogColor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFogColor" + "tooltip": "When signaled, this will invoke Get Fog Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFogColor is invoked" + "tooltip": "Signaled after Get Fog Color is invoked" }, "details": { - "name": "GetFogColor" + "name": "Get Fog Color" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Fog Color" } } ] }, { - "key": "SetOctavesBlendFactor", + "base": "SetOctavesBlendFactor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetOctavesBlendFactor" + "tooltip": "When signaled, this will invoke Set Octaves Blend Factor" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetOctavesBlendFactor is invoked" + "tooltip": "Signaled after Set Octaves Blend Factor is invoked" }, "details": { - "name": "SetOctavesBlendFactor" + "name": "Set Octaves Blend Factor" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Octaves Blend Factor" } } ] }, { - "key": "GetOctavesBlendFactor", + "base": "GetOctavesBlendFactor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOctavesBlendFactor" + "tooltip": "When signaled, this will invoke Get Octaves Blend Factor" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOctavesBlendFactor is invoked" + "tooltip": "Signaled after Get Octaves Blend Factor is invoked" }, "details": { - "name": "GetOctavesBlendFactor" + "name": "Get Octaves Blend Factor" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Octaves Blend Factor" } } ] }, { - "key": "SetFogColor", + "base": "SetFogColor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFogColor" + "tooltip": "When signaled, this will invoke Set Fog Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFogColor is invoked" + "tooltip": "Signaled after Set Fog Color is invoked" }, "details": { - "name": "SetFogColor" + "name": "Set Fog Color" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Fog Color" } } ] }, { - "key": "SetFogMinHeight", + "base": "SetFogMinHeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFogMinHeight" + "tooltip": "When signaled, this will invoke Set Fog Min Height" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFogMinHeight is invoked" + "tooltip": "Signaled after Set Fog Min Height is invoked" }, "details": { - "name": "SetFogMinHeight" + "name": "Set Fog Min Height" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Fog Min Height" } } ] }, { - "key": "GetNoiseTexture", + "base": "GetNoiseTexture", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetNoiseTexture" + "tooltip": "When signaled, this will invoke Get Noise Texture" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetNoiseTexture is invoked" + "tooltip": "Signaled after Get Noise Texture is invoked" }, "details": { - "name": "GetNoiseTexture" + "name": "Get Noise Texture" }, "results": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Path" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DepthOfFieldRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DepthOfFieldRequestBus.names index 1fbc15e794..781ef189cc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DepthOfFieldRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DepthOfFieldRequestBus.names @@ -1,532 +1,533 @@ { "entries": [ { - "key": "DepthOfFieldRequestBus", + "base": "DepthOfFieldRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "DepthOfFieldRequestBus" + "name": "Depth Of Field", + "category": "Post Process" }, "methods": [ { - "key": "GetEnableDebugColoringOverride", + "base": "GetEnableDebugColoringOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEnableDebugColoringOverride" + "tooltip": "When signaled, this will invoke Get Enable Debug Coloring Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEnableDebugColoringOverride is invoked" + "tooltip": "Signaled after Get Enable Debug Coloring Override is invoked" }, "details": { - "name": "GetEnableDebugColoringOverride" + "name": "Get Enable Debug Coloring Override" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetAutoFocusSpeedOverride", + "base": "GetAutoFocusSpeedOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAutoFocusSpeedOverride" + "tooltip": "When signaled, this will invoke Get Auto Focus Speed Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAutoFocusSpeedOverride is invoked" + "tooltip": "Signaled after Get Auto Focus Speed Override is invoked" }, "details": { - "name": "GetAutoFocusSpeedOverride" + "name": "Get Auto Focus Speed Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Speed" } } ] }, { - "key": "SetAutoFocusSensitivity", + "base": "SetAutoFocusSensitivity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAutoFocusSensitivity" + "tooltip": "When signaled, this will invoke Set Auto Focus Sensitivity" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAutoFocusSensitivity is invoked" + "tooltip": "Signaled after Set Auto Focus Sensitivity is invoked" }, "details": { - "name": "SetAutoFocusSensitivity" + "name": "Set Auto Focus Sensitivity" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Sensitivity" } } ] }, { - "key": "SetAutoFocusDelayOverride", + "base": "SetAutoFocusDelayOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAutoFocusDelayOverride" + "tooltip": "When signaled, this will invoke Set Auto Focus Delay Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAutoFocusDelayOverride is invoked" + "tooltip": "Signaled after Set Auto Focus Delay Override is invoked" }, "details": { - "name": "SetAutoFocusDelayOverride" + "name": "Set Auto Focus Delay Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Delay" } } ] }, { - "key": "GetAutoFocusScreenPosition", + "base": "GetAutoFocusScreenPosition", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAutoFocusScreenPosition" + "tooltip": "When signaled, this will invoke Get Auto Focus Screen Position" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAutoFocusScreenPosition is invoked" + "tooltip": "Signaled after Get Auto Focus Screen Position is invoked" }, "details": { - "name": "GetAutoFocusScreenPosition" + "name": "Get Auto Focus Screen Position" }, "results": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Auto Focus Screen" } } ] }, { - "key": "GetEnableDebugColoring", + "base": "GetEnableDebugColoring", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEnableDebugColoring" + "tooltip": "When signaled, this will invoke Get Enable Debug Coloring" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEnableDebugColoring is invoked" + "tooltip": "Signaled after Get Enable Debug Coloring is invoked" }, "details": { - "name": "GetEnableDebugColoring" + "name": "Get Enable Debug Coloring" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetFocusDistance", + "base": "SetFocusDistance", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFocusDistance" + "tooltip": "When signaled, this will invoke Set Focus Distance" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFocusDistance is invoked" + "tooltip": "Signaled after Set Focus Distance is invoked" }, "details": { - "name": "SetFocusDistance" + "name": "Set Focus Distance" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Focus Distance" } } ] }, { - "key": "SetQualityLevel", + "base": "SetQualityLevel", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetQualityLevel" + "tooltip": "When signaled, this will invoke Set Quality Level" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetQualityLevel is invoked" + "tooltip": "Signaled after Set Quality Level is invoked" }, "details": { - "name": "SetQualityLevel" + "name": "Set Quality Level" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Quality Level" } } ] }, { - "key": "SetCameraEntityId", + "base": "SetCameraEntityId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetCameraEntityId" + "tooltip": "When signaled, this will invoke Set Camera Entity Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetCameraEntityId is invoked" + "tooltip": "Signaled after Set Camera Entity Id is invoked" }, "details": { - "name": "SetCameraEntityId" + "name": "Set Camera Entity Id" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "SetAutoFocusDelay", + "base": "SetAutoFocusDelay", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAutoFocusDelay" + "tooltip": "When signaled, this will invoke Set Auto Focus Delay" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAutoFocusDelay is invoked" + "tooltip": "Signaled after Set Auto Focus Delay is invoked" }, "details": { - "name": "SetAutoFocusDelay" + "name": "Set Auto Focus Delay" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Delay" } } ] }, { - "key": "GetAutoFocusDelay", + "base": "GetAutoFocusDelay", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAutoFocusDelay" + "tooltip": "When signaled, this will invoke Get Auto Focus Delay" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAutoFocusDelay is invoked" + "tooltip": "Signaled after Get Auto Focus Delay is invoked" }, "details": { - "name": "GetAutoFocusDelay" + "name": "Get Auto Focus Delay" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Delay" } } ] }, { - "key": "SetAutoFocusScreenPosition", + "base": "SetAutoFocusScreenPosition", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAutoFocusScreenPosition" + "tooltip": "When signaled, this will invoke Set Auto Focus Screen Position" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAutoFocusScreenPosition is invoked" + "tooltip": "Signaled after Set Auto Focus Screen Position is invoked" }, "details": { - "name": "SetAutoFocusScreenPosition" + "name": "Set Auto Focus Screen Position" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Auto Focus Screen Position" } } ] }, { - "key": "GetFNumber", + "base": "GetFNumber", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFNumber" + "tooltip": "When signaled, this will invoke GetF Number" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFNumber is invoked" + "tooltip": "Signaled after GetF Number is invoked" }, "details": { - "name": "GetFNumber" + "name": "Get F Number" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "F Number" } } ] }, { - "key": "SetApertureFOverride", + "base": "SetApertureFOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetApertureFOverride" + "tooltip": "When signaled, this will invoke Set ApertureF Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetApertureFOverride is invoked" + "tooltip": "Signaled after Set ApertureF Override is invoked" }, "details": { - "name": "SetApertureFOverride" + "name": "Set Aperture F Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Aperture F" } } ] }, { - "key": "SetEnabled", + "base": "SetEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnabled" + "tooltip": "When signaled, this will invoke Set Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnabled is invoked" + "tooltip": "Signaled after Set Enabled is invoked" }, "details": { - "name": "SetEnabled" + "name": "Set Enabled" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetAutoFocusScreenPositionOverride", + "base": "SetAutoFocusScreenPositionOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAutoFocusScreenPositionOverride" + "tooltip": "When signaled, this will invoke Set Auto Focus Screen Position Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAutoFocusScreenPositionOverride is invoked" + "tooltip": "Signaled after Set Auto Focus Screen Position Override is invoked" }, "details": { - "name": "SetAutoFocusScreenPositionOverride" + "name": "Set Auto Focus Screen Position Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Screen Position" } } ] }, { - "key": "GetQualityLevelOverride", + "base": "GetQualityLevelOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetQualityLevelOverride" + "tooltip": "When signaled, this will invoke Get Quality Level Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetQualityLevelOverride is invoked" + "tooltip": "Signaled after Get Quality Level Override is invoked" }, "details": { - "name": "GetQualityLevelOverride" + "name": "Get Quality Level Override" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Quality Level" } } ] }, { - "key": "SetAutoFocusSpeedOverride", + "base": "SetAutoFocusSpeedOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAutoFocusSpeedOverride" + "tooltip": "When signaled, this will invoke Set Auto Focus Speed Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAutoFocusSpeedOverride is invoked" + "tooltip": "Signaled after Set Auto Focus Speed Override is invoked" }, "details": { - "name": "SetAutoFocusSpeedOverride" + "name": "Set Auto Focus Speed Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Speed" } } ] }, { - "key": "GetEnableAutoFocusOverride", + "base": "GetEnableAutoFocusOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEnableAutoFocusOverride" + "tooltip": "When signaled, this will invoke Get Enable Auto Focus Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEnableAutoFocusOverride is invoked" + "tooltip": "Signaled after Get Enable Auto Focus Override is invoked" }, "details": { - "name": "GetEnableAutoFocusOverride" + "name": "Get Enable Auto Focus Override" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetEnableDebugColoring", + "base": "SetEnableDebugColoring", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnableDebugColoring" + "tooltip": "When signaled, this will invoke Set Enable Debug Coloring" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnableDebugColoring is invoked" + "tooltip": "Signaled after Set Enable Debug Coloring is invoked" }, "details": { - "name": "SetEnableDebugColoring" + "name": "Set Enable Debug Coloring" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetFocusDistanceOverride", + "base": "SetFocusDistanceOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFocusDistanceOverride" + "tooltip": "When signaled, this will invoke Set Focus Distance Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFocusDistanceOverride is invoked" + "tooltip": "Signaled after Set Focus Distance Override is invoked" }, "details": { - "name": "SetFocusDistanceOverride" + "name": "Set Focus Distance Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Focus Distance" } } ] }, { - "key": "GetEnableAutoFocus", + "base": "GetEnableAutoFocus", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEnableAutoFocus" + "tooltip": "When signaled, this will invoke Get Enable Auto Focus" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEnableAutoFocus is invoked" + "tooltip": "Signaled after Get Enable Auto Focus is invoked" }, "details": { - "name": "GetEnableAutoFocus" + "name": "Get Enable Auto Focus" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] }, { - "key": "SetApertureF", + "base": "SetApertureF", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetApertureF" + "tooltip": "When signaled, this will invoke Set ApertureF" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetApertureF is invoked" + "tooltip": "Signaled after Set ApertureF is invoked" }, "details": { - "name": "SetApertureF" + "name": "Set Aperture F" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Aperture F" } } ] }, { - "key": "SetCameraEntityIdOverride", + "base": "SetCameraEntityIdOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetCameraEntityIdOverride" + "tooltip": "When signaled, this will invoke Set Camera Entity Id Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetCameraEntityIdOverride is invoked" + "tooltip": "Signaled after Set Camera Entity Id Override is invoked" }, "details": { - "name": "SetCameraEntityIdOverride" + "name": "Set Camera Entity Id Override" }, "params": [ { @@ -538,458 +539,458 @@ ] }, { - "key": "GetEnabled", + "base": "GetEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEnabled" + "tooltip": "When signaled, this will invoke Get Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEnabled is invoked" + "tooltip": "Signaled after Get Enabled is invoked" }, "details": { - "name": "GetEnabled" + "name": "Get Enabled" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetFocusDistance", + "base": "GetFocusDistance", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFocusDistance" + "tooltip": "When signaled, this will invoke Get Focus Distance" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFocusDistance is invoked" + "tooltip": "Signaled after Get Focus Distance is invoked" }, "details": { - "name": "GetFocusDistance" + "name": "Get Focus Distance" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Focus Distance" } } ] }, { - "key": "GetEnabledOverride", + "base": "GetEnabledOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetEnabledOverride" + "tooltip": "When signaled, this will invoke Get Enabled Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetEnabledOverride is invoked" + "tooltip": "Signaled after Get Enabled Override is invoked" }, "details": { - "name": "GetEnabledOverride" + "name": "Get Enabled Override" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetCameraEntityId", + "base": "GetCameraEntityId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCameraEntityId" + "tooltip": "When signaled, this will invoke Get Camera Entity Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCameraEntityId is invoked" + "tooltip": "Signaled after Get Camera Entity Id is invoked" }, "details": { - "name": "GetCameraEntityId" + "name": "Get Camera Entity Id" }, "results": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "GetAutoFocusScreenPositionOverride", + "base": "GetAutoFocusScreenPositionOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAutoFocusScreenPositionOverride" + "tooltip": "When signaled, this will invoke Get Auto Focus Screen Position Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAutoFocusScreenPositionOverride is invoked" + "tooltip": "Signaled after Get Auto Focus Screen Position Override is invoked" }, "details": { - "name": "GetAutoFocusScreenPositionOverride" + "name": "Get Auto Focus Screen Position Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Screen Position" } } ] }, { - "key": "GetAutoFocusSpeed", + "base": "GetAutoFocusSpeed", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAutoFocusSpeed" + "tooltip": "When signaled, this will invoke Get Auto Focus Speed" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAutoFocusSpeed is invoked" + "tooltip": "Signaled after Get Auto Focus Speed is invoked" }, "details": { - "name": "GetAutoFocusSpeed" + "name": "Get Auto Focus Speed" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Speed" } } ] }, { - "key": "SetEnabledOverride", + "base": "SetEnabledOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnabledOverride" + "tooltip": "When signaled, this will invoke Set Enabled Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnabledOverride is invoked" + "tooltip": "Signaled after Set Enabled Override is invoked" }, "details": { - "name": "SetEnabledOverride" + "name": "Set Enabled Override" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetAutoFocusSensitivity", + "base": "GetAutoFocusSensitivity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAutoFocusSensitivity" + "tooltip": "When signaled, this will invoke Get Auto Focus Sensitivity" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAutoFocusSensitivity is invoked" + "tooltip": "Signaled after Get Auto Focus Sensitivity is invoked" }, "details": { - "name": "GetAutoFocusSensitivity" + "name": "Get Auto Focus Sensitivity" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Sensitivity" } } ] }, { - "key": "GetAutoFocusDelayOverride", + "base": "GetAutoFocusDelayOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAutoFocusDelayOverride" + "tooltip": "When signaled, this will invoke Get Auto Focus Delay Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAutoFocusDelayOverride is invoked" + "tooltip": "Signaled after Get Auto Focus Delay Override is invoked" }, "details": { - "name": "GetAutoFocusDelayOverride" + "name": "Get Auto Focus Delay Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Delay" } } ] }, { - "key": "GetApertureF", + "base": "GetApertureF", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetApertureF" + "tooltip": "When signaled, this will invoke Get ApertureF" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetApertureF is invoked" + "tooltip": "Signaled after Get ApertureF is invoked" }, "details": { - "name": "GetApertureF" + "name": "Get Aperture F" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Aperture F" } } ] }, { - "key": "GetApertureFOverride", + "base": "GetApertureFOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetApertureFOverride" + "tooltip": "When signaled, this will invoke Get ApertureF Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetApertureFOverride is invoked" + "tooltip": "Signaled after Get ApertureF Override is invoked" }, "details": { - "name": "GetApertureFOverride" + "name": "Get Aperture F Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Aperture F" } } ] }, { - "key": "SetAutoFocusSensitivityOverride", + "base": "SetAutoFocusSensitivityOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAutoFocusSensitivityOverride" + "tooltip": "When signaled, this will invoke Set Auto Focus Sensitivity Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAutoFocusSensitivityOverride is invoked" + "tooltip": "Signaled after Set Auto Focus Sensitivity Override is invoked" }, "details": { - "name": "SetAutoFocusSensitivityOverride" + "name": "Set Auto Focus Sensitivity Override" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Sensitivity" } } ] }, { - "key": "SetQualityLevelOverride", + "base": "SetQualityLevelOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetQualityLevelOverride" + "tooltip": "When signaled, this will invoke Set Quality Level Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetQualityLevelOverride is invoked" + "tooltip": "Signaled after Set Quality Level Override is invoked" }, "details": { - "name": "SetQualityLevelOverride" + "name": "Set Quality Level Override" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Quality Level" } } ] }, { - "key": "GetFocusDistanceOverride", + "base": "GetFocusDistanceOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFocusDistanceOverride" + "tooltip": "When signaled, this will invoke Get Focus Distance Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFocusDistanceOverride is invoked" + "tooltip": "Signaled after Get Focus Distance Override is invoked" }, "details": { - "name": "GetFocusDistanceOverride" + "name": "Get Focus Distance Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Focus Distance" } } ] }, { - "key": "SetAutoFocusSpeed", + "base": "SetAutoFocusSpeed", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAutoFocusSpeed" + "tooltip": "When signaled, this will invoke Set Auto Focus Speed" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAutoFocusSpeed is invoked" + "tooltip": "Signaled after Set Auto Focus Speed is invoked" }, "details": { - "name": "SetAutoFocusSpeed" + "name": "Set Auto Focus Speed" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Speed" } } ] }, { - "key": "SetEnableAutoFocusOverride", + "base": "SetEnableAutoFocusOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnableAutoFocusOverride" + "tooltip": "When signaled, this will invoke Set Enable Auto Focus Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnableAutoFocusOverride is invoked" + "tooltip": "Signaled after Set Enable Auto Focus Override is invoked" }, "details": { - "name": "SetEnableAutoFocusOverride" + "name": "Set Enable Auto Focus Override" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] }, { - "key": "GetQualityLevel", + "base": "GetQualityLevel", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetQualityLevel" + "tooltip": "When signaled, this will invoke Get Quality Level" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetQualityLevel is invoked" + "tooltip": "Signaled after Get Quality Level is invoked" }, "details": { - "name": "GetQualityLevel" + "name": "Get Quality Level" }, "results": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Quality Level" } } ] }, { - "key": "GetAutoFocusSensitivityOverride", + "base": "GetAutoFocusSensitivityOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAutoFocusSensitivityOverride" + "tooltip": "When signaled, this will invoke Get Auto Focus Sensitivity Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAutoFocusSensitivityOverride is invoked" + "tooltip": "Signaled after Get Auto Focus Sensitivity Override is invoked" }, "details": { - "name": "GetAutoFocusSensitivityOverride" + "name": "Get Auto Focus Sensitivity Override" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Auto Focus Sensitivity" } } ] }, { - "key": "SetEnableDebugColoringOverride", + "base": "SetEnableDebugColoringOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnableDebugColoringOverride" + "tooltip": "When signaled, this will invoke Set Enable Debug Coloring Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnableDebugColoringOverride is invoked" + "tooltip": "Signaled after Set Enable Debug Coloring Override is invoked" }, "details": { - "name": "SetEnableDebugColoringOverride" + "name": "Set Enable Debug Coloring Override" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] }, { - "key": "SetFNumber", + "base": "SetFNumber", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFNumber" + "tooltip": "When signaled, this will invoke SetF Number" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFNumber is invoked" + "tooltip": "Signaled after SetF Number is invoked" }, "details": { - "name": "SetFNumber" + "name": "Set F Number" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "F Number" } } ] }, { - "key": "GetCameraEntityIdOverride", + "base": "GetCameraEntityIdOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCameraEntityIdOverride" + "tooltip": "When signaled, this will invoke Get Camera Entity Id Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCameraEntityIdOverride is invoked" + "tooltip": "Signaled after Get Camera Entity Id Override is invoked" }, "details": { - "name": "GetCameraEntityIdOverride" + "name": "Get Camera Entity Id Override" }, "results": [ { @@ -1001,23 +1002,23 @@ ] }, { - "key": "SetEnableAutoFocus", + "base": "SetEnableAutoFocus", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnableAutoFocus" + "tooltip": "When signaled, this will invoke Set Enable Auto Focus" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnableAutoFocus is invoked" + "tooltip": "Signaled after Set Enable Auto Focus is invoked" }, "details": { - "name": "SetEnableAutoFocus" + "name": "Set Enable Auto Focus" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DirectionalLightRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DirectionalLightRequestBus.names index 40b3627894..bed5f6de73 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DirectionalLightRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DirectionalLightRequestBus.names @@ -1,423 +1,446 @@ { "entries": [ { - "key": "DirectionalLightRequestBus", + "base": "DirectionalLightRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "DirectionalLightRequestBus" + "name": "Directional Light", + "category": "Lights" }, "methods": [ { - "key": "GetShadowBias", + "base": "GetNormalShadowBias", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetShadowBias" + "tooltip": "When signaled, this will invoke Get Normal Shadow Bias" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetShadowBias is invoked" + "tooltip": "Signaled after Get Normal Shadow Bias is invoked" }, "details": { - "name": "GetShadowBias" + "name": "Get Normal Shadow Bias" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Normal Shadow Bias" } } ] }, { - "key": "SetAngularDiameter", + "base": "GetShadowBias", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAngularDiameter" + "tooltip": "When signaled, this will invoke Get Shadow Bias" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAngularDiameter is invoked" + "tooltip": "Signaled after Get Shadow Bias is invoked" }, "details": { - "name": "SetAngularDiameter" - }, - "params": [ - { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", - "details": { - "name": "float" - } - } - ] - }, - { - "key": "GetShadowFarClipDistance", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke GetShadowFarClipDistance" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after GetShadowFarClipDistance is invoked" - }, - "details": { - "name": "GetShadowFarClipDistance" + "name": "Get Shadow Bias" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Shadow Bias" } } ] }, { - "key": "SetShadowBias", + "base": "SetAngularDiameter", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetShadowBias" + "tooltip": "When signaled, this will invoke Set Angular Diameter" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetShadowBias is invoked" + "tooltip": "Signaled after Set Angular Diameter is invoked" }, "details": { - "name": "SetShadowBias" + "name": "Set Angular Diameter" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Angular Diameter" } } ] }, { - "key": "SetIntensity", + "base": "GetShadowFarClipDistance", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetIntensity" + "tooltip": "When signaled, this will invoke Get Shadow Far Clip Distance" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetIntensity is invoked" + "tooltip": "Signaled after Get Shadow Far Clip Distance is invoked" }, "details": { - "name": "SetIntensity" + "name": "Get Shadow Far Clip Distance" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Shadow Far Clip Distance" + } + } + ] + }, + { + "base": "SetShadowBias", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Shadow Bias" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Shadow Bias is invoked" + }, + "details": { + "name": "Set Shadow Bias" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Shadow Bias" } } ] }, { - "key": "SetSplitRatio", + "base": "SetIntensity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetSplitRatio" + "tooltip": "When signaled, this will invoke Set Intensity" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetSplitRatio is invoked" + "tooltip": "Signaled after Set Intensity is invoked" }, "details": { - "name": "SetSplitRatio" + "name": "Set Intensity" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Intensity" } } ] }, { - "key": "GetFilteringSampleCount", + "base": "SetSplitRatio", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetFilteringSampleCount" + "tooltip": "When signaled, this will invoke Set Split Ratio" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetFilteringSampleCount is invoked" + "tooltip": "Signaled after Set Split Ratio is invoked" }, "details": { - "name": "GetFilteringSampleCount" + "name": "Set Split Ratio" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Split Ratio" + } + } + ] + }, + { + "base": "GetFilteringSampleCount", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Filtering Sample Count" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Filtering Sample Count is invoked" + }, + "details": { + "name": "Get Filtering Sample Count" }, "results": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Filtering Sample Count" } } ] }, { - "key": "GetShadowFilterMethod", + "base": "GetShadowFilterMethod", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetShadowFilterMethod" + "tooltip": "When signaled, this will invoke Get Shadow Filter Method" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetShadowFilterMethod is invoked" + "tooltip": "Signaled after Get Shadow Filter Method is invoked" }, "details": { - "name": "GetShadowFilterMethod" + "name": "Get Shadow Filter Method" }, "results": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Shadow Filter Method" } } ] }, { - "key": "GetCameraEntityId", + "base": "GetCameraEntityId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCameraEntityId" + "tooltip": "When signaled, this will invoke Get Camera Entity Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCameraEntityId is invoked" + "tooltip": "Signaled after Get Camera Entity Id is invoked" }, "details": { - "name": "GetCameraEntityId" + "name": "Get Camera Entity Id" }, "results": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Camera Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "SetDebugColoringEnabled", + "base": "SetDebugColoringEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetDebugColoringEnabled" + "tooltip": "When signaled, this will invoke Set Debug Coloring Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetDebugColoringEnabled is invoked" + "tooltip": "Signaled after Set Debug Coloring Enabled is invoked" }, "details": { - "name": "SetDebugColoringEnabled" + "name": "Set Debug Coloring Enabled" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetDebugColoringEnabled", + "base": "GetDebugColoringEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetDebugColoringEnabled" + "tooltip": "When signaled, this will invoke Get Debug Coloring Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetDebugColoringEnabled is invoked" + "tooltip": "Signaled after Get Debug Coloring Enabled is invoked" }, "details": { - "name": "GetDebugColoringEnabled" + "name": "Get Debug Coloring Enabled" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetViewFrustumCorrectionEnabled", + "base": "GetViewFrustumCorrectionEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetViewFrustumCorrectionEnabled" + "tooltip": "When signaled, this will invoke Get View Frustum Correction Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetViewFrustumCorrectionEnabled is invoked" + "tooltip": "Signaled after Get View Frustum Correction Enabled is invoked" }, "details": { - "name": "GetViewFrustumCorrectionEnabled" + "name": "Get View Frustum Correction Enabled" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetViewFrustumCorrectionEnabled", + "base": "SetViewFrustumCorrectionEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetViewFrustumCorrectionEnabled" + "tooltip": "When signaled, this will invoke Set View Frustum Correction Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetViewFrustumCorrectionEnabled is invoked" + "tooltip": "Signaled after Set View Frustum Correction Enabled is invoked" }, "details": { - "name": "SetViewFrustumCorrectionEnabled" + "name": "Set View Frustum Correction Enabled" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "SetGroundHeight", + "base": "SetGroundHeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetGroundHeight" + "tooltip": "When signaled, this will invoke Set Ground Height" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetGroundHeight is invoked" + "tooltip": "Signaled after Set Ground Height is invoked" }, "details": { - "name": "SetGroundHeight" + "name": "Set Ground Height" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Ground Height" } } ] }, { - "key": "GetShadowReceiverPlaneBiasEnabled", + "base": "GetShadowReceiverPlaneBiasEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetShadowReceiverPlaneBiasEnabled" + "tooltip": "When signaled, this will invoke Get Shadow Receiver Plane Bias Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetShadowReceiverPlaneBiasEnabled is invoked" + "tooltip": "Signaled after Get Shadow Receiver Plane Bias Enabled is invoked" }, "details": { - "name": "GetShadowReceiverPlaneBiasEnabled" + "name": "Get Shadow Receiver Plane Bias Enabled" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Shadow Receiver Plane Bias" } } ] }, { - "key": "SetShadowmapSize", + "base": "SetShadowmapSize", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetShadowmapSize" + "tooltip": "When signaled, this will invoke Set Shadowmap Size" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetShadowmapSize is invoked" + "tooltip": "Signaled after Set Shadowmap Size is invoked" }, "details": { - "name": "SetShadowmapSize" + "name": "Set Shadowmap Size" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Shadowmap Size" } } ] }, { - "key": "SetShadowFarClipDistance", + "base": "SetShadowFarClipDistance", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetShadowFarClipDistance" + "tooltip": "When signaled, this will invoke Set Shadow Far Clip Distance" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetShadowFarClipDistance is invoked" + "tooltip": "Signaled after Set Shadow Far Clip Distance is invoked" }, "details": { - "name": "SetShadowFarClipDistance" + "name": "Set Shadow Far Clip Distance" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Shadow Far Clip Distance" } } ] }, { - "key": "SetCameraEntityId", + "base": "SetCameraEntityId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetCameraEntityId" + "tooltip": "When signaled, this will invoke Set Camera Entity Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetCameraEntityId is invoked" + "tooltip": "Signaled after Set Camera Entity Id is invoked" }, "details": { - "name": "SetCameraEntityId" + "name": "Set Camera Entity Id" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Camera Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "GetColor", + "base": "GetColor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetColor" + "tooltip": "When signaled, this will invoke Get Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetColor is invoked" + "tooltip": "Signaled after Get Color is invoked" }, "details": { - "name": "GetColor" + "name": "Get Color" }, "results": [ { @@ -429,325 +452,347 @@ ] }, { - "key": "SetSplitAutomatic", + "base": "SetSplitAutomatic", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetSplitAutomatic" + "tooltip": "When signaled, this will invoke Set Split Automatic" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetSplitAutomatic is invoked" + "tooltip": "Signaled after Set Split Automatic is invoked" }, "details": { - "name": "SetSplitAutomatic" + "name": "Set Split Automatic" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Split Automatic" } } ] }, { - "key": "SetCascadeFarDepth", + "base": "SetCascadeFarDepth", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetCascadeFarDepth" + "tooltip": "When signaled, this will invoke Set Cascade Far Depth" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetCascadeFarDepth is invoked" + "tooltip": "Signaled after Set Cascade Far Depth is invoked" }, "details": { - "name": "SetCascadeFarDepth" + "name": "Set Cascade Far Depth" }, "params": [ { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Vector4" + "name": "Cascade Far Depth" } } ] }, { - "key": "GetSplitAutomatic", + "base": "GetSplitAutomatic", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetSplitAutomatic" + "tooltip": "When signaled, this will invoke Get Split Automatic" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetSplitAutomatic is invoked" + "tooltip": "Signaled after Get Split Automatic is invoked" }, "details": { - "name": "GetSplitAutomatic" + "name": "Get Split Automatic" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Split Automatic" } } ] }, { - "key": "GetGroundHeight", + "base": "GetGroundHeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetGroundHeight" + "tooltip": "When signaled, this will invoke Get Ground Height" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetGroundHeight is invoked" + "tooltip": "Signaled after Get Ground Height is invoked" }, "details": { - "name": "GetGroundHeight" + "name": "Get Ground Height" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Ground Height" } } ] }, { - "key": "SetCascadeCount", + "base": "SetCascadeCount", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetCascadeCount" + "tooltip": "When signaled, this will invoke Set Cascade Count" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetCascadeCount is invoked" + "tooltip": "Signaled after Set Cascade Count is invoked" }, "details": { - "name": "SetCascadeCount" + "name": "Set Cascade Count" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Cascade Count" } } ] }, { - "key": "SetFilteringSampleCount", + "base": "SetFilteringSampleCount", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetFilteringSampleCount" + "tooltip": "When signaled, this will invoke Set Filtering Sample Count" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetFilteringSampleCount is invoked" + "tooltip": "Signaled after Set Filtering Sample Count is invoked" }, "details": { - "name": "SetFilteringSampleCount" + "name": "Set Filtering Sample Count" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Filtering Sample Count" } } ] }, { - "key": "GetCascadeCount", + "base": "GetCascadeCount", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCascadeCount" + "tooltip": "When signaled, this will invoke Get Cascade Count" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCascadeCount is invoked" + "tooltip": "Signaled after Get Cascade Count is invoked" }, "details": { - "name": "GetCascadeCount" + "name": "Get Cascade Count" }, "results": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Cascade Count" } } ] }, { - "key": "GetIntensity", + "base": "GetIntensity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetIntensity" + "tooltip": "When signaled, this will invoke Get Intensity" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetIntensity is invoked" + "tooltip": "Signaled after Get Intensity is invoked" }, "details": { - "name": "GetIntensity" + "name": "Get Intensity" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Intensity" } } ] }, { - "key": "GetShadowmapSize", + "base": "SetNormalShadowBias", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetShadowmapSize" + "tooltip": "When signaled, this will invoke Set Normal Shadow Bias" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetShadowmapSize is invoked" + "tooltip": "Signaled after Set Normal Shadow Bias is invoked" }, "details": { - "name": "GetShadowmapSize" + "name": "Set Normal Shadow Bias" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Normal Shadow Bias" + } + } + ] + }, + { + "base": "GetShadowmapSize", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Shadowmap Size" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Shadowmap Size is invoked" + }, + "details": { + "name": "Get Shadowmap Size" }, "results": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Shadowmap Size" } } ] }, { - "key": "GetAngularDiameter", + "base": "GetAngularDiameter", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAngularDiameter" + "tooltip": "When signaled, this will invoke Get Angular Diameter" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAngularDiameter is invoked" + "tooltip": "Signaled after Get Angular Diameter is invoked" }, "details": { - "name": "GetAngularDiameter" + "name": "Get Angular Diameter" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Angular Diameter" } } ] }, { - "key": "SetShadowFilterMethod", + "base": "SetShadowFilterMethod", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetShadowFilterMethod" + "tooltip": "When signaled, this will invoke Set Shadow Filter Method" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetShadowFilterMethod is invoked" + "tooltip": "Signaled after Set Shadow Filter Method is invoked" }, "details": { - "name": "SetShadowFilterMethod" + "name": "Set Shadow Filter Method" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "Shadow Filter Method" } } ] }, { - "key": "SetShadowReceiverPlaneBiasEnabled", + "base": "SetShadowReceiverPlaneBiasEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetShadowReceiverPlaneBiasEnabled" + "tooltip": "When signaled, this will invoke Set Shadow Receiver Plane Bias Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetShadowReceiverPlaneBiasEnabled is invoked" + "tooltip": "Signaled after Set Shadow Receiver Plane Bias Enabled is invoked" }, "details": { - "name": "SetShadowReceiverPlaneBiasEnabled" + "name": "Set Shadow Receiver Plane Bias Enabled" }, "params": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "GetSplitRatio", + "base": "GetSplitRatio", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetSplitRatio" + "tooltip": "When signaled, this will invoke Get Split Ratio" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetSplitRatio is invoked" + "tooltip": "Signaled after Get Split Ratio is invoked" }, "details": { - "name": "GetSplitRatio" + "name": "Get Split Ratio" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Split Ratio" } } ] }, { - "key": "GetCascadeFarDepth", + "base": "GetCascadeFarDepth", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCascadeFarDepth" + "tooltip": "When signaled, this will invoke Get Cascade Far Depth" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCascadeFarDepth is invoked" + "tooltip": "Signaled after Get Cascade Far Depth is invoked" }, "details": { - "name": "GetCascadeFarDepth" + "name": "Get Cascade Far Depth" }, "results": [ { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Vector4" + "name": "Cascade Far Depth" } } ] }, { - "key": "SetColor", + "base": "SetColor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetColor" + "tooltip": "When signaled, this will invoke Set Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetColor is invoked" + "tooltip": "Signaled after Set Color is invoked" }, "details": { - "name": "SetColor" + "name": "Set Color" }, "params": [ { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DiskShapeComponentRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DiskShapeComponentRequestsBus.names index ad7012b470..8ba928cf1a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DiskShapeComponentRequestsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DiskShapeComponentRequestsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "DiskShapeComponentRequestsBus", + "base": "DiskShapeComponentRequestsBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetDiskConfiguration", + "base": "GetDiskConfiguration", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetDiskConfiguration" @@ -32,7 +32,7 @@ ] }, { - "key": "SetRadius", + "base": "SetRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetRadius" @@ -54,7 +54,7 @@ ] }, { - "key": "GetRadius", + "base": "GetRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetRadius" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DitherGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DitherGradientRequestBus.names index 87a65a50e9..3eb019767f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DitherGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/DitherGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "DitherGradientRequestBus", + "base": "DitherGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetPatternType", + "base": "GetPatternType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPatternType" @@ -31,7 +31,7 @@ ] }, { - "key": "SetPatternType", + "base": "SetPatternType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetPatternType" @@ -53,7 +53,7 @@ ] }, { - "key": "SetPatternOffset", + "base": "SetPatternOffset", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetPatternOffset" @@ -75,7 +75,7 @@ ] }, { - "key": "GetPatternOffset", + "base": "GetPatternOffset", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPatternOffset" @@ -97,7 +97,7 @@ ] }, { - "key": "GetPointsPerUnit", + "base": "GetPointsPerUnit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPointsPerUnit" @@ -119,7 +119,7 @@ ] }, { - "key": "SetPointsPerUnit", + "base": "SetPointsPerUnit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetPointsPerUnit" @@ -141,7 +141,7 @@ ] }, { - "key": "SetUseSystemPointsPerUnit", + "base": "SetUseSystemPointsPerUnit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetUseSystemPointsPerUnit" @@ -163,7 +163,7 @@ ] }, { - "key": "GetUseSystemPointsPerUnit", + "base": "GetUseSystemPointsPerUnit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetUseSystemPointsPerUnit" @@ -185,7 +185,7 @@ ] }, { - "key": "GetGradientSampler", + "base": "GetGradientSampler", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetGradientSampler" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorCameraRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorCameraRequestBus.names index b028b96baa..000d01dd63 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorCameraRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorCameraRequestBus.names @@ -1,106 +1,107 @@ { "entries": [ { - "key": "EditorCameraRequestBus", + "base": "EditorCameraRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "EditorCameraRequestBus" + "name": "Editor Camera", + "category": "Editor" }, "methods": [ { - "key": "SetViewFromEntityPerspective", + "base": "SetViewFromEntityPerspective", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetViewFromEntityPerspective" + "tooltip": "When signaled, this will invoke Set View From Entity Perspective" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetViewFromEntityPerspective is invoked" + "tooltip": "Signaled after Set View From Entity Perspective is invoked" }, "details": { - "name": "SetViewFromEntityPerspective" + "name": "Set View From Entity Perspective" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "SetViewAndMovementLockFromEntityPerspective", + "base": "SetViewAndMovementLockFromEntityPerspective", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetViewAndMovementLockFromEntityPerspective" + "tooltip": "When signaled, this will invoke Set View And Movement Lock From Entity Perspective" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetViewAndMovementLockFromEntityPerspective is invoked" + "tooltip": "Signaled after Set View And Movement Lock From Entity Perspective is invoked" }, "details": { - "name": "SetViewAndMovementLockFromEntityPerspective" + "name": "Set View And Movement Lock From Entity Perspective" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } }, { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Lock Camera Movement" } } ] }, { - "key": "GetCurrentViewEntityId", + "base": "GetCurrentViewEntityId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCurrentViewEntityId" + "tooltip": "When signaled, this will invoke Get Current View Entity Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCurrentViewEntityId is invoked" + "tooltip": "Signaled after Get Current View Entity Id is invoked" }, "details": { - "name": "GetCurrentViewEntityId" + "name": "Get Current View Entity Id" }, "results": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "GetActiveCameraPosition", + "base": "GetActiveCameraPosition", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetActiveCameraPosition" + "tooltip": "When signaled, this will invoke Get Active Camera Position" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetActiveCameraPosition is invoked" + "tooltip": "Signaled after Get Active Camera Position is invoked" }, "details": { - "name": "GetActiveCameraPosition" + "name": "Get Active Camera Position" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Position" } } ], @@ -108,7 +109,7 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Success" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorCameraViewRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorCameraViewRequestBus.names index e24bf3f6d2..1fd0dafc6e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorCameraViewRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorCameraViewRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorCameraViewRequestBus", + "base": "EditorCameraViewRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ToggleCameraAsActiveView", + "base": "ToggleCameraAsActiveView", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ToggleCameraAsActiveView" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityAPIBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityAPIBus.names index 590311828a..2e11a4e4ee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityAPIBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityAPIBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorEntityAPIBus", + "base": "EditorEntityAPIBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetVisibilityState", + "base": "SetVisibilityState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetVisibilityState" @@ -31,7 +31,7 @@ ] }, { - "key": "SetLockState", + "base": "SetLockState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetLockState" @@ -53,7 +53,7 @@ ] }, { - "key": "SetStartStatus", + "base": "SetStartStatus", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetStartStatus" @@ -75,7 +75,7 @@ ] }, { - "key": "SetName", + "base": "SetName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetName" @@ -97,7 +97,7 @@ ] }, { - "key": "SetParent", + "base": "SetParent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetParent" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityContextRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityContextRequestBus.names index 6071cd821c..f87678c0fa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityContextRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityContextRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorEntityContextRequestBus", + "base": "EditorEntityContextRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetEditorEntityContextId", + "base": "GetEditorEntityContextId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEditorEntityContextId" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityInfoRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityInfoRequestBus.names index 955cee31e7..c8c2085ede 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityInfoRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorEntityInfoRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorEntityInfoRequestBus", + "base": "EditorEntityInfoRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetName", + "base": "GetName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetName" @@ -31,7 +31,7 @@ ] }, { - "key": "IsVisible", + "base": "IsVisible", "entry": { "name": "In", "tooltip": "When signaled, this will invoke IsVisible" @@ -53,7 +53,7 @@ ] }, { - "key": "GetChildIndex", + "base": "GetChildIndex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetChildIndex" @@ -84,7 +84,7 @@ ] }, { - "key": "GetStartStatus", + "base": "GetStartStatus", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetStartStatus" @@ -106,7 +106,7 @@ ] }, { - "key": "GetChild", + "base": "GetChild", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetChild" @@ -137,7 +137,7 @@ ] }, { - "key": "GetChildCount", + "base": "GetChildCount", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetChildCount" @@ -159,7 +159,7 @@ ] }, { - "key": "GetChildren", + "base": "GetChildren", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetChildren" @@ -181,7 +181,7 @@ ] }, { - "key": "IsLocked", + "base": "IsLocked", "entry": { "name": "In", "tooltip": "When signaled, this will invoke IsLocked" @@ -203,7 +203,7 @@ ] }, { - "key": "GetParent", + "base": "GetParent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetParent" @@ -226,7 +226,7 @@ ] }, { - "key": "IsHidden", + "base": "IsHidden", "entry": { "name": "In", "tooltip": "When signaled, this will invoke IsHidden" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorLayerComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorLayerComponentRequestBus.names index 820632b705..f280f11360 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorLayerComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorLayerComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorLayerComponentRequestBus", + "base": "EditorLayerComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetVisibility", + "base": "SetVisibility", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetVisibility" @@ -31,7 +31,7 @@ ] }, { - "key": "SetLayerColor", + "base": "SetLayerColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetLayerColor" @@ -53,7 +53,7 @@ ] }, { - "key": "GetColorPropertyValue", + "base": "GetColorPropertyValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorPropertyValue" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorLayerTrackViewRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorLayerTrackViewRequestBus.names index 6f7bf51a14..58712e28bd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorLayerTrackViewRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorLayerTrackViewRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorLayerTrackViewRequestBus", + "base": "EditorLayerTrackViewRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "NewSequence", + "base": "NewSequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke NewSequence" @@ -37,7 +37,7 @@ ] }, { - "key": "SetRecording", + "base": "SetRecording", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetRecording" @@ -59,7 +59,7 @@ ] }, { - "key": "GetNumSequences", + "base": "GetNumSequences", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNumSequences" @@ -81,7 +81,7 @@ ] }, { - "key": "GetSequenceName", + "base": "GetSequenceName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSequenceName" @@ -111,7 +111,7 @@ ] }, { - "key": "GetSequenceTimeRange", + "base": "GetSequenceTimeRange", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSequenceTimeRange" @@ -141,7 +141,7 @@ ] }, { - "key": "PlaySequence", + "base": "PlaySequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke PlaySequence" @@ -155,7 +155,7 @@ } }, { - "key": "GetNodeName", + "base": "GetNodeName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNodeName" @@ -191,7 +191,7 @@ ] }, { - "key": "SetSequenceTimeRange", + "base": "SetSequenceTimeRange", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSequenceTimeRange" @@ -225,7 +225,7 @@ ] }, { - "key": "DeleteSequence", + "base": "DeleteSequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke DeleteSequence" @@ -247,7 +247,7 @@ ] }, { - "key": "GetKeyValue", + "base": "GetKeyValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetKeyValue" @@ -301,7 +301,7 @@ ] }, { - "key": "StopSequence", + "base": "StopSequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke StopSequence" @@ -315,7 +315,7 @@ } }, { - "key": "AddSelectedEntities", + "base": "AddSelectedEntities", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddSelectedEntities" @@ -329,7 +329,7 @@ } }, { - "key": "GetNumTrackKeys", + "base": "GetNumTrackKeys", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNumTrackKeys" @@ -377,7 +377,7 @@ ] }, { - "key": "AddLayerNode", + "base": "AddLayerNode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddLayerNode" @@ -391,7 +391,7 @@ } }, { - "key": "DeleteNode", + "base": "DeleteNode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke DeleteNode" @@ -419,7 +419,7 @@ ] }, { - "key": "GetInterpolatedValue", + "base": "GetInterpolatedValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetInterpolatedValue" @@ -473,7 +473,7 @@ ] }, { - "key": "GetNumNodes", + "base": "GetNumNodes", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNumNodes" @@ -503,7 +503,7 @@ ] }, { - "key": "AddNode", + "base": "AddNode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddNode" @@ -531,7 +531,7 @@ ] }, { - "key": "AddTrack", + "base": "AddTrack", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddTrack" @@ -565,7 +565,7 @@ ] }, { - "key": "DeleteTrack", + "base": "DeleteTrack", "entry": { "name": "In", "tooltip": "When signaled, this will invoke DeleteTrack" @@ -605,7 +605,7 @@ ] }, { - "key": "SetCurrentSequence", + "base": "SetCurrentSequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetCurrentSequence" @@ -627,7 +627,7 @@ ] }, { - "key": "SetTime", + "base": "SetTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetTime" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorReflectionProbeBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorReflectionProbeBus.names index 78a087ae6b..9893d61dad 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorReflectionProbeBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorReflectionProbeBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorReflectionProbeBus", + "base": "EditorReflectionProbeBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "BakeReflectionProbe", + "base": "BakeReflectionProbe", "entry": { "name": "In", "tooltip": "When signaled, this will invoke BakeReflectionProbe" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorRequestBus.names index 658dcf6369..55ee11ab52 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorRequestBus", + "base": "EditorRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "RegisterCustomViewPane", + "base": "RegisterCustomViewPane", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RegisterCustomViewPane" @@ -43,7 +43,7 @@ ] }, { - "key": "UnregisterViewPane", + "base": "UnregisterViewPane", "entry": { "name": "In", "tooltip": "When signaled, this will invoke UnregisterViewPane" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorToolsApplicationRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorToolsApplicationRequestBus.names index 1734915b62..1fd4ea025a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorToolsApplicationRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorToolsApplicationRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "EditorToolsApplicationRequestBus", + "base": "EditorToolsApplicationRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "Exit", + "base": "Exit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Exit" @@ -23,7 +23,7 @@ } }, { - "key": "GetCurrentLevelName", + "base": "GetCurrentLevelName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetCurrentLevelName" @@ -45,7 +45,7 @@ ] }, { - "key": "GetGameFolder", + "base": "GetGameFolder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetGameFolder" @@ -67,7 +67,7 @@ ] }, { - "key": "CreateLevelNoPrompt", + "base": "CreateLevelNoPrompt", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CreateLevelNoPrompt" @@ -109,7 +109,7 @@ ] }, { - "key": "OpenLevelNoPrompt", + "base": "OpenLevelNoPrompt", "entry": { "name": "In", "tooltip": "When signaled, this will invoke OpenLevelNoPrompt" @@ -139,7 +139,7 @@ ] }, { - "key": "GetCurrentLevelPath", + "base": "GetCurrentLevelPath", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetCurrentLevelPath" @@ -161,7 +161,7 @@ ] }, { - "key": "ExitNoPrompt", + "base": "ExitNoPrompt", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ExitNoPrompt" @@ -175,7 +175,7 @@ } }, { - "key": "OpenLevel", + "base": "OpenLevel", "entry": { "name": "In", "tooltip": "When signaled, this will invoke OpenLevel" @@ -205,7 +205,7 @@ ] }, { - "key": "CreateLevel", + "base": "CreateLevel", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CreateLevel" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorTransformComponentSelectionRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorTransformComponentSelectionRequestBus.names index 178c30bb43..bd7e0157b9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorTransformComponentSelectionRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/EditorTransformComponentSelectionRequestBus.names @@ -1,47 +1,48 @@ { "entries": [ { - "key": "EditorTransformComponentSelectionRequestBus", + "base": "EditorTransformComponentSelectionRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "EditorTransformComponentSelectionRequestBus" + "name": "Editor Transform Component Selection", + "category": "Editor" }, "methods": [ { - "key": "CopyTranslationToSelectedEntitiesGroup", + "base": "CopyTranslationToSelectedEntitiesGroup", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CopyTranslationToSelectedEntitiesGroup" + "tooltip": "When signaled, this will invoke Copy Translation To Selected Entities Group" }, "exit": { "name": "Out", - "tooltip": "Signaled after CopyTranslationToSelectedEntitiesGroup is invoked" + "tooltip": "Signaled after Copy Translation To Selected Entities Group is invoked" }, "details": { - "name": "CopyTranslationToSelectedEntitiesGroup" + "name": "Copy Translation To Selected Entities Group" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Translation" } } ] }, { - "key": "CopyOrientationToSelectedEntitiesIndividual", + "base": "CopyOrientationToSelectedEntitiesIndividual", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CopyOrientationToSelectedEntitiesIndividual" + "tooltip": "When signaled, this will invoke Copy Orientation To Selected Entities Individual" }, "exit": { "name": "Out", - "tooltip": "Signaled after CopyOrientationToSelectedEntitiesIndividual is invoked" + "tooltip": "Signaled after Copy Orientation To Selected Entities Individual is invoked" }, "details": { - "name": "CopyOrientationToSelectedEntitiesIndividual" + "name": "Copy Orientation To Selected Entities Individual" }, "params": [ { @@ -53,17 +54,17 @@ ] }, { - "key": "CopyOrientationToSelectedEntitiesGroup", + "base": "CopyOrientationToSelectedEntitiesGroup", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CopyOrientationToSelectedEntitiesGroup" + "tooltip": "When signaled, this will invoke Copy Orientation To Selected Entities Group" }, "exit": { "name": "Out", - "tooltip": "Signaled after CopyOrientationToSelectedEntitiesGroup is invoked" + "tooltip": "Signaled after Copy Orientation To Selected Entities Group is invoked" }, "details": { - "name": "CopyOrientationToSelectedEntitiesGroup" + "name": "Copy Orientation To Selected Entities Group" }, "params": [ { @@ -75,39 +76,39 @@ ] }, { - "key": "CopyTranslationToSelectedEntitiesIndividual", + "base": "CopyTranslationToSelectedEntitiesIndividual", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CopyTranslationToSelectedEntitiesIndividual" + "tooltip": "When signaled, this will invoke Copy Translation To Selected Entities Individual" }, "exit": { "name": "Out", - "tooltip": "Signaled after CopyTranslationToSelectedEntitiesIndividual is invoked" + "tooltip": "Signaled after Copy Translation To Selected Entities Individual is invoked" }, "details": { - "name": "CopyTranslationToSelectedEntitiesIndividual" + "name": "Copy Translation To Selected Entities Individual" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Translation" } } ] }, { - "key": "CopyScaleToSelectedEntitiesIndividualLocal", + "base": "CopyScaleToSelectedEntitiesIndividualLocal", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CopyScaleToSelectedEntitiesIndividualLocal" + "tooltip": "When signaled, this will invoke Copy Scale To Selected Entities Individual Local" }, "exit": { "name": "Out", - "tooltip": "Signaled after CopyScaleToSelectedEntitiesIndividualLocal is invoked" + "tooltip": "Signaled after Copy Scale To Selected Entities Individual Local is invoked" }, "details": { - "name": "CopyScaleToSelectedEntitiesIndividualLocal" + "name": "Copy Scale To Selected Entities Individual Local" }, "params": [ { @@ -119,39 +120,39 @@ ] }, { - "key": "OverrideManipulatorTranslation", + "base": "OverrideManipulatorTranslation", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke OverrideManipulatorTranslation" + "tooltip": "When signaled, this will invoke Override Manipulator Translation" }, "exit": { "name": "Out", - "tooltip": "Signaled after OverrideManipulatorTranslation is invoked" + "tooltip": "Signaled after Override Manipulator Translation is invoked" }, "details": { - "name": "OverrideManipulatorTranslation" + "name": "Override Manipulator Translation" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Vector 3" } } ] }, { - "key": "RefreshManipulators", + "base": "RefreshManipulators", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke RefreshManipulators" + "tooltip": "When signaled, this will invoke Refresh Manipulators" }, "exit": { "name": "Out", - "tooltip": "Signaled after RefreshManipulators is invoked" + "tooltip": "Signaled after Refresh Manipulators is invoked" }, "details": { - "name": "RefreshManipulators" + "name": "Refresh Manipulators" }, "params": [ { @@ -163,17 +164,17 @@ ] }, { - "key": "OverrideManipulatorOrientation", + "base": "OverrideManipulatorOrientation", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke OverrideManipulatorOrientation" + "tooltip": "When signaled, this will invoke Override Manipulator Orientation" }, "exit": { "name": "Out", - "tooltip": "Signaled after OverrideManipulatorOrientation is invoked" + "tooltip": "Signaled after Override Manipulator Orientation is invoked" }, "details": { - "name": "OverrideManipulatorOrientation" + "name": "Override Manipulator Orientation" }, "params": [ { @@ -185,17 +186,17 @@ ] }, { - "key": "GetTransformMode", + "base": "GetTransformMode", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTransformMode" + "tooltip": "When signaled, this will invoke Get Transform Mode" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTransformMode is invoked" + "tooltip": "Signaled after Get Transform Mode is invoked" }, "details": { - "name": "GetTransformMode" + "name": "Get Transform Mode" }, "results": [ { @@ -207,17 +208,17 @@ ] }, { - "key": "CopyScaleToSelectedEntitiesIndividualWorld", + "base": "CopyScaleToSelectedEntitiesIndividualWorld", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CopyScaleToSelectedEntitiesIndividualWorld" + "tooltip": "When signaled, this will invoke Copy Scale To Selected Entities Individual World" }, "exit": { "name": "Out", - "tooltip": "Signaled after CopyScaleToSelectedEntitiesIndividualWorld is invoked" + "tooltip": "Signaled after Copy Scale To Selected Entities Individual World is invoked" }, "details": { - "name": "CopyScaleToSelectedEntitiesIndividualWorld" + "name": "Copy Scale To Selected Entities Individual World" }, "params": [ { @@ -229,17 +230,17 @@ ] }, { - "key": "SetTransformMode", + "base": "SetTransformMode", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTransformMode" + "tooltip": "When signaled, this will invoke Set Transform Mode" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTransformMode is invoked" + "tooltip": "Signaled after Set Transform Mode is invoked" }, "details": { - "name": "SetTransformMode" + "name": "Set Transform Mode" }, "params": [ { @@ -251,31 +252,31 @@ ] }, { - "key": "ResetTranslationForSelectedEntitiesLocal", + "base": "ResetTranslationForSelectedEntitiesLocal", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ResetTranslationForSelectedEntitiesLocal" + "tooltip": "When signaled, this will invoke Reset Translation For Selected Entities Local" }, "exit": { "name": "Out", - "tooltip": "Signaled after ResetTranslationForSelectedEntitiesLocal is invoked" + "tooltip": "Signaled after Reset Translation For Selected Entities Local is invoked" }, "details": { - "name": "ResetTranslationForSelectedEntitiesLocal" + "name": "Reset Translation For Selected Entities Local" } }, { - "key": "ResetOrientationForSelectedEntitiesLocal", + "base": "ResetOrientationForSelectedEntitiesLocal", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ResetOrientationForSelectedEntitiesLocal" + "tooltip": "When signaled, this will invoke Reset Orientation For Selected Entities Local" }, "exit": { "name": "Out", - "tooltip": "Signaled after ResetOrientationForSelectedEntitiesLocal is invoked" + "tooltip": "Signaled after Reset Orientation For Selected Entities Local is invoked" }, "details": { - "name": "ResetOrientationForSelectedEntitiesLocal" + "name": "Reset Orientation For Selected Entities Local" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ExposureControlRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ExposureControlRequestBus.names index 89ecca21dc..35662639a7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ExposureControlRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ExposureControlRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ExposureControlRequestBus", + "base": "ExposureControlRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetEyeAdaptationSpeedDownOverride", + "base": "SetEyeAdaptationSpeedDownOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEyeAdaptationSpeedDownOverride" @@ -31,7 +31,7 @@ ] }, { - "key": "GetEnabled", + "base": "GetEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEnabled" @@ -53,7 +53,7 @@ ] }, { - "key": "SetEnabledOverride", + "base": "SetEnabledOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEnabledOverride" @@ -75,7 +75,7 @@ ] }, { - "key": "SetManualCompensation", + "base": "SetManualCompensation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetManualCompensation" @@ -97,7 +97,7 @@ ] }, { - "key": "SetEyeAdaptationSpeedDown", + "base": "SetEyeAdaptationSpeedDown", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEyeAdaptationSpeedDown" @@ -119,7 +119,7 @@ ] }, { - "key": "GetExposureControlTypeOverride", + "base": "GetExposureControlTypeOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetExposureControlTypeOverride" @@ -141,7 +141,7 @@ ] }, { - "key": "GetHeatmapEnabled", + "base": "GetHeatmapEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetHeatmapEnabled" @@ -163,7 +163,7 @@ ] }, { - "key": "SetEyeAdaptationSpeedUpOverride", + "base": "SetEyeAdaptationSpeedUpOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEyeAdaptationSpeedUpOverride" @@ -185,7 +185,7 @@ ] }, { - "key": "SetExposureControlType", + "base": "SetExposureControlType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetExposureControlType" @@ -207,7 +207,7 @@ ] }, { - "key": "SetEnabled", + "base": "SetEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEnabled" @@ -229,7 +229,7 @@ ] }, { - "key": "GetExposureControlType", + "base": "GetExposureControlType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetExposureControlType" @@ -251,7 +251,7 @@ ] }, { - "key": "SetEyeAdaptationExposureMax", + "base": "SetEyeAdaptationExposureMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEyeAdaptationExposureMax" @@ -273,7 +273,7 @@ ] }, { - "key": "GetEyeAdaptationSpeedDownOverride", + "base": "GetEyeAdaptationSpeedDownOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEyeAdaptationSpeedDownOverride" @@ -295,7 +295,7 @@ ] }, { - "key": "GetManualCompensationOverride", + "base": "GetManualCompensationOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetManualCompensationOverride" @@ -317,7 +317,7 @@ ] }, { - "key": "GetHeatmapEnabledOverride", + "base": "GetHeatmapEnabledOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetHeatmapEnabledOverride" @@ -339,7 +339,7 @@ ] }, { - "key": "SetEyeAdaptationSpeedUp", + "base": "SetEyeAdaptationSpeedUp", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEyeAdaptationSpeedUp" @@ -361,7 +361,7 @@ ] }, { - "key": "GetEyeAdaptationSpeedUpOverride", + "base": "GetEyeAdaptationSpeedUpOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEyeAdaptationSpeedUpOverride" @@ -383,7 +383,7 @@ ] }, { - "key": "GetEyeAdaptationExposureMinOverride", + "base": "GetEyeAdaptationExposureMinOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEyeAdaptationExposureMinOverride" @@ -405,7 +405,7 @@ ] }, { - "key": "GetEyeAdaptationExposureMaxOverride", + "base": "GetEyeAdaptationExposureMaxOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEyeAdaptationExposureMaxOverride" @@ -427,7 +427,7 @@ ] }, { - "key": "GetEnabledOverride", + "base": "GetEnabledOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEnabledOverride" @@ -449,7 +449,7 @@ ] }, { - "key": "SetExposureControlTypeOverride", + "base": "SetExposureControlTypeOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetExposureControlTypeOverride" @@ -471,7 +471,7 @@ ] }, { - "key": "GetEyeAdaptationExposureMin", + "base": "GetEyeAdaptationExposureMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEyeAdaptationExposureMin" @@ -493,7 +493,7 @@ ] }, { - "key": "GetManualCompensation", + "base": "GetManualCompensation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetManualCompensation" @@ -515,7 +515,7 @@ ] }, { - "key": "SetEyeAdaptationExposureMinOverride", + "base": "SetEyeAdaptationExposureMinOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEyeAdaptationExposureMinOverride" @@ -537,7 +537,7 @@ ] }, { - "key": "SetManualCompensationOverride", + "base": "SetManualCompensationOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetManualCompensationOverride" @@ -559,7 +559,7 @@ ] }, { - "key": "GetEyeAdaptationSpeedDown", + "base": "GetEyeAdaptationSpeedDown", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEyeAdaptationSpeedDown" @@ -581,7 +581,7 @@ ] }, { - "key": "GetEyeAdaptationSpeedUp", + "base": "GetEyeAdaptationSpeedUp", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEyeAdaptationSpeedUp" @@ -603,7 +603,7 @@ ] }, { - "key": "SetEyeAdaptationExposureMin", + "base": "SetEyeAdaptationExposureMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEyeAdaptationExposureMin" @@ -625,7 +625,7 @@ ] }, { - "key": "SetHeatmapEnabled", + "base": "SetHeatmapEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetHeatmapEnabled" @@ -647,7 +647,7 @@ ] }, { - "key": "SetEyeAdaptationExposureMaxOverride", + "base": "SetEyeAdaptationExposureMaxOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEyeAdaptationExposureMaxOverride" @@ -669,7 +669,7 @@ ] }, { - "key": "GetEyeAdaptationExposureMax", + "base": "GetEyeAdaptationExposureMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEyeAdaptationExposureMax" @@ -691,7 +691,7 @@ ] }, { - "key": "SetHeatmapEnabledOverride", + "base": "SetHeatmapEnabledOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetHeatmapEnabledOverride" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/FlyCameraInputBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/FlyCameraInputBus.names index 616cabcfb5..d8bba2a01f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/FlyCameraInputBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/FlyCameraInputBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "FlyCameraInputBus", + "base": "FlyCameraInputBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetIsEnabled", + "base": "SetIsEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Enabled" @@ -32,7 +32,7 @@ ] }, { - "key": "GetIsEnabled", + "base": "GetIsEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Is Enabled" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceLinearDampingRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceLinearDampingRequestBus.names new file mode 100644 index 0000000000..a54c222351 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceLinearDampingRequestBus.names @@ -0,0 +1,58 @@ +{ + "entries": [ + { + "base": "ForceLinearDampingRequestBus", + "context": "EBusSender", + "variant": "", + "details": { + "name": "Force Linear Damping" + }, + "methods": [ + { + "base": "SetDamping", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Damping" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Damping is invoked" + }, + "details": { + "name": "Set Damping" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Damping" + } + } + ] + }, + { + "base": "GetDamping", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Damping" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Damping is invoked" + }, + "details": { + "name": "Get Damping" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Damping" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceLocalSpaceRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceLocalSpaceRequestBus.names new file mode 100644 index 0000000000..bc3416daca --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceLocalSpaceRequestBus.names @@ -0,0 +1,102 @@ +{ + "entries": [ + { + "base": "ForceLocalSpaceRequestBus", + "context": "EBusSender", + "variant": "", + "details": { + "name": "Force Local Space" + }, + "methods": [ + { + "base": "SetDirection", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Direction" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after SetDirection is invoked" + }, + "details": { + "name": "Set Direction" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Direction" + } + } + ] + }, + { + "base": "GetDirection", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Direction" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Direction is invoked" + }, + "details": { + "name": "Get Direction" + }, + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Direction" + } + } + ] + }, + { + "base": "SetMagnitude", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Magnitude" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Magnitude is invoked" + }, + "details": { + "name": "Set Magnitude" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Magnitude" + } + } + ] + }, + { + "base": "GetMagnitude", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Magnitude" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Magnitude is invoked" + }, + "details": { + "name": "Get Magnitude" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Magnitude" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForcePointRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForcePointRequestBus.names new file mode 100644 index 0000000000..0c0f959f66 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForcePointRequestBus.names @@ -0,0 +1,58 @@ +{ + "entries": [ + { + "base": "ForcePointRequestBus", + "context": "EBusSender", + "variant": "", + "details": { + "name": "Force Point" + }, + "methods": [ + { + "base": "SetMagnitude", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Magnitude" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Magnitude is invoked" + }, + "details": { + "name": "Set Magnitude" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Magnitude" + } + } + ] + }, + { + "base": "GetMagnitude", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Magnitude" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Magnitude is invoked" + }, + "details": { + "name": "Get Magnitude" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Magnitude" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceSimpleDragRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceSimpleDragRequestBus.names new file mode 100644 index 0000000000..a5540e1f3a --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceSimpleDragRequestBus.names @@ -0,0 +1,58 @@ +{ + "entries": [ + { + "base": "ForceSimpleDragRequestBus", + "context": "EBusSender", + "variant": "", + "details": { + "name": "Force Simple Drag" + }, + "methods": [ + { + "base": "SetDensity", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Density" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Density is invoked" + }, + "details": { + "name": "Set Density" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Density" + } + } + ] + }, + { + "base": "GetDensity", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Density" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Density is invoked" + }, + "details": { + "name": "Get Density" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Density" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceSplineFollowRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceSplineFollowRequestBus.names new file mode 100644 index 0000000000..9cf29c9653 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceSplineFollowRequestBus.names @@ -0,0 +1,190 @@ +{ + "entries": [ + { + "base": "ForceSplineFollowRequestBus", + "context": "EBusSender", + "variant": "", + "details": { + "name": "Force Spline Follow" + }, + "methods": [ + { + "base": "GetLookAhead", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Look Ahead" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Look Ahead is invoked" + }, + "details": { + "name": "Get Look Ahead" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Look Ahead" + } + } + ] + }, + { + "base": "SetLookAhead", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Look Ahead" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Look Ahead is invoked" + }, + "details": { + "name": "Set Look Ahead" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Look Ahead" + } + } + ] + }, + { + "base": "SetTargetSpeed", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Target Speed" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Target Speed is invoked" + }, + "details": { + "name": "Set Target Speed" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Target Speed" + } + } + ] + }, + { + "base": "GetFrequency", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Frequency" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Frequency is invoked" + }, + "details": { + "name": "Get Frequency" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Frequency" + } + } + ] + }, + { + "base": "GetDampingRatio", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Damping Ratio" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Damping Ratio is invoked" + }, + "details": { + "name": "Get Damping Ratio" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Damping Ratio" + } + } + ] + }, + { + "base": "SetFrequency", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Frequency" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Frequency is invoked" + }, + "details": { + "name": "Set Frequency" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Frequency" + } + } + ] + }, + { + "base": "GetTargetSpeed", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Target Speed" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Target Speed is invoked" + }, + "details": { + "name": "Get Target Speed" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Target Speed" + } + } + ] + }, + { + "base": "SetDampingRatio", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Damping Ratio" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Damping Ratio is invoked" + }, + "details": { + "name": "Set Damping Ratio" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Damping Ratio" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceWorldSpaceRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceWorldSpaceRequestBus.names new file mode 100644 index 0000000000..bb7f2efc9b --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ForceWorldSpaceRequestBus.names @@ -0,0 +1,102 @@ +{ + "entries": [ + { + "base": "ForceWorldSpaceRequestBus", + "context": "EBusSender", + "variant": "", + "details": { + "name": "Force World Space" + }, + "methods": [ + { + "base": "SetDirection", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Direction" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Direction is invoked" + }, + "details": { + "name": "Set Direction" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Direction" + } + } + ] + }, + { + "base": "GetDirection", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Direction" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Direction is invoked" + }, + "details": { + "name": "Get Direction" + }, + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Direction" + } + } + ] + }, + { + "base": "SetMagnitude", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Magnitude" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Magnitude is invoked" + }, + "details": { + "name": "Set Magnitude" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Magnitude" + } + } + ] + }, + { + "base": "GetMagnitude", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Magnitude" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Magnitude is invoked" + }, + "details": { + "name": "Get Magnitude" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Magnitude" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/FrameCaptureRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/FrameCaptureRequestBus.names index 6d7bcf4b37..6730264044 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/FrameCaptureRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/FrameCaptureRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "FrameCaptureRequestBus", + "base": "FrameCaptureRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "CaptureScreenshot", + "base": "CaptureScreenshot", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CaptureScreenshot" @@ -39,7 +39,7 @@ ] }, { - "key": "CaptureScreenshotWithPreview", + "base": "CaptureScreenshotWithPreview", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CaptureScreenshotWithPreview" @@ -69,7 +69,7 @@ ] }, { - "key": "CapturePassAttachment", + "base": "CapturePassAttachment", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CapturePassAttachment" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GameEntityContextRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GameEntityContextRequestBus.names index 4a93df4eb1..fcb99ddf16 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GameEntityContextRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GameEntityContextRequestBus.names @@ -1,16 +1,16 @@ { "entries": [ { - "key": "GameEntityContextRequestBus", + "base": "GameEntityContextRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "GameEntityContextRequestBus", - "category": "Entity" + "name": "Game Entity Context", + "category": "Game Entity" }, "methods": [ { - "key": "DeactivateGameEntity", + "base": "DeactivateGameEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Deactivate Game Entity" @@ -26,14 +26,14 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "GetEntityName", + "base": "GetEntityName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Entity Name" @@ -49,7 +49,7 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } @@ -58,13 +58,13 @@ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "Name" } } ] }, { - "key": "ActivateGameEntity", + "base": "ActivateGameEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Activate Game Entity" @@ -80,14 +80,14 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "DestroyGameEntityAndDescendants", + "base": "DestroyGameEntityAndDescendants", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Destroy Game Entity And Descendants" @@ -103,14 +103,14 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "DestroyGameEntity", + "base": "DestroyGameEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Destroy Game Entity" @@ -126,30 +126,30 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "CreateGameEntity", + "base": "CreateGameEntity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateGameEntity" + "tooltip": "When signaled, this will invoke Create Game Entity" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateGameEntity is invoked" + "tooltip": "Signaled after Create Game Entity is invoked" }, "details": { - "name": "CreateGameEntity" + "name": "Create Game Entity" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "Name" } } ], diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientRequestBus.names index 166b973286..0837fb2d27 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GradientRequestBus", + "base": "GradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetValue", + "base": "GetValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetValue" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientSurfaceDataRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientSurfaceDataRequestBus.names index 122331320f..7e7b9260b5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientSurfaceDataRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientSurfaceDataRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GradientSurfaceDataRequestBus", + "base": "GradientSurfaceDataRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetThresholdMax", + "base": "GetThresholdMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetThresholdMax" @@ -31,7 +31,7 @@ ] }, { - "key": "SetThresholdMax", + "base": "SetThresholdMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetThresholdMax" @@ -53,7 +53,7 @@ ] }, { - "key": "GetNumTags", + "base": "GetNumTags", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNumTags" @@ -75,7 +75,7 @@ ] }, { - "key": "RemoveTag", + "base": "RemoveTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RemoveTag" @@ -97,7 +97,7 @@ ] }, { - "key": "GetThresholdMin", + "base": "GetThresholdMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetThresholdMin" @@ -119,7 +119,7 @@ ] }, { - "key": "SetShapeConstraintEntityId", + "base": "SetShapeConstraintEntityId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetShapeConstraintEntityId" @@ -142,7 +142,7 @@ ] }, { - "key": "SetThresholdMin", + "base": "SetThresholdMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetThresholdMin" @@ -164,7 +164,7 @@ ] }, { - "key": "GetTag", + "base": "GetTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTag" @@ -194,7 +194,7 @@ ] }, { - "key": "AddTag", + "base": "AddTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddTag" @@ -216,7 +216,7 @@ ] }, { - "key": "GetShapeConstraintEntityId", + "base": "GetShapeConstraintEntityId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetShapeConstraintEntityId" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientTransformModifierRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientTransformModifierRequestBus.names index c814d47ba7..8628947f96 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientTransformModifierRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GradientTransformModifierRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GradientTransformModifierRequestBus", + "base": "GradientTransformModifierRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetOverrideTranslate", + "base": "SetOverrideTranslate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetOverrideTranslate" @@ -31,7 +31,7 @@ ] }, { - "key": "GetRotate", + "base": "GetRotate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetRotate" @@ -53,7 +53,7 @@ ] }, { - "key": "GetBounds", + "base": "GetBounds", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetBounds" @@ -75,7 +75,7 @@ ] }, { - "key": "SetTransformType", + "base": "SetTransformType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetTransformType" @@ -97,7 +97,7 @@ ] }, { - "key": "GetOverrideTranslate", + "base": "GetOverrideTranslate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetOverrideTranslate" @@ -119,7 +119,7 @@ ] }, { - "key": "GetOverrideBounds", + "base": "GetOverrideBounds", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetOverrideBounds" @@ -141,7 +141,7 @@ ] }, { - "key": "SetRotate", + "base": "SetRotate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetRotate" @@ -163,7 +163,7 @@ ] }, { - "key": "SetOverrideScale", + "base": "SetOverrideScale", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetOverrideScale" @@ -185,7 +185,7 @@ ] }, { - "key": "GetScale", + "base": "GetScale", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetScale" @@ -207,7 +207,7 @@ ] }, { - "key": "SetScale", + "base": "SetScale", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetScale" @@ -229,7 +229,7 @@ ] }, { - "key": "GetIs3D", + "base": "GetIs3D", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetIs3D" @@ -251,7 +251,7 @@ ] }, { - "key": "SetShapeReference", + "base": "SetShapeReference", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetShapeReference" @@ -274,7 +274,7 @@ ] }, { - "key": "SetBounds", + "base": "SetBounds", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetBounds" @@ -296,7 +296,7 @@ ] }, { - "key": "SetFrequencyZoom", + "base": "SetFrequencyZoom", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetFrequencyZoom" @@ -318,7 +318,7 @@ ] }, { - "key": "SetWrappingType", + "base": "SetWrappingType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetWrappingType" @@ -340,7 +340,7 @@ ] }, { - "key": "GetShapeReference", + "base": "GetShapeReference", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetShapeReference" @@ -363,7 +363,7 @@ ] }, { - "key": "SetOverrideBounds", + "base": "SetOverrideBounds", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetOverrideBounds" @@ -385,7 +385,7 @@ ] }, { - "key": "GetTransformType", + "base": "GetTransformType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTransformType" @@ -407,7 +407,7 @@ ] }, { - "key": "GetOverrideScale", + "base": "GetOverrideScale", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetOverrideScale" @@ -429,7 +429,7 @@ ] }, { - "key": "SetIs3D", + "base": "SetIs3D", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetIs3D" @@ -451,7 +451,7 @@ ] }, { - "key": "SetAllowReference", + "base": "SetAllowReference", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetAllowReference" @@ -473,7 +473,7 @@ ] }, { - "key": "SetTranslate", + "base": "SetTranslate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetTranslate" @@ -495,7 +495,7 @@ ] }, { - "key": "SetOverrideRotate", + "base": "SetOverrideRotate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetOverrideRotate" @@ -517,7 +517,7 @@ ] }, { - "key": "GetAllowReference", + "base": "GetAllowReference", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetAllowReference" @@ -539,7 +539,7 @@ ] }, { - "key": "GetTranslate", + "base": "GetTranslate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTranslate" @@ -561,7 +561,7 @@ ] }, { - "key": "GetOverrideRotate", + "base": "GetOverrideRotate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetOverrideRotate" @@ -583,7 +583,7 @@ ] }, { - "key": "GetFrequencyZoom", + "base": "GetFrequencyZoom", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetFrequencyZoom" @@ -605,7 +605,7 @@ ] }, { - "key": "GetWrappingType", + "base": "GetWrappingType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetWrappingType" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GraphControllerRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GraphControllerRequestBus.names index 8622a204c2..73d3e8ea01 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GraphControllerRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GraphControllerRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GraphControllerRequestBus", + "base": "GraphControllerRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "RemoveConnection", + "base": "RemoveConnection", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RemoveConnection" @@ -39,7 +39,7 @@ ] }, { - "key": "AddConnection", + "base": "AddConnection", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddConnection" @@ -75,7 +75,7 @@ ] }, { - "key": "WrapNode", + "base": "WrapNode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke WrapNode" @@ -103,7 +103,7 @@ ] }, { - "key": "AddConnectionBySlotId", + "base": "AddConnectionBySlotId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddConnectionBySlotId" @@ -151,7 +151,7 @@ ] }, { - "key": "AddNode", + "base": "AddNode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddNode" @@ -188,7 +188,7 @@ ] }, { - "key": "RemoveNode", + "base": "RemoveNode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RemoveNode" @@ -218,7 +218,7 @@ ] }, { - "key": "ExtendSlot", + "base": "ExtendSlot", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ExtendSlot" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GraphManagerRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GraphManagerRequestBus.names index 13ba4a2b7c..09dc3e9b12 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GraphManagerRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GraphManagerRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GraphManagerRequestBus", + "base": "GraphManagerRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetGraph", + "base": "GetGraph", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetGraph" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GridComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GridComponentRequestBus.names index d30ad4cbc3..8e5415a449 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GridComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/GridComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GridComponentRequestBus", + "base": "GridComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetSecondaryColor", + "base": "SetSecondaryColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSecondaryColor" @@ -31,7 +31,7 @@ ] }, { - "key": "GetPrimarySpacing", + "base": "GetPrimarySpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPrimarySpacing" @@ -53,7 +53,7 @@ ] }, { - "key": "GetSecondaryColor", + "base": "GetSecondaryColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSecondaryColor" @@ -75,7 +75,7 @@ ] }, { - "key": "SetAxisColor", + "base": "SetAxisColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetAxisColor" @@ -97,7 +97,7 @@ ] }, { - "key": "SetPrimaryColor", + "base": "SetPrimaryColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetPrimaryColor" @@ -119,7 +119,7 @@ ] }, { - "key": "GetAxisColor", + "base": "GetAxisColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetAxisColor" @@ -141,7 +141,7 @@ ] }, { - "key": "SetPrimarySpacing", + "base": "SetPrimarySpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetPrimarySpacing" @@ -163,7 +163,7 @@ ] }, { - "key": "GetSecondarySpacing", + "base": "GetSecondarySpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSecondarySpacing" @@ -185,7 +185,7 @@ ] }, { - "key": "SetSecondarySpacing", + "base": "SetSecondarySpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSecondarySpacing" @@ -207,7 +207,7 @@ ] }, { - "key": "SetSize", + "base": "SetSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSize" @@ -229,7 +229,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSize" @@ -251,7 +251,7 @@ ] }, { - "key": "GetPrimaryColor", + "base": "GetPrimaryColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPrimaryColor" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HDRColorGradingRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HDRColorGradingRequestBus.names index 906dd005cc..9327231516 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HDRColorGradingRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HDRColorGradingRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "HDRColorGradingRequestBus", + "base": "HDRColorGradingRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetCustomMinExposure", + "base": "SetCustomMinExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetCustomMinExposure" @@ -31,7 +31,7 @@ ] }, { - "key": "GetFinalAdjustmentWeight", + "base": "GetFinalAdjustmentWeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetFinalAdjustmentWeight" @@ -53,7 +53,7 @@ ] }, { - "key": "SetSmhHighlightsColor", + "base": "SetSmhHighlightsColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSmhHighlightsColor" @@ -75,7 +75,7 @@ ] }, { - "key": "SetLutResolution", + "base": "SetLutResolution", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetLutResolution" @@ -97,7 +97,7 @@ ] }, { - "key": "GetSmhMidtonesColor", + "base": "GetSmhMidtonesColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSmhMidtonesColor" @@ -119,7 +119,7 @@ ] }, { - "key": "GetSmhHighlightsEnd", + "base": "GetSmhHighlightsEnd", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSmhHighlightsEnd" @@ -141,7 +141,7 @@ ] }, { - "key": "GetCustomMinExposure", + "base": "GetCustomMinExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetCustomMinExposure" @@ -163,7 +163,7 @@ ] }, { - "key": "SetSmhHighlightsEnd", + "base": "SetSmhHighlightsEnd", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSmhHighlightsEnd" @@ -185,7 +185,7 @@ ] }, { - "key": "GetChannelMixingGreen", + "base": "GetChannelMixingGreen", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetChannelMixingGreen" @@ -207,7 +207,7 @@ ] }, { - "key": "SetSmhShadowsEnd", + "base": "SetSmhShadowsEnd", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSmhShadowsEnd" @@ -229,7 +229,7 @@ ] }, { - "key": "SetSmhWeight", + "base": "SetSmhWeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSmhWeight" @@ -251,7 +251,7 @@ ] }, { - "key": "SetShaperPresetType", + "base": "SetShaperPresetType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetShaperPresetType" @@ -273,7 +273,7 @@ ] }, { - "key": "GetShaperPresetType", + "base": "GetShaperPresetType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetShaperPresetType" @@ -295,7 +295,7 @@ ] }, { - "key": "SetEnabled", + "base": "SetEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEnabled" @@ -317,7 +317,7 @@ ] }, { - "key": "GetSmhShadowsColor", + "base": "GetSmhShadowsColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSmhShadowsColor" @@ -339,7 +339,7 @@ ] }, { - "key": "GetColorGradingPreSaturation", + "base": "GetColorGradingPreSaturation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorGradingPreSaturation" @@ -361,7 +361,7 @@ ] }, { - "key": "GetSplitToneHighlightsColor", + "base": "GetSplitToneHighlightsColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSplitToneHighlightsColor" @@ -383,7 +383,7 @@ ] }, { - "key": "GetColorGradingHueShift", + "base": "GetColorGradingHueShift", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorGradingHueShift" @@ -405,7 +405,7 @@ ] }, { - "key": "SetColorGradingExposure", + "base": "SetColorGradingExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorGradingExposure" @@ -427,7 +427,7 @@ ] }, { - "key": "GetColorFilterSwatch", + "base": "GetColorFilterSwatch", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorFilterSwatch" @@ -449,7 +449,7 @@ ] }, { - "key": "GetWhiteBalanceTint", + "base": "GetWhiteBalanceTint", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetWhiteBalanceTint" @@ -471,7 +471,7 @@ ] }, { - "key": "GetColorGradingExposure", + "base": "GetColorGradingExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorGradingExposure" @@ -493,7 +493,7 @@ ] }, { - "key": "GetSmhWeight", + "base": "GetSmhWeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSmhWeight" @@ -515,7 +515,7 @@ ] }, { - "key": "SetSmhMidtonesColor", + "base": "SetSmhMidtonesColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSmhMidtonesColor" @@ -537,7 +537,7 @@ ] }, { - "key": "SetChannelMixingBlue", + "base": "SetChannelMixingBlue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetChannelMixingBlue" @@ -559,7 +559,7 @@ ] }, { - "key": "GetGenerateLut", + "base": "GetGenerateLut", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetGenerateLut" @@ -581,7 +581,7 @@ ] }, { - "key": "SetSplitToneBalance", + "base": "SetSplitToneBalance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSplitToneBalance" @@ -603,7 +603,7 @@ ] }, { - "key": "GetLutResolution", + "base": "GetLutResolution", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetLutResolution" @@ -625,7 +625,7 @@ ] }, { - "key": "SetColorGradingContrast", + "base": "SetColorGradingContrast", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorGradingContrast" @@ -647,7 +647,7 @@ ] }, { - "key": "GetWhiteBalanceKelvin", + "base": "GetWhiteBalanceKelvin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetWhiteBalanceKelvin" @@ -669,7 +669,7 @@ ] }, { - "key": "SetSplitToneHighlightsColor", + "base": "SetSplitToneHighlightsColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSplitToneHighlightsColor" @@ -691,7 +691,7 @@ ] }, { - "key": "GetSmhShadowsEnd", + "base": "GetSmhShadowsEnd", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSmhShadowsEnd" @@ -713,7 +713,7 @@ ] }, { - "key": "SetSmhHighlightsStart", + "base": "SetSmhHighlightsStart", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSmhHighlightsStart" @@ -735,7 +735,7 @@ ] }, { - "key": "SetColorFilterSwatch", + "base": "SetColorFilterSwatch", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorFilterSwatch" @@ -757,7 +757,7 @@ ] }, { - "key": "GetColorGradingFilterIntensity", + "base": "GetColorGradingFilterIntensity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorGradingFilterIntensity" @@ -779,7 +779,7 @@ ] }, { - "key": "SetWhiteBalanceWeight", + "base": "SetWhiteBalanceWeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetWhiteBalanceWeight" @@ -801,7 +801,7 @@ ] }, { - "key": "SetSmhShadowsStart", + "base": "SetSmhShadowsStart", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSmhShadowsStart" @@ -823,7 +823,7 @@ ] }, { - "key": "GetChannelMixingRed", + "base": "GetChannelMixingRed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetChannelMixingRed" @@ -845,7 +845,7 @@ ] }, { - "key": "GetColorGradingFilterMultiply", + "base": "GetColorGradingFilterMultiply", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorGradingFilterMultiply" @@ -867,7 +867,7 @@ ] }, { - "key": "SetColorGradingFilterMultiply", + "base": "SetColorGradingFilterMultiply", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorGradingFilterMultiply" @@ -889,7 +889,7 @@ ] }, { - "key": "SetSplitToneShadowsColor", + "base": "SetSplitToneShadowsColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSplitToneShadowsColor" @@ -911,7 +911,7 @@ ] }, { - "key": "SetSplitToneWeight", + "base": "SetSplitToneWeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSplitToneWeight" @@ -933,7 +933,7 @@ ] }, { - "key": "GetSplitToneShadowsColor", + "base": "GetSplitToneShadowsColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSplitToneShadowsColor" @@ -955,7 +955,7 @@ ] }, { - "key": "GetSmhHighlightsStart", + "base": "GetSmhHighlightsStart", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSmhHighlightsStart" @@ -977,7 +977,7 @@ ] }, { - "key": "SetChannelMixingRed", + "base": "SetChannelMixingRed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetChannelMixingRed" @@ -999,7 +999,7 @@ ] }, { - "key": "SetChannelMixingGreen", + "base": "SetChannelMixingGreen", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetChannelMixingGreen" @@ -1021,7 +1021,7 @@ ] }, { - "key": "SetColorGradingFilterIntensity", + "base": "SetColorGradingFilterIntensity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorGradingFilterIntensity" @@ -1043,7 +1043,7 @@ ] }, { - "key": "SetGenerateLut", + "base": "SetGenerateLut", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetGenerateLut" @@ -1065,7 +1065,7 @@ ] }, { - "key": "SetColorAdjustmentWeight", + "base": "SetColorAdjustmentWeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorAdjustmentWeight" @@ -1087,7 +1087,7 @@ ] }, { - "key": "GetSmhShadowsStart", + "base": "GetSmhShadowsStart", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSmhShadowsStart" @@ -1109,7 +1109,7 @@ ] }, { - "key": "SetSmhShadowsColor", + "base": "SetSmhShadowsColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSmhShadowsColor" @@ -1131,7 +1131,7 @@ ] }, { - "key": "SetFinalAdjustmentWeight", + "base": "SetFinalAdjustmentWeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetFinalAdjustmentWeight" @@ -1153,7 +1153,7 @@ ] }, { - "key": "GetColorGradingPostSaturation", + "base": "GetColorGradingPostSaturation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorGradingPostSaturation" @@ -1175,7 +1175,7 @@ ] }, { - "key": "SetColorGradingPreSaturation", + "base": "SetColorGradingPreSaturation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorGradingPreSaturation" @@ -1197,7 +1197,7 @@ ] }, { - "key": "SetColorGradingHueShift", + "base": "SetColorGradingHueShift", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorGradingHueShift" @@ -1219,7 +1219,7 @@ ] }, { - "key": "GetSplitToneBalance", + "base": "GetSplitToneBalance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSplitToneBalance" @@ -1241,7 +1241,7 @@ ] }, { - "key": "GetColorAdjustmentWeight", + "base": "GetColorAdjustmentWeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorAdjustmentWeight" @@ -1263,7 +1263,7 @@ ] }, { - "key": "GetSmhHighlightsColor", + "base": "GetSmhHighlightsColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSmhHighlightsColor" @@ -1285,7 +1285,7 @@ ] }, { - "key": "GetSplitToneWeight", + "base": "GetSplitToneWeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSplitToneWeight" @@ -1307,7 +1307,7 @@ ] }, { - "key": "SetColorGradingPostSaturation", + "base": "SetColorGradingPostSaturation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorGradingPostSaturation" @@ -1329,7 +1329,7 @@ ] }, { - "key": "SetWhiteBalanceKelvin", + "base": "SetWhiteBalanceKelvin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetWhiteBalanceKelvin" @@ -1351,7 +1351,7 @@ ] }, { - "key": "GetWhiteBalanceWeight", + "base": "GetWhiteBalanceWeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetWhiteBalanceWeight" @@ -1373,7 +1373,7 @@ ] }, { - "key": "GetColorGradingContrast", + "base": "GetColorGradingContrast", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorGradingContrast" @@ -1395,7 +1395,7 @@ ] }, { - "key": "GetEnabled", + "base": "GetEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEnabled" @@ -1417,7 +1417,7 @@ ] }, { - "key": "GetCustomMaxExposure", + "base": "GetCustomMaxExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetCustomMaxExposure" @@ -1439,7 +1439,7 @@ ] }, { - "key": "SetWhiteBalanceTint", + "base": "SetWhiteBalanceTint", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetWhiteBalanceTint" @@ -1461,7 +1461,7 @@ ] }, { - "key": "GetChannelMixingBlue", + "base": "GetChannelMixingBlue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetChannelMixingBlue" @@ -1483,7 +1483,7 @@ ] }, { - "key": "SetCustomMaxExposure", + "base": "SetCustomMaxExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetCustomMaxExposure" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HDRiSkyboxRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HDRiSkyboxRequestBus.names index c28a18dfc4..e93be00413 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HDRiSkyboxRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HDRiSkyboxRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "HDRiSkyboxRequestBus", + "base": "HDRiSkyboxRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetExposure", + "base": "SetExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetExposure" @@ -31,7 +31,7 @@ ] }, { - "key": "GetExposure", + "base": "GetExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetExposure" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HeightfieldProviderRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HeightfieldProviderRequestsBus.names new file mode 100644 index 0000000000..a27119f0b6 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/HeightfieldProviderRequestsBus.names @@ -0,0 +1,234 @@ +{ + "entries": [ + { + "base": "HeightfieldProviderRequestsBus", + "context": "EBusSender", + "variant": "", + "details": { + "name": "Heightfield Provider" + }, + "methods": [ + { + "base": "GetHeightfieldMinHeight", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Heightfield Min Height" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Heightfield Min Height is invoked" + }, + "details": { + "name": "Get Heightfield Min Height" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Heightfield Min Height" + } + } + ] + }, + { + "base": "GetHeights", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Heights" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Heights is invoked" + }, + "details": { + "name": "Get Heights" + }, + "results": [ + { + "typeid": "{6106BF95-5ACD-5071-8D0E-4F846C2138AD}", + "details": { + "name": "Heights" + } + } + ] + }, + { + "base": "GetHeightfieldMaxHeight", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Heightfield Max Height" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Heightfield Max Height is invoked" + }, + "details": { + "name": "Get Heightfield Max Height" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Heightfield Max Height" + } + } + ] + }, + { + "base": "GetHeightfieldGridColumns", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Heightfield Grid Columns" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Heightfield Grid Columns is invoked" + }, + "details": { + "name": "Get Heightfield Grid Columns" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Heightfield Grid Columns" + } + } + ] + }, + { + "base": "GetMaterialList", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Material List" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Material List is invoked" + }, + "details": { + "name": "Get Material List" + }, + "results": [ + { + "typeid": "{82111EAD-9C65-57F0-BA72-46D6D931B434}", + "details": { + "name": "Material List" + } + } + ] + }, + { + "base": "GetHeightfieldTransform", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Heightfield Transform" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Heightfield Transform is invoked" + }, + "details": { + "name": "Get Heightfield Transform" + }, + "results": [ + { + "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", + "details": { + "name": "Heightfield Transform" + } + } + ] + }, + { + "base": "GetHeightfieldGridRows", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Heightfield Grid Rows" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Heightfield Grid Rows is invoked" + }, + "details": { + "name": "Get Heightfield Grid Rows" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Heightfield Grid Rows" + } + } + ] + }, + { + "base": "GetHeightfieldGridSpacing", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Heightfield Grid Spacing" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Heightfield Grid Spacing is invoked" + }, + "details": { + "name": "Get Heightfield Grid Spacing" + }, + "results": [ + { + "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", + "details": { + "name": "Heightfield Grid Spacing" + } + } + ] + }, + { + "base": "GetHeightfieldAabb", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Heightfield AABB" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Heightfield AABB is invoked" + }, + "details": { + "name": "Get Heightfield AABB" + }, + "results": [ + { + "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", + "details": { + "name": "AABB" + } + } + ] + }, + { + "base": "GetHeightsAndMaterials", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Heights And Materials" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Heights And Materials is invoked" + }, + "details": { + "name": "Get Heights And Materials" + }, + "results": [ + { + "typeid": "{887288A6-8B56-55A7-BD10-3E4B19CBFD6C}", + "details": { + "name": "Heights And Materials" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ImageBasedLightComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ImageBasedLightComponentRequestBus.names index 090c4abb00..92b7f6375b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ImageBasedLightComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ImageBasedLightComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ImageBasedLightComponentRequestBus", + "base": "ImageBasedLightComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetDiffuseImageAssetId", + "base": "GetDiffuseImageAssetId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetDiffuseImageAssetId" @@ -31,7 +31,7 @@ ] }, { - "key": "SetDiffuseImageAssetPath", + "base": "SetDiffuseImageAssetPath", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetDiffuseImageAssetPath" @@ -53,7 +53,7 @@ ] }, { - "key": "SetDiffuseImageAssetId", + "base": "SetDiffuseImageAssetId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetDiffuseImageAssetId" @@ -75,7 +75,7 @@ ] }, { - "key": "GetSpecularImageAssetId", + "base": "GetSpecularImageAssetId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSpecularImageAssetId" @@ -97,7 +97,7 @@ ] }, { - "key": "SetSpecularImageAssetPath", + "base": "SetSpecularImageAssetPath", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSpecularImageAssetPath" @@ -119,7 +119,7 @@ ] }, { - "key": "GetSpecularImageAssetPath", + "base": "GetSpecularImageAssetPath", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSpecularImageAssetPath" @@ -141,7 +141,7 @@ ] }, { - "key": "GetDiffuseImageAssetPath", + "base": "GetDiffuseImageAssetPath", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetDiffuseImageAssetPath" @@ -163,7 +163,7 @@ ] }, { - "key": "SetSpecularImageAssetId", + "base": "SetSpecularImageAssetId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSpecularImageAssetId" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ImageGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ImageGradientRequestBus.names index f4f826d7b6..12aefcefaf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ImageGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ImageGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ImageGradientRequestBus", + "base": "ImageGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetTilingX", + "base": "SetTilingX", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetTilingX" @@ -31,7 +31,7 @@ ] }, { - "key": "GetTilingX", + "base": "GetTilingX", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTilingX" @@ -53,7 +53,7 @@ ] }, { - "key": "SetImageAssetPath", + "base": "SetImageAssetPath", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetImageAssetPath" @@ -75,7 +75,7 @@ ] }, { - "key": "SetTilingY", + "base": "SetTilingY", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetTilingY" @@ -97,7 +97,7 @@ ] }, { - "key": "GetImageAssetPath", + "base": "GetImageAssetPath", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetImageAssetPath" @@ -119,7 +119,7 @@ ] }, { - "key": "GetTilingY", + "base": "GetTilingY", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTilingY" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/InputSystemRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/InputSystemRequestBus.names index 883bed230d..a30ad8ba30 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/InputSystemRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/InputSystemRequestBus.names @@ -1,25 +1,26 @@ { "entries": [ { - "key": "InputSystemRequestBus", + "base": "InputSystemRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "InputSystemRequestBus" + "name": "Input System", + "category": "Input" }, "methods": [ { - "key": "RecreateEnabledInputDevices", + "base": "RecreateEnabledInputDevices", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke RecreateEnabledInputDevices" + "tooltip": "When signaled, this will invoke Recreate Enabled Input Devices" }, "exit": { "name": "Out", - "tooltip": "Signaled after RecreateEnabledInputDevices is invoked" + "tooltip": "Signaled after Recreate Enabled Input Devices is invoked" }, "details": { - "name": "RecreateEnabledInputDevices" + "name": "Recreate Enabled Input Devices" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/InvertGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/InvertGradientRequestBus.names index 4fc68d7cd8..2fb486c743 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/InvertGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/InvertGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "InvertGradientRequestBus", + "base": "InvertGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetGradientSampler", + "base": "GetGradientSampler", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetGradientSampler" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LevelsGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LevelsGradientRequestBus.names index b261321830..565c85bdbc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LevelsGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LevelsGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "LevelsGradientRequestBus", + "base": "LevelsGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetOutputMax", + "base": "GetOutputMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetOutputMax" @@ -31,7 +31,7 @@ ] }, { - "key": "SetInputMax", + "base": "SetInputMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetInputMax" @@ -53,7 +53,7 @@ ] }, { - "key": "SetOutputMax", + "base": "SetOutputMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetOutputMax" @@ -75,7 +75,7 @@ ] }, { - "key": "SetInputMid", + "base": "SetInputMid", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetInputMid" @@ -97,7 +97,7 @@ ] }, { - "key": "SetOutputMin", + "base": "SetOutputMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetOutputMin" @@ -119,7 +119,7 @@ ] }, { - "key": "GetGradientSampler", + "base": "GetGradientSampler", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetGradientSampler" @@ -141,7 +141,7 @@ ] }, { - "key": "SetInputMin", + "base": "SetInputMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetInputMin" @@ -163,7 +163,7 @@ ] }, { - "key": "GetInputMid", + "base": "GetInputMid", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetInputMid" @@ -185,7 +185,7 @@ ] }, { - "key": "GetInputMax", + "base": "GetInputMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetInputMax" @@ -207,7 +207,7 @@ ] }, { - "key": "GetOutputMin", + "base": "GetOutputMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetOutputMin" @@ -229,7 +229,7 @@ ] }, { - "key": "GetInputMin", + "base": "GetInputMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetInputMin" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LookAt.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LookAt.names index f45199ea84..699b0195ca 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LookAt.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LookAt.names @@ -1,76 +1,82 @@ { "entries": [ { - "key": "LookAt", + "base": "LookAt", "context": "EBusSender", "variant": "", "details": { - "name": "LookAt" + "name": "Look At", + "category": "Gameplay" }, "methods": [ { - "key": "SetTarget", + "base": "SetTarget", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTarget" + "tooltip": "When signaled, this will invoke Set Target" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTarget is invoked" + "tooltip": "Signaled after Set Target is invoked" }, "details": { - "name": "SetTarget" + "name": "Set Target", + "tooltip": "Set the entity to look at" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", - "tooltip": "Entity Unique Id" + "name": "Target", + "tooltip": "The entity to look at" } } ] }, { - "key": "SetTargetPosition", + "base": "SetTargetPosition", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTargetPosition" + "tooltip": "When signaled, this will invoke Set Target Position" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTargetPosition is invoked" + "tooltip": "Signaled after Set Target Position is invoked" }, "details": { - "name": "SetTargetPosition" + "name": "Set Target Position", + "tooltip": "Sets the target position to look at." }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Position", + "tooltip": "The position to look at" } } ] }, { - "key": "SetAxis", + "base": "SetAxis", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetAxis" + "tooltip": "When signaled, this will invoke Set Axis" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetAxis is invoked" + "tooltip": "Signaled after Set Axis is invoked" }, "details": { - "name": "SetAxis" + "name": "Set Axis", + "tooltip": "Specify the forward axis to use as reference for the look at" }, "params": [ { "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", "details": { - "name": "unsigned char" + "name": "Axis", + "tooltip": "The forward axis to use as reference" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LookModificationRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LookModificationRequestBus.names index 7e38e83e06..27cdb67ed7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LookModificationRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LookModificationRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "LookModificationRequestBus", + "base": "LookModificationRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetColorGradingLutOverride", + "base": "SetColorGradingLutOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorGradingLutOverride" @@ -31,7 +31,7 @@ ] }, { - "key": "SetCustomMaxExposure", + "base": "SetCustomMaxExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetCustomMaxExposure" @@ -53,7 +53,7 @@ ] }, { - "key": "SetCustomMinExposure", + "base": "SetCustomMinExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetCustomMinExposure" @@ -75,7 +75,7 @@ ] }, { - "key": "GetCustomMinExposure", + "base": "GetCustomMinExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetCustomMinExposure" @@ -97,7 +97,7 @@ ] }, { - "key": "GetColorGradingLut", + "base": "GetColorGradingLut", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorGradingLut" @@ -119,7 +119,7 @@ ] }, { - "key": "GetColorGradingLutIntensity", + "base": "GetColorGradingLutIntensity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorGradingLutIntensity" @@ -141,7 +141,7 @@ ] }, { - "key": "GetColorGradingLutOverride", + "base": "GetColorGradingLutOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetColorGradingLutOverride" @@ -163,7 +163,7 @@ ] }, { - "key": "SetColorGradingLut", + "base": "SetColorGradingLut", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorGradingLut" @@ -185,7 +185,7 @@ ] }, { - "key": "SetColorGradingLutIntensity", + "base": "SetColorGradingLutIntensity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetColorGradingLutIntensity" @@ -207,7 +207,7 @@ ] }, { - "key": "SetEnabled", + "base": "SetEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEnabled" @@ -229,7 +229,7 @@ ] }, { - "key": "GetEnabled", + "base": "GetEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEnabled" @@ -251,7 +251,7 @@ ] }, { - "key": "SetShaperPresetType", + "base": "SetShaperPresetType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetShaperPresetType" @@ -273,7 +273,7 @@ ] }, { - "key": "GetShaperPresetType", + "base": "GetShaperPresetType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetShaperPresetType" @@ -295,7 +295,7 @@ ] }, { - "key": "GetCustomMaxExposure", + "base": "GetCustomMaxExposure", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetCustomMaxExposure" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LyShineExamplesCppExampleBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LyShineExamplesCppExampleBus.names index 6e8aff1df5..3287656724 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LyShineExamplesCppExampleBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/LyShineExamplesCppExampleBus.names @@ -1,16 +1,16 @@ { "entries": [ { - "key": "LyShineExamplesCppExampleBus", + "base": "LyShineExamplesCppExampleBus", "context": "EBusSender", "variant": "", "details": { - "name": "LyShineExamplesCppExampleBus", - "category": "UI/LyShine Examples" + "name": "UI Examples", + "category": "UI" }, "methods": [ { - "key": "CreateCanvas", + "base": "CreateCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Create Canvas" @@ -20,12 +20,11 @@ "tooltip": "Signaled after Create Canvas is invoked" }, "details": { - "name": "Create Canvas", - "tooltip": "Creates a canvas using C++" + "name": "Create Canvas" } }, { - "key": "DestroyCanvas", + "base": "DestroyCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Destroy Canvas" @@ -35,8 +34,7 @@ "tooltip": "Signaled after Destroy Canvas is invoked" }, "details": { - "name": "Destroy Canvas", - "tooltip": "Destroys a canvas using C++" + "name": "Destroy Canvas" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/MaterialComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/MaterialComponentRequestBus.names index d5a66328b5..fa2ade0412 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/MaterialComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/MaterialComponentRequestBus.names @@ -1,31 +1,32 @@ { "entries": [ { - "key": "MaterialComponentRequestBus", + "base": "MaterialComponentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "MaterialComponentRequestBus" + "name": "Material", + "category": "Rendering" }, "methods": [ { - "key": "GetPropertyOverrides", + "base": "GetPropertyOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrides" + "tooltip": "When signaled, this will invoke Get Property Overrides" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyOverrides is invoked" + "tooltip": "Signaled after Get Property Overrides is invoked" }, "details": { - "name": "GetPropertyOverrides" + "name": "Get Property Overrides" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } } ], @@ -33,113 +34,113 @@ { "typeid": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "details": { - "name": "AZStd::unordered_map" + "name": "AZ Std::unordered_map" } } ] }, { - "key": "SetPropertyOverrides", + "base": "SetPropertyOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrides" + "tooltip": "When signaled, this will invoke Set Property Overrides" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrides is invoked" + "tooltip": "Signaled after Set Property Overrides is invoked" }, "details": { - "name": "SetPropertyOverrides" + "name": "Set Property Overrides" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "details": { - "name": "AZStd::unordered_map" + "name": "AZ Std::unordered_map" } } ] }, { - "key": "ClearPropertyOverride", + "base": "ClearPropertyOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ClearPropertyOverride" + "tooltip": "When signaled, this will invoke Clear Property Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after ClearPropertyOverride is invoked" + "tooltip": "Signaled after Clear Property Override is invoked" }, "details": { - "name": "ClearPropertyOverride" + "name": "Clear Property Override" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ] }, { - "key": "ClearPropertyOverrides", + "base": "ClearPropertyOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ClearPropertyOverrides" + "tooltip": "When signaled, this will invoke Clear Property Overrides" }, "exit": { "name": "Out", - "tooltip": "Signaled after ClearPropertyOverrides is invoked" + "tooltip": "Signaled after Clear Property Overrides is invoked" }, "details": { - "name": "ClearPropertyOverrides" + "name": "Clear Property Overrides" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } } ] }, { - "key": "GetPropertyOverrideVector4", + "base": "GetPropertyOverrideVector4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideVector4" + "tooltip": "When signaled, this will invoke Get Property Override Vector 4" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideVector4 is invoked" + "tooltip": "Signaled after Get Property Override Vector 4 is invoked" }, "details": { - "name": "GetPropertyOverrideVector4" + "name": "Get Property Override Vector 4" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ], @@ -147,71 +148,35 @@ { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Vector4" + "name": "Vector 4" } } ] }, { - "key": "GetPropertyOverrideImageInstance", + "base": "GetPropertyOverrideUInt32", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideImageInstance" + "tooltip": "When signaled, this will invoke Get Property OverrideU Int 32" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideImageInstance is invoked" + "tooltip": "Signaled after Get Property OverrideU Int 32 is invoked" }, "details": { - "name": "GetPropertyOverrideImageInstance" + "name": "Get Property OverrideU Int 32" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" - } - } - ], - "results": [ - { - "typeid": "{C0311D23-97F1-556C-B6A4-ECD726543686}", - "details": { - "name": "AZStd::intrusive_ptr" - } - } - ] - }, - { - "key": "GetPropertyOverrideUInt32", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideUInt32" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideUInt32 is invoked" - }, - "details": { - "name": "GetPropertyOverrideUInt32" - }, - "params": [ - { - "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", - "details": { - "name": "AZ::Render::MaterialAssignmentId" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ], @@ -225,29 +190,29 @@ ] }, { - "key": "GetPropertyOverrideBool", + "base": "GetPropertyOverrideBool", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideBool" + "tooltip": "When signaled, this will invoke Get Property Override Bool" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideBool is invoked" + "tooltip": "Signaled after Get Property Override Bool is invoked" }, "details": { - "name": "GetPropertyOverrideBool" + "name": "Get Property Override Bool" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ], @@ -261,163 +226,141 @@ ] }, { - "key": "GetPropertyOverrideImageAsset", + "base": "SetPropertyOverrideEnum", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideImageAsset" + "tooltip": "When signaled, this will invoke Set Property Override Enum" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideImageAsset is invoked" + "tooltip": "Signaled after Set Property Override Enum is invoked" }, "details": { - "name": "GetPropertyOverrideImageAsset" + "name": "Set Property Override Enum" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } - } - ], - "results": [ + }, { - "typeid": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "Asset" + "name": "unsigned int" } } ] }, { - "key": "SetPropertyOverrideVector2", + "base": "SetPropertyOverrideVector2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideVector2" + "tooltip": "When signaled, this will invoke Set Property Override Vector 2" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideVector2 is invoked" + "tooltip": "Signaled after Set Property Override Vector 2 is invoked" }, "details": { - "name": "SetPropertyOverrideVector2" + "name": "Set Property Override Vector 2" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } }, { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Vector 2" } } ] }, { - "key": "ClearAllPropertyOverrides", + "base": "GetPropertyOverrideImage", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ClearAllPropertyOverrides" + "tooltip": "When signaled, this will invoke Get Property Override Image" }, "exit": { "name": "Out", - "tooltip": "Signaled after ClearAllPropertyOverrides is invoked" + "tooltip": "Signaled after Get Property Override Image is invoked" }, "details": { - "name": "ClearAllPropertyOverrides" - } - }, - { - "key": "ClearMaterialOverride", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke ClearMaterialOverride" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after ClearMaterialOverride is invoked" - }, - "details": { - "name": "ClearMaterialOverride" + "name": "Get Property Override Image" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" - } - } - ] - }, - { - "key": "SetPropertyOverrideImageInstance", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideImageInstance" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideImageInstance is invoked" - }, - "details": { - "name": "SetPropertyOverrideImageInstance" - }, - "params": [ - { - "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", - "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } - }, + } + ], + "results": [ { - "typeid": "{C0311D23-97F1-556C-B6A4-ECD726543686}", + "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AZStd::intrusive_ptr" + "name": "Asset Id" } } ] }, { - "key": "GetMaterialSlotLabel", + "base": "ClearAllPropertyOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetMaterialSlotLabel" + "tooltip": "When signaled, this will invoke Clear All Property Overrides" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetMaterialSlotLabel is invoked" + "tooltip": "Signaled after Clear All Property Overrides is invoked" }, "details": { - "name": "GetMaterialSlotLabel" + "name": "Clear All Property Overrides" + } + }, + { + "base": "GetMaterialSlotLabel", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Material Slot Label" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Material Slot Label is invoked" + }, + "details": { + "name": "Get Material Slot Label" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } } ], @@ -425,83 +368,83 @@ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ] }, { - "key": "SetPropertyOverrideVector3", + "base": "SetPropertyOverrideVector3", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideVector3" + "tooltip": "When signaled, this will invoke Set Property Override Vector 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideVector3 is invoked" + "tooltip": "Signaled after Set Property Override Vector 3 is invoked" }, "details": { - "name": "SetPropertyOverrideVector3" + "name": "Set Property Override Vector 3" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Vector 3" } } ] }, { - "key": "ClearInvalidMaterialOverrides", + "base": "ClearInvalidMaterialOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ClearInvalidMaterialOverrides" + "tooltip": "When signaled, this will invoke Clear Invalid Material Overrides" }, "exit": { "name": "Out", - "tooltip": "Signaled after ClearInvalidMaterialOverrides is invoked" + "tooltip": "Signaled after Clear Invalid Material Overrides is invoked" }, "details": { - "name": "ClearInvalidMaterialOverrides" + "name": "Clear Invalid Material Overrides" } }, { - "key": "SetPropertyOverrideBool", + "base": "SetPropertyOverrideBool", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideBool" + "tooltip": "When signaled, this will invoke Set Property Override Bool" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideBool is invoked" + "tooltip": "Signaled after Set Property Override Bool is invoked" }, "details": { - "name": "SetPropertyOverrideBool" + "name": "Set Property Override Bool" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } }, { @@ -513,143 +456,143 @@ ] }, { - "key": "RepairInvalidMaterialOverrides", + "base": "RepairInvalidMaterialOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke RepairInvalidMaterialOverrides" + "tooltip": "When signaled, this will invoke Repair Invalid Material Overrides" }, "exit": { "name": "Out", - "tooltip": "Signaled after RepairInvalidMaterialOverrides is invoked" + "tooltip": "Signaled after Repair Invalid Material Overrides is invoked" }, "details": { - "name": "RepairInvalidMaterialOverrides" + "name": "Repair Invalid Material Overrides" } }, { - "key": "SetPropertyOverrideString", + "base": "SetPropertyOverrideString", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideString" + "tooltip": "When signaled, this will invoke Set Property Override String" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideString is invoked" + "tooltip": "Signaled after Set Property Override String is invoked" }, "details": { - "name": "SetPropertyOverrideString" + "name": "Set Property Override String" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ] }, { - "key": "SetDefaultMaterialOverride", + "base": "SetDefaultMaterialOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetDefaultMaterialOverride" + "tooltip": "When signaled, this will invoke Set Default Material Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetDefaultMaterialOverride is invoked" + "tooltip": "Signaled after Set Default Material Override is invoked" }, "details": { - "name": "SetDefaultMaterialOverride" + "name": "Set Default Material Override" }, "params": [ { "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AssetId" + "name": "Asset Id" } } ] }, { - "key": "GetDefaultMaterialOverride", + "base": "GetDefaultMaterialOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetDefaultMaterialOverride" + "tooltip": "When signaled, this will invoke Get Default Material Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetDefaultMaterialOverride is invoked" + "tooltip": "Signaled after Get Default Material Override is invoked" }, "details": { - "name": "GetDefaultMaterialOverride" + "name": "Get Default Material Override" }, "results": [ { "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AssetId" + "name": "Asset Id" } } ] }, { - "key": "SetMaterialOverrides", + "base": "SetMaterialOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetMaterialOverrides" + "tooltip": "When signaled, this will invoke Set Material Overrides" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetMaterialOverrides is invoked" + "tooltip": "Signaled after Set Material Overrides is invoked" }, "details": { - "name": "SetMaterialOverrides" + "name": "Set Material Overrides" }, "params": [ { "typeid": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "details": { - "name": "AZStd::unordered_map" + "name": "AZ Std::unordered_map" } } ] }, { - "key": "GetPropertyOverrideString", + "base": "GetPropertyOverrideString", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideString" + "tooltip": "When signaled, this will invoke Get Property Override String" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideString is invoked" + "tooltip": "Signaled after Get Property Override String is invoked" }, "details": { - "name": "GetPropertyOverrideString" + "name": "Get Property Override String" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ], @@ -657,51 +600,51 @@ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ] }, { - "key": "GetMaterialOverrides", + "base": "GetMaterialOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetMaterialOverrides" + "tooltip": "When signaled, this will invoke Get Material Overrides" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetMaterialOverrides is invoked" + "tooltip": "Signaled after Get Material Overrides is invoked" }, "details": { - "name": "GetMaterialOverrides" + "name": "Get Material Overrides" }, "results": [ { "typeid": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "details": { - "name": "AZStd::unordered_map" + "name": "AZ Std::unordered_map" } } ] }, { - "key": "GetMaterialOverride", + "base": "GetMaterialOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetMaterialOverride" + "tooltip": "When signaled, this will invoke Get Material Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetMaterialOverride is invoked" + "tooltip": "Signaled after Get Material Override is invoked" }, "details": { - "name": "GetMaterialOverride" + "name": "Get Material Override" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } } ], @@ -709,69 +652,69 @@ { "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AssetId" + "name": "Asset Id" } } ] }, { - "key": "SetPropertyOverrideVector4", + "base": "SetPropertyOverrideVector4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideVector4" + "tooltip": "When signaled, this will invoke Set Property Override Vector 4" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideVector4 is invoked" + "tooltip": "Signaled after Set Property Override Vector 4 is invoked" }, "details": { - "name": "SetPropertyOverrideVector4" + "name": "Set Property Override Vector 4" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } }, { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Vector4" + "name": "Vector 4" } } ] }, { - "key": "SetPropertyOverrideUInt32", + "base": "SetPropertyOverrideUInt32", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideUInt32" + "tooltip": "When signaled, this will invoke Set Property OverrideU Int 32" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideUInt32 is invoked" + "tooltip": "Signaled after Set Property OverrideU Int 32 is invoked" }, "details": { - "name": "SetPropertyOverrideUInt32" + "name": "Set Property OverrideU Int 32" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } }, { @@ -783,29 +726,29 @@ ] }, { - "key": "FindMaterialAssignmentId", + "base": "FindMaterialAssignmentId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke FindMaterialAssignmentId" + "tooltip": "When signaled, this will invoke Find Material Assignment Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after FindMaterialAssignmentId is invoked" + "tooltip": "Signaled after Find Material Assignment Id is invoked" }, "details": { - "name": "FindMaterialAssignmentId" + "name": "Find Material Assignment Id" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "AZ::u 64" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ], @@ -813,69 +756,35 @@ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } } ] }, { - "key": "SetPropertyOverrideImageAsset", + "base": "GetPropertyOverrideInt32", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideImageAsset" + "tooltip": "When signaled, this will invoke Get Property Override Int 32" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideImageAsset is invoked" + "tooltip": "Signaled after Get Property Override Int 32 is invoked" }, "details": { - "name": "SetPropertyOverrideImageAsset" + "name": "Get Property Override Int 32" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" - } - }, - { - "typeid": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", - "details": { - "name": "Asset" - } - } - ] - }, - { - "key": "GetPropertyOverrideInt32", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideInt32" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideInt32 is invoked" - }, - "details": { - "name": "GetPropertyOverrideInt32" - }, - "params": [ - { - "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", - "details": { - "name": "AZ::Render::MaterialAssignmentId" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ], @@ -889,29 +798,65 @@ ] }, { - "key": "SetPropertyOverride", + "base": "GetPropertyOverrideEnum", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverride" + "tooltip": "When signaled, this will invoke Get Property Override Enum" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverride is invoked" + "tooltip": "Signaled after Get Property Override Enum is invoked" }, "details": { - "name": "SetPropertyOverride" + "name": "Get Property Override Enum" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" + } + } + ], + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + }, + { + "base": "SetPropertyOverride", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Property Override" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Property Override is invoked" + }, + "details": { + "name": "Set Property Override" + }, + "params": [ + { + "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", + "details": { + "name": "AZ:: Render:: Material Assignment Id" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "AZ Std::string" } }, { @@ -923,51 +868,51 @@ ] }, { - "key": "GetOriginalMaterialAssignments", + "base": "GetOriginalMaterialAssignments", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetOriginalMaterialAssignments" + "tooltip": "When signaled, this will invoke Get Original Material Assignments" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetOriginalMaterialAssignments is invoked" + "tooltip": "Signaled after Get Original Material Assignments is invoked" }, "details": { - "name": "GetOriginalMaterialAssignments" + "name": "Get Original Material Assignments" }, "results": [ { "typeid": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "details": { - "name": "AZStd::unordered_map" + "name": "AZ Std::unordered_map" } } ] }, { - "key": "GetPropertyOverride", + "base": "GetPropertyOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverride" + "tooltip": "When signaled, this will invoke Get Property Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyOverride is invoked" + "tooltip": "Signaled after Get Property Override is invoked" }, "details": { - "name": "GetPropertyOverride" + "name": "Get Property Override" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ], @@ -981,37 +926,37 @@ ] }, { - "key": "ClearModelMaterialOverrides", + "base": "ClearModelMaterialOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ClearModelMaterialOverrides" + "tooltip": "When signaled, this will invoke Clear Model Material Overrides" }, "exit": { "name": "Out", - "tooltip": "Signaled after ClearModelMaterialOverrides is invoked" + "tooltip": "Signaled after Clear Model Material Overrides is invoked" }, "details": { - "name": "ClearModelMaterialOverrides" + "name": "Clear Model Material Overrides" } }, { - "key": "GetDefaultMaterialAssetId", + "base": "GetDefaultMaterialAssetId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetDefaultMaterialAssetId" + "tooltip": "When signaled, this will invoke Get Default Material Asset Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetDefaultMaterialAssetId is invoked" + "tooltip": "Signaled after Get Default Material Asset Id is invoked" }, "details": { - "name": "GetDefaultMaterialAssetId" + "name": "Get Default Material Asset Id" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } } ], @@ -1019,35 +964,35 @@ { "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AssetId" + "name": "Asset Id" } } ] }, { - "key": "SetPropertyOverrideInt32", + "base": "SetPropertyOverrideInt32", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideInt32" + "tooltip": "When signaled, this will invoke Set Property Override Int 32" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideInt32 is invoked" + "tooltip": "Signaled after Set Property Override Int 32 is invoked" }, "details": { - "name": "SetPropertyOverrideInt32" + "name": "Set Property Override Int 32" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } }, { @@ -1059,29 +1004,63 @@ ] }, { - "key": "GetPropertyOverrideVector2", + "base": "SetPropertyOverrideImage", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideVector2" + "tooltip": "When signaled, this will invoke Set Property Override Image" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideVector2 is invoked" + "tooltip": "Signaled after Set Property Override Image is invoked" }, "details": { - "name": "GetPropertyOverrideVector2" + "name": "Set Property Override Image" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" + } + }, + { + "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", + "details": { + "name": "Asset Id" + } + } + ] + }, + { + "base": "GetPropertyOverrideVector2", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Property Override Vector 2" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Property Override Vector 2 is invoked" + }, + "details": { + "name": "Get Property Override Vector 2" + }, + "params": [ + { + "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", + "details": { + "name": "AZ:: Render:: Material Assignment Id" + } + }, + { + "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "details": { + "name": "AZ Std::string" } } ], @@ -1089,49 +1068,49 @@ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Vector 2" } } ] }, { - "key": "ClearAllMaterialOverrides", + "base": "ClearAllMaterialOverrides", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ClearAllMaterialOverrides" + "tooltip": "When signaled, this will invoke Clear All Material Overrides" }, "exit": { "name": "Out", - "tooltip": "Signaled after ClearAllMaterialOverrides is invoked" + "tooltip": "Signaled after Clear All Material Overrides is invoked" }, "details": { - "name": "ClearAllMaterialOverrides" + "name": "Clear All Material Overrides" } }, { - "key": "GetPropertyOverrideColor", + "base": "GetPropertyOverrideColor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideColor" + "tooltip": "When signaled, this will invoke Get Property Override Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideColor is invoked" + "tooltip": "Signaled after Get Property Override Color is invoked" }, "details": { - "name": "GetPropertyOverrideColor" + "name": "Get Property Override Color" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ], @@ -1145,29 +1124,29 @@ ] }, { - "key": "SetPropertyOverrideFloat", + "base": "SetPropertyOverrideFloat", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideFloat" + "tooltip": "When signaled, this will invoke Set Property Override Float" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideFloat is invoked" + "tooltip": "Signaled after Set Property Override Float is invoked" }, "details": { - "name": "SetPropertyOverrideFloat" + "name": "Set Property Override Float" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } }, { @@ -1179,57 +1158,101 @@ ] }, { - "key": "ClearLodMaterialOverrides", + "base": "ApplyAutomaticPropertyUpdates", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ClearLodMaterialOverrides" + "tooltip": "When signaled, this will invoke Apply Automatic Property Updates" }, "exit": { "name": "Out", - "tooltip": "Signaled after ClearLodMaterialOverrides is invoked" + "tooltip": "Signaled after Apply Automatic Property Updates is invoked" }, "details": { - "name": "ClearLodMaterialOverrides" - } + "name": "Apply Automatic Property Updates" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] }, { - "key": "ClearIncompatibleMaterialOverrides", + "base": "ClearMaterialOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ClearIncompatibleMaterialOverrides" + "tooltip": "When signaled, this will invoke Clear Material Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after ClearIncompatibleMaterialOverrides is invoked" + "tooltip": "Signaled after Clear Material Override is invoked" }, "details": { - "name": "ClearIncompatibleMaterialOverrides" - } - }, - { - "key": "GetPropertyOverrideVector3", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideVector3" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideVector3 is invoked" - }, - "details": { - "name": "GetPropertyOverrideVector3" + "name": "Clear Material Override" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" + } + } + ] + }, + { + "base": "ClearLodMaterialOverrides", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Clear Lod Material Overrides" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Clear Lod Material Overrides is invoked" + }, + "details": { + "name": "Clear Lod Material Overrides" + } + }, + { + "base": "ClearIncompatibleMaterialOverrides", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Clear Incompatible Material Overrides" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Clear Incompatible Material Overrides is invoked" + }, + "details": { + "name": "Clear Incompatible Material Overrides" + } + }, + { + "base": "GetPropertyOverrideVector3", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Property Override Vector 3" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Property Override Vector 3 is invoked" + }, + "details": { + "name": "Get Property Override Vector 3" + }, + "params": [ + { + "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", + "details": { + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ], @@ -1237,49 +1260,49 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Vector 3" } } ] }, { - "key": "ClearDefaultMaterialOverride", + "base": "ClearDefaultMaterialOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke ClearDefaultMaterialOverride" + "tooltip": "When signaled, this will invoke Clear Default Material Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after ClearDefaultMaterialOverride is invoked" + "tooltip": "Signaled after Clear Default Material Override is invoked" }, "details": { - "name": "ClearDefaultMaterialOverride" + "name": "Clear Default Material Override" } }, { - "key": "SetPropertyOverrideColor", + "base": "SetPropertyOverrideColor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetPropertyOverrideColor" + "tooltip": "When signaled, this will invoke Set Property Override Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetPropertyOverrideColor is invoked" + "tooltip": "Signaled after Set Property Override Color is invoked" }, "details": { - "name": "SetPropertyOverrideColor" + "name": "Set Property Override Color" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } }, { @@ -1291,57 +1314,57 @@ ] }, { - "key": "SetMaterialOverride", + "base": "SetMaterialOverride", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetMaterialOverride" + "tooltip": "When signaled, this will invoke Set Material Override" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetMaterialOverride is invoked" + "tooltip": "Signaled after Set Material Override is invoked" }, "details": { - "name": "SetMaterialOverride" + "name": "Set Material Override" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AssetId" + "name": "Asset Id" } } ] }, { - "key": "GetPropertyOverrideFloat", + "base": "GetPropertyOverrideFloat", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPropertyOverrideFloat" + "tooltip": "When signaled, this will invoke Get Property Override Float" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPropertyOverrideFloat is invoked" + "tooltip": "Signaled after Get Property Override Float is invoked" }, "details": { - "name": "GetPropertyOverrideFloat" + "name": "Get Property Override Float" }, "params": [ { "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", "details": { - "name": "AZ::Render::MaterialAssignmentId" + "name": "AZ:: Render:: Material Assignment Id" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "AZ Std::string" } } ], diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/MixedGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/MixedGradientRequestBus.names index 3fd5976810..5c5910b2ad 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/MixedGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/MixedGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "MixedGradientRequestBus", + "base": "MixedGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetNumLayers", + "base": "GetNumLayers", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNumLayers" @@ -31,7 +31,7 @@ ] }, { - "key": "AddLayer", + "base": "AddLayer", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddLayer" @@ -45,7 +45,7 @@ } }, { - "key": "RemoveLayer", + "base": "RemoveLayer", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RemoveLayer" @@ -67,7 +67,7 @@ ] }, { - "key": "GetLayer", + "base": "GetLayer", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetLayer" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/Multi-Position Audio Requests.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/Multi-Position Audio Requests.names index 8234e0cc58..d30deb459a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/Multi-Position Audio Requests.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/Multi-Position Audio Requests.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Multi-Position Audio Requests", + "base": "Multi-Position Audio Requests", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "AddEntity", + "base": "Add Entity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Add Entity" @@ -32,7 +32,7 @@ ] }, { - "key": "RemoveEntity", + "base": "RemoveEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Remove Entity" @@ -42,7 +42,7 @@ "tooltip": "Signaled after Remove Entity is invoked" }, "details": { - "name": "RemoveEntity" + "name": "Remove Entity" }, "params": [ { @@ -55,25 +55,24 @@ ] }, { - "key": "SetBehaviorType", + "base": "SetBehaviorType", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetBehaviorType" + "tooltip": "When signaled, this will invoke Set Behavior Type" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetBehaviorType is invoked" + "tooltip": "Signaled after Set Behavior Type is invoked" }, "details": { - "name": "Set Behavior Type", - "tooltip": "0: Separate, 1: Blended" + "name": "Set Behavior Type" }, "params": [ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Behavior Type", - "tooltip": "0: Separate, 1: Blended" + "name": "Type", + "tooltip": "0: Separate\n1: Blended" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/NavigationComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/NavigationComponentRequestBus.names index 88b015bda8..d30f1a0cf6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/NavigationComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/NavigationComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "NavigationComponentRequestBus", + "base": "NavigationComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetAgentSpeed", + "base": "SetAgentSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Agent Speed" @@ -33,7 +33,7 @@ ] }, { - "key": "SetAgentMovementMethod", + "base": "SetAgentMovementMethod", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Agent Movement Method" @@ -56,7 +56,7 @@ ] }, { - "key": "GetAgentSpeed", + "base": "GetAgentSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetAgentSpeed" @@ -78,7 +78,7 @@ ] }, { - "key": "FindPathToPosition", + "base": "FindPathToPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Find Path To Position" @@ -109,7 +109,7 @@ ] }, { - "key": "Stop", + "base": "Stop", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Stop" @@ -132,7 +132,7 @@ ] }, { - "key": "FindPathToEntity", + "base": "FindPathToEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Find Path To Entity" @@ -163,7 +163,7 @@ ] }, { - "key": "GetAgentMovementMethod", + "base": "GetAgentMovementMethod", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Agent Movement Method" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/NonUniformScaleRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/NonUniformScaleRequestBus.names index 7387063040..ac540f94df 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/NonUniformScaleRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/NonUniformScaleRequestBus.names @@ -1,16 +1,15 @@ { "entries": [ { - "key": "NonUniformScaleRequestBus", + "base": "NonUniformScaleRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "NonUniformScaleRequestBus", - "category": "Entity" + "name": "Non Uniform Scale" }, "methods": [ { - "key": "GetScale", + "base": "GetScale", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Scale" @@ -26,13 +25,13 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Scale" } } ] }, { - "key": "SetScale", + "base": "SetScale", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Scale" @@ -48,7 +47,7 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Non-uniform Scale" + "name": "Scale" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PerformanceStatisticsEBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PerformanceStatisticsEBus.names index a4cb505c02..a09063b01e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PerformanceStatisticsEBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PerformanceStatisticsEBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PerformanceStatisticsEBus", + "base": "PerformanceStatisticsEBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "TrackPerFrameStop", + "base": "TrackPerFrameStop", "entry": { "name": "In", "tooltip": "When signaled, this will invoke TrackPerFrameStop" @@ -23,7 +23,7 @@ } }, { - "key": "TrackPerFrameStart", + "base": "TrackPerFrameStart", "entry": { "name": "In", "tooltip": "When signaled, this will invoke TrackPerFrameStart" @@ -37,7 +37,7 @@ } }, { - "key": "TrackAccumulatedStart", + "base": "TrackAccumulatedStart", "entry": { "name": "In", "tooltip": "When signaled, this will invoke TrackAccumulatedStart" @@ -59,7 +59,7 @@ ] }, { - "key": "TrackAccumulatedStop", + "base": "TrackAccumulatedStop", "entry": { "name": "In", "tooltip": "When signaled, this will invoke TrackAccumulatedStop" @@ -73,7 +73,7 @@ } }, { - "key": "ClearSnaphotStatistics", + "base": "ClearSnaphotStatistics", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ClearSnaphotStatistics" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PerlinGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PerlinGradientRequestBus.names index 0d1e7a800e..60ac349b37 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PerlinGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PerlinGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PerlinGradientRequestBus", + "base": "PerlinGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetOctaves", + "base": "SetOctaves", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetOctaves" @@ -31,7 +31,7 @@ ] }, { - "key": "GetFrequency", + "base": "GetFrequency", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetFrequency" @@ -53,7 +53,7 @@ ] }, { - "key": "GetOctaves", + "base": "GetOctaves", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetOctaves" @@ -75,7 +75,7 @@ ] }, { - "key": "SetFrequency", + "base": "SetFrequency", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetFrequency" @@ -97,7 +97,7 @@ ] }, { - "key": "SetAmplitude", + "base": "SetAmplitude", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetAmplitude" @@ -119,7 +119,7 @@ ] }, { - "key": "GetAmplitude", + "base": "GetAmplitude", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetAmplitude" @@ -141,7 +141,7 @@ ] }, { - "key": "GetRandomSeed", + "base": "GetRandomSeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetRandomSeed" @@ -163,7 +163,7 @@ ] }, { - "key": "SetRandomSeed", + "base": "SetRandomSeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetRandomSeed" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PhysXCharacterControllerRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PhysXCharacterControllerRequestBus.names index c0c09a568d..dfec47011a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PhysXCharacterControllerRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PhysXCharacterControllerRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PhysXCharacterControllerRequestBus", + "base": "PhysXCharacterControllerRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetHalfForwardExtent", + "base": "GetHalfForwardExtent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Half Forward Extent" @@ -31,7 +31,7 @@ ] }, { - "key": "GetRadius", + "base": "GetRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Radius" @@ -41,7 +41,7 @@ "tooltip": "Signaled after Get Radius is invoked" }, "details": { - "name": "Get adius" + "name": "Get Radius" }, "results": [ { @@ -53,7 +53,7 @@ ] }, { - "key": "SetRadius", + "base": "SetRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Radius" @@ -75,7 +75,7 @@ ] }, { - "key": "SetHalfForwardExtent", + "base": "SetHalfForwardExtent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Half Forward Extent" @@ -97,7 +97,7 @@ ] }, { - "key": "SetHeight", + "base": "SetHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Height" @@ -119,7 +119,7 @@ ] }, { - "key": "GetHalfSideExtent", + "base": "GetHalfSideExtent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Half Side Extent" @@ -141,7 +141,7 @@ ] }, { - "key": "GetHeight", + "base": "GetHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Height" @@ -163,7 +163,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Resize" @@ -185,7 +185,7 @@ ] }, { - "key": "SetHalfSideExtent", + "base": "SetHalfSideExtent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Half Side Extent" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PhysicalSkyRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PhysicalSkyRequestBus.names index ccd14962a2..31500b0762 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PhysicalSkyRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PhysicalSkyRequestBus.names @@ -1,25 +1,26 @@ { "entries": [ { - "key": "PhysicalSkyRequestBus", + "base": "PhysicalSkyRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "PhysicalSkyRequestBus" + "name": "Physical Sky", + "category": "Rendering" }, "methods": [ { - "key": "SetSkyIntensity", + "base": "SetSkyIntensity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetSkyIntensity" + "tooltip": "When signaled, this will invoke Set Sky Intensity" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetSkyIntensity is invoked" + "tooltip": "Signaled after Set Sky Intensity is invoked" }, "details": { - "name": "SetSkyIntensity" + "name": "Set Sky Intensity" }, "params": [ { @@ -31,17 +32,17 @@ ] }, { - "key": "SetSunIntensity", + "base": "SetSunIntensity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetSunIntensity" + "tooltip": "When signaled, this will invoke Set Sun Intensity" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetSunIntensity is invoked" + "tooltip": "Signaled after Set Sun Intensity is invoked" }, "details": { - "name": "SetSunIntensity" + "name": "Set Sun Intensity" }, "params": [ { @@ -53,17 +54,17 @@ ] }, { - "key": "GetSunIntensity", + "base": "GetSunIntensity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetSunIntensity" + "tooltip": "When signaled, this will invoke Get Sun Intensity" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetSunIntensity is invoked" + "tooltip": "Signaled after Get Sun Intensity is invoked" }, "details": { - "name": "GetSunIntensity" + "name": "Get Sun Intensity" }, "results": [ { @@ -75,17 +76,17 @@ ] }, { - "key": "GetSunRadiusFactor", + "base": "GetSunRadiusFactor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetSunRadiusFactor" + "tooltip": "When signaled, this will invoke Get Sun Radius Factor" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetSunRadiusFactor is invoked" + "tooltip": "Signaled after Get Sun Radius Factor is invoked" }, "details": { - "name": "GetSunRadiusFactor" + "name": "Get Sun Radius Factor" }, "results": [ { @@ -97,17 +98,17 @@ ] }, { - "key": "SetSunRadiusFactor", + "base": "SetSunRadiusFactor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetSunRadiusFactor" + "tooltip": "When signaled, this will invoke Set Sun Radius Factor" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetSunRadiusFactor is invoked" + "tooltip": "Signaled after Set Sun Radius Factor is invoked" }, "details": { - "name": "SetSunRadiusFactor" + "name": "Set Sun Radius Factor" }, "params": [ { @@ -119,17 +120,17 @@ ] }, { - "key": "GetTurbidity", + "base": "GetTurbidity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTurbidity" + "tooltip": "When signaled, this will invoke Get Turbidity" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTurbidity is invoked" + "tooltip": "Signaled after Get Turbidity is invoked" }, "details": { - "name": "GetTurbidity" + "name": "Get Turbidity" }, "results": [ { @@ -141,17 +142,17 @@ ] }, { - "key": "GetSkyIntensity", + "base": "GetSkyIntensity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetSkyIntensity" + "tooltip": "When signaled, this will invoke Get Sky Intensity" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetSkyIntensity is invoked" + "tooltip": "Signaled after Get Sky Intensity is invoked" }, "details": { - "name": "GetSkyIntensity" + "name": "Get Sky Intensity" }, "results": [ { @@ -163,17 +164,17 @@ ] }, { - "key": "SetTurbidity", + "base": "SetTurbidity", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTurbidity" + "tooltip": "When signaled, this will invoke Set Turbidity" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTurbidity is invoked" + "tooltip": "Signaled after Set Turbidity is invoked" }, "details": { - "name": "SetTurbidity" + "name": "Set Turbidity" }, "params": [ { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PolygonPrismShapeComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PolygonPrismShapeComponentRequestBus.names index 8cd660beaf..c8beed2423 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PolygonPrismShapeComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PolygonPrismShapeComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PolygonPrismShapeComponentRequestBus", + "base": "PolygonPrismShapeComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ClearVertices", + "base": "ClearVertices", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ClearVertices" @@ -23,7 +23,7 @@ } }, { - "key": "InsertVertex", + "base": "InsertVertex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke InsertVertex" @@ -59,7 +59,7 @@ ] }, { - "key": "UpdateVertex", + "base": "UpdateVertex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke UpdateVertex" @@ -95,7 +95,7 @@ ] }, { - "key": "AddVertex", + "base": "AddVertex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddVertex" @@ -117,7 +117,7 @@ ] }, { - "key": "GetPolygonPrism", + "base": "GetPolygonPrism", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPolygonPrism" @@ -139,7 +139,7 @@ ] }, { - "key": "SetHeight", + "base": "SetHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetHeight" @@ -161,7 +161,7 @@ ] }, { - "key": "RemoveVertex", + "base": "RemoveVertex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RemoveVertex" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PostFxLayerRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PostFxLayerRequestBus.names index c66a6e75db..7491c77700 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PostFxLayerRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PostFxLayerRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PostFxLayerRequestBus", + "base": "PostFxLayerRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetPriority", + "base": "SetPriority", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetPriority" @@ -31,7 +31,7 @@ ] }, { - "key": "GetPriority", + "base": "GetPriority", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPriority" @@ -53,7 +53,7 @@ ] }, { - "key": "SetOverrideFactor", + "base": "SetOverrideFactor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetOverrideFactor" @@ -75,7 +75,7 @@ ] }, { - "key": "GetOverrideFactor", + "base": "GetOverrideFactor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetOverrideFactor" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PosterizeGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PosterizeGradientRequestBus.names index 86d059cdb7..846c1589bd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PosterizeGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PosterizeGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PosterizeGradientRequestBus", + "base": "PosterizeGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetGradientSampler", + "base": "GetGradientSampler", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetGradientSampler" @@ -31,7 +31,7 @@ ] }, { - "key": "GetModeType", + "base": "GetModeType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetModeType" @@ -53,7 +53,7 @@ ] }, { - "key": "SetModeType", + "base": "SetModeType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetModeType" @@ -75,7 +75,7 @@ ] }, { - "key": "SetBands", + "base": "SetBands", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetBands" @@ -97,7 +97,7 @@ ] }, { - "key": "GetBands", + "base": "GetBands", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetBands" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabLoaderScriptingBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabLoaderScriptingBus.names index 791394e50a..c57b57f9fe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabLoaderScriptingBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabLoaderScriptingBus.names @@ -1,31 +1,31 @@ { "entries": [ { - "key": "PrefabLoaderScriptingBus", + "base": "PrefabLoaderScriptingBus", "context": "EBusSender", "variant": "", "details": { - "name": "PrefabLoaderScriptingBus" + "name": "Prefab Loader" }, "methods": [ { - "key": "SaveTemplateToString", + "base": "SaveTemplateToString", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SaveTemplateToString" + "tooltip": "When signaled, this will invoke Save Template To String" }, "exit": { "name": "Out", - "tooltip": "Signaled after SaveTemplateToString is invoked" + "tooltip": "Signaled after Save Template To String is invoked" }, "details": { - "name": "SaveTemplateToString" + "name": "Save Template To String" }, "params": [ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Template Id" } } ], @@ -33,7 +33,7 @@ { "typeid": "{92FC6941-F5F5-5141-97A4-1965FC8B09CD}", "details": { - "name": "" + "name": "Success" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabPublicRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabPublicRequestBus.names index d38129153c..772497d00e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabPublicRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabPublicRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PrefabPublicRequestBus", + "base": "PrefabPublicRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "CreatePrefabInMemory", + "base": "CreatePrefabInMemory", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CreatePrefabInMemory" @@ -45,7 +45,7 @@ ] }, { - "key": "InstantiatePrefab", + "base": "InstantiatePrefab", "entry": { "name": "In", "tooltip": "When signaled, this will invoke InstantiatePrefab" @@ -88,7 +88,7 @@ ] }, { - "key": "DeleteEntitiesAndAllDescendantsInInstance", + "base": "DeleteEntitiesAndAllDescendantsInInstance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke DeleteEntitiesAndAllDescendantsInInstance" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabSystemScriptingBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabSystemScriptingBus.names index 8c48798a87..511c0523d1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabSystemScriptingBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PrefabSystemScriptingBus.names @@ -1,37 +1,37 @@ { "entries": [ { - "key": "PrefabSystemScriptingBus", + "base": "PrefabSystemScriptingBus", "context": "EBusSender", "variant": "", "details": { - "name": "PrefabSystemScriptingBus" + "name": "Prefab System" }, "methods": [ { - "key": "CreatePrefab", + "base": "CreatePrefab", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreatePrefab" + "tooltip": "When signaled, this will invoke Create Prefab" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreatePrefab is invoked" + "tooltip": "Signaled after Create Prefab is invoked" }, "details": { - "name": "CreatePrefab" + "name": "Create Prefab" }, "params": [ { "typeid": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "details": { - "name": "AZStd::vector" + "name": "Entity Ids" } }, { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "AZStd::string" + "name": "File Path" } } ], @@ -39,7 +39,7 @@ { "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", "details": { - "name": "AZ::u64" + "name": "Template Id" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ProfilingCaptureRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ProfilingCaptureRequestBus.names index a837c5d68a..12c0139b45 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ProfilingCaptureRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ProfilingCaptureRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ProfilingCaptureRequestBus", + "base": "ProfilingCaptureRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "CapturePassTimestamp", + "base": "CapturePassTimestamp", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CapturePassTimestamp" @@ -39,7 +39,7 @@ ] }, { - "key": "CaptureCpuFrameTime", + "base": "CaptureCpuFrameTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CaptureCpuFrameTime" @@ -69,7 +69,7 @@ ] }, { - "key": "CapturePassPipelineStatistics", + "base": "CapturePassPipelineStatistics", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CapturePassPipelineStatistics" @@ -99,7 +99,7 @@ ] }, { - "key": "CaptureBenchmarkMetadata", + "base": "CaptureBenchmarkMetadata", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CaptureBenchmarkMetadata" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PythonEditorBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PythonEditorBus.names index 65a5b9d9b2..9cc731f39f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PythonEditorBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/PythonEditorBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "PythonEditorBus", + "base": "PythonEditorBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "ExecuteCommand", + "base": "ExecuteCommand", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ExecuteCommand" @@ -31,7 +31,7 @@ ] }, { - "key": "GetCVar", + "base": "GetCVar", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetCVar" @@ -61,7 +61,7 @@ ] }, { - "key": "IsInSimulationMode", + "base": "IsInSimulationMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke IsInSimulationMode" @@ -83,7 +83,7 @@ ] }, { - "key": "SetAxisConstraint", + "base": "SetAxisConstraint", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetAxisConstraint" @@ -105,7 +105,7 @@ ] }, { - "key": "IsInGameMode", + "base": "IsInGameMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke IsInGameMode" @@ -127,7 +127,7 @@ ] }, { - "key": "SetCVarFromFloat", + "base": "SetCVarFromFloat", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetCVarFromFloat" @@ -155,7 +155,7 @@ ] }, { - "key": "MessageBoxYesNo", + "base": "MessageBoxYesNo", "entry": { "name": "In", "tooltip": "When signaled, this will invoke MessageBoxYesNo" @@ -185,7 +185,7 @@ ] }, { - "key": "Redo", + "base": "Redo", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Redo" @@ -199,7 +199,7 @@ } }, { - "key": "SetCVarFromInteger", + "base": "SetCVarFromInteger", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetCVarFromInteger" @@ -227,7 +227,7 @@ ] }, { - "key": "DrawLabel", + "base": "DrawLabel", "entry": { "name": "In", "tooltip": "When signaled, this will invoke DrawLabel" @@ -291,7 +291,7 @@ ] }, { - "key": "Undo", + "base": "Undo", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Undo" @@ -305,7 +305,7 @@ } }, { - "key": "Log", + "base": "Log", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Log" @@ -327,7 +327,7 @@ ] }, { - "key": "ComboBox", + "base": "ComboBox", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ComboBox" @@ -369,7 +369,7 @@ ] }, { - "key": "ExitGameMode", + "base": "ExitGameMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ExitGameMode" @@ -383,7 +383,7 @@ } }, { - "key": "OpenFileBox", + "base": "OpenFileBox", "entry": { "name": "In", "tooltip": "When signaled, this will invoke OpenFileBox" @@ -405,7 +405,7 @@ ] }, { - "key": "MessageBoxOk", + "base": "MessageBoxOk", "entry": { "name": "In", "tooltip": "When signaled, this will invoke MessageBoxOk" @@ -435,7 +435,7 @@ ] }, { - "key": "RunFile", + "base": "RunFile", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RunFile" @@ -457,7 +457,7 @@ ] }, { - "key": "EditBoxCheckDataType", + "base": "EditBoxCheckDataType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke EditBoxCheckDataType" @@ -487,7 +487,7 @@ ] }, { - "key": "SetCVarFromString", + "base": "SetCVarFromString", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetCVarFromString" @@ -515,7 +515,7 @@ ] }, { - "key": "RunConsole", + "base": "RunConsole", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RunConsole" @@ -537,7 +537,7 @@ ] }, { - "key": "ExitSimulationMode", + "base": "ExitSimulationMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ExitSimulationMode" @@ -551,7 +551,7 @@ } }, { - "key": "SetCVar", + "base": "SetCVar", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetCVar" @@ -579,7 +579,7 @@ ] }, { - "key": "GetPakFromFile", + "base": "GetPakFromFile", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetPakFromFile" @@ -609,7 +609,7 @@ ] }, { - "key": "RunFileParameters", + "base": "RunFileParameters", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RunFileParameters" @@ -637,7 +637,7 @@ ] }, { - "key": "EnterSimulationMode", + "base": "EnterSimulationMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke EnterSimulationMode" @@ -651,7 +651,7 @@ } }, { - "key": "GetAxisConstraint", + "base": "GetAxisConstraint", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetAxisConstraint" @@ -673,7 +673,7 @@ ] }, { - "key": "EnterGameMode", + "base": "EnterGameMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke EnterGameMode" @@ -687,7 +687,7 @@ } }, { - "key": "MessageBoxOkCancel", + "base": "MessageBoxOkCancel", "entry": { "name": "In", "tooltip": "When signaled, this will invoke MessageBoxOkCancel" @@ -717,7 +717,7 @@ ] }, { - "key": "EditBox", + "base": "EditBox", "entry": { "name": "In", "tooltip": "When signaled, this will invoke EditBox" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/QuadShapeComponentRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/QuadShapeComponentRequestsBus.names index c6ed9646fc..41779ee90d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/QuadShapeComponentRequestsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/QuadShapeComponentRequestsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "QuadShapeComponentRequestsBus", + "base": "QuadShapeComponentRequestsBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetQuadHeight", + "base": "SetQuadHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetQuadHeight" @@ -31,7 +31,7 @@ ] }, { - "key": "GetQuadWidth", + "base": "GetQuadWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetQuadWidth" @@ -53,7 +53,7 @@ ] }, { - "key": "GetQuadHeight", + "base": "GetQuadHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetQuadHeight" @@ -75,7 +75,7 @@ ] }, { - "key": "GetQuadConfiguration", + "base": "GetQuadConfiguration", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetQuadConfiguration" @@ -98,7 +98,7 @@ ] }, { - "key": "SetQuadWidth", + "base": "SetQuadWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetQuadWidth" @@ -120,7 +120,7 @@ ] }, { - "key": "GetQuadOrientation", + "base": "GetQuadOrientation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetQuadOrientation" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RandomGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RandomGradientRequestBus.names index 38a342f1b4..e0632ebf07 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RandomGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RandomGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "RandomGradientRequestBus", + "base": "RandomGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetRandomSeed", + "base": "GetRandomSeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetRandomSeed" @@ -31,7 +31,7 @@ ] }, { - "key": "SetRandomSeed", + "base": "SetRandomSeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetRandomSeed" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RandomTimedSpawnerRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RandomTimedSpawnerRequestBus.names index 89849e3596..f1afd0e575 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RandomTimedSpawnerRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RandomTimedSpawnerRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "RandomTimedSpawnerRequestBus", + "base": "RandomTimedSpawnerRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetSpawnDelay", + "base": "SetSpawnDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSpawnDelay" @@ -31,7 +31,7 @@ ] }, { - "key": "GetSpawnDelay", + "base": "GetSpawnDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSpawnDelay" @@ -53,7 +53,7 @@ ] }, { - "key": "SetSpawnDelayVariation", + "base": "SetSpawnDelayVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSpawnDelayVariation" @@ -75,7 +75,7 @@ ] }, { - "key": "SetRandomDistribution", + "base": "SetRandomDistribution", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetRandomDistribution" @@ -97,7 +97,7 @@ ] }, { - "key": "IsEnabled", + "base": "IsEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke IsEnabled" @@ -119,7 +119,7 @@ ] }, { - "key": "Disable", + "base": "Disable", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Disable" @@ -133,7 +133,7 @@ } }, { - "key": "Toggle", + "base": "Toggle", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Toggle" @@ -147,7 +147,7 @@ } }, { - "key": "GetRandomDistribution", + "base": "GetRandomDistribution", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetRandomDistribution" @@ -169,7 +169,7 @@ ] }, { - "key": "Enable", + "base": "Enable", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Enable" @@ -183,7 +183,7 @@ } }, { - "key": "GetSpawnDelayVariation", + "base": "GetSpawnDelayVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSpawnDelayVariation" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ReferenceGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ReferenceGradientRequestBus.names index c4be7ca85b..59e8d9a1ee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ReferenceGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ReferenceGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ReferenceGradientRequestBus", + "base": "ReferenceGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetGradientSampler", + "base": "GetGradientSampler", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetGradientSampler" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RenderMeshComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RenderMeshComponentRequestBus.names index 7323de56d7..f31b4c9ace 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RenderMeshComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RenderMeshComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "RenderMeshComponentRequestBus", + "base": "RenderMeshComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetLodOverride", + "base": "GetLodOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetLodOverride" @@ -31,7 +31,7 @@ ] }, { - "key": "GetSortKey", + "base": "GetSortKey", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSortKey" @@ -53,7 +53,7 @@ ] }, { - "key": "SetQualityDecayRate", + "base": "SetQualityDecayRate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetQualityDecayRate" @@ -75,7 +75,7 @@ ] }, { - "key": "SetSortKey", + "base": "SetSortKey", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSortKey" @@ -97,7 +97,7 @@ ] }, { - "key": "GetModelAssetPath", + "base": "GetModelAssetPath", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetModelAssetPath" @@ -119,7 +119,7 @@ ] }, { - "key": "SetLodType", + "base": "SetLodType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetLodType" @@ -141,7 +141,7 @@ ] }, { - "key": "SetLodOverride", + "base": "SetLodOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetLodOverride" @@ -163,7 +163,7 @@ ] }, { - "key": "SetMinimumScreenCoverage", + "base": "SetMinimumScreenCoverage", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetMinimumScreenCoverage" @@ -185,7 +185,7 @@ ] }, { - "key": "SetModelAssetId", + "base": "SetModelAssetId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetModelAssetId" @@ -207,7 +207,7 @@ ] }, { - "key": "GetLodType", + "base": "GetLodType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetLodType" @@ -229,7 +229,7 @@ ] }, { - "key": "GetMinimumScreenCoverage", + "base": "GetMinimumScreenCoverage", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetMinimumScreenCoverage" @@ -251,7 +251,7 @@ ] }, { - "key": "GetModelAssetId", + "base": "GetModelAssetId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetModelAssetId" @@ -273,7 +273,7 @@ ] }, { - "key": "SetModelAssetPath", + "base": "SetModelAssetPath", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetModelAssetPath" @@ -295,7 +295,7 @@ ] }, { - "key": "GetQualityDecayRate", + "base": "GetQualityDecayRate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetQualityDecayRate" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RigidBodyRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RigidBodyRequestBus.names new file mode 100644 index 0000000000..474e3f89e3 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/RigidBodyRequestBus.names @@ -0,0 +1,722 @@ +{ + "entries": [ + { + "base": "RigidBodyRequestBus", + "context": "EBusSender", + "variant": "", + "details": { + "name": "Rigid Body" + }, + "methods": [ + { + "base": "SetLinearVelocity", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Linear Velocity" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Linear Velocity is invoked" + }, + "details": { + "name": "Set Linear Velocity" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Linear Velocity" + } + } + ] + }, + { + "base": "SetKinematic", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Kinematic" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Kinematic is invoked" + }, + "details": { + "name": "Set Kinematic" + }, + "params": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Enabled" + } + } + ] + }, + { + "base": "SetMass", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Mass" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Mass is invoked" + }, + "details": { + "name": "Set Mass" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Mass" + } + } + ] + }, + { + "base": "SetGravityEnabled", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Gravity Enabled" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Gravity Enabled is invoked" + }, + "details": { + "name": "Set Gravity Enabled" + }, + "params": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Enabled" + } + } + ] + }, + { + "base": "GetAabb", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get AABB" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get AABB is invoked" + }, + "details": { + "name": "Get AABB" + }, + "results": [ + { + "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", + "details": { + "name": "AABB" + } + } + ] + }, + { + "base": "ForceAwake", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Force Awake" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Force Awake is invoked" + }, + "details": { + "name": "Force Awake" + } + }, + { + "base": "SetAngularDamping", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Angular Damping" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Angular Damping is invoked" + }, + "details": { + "name": "Set Angular Damping" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Angular Damping" + } + } + ] + }, + { + "base": "ApplyAngularImpulse", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Apply Angular Impulse" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Apply Angular Impulse is invoked" + }, + "details": { + "name": "Apply Angular Impulse" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Angular Impulse" + } + } + ] + }, + { + "base": "DisablePhysics", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Disable Physics" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Disable Physics is invoked" + }, + "details": { + "name": "Disable Physics" + } + }, + { + "base": "SetSimulationEnabled", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Simulation Enabled" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Simulation Enabled is invoked" + }, + "details": { + "name": "Set Simulation Enabled" + }, + "params": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Enabled" + } + } + ] + }, + { + "base": "GetLinearVelocityAtWorldPoint", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Linear Velocity At World Point" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Linear Velocity At World Point is invoked" + }, + "details": { + "name": "Get Linear Velocity At World Point" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Linear Velocity" + } + } + ], + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "World Point" + } + } + ] + }, + { + "base": "SetAngularVelocity", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Angular Velocity" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Angular Velocity is invoked" + }, + "details": { + "name": "Set Angular Velocity" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Angular Velocity" + } + } + ] + }, + { + "base": "SetCenterOfMassOffset", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Center Of Mass Offset" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Center Of Mass Offset is invoked" + }, + "details": { + "name": "Set Center Of Mass Offset" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Offset" + } + } + ] + }, + { + "base": "IsPhysicsEnabled", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Is Physics Enabled" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Is Physics Enabled is invoked" + }, + "details": { + "name": "Is Physics Enabled" + }, + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Enabled" + } + } + ] + }, + { + "base": "GetSleepThreshold", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Sleep Threshold" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Sleep Threshold is invoked" + }, + "details": { + "name": "Get Sleep Threshold" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Sleep Threshold" + } + } + ] + }, + { + "base": "SetKinematicTarget", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Kinematic Target" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Kinematic Target is invoked" + }, + "details": { + "name": "Set Kinematic Target" + }, + "params": [ + { + "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", + "details": { + "name": "Kinematic Target" + } + } + ] + }, + { + "base": "EnablePhysics", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Enable Physics" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Enable Physics is invoked" + }, + "details": { + "name": "Enable Physics" + } + }, + { + "base": "GetLinearDamping", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Linear Damping" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Linear Damping is invoked" + }, + "details": { + "name": "Get Linear Damping" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Linear Damping" + } + } + ] + }, + { + "base": "ApplyLinearImpulseAtWorldPoint", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Apply Linear Impulse At World Point" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Apply Linear Impulse At World Point is invoked" + }, + "details": { + "name": "Apply Linear Impulse At World Point" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Linear Impulse" + } + }, + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "World Point" + } + } + ] + }, + { + "base": "GetCenterOfMassWorld", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Center Of Mass World" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Center Of Mass World is invoked" + }, + "details": { + "name": "Get Center Of Mass World" + }, + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Center of Mass (World)" + } + } + ] + }, + { + "base": "GetCenterOfMassLocal", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Center Of Mass Local" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Center Of Mass Local is invoked" + }, + "details": { + "name": "Get Center Of Mass Local" + }, + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Center Of Mass (Local)" + } + } + ] + }, + { + "base": "SetLinearDamping", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Linear Damping" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Linear Damping is invoked" + }, + "details": { + "name": "Set Linear Damping" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Linear Damping" + } + } + ] + }, + { + "base": "GetAngularDamping", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Angular Damping" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Angular Damping is invoked" + }, + "details": { + "name": "Get Angular Damping" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Angular Damping" + } + } + ] + }, + { + "base": "GetLinearVelocity", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Linear Velocity" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Linear Velocity is invoked" + }, + "details": { + "name": "Get Linear Velocity" + }, + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Linear Velocity" + } + } + ] + }, + { + "base": "IsAwake", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Is Awake" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Is Awake is invoked" + }, + "details": { + "name": "Is Awake" + }, + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Is Awake" + } + } + ] + }, + { + "base": "IsGravityEnabled", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Is Gravity Enabled" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Is Gravity Enabled is invoked" + }, + "details": { + "name": "Is Gravity Enabled" + }, + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Is Gravity Enabled" + } + } + ] + }, + { + "base": "GetInverseMass", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Inverse Mass" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Inverse Mass is invoked" + }, + "details": { + "name": "Get Inverse Mass" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Inverse Mass" + } + } + ] + }, + { + "base": "SetSleepThreshold", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Set Sleep Threshold" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Set Sleep Threshold is invoked" + }, + "details": { + "name": "Set Sleep Threshold" + }, + "params": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Sleep Threshold" + } + } + ] + }, + { + "base": "ForceAsleep", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Force Asleep" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Force Asleep is invoked" + }, + "details": { + "name": "Force Asleep" + } + }, + { + "base": "GetMass", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Mass" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Mass is invoked" + }, + "details": { + "name": "Get Mass" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "Mass" + } + } + ] + }, + { + "base": "IsKinematic", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Is Kinematic" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Is Kinematic is invoked" + }, + "details": { + "name": "Is Kinematic" + }, + "results": [ + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Is Kinematic" + } + } + ] + }, + { + "base": "ApplyLinearImpulse", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Apply Linear Impulse" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Apply Linear Impulse is invoked" + }, + "details": { + "name": "Apply Linear Impulse" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Linear Impulse" + } + } + ] + }, + { + "base": "GetAngularVelocity", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Angular Velocity" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Angular Velocity is invoked" + }, + "details": { + "name": "Get Angular Velocity" + }, + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Angular Velocity" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SceneRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SceneRequestBus.names index 346e1aa1f4..475200cf08 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SceneRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SceneRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SceneRequestBus", + "base": "SceneRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "CutSelection", + "base": "CutSelection", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CutSelection" @@ -23,7 +23,7 @@ } }, { - "key": "CopySelection", + "base": "CopySelection", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CopySelection" @@ -37,7 +37,7 @@ } }, { - "key": "Paste", + "base": "Paste", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Paste" @@ -51,7 +51,7 @@ } }, { - "key": "DuplicateSelection", + "base": "DuplicateSelection", "entry": { "name": "In", "tooltip": "When signaled, this will invoke DuplicateSelection" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SequenceComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SequenceComponentRequestBus.names index 975a3e146b..d7fc9033e4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SequenceComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SequenceComponentRequestBus.names @@ -1,38 +1,39 @@ { "entries": [ { - "key": "SequenceComponentRequestBus", + "base": "SequenceComponentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "SequenceComponentRequestBus", + "name": "Sequence", "category": "Animation" }, "methods": [ { - "key": "GetPlaySpeed", + "base": "GetPlaySpeed", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Play Speed" + "tooltip": "When signaled, this will invoke GetPlaySpeed" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Play Speed is invoked" + "tooltip": "Signaled after GetPlaySpeed is invoked" }, "details": { - "name": "Get Play Speed" + "name": "Get Play Speed", + "tooltip": "Returns the current play back speed as a multiplier (1.0 is normal speed, less is slower, more is faster)" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Play Speed" } } ] }, { - "key": "JumpToTime", + "base": "JumpToTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Jump To Time" @@ -42,19 +43,20 @@ "tooltip": "Signaled after Jump To Time is invoked" }, "details": { - "name": "Jump To Time" + "name": "Jump To Time", + "tooltip": "Move the Playhead to the given time" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Time" } } ] }, { - "key": "Resume", + "base": "Resume", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Resume" @@ -64,11 +66,12 @@ "tooltip": "Signaled after Resume is invoked" }, "details": { - "name": "Resume" + "name": "Resume", + "tooltip": "Resume the sequence. Resume essentially 'unpauses' a sequence. It must have been playing before the pause for playback to start again" } }, { - "key": "JumpToEnd", + "base": "JumpToEnd", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Jump To End" @@ -78,11 +81,12 @@ "tooltip": "Signaled after Jump To End is invoked" }, "details": { - "name": "Jump To End" + "name": "Jump To End", + "tooltip": "Move the Playhead to the end of the sequence" } }, { - "key": "GetCurrentPlayTime", + "base": "GetCurrentPlayTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Current Play Time" @@ -92,19 +96,20 @@ "tooltip": "Signaled after Get Current Play Time is invoked" }, "details": { - "name": "Get Current Play Time" + "name": "Get Current Play Time", + "tooltip": " Returns the current play time in seconds" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Play Time" } } ] }, { - "key": "Pause", + "base": "Pause", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Pause" @@ -114,39 +119,41 @@ "tooltip": "Signaled after Pause is invoked" }, "details": { - "name": "Pause" + "name": "Pause", + "tooltip": "Pause the sequence. Sequence must be playing for pause to have an effect. Pausing leaves the play time at its current position" } }, { - "key": "PlayBetweenTimes", + "base": "PlayBetweenTimes", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Play Between Times" + "tooltip": "When signaled, this will invoke PlayBetweenTimes" }, "exit": { "name": "Out", - "tooltip": "Signaled after Play Between Times is invoked" + "tooltip": "Signaled after PlayBetweenTimes is invoked" }, "details": { - "name": "Play Between Times" + "name": "PlayBetweenTimes", + "tooltip": "Play sequence between the start to end times, outside of which the sequence behaves according to its 'Out of Range' time setting" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Start Time" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "End Time" } } ] }, { - "key": "Stop", + "base": "Stop", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Stop" @@ -156,11 +163,12 @@ "tooltip": "Signaled after Stop is invoked" }, "details": { - "name": "Stop" + "name": "Stop", + "tooltip": "Pause the sequence. Sequence must be playing for pause to have an effect. Pausing leaves the play time at its current position" } }, { - "key": "JumpToBeginning", + "base": "JumpToBeginning", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Jump To Beginning" @@ -170,11 +178,12 @@ "tooltip": "Signaled after Jump To Beginning is invoked" }, "details": { - "name": "Jump To Beginning" + "name": "Jump To Beginning", + "tooltip": "Move the Playhead to the beginning of the sequence" } }, { - "key": "Play", + "base": "Play", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Play" @@ -184,27 +193,29 @@ "tooltip": "Signaled after Play is invoked" }, "details": { - "name": "Play" + "name": "Play", + "tooltip": "Play sequence from the start to end times set the sequence" } }, { - "key": "SetPlaySpeed", + "base": "SetPlaySpeed", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set Play Speed" + "tooltip": "When signaled, this will invoke SetPlaySpeed" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Play Speed is invoked" + "tooltip": "Signaled after SetPlaySpeed is invoked" }, "details": { - "name": "Set Play Speed" + "name": "SetPlaySpeed", + "tooltip": "Set the play speed" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Play Speed" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ShapeAreaFalloffGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ShapeAreaFalloffGradientRequestBus.names index 9c42af794f..7e786744b9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ShapeAreaFalloffGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ShapeAreaFalloffGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShapeAreaFalloffGradientRequestBus", + "base": "ShapeAreaFalloffGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetFalloffType", + "base": "SetFalloffType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetFalloffType" @@ -31,7 +31,7 @@ ] }, { - "key": "SetFalloffWidth", + "base": "SetFalloffWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetFalloffWidth" @@ -53,7 +53,7 @@ ] }, { - "key": "GetFalloffType", + "base": "GetFalloffType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetFalloffType" @@ -75,7 +75,7 @@ ] }, { - "key": "GetFalloffWidth", + "base": "GetFalloffWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetFalloffWidth" @@ -97,7 +97,7 @@ ] }, { - "key": "SetShapeEntityId", + "base": "SetShapeEntityId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetShapeEntityId" @@ -120,7 +120,7 @@ ] }, { - "key": "GetShapeEntityId", + "base": "GetShapeEntityId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetShapeEntityId" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ShapeComponentRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ShapeComponentRequestsBus.names index f58f8d8dce..c3bc56c418 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ShapeComponentRequestsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ShapeComponentRequestsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShapeComponentRequestsBus", + "base": "ShapeComponentRequestsBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "DistanceSquaredFromPoint", + "base": "DistanceSquaredFromPoint", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Distance Squared From Point" @@ -43,7 +43,7 @@ ] }, { - "key": "DistanceFromPoint", + "base": "DistanceFromPoint", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Distance From Point" @@ -76,7 +76,7 @@ ] }, { - "key": "IsPointInside", + "base": "IsPointInside", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Point Inside" @@ -109,7 +109,7 @@ ] }, { - "key": "GetEncompassingAabb", + "base": "GetEncompassingAabb", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Encompassing Aabb" @@ -132,7 +132,7 @@ ] }, { - "key": "GetShapeType", + "base": "GetShapeType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Shape Type" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimpleMotionComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimpleMotionComponentRequestBus.names index a92d790054..fb09158ca4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimpleMotionComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimpleMotionComponentRequestBus.names @@ -1,60 +1,60 @@ { "entries": [ { - "key": "SimpleMotionComponentRequestBus", + "base": "SimpleMotionComponentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "SimpleMotionComponentRequestBus", + "name": "Simple Motion", "category": "Animation" }, "methods": [ { - "key": "BlendOutTime", + "base": "BlendOutTime", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke BlendOutTime" + "tooltip": "When signaled, this will invoke Blend Out Time" }, "exit": { "name": "Out", - "tooltip": "Signaled after BlendOutTime is invoked" + "tooltip": "Signaled after Blend Out Time is invoked" }, "details": { - "name": "BlendOutTime" + "name": "Blend Out Time" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Time" } } ] }, { - "key": "GetBlendInTime", + "base": "GetBlendInTime", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetBlendInTime" + "tooltip": "When signaled, this will invoke Get Blend In Time" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetBlendInTime is invoked" + "tooltip": "Signaled after Get Blend In Time is invoked" }, "details": { - "name": "GetBlendInTime" + "name": "Get Blend In Time" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Time" } } ] }, { - "key": "PlayMotion", + "base": "PlayMotion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke PlayMotion" @@ -64,11 +64,11 @@ "tooltip": "Signaled after PlayMotion is invoked" }, "details": { - "name": "PlayMotion" + "name": "Play Motion" } }, { - "key": "GetMotion", + "base": "GetMotion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetMotion" @@ -78,41 +78,41 @@ "tooltip": "Signaled after GetMotion is invoked" }, "details": { - "name": "GetMotion" + "name": "Get Motion" }, "results": [ { "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AssetId" + "name": "Asset Id" } } ] }, { - "key": "GetBlendOutTime", + "base": "GetBlendOutTime", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetBlendOutTime" + "tooltip": "When signaled, this will invoke Get Blend Out Time" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetBlendOutTime is invoked" + "tooltip": "Signaled after Get Blend Out Time is invoked" }, "details": { - "name": "GetBlendOutTime" + "name": "Get Blend Out Time" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Time" } } ] }, { - "key": "ReverseMotion", + "base": "ReverseMotion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Reverse Motion" @@ -128,57 +128,57 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] }, { - "key": "GetPlaySpeed", + "base": "GetPlaySpeed", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPlaySpeed" + "tooltip": "When signaled, this will invoke Get Play Speed" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPlaySpeed is invoked" + "tooltip": "Signaled after Get Play Speed is invoked" }, "details": { - "name": "GetPlaySpeed" + "name": "Get Play Speed" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Speed" } } ] }, { - "key": "GetPlayTime", + "base": "GetPlayTime", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetPlayTime" + "tooltip": "When signaled, this will invoke Get Play Time" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetPlayTime is invoked" + "tooltip": "Signaled after Get Play Time is invoked" }, "details": { - "name": "GetPlayTime" + "name": "Get Play Time" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Time" } } ] }, { - "key": "RetargetMotion", + "base": "RetargetMotion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Retarget Motion" @@ -194,13 +194,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] }, { - "key": "SetPlaySpeed", + "base": "SetPlaySpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Play Speed" @@ -216,13 +216,13 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Speed" } } ] }, { - "key": "Motion", + "base": "Motion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Motion" @@ -238,79 +238,79 @@ { "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AssetId" + "name": "Asset Id" } } ] }, { - "key": "BlendInTime", + "base": "BlendInTime", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke BlendInTime" + "tooltip": "When signaled, this will invoke Blend In Time" }, "exit": { "name": "Out", - "tooltip": "Signaled after BlendInTime is invoked" + "tooltip": "Signaled after Blend In Time is invoked" }, "details": { - "name": "BlendInTime" + "name": "Blend In Time" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Time" } } ] }, { - "key": "GetLoopMotion", + "base": "GetLoopMotion", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetLoopMotion" + "tooltip": "When signaled, this will invoke Get Loop Motion" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetLoopMotion is invoked" + "tooltip": "Signaled after Get Loop Motion is invoked" }, "details": { - "name": "GetLoopMotion" + "name": "Get Loop Motion" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Loop Motion" } } ] }, { - "key": "PlayTime", + "base": "PlayTime", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke PlayTime" + "tooltip": "When signaled, this will invoke Play Time" }, "exit": { "name": "Out", - "tooltip": "Signaled after PlayTime is invoked" + "tooltip": "Signaled after Play Time is invoked" }, "details": { - "name": "PlayTime" + "name": "Play Time" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Time" } } ] }, { - "key": "LoopMotion", + "base": "LoopMotion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Loop Motion" @@ -326,13 +326,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] }, { - "key": "MirrorMotion", + "base": "MirrorMotion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Mirror Motion" @@ -348,7 +348,7 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enable" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimpleStateComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimpleStateComponentRequestBus.names index c234b3503c..4dbabdfb97 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimpleStateComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimpleStateComponentRequestBus.names @@ -1,123 +1,116 @@ { "entries": [ { - "key": "SimpleStateComponentRequestBus", + "base": "SimpleStateComponentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "SimpleStateComponentRequestBus", + "name": "Simple State", "category": "Gameplay" }, "methods": [ { - "key": "GetNumStates", + "base": "GetNumStates", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get State Count" + "tooltip": "When signaled, this will invoke Get Num States" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get State Count is invoked" + "tooltip": "Signaled after Get Num States is invoked" }, "details": { - "name": "Get State Count", - "tooltip": "Returns the number of states" + "name": "Get Num States" }, "results": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "unsigned int" + "name": "State Count" } } ] }, { - "key": "SetToLastState", + "base": "SetToLastState", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set To Last" + "tooltip": "When signaled, this will invoke Set To Last State" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set To Last is invoked" + "tooltip": "Signaled after Set To Last State is invoked" }, "details": { - "name": "Set To Last", - "tooltip": "Sets to the last state in the state list" + "name": "Set To Last State" } }, { - "key": "SetToPreviousState", + "base": "SetToPreviousState", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set To Previous" + "tooltip": "When signaled, this will invoke Set To Previous State" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set To Previous is invoked" + "tooltip": "Signaled after Set To Previous State is invoked" }, "details": { - "name": "Set To Previous", - "tooltip": "Sets to the previous state in the state list from the current state" + "name": "Set To Previous State" } }, { - "key": "SetToFirstState", + "base": "SetToFirstState", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set To First" + "tooltip": "When signaled, this will invoke Set To First State" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set To First is invoked" + "tooltip": "Signaled after Set To First State is invoked" }, "details": { - "name": "Set To First", - "tooltip": "Sets to the first state in the state list" + "name": "Set To First State" } }, { - "key": "SetToNextState", + "base": "SetToNextState", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set To Next" + "tooltip": "When signaled, this will invoke Set To Next State" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set To Next is invoked" + "tooltip": "Signaled after Set To Next State is invoked" }, "details": { - "name": "Set To Next", - "tooltip": "Sets to the next state in the state list from the current state" + "name": "Set To Next State" } }, { - "key": "SetStateByIndex", + "base": "SetStateByIndex", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set State by Index" + "tooltip": "When signaled, this will invoke Set State By Index" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set State by Index is invoked" + "tooltip": "Signaled after Set State By Index is invoked" }, "details": { - "name": "Set State by Index", - "tooltip": "Sets the state by index" + "name": "Set State By Index" }, "params": [ { "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", "details": { - "name": "Index", - "tooltip": "State index" + "name": "Index" } } ] }, { - "key": "SetState", + "base": "SetState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set State" @@ -127,21 +120,19 @@ "tooltip": "Signaled after Set State is invoked" }, "details": { - "name": "Set State", - "tooltip": "Sets the state by name" + "name": "Set State" }, "params": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "Name", - "tooltip": "State name" + "name": "State Name" } } ] }, { - "key": "GetCurrentState", + "base": "GetCurrentState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Current State" @@ -151,14 +142,13 @@ "tooltip": "Signaled after Get Current State is invoked" }, "details": { - "name": "Get Current State", - "tooltip": "Gets the current state name" + "name": "Get Current State" }, "results": [ { "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", "details": { - "name": "char" + "name": "State Name" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimulatedBodyComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimulatedBodyComponentRequestBus.names index 6b4bb30b91..e646bbef2f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimulatedBodyComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SimulatedBodyComponentRequestBus.names @@ -1,16 +1,15 @@ { "entries": [ { - "key": "SimulatedBodyComponentRequestBus", + "base": "SimulatedBodyComponentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "SimulatedBodyComponentRequestBus", - "category": "PhysX" + "name": "Simulated Body" }, "methods": [ { - "key": "GetAabb", + "base": "GetAabb", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get AABB" @@ -26,20 +25,20 @@ { "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", "details": { - "name": "Aabb" + "name": "AABB" } } ] }, { - "key": "IsPhysicsEnabled", + "base": "IsPhysicsEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Is Physics Enabled" + "tooltip": "When signaled, this will invoke IsPhysicsEnabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after Is Physics Enabled is invoked" + "tooltip": "Signaled after IsPhysicsEnabled is invoked" }, "details": { "name": "Is Physics Enabled" @@ -48,30 +47,29 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Enabled" } } ] }, { - "key": "RayCast", + "base": "RayCast", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Raycast (Single Body)" + "tooltip": "When signaled, this will invoke RayCast" }, "exit": { "name": "Out", - "tooltip": "Signaled after Raycast (Single Body) is invoked" + "tooltip": "Signaled after RayCast is invoked" }, "details": { - "name": "Raycast (Single Body)", - "tooltip": "Perform a raycast against a single simulated body (not the whole scene)" + "name": "Ray Cast" }, "params": [ { "typeid": "{53EAD088-A391-48F1-8370-2A1DBA31512F}", "details": { - "name": "Raycast Request", + "name": "RayCast Request", "tooltip": "Parameters for raycast" } } @@ -80,13 +78,13 @@ { "typeid": "{7A7201B9-67B5-438B-B4EB-F3EEBB78C617}", "details": { - "name": "SceneQueryHit" + "name": "Scene Query Hit" } } ] }, { - "key": "DisablePhysics", + "base": "DisablePhysics", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Disable Physics" @@ -100,14 +98,14 @@ } }, { - "key": "EnablePhysics", + "base": "EnablePhysics", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Enable Physics" + "tooltip": "When signaled, this will invoke EnablePhysics" }, "exit": { "name": "Out", - "tooltip": "Signaled after Enable Physics is invoked" + "tooltip": "Signaled after EnablePhysics is invoked" }, "details": { "name": "Enable Physics" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SkyBoxFogRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SkyBoxFogRequestBus.names index 477f4fc85c..9a283e509f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SkyBoxFogRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SkyBoxFogRequestBus.names @@ -1,25 +1,26 @@ { "entries": [ { - "key": "SkyBoxFogRequestBus", + "base": "SkyBoxFogRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "SkyBoxFogRequestBus" + "name": "Sky Box Fog", + "category": "Rendering" }, "methods": [ { - "key": "GetBottomHeight", + "base": "GetBottomHeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetBottomHeight" + "tooltip": "When signaled, this will invoke Get Bottom Height" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetBottomHeight is invoked" + "tooltip": "Signaled after Get Bottom Height is invoked" }, "details": { - "name": "GetBottomHeight" + "name": "Get Bottom Height" }, "results": [ { @@ -31,17 +32,17 @@ ] }, { - "key": "GetColor", + "base": "GetColor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetColor" + "tooltip": "When signaled, this will invoke Get Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetColor is invoked" + "tooltip": "Signaled after Get Color is invoked" }, "details": { - "name": "GetColor" + "name": "Get Color" }, "results": [ { @@ -53,17 +54,17 @@ ] }, { - "key": "SetBottomHeight", + "base": "SetBottomHeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetBottomHeight" + "tooltip": "When signaled, this will invoke Set Bottom Height" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetBottomHeight is invoked" + "tooltip": "Signaled after Set Bottom Height is invoked" }, "details": { - "name": "SetBottomHeight" + "name": "Set Bottom Height" }, "params": [ { @@ -75,17 +76,17 @@ ] }, { - "key": "SetColor", + "base": "SetColor", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetColor" + "tooltip": "When signaled, this will invoke Set Color" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetColor is invoked" + "tooltip": "Signaled after Set Color is invoked" }, "details": { - "name": "SetColor" + "name": "Set Color" }, "params": [ { @@ -97,17 +98,17 @@ ] }, { - "key": "GetTopHeight", + "base": "GetTopHeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTopHeight" + "tooltip": "When signaled, this will invoke Get Top Height" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTopHeight is invoked" + "tooltip": "Signaled after Get Top Height is invoked" }, "details": { - "name": "GetTopHeight" + "name": "Get Top Height" }, "results": [ { @@ -119,17 +120,17 @@ ] }, { - "key": "IsEnabled", + "base": "IsEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsEnabled" + "tooltip": "When signaled, this will invoke Is Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsEnabled is invoked" + "tooltip": "Signaled after Is Enabled is invoked" }, "details": { - "name": "IsEnabled" + "name": "Is Enabled" }, "results": [ { @@ -141,17 +142,17 @@ ] }, { - "key": "SetTopHeight", + "base": "SetTopHeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetTopHeight" + "tooltip": "When signaled, this will invoke Set Top Height" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetTopHeight is invoked" + "tooltip": "Signaled after Set Top Height is invoked" }, "details": { - "name": "SetTopHeight" + "name": "Set Top Height" }, "params": [ { @@ -163,17 +164,17 @@ ] }, { - "key": "SetEnabled", + "base": "SetEnabled", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetEnabled" + "tooltip": "When signaled, this will invoke Set Enabled" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetEnabled is invoked" + "tooltip": "Signaled after Set Enabled is invoked" }, "details": { - "name": "SetEnabled" + "name": "Set Enabled" }, "params": [ { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SliceRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SliceRequestBus.names index 1794a68d04..309ad9b20c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SliceRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SliceRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SliceRequestBus", + "base": "SliceRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "CreateNewSlice", + "base": "CreateNewSlice", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CreateNewSlice" @@ -46,7 +46,7 @@ ] }, { - "key": "InstantiateSliceFromAssetId", + "base": "InstantiateSliceFromAssetId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke InstantiateSliceFromAssetId" @@ -82,7 +82,7 @@ ] }, { - "key": "SetSliceDynamic", + "base": "SetSliceDynamic", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSliceDynamic" @@ -110,7 +110,7 @@ ] }, { - "key": "ShowPushDialog", + "base": "ShowPushDialog", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ShowPushDialog" @@ -132,7 +132,7 @@ ] }, { - "key": "IsSliceDynamic", + "base": "IsSliceDynamic", "entry": { "name": "In", "tooltip": "When signaled, this will invoke IsSliceDynamic" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SmoothStepGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SmoothStepGradientRequestBus.names index 2c51d78c35..8d3bbb5337 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SmoothStepGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SmoothStepGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SmoothStepGradientRequestBus", + "base": "SmoothStepGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetGradientSampler", + "base": "GetGradientSampler", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetGradientSampler" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SmoothStepRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SmoothStepRequestBus.names index 719b54ec45..28b91a0a34 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SmoothStepRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SmoothStepRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SmoothStepRequestBus", + "base": "SmoothStepRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetFallOffStrength", + "base": "GetFallOffStrength", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetFallOffStrength" @@ -31,7 +31,7 @@ ] }, { - "key": "SetFallOffStrength", + "base": "SetFallOffStrength", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetFallOffStrength" @@ -53,7 +53,7 @@ ] }, { - "key": "GetFallOffRange", + "base": "GetFallOffRange", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetFallOffRange" @@ -75,7 +75,7 @@ ] }, { - "key": "SetFallOffMidpoint", + "base": "SetFallOffMidpoint", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetFallOffMidpoint" @@ -97,7 +97,7 @@ ] }, { - "key": "SetFallOffRange", + "base": "SetFallOffRange", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetFallOffRange" @@ -119,7 +119,7 @@ ] }, { - "key": "GetFallOffMidpoint", + "base": "GetFallOffMidpoint", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetFallOffMidpoint" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SpawnerComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SpawnerComponentRequestBus.names index aa1b298bde..b9aeb3538a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SpawnerComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SpawnerComponentRequestBus.names @@ -1,134 +1,134 @@ { "entries": [ { - "key": "SpawnerComponentRequestBus", + "base": "SpawnerComponentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "SpawnerComponentRequestBus", + "name": "Spawner", "category": "Gameplay" }, "methods": [ { - "key": "SetDynamicSlice", + "base": "SetDynamicSlice", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetDynamicSlice" + "tooltip": "When signaled, this will invoke Set Dynamic Slice" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetDynamicSlice is invoked" + "tooltip": "Signaled after Set Dynamic Slice is invoked" }, "details": { - "name": "SetDynamicSlice" + "name": "Set Dynamic Slice" }, "params": [ { "typeid": "{652ED536-3402-439B-AEBE-4A5DBC554085}", "details": { - "name": "AssetId" + "name": "Asset Id" } } ] }, { - "key": "GetCurrentlySpawnedSlices", + "base": "GetCurrentlySpawnedSlices", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCurrentlySpawnedSlices" + "tooltip": "When signaled, this will invoke Get Currently Spawned Slices" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCurrentlySpawnedSlices is invoked" + "tooltip": "Signaled after Get Currently Spawned Slices is invoked" }, "details": { - "name": "GetCurrentlySpawnedSlices" + "name": "Get Currently Spawned Slices" }, "results": [ { "typeid": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "details": { - "name": "" + "name": "Spawned Slices" } } ] }, { - "key": "HasAnyCurrentlySpawnedSlices", + "base": "HasAnyCurrentlySpawnedSlices", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke HasAnyCurrentlySpawnedSlices" + "tooltip": "When signaled, this will invoke Has Any Currently Spawned Slices" }, "exit": { "name": "Out", - "tooltip": "Signaled after HasAnyCurrentlySpawnedSlices is invoked" + "tooltip": "Signaled after Has Any Currently Spawned Slices is invoked" }, "details": { - "name": "HasAnyCurrentlySpawnedSlices" + "name": "Has Any Currently Spawned Slices" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Result" } } ] }, { - "key": "GetAllCurrentlySpawnedEntities", + "base": "GetAllCurrentlySpawnedEntities", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetAllCurrentlySpawnedEntities" + "tooltip": "When signaled, this will invoke Get All Currently Spawned Entities" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetAllCurrentlySpawnedEntities is invoked" + "tooltip": "Signaled after Get All Currently Spawned Entities is invoked" }, "details": { - "name": "GetAllCurrentlySpawnedEntities" + "name": "Get All Currently Spawned Entities" }, "results": [ { "typeid": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "details": { - "name": "AZStd::vector" + "name": "Spawned Entities" } } ] }, { - "key": "DestroyAllSpawnedSlices", + "base": "DestroyAllSpawnedSlices", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke DestroyAllSpawnedSlices" + "tooltip": "When signaled, this will invoke Destroy All Spawned Slices" }, "exit": { "name": "Out", - "tooltip": "Signaled after DestroyAllSpawnedSlices is invoked" + "tooltip": "Signaled after Destroy All Spawned Slices is invoked" }, "details": { - "name": "DestroyAllSpawnedSlices" + "name": "Destroy All Spawned Slices" } }, { - "key": "GetCurrentEntitiesFromSpawnedSlice", + "base": "GetCurrentEntitiesFromSpawnedSlice", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCurrentEntitiesFromSpawnedSlice" + "tooltip": "When signaled, this will invoke Get Current Entities From Spawned Slice" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCurrentEntitiesFromSpawnedSlice is invoked" + "tooltip": "Signaled after Get Current Entities From Spawned Slice is invoked" }, "details": { - "name": "GetCurrentEntitiesFromSpawnedSlice" + "name": "Get Current Entities From Spawned Slice" }, "params": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "SliceInstantiationTicket" + "name": "Slice Instantiation Ticket" } } ], @@ -136,57 +136,57 @@ { "typeid": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "details": { - "name": "AZStd::vector" + "name": "Entities" } } ] }, { - "key": "DestroySpawnedSlice", + "base": "DestroySpawnedSlice", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke DestroySpawnedSlice" + "tooltip": "When signaled, this will invoke Destroy Spawned Slice" }, "exit": { "name": "Out", - "tooltip": "Signaled after DestroySpawnedSlice is invoked" + "tooltip": "Signaled after Destroy Spawned Slice is invoked" }, "details": { - "name": "DestroySpawnedSlice" + "name": "Destroy Spawned Slice" }, "params": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "SliceInstantiationTicket" + "name": "Slice Instantiation Ticket" } } ] }, { - "key": "IsReadyToSpawn", + "base": "IsReadyToSpawn", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke IsReadyToSpawn" + "tooltip": "When signaled, this will invoke Is Ready To Spawn" }, "exit": { "name": "Out", - "tooltip": "Signaled after IsReadyToSpawn is invoked" + "tooltip": "Signaled after Is Ready To Spawn is invoked" }, "details": { - "name": "IsReadyToSpawn" + "name": "Is Ready To Spawn" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Is Ready" } } ] }, { - "key": "SpawnRelative", + "base": "SpawnRelative", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Spawn Relative" @@ -196,15 +196,13 @@ "tooltip": "Signaled after Spawn Relative is invoked" }, "details": { - "name": "Spawn Relative", - "tooltip": "Spawn the selected slice at the entity's location with the provided relative offset" + "name": "Spawn Relative" }, "params": [ { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "Offset", - "tooltip": "The relative offset from the entity" + "name": "Transform" } } ], @@ -212,14 +210,13 @@ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "SliceInstantiationTicket", - "tooltip": "The relative offset from the entity" + "name": "Slice Instantiation Ticket" } } ] }, { - "key": "Spawn", + "base": "Spawn", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Spawn" @@ -229,20 +226,19 @@ "tooltip": "Signaled after Spawn is invoked" }, "details": { - "name": "Spawn", - "tooltip": "Spawns the designated slice at the entity's location" + "name": "Spawn" }, "results": [ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "SliceInstantiationTicket" + "name": "Slice Instantiation Ticket" } } ] }, { - "key": "SpawnAbsolute", + "base": "SpawnAbsolute", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Spawn Absolute" @@ -252,15 +248,13 @@ "tooltip": "Signaled after Spawn Absolute is invoked" }, "details": { - "name": "Spawn Absolute", - "tooltip": "Spawn the selected slice at an absolute position" + "name": "Spawn Absolute" }, "params": [ { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "Position", - "tooltip": "The absolute position where the entity should spawn" + "name": "Transform" } } ], @@ -268,8 +262,7 @@ { "typeid": "{E6E7C0C5-07C9-44BB-A38C-930431948667}", "details": { - "name": "SliceInstantiationTicket", - "tooltip": "The absolute position where the entity should spawn" + "name": "Slice Instantiation Ticket" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SphereShapeComponentRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SphereShapeComponentRequestsBus.names index cc5521d074..170c490510 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SphereShapeComponentRequestsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SphereShapeComponentRequestsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SphereShapeComponentRequestsBus", + "base": "SphereShapeComponentRequestsBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetSphereConfiguration", + "base": "GetSphereConfiguration", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Configuration" @@ -34,7 +34,7 @@ ] }, { - "key": "SetRadius", + "base": "SetRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Radius" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SplineComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SplineComponentRequestBus.names index 067ddc4c0b..7f4e164a01 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SplineComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SplineComponentRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SplineComponentRequestBus", + "base": "SplineComponentRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "ClearVertices", + "base": "ClearVertices", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Clear Vertices" @@ -24,7 +24,7 @@ } }, { - "key": "RemoveVertex", + "base": "RemoveVertex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Remove Vertex" @@ -54,7 +54,7 @@ ] }, { - "key": "UpdateVertex", + "base": "UpdateVertex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Update Vertex" @@ -90,7 +90,7 @@ ] }, { - "key": "AddVertex", + "base": "AddVertex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Add Vertex" @@ -112,7 +112,7 @@ ] }, { - "key": "GetSpline", + "base": "GetSpline", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Spline" @@ -134,7 +134,7 @@ ] }, { - "key": "SetClosed", + "base": "SetClosed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Closed" @@ -156,7 +156,7 @@ ] }, { - "key": "InsertVertex", + "base": "InsertVertex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Insert Vertex" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SsaoRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SsaoRequestBus.names index a0d6ebdedd..1d58037a04 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SsaoRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SsaoRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SsaoRequestBus", + "base": "SsaoRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetBlurDepthFalloffStrength", + "base": "SetBlurDepthFalloffStrength", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetBlurDepthFalloffStrength" @@ -31,7 +31,7 @@ ] }, { - "key": "SetBlurDepthFalloffThreshold", + "base": "SetBlurDepthFalloffThreshold", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetBlurDepthFalloffThreshold" @@ -53,7 +53,7 @@ ] }, { - "key": "SetEnableDownsampleOverride", + "base": "SetEnableDownsampleOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEnableDownsampleOverride" @@ -75,7 +75,7 @@ ] }, { - "key": "SetEnableBlurOverride", + "base": "SetEnableBlurOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEnableBlurOverride" @@ -97,7 +97,7 @@ ] }, { - "key": "GetEnabledOverride", + "base": "GetEnabledOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEnabledOverride" @@ -119,7 +119,7 @@ ] }, { - "key": "GetSamplingRadius", + "base": "GetSamplingRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSamplingRadius" @@ -141,7 +141,7 @@ ] }, { - "key": "SetBlurDepthFalloffStrengthOverride", + "base": "SetBlurDepthFalloffStrengthOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetBlurDepthFalloffStrengthOverride" @@ -163,7 +163,7 @@ ] }, { - "key": "GetBlurDepthFalloffThresholdOverride", + "base": "GetBlurDepthFalloffThresholdOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetBlurDepthFalloffThresholdOverride" @@ -185,7 +185,7 @@ ] }, { - "key": "GetBlurDepthFalloffThreshold", + "base": "GetBlurDepthFalloffThreshold", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetBlurDepthFalloffThreshold" @@ -207,7 +207,7 @@ ] }, { - "key": "GetSamplingRadiusOverride", + "base": "GetSamplingRadiusOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSamplingRadiusOverride" @@ -229,7 +229,7 @@ ] }, { - "key": "SetStrengthOverride", + "base": "SetStrengthOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetStrengthOverride" @@ -251,7 +251,7 @@ ] }, { - "key": "GetStrength", + "base": "GetStrength", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetStrength" @@ -273,7 +273,7 @@ ] }, { - "key": "GetEnabled", + "base": "GetEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEnabled" @@ -295,7 +295,7 @@ ] }, { - "key": "GetEnableDownsample", + "base": "GetEnableDownsample", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEnableDownsample" @@ -317,7 +317,7 @@ ] }, { - "key": "GetBlurDepthFalloffStrength", + "base": "GetBlurDepthFalloffStrength", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetBlurDepthFalloffStrength" @@ -339,7 +339,7 @@ ] }, { - "key": "SetBlurConstFalloff", + "base": "SetBlurConstFalloff", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetBlurConstFalloff" @@ -361,7 +361,7 @@ ] }, { - "key": "GetEnableDownsampleOverride", + "base": "GetEnableDownsampleOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEnableDownsampleOverride" @@ -383,7 +383,7 @@ ] }, { - "key": "GetEnableBlurOverride", + "base": "GetEnableBlurOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEnableBlurOverride" @@ -405,7 +405,7 @@ ] }, { - "key": "SetSamplingRadiusOverride", + "base": "SetSamplingRadiusOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSamplingRadiusOverride" @@ -427,7 +427,7 @@ ] }, { - "key": "SetSamplingRadius", + "base": "SetSamplingRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSamplingRadius" @@ -449,7 +449,7 @@ ] }, { - "key": "SetStrength", + "base": "SetStrength", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetStrength" @@ -471,7 +471,7 @@ ] }, { - "key": "SetEnabled", + "base": "SetEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEnabled" @@ -493,7 +493,7 @@ ] }, { - "key": "GetStrengthOverride", + "base": "GetStrengthOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetStrengthOverride" @@ -515,7 +515,7 @@ ] }, { - "key": "GetEnableBlur", + "base": "GetEnableBlur", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetEnableBlur" @@ -537,7 +537,7 @@ ] }, { - "key": "SetEnableDownsample", + "base": "SetEnableDownsample", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEnableDownsample" @@ -559,7 +559,7 @@ ] }, { - "key": "SetBlurDepthFalloffThresholdOverride", + "base": "SetBlurDepthFalloffThresholdOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetBlurDepthFalloffThresholdOverride" @@ -581,7 +581,7 @@ ] }, { - "key": "SetBlurConstFalloffOverride", + "base": "SetBlurConstFalloffOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetBlurConstFalloffOverride" @@ -603,7 +603,7 @@ ] }, { - "key": "GetBlurConstFalloff", + "base": "GetBlurConstFalloff", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetBlurConstFalloff" @@ -625,7 +625,7 @@ ] }, { - "key": "SetEnabledOverride", + "base": "SetEnabledOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEnabledOverride" @@ -647,7 +647,7 @@ ] }, { - "key": "SetEnableBlur", + "base": "SetEnableBlur", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetEnableBlur" @@ -669,7 +669,7 @@ ] }, { - "key": "GetBlurConstFalloffOverride", + "base": "GetBlurConstFalloffOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetBlurConstFalloffOverride" @@ -691,7 +691,7 @@ ] }, { - "key": "GetBlurDepthFalloffStrengthOverride", + "base": "GetBlurDepthFalloffStrengthOverride", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetBlurDepthFalloffStrengthOverride" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceAltitudeGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceAltitudeGradientRequestBus.names index a8ff8ab8fd..ff2d814e8b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceAltitudeGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceAltitudeGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SurfaceAltitudeGradientRequestBus", + "base": "SurfaceAltitudeGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetNumTags", + "base": "GetNumTags", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNumTags" @@ -31,7 +31,7 @@ ] }, { - "key": "RemoveTag", + "base": "RemoveTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RemoveTag" @@ -53,7 +53,7 @@ ] }, { - "key": "GetAltitudeMax", + "base": "GetAltitudeMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetAltitudeMax" @@ -75,7 +75,7 @@ ] }, { - "key": "SetAltitudeMin", + "base": "SetAltitudeMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetAltitudeMin" @@ -97,7 +97,7 @@ ] }, { - "key": "GetAltitudeMin", + "base": "GetAltitudeMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetAltitudeMin" @@ -119,7 +119,7 @@ ] }, { - "key": "GetTag", + "base": "GetTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTag" @@ -149,7 +149,7 @@ ] }, { - "key": "AddTag", + "base": "AddTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddTag" @@ -171,7 +171,7 @@ ] }, { - "key": "SetShapeEntityId", + "base": "SetShapeEntityId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetShapeEntityId" @@ -194,7 +194,7 @@ ] }, { - "key": "SetAltitudeMax", + "base": "SetAltitudeMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetAltitudeMax" @@ -216,7 +216,7 @@ ] }, { - "key": "GetShapeEntityId", + "base": "GetShapeEntityId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetShapeEntityId" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceMaskGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceMaskGradientRequestBus.names index b71f80ddf9..13ea976480 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceMaskGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceMaskGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SurfaceMaskGradientRequestBus", + "base": "SurfaceMaskGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetNumTags", + "base": "GetNumTags", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNumTags" @@ -31,7 +31,7 @@ ] }, { - "key": "GetTag", + "base": "GetTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTag" @@ -61,7 +61,7 @@ ] }, { - "key": "RemoveTag", + "base": "RemoveTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RemoveTag" @@ -83,7 +83,7 @@ ] }, { - "key": "AddTag", + "base": "AddTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddTag" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceSlopeGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceSlopeGradientRequestBus.names index 9b0cd3802c..8db09b1773 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceSlopeGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/SurfaceSlopeGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SurfaceSlopeGradientRequestBus", + "base": "SurfaceSlopeGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "SetRampType", + "base": "SetRampType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetRampType" @@ -31,7 +31,7 @@ ] }, { - "key": "GetTag", + "base": "GetTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTag" @@ -61,7 +61,7 @@ ] }, { - "key": "AddTag", + "base": "AddTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AddTag" @@ -83,7 +83,7 @@ ] }, { - "key": "SetSlopeMax", + "base": "SetSlopeMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSlopeMax" @@ -105,7 +105,7 @@ ] }, { - "key": "GetNumTags", + "base": "GetNumTags", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNumTags" @@ -127,7 +127,7 @@ ] }, { - "key": "RemoveTag", + "base": "RemoveTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke RemoveTag" @@ -149,7 +149,7 @@ ] }, { - "key": "GetRampType", + "base": "GetRampType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetRampType" @@ -171,7 +171,7 @@ ] }, { - "key": "GetSlopeMax", + "base": "GetSlopeMax", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSlopeMax" @@ -193,7 +193,7 @@ ] }, { - "key": "SetSlopeMin", + "base": "SetSlopeMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSlopeMin" @@ -215,7 +215,7 @@ ] }, { - "key": "GetSlopeMin", + "base": "GetSlopeMin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSlopeMin" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TagComponentRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TagComponentRequestBus.names index b0b63a23ed..f1d8a7bc31 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TagComponentRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TagComponentRequestBus.names @@ -1,16 +1,16 @@ { "entries": [ { - "key": "TagComponentRequestBus", + "base": "TagComponentRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "TagComponentRequestBus", - "category": "Gameplay" + "name": "Requests", + "category": "Gameplay/Tag" }, "methods": [ { - "key": "HasTag", + "base": "HasTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Has Tag" @@ -20,15 +20,13 @@ "tooltip": "Signaled after Has Tag is invoked" }, "details": { - "name": "Has Tag", - "tooltip": "Returns true if an entity has a specified tag" + "name": "Has Tag" }, "params": [ { "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", "details": { - "name": "Tag", - "tooltip": "The tag to check if the source entity has" + "name": "Tag" } } ], @@ -36,14 +34,13 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool", - "tooltip": "The tag to check if the source entity has" + "name": "Has Tag" } } ] }, { - "key": "AddTag", + "base": "AddTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Add Tag" @@ -53,21 +50,19 @@ "tooltip": "Signaled after Add Tag is invoked" }, "details": { - "name": "Add Tag", - "tooltip": "Adds a tag to an entity if it didn't already have it" + "name": "Add Tag" }, "params": [ { "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", "details": { - "name": "Tag", - "tooltip": "The tag to add to the entity" + "name": "Tag" } } ] }, { - "key": "RemoveTag", + "base": "RemoveTag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Remove Tag" @@ -77,15 +72,13 @@ "tooltip": "Signaled after Remove Tag is invoked" }, "details": { - "name": "Remove Tag", - "tooltip": "Removes a tag from an entity if it had it" + "name": "Remove Tag" }, "params": [ { "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", "details": { - "name": "Tag", - "tooltip": "The tag to remove from the entity" + "name": "Tag" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TagGlobalRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TagGlobalRequestBus.names index fa31042580..8136a2c947 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TagGlobalRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TagGlobalRequestBus.names @@ -1,16 +1,16 @@ { "entries": [ { - "key": "TagGlobalRequestBus", + "base": "TagGlobalRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "TagGlobalRequestBus", - "category": "Gameplay" + "name": "Requests", + "category": "Gameplay/Tag" }, "methods": [ { - "key": "RequestTaggedEntities", + "base": "RequestTaggedEntities", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Request Tagged Entities" @@ -20,14 +20,13 @@ "tooltip": "Signaled after Request Tagged Entities is invoked" }, "details": { - "name": "Request Tagged Entities", - "tooltip": "Returns the first responding entity that has a specified Tag" + "name": "Request Tagged Entities" }, "results": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TerrainDataRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TerrainDataRequestBus.names index acd8f15026..50b0c9794b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TerrainDataRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TerrainDataRequestBus.names @@ -1,130 +1,15 @@ { "entries": [ { - "key": "TerrainDataRequestBus", + "base": "TerrainDataRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "TerrainDataRequestBus" + "name": "Terrain Data" }, "methods": [ { - "key": "GetNormalFromFloats", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke Get Normal From Floats" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after Get Normal From Floats is invoked" - }, - "details": { - "name": "Get Normal From Floats" - }, - "params": [ - { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", - "details": { - "name": "X" - } - }, - { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", - "details": { - "name": "Y" - } - }, - { - "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", - "details": { - "name": "Sample Filter", - "tooltip": "0: Bilinear, 1: Clamp, 2: Exact" - } - }, - { - "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", - "details": { - "name": "Terrain Exists" - } - } - ], - "results": [ - { - "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", - "details": { - "name": "Normal" - } - } - ] - }, - { - "key": "GetNormal", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke Get Normal" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after Get Normal is invoked" - }, - "details": { - "name": "Get Normal" - }, - "params": [ - { - "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", - "details": { - "name": "Position" - } - }, - { - "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", - "details": { - "name": "Sample Filter", - "tooltip": "0: Bilinear, 1: Clamp, 2: Exact" - - } - }, - { - "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", - "details": { - "name": "Terrain Exists" - } - } - ], - "results": [ - { - "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", - "details": { - "name": "Normal" - } - } - ] - }, - { - "key": "GetTerrainAabb", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke Get Terrain AABB" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after Get Terrain AABB is invoked" - }, - "details": { - "name": "Get Terrain AABB" - }, - "results": [ - { - "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", - "details": { - "name": "AABB" - } - } - ] - }, - { - "key": "GetIsHoleFromFloats", + "base": "GetIsHoleFromFloats", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Is Hole From Floats" @@ -161,35 +46,35 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Is Hole" + "name": "Terrain Exists" } } ] }, { - "key": "GetHeightFromFloats", + "base": "GetSurfaceWeightsFromVector2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Height From Floats" + "tooltip": "When signaled, this will invoke Get Surface Weights From Vector2" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Height From Floats is invoked" + "tooltip": "Signaled after Get Surface Weights From Vector2 is invoked" }, "details": { - "name": "Get Height From Floats" + "name": "Get Surface Weights From Vector2" }, "params": [ { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "X" + "name": "Position" } }, { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "typeid": "{8F60B4D4-06F0-577C-AFB9-ECBFA7B66D4E}", "details": { - "name": "Y" + "name": "Surface Weights" } }, { @@ -205,25 +90,58 @@ "name": "Terrain Exists" } } - ], - "results": [ + ] + }, + { + "base": "GetSurfaceWeights", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke GetSurfaceWeights" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after GetSurfaceWeights is invoked" + }, + "details": { + "name": "GetSurfaceWeights" + }, + "params": [ { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Height" + "name": "Position" + } + }, + { + "typeid": "{8F60B4D4-06F0-577C-AFB9-ECBFA7B66D4E}", + "details": { + "name": "Surface Weights" + } + }, + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Sample Filter", + "tooltip": "0: Bilinear, 1: Clamp, 2: Exact" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Terrain Exists" } } ] }, { - "key": "GetMaxSurfaceWeight", + "base": "GetMaxSurfaceWeight", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetMaxSurfaceWeight" + "tooltip": "When signaled, this will invoke Get Max Surface Weight" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetMaxSurfaceWeight is invoked" + "tooltip": "Signaled after Get Max Surface Weight is invoked" }, "details": { "name": "Get Max Surface Weight" @@ -259,29 +177,129 @@ ] }, { - "key": "GetMaxSurfaceWeightFromFloats", + "base": "GetSurfacePointFromVector2", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Max Surface Weight From Floats" + "tooltip": "When signaled, this will invoke Get Surface Point From Vector2" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Max Surface Weight From Floats is invoked" + "tooltip": "Signaled after Get Surface Point From Vector2 is invoked" }, "details": { - "name": "Get Max Surface Weight From Floats" + "name": "Get Surface Point From Vector2" }, "params": [ { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "X" + "name": "Position" } }, { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "typeid": "{331A3D0E-BB1D-47BF-96A2-249FAA0D720D}", "details": { - "name": "Y" + "name": "Surface Point" + } + }, + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Sample Filter", + "tooltip": "0: Bilinear, 1: Clamp, 2: Exact" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Terrain Exists" + } + } + ] + }, + { + "base": "GetTerrainHeightQueryResolution", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Terrain Height Query Resolution" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Terrain Height Query Resolution is invoked" + }, + "details": { + "name": "Get Terrain Height Query Resolution" + }, + "results": [ + { + "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", + "details": { + "name": "Position" + } + } + ] + }, + { + "base": "GetNormal", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Normal" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Normal is invoked" + }, + "details": { + "name": "Get Normal" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Position" + } + }, + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Sample Filter", + "tooltip": "0: Bilinear, 1: Clamp, 2: Exact" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Terrain Exists" + } + } + ], + "results": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Normal" + } + } + ] + }, + { + "base": "GetMaxSurfaceWeightFromVector2", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Max Surface Weight From Vector2" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Max Surface Weight From Vector2 is invoked" + }, + "details": { + "name": "Get Max Surface Weight From Vector2" + }, + "params": [ + { + "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", + "details": { + "name": "Position" } }, { @@ -308,29 +326,29 @@ ] }, { - "key": "GetTerrainHeightQueryResolution", + "base": "GetTerrainAabb", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Terrain Height Query Resolution" + "tooltip": "When signaled, this will invoke Get Terrain AABB" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Terrain Height Query Resolution is invoked" + "tooltip": "Signaled after Get Terrain AABB is invoked" }, "details": { - "name": "Get Terrain Height Query Resolution" + "name": "Get Terrain AABB" }, "results": [ { - "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", + "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", "details": { - "name": "Resolution" + "name": "AABB" } } ] }, { - "key": "GetHeight", + "base": "GetHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Height" @@ -371,6 +389,47 @@ } } ] + }, + { + "base": "GetSurfacePoint", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Get Surface Point" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Get Surface Point is invoked" + }, + "details": { + "name": "Get Surface Point" + }, + "params": [ + { + "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", + "details": { + "name": "Position" + } + }, + { + "typeid": "{331A3D0E-BB1D-47BF-96A2-249FAA0D720D}", + "details": { + "name": "Surface Point" + } + }, + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Sample Filter", + "tooltip": "0: Bilinear, 1: Clamp, 2: Exact" + } + }, + { + "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", + "details": { + "name": "Terrain Exists" + } + } + ] } ] } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ThresholdGradientRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ThresholdGradientRequestBus.names index 0ad659c691..b5eceff545 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ThresholdGradientRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ThresholdGradientRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ThresholdGradientRequestBus", + "base": "ThresholdGradientRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetThreshold", + "base": "GetThreshold", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetThreshold" @@ -31,7 +31,7 @@ ] }, { - "key": "SetThreshold", + "base": "SetThreshold", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetThreshold" @@ -53,7 +53,7 @@ ] }, { - "key": "GetGradientSampler", + "base": "GetGradientSampler", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetGradientSampler" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TickRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TickRequestBus.names index 869d2cfcfb..6c8e29af70 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TickRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TickRequestBus.names @@ -1,16 +1,15 @@ { "entries": [ { - "key": "TickRequestBus", + "base": "TickRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "TickRequestBus", - "category": "Timing" + "name": "Tick" }, "methods": [ { - "key": "GetTickDeltaTime", + "base": "GetTickDeltaTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Tick Delta Time" @@ -20,37 +19,35 @@ "tooltip": "Signaled after Get Tick Delta Time is invoked" }, "details": { - "name": "Get Tick Delta Time", - "tooltip": "Gets the latest time between ticks" + "name": "Get Tick Delta Time" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Delta Time" } } ] }, { - "key": "GetTimeAtCurrentTick", + "base": "GetTimeAtCurrentTick", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Time at Current Tick" + "tooltip": "When signaled, this will invoke Get Time At Current Tick" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Time at Current Tick is invoked" + "tooltip": "Signaled after Get Time At Current Tick is invoked" }, "details": { - "name": "Get Time at Current Tick", - "tooltip": "Gets the time in seconds since the epoch (January 1, 1970)" + "name": "Get Time At Current Tick" }, "results": [ { "typeid": "{4C0F6AD4-0D4F-4354-AD4A-0C01E948245C}", "details": { - "name": "ScriptTimePoint" + "name": "Script Time Point" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ToolsApplicationRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ToolsApplicationRequestBus.names index 055931428e..148c96005b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ToolsApplicationRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ToolsApplicationRequestBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ToolsApplicationRequestBus", + "base": "ToolsApplicationRequestBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "MarkEntitySelected", + "base": "MarkEntitySelected", "entry": { "name": "In", "tooltip": "When signaled, this will invoke MarkEntitySelected" @@ -32,7 +32,7 @@ ] }, { - "key": "IsSelected", + "base": "IsSelected", "entry": { "name": "In", "tooltip": "When signaled, this will invoke IsSelected" @@ -63,7 +63,7 @@ ] }, { - "key": "GetSelectedEntitiesCount", + "base": "GetSelectedEntitiesCount", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSelectedEntitiesCount" @@ -85,7 +85,7 @@ ] }, { - "key": "GetSelectedEntities", + "base": "GetSelectedEntities", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetSelectedEntities" @@ -107,7 +107,7 @@ ] }, { - "key": "DeleteEntitiesAndAllDescendants", + "base": "DeleteEntitiesAndAllDescendants", "entry": { "name": "In", "tooltip": "When signaled, this will invoke DeleteEntitiesAndAllDescendants" @@ -129,7 +129,7 @@ ] }, { - "key": "GetExistingEntity", + "base": "GetExistingEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetExistingEntity" @@ -160,7 +160,7 @@ ] }, { - "key": "SetSelectedEntities", + "base": "SetSelectedEntities", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetSelectedEntities" @@ -182,7 +182,7 @@ ] }, { - "key": "MarkEntitiesSelected", + "base": "MarkEntitiesSelected", "entry": { "name": "In", "tooltip": "When signaled, this will invoke MarkEntitiesSelected" @@ -204,7 +204,7 @@ ] }, { - "key": "MarkEntityDeselected", + "base": "MarkEntityDeselected", "entry": { "name": "In", "tooltip": "When signaled, this will invoke MarkEntityDeselected" @@ -227,7 +227,7 @@ ] }, { - "key": "GetCurrentLevelEntityId", + "base": "GetCurrentLevelEntityId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetCurrentLevelEntityId" @@ -250,7 +250,7 @@ ] }, { - "key": "AreAnyEntitiesSelected", + "base": "AreAnyEntitiesSelected", "entry": { "name": "In", "tooltip": "When signaled, this will invoke AreAnyEntitiesSelected" @@ -272,7 +272,7 @@ ] }, { - "key": "CreateNewEntityAtPosition", + "base": "CreateNewEntityAtPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CreateNewEntityAtPosition" @@ -310,7 +310,7 @@ ] }, { - "key": "DeleteEntityAndAllDescendants", + "base": "DeleteEntityAndAllDescendants", "entry": { "name": "In", "tooltip": "When signaled, this will invoke DeleteEntityAndAllDescendants" @@ -333,7 +333,7 @@ ] }, { - "key": "CreateNewEntity", + "base": "CreateNewEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke CreateNewEntity" @@ -365,7 +365,7 @@ ] }, { - "key": "EntityExists", + "base": "EntityExists", "entry": { "name": "In", "tooltip": "When signaled, this will invoke EntityExists" @@ -396,7 +396,7 @@ ] }, { - "key": "DeleteEntityById", + "base": "DeleteEntityById", "entry": { "name": "In", "tooltip": "When signaled, this will invoke DeleteEntityById" @@ -419,7 +419,7 @@ ] }, { - "key": "DeleteEntities", + "base": "DeleteEntities", "entry": { "name": "In", "tooltip": "When signaled, this will invoke DeleteEntities" @@ -441,7 +441,7 @@ ] }, { - "key": "MarkEntitiesDeselected", + "base": "MarkEntitiesDeselected", "entry": { "name": "In", "tooltip": "When signaled, this will invoke MarkEntitiesDeselected" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TransformBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TransformBus.names index 29c14f4961..2d8bc4ede4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TransformBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TransformBus.names @@ -1,38 +1,38 @@ { "entries": [ { - "key": "TransformBus", + "base": "TransformBus", "context": "EBusSender", "variant": "", "details": { - "name": "TransformBus", + "name": "Transform", "category": "Entity" }, "methods": [ { - "key": "SetLocalUniformScale", + "base": "SetLocalUniformScale", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetLocalUniformScale" + "tooltip": "When signaled, this will invoke Set Local Uniform Scale" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetLocalUniformScale is invoked" + "tooltip": "Signaled after Set Local Uniform Scale is invoked" }, "details": { - "name": "SetLocalUniformScale" + "name": "Set Local Uniform Scale" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Local Uniform Scale" } } ] }, { - "key": "SetLocalRotationQuaternion", + "base": "SetLocalRotationQuaternion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Local Rotation Quaternion" @@ -42,21 +42,19 @@ "tooltip": "Signaled after Set Local Rotation Quaternion is invoked" }, "details": { - "name": "Set Local Rotation Quaternion", - "tooltip": "Sets the entity's rotation in local space using a quaternion" + "name": "Set Local Rotation Quaternion" }, "params": [ { "typeid": "{73103120-3DD3-4873-BAB3-9713FA2804FB}", "details": { - "name": "Rotation", - "tooltip": "The quaternion to rotate around" + "name": "Quaternion" } } ] }, { - "key": "GetLocalRotation", + "base": "GetLocalRotation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local Rotation" @@ -66,20 +64,19 @@ "tooltip": "Signaled after Get Local Rotation is invoked" }, "details": { - "name": "Get Local Rotation", - "tooltip": "Gets the entity's rotation in radians in local space" + "name": "Get Local Rotation" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Angles (Radians)" } } ] }, { - "key": "GetLocalTM", + "base": "GetLocalTM", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local Transform" @@ -102,30 +99,29 @@ ] }, { - "key": "GetEntityAndAllDescendants", + "base": "GetEntityAndAllDescendants", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Entity and Descendants" + "tooltip": "When signaled, this will invoke Get Entity And All Descendants" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Entity and Descendants is invoked" + "tooltip": "Signaled after Get Entity And All Descendants is invoked" }, "details": { - "name": "Get Entity and Descendants", - "tooltip": "Returns the EntityID of the entity, the entity's children, the children's children, and so on" + "name": "Get Entity And All Descendants" }, "results": [ { "typeid": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "details": { - "name": "AZStd::vector" + "name": "Entity and Descendants" } } ] }, { - "key": "SetLocalZ", + "base": "SetLocalZ", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Local Z" @@ -135,75 +131,69 @@ "tooltip": "Signaled after Set Local Z is invoked" }, "details": { - "name": "Set Local Z", - "tooltip": "Gets the entity's Z coordinate in local space" + "name": "Set Local Z" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Z Translation", - "tooltip": "The entity's Z coordinate in local space" + "name": "Z" } } ] }, { - "key": "GetAllDescendants", + "base": "GetAllDescendants", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Descendants" + "tooltip": "When signaled, this will invoke Get All Descendants" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Descendants is invoked" + "tooltip": "Signaled after Get All Descendants is invoked" }, "details": { - "name": "Get Descendants", - "tooltip": "Returns the entity's children, the children's children, and so on" + "name": "Get All Descendants" }, "results": [ { "typeid": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "details": { - "name": "AZStd::vector" + "name": "Descendants" } } ] }, { - "key": "GetLocalAndWorld", + "base": "GetLocalAndWorld", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Local and World" + "tooltip": "When signaled, this will invoke Get Local And World" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Local and World is invoked" + "tooltip": "Signaled after Get Local And World is invoked" }, "details": { - "name": "Get Local and World", - "tooltip": "Retrieves the entity's local and world transforms" + "name": "Get Local And World Transforms" }, "params": [ { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "Local Transform", - "tooltip": "A reference to a transform that represents the entity's position relative to its parent entity" + "name": "Local" } }, { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "Global Transform", - "tooltip": "A reference to a transform that represents the entity's position within the world" + "name": "World" } } ] }, { - "key": "RotateAroundLocalZ", + "base": "RotateAroundLocalZ", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Rotate Around Local Z" @@ -213,21 +203,19 @@ "tooltip": "Signaled after Rotate Around Local Z is invoked" }, "details": { - "name": "Rotate Around Local Z", - "tooltip": "Rotates the entity around the Z axis in local space" + "name": "Rotate Around Local Z" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Z Rotation", - "tooltip": "The angle, in radians, to rotate the entity around the Z axis in local space" + "name": "Angle (Radians)" } } ] }, { - "key": "GetWorldRotationQuaternion", + "base": "GetWorldRotationQuaternion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get World Rotation Quaternion" @@ -237,8 +225,7 @@ "tooltip": "Signaled after Get World Rotation Quaternion is invoked" }, "details": { - "name": "Get World Rotation Quaternion", - "tooltip": "Gets the entity's rotation in quaternion in world space" + "name": "Get World Rotation Quaternion" }, "results": [ { @@ -250,7 +237,7 @@ ] }, { - "key": "RotateAroundLocalX", + "base": "RotateAroundLocalX", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Rotate Around Local X" @@ -260,21 +247,19 @@ "tooltip": "Signaled after Rotate Around Local X is invoked" }, "details": { - "name": "Rotate Around Local X", - "tooltip": "Rotates the entity around the X axis in local space" + "name": "Rotate Around Local X" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "X Rotation", - "tooltip": "The angle, in radians, to rotate the entity around the X axis in local space" + "name": "Angle (Radians)" } } ] }, { - "key": "SetParent", + "base": "SetParent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Parent" @@ -284,21 +269,20 @@ "tooltip": "Signaled after Set Parent is invoked" }, "details": { - "name": "Set Parent", - "tooltip": "Sets the entity's parent entity" + "name": "Set Parent" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { "name": "Parent", - "tooltip": "The ID of the entity to set as the parent" + "tooltip": "Entity Unique Id" } } ] }, { - "key": "GetLocalZ", + "base": "GetLocalZ", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local Z" @@ -308,44 +292,41 @@ "tooltip": "Signaled after Get Local Z is invoked" }, "details": { - "name": "Get Local Z", - "tooltip": "Gets the entity's Z coordinate in local space" + "name": "Get Local Z" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Z" } } ] }, { - "key": "SetLocalRotation", + "base": "SetLocalRotation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Local Rotation" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Local Rotation is invoked" + "tooltip": "Signaled after SetLocalRotation is invoked" }, "details": { - "name": "Set Local Rotation", - "tooltip": "Sets the entity's rotation in local space using a composition of rotations around the three axes" + "name": "Set Local Rotation" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Rotation", - "tooltip": "A three-dimensional vector, containing Euler angles in radians, that specifies a rotation around each axis" + "name": "Euler Angles (Radians)" } } ] }, { - "key": "SetLocalX", + "base": "SetLocalX", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Local X" @@ -355,21 +336,19 @@ "tooltip": "Signaled after Set Local X is invoked" }, "details": { - "name": "Set Local X", - "tooltip": "Sets the entity's X coordinate in local space" + "name": "Set Local X" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "X Translation", - "tooltip": "A new value for the entity's X coordinate in local space" + "name": "X" } } ] }, { - "key": "GetLocalRotationQuaternion", + "base": "GetLocalRotationQuaternion", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local Rotation Quaternion" @@ -379,8 +358,7 @@ "tooltip": "Signaled after Get Local Rotation Quaternion is invoked" }, "details": { - "name": "Get Local Rotation Quaternion", - "tooltip": "Gets the quaternion representing the entity's rotation in local space" + "name": "Get Local Rotation Quaternion" }, "results": [ { @@ -392,7 +370,7 @@ ] }, { - "key": "GetWorldX", + "base": "GetWorldX", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get World X" @@ -402,20 +380,19 @@ "tooltip": "Signaled after Get World X is invoked" }, "details": { - "name": "Get World X", - "tooltip": "Gets the entity's X coordinate in world space" + "name": "Get World X" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "X" } } ] }, { - "key": "SetWorldTranslation", + "base": "SetWorldTranslation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set World Translation" @@ -425,21 +402,19 @@ "tooltip": "Signaled after Set World Translation is invoked" }, "details": { - "name": "Set World Translation", - "tooltip": "Sets the entity's world space translation, which represents how to move the entity to a new position within the world" + "name": "Set World Translation" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Translation", - "tooltip": "A three-dimensional translation vector" + "name": "World Translation" } } ] }, { - "key": "MoveEntity", + "base": "MoveEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Move Entity" @@ -449,21 +424,19 @@ "tooltip": "Signaled after Move Entity is invoked" }, "details": { - "name": "Move Entity", - "tooltip": "Moves the entity within world space" + "name": "Move Entity" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Direction", - "tooltip": "A three-dimensional vector that contains the offset to apply to the entity" + "name": "Offset" } } ] }, { - "key": "GetChildren", + "base": "GetChildren", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Children" @@ -473,20 +446,19 @@ "tooltip": "Signaled after Get Children is invoked" }, "details": { - "name": "Get Children", - "tooltip": "Returns the EntityIDs of the entity's immediate children" + "name": "Get Children" }, "results": [ { "typeid": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "details": { - "name": "AZStd::vector" + "name": "Children" } } ] }, { - "key": "SetParentRelative", + "base": "SetParentRelative", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Parent Relative" @@ -496,21 +468,20 @@ "tooltip": "Signaled after Set Parent Relative is invoked" }, "details": { - "name": "Set Parent Relative", - "tooltip": "Sets the entity's parent entity, moves the transform relative to the parent entity, and notifies all listeners" + "name": "Set Parent Relative" }, "params": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { "name": "Parent", - "tooltip": "The ID of the entity to set as the parent" + "tooltip": "Entity Unique Id" } } ] }, { - "key": "SetWorldTM", + "base": "SetWorldTM", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set World Transform" @@ -520,31 +491,29 @@ "tooltip": "Signaled after Set World Transform is invoked" }, "details": { - "name": "Set World Transform", - "tooltip": "Sets the world transform and notifies all listeners" + "name": "Set World Transform" }, "params": [ { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "Transform", - "tooltip": "A reference to a transform for positioning the entity within the world" + "name": "Transform" } } ] }, { - "key": "SetWorldRotationQuaternion", + "base": "SetWorldRotationQuaternion", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetWorldRotationQuaternion" + "tooltip": "When signaled, this will invoke Set World Rotation Quaternion" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetWorldRotationQuaternion is invoked" + "tooltip": "Signaled after Set World Rotation Quaternion is invoked" }, "details": { - "name": "SetWorldRotationQuaternion" + "name": "Set World Rotation Quaternion" }, "params": [ { @@ -556,7 +525,7 @@ ] }, { - "key": "SetWorldX", + "base": "SetWorldX", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set World X" @@ -566,21 +535,19 @@ "tooltip": "Signaled after Set World X is invoked" }, "details": { - "name": "Set World X", - "tooltip": "Sets the entity's X coordinate in world space" + "name": "Set World X" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "X Translation", - "tooltip": "A new value for the entity's X coordinate in world space" + "name": "X" } } ] }, { - "key": "GetWorldY", + "base": "GetWorldY", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get World Y" @@ -590,42 +557,41 @@ "tooltip": "Signaled after Get World Y is invoked" }, "details": { - "name": "Get World Y", - "tooltip": "Gets the entity's Y coordinate in world space" + "name": "Get World Y" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Y" } } ] }, { - "key": "GetLocalUniformScale", + "base": "GetLocalUniformScale", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetLocalUniformScale" + "tooltip": "When signaled, this will invoke Get Local Uniform Scale" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetLocalUniformScale is invoked" + "tooltip": "Signaled after Get Local Uniform Scale is invoked" }, "details": { - "name": "GetLocalUniformScale" + "name": "Get Local Uniform Scale" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Uniform Scale" } } ] }, { - "key": "SetWorldZ", + "base": "SetWorldZ", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set World Z" @@ -635,21 +601,19 @@ "tooltip": "Signaled after Set World Z is invoked" }, "details": { - "name": "Set World Z", - "tooltip": "Sets the entity's Z coordinate in world space" + "name": "Set World Z" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Z Translation", - "tooltip": "A new value for the entity's Z coordinate in world space" + "name": "Z" } } ] }, { - "key": "SetLocalTM", + "base": "SetLocalTM", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Local Transform" @@ -659,21 +623,19 @@ "tooltip": "Signaled after Set Local Transform is invoked" }, "details": { - "name": "Set Local Transform", - "tooltip": "Sets the entity's local transform and notifies all listeners" + "name": "Set Local Transform" }, "params": [ { "typeid": "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}", "details": { - "name": "Transform", - "tooltip": "A reference to a transform for positioning the entity relative to its parent entity" + "name": "Transform" } } ] }, { - "key": "SetLocalTranslation", + "base": "SetLocalTranslation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Local Translation" @@ -683,21 +645,19 @@ "tooltip": "Signaled after Set Local Translation is invoked" }, "details": { - "name": "Set Local Translation", - "tooltip": "Sets the entity's local space translation, which represents how to move the entity to a new position relative to its parent" + "name": "Set Local Translation" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Translation", - "tooltip": "A three-dimensional translation vector" + "name": "Translation" } } ] }, { - "key": "GetLocalScale", + "base": "GetLocalScale", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local Scale" @@ -707,20 +667,19 @@ "tooltip": "Signaled after Get Local Scale is invoked" }, "details": { - "name": "Get Local Scale", - "tooltip": "Gets the scale of the entity along each axis in local space" + "name": "Get Local Scale" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Scale" } } ] }, { - "key": "SetWorldY", + "base": "SetWorldY", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set World Y" @@ -730,21 +689,19 @@ "tooltip": "Signaled after Set World Y is invoked" }, "details": { - "name": "Set World Y", - "tooltip": "Sets the entity's Y coordinate in world space" + "name": "Set World Y" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Y Translation", - "tooltip": "A new value for the entity's Y coordinate in world space" + "name": "Y" } } ] }, { - "key": "RotateAroundLocalY", + "base": "RotateAroundLocalY", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Rotate Around Local Y" @@ -754,21 +711,19 @@ "tooltip": "Signaled after Rotate Around Local Y is invoked" }, "details": { - "name": "Rotate Around Local Y", - "tooltip": "Rotates the entity around the Y axis in local space" + "name": "Rotate Around Local Y" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Y Rotation", - "tooltip": "The angle, in radians, to rotate the entity around the Y axis in local space" + "name": "Euler Angle (Radians)" } } ] }, { - "key": "GetLocalTranslation", + "base": "GetLocalTranslation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local Translation" @@ -778,20 +733,19 @@ "tooltip": "Signaled after Get Local Translation is invoked" }, "details": { - "name": "Get Local Translation", - "tooltip": "Gets the entity's local space translation" + "name": "Get Local Translation" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Translation" } } ] }, { - "key": "GetWorldRotation", + "base": "GetWorldRotation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get World Rotation" @@ -801,20 +755,20 @@ "tooltip": "Signaled after Get World Rotation is invoked" }, "details": { - "name": "Get World Rotation", - "tooltip": "Gets the entity's rotation in radians in world space" + "name": "Get World Rotation" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Euler Angles (Radians)", + "tooltip": "Euler angles (Pitch, Yaw, Roll), in radians" } } ] }, { - "key": "GetWorldZ", + "base": "GetWorldZ", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get World Z" @@ -824,20 +778,19 @@ "tooltip": "Signaled after Get World Z is invoked" }, "details": { - "name": "Get World Z", - "tooltip": "Gets the entity's Z coordinate in world space" + "name": "Get World Z" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Z" } } ] }, { - "key": "GetLocalY", + "base": "GetLocalY", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local Y" @@ -847,20 +800,19 @@ "tooltip": "Signaled after Get Local Y is invoked" }, "details": { - "name": "Get Local Y", - "tooltip": "Gets the entity's Y coordinate in local space" + "name": "Get Local Y" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "Y" } } ] }, { - "key": "GetWorldTranslation", + "base": "GetWorldTranslation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get World Translation" @@ -870,20 +822,19 @@ "tooltip": "Signaled after Get World Translation is invoked" }, "details": { - "name": "Get World Translation", - "tooltip": "Gets the entity's world space translation" + "name": "Get World Translation" }, "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Translation" } } ] }, { - "key": "SetLocalY", + "base": "SetLocalY", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Local Y" @@ -893,21 +844,19 @@ "tooltip": "Signaled after Set Local Y is invoked" }, "details": { - "name": "Set Local Y", - "tooltip": "Sets the entity's Y coordinate in local space" + "name": "Set Local Y" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Y Position", - "tooltip": "A new value for the entity's Y coordinate in local space" + "name": "Y" } } ] }, { - "key": "GetLocalX", + "base": "GetLocalX", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local X" @@ -917,20 +866,19 @@ "tooltip": "Signaled after Get Local X is invoked" }, "details": { - "name": "Get Local X", - "tooltip": "Gets the entity's X coordinate in local space" + "name": "Get Local X" }, "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "float" + "name": "X" } } ] }, { - "key": "GetWorldTM", + "base": "GetWorldTM", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get World Transform" @@ -940,8 +888,7 @@ "tooltip": "Signaled after Get World Transform is invoked" }, "details": { - "name": "Get World Transform", - "tooltip": "Returns the entity's world transform, including the parent transform" + "name": "Get World Transform" }, "results": [ { @@ -953,48 +900,46 @@ ] }, { - "key": "GetParentId", + "base": "GetParentId", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Parent ID" + "tooltip": "When signaled, this will invoke Get Parent Id" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Parent ID is invoked" + "tooltip": "Signaled after Get Parent Id is invoked" }, "details": { - "name": "Get Parent ID", - "tooltip": "Returns the EntityID of the entity's parent" + "name": "Get Parent Id" }, "results": [ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId", + "name": "Parent Id", "tooltip": "Entity Unique Id" } } ] }, { - "key": "IsStaticTransform", + "base": "IsStaticTransform", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Is Static" + "tooltip": "When signaled, this will invoke Is Static Transform" }, "exit": { "name": "Out", - "tooltip": "Signaled after Is Static is invoked" + "tooltip": "Signaled after Is Static Transform is invoked" }, "details": { - "name": "Is Static", - "tooltip": "Returns whether the transform is static" + "name": "Is Static Transform" }, "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "bool" + "name": "Is Static Transform" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TubeShapeComponentRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TubeShapeComponentRequestsBus.names index b038d91560..87b0584dbf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TubeShapeComponentRequestsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/TubeShapeComponentRequestsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "TubeShapeComponentRequestsBus", + "base": "TubeShapeComponentRequestsBus", "context": "EBusSender", "variant": "", "details": { @@ -9,7 +9,7 @@ }, "methods": [ { - "key": "GetVariableRadius", + "base": "GetVariableRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetVariableRadius" @@ -39,7 +39,7 @@ ] }, { - "key": "SetVariableRadius", + "base": "SetVariableRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetVariableRadius" @@ -67,7 +67,7 @@ ] }, { - "key": "SetRadius", + "base": "SetRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetRadius" @@ -89,7 +89,7 @@ ] }, { - "key": "GetRadius", + "base": "GetRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetRadius" @@ -111,7 +111,7 @@ ] }, { - "key": "GetTotalRadius", + "base": "GetTotalRadius", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTotalRadius" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiAnimationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiAnimationBus.names index 5618698361..8681104e2c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiAnimationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiAnimationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiAnimationBus", + "base": "UiAnimationBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "ResetSequence", + "base": "ResetSequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Reset Sequence" @@ -34,7 +34,7 @@ ] }, { - "key": "GetSequencePlayingSpeed", + "base": "GetSequencePlayingSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sequence Playing Speed" @@ -67,7 +67,7 @@ ] }, { - "key": "GetSequencePlayingTime", + "base": "GetSequencePlayingTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sequence Playing Time" @@ -100,7 +100,7 @@ ] }, { - "key": "AbortSequence", + "base": "AbortSequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Abort Sequence" @@ -124,7 +124,7 @@ ] }, { - "key": "IsSequencePlaying", + "base": "IsSequencePlaying", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Sequence Playing" @@ -157,7 +157,7 @@ ] }, { - "key": "GetSequenceLength", + "base": "GetSequenceLength", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sequence Length" @@ -190,7 +190,7 @@ ] }, { - "key": "StopSequence", + "base": "StopSequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Stop Sequence" @@ -214,7 +214,7 @@ ] }, { - "key": "PlaySequenceRange", + "base": "PlaySequenceRange", "entry": { "name": "In", "tooltip": "When signaled, this will invoke PlaySequenceRange" @@ -248,7 +248,7 @@ ] }, { - "key": "PauseSequence", + "base": "PauseSequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Pause Sequence" @@ -272,7 +272,7 @@ ] }, { - "key": "ResumeSequence", + "base": "ResumeSequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Resume Sequence" @@ -296,7 +296,7 @@ ] }, { - "key": "StartSequence", + "base": "StartSequence", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Start Sequence" @@ -320,7 +320,7 @@ ] }, { - "key": "SetSequencePlayingSpeed", + "base": "SetSequencePlayingSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sequence Playing Speed" @@ -351,7 +351,7 @@ ] }, { - "key": "SetSequenceStopBehavior", + "base": "SetSequenceStopBehavior", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sequence Stop Behavior" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiButtonBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiButtonBus.names index 93c278b55f..b3228e764f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiButtonBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiButtonBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiButtonBus", + "base": "UiButtonBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetOnClickActionName", + "base": "GetOnClickActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get On Click Action Name" @@ -33,7 +33,7 @@ ] }, { - "key": "SetOnClickActionName", + "base": "SetOnClickActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set On Click Action Name" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasAssetRefBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasAssetRefBus.names index 7e1cc1941a..74538a9aed 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasAssetRefBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasAssetRefBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCanvasAssetRefBus", + "base": "UiCanvasAssetRefBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "LoadCanvas", + "base": "LoadCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Load Canvas" @@ -34,7 +34,7 @@ ] }, { - "key": "UnloadCanvas", + "base": "UnloadCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Unload Canvas" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasBus.names index 5a039e9720..9403cf7cfb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCanvasBus", + "base": "UiCanvasBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "ForceHoverInteractable", + "base": "ForceHoverInteractable", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Force Hover Interactable" @@ -34,7 +34,7 @@ ] }, { - "key": "GetNavigationRepeatPeriod", + "base": "GetNavigationRepeatPeriod", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNavigationRepeatPeriod" @@ -56,7 +56,7 @@ ] }, { - "key": "GetNavigationRepeatDelay", + "base": "GetNavigationRepeatDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNavigationRepeatDelay" @@ -78,7 +78,7 @@ ] }, { - "key": "GetHoverInteractable", + "base": "GetHoverInteractable", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Hover Interactable" @@ -102,7 +102,7 @@ ] }, { - "key": "SetNavigationThreshold", + "base": "SetNavigationThreshold", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetNavigationThreshold" @@ -124,7 +124,7 @@ ] }, { - "key": "SetIsConsumingAllInputEvents", + "base": "SetIsConsumingAllInputEvents", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Consuming All Input Events" @@ -148,7 +148,7 @@ ] }, { - "key": "SetDrawOrder", + "base": "SetDrawOrder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Draw Order" @@ -172,7 +172,7 @@ ] }, { - "key": "GetIsPositionalInputSupported", + "base": "GetIsPositionalInputSupported", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Positional Input Supported" @@ -195,7 +195,7 @@ ] }, { - "key": "RecomputeChangedLayouts", + "base": "RecomputeChangedLayouts", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Recompute Changed Layouts" @@ -210,7 +210,7 @@ } }, { - "key": "SetRenderTargetName", + "base": "SetRenderTargetName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Render Target Name" @@ -234,7 +234,7 @@ ] }, { - "key": "GetTooltipDisplayElement", + "base": "GetTooltipDisplayElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Tooltip Display Element" @@ -258,7 +258,7 @@ ] }, { - "key": "GetIsNavigationSupported", + "base": "GetIsNavigationSupported", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Navigation Supported" @@ -281,7 +281,7 @@ ] }, { - "key": "SetNavigationRepeatPeriod", + "base": "SetNavigationRepeatPeriod", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetNavigationRepeatPeriod" @@ -303,7 +303,7 @@ ] }, { - "key": "GetRenderTargetName", + "base": "GetRenderTargetName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Render Target Name" @@ -326,7 +326,7 @@ ] }, { - "key": "FindElementByName", + "base": "FindElementByName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Find Element By Name" @@ -359,7 +359,7 @@ ] }, { - "key": "SetTooltipDisplayElement", + "base": "SetTooltipDisplayElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Tooltip Display Element" @@ -383,7 +383,7 @@ ] }, { - "key": "GetChildElement", + "base": "GetChildElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Child Element" @@ -416,7 +416,7 @@ ] }, { - "key": "GetKeepLoadedOnLevelUnload", + "base": "GetKeepLoadedOnLevelUnload", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Keep Loaded On Level Unload" @@ -439,7 +439,7 @@ ] }, { - "key": "GetIsTextPixelAligned", + "base": "GetIsTextPixelAligned", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Text Pixel Aligned" @@ -462,7 +462,7 @@ ] }, { - "key": "GetIsConsumingAllInputEvents", + "base": "GetIsConsumingAllInputEvents", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Consuming All Input Events" @@ -485,7 +485,7 @@ ] }, { - "key": "GetNavigationThreshold", + "base": "GetNavigationThreshold", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetNavigationThreshold" @@ -507,7 +507,7 @@ ] }, { - "key": "SetKeepLoadedOnLevelUnload", + "base": "SetKeepLoadedOnLevelUnload", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Keep Loaded On Level Unload" @@ -531,7 +531,7 @@ ] }, { - "key": "SetIsMultiTouchSupported", + "base": "SetIsMultiTouchSupported", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Multi-touch Supported" @@ -555,7 +555,7 @@ ] }, { - "key": "SetIsRenderToTexture", + "base": "SetIsRenderToTexture", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Render To Texture" @@ -579,7 +579,7 @@ ] }, { - "key": "GetChildElements", + "base": "GetChildElements", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Child Elements" @@ -602,7 +602,7 @@ ] }, { - "key": "GetNumChildElements", + "base": "GetNumChildElements", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Number Of Child Elements" @@ -625,7 +625,7 @@ ] }, { - "key": "GetIsPixelAligned", + "base": "GetIsPixelAligned", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Pixel Aligned" @@ -648,7 +648,7 @@ ] }, { - "key": "GetEnabled", + "base": "GetEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Enabled" @@ -671,7 +671,7 @@ ] }, { - "key": "SetIsNavigationSupported", + "base": "SetIsNavigationSupported", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Navigation Supported" @@ -695,7 +695,7 @@ ] }, { - "key": "GetDrawOrder", + "base": "GetDrawOrder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Draw Order" @@ -718,7 +718,7 @@ ] }, { - "key": "ForceEnterInputEventOnInteractable", + "base": "ForceEnterInputEventOnInteractable", "entry": { "name": "In", "tooltip": "When signaled, this will invoke ForceEnterInputEventOnInteractable" @@ -741,7 +741,7 @@ ] }, { - "key": "GetIsMultiTouchSupported", + "base": "GetIsMultiTouchSupported", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Multi-touch Supported" @@ -764,7 +764,7 @@ ] }, { - "key": "SetIsPixelAligned", + "base": "SetIsPixelAligned", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Pixel Aligned" @@ -788,7 +788,7 @@ ] }, { - "key": "SetIsPositionalInputSupported", + "base": "SetIsPositionalInputSupported", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Positional Input Supported" @@ -812,7 +812,7 @@ ] }, { - "key": "CloneElement", + "base": "CloneElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Clone Element" @@ -859,7 +859,7 @@ ] }, { - "key": "SetNavigationRepeatDelay", + "base": "SetNavigationRepeatDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetNavigationRepeatDelay" @@ -881,7 +881,7 @@ ] }, { - "key": "GetIsRenderToTexture", + "base": "GetIsRenderToTexture", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Render To Texture" @@ -904,7 +904,7 @@ ] }, { - "key": "SetEnabled", + "base": "SetEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Enabled" @@ -928,7 +928,7 @@ ] }, { - "key": "SetIsTextPixelAligned", + "base": "SetIsTextPixelAligned", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Text Pixel Aligned" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasManagerBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasManagerBus.names index fe30e0079a..2776264467 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasManagerBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasManagerBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCanvasManagerBus", + "base": "UiCanvasManagerBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "CreateCanvas", + "base": "CreateCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Create Canvas" @@ -34,7 +34,7 @@ ] }, { - "key": "LoadCanvas", + "base": "LoadCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Load Canvas" @@ -67,7 +67,7 @@ ] }, { - "key": "UnloadCanvas", + "base": "UnloadCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Unload Canvas" @@ -91,7 +91,7 @@ ] }, { - "key": "FindLoadedCanvasByPathName", + "base": "FindLoadedCanvasByPathName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Find Loaded Canvas By Pathname" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasProxyRefBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasProxyRefBus.names index 170be3be23..bcd50ded75 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasProxyRefBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasProxyRefBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCanvasProxyRefBus", + "base": "UiCanvasProxyRefBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetCanvasRefEntity", + "base": "SetCanvasRefEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Canvas Ref Entity" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasRefBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasRefBus.names index c1c98b7f64..9d2758982d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasRefBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCanvasRefBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCanvasRefBus", + "base": "UiCanvasRefBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetCanvas", + "base": "GetCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Canvas" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCheckboxBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCheckboxBus.names index ce0125bae0..4a41b40fa6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCheckboxBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCheckboxBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCheckboxBus", + "base": "UiCheckboxBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetChangedActionName", + "base": "SetChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Changed Action Name" @@ -34,7 +34,7 @@ ] }, { - "key": "GetChangedActionName", + "base": "GetChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Changed Action Name" @@ -57,7 +57,7 @@ ] }, { - "key": "SetCheckedEntity", + "base": "SetCheckedEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Checked Entity" @@ -81,7 +81,7 @@ ] }, { - "key": "SetUncheckedEntity", + "base": "SetUncheckedEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Unchecked Entity" @@ -105,7 +105,7 @@ ] }, { - "key": "SetTurnOnActionName", + "base": "SetTurnOnActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Turn On Action Name" @@ -129,7 +129,7 @@ ] }, { - "key": "GetTurnOffActionName", + "base": "GetTurnOffActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Turn Off Action Name" @@ -152,7 +152,7 @@ ] }, { - "key": "SetState", + "base": "SetState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set State" @@ -176,7 +176,7 @@ ] }, { - "key": "ToggleState", + "base": "ToggleState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Toggle State" @@ -199,7 +199,7 @@ ] }, { - "key": "GetState", + "base": "GetState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get State" @@ -222,7 +222,7 @@ ] }, { - "key": "GetCheckedEntity", + "base": "GetCheckedEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Checked Entity" @@ -246,7 +246,7 @@ ] }, { - "key": "GetUncheckedEntity", + "base": "GetUncheckedEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Unchecked Entity" @@ -270,7 +270,7 @@ ] }, { - "key": "GetTurnOnActionName", + "base": "GetTurnOnActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Turn On Action Name" @@ -293,7 +293,7 @@ ] }, { - "key": "SetTurnOffActionName", + "base": "SetTurnOffActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Turn Off Action Name" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiClickableTextBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiClickableTextBus.names index 6400213daa..a822472301 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiClickableTextBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiClickableTextBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiClickableTextBus", + "base": "UiClickableTextBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetClickableTextColor", + "base": "SetClickableTextColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Clickable Text Color" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCursorBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCursorBus.names index 936ff3475e..488021ff3b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCursorBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCursorBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCursorBus", + "base": "UiCursorBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetUiCursorPosition", + "base": "GetUiCursorPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Position" @@ -33,7 +33,7 @@ ] }, { - "key": "IsUiCursorVisible", + "base": "IsUiCursorVisible", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Visible" @@ -56,7 +56,7 @@ ] }, { - "key": "DecrementVisibleCounter", + "base": "DecrementVisibleCounter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Decrement Visible Counter" @@ -71,7 +71,7 @@ } }, { - "key": "IncrementVisibleCounter", + "base": "IncrementVisibleCounter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Increment Visible Counter" @@ -86,7 +86,7 @@ } }, { - "key": "SetUiCursor", + "base": "SetUiCursor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Cursor" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCustomImageBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCustomImageBus.names index c92295875e..1662986211 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCustomImageBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiCustomImageBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiCustomImageBus", + "base": "UiCustomImageBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetClamp", + "base": "GetClamp", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Clamp" @@ -33,7 +33,7 @@ ] }, { - "key": "SetUVs", + "base": "SetUVs", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set UVs" @@ -57,7 +57,7 @@ ] }, { - "key": "SetClamp", + "base": "SetClamp", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Clamp" @@ -81,7 +81,7 @@ ] }, { - "key": "SetSpritePathname", + "base": "SetSpritePathname", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sprite Pathname" @@ -105,7 +105,7 @@ ] }, { - "key": "GetSpritePathname", + "base": "GetSpritePathname", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sprite Pathname" @@ -128,7 +128,7 @@ ] }, { - "key": "GetUVs", + "base": "GetUVs", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get UVs" @@ -151,7 +151,7 @@ ] }, { - "key": "SetColor", + "base": "SetColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Color" @@ -175,7 +175,7 @@ ] }, { - "key": "GetColor", + "base": "GetColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Color" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDraggableBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDraggableBus.names index 15b47dfce5..7a47d5fd04 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDraggableBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDraggableBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDraggableBus", + "base": "UiDraggableBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "ProxyDragEnd", + "base": "ProxyDragEnd", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Proxy Drag End" @@ -34,7 +34,7 @@ ] }, { - "key": "RedoDrag", + "base": "RedoDrag", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Redo Drag" @@ -58,7 +58,7 @@ ] }, { - "key": "SetAsProxy", + "base": "SetAsProxy", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set As Proxy" @@ -89,7 +89,7 @@ ] }, { - "key": "IsProxy", + "base": "IsProxy", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Proxy" @@ -112,7 +112,7 @@ ] }, { - "key": "SetDragState", + "base": "SetDragState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Drag State" @@ -136,7 +136,7 @@ ] }, { - "key": "GetCanDropOnAnyCanvas", + "base": "GetCanDropOnAnyCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Can Drop On Any Canvas" @@ -159,7 +159,7 @@ ] }, { - "key": "SetCanDropOnAnyCanvas", + "base": "SetCanDropOnAnyCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Can Drop On Any Canvas" @@ -183,7 +183,7 @@ ] }, { - "key": "GetDragState", + "base": "GetDragState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Drag State" @@ -206,7 +206,7 @@ ] }, { - "key": "GetOriginalFromProxy", + "base": "GetOriginalFromProxy", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Original From Proxy" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropTargetBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropTargetBus.names index 58e4ab05b5..a6c382dd26 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropTargetBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropTargetBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDropTargetBus", + "base": "UiDropTargetBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetOnDropActionName", + "base": "GetOnDropActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get On Drop Action Name" @@ -33,7 +33,7 @@ ] }, { - "key": "SetOnDropActionName", + "base": "SetOnDropActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set On Drop Action Name" @@ -57,7 +57,7 @@ ] }, { - "key": "GetDropState", + "base": "GetDropState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Drop State" @@ -80,7 +80,7 @@ ] }, { - "key": "SetDropState", + "base": "SetDropState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Drop State" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropdownBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropdownBus.names index f390bdb7f4..88bb28acc3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropdownBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropdownBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDropdownBus", + "base": "UiDropdownBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetOptionSelectedActionName", + "base": "GetOptionSelectedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Option Selected Action Name" @@ -33,7 +33,7 @@ ] }, { - "key": "GetWaitTime", + "base": "GetWaitTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Wait Time" @@ -56,7 +56,7 @@ ] }, { - "key": "SetCollapseOnOutsideClick", + "base": "SetCollapseOnOutsideClick", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Collapse On Outside Click" @@ -80,7 +80,7 @@ ] }, { - "key": "SetExpandOnHover", + "base": "SetExpandOnHover", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Expand On Hover" @@ -104,7 +104,7 @@ ] }, { - "key": "Expand", + "base": "Expand", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Expand" @@ -119,7 +119,7 @@ } }, { - "key": "Collapse", + "base": "Collapse", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Collapse" @@ -134,7 +134,7 @@ } }, { - "key": "SetCollapsedActionName", + "base": "SetCollapsedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Collapsed Action Name" @@ -158,7 +158,7 @@ ] }, { - "key": "GetExpandOnHover", + "base": "GetExpandOnHover", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Expand On Hover" @@ -181,7 +181,7 @@ ] }, { - "key": "SetWaitTime", + "base": "SetWaitTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Wait Time" @@ -205,7 +205,7 @@ ] }, { - "key": "GetCollapseOnOutsideClick", + "base": "GetCollapseOnOutsideClick", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Collapse On Outside Click" @@ -228,7 +228,7 @@ ] }, { - "key": "GetExpandedParentId", + "base": "GetExpandedParentId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Expanded Parent" @@ -252,7 +252,7 @@ ] }, { - "key": "GetTextElement", + "base": "GetTextElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text Element" @@ -276,7 +276,7 @@ ] }, { - "key": "GetIconElement", + "base": "GetIconElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Icon Element" @@ -300,7 +300,7 @@ ] }, { - "key": "SetIconElement", + "base": "SetIconElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Icon Element" @@ -324,7 +324,7 @@ ] }, { - "key": "SetExpandedActionName", + "base": "SetExpandedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Expanded Action Name" @@ -348,7 +348,7 @@ ] }, { - "key": "SetContent", + "base": "SetContent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Content" @@ -372,7 +372,7 @@ ] }, { - "key": "SetTextElement", + "base": "SetTextElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Text Element" @@ -396,7 +396,7 @@ ] }, { - "key": "SetValue", + "base": "SetValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Value" @@ -420,7 +420,7 @@ ] }, { - "key": "GetContent", + "base": "GetContent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Content" @@ -444,7 +444,7 @@ ] }, { - "key": "GetExpandedActionName", + "base": "GetExpandedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Expanded Action Name" @@ -467,7 +467,7 @@ ] }, { - "key": "GetCollapsedActionName", + "base": "GetCollapsedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Collapsed Action Name" @@ -490,7 +490,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Value" @@ -514,7 +514,7 @@ ] }, { - "key": "SetExpandedParentId", + "base": "SetExpandedParentId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Expanded Parent" @@ -538,7 +538,7 @@ ] }, { - "key": "SetOptionSelectedActionName", + "base": "SetOptionSelectedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Option Selected Action Name" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropdownOptionBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropdownOptionBus.names index 9ba0e74993..3535c5ccd5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropdownOptionBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDropdownOptionBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDropdownOptionBus", + "base": "UiDropdownOptionBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetTextElement", + "base": "GetTextElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text Element" @@ -34,7 +34,7 @@ ] }, { - "key": "GetIconElement", + "base": "GetIconElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Icon Element" @@ -58,7 +58,7 @@ ] }, { - "key": "SetIconElement", + "base": "SetIconElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Icon Element" @@ -82,7 +82,7 @@ ] }, { - "key": "SetOwningDropdown", + "base": "SetOwningDropdown", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Owning Dropdown" @@ -106,7 +106,7 @@ ] }, { - "key": "SetTextElement", + "base": "SetTextElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Text Element" @@ -130,7 +130,7 @@ ] }, { - "key": "GetOwningDropdown", + "base": "GetOwningDropdown", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Owning Dropdown" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicContentDatabaseBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicContentDatabaseBus.names index f51a09ebb1..09642e35f2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicContentDatabaseBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicContentDatabaseBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDynamicContentDatabaseBus", + "base": "UiDynamicContentDatabaseBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "Refresh", + "base": "Refresh", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Refresh" @@ -41,7 +41,7 @@ ] }, { - "key": "GetColorPrice", + "base": "GetColorPrice", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Color Price" @@ -81,7 +81,7 @@ ] }, { - "key": "GetColorName", + "base": "GetColorName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Color Name" @@ -121,7 +121,7 @@ ] }, { - "key": "GetColor", + "base": "GetColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Color" @@ -161,7 +161,7 @@ ] }, { - "key": "GetNumColors", + "base": "GetNumColors", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Number Of Colors" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicLayoutBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicLayoutBus.names index edfc147085..1f3cc89f60 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicLayoutBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicLayoutBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDynamicLayoutBus", + "base": "UiDynamicLayoutBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetNumChildElements", + "base": "SetNumChildElements", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Number Of Child Elements" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicScrollBoxBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicScrollBoxBus.names index f386c97dde..9f8b4acd23 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicScrollBoxBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiDynamicScrollBoxBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiDynamicScrollBoxBus", + "base": "UiDynamicScrollBoxBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetSectionsEnabled", + "base": "SetSectionsEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sections Enabled" @@ -34,7 +34,7 @@ ] }, { - "key": "GetEstimatedVariableElementSize", + "base": "GetEstimatedVariableElementSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Estimated Variable Element Size" @@ -57,7 +57,7 @@ ] }, { - "key": "SetAutoCalculateVariableElementSize", + "base": "SetAutoCalculateVariableElementSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Auto-calculate Variable Element Size" @@ -81,7 +81,7 @@ ] }, { - "key": "GetEstimatedVariableHeaderSize", + "base": "GetEstimatedVariableHeaderSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Estimated Variable Header Size" @@ -104,7 +104,7 @@ ] }, { - "key": "SetEstimatedVariableHeaderSize", + "base": "SetEstimatedVariableHeaderSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Estimated Variable Header Size" @@ -128,7 +128,7 @@ ] }, { - "key": "SetPrototypeElement", + "base": "SetPrototypeElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Prototype Element" @@ -152,7 +152,7 @@ ] }, { - "key": "SetElementsVaryInSize", + "base": "SetElementsVaryInSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Elements Vary In Size" @@ -176,7 +176,7 @@ ] }, { - "key": "RemoveElementsFromFront", + "base": "RemoveElementsFromFront", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Remove Elements From Front" @@ -200,7 +200,7 @@ ] }, { - "key": "GetElementIndexOfChild", + "base": "GetElementIndexOfChild", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Element Index Of Child" @@ -233,7 +233,7 @@ ] }, { - "key": "GetElementsVaryInSize", + "base": "GetElementsVaryInSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Elements Vary In Size" @@ -256,7 +256,7 @@ ] }, { - "key": "GetHeadersSticky", + "base": "GetHeadersSticky", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Headers Sticky" @@ -279,7 +279,7 @@ ] }, { - "key": "GetAutoRefreshOnPostActivate", + "base": "GetAutoRefreshOnPostActivate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Auto-refresh On Post-activate" @@ -302,7 +302,7 @@ ] }, { - "key": "SetEstimatedVariableElementSize", + "base": "SetEstimatedVariableElementSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Estimated Variable Element Size" @@ -326,7 +326,7 @@ ] }, { - "key": "SetPrototypeHeader", + "base": "SetPrototypeHeader", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Prototype Header" @@ -350,7 +350,7 @@ ] }, { - "key": "GetSectionsEnabled", + "base": "GetSectionsEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sections Enabled" @@ -373,7 +373,7 @@ ] }, { - "key": "ScrollToEnd", + "base": "ScrollToEnd", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Scroll To End" @@ -388,7 +388,7 @@ } }, { - "key": "GetPrototypeElement", + "base": "GetPrototypeElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Prototype Element" @@ -412,7 +412,7 @@ ] }, { - "key": "SetHeadersVaryInSize", + "base": "SetHeadersVaryInSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Headers Vary In Size" @@ -436,7 +436,7 @@ ] }, { - "key": "AddElementsToEnd", + "base": "AddElementsToEnd", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Add Elements To End" @@ -467,7 +467,7 @@ ] }, { - "key": "GetChildAtElementIndex", + "base": "GetChildAtElementIndex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Child At Element Index" @@ -500,7 +500,7 @@ ] }, { - "key": "SetHeadersSticky", + "base": "SetHeadersSticky", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Headers Sticky" @@ -524,7 +524,7 @@ ] }, { - "key": "GetChildAtSectionAndElementIndex", + "base": "GetChildAtSectionAndElementIndex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Child At Section And Element Index" @@ -564,7 +564,7 @@ ] }, { - "key": "SetAutoRefreshOnPostActivate", + "base": "SetAutoRefreshOnPostActivate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Auto-refresh On Post-activate" @@ -588,7 +588,7 @@ ] }, { - "key": "GetSectionIndexOfChild", + "base": "GetSectionIndexOfChild", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Section Index Of Child" @@ -621,7 +621,7 @@ ] }, { - "key": "RefreshContent", + "base": "RefreshContent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Refresh Content" @@ -636,7 +636,7 @@ } }, { - "key": "GetHeadersVaryInSize", + "base": "GetHeadersVaryInSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Headers Vary In Size" @@ -659,7 +659,7 @@ ] }, { - "key": "GetPrototypeHeader", + "base": "GetPrototypeHeader", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Prototype Header" @@ -683,7 +683,7 @@ ] }, { - "key": "SetAutoCalculateVariableHeaderSize", + "base": "SetAutoCalculateVariableHeaderSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Auto-calculate Variable Header Size" @@ -707,7 +707,7 @@ ] }, { - "key": "GetAutoCalculateVariableElementSize", + "base": "GetAutoCalculateVariableElementSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Auto-calculate Variable Element Size" @@ -730,7 +730,7 @@ ] }, { - "key": "GetAutoCalculateVariableHeaderSize", + "base": "GetAutoCalculateVariableHeaderSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Auto-calculate Variable Header Size" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiElementBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiElementBus.names index 61645c6432..e55be9b55d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiElementBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiElementBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiElementBus", + "base": "UiElementBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "FindChildByName", + "base": "FindChildByName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Find Child By Name" @@ -43,7 +43,7 @@ ] }, { - "key": "GetChild", + "base": "GetChild", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Child" @@ -76,7 +76,7 @@ ] }, { - "key": "GetNumChildElements", + "base": "GetNumChildElements", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Number Of Child Elements" @@ -99,7 +99,7 @@ ] }, { - "key": "GetChildren", + "base": "GetChildren", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Children" @@ -122,7 +122,7 @@ ] }, { - "key": "DestroyElement", + "base": "DestroyElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Destroy Element" @@ -137,7 +137,7 @@ } }, { - "key": "IsAncestor", + "base": "IsAncestor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Ancestor" @@ -170,7 +170,7 @@ ] }, { - "key": "GetParent", + "base": "GetParent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Parent" @@ -194,7 +194,7 @@ ] }, { - "key": "FindDescendantByName", + "base": "FindDescendantByName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Find Descendant By Name" @@ -227,7 +227,7 @@ ] }, { - "key": "IsEnabled", + "base": "IsEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Enabled" @@ -250,7 +250,7 @@ ] }, { - "key": "GetCanvas", + "base": "GetCanvas", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Canvas" @@ -274,7 +274,7 @@ ] }, { - "key": "Reparent", + "base": "Reparent", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Reparent" @@ -305,7 +305,7 @@ ] }, { - "key": "GetName", + "base": "GetName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Name" @@ -328,7 +328,7 @@ ] }, { - "key": "GetIndexOfChildByEntityId", + "base": "GetIndexOfChildByEntityId", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Index Of Child By EntityID" @@ -361,7 +361,7 @@ ] }, { - "key": "SetIsEnabled", + "base": "SetIsEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Enabled" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiFaderBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiFaderBus.names index 32e99d34f7..7a00e412d7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiFaderBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiFaderBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiFaderBus", + "base": "UiFaderBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetUseRenderToTexture", + "base": "GetUseRenderToTexture", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Use Render To Texture" @@ -33,7 +33,7 @@ ] }, { - "key": "IsFading", + "base": "IsFading", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Fading" @@ -56,7 +56,7 @@ ] }, { - "key": "Fade", + "base": "Fade", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Fade" @@ -87,7 +87,7 @@ ] }, { - "key": "SetFadeValue", + "base": "SetFadeValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Fade Value" @@ -111,7 +111,7 @@ ] }, { - "key": "GetFadeValue", + "base": "GetFadeValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Fade Value" @@ -134,7 +134,7 @@ ] }, { - "key": "SetUseRenderToTexture", + "base": "SetUseRenderToTexture", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Use Render To Texture" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiFlipbookAnimationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiFlipbookAnimationBus.names index 341fd798d4..16feca1593 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiFlipbookAnimationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiFlipbookAnimationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiFlipbookAnimationBus", + "base": "UiFlipbookAnimationBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetLoopType", + "base": "GetLoopType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Loop Type" @@ -33,7 +33,7 @@ ] }, { - "key": "GetReverseDelay", + "base": "GetReverseDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Reverse Delay" @@ -56,7 +56,7 @@ ] }, { - "key": "SetIsAutoPlay", + "base": "SetIsAutoPlay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Auto Play Enabled" @@ -80,7 +80,7 @@ ] }, { - "key": "SetCurrentFrame", + "base": "SetCurrentFrame", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Current Frame" @@ -104,7 +104,7 @@ ] }, { - "key": "GetLoopStartFrame", + "base": "GetLoopStartFrame", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Loop Start Frame" @@ -127,7 +127,7 @@ ] }, { - "key": "SetLoopType", + "base": "SetLoopType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Loop Type" @@ -151,7 +151,7 @@ ] }, { - "key": "GetStartDelay", + "base": "GetStartDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Start Delay" @@ -174,7 +174,7 @@ ] }, { - "key": "SetStartDelay", + "base": "SetStartDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Start Delay" @@ -198,7 +198,7 @@ ] }, { - "key": "GetCurrentFrame", + "base": "GetCurrentFrame", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Current Frame" @@ -221,7 +221,7 @@ ] }, { - "key": "GetFramerate", + "base": "GetFramerate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Framerate" @@ -244,7 +244,7 @@ ] }, { - "key": "SetLoopDelay", + "base": "SetLoopDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Loop Delay" @@ -268,7 +268,7 @@ ] }, { - "key": "GetStartFrame", + "base": "GetStartFrame", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Start Frame" @@ -291,7 +291,7 @@ ] }, { - "key": "SetFramerateUnit", + "base": "SetFramerateUnit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Framerate Unit" @@ -315,7 +315,7 @@ ] }, { - "key": "IsPlaying", + "base": "IsPlaying", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Playing" @@ -338,7 +338,7 @@ ] }, { - "key": "SetEndFrame", + "base": "SetEndFrame", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set End Frame" @@ -362,7 +362,7 @@ ] }, { - "key": "SetLoopStartFrame", + "base": "SetLoopStartFrame", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Loop Start Frame" @@ -386,7 +386,7 @@ ] }, { - "key": "SetReverseDelay", + "base": "SetReverseDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Reverse Delay" @@ -410,7 +410,7 @@ ] }, { - "key": "Stop", + "base": "Stop", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Stop" @@ -425,7 +425,7 @@ } }, { - "key": "SetFramerate", + "base": "SetFramerate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Framerate" @@ -449,7 +449,7 @@ ] }, { - "key": "GetIsAutoPlay", + "base": "GetIsAutoPlay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Auto Play Enabled" @@ -472,7 +472,7 @@ ] }, { - "key": "Start", + "base": "Start", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Start" @@ -487,7 +487,7 @@ } }, { - "key": "SetStartFrame", + "base": "SetStartFrame", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Start Frame" @@ -511,7 +511,7 @@ ] }, { - "key": "GetEndFrame", + "base": "GetEndFrame", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get End Frame" @@ -534,7 +534,7 @@ ] }, { - "key": "GetFramerateUnit", + "base": "GetFramerateUnit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Framerate Unit" @@ -557,7 +557,7 @@ ] }, { - "key": "GetLoopDelay", + "base": "GetLoopDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Loop Delay" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiImageBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiImageBus.names index ed79b2aaad..cef46a7fea 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiImageBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiImageBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiImageBus", + "base": "UiImageBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetColor", + "base": "GetColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Color" @@ -33,7 +33,7 @@ ] }, { - "key": "SetColor", + "base": "SetColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Color" @@ -57,7 +57,7 @@ ] }, { - "key": "SetSpriteType", + "base": "SetSpriteType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sprite Type" @@ -81,7 +81,7 @@ ] }, { - "key": "GetFillClockwise", + "base": "GetFillClockwise", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Fill Clockwise" @@ -104,7 +104,7 @@ ] }, { - "key": "SetRenderTargetName", + "base": "SetRenderTargetName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Render Target Name" @@ -128,7 +128,7 @@ ] }, { - "key": "SetSpritePathnameIfExists", + "base": "SetSpritePathnameIfExists", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sprite Pathname If Exists" @@ -161,7 +161,7 @@ ] }, { - "key": "SetEdgeFillOrigin", + "base": "SetEdgeFillOrigin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Edge Fill Origin" @@ -185,7 +185,7 @@ ] }, { - "key": "GetEdgeFillOrigin", + "base": "GetEdgeFillOrigin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Edge Fill Origin" @@ -208,7 +208,7 @@ ] }, { - "key": "SetFillClockwise", + "base": "SetFillClockwise", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Fill Clockwise" @@ -232,7 +232,7 @@ ] }, { - "key": "SetSpritePathname", + "base": "SetSpritePathname", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sprite Pathname" @@ -256,7 +256,7 @@ ] }, { - "key": "SetFillCenter", + "base": "SetFillCenter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Fill Center" @@ -280,7 +280,7 @@ ] }, { - "key": "SetAlpha", + "base": "SetAlpha", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Alpha" @@ -304,7 +304,7 @@ ] }, { - "key": "SetFillType", + "base": "SetFillType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Fill Type" @@ -328,7 +328,7 @@ ] }, { - "key": "SetFillAmount", + "base": "SetFillAmount", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Fill Amount" @@ -352,7 +352,7 @@ ] }, { - "key": "GetRadialFillStartAngle", + "base": "GetRadialFillStartAngle", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Radial Fill Start Angle" @@ -375,7 +375,7 @@ ] }, { - "key": "GetRenderTargetName", + "base": "GetRenderTargetName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Render Target Name" @@ -398,7 +398,7 @@ ] }, { - "key": "SetIsRenderTargetSRGB", + "base": "SetIsRenderTargetSRGB", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Render Target sRGB" @@ -422,7 +422,7 @@ ] }, { - "key": "GetAlpha", + "base": "GetAlpha", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Alpha" @@ -445,7 +445,7 @@ ] }, { - "key": "GetIsRenderTargetSRGB", + "base": "GetIsRenderTargetSRGB", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Is Render Target sRGB" @@ -468,7 +468,7 @@ ] }, { - "key": "SetImageType", + "base": "SetImageType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Image Type" @@ -492,7 +492,7 @@ ] }, { - "key": "GetSpritePathname", + "base": "GetSpritePathname", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sprite Pathname" @@ -515,7 +515,7 @@ ] }, { - "key": "GetFillType", + "base": "GetFillType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Fill Type" @@ -538,7 +538,7 @@ ] }, { - "key": "SetCornerFillOrigin", + "base": "SetCornerFillOrigin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Corner Fill Origin" @@ -562,7 +562,7 @@ ] }, { - "key": "GetCornerFillOrigin", + "base": "GetCornerFillOrigin", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Corner Fill Origin" @@ -585,7 +585,7 @@ ] }, { - "key": "GetImageType", + "base": "GetImageType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Image Type" @@ -608,7 +608,7 @@ ] }, { - "key": "SetRadialFillStartAngle", + "base": "SetRadialFillStartAngle", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Radial Fill Start Angle" @@ -632,7 +632,7 @@ ] }, { - "key": "GetSpriteType", + "base": "GetSpriteType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sprite Type" @@ -655,7 +655,7 @@ ] }, { - "key": "GetFillAmount", + "base": "GetFillAmount", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Fill Amount" @@ -678,7 +678,7 @@ ] }, { - "key": "GetFillCenter", + "base": "GetFillCenter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Fill Center" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiImageSequenceBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiImageSequenceBus.names index 90f0a59580..8b8f44c08a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiImageSequenceBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiImageSequenceBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiImageSequenceBus", + "base": "UiImageSequenceBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetImageType", + "base": "GetImageType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Image Type" @@ -33,7 +33,7 @@ ] }, { - "key": "SetImageType", + "base": "SetImageType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Image Type" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiIndexableImageBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiIndexableImageBus.names index 40f92ace00..82b63fa0ec 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiIndexableImageBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiIndexableImageBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiIndexableImageBus", + "base": "UiIndexableImageBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetImageIndexAlias", + "base": "GetImageIndexAlias", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Image Index Alias" @@ -43,7 +43,7 @@ ] }, { - "key": "GetImageIndexCount", + "base": "GetImageIndexCount", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Image Index Count" @@ -66,7 +66,7 @@ ] }, { - "key": "SetImageIndex", + "base": "SetImageIndex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Image Index" @@ -90,7 +90,7 @@ ] }, { - "key": "SetImageIndexAlias", + "base": "SetImageIndexAlias", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Image Index Alias" @@ -121,7 +121,7 @@ ] }, { - "key": "GetImageIndexFromAlias", + "base": "GetImageIndexFromAlias", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Image Index From Alias" @@ -154,7 +154,7 @@ ] }, { - "key": "GetImageIndex", + "base": "GetImageIndex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Image Index" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableActionsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableActionsBus.names index b124f9ccd5..715cc06063 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableActionsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableActionsBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiInteractableActionsBus", + "base": "UiInteractableActionsBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetPressedActionName", + "base": "SetPressedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Pressed Action Name" @@ -34,7 +34,7 @@ ] }, { - "key": "GetPressedActionName", + "base": "GetPressedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Pressed Action Name" @@ -57,7 +57,7 @@ ] }, { - "key": "GetHoverEndActionName", + "base": "GetHoverEndActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Hover End Action Name" @@ -80,7 +80,7 @@ ] }, { - "key": "SetHoverStartActionName", + "base": "SetHoverStartActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Hover Start Action Name" @@ -104,7 +104,7 @@ ] }, { - "key": "GetHoverStartActionName", + "base": "GetHoverStartActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Hover Start Action Name" @@ -127,7 +127,7 @@ ] }, { - "key": "SetHoverEndActionName", + "base": "SetHoverEndActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Hover End Action Name" @@ -151,7 +151,7 @@ ] }, { - "key": "GetReleasedActionName", + "base": "GetReleasedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Released Action Name" @@ -174,7 +174,7 @@ ] }, { - "key": "SetReleasedActionName", + "base": "SetReleasedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Released Action Name" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableBus.names index b340e96673..139822292a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiInteractableBus", + "base": "UiInteractableBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetIsAutoActivationEnabled", + "base": "SetIsAutoActivationEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Auto Activation Enabled" @@ -34,7 +34,7 @@ ] }, { - "key": "GetIsAutoActivationEnabled", + "base": "GetIsAutoActivationEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Auto Activation Enabled" @@ -57,7 +57,7 @@ ] }, { - "key": "SetIsHandlingMultiTouchEvents", + "base": "SetIsHandlingMultiTouchEvents", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Handling Multi-touch Events" @@ -81,7 +81,7 @@ ] }, { - "key": "IsHandlingMultiTouchEvents", + "base": "IsHandlingMultiTouchEvents", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Handling Multi-touch Events" @@ -104,7 +104,7 @@ ] }, { - "key": "IsHandlingEvents", + "base": "IsHandlingEvents", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Handling Events" @@ -127,7 +127,7 @@ ] }, { - "key": "SetIsHandlingEvents", + "base": "SetIsHandlingEvents", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Handling Events" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableStatesBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableStatesBus.names index b194ece0de..93f51786c7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableStatesBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiInteractableStatesBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiInteractableStatesBus", + "base": "UiInteractableStatesBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetStateFont", + "base": "SetStateFont", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set State Font" @@ -55,7 +55,7 @@ ] }, { - "key": "SetStateSpritePathname", + "base": "SetStateSpritePathname", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set State Sprite Pathname" @@ -93,7 +93,7 @@ ] }, { - "key": "GetStateFontPathname", + "base": "GetStateFontPathname", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get State Font Pathname" @@ -133,7 +133,7 @@ ] }, { - "key": "HasStateFont", + "base": "HasStateFont", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Has State Font" @@ -173,7 +173,7 @@ ] }, { - "key": "SetStateAlpha", + "base": "SetStateAlpha", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set State Alpha" @@ -211,7 +211,7 @@ ] }, { - "key": "GetStateAlpha", + "base": "GetStateAlpha", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get State Alpha" @@ -251,7 +251,7 @@ ] }, { - "key": "GetStateFontEffectIndex", + "base": "GetStateFontEffectIndex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get State Font Effect Index" @@ -291,7 +291,7 @@ ] }, { - "key": "HasStateColor", + "base": "HasStateColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Has State Color" @@ -331,7 +331,7 @@ ] }, { - "key": "GetStateSpritePathname", + "base": "GetStateSpritePathname", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get State Sprite Pathname" @@ -371,7 +371,7 @@ ] }, { - "key": "HasStateSprite", + "base": "HasStateSprite", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Has State Sprite" @@ -411,7 +411,7 @@ ] }, { - "key": "SetStateColor", + "base": "SetStateColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set State Color" @@ -449,7 +449,7 @@ ] }, { - "key": "HasStateAlpha", + "base": "HasStateAlpha", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Has State Alpha" @@ -489,7 +489,7 @@ ] }, { - "key": "GetStateColor", + "base": "GetStateColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get State Color" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutBus.names index 022dbc0abe..72760e1a72 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiLayoutBus", + "base": "UiLayoutBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetIgnoreDefaultLayoutCells", + "base": "SetIgnoreDefaultLayoutCells", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Ignore Default Layout Cells" @@ -34,7 +34,7 @@ ] }, { - "key": "SetVerticalChildAlignment", + "base": "SetVerticalChildAlignment", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Vertical Child Alignment" @@ -58,7 +58,7 @@ ] }, { - "key": "SetHorizontalChildAlignment", + "base": "SetHorizontalChildAlignment", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Horizontal Child Alignment" @@ -82,7 +82,7 @@ ] }, { - "key": "GetHorizontalChildAlignment", + "base": "GetHorizontalChildAlignment", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Horizontal Child Alignment" @@ -105,7 +105,7 @@ ] }, { - "key": "GetVerticalChildAlignment", + "base": "GetVerticalChildAlignment", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Vertical Child Alignment" @@ -128,7 +128,7 @@ ] }, { - "key": "GetIgnoreDefaultLayoutCells", + "base": "GetIgnoreDefaultLayoutCells", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Ignore Default Layout Cells" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutCellBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutCellBus.names index 8f96afa8ff..8e95d005db 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutCellBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutCellBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiLayoutCellBus", + "base": "UiLayoutCellBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetExtraHeightRatio", + "base": "SetExtraHeightRatio", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Extra Height Ratio" @@ -34,7 +34,7 @@ ] }, { - "key": "GetExtraWidthRatio", + "base": "GetExtraWidthRatio", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Extra Width Ratio" @@ -57,7 +57,7 @@ ] }, { - "key": "SetExtraWidthRatio", + "base": "SetExtraWidthRatio", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Extra Width Ratio" @@ -81,7 +81,7 @@ ] }, { - "key": "SetMaxWidth", + "base": "SetMaxWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetMaxWidth" @@ -103,7 +103,7 @@ ] }, { - "key": "SetMaxHeight", + "base": "SetMaxHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetMaxHeight" @@ -125,7 +125,7 @@ ] }, { - "key": "GetMaxWidth", + "base": "GetMaxWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetMaxWidth" @@ -147,7 +147,7 @@ ] }, { - "key": "GetMaxHeight", + "base": "GetMaxHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetMaxHeight" @@ -169,7 +169,7 @@ ] }, { - "key": "GetExtraHeightRatio", + "base": "GetExtraHeightRatio", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Extra Height Ratio" @@ -192,7 +192,7 @@ ] }, { - "key": "GetTargetHeight", + "base": "GetTargetHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Target Height" @@ -215,7 +215,7 @@ ] }, { - "key": "SetMinWidth", + "base": "SetMinWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Min Width" @@ -239,7 +239,7 @@ ] }, { - "key": "SetMinHeight", + "base": "SetMinHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Min Height" @@ -263,7 +263,7 @@ ] }, { - "key": "GetMinWidth", + "base": "GetMinWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Min Width" @@ -286,7 +286,7 @@ ] }, { - "key": "GetMinHeight", + "base": "GetMinHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Min Height" @@ -309,7 +309,7 @@ ] }, { - "key": "GetTargetWidth", + "base": "GetTargetWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Target Width" @@ -332,7 +332,7 @@ ] }, { - "key": "SetTargetWidth", + "base": "SetTargetWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Target Width" @@ -356,7 +356,7 @@ ] }, { - "key": "SetTargetHeight", + "base": "SetTargetHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Target Height" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutColumnBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutColumnBus.names index a89fe4382b..8cba866475 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutColumnBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutColumnBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiLayoutColumnBus", + "base": "UiLayoutColumnBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetSpacing", + "base": "SetSpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Spacing" @@ -34,7 +34,7 @@ ] }, { - "key": "GetOrder", + "base": "GetOrder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Order" @@ -57,7 +57,7 @@ ] }, { - "key": "SetOrder", + "base": "SetOrder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Order" @@ -81,7 +81,7 @@ ] }, { - "key": "GetSpacing", + "base": "GetSpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Spacing" @@ -104,7 +104,7 @@ ] }, { - "key": "GetPadding", + "base": "GetPadding", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Padding" @@ -127,7 +127,7 @@ ] }, { - "key": "SetPadding", + "base": "SetPadding", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Padding" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutFitterBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutFitterBus.names index 392ac7fbaf..2c2a32bd85 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutFitterBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutFitterBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiLayoutFitterBus", + "base": "UiLayoutFitterBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetHorizontalFit", + "base": "GetHorizontalFit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Horizontal Fit" @@ -33,7 +33,7 @@ ] }, { - "key": "SetHorizontalFit", + "base": "SetHorizontalFit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Horizontal Fit" @@ -57,7 +57,7 @@ ] }, { - "key": "GetVerticalFit", + "base": "GetVerticalFit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Vertical Fit" @@ -80,7 +80,7 @@ ] }, { - "key": "SetVerticalFit", + "base": "SetVerticalFit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Vertical Fit" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutGridBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutGridBus.names index 40430d754f..0ac2f4eba0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutGridBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutGridBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiLayoutGridBus", + "base": "UiLayoutGridBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetStartingDirection", + "base": "GetStartingDirection", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Starting Direction" @@ -33,7 +33,7 @@ ] }, { - "key": "SetHorizontalOrder", + "base": "SetHorizontalOrder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Horizontal Order" @@ -57,7 +57,7 @@ ] }, { - "key": "SetCellSize", + "base": "SetCellSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Cell Size" @@ -81,7 +81,7 @@ ] }, { - "key": "SetSpacing", + "base": "SetSpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Spacing" @@ -105,7 +105,7 @@ ] }, { - "key": "GetSpacing", + "base": "GetSpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Spacing" @@ -128,7 +128,7 @@ ] }, { - "key": "GetCellSize", + "base": "GetCellSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Cell Size" @@ -151,7 +151,7 @@ ] }, { - "key": "GetPadding", + "base": "GetPadding", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Padding" @@ -174,7 +174,7 @@ ] }, { - "key": "SetPadding", + "base": "SetPadding", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Padding" @@ -198,7 +198,7 @@ ] }, { - "key": "GetHorizontalOrder", + "base": "GetHorizontalOrder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Horizontal Order" @@ -221,7 +221,7 @@ ] }, { - "key": "GetVerticalOrder", + "base": "GetVerticalOrder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Vertical Order" @@ -244,7 +244,7 @@ ] }, { - "key": "SetVerticalOrder", + "base": "SetVerticalOrder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Vertical Order" @@ -268,7 +268,7 @@ ] }, { - "key": "SetStartingDirection", + "base": "SetStartingDirection", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Starting Direction" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutRowBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutRowBus.names index c4c714a0cb..ca27e01284 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutRowBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiLayoutRowBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiLayoutRowBus", + "base": "UiLayoutRowBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetSpacing", + "base": "SetSpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Spacing" @@ -34,7 +34,7 @@ ] }, { - "key": "GetOrder", + "base": "GetOrder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Order" @@ -57,7 +57,7 @@ ] }, { - "key": "SetOrder", + "base": "SetOrder", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Order" @@ -81,7 +81,7 @@ ] }, { - "key": "GetSpacing", + "base": "GetSpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Spacing" @@ -104,7 +104,7 @@ ] }, { - "key": "GetPadding", + "base": "GetPadding", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Padding" @@ -127,7 +127,7 @@ ] }, { - "key": "SetPadding", + "base": "SetPadding", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Padding" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiMarkupButtonBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiMarkupButtonBus.names index ac687d97bf..0e5de7b07c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiMarkupButtonBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiMarkupButtonBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiMarkupButtonBus", + "base": "UiMarkupButtonBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetLinkColor", + "base": "GetLinkColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Link Color" @@ -33,7 +33,7 @@ ] }, { - "key": "SetLinkColor", + "base": "SetLinkColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Link Color" @@ -57,7 +57,7 @@ ] }, { - "key": "GetLinkHoverColor", + "base": "GetLinkHoverColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Link Hover Color" @@ -80,7 +80,7 @@ ] }, { - "key": "SetLinkHoverColor", + "base": "SetLinkHoverColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Link Hover Color" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiMaskBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiMaskBus.names index 366f157871..178235f2a1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiMaskBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiMaskBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiMaskBus", + "base": "UiMaskBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetDrawInFront", + "base": "SetDrawInFront", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Draw In Front" @@ -34,7 +34,7 @@ ] }, { - "key": "GetUseRenderToTexture", + "base": "GetUseRenderToTexture", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Use Render To Texture" @@ -57,7 +57,7 @@ ] }, { - "key": "GetDrawInFront", + "base": "GetDrawInFront", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Draw In Front" @@ -80,7 +80,7 @@ ] }, { - "key": "GetDrawBehind", + "base": "GetDrawBehind", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Draw Behind" @@ -103,7 +103,7 @@ ] }, { - "key": "GetIsInteractionMaskingEnabled", + "base": "GetIsInteractionMaskingEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Interaction Masking Enabled" @@ -126,7 +126,7 @@ ] }, { - "key": "GetUseAlphaTest", + "base": "GetUseAlphaTest", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Use Alpha Test" @@ -149,7 +149,7 @@ ] }, { - "key": "SetIsMaskingEnabled", + "base": "SetIsMaskingEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Masking Enabled" @@ -173,7 +173,7 @@ ] }, { - "key": "SetUseRenderToTexture", + "base": "SetUseRenderToTexture", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Use Render To Texture" @@ -197,7 +197,7 @@ ] }, { - "key": "GetIsMaskingEnabled", + "base": "GetIsMaskingEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Masking Enabled" @@ -220,7 +220,7 @@ ] }, { - "key": "SetIsInteractionMaskingEnabled", + "base": "SetIsInteractionMaskingEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Interaction Masking Enabled" @@ -244,7 +244,7 @@ ] }, { - "key": "SetDrawBehind", + "base": "SetDrawBehind", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Draw Behind" @@ -268,7 +268,7 @@ ] }, { - "key": "SetUseAlphaTest", + "base": "SetUseAlphaTest", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Use Alpha Test" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiNavigationBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiNavigationBus.names index 6fd6a83c3b..0ca8dd3b8b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiNavigationBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiNavigationBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiNavigationBus", + "base": "UiNavigationBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetOnRightEntity", + "base": "GetOnRightEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get On Right Entity" @@ -34,7 +34,7 @@ ] }, { - "key": "SetOnLeftEntity", + "base": "SetOnLeftEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set On Left Entity" @@ -58,7 +58,7 @@ ] }, { - "key": "GetOnLeftEntity", + "base": "GetOnLeftEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get On Left Entity" @@ -82,7 +82,7 @@ ] }, { - "key": "SetOnDownEntity", + "base": "SetOnDownEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set On Down Entity" @@ -106,7 +106,7 @@ ] }, { - "key": "GetOnUpEntity", + "base": "GetOnUpEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get On Up Entity" @@ -130,7 +130,7 @@ ] }, { - "key": "SetOnUpEntity", + "base": "SetOnUpEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set On Up Entity" @@ -154,7 +154,7 @@ ] }, { - "key": "SetOnRightEntity", + "base": "SetOnRightEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set On Right Entity" @@ -178,7 +178,7 @@ ] }, { - "key": "SetNavigationMode", + "base": "SetNavigationMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Navigation Mode" @@ -202,7 +202,7 @@ ] }, { - "key": "GetOnDownEntity", + "base": "GetOnDownEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get On Down Entity" @@ -226,7 +226,7 @@ ] }, { - "key": "GetNavigationMode", + "base": "GetNavigationMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Navigation Mode" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiParticleEmitterBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiParticleEmitterBus.names index 4803b9fe8b..c408434db4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiParticleEmitterBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiParticleEmitterBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiParticleEmitterBus", + "base": "UiParticleEmitterBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetParticleColorTintVariation", + "base": "SetParticleColorTintVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Color Tint Variation" @@ -34,7 +34,7 @@ ] }, { - "key": "GetSpriteSheetFrameDelay", + "base": "GetSpriteSheetFrameDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sprite Sheet Frame Delay" @@ -57,7 +57,7 @@ ] }, { - "key": "SetParticleAlpha", + "base": "SetParticleAlpha", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Alpha" @@ -81,7 +81,7 @@ ] }, { - "key": "GetIsEmitting", + "base": "GetIsEmitting", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Emitting" @@ -104,7 +104,7 @@ ] }, { - "key": "SetParticleHeight", + "base": "SetParticleHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Height" @@ -128,7 +128,7 @@ ] }, { - "key": "GetSpriteSheetCellIndex", + "base": "GetSpriteSheetCellIndex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sprite Sheet Cell Index" @@ -151,7 +151,7 @@ ] }, { - "key": "GetIsParticleInitialRotationFromInitialVelocity", + "base": "GetIsParticleInitialRotationFromInitialVelocity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Particle Initial Rotation From Initial Velocity" @@ -174,7 +174,7 @@ ] }, { - "key": "GetParticleLifetime", + "base": "GetParticleLifetime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Lifetime" @@ -197,7 +197,7 @@ ] }, { - "key": "GetIsRandomSeedFixed", + "base": "GetIsRandomSeedFixed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Random Seed Fixed" @@ -220,7 +220,7 @@ ] }, { - "key": "GetSpritePathname", + "base": "GetSpritePathname", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sprite Pathname" @@ -243,7 +243,7 @@ ] }, { - "key": "GetParticleLifetimeVariation", + "base": "GetParticleLifetimeVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Lifetime Variation" @@ -266,7 +266,7 @@ ] }, { - "key": "GetParticleColor", + "base": "GetParticleColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Color" @@ -289,7 +289,7 @@ ] }, { - "key": "GetParticleInitialRotationVariation", + "base": "GetParticleInitialRotationVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Initial Rotation Variation" @@ -312,7 +312,7 @@ ] }, { - "key": "SetParticleLifetimeVariation", + "base": "SetParticleLifetimeVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Lifetime Variation" @@ -336,7 +336,7 @@ ] }, { - "key": "GetIsEmitOnEdge", + "base": "GetIsEmitOnEdge", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Emit On Edge" @@ -359,7 +359,7 @@ ] }, { - "key": "GetParticleRotationSpeedVariation", + "base": "GetParticleRotationSpeedVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Rotation Speed Variation" @@ -382,7 +382,7 @@ ] }, { - "key": "SetIsEmitOnActivate", + "base": "SetIsEmitOnActivate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Emit On Activate" @@ -406,7 +406,7 @@ ] }, { - "key": "GetParticleRotationSpeed", + "base": "GetParticleRotationSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Rotation Speed" @@ -429,7 +429,7 @@ ] }, { - "key": "SetParticleRotationSpeed", + "base": "SetParticleRotationSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Rotation Speed" @@ -453,7 +453,7 @@ ] }, { - "key": "GetIsParticlePositionRelativeToEmitter", + "base": "GetIsParticlePositionRelativeToEmitter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Particle Position Relative To Emitter" @@ -476,7 +476,7 @@ ] }, { - "key": "SetIsParticleAspectRatioLocked", + "base": "SetIsParticleAspectRatioLocked", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Particle Aspect Ratio Locked" @@ -500,7 +500,7 @@ ] }, { - "key": "SetEmitAngleVariation", + "base": "SetEmitAngleVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Emit Angle Variation" @@ -524,7 +524,7 @@ ] }, { - "key": "SetParticleLifetime", + "base": "SetParticleLifetime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Lifetime" @@ -548,7 +548,7 @@ ] }, { - "key": "SetSpriteSheetFrameDelay", + "base": "SetSpriteSheetFrameDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sprite Sheet Frame Delay" @@ -572,7 +572,7 @@ ] }, { - "key": "SetIsParticleInitialRotationFromInitialVelocity", + "base": "SetIsParticleInitialRotationFromInitialVelocity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Particle Initial Rotation From Initial Velocity" @@ -596,7 +596,7 @@ ] }, { - "key": "SetParticleAccelerationMovementSpace", + "base": "SetParticleAccelerationMovementSpace", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Acceleration Movement Space" @@ -620,7 +620,7 @@ ] }, { - "key": "SetIsSpriteSheetAnimated", + "base": "SetIsSpriteSheetAnimated", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Sprite Sheet Animated" @@ -644,7 +644,7 @@ ] }, { - "key": "SetIsParticleCountLimited", + "base": "SetIsParticleCountLimited", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Particle Count Limited" @@ -668,7 +668,7 @@ ] }, { - "key": "GetParticleSize", + "base": "GetParticleSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Size" @@ -691,7 +691,7 @@ ] }, { - "key": "GetParticleAccelerationMovementSpace", + "base": "GetParticleAccelerationMovementSpace", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Acceleration Movement Space" @@ -714,7 +714,7 @@ ] }, { - "key": "SetEmitAngle", + "base": "SetEmitAngle", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Emit Angle" @@ -738,7 +738,7 @@ ] }, { - "key": "SetParticleEmitRate", + "base": "SetParticleEmitRate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Emit Rate" @@ -762,7 +762,7 @@ ] }, { - "key": "GetMaxParticles", + "base": "GetMaxParticles", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Max Particles" @@ -785,7 +785,7 @@ ] }, { - "key": "GetParticleColorBrightnessVariation", + "base": "GetParticleColorBrightnessVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Color Brightness Variation" @@ -808,7 +808,7 @@ ] }, { - "key": "SetMaxParticles", + "base": "SetMaxParticles", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Max Particles" @@ -832,7 +832,7 @@ ] }, { - "key": "GetInsideEmitDistance", + "base": "GetInsideEmitDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Inside Emit Distance" @@ -855,7 +855,7 @@ ] }, { - "key": "SetParticlePivot", + "base": "SetParticlePivot", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Pivot" @@ -879,7 +879,7 @@ ] }, { - "key": "GetParticleInitialDirectionType", + "base": "GetParticleInitialDirectionType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Initial Direction Type" @@ -902,7 +902,7 @@ ] }, { - "key": "SetEmitterLifetime", + "base": "SetEmitterLifetime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Emitter Lifetime" @@ -926,7 +926,7 @@ ] }, { - "key": "GetSpriteSheetCellEndIndex", + "base": "GetSpriteSheetCellEndIndex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Sprite Sheet Cell End Index" @@ -949,7 +949,7 @@ ] }, { - "key": "SetIsEmitOnEdge", + "base": "SetIsEmitOnEdge", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Emit On Edge" @@ -973,7 +973,7 @@ ] }, { - "key": "GetParticleColorTintVariation", + "base": "GetParticleColorTintVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Color Tint Variation" @@ -996,7 +996,7 @@ ] }, { - "key": "SetParticleInitialVelocity", + "base": "SetParticleInitialVelocity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Initial Velocity" @@ -1020,7 +1020,7 @@ ] }, { - "key": "GetIsParticleCountLimited", + "base": "GetIsParticleCountLimited", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Particle Count Limited" @@ -1043,7 +1043,7 @@ ] }, { - "key": "SetParticleWidthVariation", + "base": "SetParticleWidthVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Width Variation" @@ -1067,7 +1067,7 @@ ] }, { - "key": "GetOutsideEmitDistance", + "base": "GetOutsideEmitDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Outside Emit Distance" @@ -1090,7 +1090,7 @@ ] }, { - "key": "GetIsParticleLifetimeInfinite", + "base": "GetIsParticleLifetimeInfinite", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Particle Lifetime Infinite" @@ -1113,7 +1113,7 @@ ] }, { - "key": "SetIsParticleRotationFromVelocity", + "base": "SetIsParticleRotationFromVelocity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Particle Rotation From Velocity" @@ -1137,7 +1137,7 @@ ] }, { - "key": "GetIsSpriteSheetAnimated", + "base": "GetIsSpriteSheetAnimated", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Sprite Sheet Animated" @@ -1160,7 +1160,7 @@ ] }, { - "key": "SetInsideEmitDistance", + "base": "SetInsideEmitDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Inside Emit Distance" @@ -1184,7 +1184,7 @@ ] }, { - "key": "SetSpritePathname", + "base": "SetSpritePathname", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sprite Pathname" @@ -1208,7 +1208,7 @@ ] }, { - "key": "GetEmitterShape", + "base": "GetEmitterShape", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Emitter Shape" @@ -1231,7 +1231,7 @@ ] }, { - "key": "SetOutsideEmitDistance", + "base": "SetOutsideEmitDistance", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Outside Emit Distance" @@ -1255,7 +1255,7 @@ ] }, { - "key": "SetRandomSeed", + "base": "SetRandomSeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Random Seed" @@ -1279,7 +1279,7 @@ ] }, { - "key": "GetIsParticleRotationFromVelocity", + "base": "GetIsParticleRotationFromVelocity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Particle Rotation From Velocity" @@ -1302,7 +1302,7 @@ ] }, { - "key": "GetRandomSeed", + "base": "GetRandomSeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Random Seed" @@ -1325,7 +1325,7 @@ ] }, { - "key": "GetParticleEmitRate", + "base": "GetParticleEmitRate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Emit Rate" @@ -1348,7 +1348,7 @@ ] }, { - "key": "GetIsSpriteSheetIndexRandom", + "base": "GetIsSpriteSheetIndexRandom", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Sprite Sheet Index Random" @@ -1371,7 +1371,7 @@ ] }, { - "key": "SetIsEmitting", + "base": "SetIsEmitting", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Emitting" @@ -1395,7 +1395,7 @@ ] }, { - "key": "GetParticleWidth", + "base": "GetParticleWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Width" @@ -1418,7 +1418,7 @@ ] }, { - "key": "GetParticleInitialRotation", + "base": "GetParticleInitialRotation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Initial Rotation" @@ -1441,7 +1441,7 @@ ] }, { - "key": "SetIsSpriteSheetAnimationLooped", + "base": "SetIsSpriteSheetAnimationLooped", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Sprite Sheet Animation Looped" @@ -1465,7 +1465,7 @@ ] }, { - "key": "SetParticleInitialRotationVariation", + "base": "SetParticleInitialRotationVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Initial Rotation Variation" @@ -1489,7 +1489,7 @@ ] }, { - "key": "SetIsRandomSeedFixed", + "base": "SetIsRandomSeedFixed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Random Seed Fixed" @@ -1513,7 +1513,7 @@ ] }, { - "key": "SetIsEmitterLifetimeInfinite", + "base": "SetIsEmitterLifetimeInfinite", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Emitter Lifetime Infinite" @@ -1537,7 +1537,7 @@ ] }, { - "key": "GetEmitAngle", + "base": "GetEmitAngle", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Emit Angle" @@ -1560,7 +1560,7 @@ ] }, { - "key": "GetIsEmitterLifetimeInfinite", + "base": "GetIsEmitterLifetimeInfinite", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Emitter Lifetime Infinite" @@ -1583,7 +1583,7 @@ ] }, { - "key": "SetIsHitParticleCountOnActivate", + "base": "SetIsHitParticleCountOnActivate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Hit Particle Count On Activate" @@ -1607,7 +1607,7 @@ ] }, { - "key": "SetParticleMovementCoordinateType", + "base": "SetParticleMovementCoordinateType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Movement Coordinate Type" @@ -1631,7 +1631,7 @@ ] }, { - "key": "SetSpriteSheetCellEndIndex", + "base": "SetSpriteSheetCellEndIndex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sprite Sheet Cell End Index" @@ -1655,7 +1655,7 @@ ] }, { - "key": "SetParticleColor", + "base": "SetParticleColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Color" @@ -1679,7 +1679,7 @@ ] }, { - "key": "SetSpriteSheetCellIndex", + "base": "SetSpriteSheetCellIndex", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Sprite Sheet Cell Index" @@ -1703,7 +1703,7 @@ ] }, { - "key": "SetIsParticleLifetimeInfinite", + "base": "SetIsParticleLifetimeInfinite", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Particle Lifetime Infinite" @@ -1727,7 +1727,7 @@ ] }, { - "key": "SetParticleSpeed", + "base": "SetParticleSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Speed" @@ -1751,7 +1751,7 @@ ] }, { - "key": "GetIsHitParticleCountOnActivate", + "base": "GetIsHitParticleCountOnActivate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Hit Particle Count On Activate" @@ -1774,7 +1774,7 @@ ] }, { - "key": "GetParticleAlpha", + "base": "GetParticleAlpha", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Alpha" @@ -1797,7 +1797,7 @@ ] }, { - "key": "GetEmitAngleVariation", + "base": "GetEmitAngleVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Emit Angle Variation" @@ -1820,7 +1820,7 @@ ] }, { - "key": "SetEmitterShape", + "base": "SetEmitterShape", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Emitter Shape" @@ -1844,7 +1844,7 @@ ] }, { - "key": "GetParticleSpeedVariation", + "base": "GetParticleSpeedVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Speed Variation" @@ -1867,7 +1867,7 @@ ] }, { - "key": "SetParticleAcceleration", + "base": "SetParticleAcceleration", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Acceleration" @@ -1891,7 +1891,7 @@ ] }, { - "key": "SetParticleSpeedVariation", + "base": "SetParticleSpeedVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Speed Variation" @@ -1915,7 +1915,7 @@ ] }, { - "key": "GetIsParticleAspectRatioLocked", + "base": "GetIsParticleAspectRatioLocked", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Particle Aspect Ratio Locked" @@ -1938,7 +1938,7 @@ ] }, { - "key": "GetIsSpriteSheetAnimationLooped", + "base": "GetIsSpriteSheetAnimationLooped", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Sprite Sheet Animation Looped" @@ -1961,7 +1961,7 @@ ] }, { - "key": "GetParticleAcceleration", + "base": "GetParticleAcceleration", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Acceleration" @@ -1984,7 +1984,7 @@ ] }, { - "key": "SetIsSpriteSheetIndexRandom", + "base": "SetIsSpriteSheetIndexRandom", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Sprite Sheet Index Random" @@ -2008,7 +2008,7 @@ ] }, { - "key": "GetParticleMovementCoordinateType", + "base": "GetParticleMovementCoordinateType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Movement Coordinate Type" @@ -2031,7 +2031,7 @@ ] }, { - "key": "GetParticleInitialVelocity", + "base": "GetParticleInitialVelocity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Initial Velocity" @@ -2054,7 +2054,7 @@ ] }, { - "key": "SetParticleWidth", + "base": "SetParticleWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Width" @@ -2078,7 +2078,7 @@ ] }, { - "key": "SetParticleSize", + "base": "SetParticleSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Size" @@ -2102,7 +2102,7 @@ ] }, { - "key": "GetEmitterLifetime", + "base": "GetEmitterLifetime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Emitter Lifetime" @@ -2125,7 +2125,7 @@ ] }, { - "key": "GetParticleSpeed", + "base": "GetParticleSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Speed" @@ -2148,7 +2148,7 @@ ] }, { - "key": "SetParticleRotationSpeedVariation", + "base": "SetParticleRotationSpeedVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Rotation Speed Variation" @@ -2172,7 +2172,7 @@ ] }, { - "key": "GetParticleHeight", + "base": "GetParticleHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Height" @@ -2195,7 +2195,7 @@ ] }, { - "key": "SetParticleHeightVariation", + "base": "SetParticleHeightVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Height Variation" @@ -2219,7 +2219,7 @@ ] }, { - "key": "SetParticleInitialRotation", + "base": "SetParticleInitialRotation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Initial Rotation" @@ -2243,7 +2243,7 @@ ] }, { - "key": "GetParticlePivot", + "base": "GetParticlePivot", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Pivot" @@ -2266,7 +2266,7 @@ ] }, { - "key": "GetParticleWidthVariation", + "base": "GetParticleWidthVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Width Variation" @@ -2289,7 +2289,7 @@ ] }, { - "key": "GetIsEmitOnActivate", + "base": "GetIsEmitOnActivate", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Emit On Activate" @@ -2312,7 +2312,7 @@ ] }, { - "key": "SetIsParticlePositionRelativeToEmitter", + "base": "SetIsParticlePositionRelativeToEmitter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Particle Position Relative To Emitter" @@ -2336,7 +2336,7 @@ ] }, { - "key": "SetParticleInitialDirectionType", + "base": "SetParticleInitialDirectionType", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Initial Direction Type" @@ -2360,7 +2360,7 @@ ] }, { - "key": "GetParticleHeightVariation", + "base": "GetParticleHeightVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Particle Height Variation" @@ -2383,7 +2383,7 @@ ] }, { - "key": "SetParticleColorBrightnessVariation", + "base": "SetParticleColorBrightnessVariation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Particle Color Brightness Variation" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiRadioButtonBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiRadioButtonBus.names index 42e23202c6..292353e770 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiRadioButtonBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiRadioButtonBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiRadioButtonBus", + "base": "UiRadioButtonBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetChangedActionName", + "base": "SetChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Changed Action Name" @@ -34,7 +34,7 @@ ] }, { - "key": "GetChangedActionName", + "base": "GetChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Changed Action Name" @@ -57,7 +57,7 @@ ] }, { - "key": "SetCheckedEntity", + "base": "SetCheckedEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Checked Entity" @@ -81,7 +81,7 @@ ] }, { - "key": "SetUncheckedEntity", + "base": "SetUncheckedEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Unchecked Entity" @@ -105,7 +105,7 @@ ] }, { - "key": "SetTurnOnActionName", + "base": "SetTurnOnActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Turn On Action Name" @@ -129,7 +129,7 @@ ] }, { - "key": "GetTurnOffActionName", + "base": "GetTurnOffActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Turn Off Action Name" @@ -152,7 +152,7 @@ ] }, { - "key": "GetGroup", + "base": "GetGroup", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Group" @@ -176,7 +176,7 @@ ] }, { - "key": "GetState", + "base": "GetState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get State" @@ -199,7 +199,7 @@ ] }, { - "key": "GetCheckedEntity", + "base": "GetCheckedEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Checked Entity" @@ -223,7 +223,7 @@ ] }, { - "key": "GetUncheckedEntity", + "base": "GetUncheckedEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Unchecked Entity" @@ -247,7 +247,7 @@ ] }, { - "key": "GetTurnOnActionName", + "base": "GetTurnOnActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Turn On Action Name" @@ -270,7 +270,7 @@ ] }, { - "key": "SetTurnOffActionName", + "base": "SetTurnOffActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Turn Off Action Name" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiRadioButtonGroupBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiRadioButtonGroupBus.names index 2cde33edfb..f0a4172a6f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiRadioButtonGroupBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiRadioButtonGroupBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiRadioButtonGroupBus", + "base": "UiRadioButtonGroupBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "AddRadioButton", + "base": "AddRadioButton", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Add Radio Button" @@ -34,7 +34,7 @@ ] }, { - "key": "SetChangedActionName", + "base": "SetChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Changed Action Name" @@ -58,7 +58,7 @@ ] }, { - "key": "SetAllowUncheck", + "base": "SetAllowUncheck", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Allow Uncheck" @@ -82,7 +82,7 @@ ] }, { - "key": "ContainsRadioButton", + "base": "ContainsRadioButton", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Contains Radio Button" @@ -115,7 +115,7 @@ ] }, { - "key": "GetChangedActionName", + "base": "GetChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Changed Action Name" @@ -138,7 +138,7 @@ ] }, { - "key": "GetAllowUncheck", + "base": "GetAllowUncheck", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Allow Uncheck" @@ -161,7 +161,7 @@ ] }, { - "key": "RemoveRadioButton", + "base": "RemoveRadioButton", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Remove Radio Button" @@ -185,7 +185,7 @@ ] }, { - "key": "SetState", + "base": "SetState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set State" @@ -216,7 +216,7 @@ ] }, { - "key": "GetState", + "base": "GetState", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get State" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollBarBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollBarBus.names index 8ca81f9cca..9f77750c89 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollBarBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollBarBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiScrollBarBus", + "base": "UiScrollBarBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetAutoFadeSpeed", + "base": "GetAutoFadeSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetAutoFadeSpeed" @@ -32,7 +32,7 @@ ] }, { - "key": "IsAutoFadeEnabled", + "base": "IsAutoFadeEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke IsAutoFadeEnabled" @@ -54,7 +54,7 @@ ] }, { - "key": "SetAutoFadeSpeed", + "base": "SetAutoFadeSpeed", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetAutoFadeSpeed" @@ -76,7 +76,7 @@ ] }, { - "key": "SetHandleEntity", + "base": "SetHandleEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Handle Entity" @@ -100,7 +100,7 @@ ] }, { - "key": "GetHandleEntity", + "base": "GetHandleEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Handle Entity" @@ -124,7 +124,7 @@ ] }, { - "key": "GetAutoFadeDelay", + "base": "GetAutoFadeDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetAutoFadeDelay" @@ -146,7 +146,7 @@ ] }, { - "key": "GetMinHandlePixelSize", + "base": "GetMinHandlePixelSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Min Handle Pixel Size" @@ -169,7 +169,7 @@ ] }, { - "key": "SetAutoFadeEnabled", + "base": "SetAutoFadeEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetAutoFadeEnabled" @@ -191,7 +191,7 @@ ] }, { - "key": "SetHandleSize", + "base": "SetHandleSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Handle Size" @@ -215,7 +215,7 @@ ] }, { - "key": "SetMinHandlePixelSize", + "base": "SetMinHandlePixelSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Min Handle Pixel Size" @@ -239,7 +239,7 @@ ] }, { - "key": "GetHandleSize", + "base": "GetHandleSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Handle Size" @@ -262,7 +262,7 @@ ] }, { - "key": "SetAutoFadeDelay", + "base": "SetAutoFadeDelay", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetAutoFadeDelay" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollBoxBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollBoxBus.names index 9198231a79..0b5c2ef252 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollBoxBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollBoxBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiScrollBoxBus", + "base": "UiScrollBoxBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "FindClosestContentChildElement", + "base": "FindClosestContentChildElement", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Find Closest Content Child Element" @@ -34,7 +34,7 @@ ] }, { - "key": "GetHorizontalScrollBarVisibility", + "base": "GetHorizontalScrollBarVisibility", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Horizontal Scroll Bar Visibility" @@ -57,7 +57,7 @@ ] }, { - "key": "GetVerticalScrollBarEntity", + "base": "GetVerticalScrollBarEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Vertical Scroll Bar Entity" @@ -81,7 +81,7 @@ ] }, { - "key": "SetHorizontalScrollBarVisibility", + "base": "SetHorizontalScrollBarVisibility", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Horizontal Scroll Bar Visibility" @@ -105,7 +105,7 @@ ] }, { - "key": "SetScrollOffsetChangingActionName", + "base": "SetScrollOffsetChangingActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Scroll Offset Changing Action Name" @@ -129,7 +129,7 @@ ] }, { - "key": "GetScrollOffsetChangingActionName", + "base": "GetScrollOffsetChangingActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Scroll Offset Changing Action Name" @@ -152,7 +152,7 @@ ] }, { - "key": "GetHorizontalScrollBarEntity", + "base": "GetHorizontalScrollBarEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Horizontal Scroll Bar Entity" @@ -176,7 +176,7 @@ ] }, { - "key": "HasHorizontalContentToScroll", + "base": "HasHorizontalContentToScroll", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Has Horizontal Content To Scroll" @@ -199,7 +199,7 @@ ] }, { - "key": "SetContentEntity", + "base": "SetContentEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Content Entity" @@ -223,7 +223,7 @@ ] }, { - "key": "GetIsScrollingConstrained", + "base": "GetIsScrollingConstrained", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Scrolling Constrained" @@ -246,7 +246,7 @@ ] }, { - "key": "HasVerticalContentToScroll", + "base": "HasVerticalContentToScroll", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Has Vertical Content To Scroll" @@ -269,7 +269,7 @@ ] }, { - "key": "GetIsVerticalScrollingEnabled", + "base": "GetIsVerticalScrollingEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Vertical Scrolling Enabled" @@ -292,7 +292,7 @@ ] }, { - "key": "GetVerticalScrollBarVisibility", + "base": "GetVerticalScrollBarVisibility", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Vertical Scroll Bar Visibility" @@ -315,7 +315,7 @@ ] }, { - "key": "SetIsHorizontalScrollingEnabled", + "base": "SetIsHorizontalScrollingEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Horizontal Scrolling Enabled" @@ -339,7 +339,7 @@ ] }, { - "key": "GetNormalizedScrollValue", + "base": "GetNormalizedScrollValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Normalized Scroll Value" @@ -362,7 +362,7 @@ ] }, { - "key": "SetScrollOffset", + "base": "SetScrollOffset", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Scroll Offset" @@ -386,7 +386,7 @@ ] }, { - "key": "SetHorizontalScrollBarEntity", + "base": "SetHorizontalScrollBarEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Horizontal Scroll Bar Entity" @@ -410,7 +410,7 @@ ] }, { - "key": "GetScrollOffset", + "base": "GetScrollOffset", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Scroll Offset" @@ -433,7 +433,7 @@ ] }, { - "key": "GetScrollOffsetChangedActionName", + "base": "GetScrollOffsetChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Scroll Offset Changed Action Name" @@ -456,7 +456,7 @@ ] }, { - "key": "SetVerticalScrollBarVisibility", + "base": "SetVerticalScrollBarVisibility", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Vertical Scroll Bar Visibility" @@ -480,7 +480,7 @@ ] }, { - "key": "GetIsHorizontalScrollingEnabled", + "base": "GetIsHorizontalScrollingEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Horizontal Scrolling Enabled" @@ -503,7 +503,7 @@ ] }, { - "key": "SetIsScrollingConstrained", + "base": "SetIsScrollingConstrained", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Scrolling Constrained" @@ -527,7 +527,7 @@ ] }, { - "key": "SetSnapGrid", + "base": "SetSnapGrid", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Snap Grid" @@ -551,7 +551,7 @@ ] }, { - "key": "SetIsVerticalScrollingEnabled", + "base": "SetIsVerticalScrollingEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Vertical Scrolling Enabled" @@ -575,7 +575,7 @@ ] }, { - "key": "GetSnapGrid", + "base": "GetSnapGrid", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Snap Grid" @@ -598,7 +598,7 @@ ] }, { - "key": "GetSnapMode", + "base": "GetSnapMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Snap Mode" @@ -621,7 +621,7 @@ ] }, { - "key": "SetScrollOffsetChangedActionName", + "base": "SetScrollOffsetChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Scroll Offset Changed Action Name" @@ -645,7 +645,7 @@ ] }, { - "key": "SetVerticalScrollBarEntity", + "base": "SetVerticalScrollBarEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Vertical Scroll Bar Entity" @@ -669,7 +669,7 @@ ] }, { - "key": "GetContentEntity", + "base": "GetContentEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Content Entity" @@ -693,7 +693,7 @@ ] }, { - "key": "SetSnapMode", + "base": "SetSnapMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Snap Mode" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollerBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollerBus.names index c2b3fd4a76..4bb1ea334d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollerBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiScrollerBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiScrollerBus", + "base": "UiScrollerBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetValueChangedActionName", + "base": "GetValueChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Value Changed Action Name" @@ -33,7 +33,7 @@ ] }, { - "key": "SetOrientation", + "base": "SetOrientation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Orientation" @@ -57,7 +57,7 @@ ] }, { - "key": "GetOrientation", + "base": "GetOrientation", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Orientation" @@ -80,7 +80,7 @@ ] }, { - "key": "GetValueChangingActionName", + "base": "GetValueChangingActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Value Changing Action Name" @@ -103,7 +103,7 @@ ] }, { - "key": "SetValueChangingActionName", + "base": "SetValueChangingActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Value Changing Action Name" @@ -127,7 +127,7 @@ ] }, { - "key": "SetValue", + "base": "SetValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Value" @@ -151,7 +151,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Value" @@ -174,7 +174,7 @@ ] }, { - "key": "SetValueChangedActionName", + "base": "SetValueChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Value Changed Action Name" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiSliderBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiSliderBus.names index 48e06905c7..e9d5e49722 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiSliderBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiSliderBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiSliderBus", + "base": "UiSliderBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetValueChangingActionName", + "base": "GetValueChangingActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Value Changing Action Name" @@ -33,7 +33,7 @@ ] }, { - "key": "SetValueChangingActionName", + "base": "SetValueChangingActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Value Changing Action Name" @@ -57,7 +57,7 @@ ] }, { - "key": "GetManipulatorEntity", + "base": "GetManipulatorEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Manipulator Entity" @@ -81,7 +81,7 @@ ] }, { - "key": "SetTrackEntity", + "base": "SetTrackEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Track Entity" @@ -105,7 +105,7 @@ ] }, { - "key": "GetFillEntity", + "base": "GetFillEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Fill Entity" @@ -129,7 +129,7 @@ ] }, { - "key": "SetFillEntity", + "base": "SetFillEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Fill Entity" @@ -153,7 +153,7 @@ ] }, { - "key": "SetManipulatorEntity", + "base": "SetManipulatorEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Manipulator Entity" @@ -177,7 +177,7 @@ ] }, { - "key": "GetValueChangedActionName", + "base": "GetValueChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Value Changed Action Name" @@ -200,7 +200,7 @@ ] }, { - "key": "GetTrackEntity", + "base": "GetTrackEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Track Entity" @@ -224,7 +224,7 @@ ] }, { - "key": "GetMinValue", + "base": "GetMinValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Min Value" @@ -247,7 +247,7 @@ ] }, { - "key": "SetMinValue", + "base": "SetMinValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Min Value" @@ -271,7 +271,7 @@ ] }, { - "key": "SetStepValue", + "base": "SetStepValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Step Value" @@ -295,7 +295,7 @@ ] }, { - "key": "SetValue", + "base": "SetValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Value" @@ -319,7 +319,7 @@ ] }, { - "key": "SetMaxValue", + "base": "SetMaxValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Max Value" @@ -343,7 +343,7 @@ ] }, { - "key": "GetStepValue", + "base": "GetStepValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Step Value" @@ -366,7 +366,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Value" @@ -389,7 +389,7 @@ ] }, { - "key": "GetMaxValue", + "base": "GetMaxValue", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Max Value" @@ -412,7 +412,7 @@ ] }, { - "key": "SetValueChangedActionName", + "base": "SetValueChangedActionName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Value Changed Action Name" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiSpawnerBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiSpawnerBus.names index 013efee91d..cc1ed40f00 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiSpawnerBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiSpawnerBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiSpawnerBus", + "base": "UiSpawnerBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "Spawn", + "base": "Spawn", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Spawn" @@ -33,7 +33,7 @@ ] }, { - "key": "SpawnRelative", + "base": "SpawnRelative", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Spawn Relative" @@ -66,7 +66,7 @@ ] }, { - "key": "SpawnAbsolute", + "base": "SpawnAbsolute", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Spawn Absolute" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTextBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTextBus.names index 1bc31f0a93..26fd061c0c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTextBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTextBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiTextBus", + "base": "UiTextBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetTextHeight", + "base": "GetTextHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text Height" @@ -33,7 +33,7 @@ ] }, { - "key": "GetColor", + "base": "GetColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Color" @@ -56,7 +56,7 @@ ] }, { - "key": "GetLineSpacing", + "base": "GetLineSpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Line Spacing" @@ -79,7 +79,7 @@ ] }, { - "key": "GetTextWidth", + "base": "GetTextWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text Width" @@ -102,7 +102,7 @@ ] }, { - "key": "SetWrapText", + "base": "SetWrapText", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Wrap Text" @@ -126,7 +126,7 @@ ] }, { - "key": "GetFontEffectName", + "base": "GetFontEffectName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Font Effect Name" @@ -159,7 +159,7 @@ ] }, { - "key": "GetShrinkToFit", + "base": "GetShrinkToFit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Shrink To Fit" @@ -182,7 +182,7 @@ ] }, { - "key": "GetOverflowMode", + "base": "GetOverflowMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Overflow Mode" @@ -205,7 +205,7 @@ ] }, { - "key": "GetFontEffect", + "base": "GetFontEffect", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Font Effect" @@ -228,7 +228,7 @@ ] }, { - "key": "SetFontEffect", + "base": "SetFontEffect", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Font Effect" @@ -252,7 +252,7 @@ ] }, { - "key": "GetHorizontalTextAlignment", + "base": "GetHorizontalTextAlignment", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Horizontal Text Alignment" @@ -275,7 +275,7 @@ ] }, { - "key": "GetFont", + "base": "GetFont", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Font" @@ -298,7 +298,7 @@ ] }, { - "key": "SetVerticalTextAlignment", + "base": "SetVerticalTextAlignment", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Vertical Text Alignment" @@ -322,7 +322,7 @@ ] }, { - "key": "GetVerticalTextAlignment", + "base": "GetVerticalTextAlignment", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Vertical Text Alignment" @@ -345,7 +345,7 @@ ] }, { - "key": "SetOverflowMode", + "base": "SetOverflowMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Overflow Mode" @@ -369,7 +369,7 @@ ] }, { - "key": "SetColor", + "base": "SetColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Color" @@ -393,7 +393,7 @@ ] }, { - "key": "SetFontSize", + "base": "SetFontSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Font Size" @@ -417,7 +417,7 @@ ] }, { - "key": "SetCharacterSpacing", + "base": "SetCharacterSpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Character Spacing" @@ -441,7 +441,7 @@ ] }, { - "key": "SetLineSpacing", + "base": "SetLineSpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Line Spacing" @@ -465,7 +465,7 @@ ] }, { - "key": "GetCharacterSpacing", + "base": "GetCharacterSpacing", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Character Spacing" @@ -488,7 +488,7 @@ ] }, { - "key": "SetHorizontalTextAlignment", + "base": "SetHorizontalTextAlignment", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Horizontal Text Alignment" @@ -512,7 +512,7 @@ ] }, { - "key": "SetText", + "base": "SetText", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Text" @@ -536,7 +536,7 @@ ] }, { - "key": "SetFont", + "base": "SetFont", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Font" @@ -560,7 +560,7 @@ ] }, { - "key": "SetFontEffectByName", + "base": "SetFontEffectByName", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Font Effect By Name" @@ -584,7 +584,7 @@ ] }, { - "key": "SetIsMarkupEnabled", + "base": "SetIsMarkupEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Markup Enabled" @@ -608,7 +608,7 @@ ] }, { - "key": "GetWrapText", + "base": "GetWrapText", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Wrap Text" @@ -631,7 +631,7 @@ ] }, { - "key": "GetText", + "base": "GetText", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text" @@ -654,7 +654,7 @@ ] }, { - "key": "GetTextSize", + "base": "GetTextSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTextSize" @@ -676,7 +676,7 @@ ] }, { - "key": "GetIsMarkupEnabled", + "base": "GetIsMarkupEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Is Markup Enabled" @@ -699,7 +699,7 @@ ] }, { - "key": "GetFontSize", + "base": "GetFontSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Font Size" @@ -722,7 +722,7 @@ ] }, { - "key": "SetShrinkToFit", + "base": "SetShrinkToFit", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Shrink To Fit" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTextInputBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTextInputBus.names index b8a8cd69da..cff4ff2e7f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTextInputBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTextInputBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiTextInputBus", + "base": "UiTextInputBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SetChangeAction", + "base": "SetChangeAction", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Change Action" @@ -34,7 +34,7 @@ ] }, { - "key": "GetEndEditAction", + "base": "GetEndEditAction", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get End Edit Action" @@ -57,7 +57,7 @@ ] }, { - "key": "SetEndEditAction", + "base": "SetEndEditAction", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set End Edit Action" @@ -81,7 +81,7 @@ ] }, { - "key": "GetPlaceHolderTextEntity", + "base": "GetPlaceHolderTextEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Placeholder Text Entity" @@ -105,7 +105,7 @@ ] }, { - "key": "GetIsPasswordField", + "base": "GetIsPasswordField", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Is Password Field" @@ -128,7 +128,7 @@ ] }, { - "key": "GetChangeAction", + "base": "GetChangeAction", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Change Action" @@ -151,7 +151,7 @@ ] }, { - "key": "SetEnterAction", + "base": "SetEnterAction", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Enter Action" @@ -175,7 +175,7 @@ ] }, { - "key": "SetText", + "base": "SetText", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Text" @@ -199,7 +199,7 @@ ] }, { - "key": "SetIsClipboardEnabled", + "base": "SetIsClipboardEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetIsClipboardEnabled" @@ -221,7 +221,7 @@ ] }, { - "key": "SetMaxStringLength", + "base": "SetMaxStringLength", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Max String Length" @@ -245,7 +245,7 @@ ] }, { - "key": "GetEnterAction", + "base": "GetEnterAction", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Enter Action" @@ -268,7 +268,7 @@ ] }, { - "key": "GetText", + "base": "GetText", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text" @@ -291,7 +291,7 @@ ] }, { - "key": "GetCursorBlinkInterval", + "base": "GetCursorBlinkInterval", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Cursor Blink Interval" @@ -314,7 +314,7 @@ ] }, { - "key": "GetMaxStringLength", + "base": "GetMaxStringLength", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Max String Length" @@ -337,7 +337,7 @@ ] }, { - "key": "SetIsPasswordField", + "base": "SetIsPasswordField", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Is Password Field" @@ -361,7 +361,7 @@ ] }, { - "key": "GetTextCursorColor", + "base": "GetTextCursorColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text Cursor Color" @@ -384,7 +384,7 @@ ] }, { - "key": "SetTextEntity", + "base": "SetTextEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Text Entity" @@ -408,7 +408,7 @@ ] }, { - "key": "SetTextSelectionColor", + "base": "SetTextSelectionColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Text Selection Color" @@ -432,7 +432,7 @@ ] }, { - "key": "SetTextCursorColor", + "base": "SetTextCursorColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Text Cursor Color" @@ -456,7 +456,7 @@ ] }, { - "key": "SetCursorBlinkInterval", + "base": "SetCursorBlinkInterval", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Cursor Blink Interval" @@ -480,7 +480,7 @@ ] }, { - "key": "GetTextEntity", + "base": "GetTextEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text Entity" @@ -504,7 +504,7 @@ ] }, { - "key": "SetPlaceHolderTextEntity", + "base": "SetPlaceHolderTextEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Placeholder Text Entity" @@ -528,7 +528,7 @@ ] }, { - "key": "GetReplacementCharacter", + "base": "GetReplacementCharacter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Replacement Character" @@ -551,7 +551,7 @@ ] }, { - "key": "GetIsClipboardEnabled", + "base": "GetIsClipboardEnabled", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetIsClipboardEnabled" @@ -573,7 +573,7 @@ ] }, { - "key": "GetTextSelectionColor", + "base": "GetTextSelectionColor", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text Selection Color" @@ -596,7 +596,7 @@ ] }, { - "key": "SetReplacementCharacter", + "base": "SetReplacementCharacter", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Replacement Character" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTooltipBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTooltipBus.names index 65fa7736e2..f782d63f36 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTooltipBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTooltipBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiTooltipBus", + "base": "UiTooltipBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetText", + "base": "GetText", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text" @@ -33,7 +33,7 @@ ] }, { - "key": "SetText", + "base": "SetText", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Text" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTooltipDisplayBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTooltipDisplayBus.names index ddf95a0888..7ec2d0a089 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTooltipDisplayBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTooltipDisplayBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiTooltipDisplayBus", + "base": "UiTooltipDisplayBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetAutoSize", + "base": "GetAutoSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Auto Size" @@ -33,7 +33,7 @@ ] }, { - "key": "GetTextEntity", + "base": "GetTextEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Text Entity" @@ -57,7 +57,7 @@ ] }, { - "key": "GetDelayTime", + "base": "GetDelayTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Delay Time" @@ -80,7 +80,7 @@ ] }, { - "key": "SetDelayTime", + "base": "SetDelayTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Delay Time" @@ -104,7 +104,7 @@ ] }, { - "key": "SetDisplayTime", + "base": "SetDisplayTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Display Time" @@ -128,7 +128,7 @@ ] }, { - "key": "SetOffset", + "base": "SetOffset", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Offset" @@ -152,7 +152,7 @@ ] }, { - "key": "GetOffset", + "base": "GetOffset", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Offset" @@ -175,7 +175,7 @@ ] }, { - "key": "GetAutoPositionMode", + "base": "GetAutoPositionMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Auto Position Mode" @@ -198,7 +198,7 @@ ] }, { - "key": "SetAutoPosition", + "base": "SetAutoPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Auto Position" @@ -222,7 +222,7 @@ ] }, { - "key": "SetAutoSize", + "base": "SetAutoSize", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Auto Size" @@ -246,7 +246,7 @@ ] }, { - "key": "GetAutoPosition", + "base": "GetAutoPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Auto Position" @@ -269,7 +269,7 @@ ] }, { - "key": "SetTextEntity", + "base": "SetTextEntity", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Text Entity" @@ -293,7 +293,7 @@ ] }, { - "key": "GetDisplayTime", + "base": "GetDisplayTime", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Display Time" @@ -316,7 +316,7 @@ ] }, { - "key": "GetTriggerMode", + "base": "GetTriggerMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke GetTriggerMode" @@ -338,7 +338,7 @@ ] }, { - "key": "SetTriggerMode", + "base": "SetTriggerMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke SetTriggerMode" @@ -360,7 +360,7 @@ ] }, { - "key": "SetAutoPositionMode", + "base": "SetAutoPositionMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Auto Position Mode" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTransform2dBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTransform2dBus.names index 112788b514..3c7570072b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTransform2dBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTransform2dBus.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "UiTransform2dBus", + "base": "UiTransform2dBus", "context": "EBusSender", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetLocalHeight", + "base": "GetLocalHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local Height" @@ -33,7 +33,7 @@ ] }, { - "key": "SetLocalHeight", + "base": "SetLocalHeight", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Local Height" @@ -57,7 +57,7 @@ ] }, { - "key": "GetLocalWidth", + "base": "GetLocalWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local Width" @@ -80,7 +80,7 @@ ] }, { - "key": "SetPivotAndAdjustOffsets", + "base": "SetPivotAndAdjustOffsets", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Pivot And Adjust Offsets" @@ -104,7 +104,7 @@ ] }, { - "key": "SetLocalWidth", + "base": "SetLocalWidth", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Local Width" @@ -128,7 +128,7 @@ ] }, { - "key": "GetOffsets", + "base": "GetOffsets", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Offsets" @@ -151,7 +151,7 @@ ] }, { - "key": "SetAnchors", + "base": "SetAnchors", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Anchors" @@ -189,7 +189,7 @@ ] }, { - "key": "GetAnchors", + "base": "GetAnchors", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Anchors" @@ -212,7 +212,7 @@ ] }, { - "key": "SetOffsets", + "base": "SetOffsets", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Offsets" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTransformBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTransformBus.names index 6628f2c84c..92a8ea1989 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTransformBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/UiTransformBus.names @@ -1,27 +1,25 @@ { "entries": [ { - "key": "UiTransformBus", + "base": "UiTransformBus", "context": "EBusSender", "variant": "", "details": { - "name": "UiTransformBus", - "category": "UI" + "name": "Ui Transform Bus" }, "methods": [ { - "key": "GetPivotY", + "base": "GetPivotY", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Pivot Y" + "tooltip": "When signaled, this will invoke Get PivotY" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Pivot Y is invoked" + "tooltip": "Signaled after Get PivotY is invoked" }, "details": { - "name": "Get Pivot Y", - "tooltip": "Gets the Y value of the pivot point" + "name": "Get PivotY" }, "results": [ { @@ -33,18 +31,17 @@ ] }, { - "key": "GetScaleX", + "base": "GetScaleX", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Scale X" + "tooltip": "When signaled, this will invoke Get ScaleX" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Scale X is invoked" + "tooltip": "Signaled after Get ScaleX is invoked" }, "details": { - "name": "Get Scale X", - "tooltip": "Gets the X value of the scale" + "name": "Get ScaleX" }, "results": [ { @@ -56,7 +53,7 @@ ] }, { - "key": "GetScale", + "base": "GetScale", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Scale" @@ -66,92 +63,85 @@ "tooltip": "Signaled after Get Scale is invoked" }, "details": { - "name": "Get Scale", - "tooltip": "Gets the scale" + "name": "Get Scale" }, "results": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Vector 2" } } ] }, { - "key": "SetLocalPositionX", + "base": "SetLocalPositionX", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set Local Position X" + "tooltip": "When signaled, this will invoke Set Local PositionX" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Local Position X is invoked" + "tooltip": "Signaled after Set Local PositionX is invoked" }, "details": { - "name": "Set Local Position X", - "tooltip": "Sets the X position of the element relative to the center of the element's anchors" + "name": "Set Local PositionX" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "X Local Position", - "tooltip": "The X position of the element relative to the center of the element's anchors" + "name": "float" } } ] }, { - "key": "SetScaleX", + "base": "SetScaleX", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set Scale X" + "tooltip": "When signaled, this will invoke Set ScaleX" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Scale X is invoked" + "tooltip": "Signaled after Set ScaleX is invoked" }, "details": { - "name": "Set Scale X", - "tooltip": "Sets the X value of the scale" + "name": "Set ScaleX" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "X Scale", - "tooltip": "The X value of the scale" + "name": "float" } } ] }, { - "key": "SetZRotation", + "base": "SetZRotation", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set Z Rotation" + "tooltip": "When signaled, this will invoke SetZ Rotation" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Z Rotation is invoked" + "tooltip": "Signaled after SetZ Rotation is invoked" }, "details": { - "name": "Set Z Rotation", - "tooltip": "Sets the rotation about the z-axis" + "name": "SetZ Rotation" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Z Rotation", - "tooltip": "The rotation about the z-axis" + "name": "float" } } ] }, { - "key": "GetScaleToDeviceMode", + "base": "GetScaleToDeviceMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Scale To Device Mode" @@ -161,8 +151,7 @@ "tooltip": "Signaled after Get Scale To Device Mode is invoked" }, "details": { - "name": "Get Scale To Device Mode", - "tooltip": "Returns how the element and all its children are scaled to allow for the difference between the authored canvas size and the actual viewport size" + "name": "Get Scale To Device Mode" }, "results": [ { @@ -174,7 +163,7 @@ ] }, { - "key": "SetPivot", + "base": "SetPivot", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Pivot" @@ -184,32 +173,29 @@ "tooltip": "Signaled after Set Pivot is invoked" }, "details": { - "name": "Set Pivot", - "tooltip": "Sets the pivot point" + "name": "Set Pivot" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Pivot", - "tooltip": "The pivot point" + "name": "Vector 2" } } ] }, { - "key": "GetScaleY", + "base": "GetScaleY", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Scale Y" + "tooltip": "When signaled, this will invoke Get ScaleY" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Scale Y is invoked" + "tooltip": "Signaled after Get ScaleY is invoked" }, "details": { - "name": "Get Scale Y", - "tooltip": "Gets the Y value of the scale" + "name": "Get ScaleY" }, "results": [ { @@ -221,7 +207,7 @@ ] }, { - "key": "MoveLocalPositionBy", + "base": "MoveLocalPositionBy", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Move Local Position By" @@ -231,45 +217,41 @@ "tooltip": "Signaled after Move Local Position By is invoked" }, "details": { - "name": "Move Local Position By", - "tooltip": "Moves the element relative to the center of the element's anchors" + "name": "Move Local Position By" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Offset", - "tooltip": "The amount to move the local position" + "name": "Vector 2" } } ] }, { - "key": "SetLocalPositionY", + "base": "SetLocalPositionY", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set Local Position Y" + "tooltip": "When signaled, this will invoke Set Local PositionY" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Local Position Y is invoked" + "tooltip": "Signaled after Set Local PositionY is invoked" }, "details": { - "name": "Set Local Position Y", - "tooltip": "Sets the Y position of the element relative to the center of the element's anchors" + "name": "Set Local PositionY" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Y Local Position", - "tooltip": "The Y position of the element relative to the center of the element's anchors" + "name": "float" } } ] }, { - "key": "SetViewportPosition", + "base": "SetViewportPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Viewport Position" @@ -279,21 +261,19 @@ "tooltip": "Signaled after Set Viewport Position is invoked" }, "details": { - "name": "Set Viewport Position", - "tooltip": "Sets the position of the element in viewport space" + "name": "Set Viewport Position" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Position", - "tooltip": "The position of the element in viewport space" + "name": "Vector 2" } } ] }, { - "key": "SetScaleToDeviceMode", + "base": "SetScaleToDeviceMode", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Scale To Device Mode" @@ -303,32 +283,29 @@ "tooltip": "Signaled after Set Scale To Device Mode is invoked" }, "details": { - "name": "Set Scale To Device Mode", - "tooltip": "Sets how the element and all its children should be scaled to allow for the difference between the authored canvas size and the actual viewport size" + "name": "Set Scale To Device Mode" }, "params": [ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Scale to Device Mode", - "tooltip": "Indicates how the element and all its children are scaled to allow for the difference between the authored canvas size and the actual viewport size (0=None, 1=Scale to fit (uniformly), 2=Scale to fill (uniformly), 3=Scale to fit X (uniformly), 4=Scale to fit Y (uniformly), 5=Stretch to fill (non-uniformly), 6=Stretch to fit X (non-uniformly), 7=Stretch to fit Y (non-uniformly))" + "name": "int" } } ] }, { - "key": "GetLocalPositionX", + "base": "GetLocalPositionX", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Local Position X" + "tooltip": "When signaled, this will invoke Get Local PositionX" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Local Position X is invoked" + "tooltip": "Signaled after Get Local PositionX is invoked" }, "details": { - "name": "Get Local Position X", - "tooltip": "Gets the X position of the element relative to the center of the element's anchors" + "name": "Get Local PositionX" }, "results": [ { @@ -340,7 +317,7 @@ ] }, { - "key": "MoveCanvasPositionBy", + "base": "MoveCanvasPositionBy", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Move Canvas Position By" @@ -350,45 +327,41 @@ "tooltip": "Signaled after Move Canvas Position By is invoked" }, "details": { - "name": "Move Canvas Position By", - "tooltip": "Moves the element in canvas space" + "name": "Move Canvas Position By" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Offset", - "tooltip": "The amount to move the canvas position" + "name": "Vector 2" } } ] }, { - "key": "SetPivotX", + "base": "SetPivotX", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set Pivot X" + "tooltip": "When signaled, this will invoke Set PivotX" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Pivot X is invoked" + "tooltip": "Signaled after Set PivotX is invoked" }, "details": { - "name": "Set Pivot X", - "tooltip": "Sets the X value of the pivot point" + "name": "Set PivotX" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "X Pivot", - "tooltip": "The X value of the pivot point" + "name": "float" } } ] }, { - "key": "MoveViewportPositionBy", + "base": "MoveViewportPositionBy", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Move Viewport Position By" @@ -398,45 +371,41 @@ "tooltip": "Signaled after Move Viewport Position By is invoked" }, "details": { - "name": "Move Viewport Position By", - "tooltip": "Moves the element in viewport space" + "name": "Move Viewport Position By" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Offset", - "tooltip": "The amount to move the viewport position" + "name": "Vector 2" } } ] }, { - "key": "SetPivotY", + "base": "SetPivotY", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set Pivot Y" + "tooltip": "When signaled, this will invoke Set PivotY" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Pivot Y is invoked" + "tooltip": "Signaled after Set PivotY is invoked" }, "details": { - "name": "Set Pivot Y", - "tooltip": "Sets the Y value of the pivot point" + "name": "Set PivotY" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Y Pivot", - "tooltip": "The Y value of the pivot point" + "name": "float" } } ] }, { - "key": "GetViewportPosition", + "base": "GetViewportPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Viewport Position" @@ -446,20 +415,19 @@ "tooltip": "Signaled after Get Viewport Position is invoked" }, "details": { - "name": "Get Viewport Position", - "tooltip": "Gets the position of the element in viewport space" + "name": "Get Viewport Position" }, "results": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Vector 2" } } ] }, { - "key": "SetScale", + "base": "SetScale", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Scale" @@ -469,21 +437,19 @@ "tooltip": "Signaled after Set Scale is invoked" }, "details": { - "name": "Set Scale", - "tooltip": "Sets the scale" + "name": "Set Scale" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Scale", - "tooltip": "The scale" + "name": "Vector 2" } } ] }, { - "key": "SetLocalPosition", + "base": "SetLocalPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Local Position" @@ -493,21 +459,19 @@ "tooltip": "Signaled after Set Local Position is invoked" }, "details": { - "name": "Set Local Position", - "tooltip": "Sets the position of the element relative to the center of the element's anchors" + "name": "Set Local Position" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Local Position", - "tooltip": "The position of the element relative to the center of the element's anchors" + "name": "Vector 2" } } ] }, { - "key": "GetCanvasPosition", + "base": "GetCanvasPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Canvas Position" @@ -517,31 +481,29 @@ "tooltip": "Signaled after Get Canvas Position is invoked" }, "details": { - "name": "Get Canvas Position", - "tooltip": "Gets the position of the element in canvas space" + "name": "Get Canvas Position" }, "results": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Vector 2" } } ] }, { - "key": "GetPivotX", + "base": "GetPivotX", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Pivot X" + "tooltip": "When signaled, this will invoke Get PivotX" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Pivot X is invoked" + "tooltip": "Signaled after Get PivotX is invoked" }, "details": { - "name": "Get Pivot X", - "tooltip": "Gets the X value of the pivot point" + "name": "Get PivotX" }, "results": [ { @@ -553,18 +515,17 @@ ] }, { - "key": "GetZRotation", + "base": "GetZRotation", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Z Rotation" + "tooltip": "When signaled, this will invoke GetZ Rotation" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Z Rotation is invoked" + "tooltip": "Signaled after GetZ Rotation is invoked" }, "details": { - "name": "Get Z Rotation", - "tooltip": "Gets the rotation about the z-axis" + "name": "GetZ Rotation" }, "results": [ { @@ -576,7 +537,7 @@ ] }, { - "key": "GetLocalPosition", + "base": "GetLocalPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Local Position" @@ -586,44 +547,41 @@ "tooltip": "Signaled after Get Local Position is invoked" }, "details": { - "name": "Get Local Position", - "tooltip": "Gets the position of the element relative to the center of the element's anchors" + "name": "Get Local Position" }, "results": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Vector 2" } } ] }, { - "key": "SetScaleY", + "base": "SetScaleY", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Set Scale Y" + "tooltip": "When signaled, this will invoke Set ScaleY" }, "exit": { "name": "Out", - "tooltip": "Signaled after Set Scale Y is invoked" + "tooltip": "Signaled after Set ScaleY is invoked" }, "details": { - "name": "Set Scale Y", - "tooltip": "Sets the Y value of the scale" + "name": "Set ScaleY" }, "params": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Y Scale", - "tooltip": "The Y value of the scale" + "name": "float" } } ] }, { - "key": "GetPivot", + "base": "GetPivot", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Pivot" @@ -633,20 +591,19 @@ "tooltip": "Signaled after Get Pivot is invoked" }, "details": { - "name": "Get Pivot", - "tooltip": "Gets the pivot point" + "name": "Get Pivot" }, "results": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Vector2" + "name": "Vector 2" } } ] }, { - "key": "SetCanvasPosition", + "base": "SetCanvasPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Set Canvas Position" @@ -656,32 +613,29 @@ "tooltip": "Signaled after Set Canvas Position is invoked" }, "details": { - "name": "Set Canvas Position", - "tooltip": "Sets the position of the element in canvas space" + "name": "Set Canvas Position" }, "params": [ { "typeid": "{3D80F623-C85C-4741-90D0-E4E66164E6BF}", "details": { - "name": "Position", - "tooltip": "The position of the element in canvas space" + "name": "Vector 2" } } ] }, { - "key": "GetLocalPositionY", + "base": "GetLocalPositionY", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Local Position Y" + "tooltip": "When signaled, this will invoke Get Local PositionY" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Local Position Y is invoked" + "tooltip": "Signaled after Get Local PositionY is invoked" }, "details": { - "name": "Get Local Position Y", - "tooltip": "Gets the Y position of the element relative to the center of the element's anchors" + "name": "Get Local PositionY" }, "results": [ { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ViewportRequestBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ViewportRequestBus.names index 56ea2c0882..bd483d39de 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ViewportRequestBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/ViewportRequestBus.names @@ -1,25 +1,26 @@ { "entries": [ { - "key": "ViewportRequestBus", + "base": "ViewportRequestBus", "context": "EBusSender", "variant": "", "details": { - "name": "ViewportRequestBus" + "name": "Viewport", + "category": "Rendering" }, "methods": [ { - "key": "SetCameraTransform", + "base": "SetCameraTransform", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetCameraTransform" + "tooltip": "When signaled, this will invoke Set Camera Transform" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetCameraTransform is invoked" + "tooltip": "Signaled after Set Camera Transform is invoked" }, "details": { - "name": "SetCameraTransform" + "name": "Set Camera Transform" }, "params": [ { @@ -31,105 +32,105 @@ ] }, { - "key": "GetCameraProjectionMatrix", + "base": "GetCameraProjectionMatrix", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCameraProjectionMatrix" + "tooltip": "When signaled, this will invoke Get Camera Projection Matrix" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCameraProjectionMatrix is invoked" + "tooltip": "Signaled after Get Camera Projection Matrix is invoked" }, "details": { - "name": "GetCameraProjectionMatrix" + "name": "Get Camera Projection Matrix" }, "results": [ { "typeid": "{157193C7-B673-4A2B-8B43-5681DCC3DEC3}", "details": { - "name": "Matrix4x4" + "name": "Matrix 4x 4" } } ] }, { - "key": "SetCameraViewMatrix", + "base": "SetCameraViewMatrix", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetCameraViewMatrix" + "tooltip": "When signaled, this will invoke Set Camera View Matrix" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetCameraViewMatrix is invoked" + "tooltip": "Signaled after Set Camera View Matrix is invoked" }, "details": { - "name": "SetCameraViewMatrix" + "name": "Set Camera View Matrix" }, "params": [ { "typeid": "{157193C7-B673-4A2B-8B43-5681DCC3DEC3}", "details": { - "name": "Matrix4x4" + "name": "Matrix 4x 4" } } ] }, { - "key": "GetCameraViewMatrix", + "base": "GetCameraViewMatrix", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCameraViewMatrix" + "tooltip": "When signaled, this will invoke Get Camera View Matrix" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCameraViewMatrix is invoked" + "tooltip": "Signaled after Get Camera View Matrix is invoked" }, "details": { - "name": "GetCameraViewMatrix" + "name": "Get Camera View Matrix" }, "results": [ { "typeid": "{157193C7-B673-4A2B-8B43-5681DCC3DEC3}", "details": { - "name": "Matrix4x4" + "name": "Matrix 4x 4" } } ] }, { - "key": "SetCameraProjectionMatrix", + "base": "SetCameraProjectionMatrix", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetCameraProjectionMatrix" + "tooltip": "When signaled, this will invoke Set Camera Projection Matrix" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetCameraProjectionMatrix is invoked" + "tooltip": "Signaled after Set Camera Projection Matrix is invoked" }, "details": { - "name": "SetCameraProjectionMatrix" + "name": "Set Camera Projection Matrix" }, "params": [ { "typeid": "{157193C7-B673-4A2B-8B43-5681DCC3DEC3}", "details": { - "name": "Matrix4x4" + "name": "Matrix 4x 4" } } ] }, { - "key": "GetCameraTransform", + "base": "GetCameraTransform", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetCameraTransform" + "tooltip": "When signaled, this will invoke Get Camera Transform" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetCameraTransform is invoked" + "tooltip": "Signaled after Get Camera Transform is invoked" }, "details": { - "name": "GetCameraTransform" + "name": "Get Camera Transform" }, "results": [ { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/WindRequestsBus.names b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/WindRequestsBus.names index ed7d56a8bb..5913af7499 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/WindRequestsBus.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/EBus/Senders/WindRequestsBus.names @@ -1,16 +1,15 @@ { "entries": [ { - "key": "WindRequestsBus", + "base": "WindRequestsBus", "context": "EBusSender", "variant": "", "details": { - "name": "WindRequestsBus", - "category": "PhysX" + "name": "Wind" }, "methods": [ { - "key": "GetGlobalWind", + "base": "GetGlobalWind", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Global Wind" @@ -26,13 +25,13 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Global Wind Direction" } } ] }, { - "key": "GetWindAtPosition", + "base": "GetWindAtPosition", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Wind At Position" @@ -56,13 +55,13 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Wind Direction" } } ] }, { - "key": "GetWindInsideAabb", + "base": "GetWindInsideAabb", "entry": { "name": "In", "tooltip": "When signaled, this will invoke Get Wind Inside AABB" @@ -86,7 +85,7 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Wind Direction" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateBoxCastRequest.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateBoxCastRequest.names index 6dc3d8f8d4..72b911f0cd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateBoxCastRequest.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateBoxCastRequest.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CreateBoxCastRequest", + "base": "CreateBoxCastRequest", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "CreateBoxCastRequest", + "base": "CreateBoxCastRequest", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateBoxOverlapRequest.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateBoxOverlapRequest.names index 35928f8446..984c7008ab 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateBoxOverlapRequest.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateBoxOverlapRequest.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CreateBoxOverlapRequest", + "base": "CreateBoxOverlapRequest", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "CreateBoxOverlapRequest", + "base": "CreateBoxOverlapRequest", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateCapsuleCastRequest.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateCapsuleCastRequest.names index ef8e84f3ea..8ae6f324e6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateCapsuleCastRequest.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateCapsuleCastRequest.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CreateCapsuleCastRequest", + "base": "CreateCapsuleCastRequest", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "CreateCapsuleCastRequest", + "base": "CreateCapsuleCastRequest", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateCapsuleOverlapRequest.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateCapsuleOverlapRequest.names index d78d1c9063..d9b5f8d555 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateCapsuleOverlapRequest.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateCapsuleOverlapRequest.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CreateCapsuleOverlapRequest", + "base": "CreateCapsuleOverlapRequest", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "CreateCapsuleOverlapRequest", + "base": "CreateCapsuleOverlapRequest", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateSphereCastRequest.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateSphereCastRequest.names index 884dbf070e..c8dbbf9509 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateSphereCastRequest.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateSphereCastRequest.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CreateSphereCastRequest", + "base": "CreateSphereCastRequest", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "CreateSphereCastRequest", + "base": "CreateSphereCastRequest", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateSphereOverlapRequest.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateSphereOverlapRequest.names index eaf91c144a..3656d75837 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateSphereOverlapRequest.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/CreateSphereOverlapRequest.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "CreateSphereOverlapRequest", + "base": "CreateSphereOverlapRequest", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "CreateSphereOverlapRequest", + "base": "CreateSphereOverlapRequest", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/GetPhysicsSystem.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/GetPhysicsSystem.names index d2b64d5071..ddaf1afb71 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/GetPhysicsSystem.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/GetPhysicsSystem.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "GetPhysicsSystem", + "base": "GetPhysicsSystem", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "GetPhysicsSystem", + "base": "GetPhysicsSystem", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/SaveShaderVariantListSourceData.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/SaveShaderVariantListSourceData.names index 1301717ba3..c78a97bab8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/SaveShaderVariantListSourceData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/SaveShaderVariantListSourceData.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SaveShaderVariantListSourceData", + "base": "SaveShaderVariantListSourceData", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SaveShaderVariantListSourceData", + "base": "SaveShaderVariantListSourceData", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/SettingsRegistry.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/SettingsRegistry.names index 373047e735..8d55c7c22c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/SettingsRegistry.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/SettingsRegistry.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "SettingsRegistry", + "base": "SettingsRegistry", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "SettingsRegistry", + "base": "SettingsRegistry", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/Terminate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/Terminate.names index d36c4cf37f..177cc5510a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/Terminate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/Terminate.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "Terminate", + "base": "Terminate", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "Terminate", + "base": "Terminate", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_layer_node.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_layer_node.names index bf4e5fcbe9..b6732eb7bf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_layer_node.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_layer_node.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "add_layer_node", + "base": "add_layer_node", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "add_layer_node", + "base": "add_layer_node", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_node.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_node.names index 8f52238b58..0c7a598968 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_node.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_node.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "add_node", + "base": "add_node", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "add_node", + "base": "add_node", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_selected_entities.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_selected_entities.names index 926e5adef6..fa67e69277 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_selected_entities.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_selected_entities.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "add_selected_entities", + "base": "add_selected_entities", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "add_selected_entities", + "base": "add_selected_entities", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_track.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_track.names index c048cbf6fa..312eafd1d4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_track.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/add_track.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "add_track", + "base": "add_track", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "add_track", + "base": "add_track", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/attach_debugger.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/attach_debugger.names index 398b3ec25a..8432caefe0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/attach_debugger.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/attach_debugger.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "attach_debugger", + "base": "attach_debugger", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "attach_debugger", + "base": "attach_debugger", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/bind_viewport.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/bind_viewport.names index a09ec96fd9..ad2bbcd5f9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/bind_viewport.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/bind_viewport.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "bind_viewport", + "base": "bind_viewport", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "bind_viewport", + "base": "bind_viewport", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/clear_selection.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/clear_selection.names index 8c8d8318c5..2105e431b1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/clear_selection.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/clear_selection.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "clear_selection", + "base": "clear_selection", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "clear_selection", + "base": "clear_selection", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/close_pane.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/close_pane.names index 7fc51967b2..cc31fc5bce 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/close_pane.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/close_pane.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "close_pane", + "base": "close_pane", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "close_pane", + "base": "close_pane", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/combo_box.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/combo_box.names index 7ce138a740..09d4a594f9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/combo_box.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/combo_box.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "combo_box", + "base": "combo_box", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "combo_box", + "base": "combo_box", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/crash.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/crash.names index 9708005711..c45360fa27 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/crash.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/crash.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "crash", + "base": "crash", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "crash", + "base": "crash", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/create_level.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/create_level.names index 4e75ca5197..f893c6e77d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/create_level.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/create_level.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "create_level", + "base": "create_level", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "create_level", + "base": "create_level", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/create_level_no_prompt.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/create_level_no_prompt.names index 1935a970d1..82185c453f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/create_level_no_prompt.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/create_level_no_prompt.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "create_level_no_prompt", + "base": "create_level_no_prompt", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "create_level_no_prompt", + "base": "create_level_no_prompt", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_node.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_node.names index 7c621e25e9..689a66a1c6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_node.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_node.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "delete_node", + "base": "delete_node", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "delete_node", + "base": "delete_node", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_object.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_object.names index b134e71fec..13c8aae783 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_object.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_object.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "delete_object", + "base": "delete_object", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "delete_object", + "base": "delete_object", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_selected.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_selected.names index 1da4b2cb26..bc09f6f0af 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_selected.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_selected.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "delete_selected", + "base": "delete_selected", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "delete_selected", + "base": "delete_selected", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_sequence.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_sequence.names index bdc0052f2a..64ec10e0ac 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_sequence.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_sequence.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "delete_sequence", + "base": "delete_sequence", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "delete_sequence", + "base": "delete_sequence", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_track.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_track.names index 135c53ad30..ca1f49b29c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_track.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/delete_track.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "delete_track", + "base": "delete_track", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "delete_track", + "base": "delete_track", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/draw_label.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/draw_label.names index ae1d5befe5..cff6a5c812 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/draw_label.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/draw_label.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "draw_label", + "base": "draw_label", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "draw_label", + "base": "draw_label", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/dump_exposed_classes.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/dump_exposed_classes.names index 5716162f4f..d7b1bf9d23 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/dump_exposed_classes.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/dump_exposed_classes.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "dump_exposed_classes", + "base": "dump_exposed_classes", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "dump_exposed_classes", + "base": "dump_exposed_classes", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/edit_box.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/edit_box.names index 0a74f98f8d..59b1eea8db 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/edit_box.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/edit_box.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "edit_box", + "base": "edit_box", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "edit_box", + "base": "edit_box", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/edit_box_check_data_type.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/edit_box_check_data_type.names index 52ff4b7b28..582787dc7b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/edit_box_check_data_type.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/edit_box_check_data_type.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "edit_box_check_data_type", + "base": "edit_box_check_data_type", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "edit_box_check_data_type", + "base": "edit_box_check_data_type", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enable_for_all.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enable_for_all.names index 09e4f5c426..c32a111c5d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enable_for_all.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enable_for_all.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "enable_for_all", + "base": "enable_for_all", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "enable_for_all", + "base": "enable_for_all", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enter_game_mode.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enter_game_mode.names index 52e02faa81..84e713519b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enter_game_mode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enter_game_mode.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "enter_game_mode", + "base": "enter_game_mode", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "enter_game_mode", + "base": "enter_game_mode", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enter_simulation_mode.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enter_simulation_mode.names index b5b97de500..67a399c5b2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enter_simulation_mode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/enter_simulation_mode.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "enter_simulation_mode", + "base": "enter_simulation_mode", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "enter_simulation_mode", + "base": "enter_simulation_mode", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/execute_command.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/execute_command.names index 3558aa7cdb..7410e5a7b6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/execute_command.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/execute_command.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "execute_command", + "base": "execute_command", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "execute_command", + "base": "execute_command", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit.names index b494190ca9..335edab62c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "exit", + "base": "exit", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "exit", + "base": "exit", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_game_mode.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_game_mode.names index 61ece2079d..e202395b15 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_game_mode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_game_mode.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "exit_game_mode", + "base": "exit_game_mode", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "exit_game_mode", + "base": "exit_game_mode", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_no_prompt.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_no_prompt.names index c869bb6d06..240fac0896 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_no_prompt.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_no_prompt.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "exit_no_prompt", + "base": "exit_no_prompt", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "exit_no_prompt", + "base": "exit_no_prompt", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_simulation_mode.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_simulation_mode.names index e8b6419c7e..1fbf1ae15a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_simulation_mode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/exit_simulation_mode.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "exit_simulation_mode", + "base": "exit_simulation_mode", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "exit_simulation_mode", + "base": "exit_simulation_mode", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/export_to_engine.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/export_to_engine.names index 8ada50e7a7..1201f008b6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/export_to_engine.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/export_to_engine.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "export_to_engine", + "base": "export_to_engine", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "export_to_engine", + "base": "export_to_engine", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/find_editor_entity.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/find_editor_entity.names index c9ec658126..f4a6511cb0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/find_editor_entity.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/find_editor_entity.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "find_editor_entity", + "base": "find_editor_entity", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "find_editor_entity", + "base": "find_editor_entity", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/find_game_entity.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/find_game_entity.names index bf1fe91241..49edae2728 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/find_game_entity.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/find_game_entity.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "find_game_entity", + "base": "find_game_entity", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "find_game_entity", + "base": "find_game_entity", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/freeze_object.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/freeze_object.names index c413c4a4c1..86902f625d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/freeze_object.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/freeze_object.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "freeze_object", + "base": "freeze_object", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "freeze_object", + "base": "freeze_object", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_active_viewport.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_active_viewport.names index 23d8096ac1..d8df792445 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_active_viewport.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_active_viewport.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_active_viewport", + "base": "get_active_viewport", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_active_viewport", + "base": "get_active_viewport", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_all_objects.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_all_objects.names index b7686d1760..d39e48c0d9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_all_objects.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_all_objects.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_all_objects", + "base": "get_all_objects", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_all_objects", + "base": "get_all_objects", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_axis_constraint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_axis_constraint.names index d9073b1058..8b7e6c5217 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_axis_constraint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_axis_constraint.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_axis_constraint", + "base": "get_axis_constraint", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_axis_constraint", + "base": "get_axis_constraint", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_config_platform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_config_platform.names index 4b0e8ac35b..c330306110 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_config_platform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_config_platform.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_config_platform", + "base": "get_config_platform", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_config_platform", + "base": "get_config_platform", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_config_spec.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_config_spec.names index 9dc53f4507..e20edd59c6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_config_spec.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_config_spec.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_config_spec", + "base": "get_config_spec", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_config_spec", + "base": "get_config_spec", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_level_name.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_level_name.names index 365cba6b9e..8c8833b372 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_level_name.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_level_name.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_current_level_name", + "base": "get_current_level_name", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_current_level_name", + "base": "get_current_level_name", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_level_path.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_level_path.names index 82b407a8fe..846b236e48 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_level_path.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_level_path.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_current_level_path", + "base": "get_current_level_path", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_current_level_path", + "base": "get_current_level_path", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_view_position.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_view_position.names index a5e07d14d3..c5509b1cf9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_view_position.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_view_position.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_current_view_position", + "base": "get_current_view_position", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_current_view_position", + "base": "get_current_view_position", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_view_rotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_view_rotation.names index 6be7bff047..f2de184318 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_view_rotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_current_view_rotation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_current_view_rotation", + "base": "get_current_view_rotation", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_current_view_rotation", + "base": "get_current_view_rotation", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_cvar.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_cvar.names index 22d8fa62b4..e3acfc818b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_cvar.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_cvar.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_cvar", + "base": "get_cvar", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_cvar", + "base": "get_cvar", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_file_alias.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_file_alias.names index 9a1d048865..f52c2db932 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_file_alias.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_file_alias.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_file_alias", + "base": "get_file_alias", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_file_alias", + "base": "get_file_alias", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_game_folder.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_game_folder.names index b2280925ff..67e6a1cebe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_game_folder.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_game_folder.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_game_folder", + "base": "get_game_folder", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_game_folder", + "base": "get_game_folder", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_interpolated_value.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_interpolated_value.names index 3f5469407e..76229b6777 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_interpolated_value.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_interpolated_value.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_interpolated_value", + "base": "get_interpolated_value", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_interpolated_value", + "base": "get_interpolated_value", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_key_value.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_key_value.names index 69a7dcd7a4..25ff2b7731 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_key_value.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_key_value.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_key_value", + "base": "get_key_value", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_key_value", + "base": "get_key_value", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_misc_editor_settings.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_misc_editor_settings.names index 7759957362..613c0322cb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_misc_editor_settings.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_misc_editor_settings.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_misc_editor_settings", + "base": "get_misc_editor_settings", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_misc_editor_settings", + "base": "get_misc_editor_settings", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_names_of_selected_objects.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_names_of_selected_objects.names index 6343079ee3..fd53f4eabb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_names_of_selected_objects.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_names_of_selected_objects.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_names_of_selected_objects", + "base": "get_names_of_selected_objects", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_names_of_selected_objects", + "base": "get_names_of_selected_objects", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_node_name.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_node_name.names index abc8bc12b3..2ea9de8513 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_node_name.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_node_name.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_node_name", + "base": "get_node_name", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_node_name", + "base": "get_node_name", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_nodes.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_nodes.names index fea8d6d51e..87a6db5f5a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_nodes.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_nodes.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_num_nodes", + "base": "get_num_nodes", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_num_nodes", + "base": "get_num_nodes", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_selected.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_selected.names index cd260f6dc8..3761118834 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_selected.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_selected.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_num_selected", + "base": "get_num_selected", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_num_selected", + "base": "get_num_selected", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_sequences.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_sequences.names index 7101578f9d..74ba982883 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_sequences.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_sequences.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_num_sequences", + "base": "get_num_sequences", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_num_sequences", + "base": "get_num_sequences", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_track_keys.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_track_keys.names index 06963345ee..cbaf89bc8c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_track_keys.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_num_track_keys.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_num_track_keys", + "base": "get_num_track_keys", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_num_track_keys", + "base": "get_num_track_keys", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_pak_from_file.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_pak_from_file.names index 828f298ed9..ec00c17b40 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_pak_from_file.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_pak_from_file.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_pak_from_file", + "base": "get_pak_from_file", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_pak_from_file", + "base": "get_pak_from_file", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_pane_class_names.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_pane_class_names.names index d4d90062e7..52b66ebbb0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_pane_class_names.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_pane_class_names.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_pane_class_names", + "base": "get_pane_class_names", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_pane_class_names", + "base": "get_pane_class_names", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_position.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_position.names index 9256be10cd..31de8b96dc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_position.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_position.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_position", + "base": "get_position", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_position", + "base": "get_position", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_rotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_rotation.names index 9a0fc2c866..4d5c644b46 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_rotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_rotation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_rotation", + "base": "get_rotation", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_rotation", + "base": "get_rotation", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_scale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_scale.names index bca8c0935a..c444d34332 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_scale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_scale.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_scale", + "base": "get_scale", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_scale", + "base": "get_scale", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_selection_aabb.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_selection_aabb.names index 8563f61cc9..e0835c4823 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_selection_aabb.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_selection_aabb.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_selection_aabb", + "base": "get_selection_aabb", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_selection_aabb", + "base": "get_selection_aabb", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_selection_center.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_selection_center.names index 9bd01010e4..445ef2d2ac 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_selection_center.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_selection_center.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_selection_center", + "base": "get_selection_center", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_selection_center", + "base": "get_selection_center", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_sequence_name.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_sequence_name.names index 3dbe9bc854..83482c09d2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_sequence_name.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_sequence_name.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_sequence_name", + "base": "get_sequence_name", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_sequence_name", + "base": "get_sequence_name", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_sequence_time_range.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_sequence_time_range.names index ae8a229a75..2231d6c807 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_sequence_time_range.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_sequence_time_range.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_sequence_time_range", + "base": "get_sequence_time_range", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_sequence_time_range", + "base": "get_sequence_time_range", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_view_pane_layout.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_view_pane_layout.names index a149b94dd8..aa014dcab8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_view_pane_layout.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_view_pane_layout.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_view_pane_layout", + "base": "get_view_pane_layout", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_view_pane_layout", + "base": "get_view_pane_layout", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_count.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_count.names index 7b616139ee..462816b556 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_count.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_count.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_viewport_count", + "base": "get_viewport_count", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_viewport_count", + "base": "get_viewport_count", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_expansion_policy.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_expansion_policy.names index 23d2dae3d3..04ee539630 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_expansion_policy.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_expansion_policy.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_viewport_expansion_policy", + "base": "get_viewport_expansion_policy", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_viewport_expansion_policy", + "base": "get_viewport_expansion_policy", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_size.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_size.names index 33cc93441d..254dce0763 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_size.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/get_viewport_size.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "get_viewport_size", + "base": "get_viewport_size", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "get_viewport_size", + "base": "get_viewport_size", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/hide_all_objects.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/hide_all_objects.names index 8d5d77a78f..61bc6e2f23 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/hide_all_objects.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/hide_all_objects.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "hide_all_objects", + "base": "hide_all_objects", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "hide_all_objects", + "base": "hide_all_objects", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/hide_object.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/hide_object.names index f30f0a4e37..4df0d7458b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/hide_object.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/hide_object.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "hide_object", + "base": "hide_object", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "hide_object", + "base": "hide_object", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_enable.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_enable.names index 8ab9d80d37..751e63dad2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_enable.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_enable.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "idle_enable", + "base": "idle_enable", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "idle_enable", + "base": "idle_enable", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_is_enabled.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_is_enabled.names index 35fccf8339..7a910121fb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_is_enabled.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_is_enabled.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "idle_is_enabled", + "base": "idle_is_enabled", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "idle_is_enabled", + "base": "idle_is_enabled", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_wait.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_wait.names index 04574b306e..e90a794abb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_wait.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_wait.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "idle_wait", + "base": "idle_wait", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "idle_wait", + "base": "idle_wait", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_wait_frames.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_wait_frames.names index bbbb2e2d6c..809ba3291a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_wait_frames.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/idle_wait_frames.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "idle_wait_frames", + "base": "idle_wait_frames", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "idle_wait_frames", + "base": "idle_wait_frames", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_helpers_shown.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_helpers_shown.names index 7945c6f747..bddddbf5f6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_helpers_shown.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_helpers_shown.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "is_helpers_shown", + "base": "is_helpers_shown", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "is_helpers_shown", + "base": "is_helpers_shown", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_idle_enabled.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_idle_enabled.names index 82e2f26261..690c6a9e26 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_idle_enabled.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_idle_enabled.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "is_idle_enabled", + "base": "is_idle_enabled", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "is_idle_enabled", + "base": "is_idle_enabled", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_in_game_mode.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_in_game_mode.names index c190c8f51a..62612ae3f0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_in_game_mode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_in_game_mode.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "is_in_game_mode", + "base": "is_in_game_mode", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "is_in_game_mode", + "base": "is_in_game_mode", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_in_simulation_mode.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_in_simulation_mode.names index 1cbf43acde..f4ae7b054a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_in_simulation_mode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_in_simulation_mode.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "is_in_simulation_mode", + "base": "is_in_simulation_mode", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "is_in_simulation_mode", + "base": "is_in_simulation_mode", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_object_frozen.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_object_frozen.names index 7f8463fe2e..77c9aa1f3b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_object_frozen.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_object_frozen.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "is_object_frozen", + "base": "is_object_frozen", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "is_object_frozen", + "base": "is_object_frozen", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_object_hidden.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_object_hidden.names index 05439afc23..46d6757c9f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_object_hidden.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_object_hidden.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "is_object_hidden", + "base": "is_object_hidden", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "is_object_hidden", + "base": "is_object_hidden", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_pane_visible.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_pane_visible.names index 1c5ccdbbb9..1912f6cd4a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_pane_visible.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/is_pane_visible.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "is_pane_visible", + "base": "is_pane_visible", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "is_pane_visible", + "base": "is_pane_visible", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/launch_lua_editor.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/launch_lua_editor.names index 6441e1bcbf..faf537d82c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/launch_lua_editor.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/launch_lua_editor.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "launch_lua_editor", + "base": "launch_lua_editor", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "launch_lua_editor", + "base": "launch_lua_editor", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/load_all_plugins.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/load_all_plugins.names index 7dd292c231..ea52f9730f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/load_all_plugins.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/load_all_plugins.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "load_all_plugins", + "base": "load_all_plugins", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "load_all_plugins", + "base": "load_all_plugins", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/log.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/log.names index 45ac6166f3..77d1490486 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/log.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/log.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "log", + "base": "log", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "log", + "base": "log", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box.names index 934130445b..173dab3495 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "message_box", + "base": "message_box", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "message_box", + "base": "message_box", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box_ok.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box_ok.names index 41baa649e6..d743366a40 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box_ok.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box_ok.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "message_box_ok", + "base": "message_box_ok", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "message_box_ok", + "base": "message_box_ok", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box_yes_no.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box_yes_no.names index ddbdb555ce..4025735021 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box_yes_no.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/message_box_yes_no.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "message_box_yes_no", + "base": "message_box_yes_no", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "message_box_yes_no", + "base": "message_box_yes_no", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/new_sequence.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/new_sequence.names index 2a3f847e54..39736db34c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/new_sequence.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/new_sequence.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "new_sequence", + "base": "new_sequence", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "new_sequence", + "base": "new_sequence", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_file_box.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_file_box.names index 5f4f3c1149..859d6ddeae 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_file_box.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_file_box.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "open_file_box", + "base": "open_file_box", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "open_file_box", + "base": "open_file_box", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_level.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_level.names index 61e4630f84..2f3d6933bd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_level.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_level.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "open_level", + "base": "open_level", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "open_level", + "base": "open_level", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_level_no_prompt.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_level_no_prompt.names index 10cbd7b1b9..51662f268d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_level_no_prompt.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_level_no_prompt.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "open_level_no_prompt", + "base": "open_level_no_prompt", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "open_level_no_prompt", + "base": "open_level_no_prompt", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_pane.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_pane.names index 9f830cbee5..d438c7759f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_pane.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/open_pane.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "open_pane", + "base": "open_pane", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "open_pane", + "base": "open_pane", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/play_sequence.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/play_sequence.names index 4d12503a1e..df1c6cb348 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/play_sequence.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/play_sequence.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "play_sequence", + "base": "play_sequence", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "play_sequence", + "base": "play_sequence", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/redo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/redo.names index 463692b784..0a16085a12 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/redo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/redo.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "redo", + "base": "redo", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "redo", + "base": "redo", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/reload_current_level.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/reload_current_level.names index f031946ef4..9d327766d3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/reload_current_level.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/reload_current_level.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "reload_current_level", + "base": "reload_current_level", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "reload_current_level", + "base": "reload_current_level", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/rename_object.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/rename_object.names index 8ad522a4bb..4cd5fdb146 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/rename_object.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/rename_object.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "rename_object", + "base": "rename_object", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "rename_object", + "base": "rename_object", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/resize_viewport.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/resize_viewport.names index 799a539c9b..586f480591 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/resize_viewport.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/resize_viewport.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "resize_viewport", + "base": "resize_viewport", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "resize_viewport", + "base": "resize_viewport", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_console.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_console.names index be7fec1827..0454fdc37a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_console.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_console.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "run_console", + "base": "run_console", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "run_console", + "base": "run_console", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_file.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_file.names index a3afd9cbe6..4724515921 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_file.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_file.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "run_file", + "base": "run_file", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "run_file", + "base": "run_file", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_file_parameters.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_file_parameters.names index 97ddd6da4d..6417544230 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_file_parameters.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/run_file_parameters.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "run_file_parameters", + "base": "run_file_parameters", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "run_file_parameters", + "base": "run_file_parameters", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/save_level.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/save_level.names index 4d857d6b8c..f96f70092a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/save_level.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/save_level.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "save_level", + "base": "save_level", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "save_level", + "base": "save_level", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/select_object.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/select_object.names index 49d369b69d..c317cc8741 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/select_object.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/select_object.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "select_object", + "base": "select_object", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "select_object", + "base": "select_object", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/select_objects.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/select_objects.names index f2ba054656..30582c5674 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/select_objects.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/select_objects.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "select_objects", + "base": "select_objects", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "select_objects", + "base": "select_objects", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_active_viewport.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_active_viewport.names index 6e39f72c7a..dec588e357 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_active_viewport.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_active_viewport.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_active_viewport", + "base": "set_active_viewport", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_active_viewport", + "base": "set_active_viewport", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_axis_constraint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_axis_constraint.names index 976102bf40..df895c8aec 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_axis_constraint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_axis_constraint.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_axis_constraint", + "base": "set_axis_constraint", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_axis_constraint", + "base": "set_axis_constraint", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_config_spec.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_config_spec.names index 3b6db1b770..61f95d9a04 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_config_spec.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_config_spec.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_config_spec", + "base": "set_config_spec", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_config_spec", + "base": "set_config_spec", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_sequence.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_sequence.names index 39d766270b..aa878daf01 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_sequence.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_sequence.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_current_sequence", + "base": "set_current_sequence", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_current_sequence", + "base": "set_current_sequence", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_view_position.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_view_position.names index d3d6c11b6d..7639083302 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_view_position.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_view_position.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_current_view_position", + "base": "set_current_view_position", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_current_view_position", + "base": "set_current_view_position", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_view_rotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_view_rotation.names index 528a8c067d..afffc8bc0f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_view_rotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_current_view_rotation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_current_view_rotation", + "base": "set_current_view_rotation", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_current_view_rotation", + "base": "set_current_view_rotation", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar.names index 1bf5764d4d..181d11bef8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_cvar", + "base": "set_cvar", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_cvar", + "base": "set_cvar", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_float.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_float.names index cc310cc8a9..c788a79edc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_float.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_float.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_cvar_float", + "base": "set_cvar_float", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_cvar_float", + "base": "set_cvar_float", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_integer.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_integer.names index 032fe7cc99..f5ec182a8a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_integer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_integer.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_cvar_integer", + "base": "set_cvar_integer", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_cvar_integer", + "base": "set_cvar_integer", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_string.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_string.names index a5f7742511..f096f5528f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_string.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_cvar_string.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_cvar_string", + "base": "set_cvar_string", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_cvar_string", + "base": "set_cvar_string", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_misc_editor_settings.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_misc_editor_settings.names index 3c1367794d..00adf7c80f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_misc_editor_settings.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_misc_editor_settings.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_misc_editor_settings", + "base": "set_misc_editor_settings", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_misc_editor_settings", + "base": "set_misc_editor_settings", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_position.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_position.names index f37822b1df..fc9d588b4d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_position.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_position.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_position", + "base": "set_position", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_position", + "base": "set_position", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_recording.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_recording.names index 602dab9b4e..80c0825e98 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_recording.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_recording.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_recording", + "base": "set_recording", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_recording", + "base": "set_recording", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_result_to_failure.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_result_to_failure.names index 27678d2797..5ee0d43f1f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_result_to_failure.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_result_to_failure.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_result_to_failure", + "base": "set_result_to_failure", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_result_to_failure", + "base": "set_result_to_failure", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_result_to_success.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_result_to_success.names index 8cd35d8c2c..1abb4b73f1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_result_to_success.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_result_to_success.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_result_to_success", + "base": "set_result_to_success", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_result_to_success", + "base": "set_result_to_success", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_rotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_rotation.names index 796a6d4c20..c4024f2fc3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_rotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_rotation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_rotation", + "base": "set_rotation", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_rotation", + "base": "set_rotation", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_scale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_scale.names index edbb104612..9f2072047c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_scale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_scale.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_scale", + "base": "set_scale", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_scale", + "base": "set_scale", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_sequence_time_range.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_sequence_time_range.names index aa0d3839c6..5d48f6e909 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_sequence_time_range.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_sequence_time_range.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_sequence_time_range", + "base": "set_sequence_time_range", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_sequence_time_range", + "base": "set_sequence_time_range", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_time.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_time.names index 85ad69a1d7..7cec862361 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_time.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_time.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_time", + "base": "set_time", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_time", + "base": "set_time", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_view_pane_layout.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_view_pane_layout.names index 622b51ca4b..bedaf68083 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_view_pane_layout.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_view_pane_layout.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_view_pane_layout", + "base": "set_view_pane_layout", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_view_pane_layout", + "base": "set_view_pane_layout", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_viewport_expansion_policy.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_viewport_expansion_policy.names index 7e4ac4e305..cbcfd8722b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_viewport_expansion_policy.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_viewport_expansion_policy.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_viewport_expansion_policy", + "base": "set_viewport_expansion_policy", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_viewport_expansion_policy", + "base": "set_viewport_expansion_policy", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_viewport_size.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_viewport_size.names index e5bc133444..473499e785 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_viewport_size.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/set_viewport_size.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "set_viewport_size", + "base": "set_viewport_size", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "set_viewport_size", + "base": "set_viewport_size", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/start_process_detached.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/start_process_detached.names index df5e6182a2..284efd4cb1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/start_process_detached.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/start_process_detached.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "start_process_detached", + "base": "start_process_detached", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "start_process_detached", + "base": "start_process_detached", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/stop_sequence.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/stop_sequence.names index 63f38ab444..8bd02f3962 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/stop_sequence.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/stop_sequence.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "stop_sequence", + "base": "stop_sequence", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "stop_sequence", + "base": "stop_sequence", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/test_output.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/test_output.names index acd55d4b22..472f548239 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/test_output.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/test_output.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "test_output", + "base": "test_output", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "test_output", + "base": "test_output", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/toggle_helpers.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/toggle_helpers.names index 0afcc9d471..f3d5f14365 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/toggle_helpers.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/toggle_helpers.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "toggle_helpers", + "base": "toggle_helpers", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "toggle_helpers", + "base": "toggle_helpers", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/undo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/undo.names index 3fb0afdbf4..9b222815c6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/undo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/undo.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "undo", + "base": "undo", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "undo", + "base": "undo", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unfreeze_object.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unfreeze_object.names index ad29537ab6..5b1d3c5d5c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unfreeze_object.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unfreeze_object.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "unfreeze_object", + "base": "unfreeze_object", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "unfreeze_object", + "base": "unfreeze_object", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unhide_all_objects.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unhide_all_objects.names index 204e2a3fbc..c2526a981a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unhide_all_objects.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unhide_all_objects.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "unhide_all_objects", + "base": "unhide_all_objects", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "unhide_all_objects", + "base": "unhide_all_objects", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unhide_object.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unhide_object.names index 22a74940a8..d15ceed4bb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unhide_object.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unhide_object.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "unhide_object", + "base": "unhide_object", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "unhide_object", + "base": "unhide_object", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unselect_objects.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unselect_objects.names index f0052c8c3d..19b8dba917 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unselect_objects.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/unselect_objects.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "unselect_objects", + "base": "unselect_objects", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "unselect_objects", + "base": "unselect_objects", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/update_viewport.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/update_viewport.names index da63239c14..d31ccb6f5a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/update_viewport.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/update_viewport.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "update_viewport", + "base": "update_viewport", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "update_viewport", + "base": "update_viewport", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/wait_for_debugger.names b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/wait_for_debugger.names index 1000a983b8..a8d361cd31 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/wait_for_debugger.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods/wait_for_debugger.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "wait_for_debugger", + "base": "wait_for_debugger", "context": "Method", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "wait_for_debugger", + "base": "wait_for_debugger", "context": "Global", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Globals.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Globals.names index 1b93f04513..678897118c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Globals.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Globals.names @@ -1,7 +1,7 @@ { "entries" : [ { - "key": "EBusSenderBusId", + "base": "EBusSenderBusId", "context": "Globals", "details": { "name": "Source", @@ -9,7 +9,7 @@ } }, { - "key": "EBusHandlerBusId", + "base": "EBusHandlerBusId", "context": "Globals", "details": { @@ -18,7 +18,7 @@ } }, { - "key": "MissingFunction", + "base": "MissingFunction", "context": "Globals", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_AddElementatEnd.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_AddElementatEnd.names index 0d072e6ea8..30d402f254 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_AddElementatEnd.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_AddElementatEnd.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{11DDEEC1-7111-4655-B47F-8F0372B1A1A9}", + "base": "{11DDEEC1-7111-4655-B47F-8F0372B1A1A9}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,26 +12,26 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Container", + "base": "DataOutput_Container", "details": { "name": "Container" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Output signal" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ClearAllElements.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ClearAllElements.names index b47f53879c..4e071c5e32 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ClearAllElements.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ClearAllElements.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{26DDC284-BD01-471E-BA8F-36C3A1ADA169}", + "base": "{26DDC284-BD01-471E-BA8F-36C3A1ADA169}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Container", + "base": "DataOutput_Container", "details": { "name": "Container" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Erase.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Erase.names index e383061fa8..601836b23d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Erase.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Erase.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F1A891C9-81D4-4675-A57A-F11AB415F95F}", + "base": "{F1A891C9-81D4-4675-A57A-F11AB415F95F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,33 +12,33 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Container", + "base": "DataOutput_Container", "details": { "name": "Container" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Output signal" } }, { - "key": "Output_Element Not Found", + "base": "Output_Element Not Found", "details": { "name": "Element Not Found", "tooltip": "Triggered if the specified element was not found" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ForEach.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ForEach.names index a2761b6317..817bbf8e17 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ForEach.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ForEach.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{31823035-A3FF-4B8D-A3A6-819519478B7C}", + "base": "{31823035-A3FF-4B8D-A3A6-819519478B7C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,34 +11,34 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signaled upon node entry" } }, { - "key": "Input_Break", + "base": "Input_Break", "details": { "name": "Break", "tooltip": "Stops the iteration when signaled" } }, { - "key": "Output_Each", + "base": "Output_Each", "details": { "name": "Each", "tooltip": "Signalled after each element of the container" } }, { - "key": "Output_Finished", + "base": "Output_Finished", "details": { "name": "Finished", "tooltip": "The container has been fully iterated over" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetElement.names index 78e2fa80bb..fab464a029 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetElement.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6A4FE29F-3BAA-40D6-8BEE-CDE9CCBD7885}", + "base": "{6A4FE29F-3BAA-40D6-8BEE-CDE9CCBD7885}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,27 +12,27 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Output signal" } }, { - "key": "Output_Key Not Found", + "base": "Output_Key Not Found", "details": { "name": "Key Not Found", "tooltip": "Triggered if the specified key was not found" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetFirstElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetFirstElement.names index 0caeac4589..fa616642b4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetFirstElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetFirstElement.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B0E10176-5DFE-4D34-BEF8-7EB575929CE7}", + "base": "{B0E10176-5DFE-4D34-BEF8-7EB575929CE7}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,20 +12,20 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Output signal" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetLastElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetLastElement.names index cf9a85190a..2c13a87d7b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetLastElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetLastElement.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B7E79DC5-21DA-4001-8284-85707C71C29B}", + "base": "{B7E79DC5-21DA-4001-8284-85707C71C29B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,20 +12,20 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Output signal" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetSize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetSize.names index 2f79842f7b..1f7dbdad03 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetSize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetSize.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{981EA18E-F421-4B39-9FF7-27322F3E8B14}", + "base": "{981EA18E-F421-4B39-9FF7-27322F3E8B14}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "DataOutput_Size", + "base": "DataOutput_Size", "details": { "name": "Size" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Insert.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Insert.names index 1aaf93f172..347510eeeb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Insert.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Insert.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{122B30C9-30A6-4CAF-B4E3-327A6C1A1E38}", + "base": "{122B30C9-30A6-4CAF-B4E3-327A6C1A1E38}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,26 +12,26 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Container", + "base": "DataOutput_Container", "details": { "name": "Container" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Output signal" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_IsEmpty.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_IsEmpty.names index 80ea4073b0..a3254521e2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_IsEmpty.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_IsEmpty.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{670FCD62-BAA8-4812-9CF2-C3F2EC5F54F5}", + "base": "{670FCD62-BAA8-4812-9CF2-C3F2EC5F54F5}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,39 +12,39 @@ }, "slots": [ { - "key": "DataOutput_Is Empty", + "base": "DataOutput_Is Empty", "details": { "name": "Is Empty" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "The container is empty" } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "The container is not empty" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_AZEventHandler.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_AZEventHandler.names index fad144c78d..af1e8efe7a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_AZEventHandler.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_AZEventHandler.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{38B808C5-152C-4643-A08C-463EBED55E19}", + "base": "{38B808C5-152C-4643-A08C-463EBED55E19}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,35 +11,35 @@ }, "slots": [ { - "key": "Input_Connect", + "base": "Input_Connect", "details": { "name": "Connect", "tooltip": "Connect the AZ Event to this AZ Event Handler." } }, { - "key": "Input_Disconnect", + "base": "Input_Disconnect", "details": { "name": "Disconnect", "tooltip": "Disconnect current AZ Event from this AZ Event Handler." } }, { - "key": "Output_On Connected", + "base": "Output_On Connected", "details": { "name": "On Connected", "tooltip": "Signaled when a connection has taken place." } }, { - "key": "Output_On Disconnected", + "base": "Output_On Disconnected", "details": { "name": "On Disconnected", "tooltip": "Signaled when this event handler is disconnected." } }, { - "key": "Output_OnEvent", + "base": "Output_OnEvent", "details": { "name": "OnEvent", "tooltip": "Triggered when the AZ Event invokes Signal() function." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_EventHandler.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_EventHandler.names index f48256fc26..1a09bb23d9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_EventHandler.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_EventHandler.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{33E12915-EFCA-4AA7-A188-D694DAD58980}", + "base": "{33E12915-EFCA-4AA7-A188-D694DAD58980}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,35 +11,35 @@ }, "slots": [ { - "key": "Input_Connect", + "base": "Input_Connect", "details": { "name": "Connect", "tooltip": "Connect this event handler to the specified entity." } }, { - "key": "Input_Disconnect", + "base": "Input_Disconnect", "details": { "name": "Disconnect", "tooltip": "Disconnect this event handler." } }, { - "key": "Output_OnConnected", + "base": "Output_OnConnected", "details": { "name": "OnConnected", "tooltip": "Signaled when a connection has taken place." } }, { - "key": "Output_OnDisconnected", + "base": "Output_OnDisconnected", "details": { "name": "OnDisconnected", "tooltip": "Signaled when this event handler is disconnected." } }, { - "key": "Output_OnFailure", + "base": "Output_OnFailure", "details": { "name": "OnFailure", "tooltip": "Signaled when it is not possible to connect this handler." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionCallNode.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionCallNode.names index ee37919f03..6d7518a9f2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionCallNode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionCallNode.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{ECFDD30E-A16D-4435-97B7-B2A4DF3C543A}", + "base": "{ECFDD30E-A16D-4435-97B7-B2A4DF3C543A}", "context": "ScriptCanvas::Node", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionDefinition.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionDefinition.names index 6a92f74240..da666253e6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionDefinition.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionDefinition.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4EE28D9F-67FB-4E61-B777-5DC5B059710F}", + "base": "{4EE28D9F-67FB-4E61-B777-5DC5B059710F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,13 +12,13 @@ }, "slots": [ { - "key": "Input_ ", + "base": "Input_ ", "details": { "name": " " } }, { - "key": "Output_ ", + "base": "Output_ ", "details": { "name": " " } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Method.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Method.names index bcf7aa9fc1..a3caeb6440 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Method.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Method.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF}", + "base": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF}", "context": "ScriptCanvas::Node", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_MethodOverloaded.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_MethodOverloaded.names index 75b1a6e9ff..8c778bf0b6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_MethodOverloaded.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_MethodOverloaded.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{C1E3C9D0-42E3-4D00-AE73-2A881E7E76A8}", + "base": "{C1E3C9D0-42E3-4D00-AE73-2A881E7E76A8}", "context": "ScriptCanvas::Node", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Nodeling.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Nodeling.names index 1de4824300..58dd499c58 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Nodeling.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Nodeling.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4413EEA0-8D81-4D61-A1E1-3C1A437F3643}", + "base": "{4413EEA0-8D81-4D61-A1E1-3C1A437F3643}", "context": "ScriptCanvas::Node", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_ReceiveScriptEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_ReceiveScriptEvent.names index a8bb3559df..ee0a92ccae 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_ReceiveScriptEvent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_ReceiveScriptEvent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{76CF9938-4A7E-4CDA-8DF3-77C10239D99C}", + "base": "{76CF9938-4A7E-4CDA-8DF3-77C10239D99C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,35 +11,35 @@ }, "slots": [ { - "key": "Input_Connect", + "base": "Input_Connect", "details": { "name": "Connect", "tooltip": "Connect this event handler to the specified entity." } }, { - "key": "Input_Disconnect", + "base": "Input_Disconnect", "details": { "name": "Disconnect", "tooltip": "Disconnect this event handler." } }, { - "key": "Output_OnConnected", + "base": "Output_OnConnected", "details": { "name": "OnConnected", "tooltip": "Signaled when a connection has taken place." } }, { - "key": "Output_OnDisconnected", + "base": "Output_OnDisconnected", "details": { "name": "OnDisconnected", "tooltip": "Signaled when this event handler is disconnected." } }, { - "key": "Output_OnFailure", + "base": "Output_OnFailure", "details": { "name": "OnFailure", "tooltip": "Signaled when it is not possible to connect this handler." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_SendScriptEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_SendScriptEvent.names index 6d1949f5de..d5faa52c52 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_SendScriptEvent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_SendScriptEvent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{64A97CC3-2BEA-4B47-809B-6C7DA34FD00F}", + "base": "{64A97CC3-2BEA-4B47-809B-6C7DA34FD00F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,14 +11,14 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Fires the specified ScriptEvent when signaled" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Trigged after the ScriptEvent has been signaled and returns" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Add.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Add.names index f3535c9627..e78805904d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Add.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Add.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2AFC1F99-6216-58E1-9E06-7F0E50C64E53}", + "base": "{2AFC1F99-6216-58E1-9E06-7F0E50C64E53}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Matrix3x3: A", + "base": "DataInput_Matrix3x3: A", "details": { "name": "Matrix3x3: A" } }, { - "key": "DataInput_Matrix3x3: B", + "base": "DataInput_Matrix3x3: B", "details": { "name": "Matrix3x3: B" } }, { - "key": "DataOutput_Result: Matrix3x3", + "base": "DataOutput_Result: Matrix3x3", "details": { "name": "Result: Matrix3x3" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByNumber.names index 2ed99278ea..32e7e9b9ca 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByNumber.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{397FA4E6-72E7-51EB-A546-70415FCCE4B0}", + "base": "{397FA4E6-72E7-51EB-A546-70415FCCE4B0}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Matrix3x3: Source", + "base": "DataInput_Matrix3x3: Source", "details": { "name": "Matrix3x3: Source" } }, { - "key": "DataInput_Number: Divisor", + "base": "DataInput_Number: Divisor", "details": { "name": "Number: Divisor" } }, { - "key": "DataOutput_Result: Matrix3x3", + "base": "DataOutput_Result: Matrix3x3", "details": { "name": "Result: Matrix3x3" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByVector.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByVector.names index 047ddaf2cd..d0fbd8fefb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByVector.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByVector.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{57BA2085-2225-5E7E-B132-9CCD0AFC55EA}", + "base": "{57BA2085-2225-5E7E-B132-9CCD0AFC55EA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector3: Numerator", + "base": "DataInput_Vector3: Numerator", "details": { "name": "Vector3: Numerator" } }, { - "key": "DataInput_Vector3: Divisor", + "base": "DataInput_Vector3: Divisor", "details": { "name": "Vector3: Divisor" } }, { - "key": "DataOutput_Result: Vector3", + "base": "DataOutput_Result: Vector3", "details": { "name": "Result: Vector3" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Length.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Length.names index c1bd57ec2d..1f534b7480 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Length.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Length.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F269F2DB-F2D8-515D-BA5C-4C9E28A725E3}", + "base": "{F269F2DB-F2D8-515D-BA5C-4C9E28A725E3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Quaternion: Source", + "base": "DataInput_Quaternion: Source", "details": { "name": "Quaternion: Source" } }, { - "key": "DataOutput_Result: Number", + "base": "DataOutput_Result: Number", "details": { "name": "Result: Number" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByColor.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByColor.names index 3b78e5ec29..b5330e253a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByColor.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByColor.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8EE5053F-63BF-5E73-A88F-BD09C09DA9DB}", + "base": "{8EE5053F-63BF-5E73-A88F-BD09C09DA9DB}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Color: A", + "base": "DataInput_Color: A", "details": { "name": "Color: A" } }, { - "key": "DataInput_Color: B", + "base": "DataInput_Color: B", "details": { "name": "Color: B" } }, { - "key": "DataOutput_Result: Color", + "base": "DataOutput_Result: Color", "details": { "name": "Result: Color" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByMatrix.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByMatrix.names index 5e5ebdf865..934d7deea7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByMatrix.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByMatrix.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{FDB0FF00-F185-5CCF-851A-BBD5116C43EC}", + "base": "{FDB0FF00-F185-5CCF-851A-BBD5116C43EC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Matrix3x3: A", + "base": "DataInput_Matrix3x3: A", "details": { "name": "Matrix3x3: A" } }, { - "key": "DataInput_Matrix3x3: B", + "base": "DataInput_Matrix3x3: B", "details": { "name": "Matrix3x3: B" } }, { - "key": "DataOutput_Result: Matrix3x3", + "base": "DataOutput_Result: Matrix3x3", "details": { "name": "Result: Matrix3x3" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByRotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByRotation.names index 0dd6bdd33e..fa8a381927 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByRotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByRotation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F2A25BFC-41AA-5F9F-ABDF-48B662349AD6}", + "base": "{F2A25BFC-41AA-5F9F-ABDF-48B662349AD6}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Quaternion: A", + "base": "DataInput_Quaternion: A", "details": { "name": "Quaternion: A" } }, { - "key": "DataInput_Quaternion: B", + "base": "DataInput_Quaternion: B", "details": { "name": "Quaternion: B" } }, { - "key": "DataOutput_Result: Quaternion", + "base": "DataOutput_Result: Quaternion", "details": { "name": "Result: Quaternion" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByTransform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByTransform.names index 9f62840b3e..946f79aa5e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByTransform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByTransform.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{65B35991-D740-5DE6-815D-4FF5A24F08FD}", + "base": "{65B35991-D740-5DE6-815D-4FF5A24F08FD}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Transform: A", + "base": "DataInput_Transform: A", "details": { "name": "Transform: A" } }, { - "key": "DataInput_Transform: B", + "base": "DataInput_Transform: B", "details": { "name": "Transform: B" } }, { - "key": "DataOutput_Result: Transform", + "base": "DataOutput_Result: Transform", "details": { "name": "Result: Transform" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByVector.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByVector.names index 9f9a08d3e4..70747caf68 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByVector.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByVector.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{111CD1EE-A5E8-583B-B339-FD48AFE7341C}", + "base": "{111CD1EE-A5E8-583B-B339-FD48AFE7341C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector4: Source", + "base": "DataInput_Vector4: Source", "details": { "name": "Vector4: Source" } }, { - "key": "DataInput_Vector4: Multiplier", + "base": "DataInput_Vector4: Multiplier", "details": { "name": "Vector4: Multiplier" } }, { - "key": "DataOutput_Result: Vector4", + "base": "DataOutput_Result: Vector4", "details": { "name": "Result: Vector4" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Negate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Negate.names index c2fa0e5b4e..4f209d49d4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Negate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Negate.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E2BE3BC4-5C86-5425-981D-E6A5EECC2C0C}", + "base": "{E2BE3BC4-5C86-5425-981D-E6A5EECC2C0C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Color: Source", + "base": "DataInput_Color: Source", "details": { "name": "Color: Source" } }, { - "key": "DataOutput_Result: Color", + "base": "DataOutput_Result: Color", "details": { "name": "Result: Color" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Subtract.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Subtract.names index 324007d226..ddd6536be0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Subtract.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Subtract.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{C94009EE-73ED-5CA2-B1AC-026EB08D1EF5}", + "base": "{C94009EE-73ED-5CA2-B1AC-026EB08D1EF5}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector3: A", + "base": "DataInput_Vector3: A", "details": { "name": "Vector3: A" } }, { - "key": "DataInput_Vector3: B", + "base": "DataInput_Vector3: B", "details": { "name": "Vector3: B" } }, { - "key": "DataOutput_Result: Vector3", + "base": "DataOutput_Result: Vector3", "details": { "name": "Result: Vector3" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_Mock.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_Mock.names index 4e33483463..28d26f5b30 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_Mock.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_Mock.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{91B3D89A-4A4B-49FF-AD91-CAAC49E141A8}", + "base": "{91B3D89A-4A4B-49FF-AD91-CAAC49E141A8}", "context": "ScriptCanvas::Node", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_WrapperMock.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_WrapperMock.names index 156e80f7a8..de6117ff88 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_WrapperMock.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_WrapperMock.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{14C6CE68-906A-4D2F-89BA-153774CE8015}", + "base": "{14C6CE68-906A-4D2F-89BA-153774CE8015}", "context": "ScriptCanvas::Node", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityForward.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityForward.names index 7830b046f7..582552020f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityForward.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityForward.names @@ -1,44 +1,43 @@ { "entries": [ { - "key": "{1657EA13-3DAF-5E38-8964-D4480017C601}", + "base": "{1657EA13-3DAF-5E38-8964-D4480017C601}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "GetEntityForward", + "name": "Get Entity Forward", "category": "Entity/Entity", - "tooltip": "returns the forward direction vector from the specified entity' world transform, scaled by a given value (O3DE uses Z up, right handed)", - "subtitle": "Entity" + "tooltip": "Returns the forward direction vector from the specified entity' world transform, scaled by a given value (O3DE uses Z up, right handed)" }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_EntityID: EntityId", + "base": "DataInput_EntityId", "details": { - "name": "EntityID: EntityId" + "name": "EntityId" } }, { - "key": "DataInput_Number: Scale", + "base": "DataInput_Scale", "details": { - "name": "Number: Scale" + "name": "Scale" } }, { - "key": "DataOutput_Result: Vector3", + "base": "DataOutput_Result", "details": { - "name": "Result: Vector3" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityRight.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityRight.names index 9e990f6214..1d8a2958e5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityRight.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityRight.names @@ -1,44 +1,43 @@ { "entries": [ { - "key": "{6DE350DE-4FB9-5D7C-816A-48A3371613F3}", + "base": "{6DE350DE-4FB9-5D7C-816A-48A3371613F3}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "GetEntityRight", + "name": "Get Entity Right", "category": "Entity/Entity", - "tooltip": "returns the right direction vector from the specified entity's world transform, scaled by a given value (O3DE uses Z up, right handed)", - "subtitle": "Entity" + "tooltip": "Returns the right direction vector from the specified entity's world transform, scaled by a given value (O3DE uses Z up, right handed)" }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_EntityID: EntityId", + "base": "DataInput_EntityId", "details": { - "name": "EntityID: EntityId" + "name": "EntityId" } }, { - "key": "DataInput_Number: Scale", + "base": "DataInput_Scale", "details": { - "name": "Number: Scale" + "name": "Scale" } }, { - "key": "DataOutput_Result: Vector3", + "base": "DataOutput_Result", "details": { - "name": "Result: Vector3" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityUp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityUp.names index b9e6261532..55e4e5c419 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityUp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityUp.names @@ -1,44 +1,43 @@ { "entries": [ { - "key": "{B091D01E-170D-5FCC-9525-89CED4CDAB27}", + "base": "{B091D01E-170D-5FCC-9525-89CED4CDAB27}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "GetEntityUp", + "name": "Get Entity Up", "category": "Entity/Entity", - "tooltip": "returns the up direction vector from the specified entity's world transform, scaled by a given value (O3DE uses Z up, right handed)", - "subtitle": "Entity" + "tooltip": "Returns the up direction vector from the specified entity's world transform, scaled by a given value (O3DE uses Z up, right handed)" }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_EntityID: EntityId", + "base": "DataInput_EntityId", "details": { - "name": "EntityID: EntityId" + "name": "EntityId" } }, { - "key": "DataInput_Number: Scale", + "base": "DataInput_Scale", "details": { - "name": "Number: Scale" + "name": "Scale" } }, { - "key": "DataOutput_Result: Vector3", + "base": "DataOutput_Result", "details": { - "name": "Result: Vector3" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsActive.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsActive.names index 4ae41d7b6d..5969f5e851 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsActive.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsActive.names @@ -1,38 +1,37 @@ { "entries": [ { - "key": "{E15BFD9C-5DD0-5BA9-8573-E3D38CC9ACD0}", + "base": "{E15BFD9C-5DD0-5BA9-8573-E3D38CC9ACD0}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "IsActive", + "name": "Is Active", "category": "Entity/Entity", - "tooltip": "returns true if entity with the provided Id is valid and active.", - "subtitle": "Entity" + "tooltip": "Returns true if entity with the provided Id is valid and active." }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_EntityID: Entity Id", + "base": "DataInput_Entity Id", "details": { - "name": "EntityID: Entity Id" + "name": "Entity Id" } }, { - "key": "DataOutput_Result: Boolean", + "base": "DataOutput_Result", "details": { - "name": "Result: Boolean" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsValid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsValid.names index 67ca271f59..5f8783a4d6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsValid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsValid.names @@ -1,38 +1,37 @@ { "entries": [ { - "key": "{54817D10-8D9E-5801-A507-8A2CE16F94E4}", + "base": "{54817D10-8D9E-5801-A507-8A2CE16F94E4}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "IsValid", + "name": "Is Valid", "category": "Entity/Entity", - "tooltip": "returns true if Source is valid, else false", - "subtitle": "Entity" + "tooltip": "Returns true if Source is valid, else false" }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_EntityID: Source", + "base": "DataInput_Source", "details": { - "name": "EntityID: Source" + "name": "Source" } }, { - "key": "DataOutput_Result: Boolean", + "base": "DataOutput_Result", "details": { - "name": "Result: Boolean" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_ToString.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_ToString.names index f8048d0839..1c2d36859d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_ToString.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_ToString.names @@ -1,38 +1,37 @@ { "entries": [ { - "key": "{BFC3DC19-979B-5277-8B42-00FCF0CCF52D}", + "base": "{BFC3DC19-979B-5277-8B42-00FCF0CCF52D}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "ToString", + "name": "To String", "category": "Entity/Entity", - "tooltip": "returns a string representation of Source", - "subtitle": "Entity" + "tooltip": "Returns a string representation of Source" }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_EntityID: Source", + "base": "DataInput_Source", "details": { - "name": "EntityID: Source" + "name": "Source" } }, { - "key": "DataOutput_Result: String", + "base": "DataOutput_Result", "details": { - "name": "Result: String" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Input_InputHandler.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Input_InputHandler.names index 3d8d866497..e11a54b639 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Input_InputHandler.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Input_InputHandler.names @@ -1,57 +1,57 @@ { "entries": [ { - "key": "{0A2EB488-5A6A-E166-BB62-23FF81499E33}", + "base": "{0A2EB488-5A6A-E166-BB62-23FF81499E33}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "InputHandler", - "category": "Input", + "name": "Input Handler", + "category": "Input/Input System", "tooltip": "Handle processed input events found in input binding assets" }, "slots": [ { - "key": "Input_Connect Event", + "base": "Input_Connect Event", "details": { "name": "Connect Event", "tooltip": "Connect to input event name as defined in an input binding asset." } }, { - "key": "DataInput_Event Name", + "base": "DataInput_Event Name", "details": { "name": "Event Name" } }, { - "key": "Output_On Connect Event", + "base": "Output_On Connect Event", "details": { "name": "On Connect Event", "tooltip": "Connect to input event name as defined in an input binding asset." } }, { - "key": "Output_Pressed", + "base": "Output_Pressed", "details": { "name": "Pressed", "tooltip": "Signaled when the input event begins." } }, { - "key": "DataOutput_value", + "base": "DataOutput_value", "details": { "name": "value" } }, { - "key": "Output_Held", + "base": "Output_Held", "details": { "name": "Held", "tooltip": "Signaled while the input event is active." } }, { - "key": "Output_Released", + "base": "Output_Released", "details": { "name": "Released", "tooltip": "Signaled when the input event ends." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ExpressionNodeBase.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ExpressionNodeBase.names index 3d681d3e39..2d9711106c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ExpressionNodeBase.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ExpressionNodeBase.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{797C800D-8C96-4675-B5B5-2A321AC09433}", + "base": "{797C800D-8C96-4675-B5B5-2A321AC09433}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,7 +12,7 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ScriptEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ScriptEvent.names index 82e6bc7617..d475d33102 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ScriptEvent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ScriptEvent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B6614CEC-4788-476C-A19A-BA0A8B490C73}", + "base": "{B6614CEC-4788-476C-A19A-BA0A8B490C73}", "context": "ScriptCanvas::Node", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_StringFormatted.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_StringFormatted.names index be94cea028..12ad68d7e3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_StringFormatted.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_StringFormatted.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0B1577E0-339D-4573-93D1-6C311AD12A13}", + "base": "{0B1577E0-339D-4573-93D1-6C311AD12A13}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,20 +12,20 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/LogicDeprecated_Indexer.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/LogicDeprecated_Indexer.names index 82d430365d..21b990bd6e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/LogicDeprecated_Indexer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/LogicDeprecated_Indexer.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{61E2CDC6-5CFA-47A2-8936-6A4332511E28}", + "base": "{61E2CDC6-5CFA-47A2-8936-6A4332511E28}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,63 +12,63 @@ }, "slots": [ { - "key": "Input_In0", + "base": "Input_In0", "details": { "name": "In0", "tooltip": "Input 0" } }, { - "key": "Input_In1", + "base": "Input_In1", "details": { "name": "In1", "tooltip": "Input 1" } }, { - "key": "Input_In2", + "base": "Input_In2", "details": { "name": "In2", "tooltip": "Input 2" } }, { - "key": "Input_In3", + "base": "Input_In3", "details": { "name": "In3", "tooltip": "Input 3" } }, { - "key": "Input_In4", + "base": "Input_In4", "details": { "name": "In4", "tooltip": "Input 4" } }, { - "key": "Input_In5", + "base": "Input_In5", "details": { "name": "In5", "tooltip": "Input 5" } }, { - "key": "Input_In6", + "base": "Input_In6", "details": { "name": "In6", "tooltip": "Input 6" } }, { - "key": "Input_In7", + "base": "Input_In7", "details": { "name": "In7", "tooltip": "Input 7" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled when the node is triggered." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_And.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_And.names index 24c7fefe80..a98ca0b451 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_And.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_And.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4043C9B7-4ACC-42FE-9C46-EAD7BB718C99}", + "base": "{4043C9B7-4ACC-42FE-9C46-EAD7BB718C99}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,40 +11,40 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Any.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Any.names index 4d57734566..d323290c96 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Any.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Any.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6359C34F-3C34-4784-9FFD-18F1C8E3482D}", + "base": "{6359C34F-3C34-4784-9FFD-18F1C8E3482D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,13 +11,13 @@ }, "slots": [ { - "key": "Input_Input 0", + "base": "Input_Input 0", "details": { "name": "Input 0" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled when the node receives a signal from the selected index" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Break.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Break.names index 0f07c55f1b..9763a75d7c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Break.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Break.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{931A68D0-E3AD-44A7-A7BB-126A8F39C02F}", + "base": "{931A68D0-E3AD-44A7-A7BB-126A8F39C02F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,13 +12,13 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out 0", + "base": "Output_Out 0", "details": { "name": "Out 0", "tooltip": "Output 0" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Cycle.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Cycle.names index 16f28e96b8..0f7c401571 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Cycle.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Cycle.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{974258F5-EE1B-4AEE-B956-C7B303801847}", + "base": "{974258F5-EE1B-4AEE-B956-C7B303801847}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,13 +11,13 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out 0", + "base": "Output_Out 0", "details": { "name": "Out 0", "tooltip": "Output 0" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_If.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_If.names index 95fde7b078..34d7c6b746 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_If.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_If.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F19CC10A-02FD-4E75-ADAA-9CFBD8A4E2F8}", + "base": "{F19CC10A-02FD-4E75-ADAA-9CFBD8A4E2F8}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,27 +11,27 @@ }, "slots": [ { - "key": "DataInput_Condition", + "base": "DataInput_Condition", "details": { "name": "Condition" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the condition provided evaluates to true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the condition provided evaluates to false." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_IsNull.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_IsNull.names index 381a1c56f2..b36abc7903 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_IsNull.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_IsNull.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{760CE936-7059-42A3-A177-530A662E4ECF}", + "base": "{760CE936-7059-42A3-A177-530A662E4ECF}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,33 +11,33 @@ }, "slots": [ { - "key": "DataInput_Reference", + "base": "DataInput_Reference", "details": { "name": "Reference" } }, { - "key": "DataOutput_Is Null", + "base": "DataOutput_Is Null", "details": { "name": "Is Null" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the reference provided is null." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the reference provided is not null." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Multiplexer.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Multiplexer.names index c7e7a7ebd3..a0c6110b96 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Multiplexer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Multiplexer.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2FE432CB-9969-4273-BE04-DEF949C288F0}", + "base": "{2FE432CB-9969-4273-BE04-DEF949C288F0}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,69 +11,69 @@ }, "slots": [ { - "key": "DataInput_Index", + "base": "DataInput_Index", "details": { "name": "Index" } }, { - "key": "Input_In0", + "base": "Input_In0", "details": { "name": "In0", "tooltip": "Input 0" } }, { - "key": "Input_In1", + "base": "Input_In1", "details": { "name": "In1", "tooltip": "Input 1" } }, { - "key": "Input_In2", + "base": "Input_In2", "details": { "name": "In2", "tooltip": "Input 2" } }, { - "key": "Input_In3", + "base": "Input_In3", "details": { "name": "In3", "tooltip": "Input 3" } }, { - "key": "Input_In4", + "base": "Input_In4", "details": { "name": "In4", "tooltip": "Input 4" } }, { - "key": "Input_In5", + "base": "Input_In5", "details": { "name": "In5", "tooltip": "Input 5" } }, { - "key": "Input_In6", + "base": "Input_In6", "details": { "name": "In6", "tooltip": "Input 6" } }, { - "key": "Input_In7", + "base": "Input_In7", "details": { "name": "In7", "tooltip": "Input 7" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled when the node receives a signal from the selected index" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Not.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Not.names index 79b7924e1f..37104685a0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Not.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Not.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{EF6BA813-9AF9-45CF-A8A4-7F800D7B7CB0}", + "base": "{EF6BA813-9AF9-45CF-A8A4-7F800D7B7CB0}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,33 +11,33 @@ }, "slots": [ { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Once.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Once.names index e841ecdb2d..f35f338941 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Once.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Once.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0E37D3CA-2862-4667-BFDB-7393DD48241B}", + "base": "{0E37D3CA-2862-4667-BFDB-7393DD48241B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,28 +11,28 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Input_Reset", + "base": "Input_Reset", "details": { "name": "Reset", "tooltip": "Reset signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Output signal" } }, { - "key": "Output_On Reset", + "base": "Output_On Reset", "details": { "name": "On Reset", "tooltip": "Triggered when Reset" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Or.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Or.names index 334acb117e..492f4d2a44 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Or.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Or.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{363F9994-8D55-4117-BE94-EFF536BDAC17}", + "base": "{363F9994-8D55-4117-BE94-EFF536BDAC17}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,40 +11,40 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_OrderedSequencer.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_OrderedSequencer.names index 10b97e3dab..c82ae5b04f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_OrderedSequencer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_OrderedSequencer.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{BAFDA139-49A8-453B-A556-D4F4BA213B5C}", + "base": "{BAFDA139-49A8-453B-A556-D4F4BA213B5C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,13 +12,13 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out 0", + "base": "Output_Out 0", "details": { "name": "Out 0", "tooltip": "Output 0" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_RandomSignal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_RandomSignal.names index 6fb5e1341f..75094119a8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_RandomSignal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_RandomSignal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{DFB13C5E-5FB3-4650-BD3A-E1AD79CD42AC}", + "base": "{DFB13C5E-5FB3-4650-BD3A-E1AD79CD42AC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,19 +12,19 @@ }, "slots": [ { - "key": "DataInput_Weight 1", + "base": "DataInput_Weight 1", "details": { "name": "Weight 1" } }, { - "key": "Output_Out 1", + "base": "Output_Out 1", "details": { "name": "Out 1" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Sequencer.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Sequencer.names index a97c4240c3..8856ddd2ac 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Sequencer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Sequencer.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{CB98B828-BF86-4623-BF73-396A68FA386A}", + "base": "{CB98B828-BF86-4623-BF73-396A68FA386A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,82 +11,82 @@ }, "slots": [ { - "key": "DataInput_Index", + "base": "DataInput_Index", "details": { "name": "Index" } }, { - "key": "DataInput_Order", + "base": "DataInput_Order", "details": { "name": "Order" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Input_Next", + "base": "Input_Next", "details": { "name": "Next", "tooltip": "When next is activated, it enables the next output" } }, { - "key": "Output_Out0", + "base": "Output_Out0", "details": { "name": "Out0", "tooltip": "Output 0" } }, { - "key": "Output_Out1", + "base": "Output_Out1", "details": { "name": "Out1", "tooltip": "Output 1" } }, { - "key": "Output_Out2", + "base": "Output_Out2", "details": { "name": "Out2", "tooltip": "Output 2" } }, { - "key": "Output_Out3", + "base": "Output_Out3", "details": { "name": "Out3", "tooltip": "Output 3" } }, { - "key": "Output_Out4", + "base": "Output_Out4", "details": { "name": "Out4", "tooltip": "Output 4" } }, { - "key": "Output_Out5", + "base": "Output_Out5", "details": { "name": "Out5", "tooltip": "Output 5" } }, { - "key": "Output_Out6", + "base": "Output_Out6", "details": { "name": "Out6", "tooltip": "Output 6" } }, { - "key": "Output_Out7", + "base": "Output_Out7", "details": { "name": "Out7", "tooltip": "Output 7" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Switch.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Switch.names index 20d7175aba..3791eb864e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Switch.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Switch.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E1B5F3F8-AFEE-42C9-A22C-CB93F8281CC4}", + "base": "{E1B5F3F8-AFEE-42C9-A22C-CB93F8281CC4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,19 +11,19 @@ }, "slots": [ { - "key": "DataInput_Index", + "base": "DataInput_Index", "details": { "name": "Index" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out 0", + "base": "Output_Out 0", "details": { "name": "Out 0", "tooltip": "Output 0" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_While.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_While.names index ccd9bfb6b3..a1bd16a211 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_While.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_While.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{C5BDF392-9669-4928-A0F5-F55B8A5B3BAC}", + "base": "{C5BDF392-9669-4928-A0F5-F55B8A5B3BAC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,26 +11,26 @@ }, "slots": [ { - "key": "DataInput_Condition", + "base": "DataInput_Condition", "details": { "name": "Condition" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signalled if the condition is false, or if the loop calls the break node" } }, { - "key": "Output_Loop", + "base": "Output_Loop", "details": { "name": "Loop", "tooltip": "Signalled if the condition is true, and every time the last node of 'Loop' finishes" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddAABB.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddAABB.names index 0b5c5f26ea..81545f0ba2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddAABB.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddAABB.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0C1257A0-DB57-5E29-9CA4-595B3AE8BA87}", + "base": "{0C1257A0-DB57-5E29-9CA4-595B3AE8BA87}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: A", + "base": "DataInput_AABB: A", "details": { "name": "First" } }, { - "key": "DataInput_AABB: B", + "base": "DataInput_AABB: B", "details": { "name": "Second" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddPoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddPoint.names index e22bafcc60..fd88952e19 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddPoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddPoint.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2FEFADF8-0D3F-5796-BB6B-C7B8758A5751}", + "base": "{2FEFADF8-0D3F-5796-BB6B-C7B8758A5751}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataInput_Vector3: Point", + "base": "DataInput_Vector3: Point", "details": { "name": "Point" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ApplyTransform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ApplyTransform.names index ad01a37239..874cd39c9f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ApplyTransform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ApplyTransform.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B1930C91-3527-593E-A382-DACC9E9C2245}", + "base": "{B1930C91-3527-593E-A382-DACC9E9C2245}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataInput_Transform: Transform", + "base": "DataInput_Transform: Transform", "details": { "name": "Transform" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Center.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Center.names index 5f3fe027f2..c9118de014 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Center.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Center.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5B16FDCF-5FB0-5059-97E6-76AA11871337}", + "base": "{5B16FDCF-5FB0-5059-97E6-76AA11871337}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result: Vector3", + "base": "DataOutput_Result: Vector3", "details": { "name": "Center" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Clamp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Clamp.names index 0e7ee2c5bf..2062682005 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Clamp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Clamp.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A03CA593-2B2E-5BEE-9A63-118D2F1E9DED}", + "base": "{A03CA593-2B2E-5BEE-9A63-118D2F1E9DED}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataInput_AABB: Clamp", + "base": "DataInput_AABB: Clamp", "details": { "name": "Clamp" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsAABB.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsAABB.names index aad3bbf1c1..7c208bcdd6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsAABB.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsAABB.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A0A7B5F1-F191-52A8-838A-DB39AADBA457}", + "base": "{A0A7B5F1-F191-52A8-838A-DB39AADBA457}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataInput_AABB: Candidate", + "base": "DataInput_AABB: Candidate", "details": { "name": "Candidate" } }, { - "key": "DataOutput_Result: Boolean", + "base": "DataOutput_Result: Boolean", "details": { "name": "Contains" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsVector3.names index 9fc7673965..c3d7c00e94 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsVector3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{BD9731E7-78AD-5864-8617-25DE422C6CDE}", + "base": "{BD9731E7-78AD-5864-8617-25DE422C6CDE}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataInput_Vector3: Candidate", + "base": "DataInput_Vector3: Candidate", "details": { "name": "Candidate" } }, { - "key": "DataOutput_Result: Boolean", + "base": "DataOutput_Result: Boolean", "details": { "name": "Contains" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Distance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Distance.names index 579771fef0..7c8e0ebb3a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Distance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Distance.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6D65A9E0-733D-5277-B7CA-983E1468A40A}", + "base": "{6D65A9E0-733D-5277-B7CA-983E1468A40A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataInput_Vector3: Point", + "base": "DataInput_Vector3: Point", "details": { "name": "Point" } }, { - "key": "DataOutput_Result: Number", + "base": "DataOutput_Result: Number", "details": { "name": "Distance" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Expand.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Expand.names index 08a7f8ee38..05390a20e5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Expand.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Expand.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8B74AC3B-2089-5D55-BD66-3F57B3212D57}", + "base": "{8B74AC3B-2089-5D55-BD66-3F57B3212D57}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataInput_Vector3: Delta", + "base": "DataInput_Vector3: Delta", "details": { "name": "Delta" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Extents.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Extents.names index 2cbc987e31..db3ddc567f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Extents.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Extents.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{C98626B6-E60F-525C-8763-4A906AD31903}", + "base": "{C98626B6-E60F-525C-8763-4A906AD31903}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "Source", + "base": "Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result: Vector3", + "base": "DataOutput_Result: Vector3", "details": { "name": "Extents" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterHalfExtents.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterHalfExtents.names index 3261d0c3d2..d1c6a9ca27 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterHalfExtents.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterHalfExtents.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{3EF44A2E-F065-5F2A-906D-A139AEA6DF4E}", + "base": "{3EF44A2E-F065-5F2A-906D-A139AEA6DF4E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector3: Center", + "base": "DataInput_Vector3: Center", "details": { "name": "Center" } }, { - "key": "DataInput_Vector3: HalfExtents", + "base": "DataInput_Vector3: HalfExtents", "details": { "name": "Half Extents" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterRadius.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterRadius.names index 204047ee15..06a369986d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterRadius.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterRadius.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2AC22BD2-2150-58C2-8C0A-F9B83E2559F5}", + "base": "{2AC22BD2-2150-58C2-8C0A-F9B83E2559F5}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector3: Center", + "base": "DataInput_Vector3: Center", "details": { "name": "Center" } }, { - "key": "DataInput_Number: Radius", + "base": "DataInput_Number: Radius", "details": { "name": "Radius" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromMinMax.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromMinMax.names index 2b6030e8fb..982b3b8342 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromMinMax.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromMinMax.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8B033820-B205-560A-A735-8BBED0B02DDD}", + "base": "{8B033820-B205-560A-A735-8BBED0B02DDD}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector3: Min", + "base": "DataInput_Vector3: Min", "details": { "name": "Min" } }, { - "key": "DataInput_Vector3: Max", + "base": "DataInput_Vector3: Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromOBB.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromOBB.names index 189aa8d744..205f2373e4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromOBB.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromOBB.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{95A84A7D-9D3C-59AE-9463-1CC41D275239}", + "base": "{95A84A7D-9D3C-59AE-9463-1CC41D275239}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_OBB: Source", + "base": "DataInput_OBB: Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromPoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromPoint.names index 433a318baf..7bd74f5e61 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromPoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromPoint.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E578074B-7D9E-5339-A2CC-1A23B32E27B5}", + "base": "{E578074B-7D9E-5339-A2CC-1A23B32E27B5}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector3: Source", + "base": "DataInput_Vector3: Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMax.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMax.names index 3ef427e774..0eb6d80940 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMax.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMax.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6C71D076-0427-56B4-8A95-1DCB1835D1BF}", + "base": "{6C71D076-0427-56B4-8A95-1DCB1835D1BF}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result: Vector3", + "base": "DataOutput_Result: Vector3", "details": { "name": "Max" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMin.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMin.names index d8acde7296..8bcf1804db 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMin.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMin.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E699BC04-CAA6-5E1A-BBC0-797510227CBC}", + "base": "{E699BC04-CAA6-5E1A-BBC0-797510227CBC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result: Vector3", + "base": "DataOutput_Result: Vector3", "details": { "name": "Min" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsFinite.names index 004ecd1e0e..14a10d9b46 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsFinite.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5B585330-B99A-5FDF-BA3C-CDA72468D4CA}", + "base": "{5B585330-B99A-5FDF-BA3C-CDA72468D4CA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result: Boolean", + "base": "DataOutput_Result: Boolean", "details": { "name": "Is Finite" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsValid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsValid.names index 7f7f08e3cf..9c6d0dc8ff 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsValid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsValid.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{30BE564D-B68D-5D23-BDA1-625A7A8F9504}", + "base": "{30BE564D-B68D-5D23-BDA1-625A7A8F9504}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "AABB: Source" } }, { - "key": "DataOutput_Result: Boolean", + "base": "DataOutput_Result: Boolean", "details": { "name": "Is Valid" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Null.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Null.names index 62c7cb2b17..48c6bd2b60 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Null.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Null.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{783E6976-E519-5BC0-BD33-049847564F5E}", + "base": "{783E6976-E519-5BC0-BD33-049847564F5E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,19 +12,19 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "Invalid AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Overlaps.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Overlaps.names index 4474f1220b..56b83a6eb8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Overlaps.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Overlaps.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{CE4AF636-AB72-589D-92E9-A3C75A3F9C7F}", + "base": "{CE4AF636-AB72-589D-92E9-A3C75A3F9C7F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: A", + "base": "DataInput_AABB: A", "details": { "name": "AABB: A" } }, { - "key": "DataInput_AABB: B", + "base": "DataInput_AABB: B", "details": { "name": "AABB: B" } }, { - "key": "DataOutput_Result: Boolean", + "base": "DataOutput_Result: Boolean", "details": { "name": "Result: Boolean" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_SurfaceArea.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_SurfaceArea.names index 2b206cfcfc..b0e2985fbb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_SurfaceArea.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_SurfaceArea.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{46EE9F31-DDE1-5482-9A03-A0D4A6BE429C}", + "base": "{46EE9F31-DDE1-5482-9A03-A0D4A6BE429C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "AABB: Source" } }, { - "key": "DataOutput_Result: Number", + "base": "DataOutput_Result: Number", "details": { "name": "Result: Number" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ToSphere.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ToSphere.names index 9a07c147c6..e77bde466f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ToSphere.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ToSphere.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{214CCB41-01CA-578C-9D7F-1237202A885B}", + "base": "{214CCB41-01CA-578C-9D7F-1237202A885B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "AABB: Source" } }, { - "key": "DataOutput_Center: Vector3", + "base": "DataOutput_Center: Vector3", "details": { "name": "Center: Vector3" } }, { - "key": "DataOutput_Radius: Number", + "base": "DataOutput_Radius: Number", "details": { "name": "Radius: Number" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Translate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Translate.names index 01037b2bff..0be4731085 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Translate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Translate.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{22DBE624-D16E-51E7-BFF5-6C136E8E4581}", + "base": "{22DBE624-D16E-51E7-BFF5-6C136E8E4581}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "AABB: Source" } }, { - "key": "DataInput_Vector3: Translation", + "base": "DataInput_Vector3: Translation", "details": { "name": "Vector3: Translation" } }, { - "key": "DataOutput_Result: AABB", + "base": "DataOutput_Result: AABB", "details": { "name": "Result: AABB" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_XExtent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_XExtent.names index 23e8921ab8..f6051e7dc8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_XExtent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_XExtent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{58B36FE7-19EB-5407-95BD-D16C62F04E0D}", + "base": "{58B36FE7-19EB-5407-95BD-D16C62F04E0D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "AABB: Source" } }, { - "key": "DataOutput_Result: Number", + "base": "DataOutput_Result: Number", "details": { "name": "Result: Number" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_YExtent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_YExtent.names index 3e28799512..eab2924849 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_YExtent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_YExtent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{631968DE-47B3-5214-B564-E14025135BAA}", + "base": "{631968DE-47B3-5214-B564-E14025135BAA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "AABB: Source" } }, { - "key": "DataOutput_Result: Number", + "base": "DataOutput_Result: Number", "details": { "name": "Result: Number" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ZExtent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ZExtent.names index c470eafa0c..4a107a844d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ZExtent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ZExtent.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0CE6DD20-9E09-5CCE-A514-196958FD4871}", + "base": "{0CE6DD20-9E09-5CCE-A514-196958FD4871}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_AABB: Source", + "base": "DataInput_AABB: Source", "details": { "name": "AABB: Source" } }, { - "key": "DataOutput_Result: Number", + "base": "DataOutput_Result: Number", "details": { "name": "Result: Number" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot.names index 9433f13d04..a3eef6a2e7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{92A67932-241C-5BF4-8D4F-327F3E819F56}", + "base": "{92A67932-241C-5BF4-8D4F-327F3E819F56}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Color: A", + "base": "DataInput_Color: A", "details": { "name": "Color: A" } }, { - "key": "DataInput_Color: B", + "base": "DataInput_Color: B", "details": { "name": "Color: B" } }, { - "key": "DataOutput_Result: Number", + "base": "DataOutput_Result: Number", "details": { "name": "Result: Number" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot3.names index 16d5b36eb0..7ddb05f4dd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{91E89FD2-F929-5491-BD2A-4B83D2455AAB}", + "base": "{91E89FD2-F929-5491-BD2A-4B83D2455AAB}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromValues.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromValues.names index 01b5ac9cb9..45e436bce6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromValues.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromValues.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{84F9B63C-F6F5-58AD-8669-C25287CDC037}", + "base": "{84F9B63C-F6F5-58AD-8669-C25287CDC037}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,43 +11,43 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_R", + "base": "DataInput_R", "details": { "name": "R" } }, { - "key": "DataInput_G", + "base": "DataInput_G", "details": { "name": "G" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3.names index e87ad523b0..c709935b7c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4EC849DB-B390-5C13-ADE9-A0CD8F06D63E}", + "base": "{4EC849DB-B390-5C13-ADE9-A0CD8F06D63E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_RGB", + "base": "DataInput_RGB", "details": { "name": "RGB" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3AndNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3AndNumber.names index 3d657ed1a0..61004481db 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3AndNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3AndNumber.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5829F3E6-1F1D-58C2-BD72-66D4DE866AB9}", + "base": "{5829F3E6-1F1D-58C2-BD72-66D4DE866AB9}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector3: RGB", + "base": "DataInput_Vector3: RGB", "details": { "name": "Red, Green, Blue" } }, { - "key": "DataInput_Number: A", + "base": "DataInput_Number: A", "details": { "name": "Alpha" } }, { - "key": "DataOutput_Result: Color", + "base": "DataOutput_Result: Color", "details": { "name": "Color" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_GammaToLinear.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_GammaToLinear.names index f9ed687835..b02a810b0f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_GammaToLinear.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_GammaToLinear.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{721CF0C9-BE86-59B4-A5B6-AC936744CE5E}", + "base": "{721CF0C9-BE86-59B4-A5B6-AC936744CE5E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Color: Source", + "base": "DataInput_Color: Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result: Color", + "base": "DataOutput_Result: Color", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsClose.names index 430cf90d8b..7f7038d383 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsClose.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{629BABFE-B9D2-5D29-BCC1-3E5CBDD7CAA4}", + "base": "{629BABFE-B9D2-5D29-BCC1-3E5CBDD7CAA4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,37 +12,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Color: A", + "base": "DataInput_Color: A", "details": { "name": "First" } }, { - "key": "DataInput_Color: B", + "base": "DataInput_Color: B", "details": { "name": "Second" } }, { - "key": "DataInput_Number: Tolerance", + "base": "DataInput_Number: Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result: Boolean", + "base": "DataOutput_Result: Boolean", "details": { "name": "Is Close" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsZero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsZero.names index f22b3e3773..31b2a61f3d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsZero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsZero.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8A949DAB-0F0E-52FA-83EF-EA75B38076C8}", + "base": "{8A949DAB-0F0E-52FA-83EF-EA75B38076C8}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Color: Source", + "base": "DataInput_Color: Source", "details": { "name": "Source" } }, { - "key": "DataInput_Number: Tolerance", + "base": "DataInput_Number: Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result: Boolean", + "base": "DataOutput_Result: Boolean", "details": { "name": "Is Zero" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_LinearToGamma.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_LinearToGamma.names index fa1d06b510..ba7118a997 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_LinearToGamma.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_LinearToGamma.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8F561D51-2991-5493-8CED-B2FBAF168E72}", + "base": "{8F561D51-2991-5493-8CED-B2FBAF168E72}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_MultiplyByNumber.names index 4bf7062cb7..7f67402d65 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_MultiplyByNumber.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B779B815-EC1B-5075-A167-0F213445BB53}", + "base": "{B779B815-EC1B-5075-A167-0F213445BB53}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Color: Source", + "base": "DataInput_Color: Source", "details": { "name": "Color: Source" } }, { - "key": "DataInput_Number: Multiplier", + "base": "DataInput_Number: Multiplier", "details": { "name": "Number: Multiplier" } }, { - "key": "DataOutput_Result: Color", + "base": "DataOutput_Result: Color", "details": { "name": "Result: Color" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_One.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_One.names index 99d7f96b84..7034549282 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_One.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_One.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E70E232F-9B2E-5802-9A58-422D47D88405}", + "base": "{E70E232F-9B2E-5802-9A58-422D47D88405}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,19 +12,19 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataOutput_Result: Color", + "base": "DataOutput_Result: Color", "details": { "name": "Result: Color" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_EqualTo_==_.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_EqualTo_==_.names index fdf52ec08d..e3c8499aee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_EqualTo_==_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_EqualTo_==_.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{02A3A3E6-9D80-432B-8AF5-F3AF24CF6959}", + "base": "{02A3A3E6-9D80-432B-8AF5-F3AF24CF6959}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,40 +11,40 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThan__.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThan__.names index b2c3ca2d50..36f3163ae4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThan__.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThan__.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{218F5872-8D89-4FEA-9761-662625E29580}", + "base": "{218F5872-8D89-4FEA-9761-662625E29580}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,40 +11,40 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThanorEqualTo_=_.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThanorEqualTo_=_.names index 5422a38082..68dc66c790 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThanorEqualTo_=_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThanorEqualTo_=_.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8CA0C442-9139-4180-96EC-300FF888C35A}", + "base": "{8CA0C442-9139-4180-96EC-300FF888C35A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,40 +11,40 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThan___.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThan___.names index 44db07b347..1247a766f5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThan___.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThan___.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1B93426F-AAA2-4134-BE9A-C33B8F07F867}", + "base": "{1B93426F-AAA2-4134-BE9A-C33B8F07F867}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,40 +11,40 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThanorEqualTo__=_.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThanorEqualTo__=_.names index 1c06e26cd6..f0e9e1602f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThanorEqualTo__=_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThanorEqualTo__=_.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{73F6E302-A2E9-4BE6-A88F-98F81A24100D}", + "base": "{73F6E302-A2E9-4BE6-A88F-98F81A24100D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,40 +11,40 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_NotEqualTo_!=_.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_NotEqualTo_!=_.names index e14af5ed2f..6be7dfcbf6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_NotEqualTo_!=_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_NotEqualTo_!=_.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{C8D7A10F-A919-4467-96B1-F1852C282628}", + "base": "{C8D7A10F-A919-4467-96B1-F1852C282628}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,40 +11,40 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathCrc32_FromString.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathCrc32_FromString.names index 56b63ed01f..5ab5075de1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathCrc32_FromString.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathCrc32_FromString.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5C734A52-7CB1-5571-B6B2-F1C19A8CCE5A}", + "base": "{5C734A52-7CB1-5571-B6B2-F1C19A8CCE5A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Text" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromColumns.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromColumns.names index e9c3ac7672..3d2cd9186f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromColumns.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromColumns.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2185A730-0CA3-5B97-8150-51D9F28EA9C8}", + "base": "{2185A730-0CA3-5B97-8150-51D9F28EA9C8}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Column1", + "base": "DataInput_Column1", "details": { "name": "Column 1" } }, { - "key": "DataInput_Column2", + "base": "DataInput_Column2", "details": { "name": "Column 2" } }, { - "key": "DataInput_Column3", + "base": "DataInput_Column3", "details": { "name": "Column 3" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromCrossProduct.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromCrossProduct.names index f823176f14..03cfbb8526 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromCrossProduct.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromCrossProduct.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{06538E6D-FE44-5A9C-8081-083D5D19D4FC}", + "base": "{06538E6D-FE44-5A9C-8081-083D5D19D4FC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromDiagonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromDiagonal.names index 9f9c083534..9725855cf1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromDiagonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromDiagonal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F99F5D84-CDE6-5130-BAAC-7377F52D34FD}", + "base": "{F99F5D84-CDE6-5130-BAAC-7377F52D34FD}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromMatrix4x4.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromMatrix4x4.names index f88782a2ee..4f8d7ec9d9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromMatrix4x4.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromMatrix4x4.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5E5DA784-9D18-595F-BB1E-FA3AC8BA7DD6}", + "base": "{5E5DA784-9D18-595F-BB1E-FA3AC8BA7DD6}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromQuaternion.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromQuaternion.names index 1ddbce8343..64c63a37e2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromQuaternion.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromQuaternion.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1D87EFAE-3FC2-5D8A-931D-7D56DB4E3123}", + "base": "{1D87EFAE-3FC2-5D8A-931D-7D56DB4E3123}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationXDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationXDegrees.names index 20c7570899..23275a718e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationXDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationXDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{478D4CC5-BC42-574A-A81C-818FA9A3C635}", + "base": "{478D4CC5-BC42-574A-A81C-818FA9A3C635}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationYDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationYDegrees.names index c5558e192a..e52288fade 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationYDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationYDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A69D13B7-FBC3-5038-93CD-4FB822CFF8D4}", + "base": "{A69D13B7-FBC3-5038-93CD-4FB822CFF8D4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationZDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationZDegrees.names index 3c31f1c3ab..888a75aff2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationZDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationZDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5E449312-5741-59EB-A778-7FB6C75DB90A}", + "base": "{5E449312-5741-59EB-A778-7FB6C75DB90A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRows.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRows.names index 7bcda04e10..3a3cdb722d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRows.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRows.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B70E2447-DE12-5D81-80E4-06BEE5A0219E}", + "base": "{B70E2447-DE12-5D81-80E4-06BEE5A0219E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Row1", + "base": "DataInput_Row1", "details": { "name": "Row 1" } }, { - "key": "DataInput_Row2", + "base": "DataInput_Row2", "details": { "name": "Row 2" } }, { - "key": "DataInput_Row3", + "base": "DataInput_Row3", "details": { "name": "Row 3" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromScale.names index 1caf6865ca..3040759f1f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromScale.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A3F6A35C-068E-57D5-9761-69DC5AB0BD1B}", + "base": "{A3F6A35C-068E-57D5-9761-69DC5AB0BD1B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Scale", + "base": "DataInput_Scale", "details": { "name": "Scale" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromTransform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromTransform.names index 509fda12d3..11a310374e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromTransform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromTransform.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F54FFF79-75FF-5444-B941-DF216680BEA1}", + "base": "{F54FFF79-75FF-5444-B941-DF216680BEA1}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Transform", + "base": "DataInput_Transform", "details": { "name": "Transform" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumn.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumn.names index a34e468150..60a538ecd7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumn.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumn.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{50724E19-5472-5E35-9F88-F226ABB37D1A}", + "base": "{50724E19-5472-5E35-9F88-F226ABB37D1A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Column", + "base": "DataInput_Column", "details": { "name": "Column" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumns.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumns.names index 104ca88d50..5cb723836e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumns.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumns.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{13EE83FC-EA87-5957-966F-EFD4E88A7698}", + "base": "{13EE83FC-EA87-5957-966F-EFD4E88A7698}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Column1", + "base": "DataOutput_Column1", "details": { "name": "Column 1" } }, { - "key": "DataOutput_Column2", + "base": "DataOutput_Column2", "details": { "name": "Column 2" } }, { - "key": "DataOutput_Column3", + "base": "DataOutput_Column3", "details": { "name": "Column 3" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetDiagonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetDiagonal.names index 1c64bf8f40..3516b89257 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetDiagonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetDiagonal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{68B65AD0-B42F-5C85-B194-4FC6C31AD237}", + "base": "{68B65AD0-B42F-5C85-B194-4FC6C31AD237}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetElement.names index 0cf502fad0..7d9f46c441 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetElement.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6FA2A21C-2189-55E4-B65E-2A961586F31E}", + "base": "{6FA2A21C-2189-55E4-B65E-2A961586F31E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Row", + "base": "DataInput_Row", "details": { "name": "Row" } }, { - "key": "DataInput_Column", + "base": "DataInput_Column", "details": { "name": "Column" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRow.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRow.names index f886bcbd50..f85577a201 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRow.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRow.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{89B55821-3E77-5410-B0EC-336A3D747308}", + "base": "{89B55821-3E77-5410-B0EC-336A3D747308}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Row", + "base": "DataInput_Row", "details": { "name": "Row" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRows.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRows.names index fc06f37dfb..98834cbfe4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRows.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRows.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8DE78AF8-44B4-58D8-AC3B-7B4ED77B75DF}", + "base": "{8DE78AF8-44B4-58D8-AC3B-7B4ED77B75DF}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Row1", + "base": "DataOutput_Row1", "details": { "name": "Row 1" } }, { - "key": "DataOutput_Row2", + "base": "DataOutput_Row2", "details": { "name": "Row 2" } }, { - "key": "DataOutput_Row3", + "base": "DataOutput_Row3", "details": { "name": "Row 3" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Invert.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Invert.names index 24131fb847..c128a22337 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Invert.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Invert.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1F420C54-6920-511B-9025-D91E92ABF0C3}", + "base": "{1F420C54-6920-511B-9025-D91E92ABF0C3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsClose.names index 403df39120..03d72efaf8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsClose.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{87F8C39D-47CC-5E63-B02A-675F2F1EE56E}", + "base": "{87F8C39D-47CC-5E63-B02A-675F2F1EE56E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsFinite.names index be00053f63..11cf183614 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsFinite.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{36E2943D-23B3-5CBA-A7EC-AA51288075AA}", + "base": "{36E2943D-23B3-5CBA-A7EC-AA51288075AA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsOrthogonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsOrthogonal.names index 68dbdac032..f0e0fba7e1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsOrthogonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsOrthogonal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1A78319F-7924-5114-8D85-C09C6F8D701D}", + "base": "{1A78319F-7924-5114-8D85-C09C6F8D701D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByNumber.names index 174394484a..79f5fee679 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByNumber.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2B0CF330-B397-519C-867F-800AECBB84A8}", + "base": "{2B0CF330-B397-519C-867F-800AECBB84A8}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Multiplier", + "base": "DataInput_Multiplier", "details": { "name": "Multiplier" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByVector.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByVector.names index bc6f6fa58e..bd4f2c6ece 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByVector.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByVector.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6FAEAA22-12D6-51E5-8600-F60103ECFF8C}", + "base": "{6FAEAA22-12D6-51E5-8600-F60103ECFF8C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Vector", + "base": "DataInput_Vector", "details": { "name": "Vector" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Orthogonalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Orthogonalize.names index 626c0007f0..cb1a2ffc69 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Orthogonalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Orthogonalize.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{BFC5A535-734B-54E8-BDF1-B60120D831EC}", + "base": "{BFC5A535-734B-54E8-BDF1-B60120D831EC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToAdjugate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToAdjugate.names index ee10f47d79..32dc94b070 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToAdjugate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToAdjugate.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{FDE00D83-D0A6-5ACA-B48B-DD5E0415FF80}", + "base": "{FDE00D83-D0A6-5ACA-B48B-DD5E0415FF80}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToDeterminant.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToDeterminant.names index c1f45fec65..eecd614044 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToDeterminant.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToDeterminant.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D0C69C1C-1653-54A4-8A5A-1ECB3500D9C1}", + "base": "{D0C69C1C-1653-54A4-8A5A-1ECB3500D9C1}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Determinant", + "base": "DataOutput_Determinant", "details": { "name": "Determinant" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToScale.names index ded60634b3..27680a0107 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToScale.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8250935C-5B8D-5DF4-9E09-FDA2A445C099}", + "base": "{8250935C-5B8D-5DF4-9E09-FDA2A445C099}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Transpose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Transpose.names index c03d1e9be7..495a34df7c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Transpose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Transpose.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F57314B3-AFD8-5BDB-A0F0-8EAF5C13CAC9}", + "base": "{F57314B3-AFD8-5BDB-A0F0-8EAF5C13CAC9}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Zero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Zero.names index c9102e659b..036dd90b45 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Zero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Zero.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{66D46B8E-5722-57DB-8760-61AE1D69E6A3}", + "base": "{66D46B8E-5722-57DB-8760-61AE1D69E6A3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,19 +11,19 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromColumns.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromColumns.names index 313c923ecb..8ff9f22184 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromColumns.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromColumns.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B17F2D7F-22DF-512D-BF2A-98890D337661}", + "base": "{B17F2D7F-22DF-512D-BF2A-98890D337661}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,43 +12,43 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector4: Column1", + "base": "DataInput_Vector4: Column1", "details": { "name": "Vector4: Column1" } }, { - "key": "DataInput_Vector4: Column2", + "base": "DataInput_Vector4: Column2", "details": { "name": "Vector4: Column2" } }, { - "key": "DataInput_Vector4: Column3", + "base": "DataInput_Vector4: Column3", "details": { "name": "Vector4: Column3" } }, { - "key": "DataInput_Vector4: Column4", + "base": "DataInput_Vector4: Column4", "details": { "name": "Vector4: Column4" } }, { - "key": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result: Matrix4x4", "details": { "name": "Result: Matrix4x4" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromDiagonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromDiagonal.names index 9e20e78471..60d8c29b6d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromDiagonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromDiagonal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4DD9115A-D1D0-53B3-8CC5-EA08EAA8BF13}", + "base": "{4DD9115A-D1D0-53B3-8CC5-EA08EAA8BF13}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromMatrix3x3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromMatrix3x3.names index 7366425c7f..634489bc27 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromMatrix3x3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromMatrix3x3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{ACD49054-0267-55C7-80E9-1513CAD9182F}", + "base": "{ACD49054-0267-55C7-80E9-1513CAD9182F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternion.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternion.names index af2093be55..abdd77ac84 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternion.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternion.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B522091B-B802-5B9C-97CB-B208F58FC535}", + "base": "{B522091B-B802-5B9C-97CB-B208F58FC535}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Quaternion: Source", + "base": "DataInput_Quaternion: Source", "details": { "name": "Quaternion: Source" } }, { - "key": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result: Matrix4x4", "details": { "name": "Result: Matrix4x4" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternionAndTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternionAndTranslation.names index c2720c5eaa..a922fb957d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternionAndTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternionAndTranslation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{18B8A477-A413-5477-ACA7-8A27C7C9A966}", + "base": "{18B8A477-A413-5477-ACA7-8A27C7C9A966}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Rotation", + "base": "DataInput_Rotation", "details": { "name": "Rotation" } }, { - "key": "DataInput_Translation", + "base": "DataInput_Translation", "details": { "name": "Translation" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationXDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationXDegrees.names index c4d2296372..092564c7c2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationXDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationXDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A50EB8F8-1BF9-5E03-9CC3-628CF58A3996}", + "base": "{A50EB8F8-1BF9-5E03-9CC3-628CF58A3996}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationYDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationYDegrees.names index 2d99cd99a0..1b1796ed2f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationYDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationYDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{14332A8E-425B-5A31-A8D3-EDFD96DE4BA5}", + "base": "{14332A8E-425B-5A31-A8D3-EDFD96DE4BA5}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Number: Degrees", + "base": "DataInput_Number: Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result: Matrix4x4", "details": { "name": "Matrix4x4" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationZDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationZDegrees.names index 43287ab848..8b449f02a7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationZDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationZDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{99E6908F-AA83-571C-AC12-8DA12B112F79}", + "base": "{99E6908F-AA83-571C-AC12-8DA12B112F79}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRows.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRows.names index faefebca77..fba64d8d32 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRows.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRows.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B5272AB2-1312-5B55-A801-2A976B31665E}", + "base": "{B5272AB2-1312-5B55-A801-2A976B31665E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,43 +11,43 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Row1", + "base": "DataInput_Row1", "details": { "name": "Row 1" } }, { - "key": "DataInput_Row2", + "base": "DataInput_Row2", "details": { "name": "Row 2" } }, { - "key": "DataInput_Row3", + "base": "DataInput_Row3", "details": { "name": "Row 3" } }, { - "key": "DataInput_Row4", + "base": "DataInput_Row4", "details": { "name": "Row 4" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromScale.names index 8be2fed246..314a856dbe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromScale.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B49D6046-B959-53B1-88AD-E977038DB001}", + "base": "{B49D6046-B959-53B1-88AD-E977038DB001}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector3: Scale", + "base": "DataInput_Vector3: Scale", "details": { "name": "Vector3: Scale" } }, { - "key": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result: Matrix4x4", "details": { "name": "Matrix4x4" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTransform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTransform.names index 3966f964ee..a9e0062987 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTransform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTransform.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{739E534B-CD9B-55DF-9757-89B0C379387F}", + "base": "{739E534B-CD9B-55DF-9757-89B0C379387F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Transform: Transform", + "base": "DataInput_Transform: Transform", "details": { "name": "Transform" } }, { - "key": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result: Matrix4x4", "details": { "name": "Matrix4x4" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTranslation.names index 0a6606a9c9..45af601aea 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTranslation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{35D8B012-2C19-5570-A606-4E644D01A9AD}", + "base": "{35D8B012-2C19-5570-A606-4E644D01A9AD}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector3: Source", + "base": "DataInput_Vector3: Source", "details": { "name": "Translation" } }, { - "key": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result: Matrix4x4", "details": { "name": "Matrix4x4" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumn.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumn.names index 6c970c53e3..fbf0e8d1c2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumn.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumn.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{DE1D987E-8B96-5899-B663-CA4269A284DC}", + "base": "{DE1D987E-8B96-5899-B663-CA4269A284DC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Matrix4x4: Source", + "base": "DataInput_Matrix4x4: Source", "details": { "name": "Source" } }, { - "key": "DataInput_Number: Column", + "base": "DataInput_Number: Column", "details": { "name": "Column" } }, { - "key": "DataOutput_Result: Vector4", + "base": "DataOutput_Result: Vector4", "details": { "name": "Column" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumns.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumns.names index 8a4e1e477c..d9f7201afc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumns.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumns.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A2A41479-B90B-5615-A72E-AAB3A6D0332E}", + "base": "{A2A41479-B90B-5615-A72E-AAB3A6D0332E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,43 +12,43 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Matrix4x4: Source", + "base": "DataInput_Matrix4x4: Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Column1: Vector4", + "base": "DataOutput_Column1: Vector4", "details": { "name": "Column 1" } }, { - "key": "DataOutput_Column2: Vector4", + "base": "DataOutput_Column2: Vector4", "details": { "name": "Column 2" } }, { - "key": "DataOutput_Column3: Vector4", + "base": "DataOutput_Column3: Vector4", "details": { "name": "Column 3" } }, { - "key": "DataOutput_Column4: Vector4", + "base": "DataOutput_Column4: Vector4", "details": { "name": "Column 4" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetDiagonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetDiagonal.names index 8777669eb2..e1b0efe63c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetDiagonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetDiagonal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{7ECE6E97-31F9-5455-8560-BB6578CD1F3D}", + "base": "{7ECE6E97-31F9-5455-8560-BB6578CD1F3D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetElement.names index fb047a7762..c5409e7d8f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetElement.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2677AF1E-FAC3-5360-96E4-CC3054372340}", + "base": "{2677AF1E-FAC3-5360-96E4-CC3054372340}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Row", + "base": "DataInput_Row", "details": { "name": "Row" } }, { - "key": "DataInput_Column", + "base": "DataInput_Column", "details": { "name": "Column" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRow.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRow.names index 9c2f1bd04c..09a624c5f3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRow.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRow.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6A153DA6-666E-59ED-93B7-5EE7F19EFC02}", + "base": "{6A153DA6-666E-59ED-93B7-5EE7F19EFC02}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Row", + "base": "DataInput_Row", "details": { "name": "Row" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRows.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRows.names index c0209cfa3c..c189d8f68a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRows.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRows.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{3A69C35B-287E-5F0F-A372-713B77B0CBC6}", + "base": "{3A69C35B-287E-5F0F-A372-713B77B0CBC6}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,43 +11,43 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Row1", + "base": "DataOutput_Row1", "details": { "name": "Row1" } }, { - "key": "DataOutput_Row2", + "base": "DataOutput_Row2", "details": { "name": "Row2" } }, { - "key": "DataOutput_Row3", + "base": "DataOutput_Row3", "details": { "name": "Row3" } }, { - "key": "DataOutput_Row4", + "base": "DataOutput_Row4", "details": { "name": "Row4" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetTranslation.names index 97c74a96fa..b035564d83 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetTranslation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B71EAC83-D0E9-5E1C-B694-6665896F49FE}", + "base": "{B71EAC83-D0E9-5E1C-B694-6665896F49FE}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Invert.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Invert.names index 3746071075..89adc7d466 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Invert.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Invert.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4E82FDCE-50B3-5AFD-8E96-57E982B94D74}", + "base": "{4E82FDCE-50B3-5AFD-8E96-57E982B94D74}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsClose.names index 3dea7660d6..9bf12495f9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsClose.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{52504B30-D3B4-5C09-80D6-3CAF47DAEB1E}", + "base": "{52504B30-D3B4-5C09-80D6-3CAF47DAEB1E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsFinite.names index f589f90a96..9fea9efe33 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsFinite.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{90FFB3EE-DBFF-57C7-8D10-136810B762F2}", + "base": "{90FFB3EE-DBFF-57C7-8D10-136810B762F2}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_MultiplyByVector.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_MultiplyByVector.names index b68524d78b..79bb32bbf3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_MultiplyByVector.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_MultiplyByVector.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{CE8BA72E-E595-5653-9229-D77A0CB1BAFA}", + "base": "{CE8BA72E-E595-5653-9229-D77A0CB1BAFA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Vector", + "base": "DataInput_Vector", "details": { "name": "Vector" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_ToScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_ToScale.names index 1c06bcc228..eeae11fc39 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_ToScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_ToScale.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2FB31ABF-7712-5C5F-BE1B-409D1D0AC120}", + "base": "{2FB31ABF-7712-5C5F-BE1B-409D1D0AC120}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Transpose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Transpose.names index 922ac1ee22..621a831e9a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Transpose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Transpose.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8A4A10DF-A019-57A6-BF9D-493BBCA6B5E2}", + "base": "{8A4A10DF-A019-57A6-BF9D-493BBCA6B5E2}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Zero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Zero.names index 9e2a4628df..3a208bbab5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Zero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Zero.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{9BCEE0D6-B0A0-5944-AC25-7A8111798704}", + "base": "{9BCEE0D6-B0A0-5944-AC25-7A8111798704}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,19 +11,19 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Add.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Add.names index d178d0f04b..9e3a0728d6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Add.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Add.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6C52B2D1-3526-4855-A217-5106D54F6B90}", + "base": "{6C52B2D1-3526-4855-A217-5106D54F6B90}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,33 +12,33 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled after the arithmetic operation is done." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Divide.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Divide.names index 7d1a6635e4..7f4e449aad 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Divide.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Divide.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{7379D5B4-787B-4C46-9394-288F16E5BF3A}", + "base": "{7379D5B4-787B-4C46-9394-288F16E5BF3A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,33 +12,33 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled after the arithmetic operation is done." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Multiply.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Multiply.names index 7c1f96ab53..57be0e3fb3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Multiply.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Multiply.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1BC9A5A9-9BF3-4DA7-A8F7-911254AEB243}", + "base": "{1BC9A5A9-9BF3-4DA7-A8F7-911254AEB243}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,33 +12,33 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled after the arithmetic operation is done." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Subtract.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Subtract.names index 01b8a41cae..4fa1764fde 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Subtract.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Subtract.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A10AD4C7-B633-4A75-8210-1353A87441E4}", + "base": "{A10AD4C7-B633-4A75-8210-1353A87441E4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,33 +12,33 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled after the arithmetic operation is done." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromAabb.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromAabb.names index 62c13d11c8..9280f009e8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromAabb.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromAabb.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{25B5779B-C1A0-5963-8F5F-1A7C59F675CD}", + "base": "{25B5779B-C1A0-5963-8F5F-1A7C59F675CD}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromPositionRotationAndHalfLengths.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromPositionRotationAndHalfLengths.names index d59a1fdd33..bc125f2c9d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromPositionRotationAndHalfLengths.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromPositionRotationAndHalfLengths.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6F7A0335-C2D2-53A3-BF18-B3735DBFF8AA}", + "base": "{6F7A0335-C2D2-53A3-BF18-B3735DBFF8AA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Position", + "base": "DataInput_Position", "details": { "name": "Position" } }, { - "key": "DataInput_Rotation", + "base": "DataInput_Rotation", "details": { "name": "Rotation" } }, { - "key": "DataInput_HalfLengths", + "base": "DataInput_HalfLengths", "details": { "name": "Half Lengths" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisX.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisX.names index abfb3f23f5..5c2860e739 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisX.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisX.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{924A1027-ECC4-574D-808A-E4A4EB128552}", + "base": "{924A1027-ECC4-574D-808A-E4A4EB128552}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisY.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisY.names index 2bb5294f11..d8d58baa9b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisY.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisY.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{20C14ACD-F093-5E7D-8EA8-AD89ACDA8438}", + "base": "{20C14ACD-F093-5E7D-8EA8-AD89ACDA8438}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisZ.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisZ.names index 03363e3123..3f10c5cb1b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisZ.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisZ.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1A6BADCE-77F7-59F4-9F27-6C08B9D13374}", + "base": "{1A6BADCE-77F7-59F4-9F27-6C08B9D13374}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetPosition.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetPosition.names index d69e720586..8165f22a9c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetPosition.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetPosition.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{44BAE83D-1C90-5026-BD0D-65406C837A27}", + "base": "{44BAE83D-1C90-5026-BD0D-65406C837A27}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_IsFinite.names index 73e7d36a6e..6a60006d56 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_IsFinite.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{150329C4-45BF-5E9C-9358-41C648586F00}", + "base": "{150329C4-45BF-5E9C-9358-41C648586F00}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_DistanceToPoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_DistanceToPoint.names index 7d80966095..5353e147be 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_DistanceToPoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_DistanceToPoint.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{7D49F3FC-A625-5166-9CF6-6F3757A56C14}", + "base": "{7D49F3FC-A625-5166-9CF6-6F3757A56C14}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Point", + "base": "DataInput_Point", "details": { "name": "Point" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromCoefficients.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromCoefficients.names index 808f50a2d1..8fc08635fd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromCoefficients.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromCoefficients.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{C281152D-1617-52B6-BB82-8146F881CCA5}", + "base": "{C281152D-1617-52B6-BB82-8146F881CCA5}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,43 +11,43 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataInput_C", + "base": "DataInput_C", "details": { "name": "C" } }, { - "key": "DataInput_D", + "base": "DataInput_D", "details": { "name": "D" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndDistance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndDistance.names index c4578ba333..52e5389e0f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndDistance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndDistance.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{85C2F69F-4E0D-5336-B1B1-29AE5A8339E2}", + "base": "{85C2F69F-4E0D-5336-B1B1-29AE5A8339E2}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Normal", + "base": "DataInput_Normal", "details": { "name": "Normal" } }, { - "key": "DataInput_Distance", + "base": "DataInput_Distance", "details": { "name": "Distance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndPoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndPoint.names index e590504d18..3c33889597 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndPoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndPoint.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{ED542A26-BBB3-5747-A40C-2CD08C369C54}", + "base": "{ED542A26-BBB3-5747-A40C-2CD08C369C54}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Normal", + "base": "DataInput_Normal", "details": { "name": "Normal" } }, { - "key": "DataInput_Point", + "base": "DataInput_Point", "details": { "name": "Point" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetDistance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetDistance.names index d097209d63..5673a596f7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetDistance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetDistance.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5A3021D3-46AC-5751-B057-7B4E476417F3}", + "base": "{5A3021D3-46AC-5751-B057-7B4E476417F3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetNormal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetNormal.names index b149b8451a..4db582ee90 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetNormal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetNormal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{76467598-DB87-59DD-8B65-B7636880EAB4}", + "base": "{76467598-DB87-59DD-8B65-B7636880EAB4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetPlaneEquationCoefficients.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetPlaneEquationCoefficients.names index 2a904695e9..36c6e35769 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetPlaneEquationCoefficients.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetPlaneEquationCoefficients.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{9F5030EF-15D1-5AEC-988E-8BE2D9C6DD64}", + "base": "{9F5030EF-15D1-5AEC-988E-8BE2D9C6DD64}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,43 +11,43 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_A", + "base": "DataOutput_A", "details": { "name": "A" } }, { - "key": "DataOutput_B", + "base": "DataOutput_B", "details": { "name": "B" } }, { - "key": "DataOutput_C", + "base": "DataOutput_C", "details": { "name": "C" } }, { - "key": "DataOutput_D", + "base": "DataOutput_D", "details": { "name": "D" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_IsFinite.names index efdd4a332e..6bf24dfac5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_IsFinite.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{AB336D86-5967-568C-9E2E-D678BAE4DFAC}", + "base": "{AB336D86-5967-568C-9E2E-D678BAE4DFAC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Project.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Project.names index ec23385c33..8ff3251e3b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Project.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Project.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{BE7F52C0-3FEA-5C78-BAB1-41A8BFEB38EC}", + "base": "{BE7F52C0-3FEA-5C78-BAB1-41A8BFEB38EC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Point", + "base": "DataInput_Point", "details": { "name": "Point" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Transform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Transform.names index f075b312ad..d06be76f8c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Transform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Transform.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{43FB92F5-CBC4-553E-982B-714EA2226D42}", + "base": "{43FB92F5-CBC4-553E-982B-714EA2226D42}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Transform", + "base": "DataInput_Transform", "details": { "name": "Transform" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Conjugate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Conjugate.names index 204cd35042..13f58a276b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Conjugate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Conjugate.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1328993D-4413-5E46-9116-3AA5C25E97D2}", + "base": "{1328993D-4413-5E46-9116-3AA5C25E97D2}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ConvertTransformToRotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ConvertTransformToRotation.names index 3d0d0823b1..bdf1980570 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ConvertTransformToRotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ConvertTransformToRotation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{10B3E787-BC20-5317-9553-647D40D79DCD}", + "base": "{10B3E787-BC20-5317-9553-647D40D79DCD}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,25 +10,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Transform", + "base": "DataInput_Transform", "details": { "name": "Transform" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_CreateFromEulerAngles.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_CreateFromEulerAngles.names index 69cdb0f4b9..3ea8425186 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_CreateFromEulerAngles.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_CreateFromEulerAngles.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{82FB60FB-2417-5BDC-ADF7-9C08DE88E793}", + "base": "{82FB60FB-2417-5BDC-ADF7-9C08DE88E793}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Pitch", + "base": "DataInput_Pitch", "details": { "name": "Pitch" } }, { - "key": "DataInput_Roll", + "base": "DataInput_Roll", "details": { "name": "Roll" } }, { - "key": "DataInput_Yaw", + "base": "DataInput_Yaw", "details": { "name": "Yaw" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Dot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Dot.names index 26fe0c1b79..dce76a8cc0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Dot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Dot.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{46366DEB-4F16-54AF-A618-073E0E2C1DA4}", + "base": "{46366DEB-4F16-54AF-A618-073E0E2C1DA4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromAxisAngleDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromAxisAngleDegrees.names index 9851c3fd8f..2007847335 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromAxisAngleDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromAxisAngleDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6AEAAC03-A8D7-5C29-9F23-07FF59EE55D7}", + "base": "{6AEAAC03-A8D7-5C29-9F23-07FF59EE55D7}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Axis", + "base": "DataInput_Axis", "details": { "name": "Axis" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix3x3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix3x3.names index 906014820e..646714b48d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix3x3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix3x3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{59C4651F-A5E7-59FD-81FE-D7BD07B36346}", + "base": "{59C4651F-A5E7-59FD-81FE-D7BD07B36346}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix4x4.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix4x4.names index cbfd1dc1ea..b6b38f7297 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix4x4.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix4x4.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B2C7B9DD-C9DD-5971-AA76-95603BED9BD8}", + "base": "{B2C7B9DD-C9DD-5971-AA76-95603BED9BD8}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromTransform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromTransform.names index 3a708bac08..9fb08ffa2b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromTransform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromTransform.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2F3E079E-23F9-5BC4-9B1A-DD2FAFBF921F}", + "base": "{2F3E079E-23F9-5BC4-9B1A-DD2FAFBF921F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_InvertFull.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_InvertFull.names index fc4ab2f1c7..ceeebae083 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_InvertFull.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_InvertFull.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{25150C46-3ECA-596A-8643-DB9B143D17C9}", + "base": "{25150C46-3ECA-596A-8643-DB9B143D17C9}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsClose.names index 4af70867e8..302acb0e94 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsClose.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{7CF70E06-039B-5DFB-BA6D-A94DBB010A91}", + "base": "{7CF70E06-039B-5DFB-BA6D-A94DBB010A91}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsFinite.names index 0ccd7a1ce7..deda4ab105 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsFinite.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0FF1A082-1200-57C4-8CE6-A17844BEBD1A}", + "base": "{0FF1A082-1200-57C4-8CE6-A17844BEBD1A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsIdentity.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsIdentity.names index 62655f407c..b4cda49248 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsIdentity.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsIdentity.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6D6D359A-BD00-5ADA-B634-C4F6B0949BFF}", + "base": "{6D6D359A-BD00-5ADA-B634-C4F6B0949BFF}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsZero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsZero.names index 9ab1882a09..99bde6bd2b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsZero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsZero.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F7805CC3-4A0A-58BD-968F-5D1CAA4D8215}", + "base": "{F7805CC3-4A0A-58BD-968F-5D1CAA4D8215}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthReciprocal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthReciprocal.names index 772ab4f4d6..591b61fb3a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthReciprocal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthReciprocal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4CDE86F1-8ABD-5F13-8BFE-622728F845DC}", + "base": "{4CDE86F1-8ABD-5F13-8BFE-622728F845DC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthSquared.names index 8890491e60..1c50bdc5e6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthSquared.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{FC266E04-338B-57CE-A529-28056AB3AB43}", + "base": "{FC266E04-338B-57CE-A529-28056AB3AB43}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Lerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Lerp.names index 16925c829a..11bb5d0816 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Lerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Lerp.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A3B1E26D-BF69-5009-A3B4-868DBE3106A3}", + "base": "{A3B1E26D-BF69-5009-A3B4-868DBE3106A3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataInput_T", + "base": "DataInput_T", "details": { "name": "T" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_MultiplyByNumber.names index 9c8fdd2ada..d632a64250 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_MultiplyByNumber.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{36ECEF91-815A-5D40-B21F-0CAA4D6DAD53}", + "base": "{36ECEF91-815A-5D40-B21F-0CAA4D6DAD53}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Multiplier", + "base": "DataInput_Multiplier", "details": { "name": "Multiplier" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Negate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Negate.names index ac5912acc4..effceed57e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Negate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Negate.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0E9A2E40-9EEE-5D46-92BD-60E20F99E96E}", + "base": "{0E9A2E40-9EEE-5D46-92BD-60E20F99E96E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Normalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Normalize.names index c5773851d4..83adfd8e38 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Normalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Normalize.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{215978F2-1B5F-597D-BE5D-C01A1E77F2BF}", + "base": "{215978F2-1B5F-597D-BE5D-C01A1E77F2BF}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotateVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotateVector3.names index cbd26e5162..a18c86703c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotateVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotateVector3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{56C01595-FE08-54FC-9668-D203D59F506D}", + "base": "{56C01595-FE08-54FC-9668-D203D59F506D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Quaternion", + "base": "DataInput_Quaternion", "details": { "name": "Quaternion" } }, { - "key": "DataInput_Vector", + "base": "DataInput_Vector", "details": { "name": "Vector" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationXDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationXDegrees.names index 4eb971a203..ad554e2364 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationXDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationXDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{261E424C-4241-5777-8742-21945C69FD29}", + "base": "{261E424C-4241-5777-8742-21945C69FD29}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationYDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationYDegrees.names index aada946ccc..047af94ec0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationYDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationYDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{66AC039B-8D0D-5E4C-A4EA-20F767C4EAF5}", + "base": "{66AC039B-8D0D-5E4C-A4EA-20F767C4EAF5}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationZDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationZDegrees.names index 7a72aa9330..abd872aa1c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationZDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationZDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1373DA97-B94D-5DBB-9F0C-175CAE46851A}", + "base": "{1373DA97-B94D-5DBB-9F0C-175CAE46851A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ShortestArc.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ShortestArc.names index deb69f734f..7bed39e779 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ShortestArc.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ShortestArc.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{7809B038-3F50-533D-8AEF-35CDBDDFCA71}", + "base": "{7809B038-3F50-533D-8AEF-35CDBDDFCA71}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Slerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Slerp.names index a1d1dfa30b..f5a9f2333c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Slerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Slerp.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{92A204FE-A6E2-5EB7-B2A2-F782DBA8C1C3}", + "base": "{92A204FE-A6E2-5EB7-B2A2-F782DBA8C1C3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataInput_T", + "base": "DataInput_T", "details": { "name": "T" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Squad.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Squad.names index c9efc06f69..2c0915cb83 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Squad.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Squad.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E7275C69-D728-5468-9402-C4FBA1ADDA97}", + "base": "{E7275C69-D728-5468-9402-C4FBA1ADDA97}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,49 +11,49 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataInput_In", + "base": "DataInput_In", "details": { "name": "In" } }, { - "key": "DataInput_Out", + "base": "DataInput_Out", "details": { "name": "Out" } }, { - "key": "DataInput_T", + "base": "DataInput_T", "details": { "name": "T" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ToAngleDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ToAngleDegrees.names index 11efc83cb5..cdfeaaa8e7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ToAngleDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ToAngleDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D3471394-97F1-5A37-82E0-F570B882F9C9}", + "base": "{D3471394-97F1-5A37-82E0-F570B882F9C9}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomColor.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomColor.names index 2e70823599..74c0f7e2e3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomColor.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomColor.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{66072FDF-E318-5A40-B0C1-FD9EE0F59D7B}", + "base": "{66072FDF-E318-5A40-B0C1-FD9EE0F59D7B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Min", + "base": "DataInput_Min", "details": { "name": "Min" } }, { - "key": "DataInput_Max", + "base": "DataInput_Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomGrayscale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomGrayscale.names index 15bb0a397c..3fa603ca9a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomGrayscale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomGrayscale.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E16EC7BB-A046-5CD7-B26C-0A75358A37F2}", + "base": "{E16EC7BB-A046-5CD7-B26C-0A75358A37F2}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Min", + "base": "DataInput_Min", "details": { "name": "Min" } }, { - "key": "DataInput_Max", + "base": "DataInput_Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomInteger.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomInteger.names index 4fad43953b..0e3131a398 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomInteger.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomInteger.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{48BF5246-995E-5EFD-B541-F468937D2423}", + "base": "{48BF5246-995E-5EFD-B541-F468937D2423}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Min", + "base": "DataInput_Min", "details": { "name": "Min" } }, { - "key": "DataInput_Max", + "base": "DataInput_Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomNumber.names index 3dfe2b70c6..f2208525d2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomNumber.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{898C7B53-2829-58ED-A053-1641A2BC14E2}", + "base": "{898C7B53-2829-58ED-A053-1641A2BC14E2}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Min", + "base": "DataInput_Min", "details": { "name": "Min" } }, { - "key": "DataInput_Max", + "base": "DataInput_Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInArc.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInArc.names index 76cc80bb9a..fb23ddf7c2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInArc.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInArc.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{3A668745-A312-5849-A2D3-AEF533F2CE3D}", + "base": "{3A668745-A312-5849-A2D3-AEF533F2CE3D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,49 +11,49 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Origin", + "base": "DataInput_Origin", "details": { "name": "Origin" } }, { - "key": "DataInput_Direction", + "base": "DataInput_Direction", "details": { "name": "Direction" } }, { - "key": "DataInput_Normal", + "base": "DataInput_Normal", "details": { "name": "Normal" } }, { - "key": "DataInput_Radius", + "base": "DataInput_Radius", "details": { "name": "Radius" } }, { - "key": "DataInput_Angle", + "base": "DataInput_Angle", "details": { "name": "Angle" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInBox.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInBox.names index 3e66186f01..a5cd2fdeac 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInBox.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInBox.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8F7532AC-DABD-5EE6-8D84-A063032A82D4}", + "base": "{8F7532AC-DABD-5EE6-8D84-A063032A82D4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Dimensions", + "base": "DataInput_Dimensions", "details": { "name": "Dimensions" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCircle.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCircle.names index fa9aa601c7..e4dbeb4dd3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCircle.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCircle.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{90F4E470-10AB-5D78-9B20-100132F0BEA9}", + "base": "{90F4E470-10AB-5D78-9B20-100132F0BEA9}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Radius", + "base": "DataInput_Radius", "details": { "name": "Radius" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCone.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCone.names index 7b48818c3a..4c7270d0f4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCone.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCone.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{00464520-3FAA-5725-BE01-4F13A50E430F}", + "base": "{00464520-3FAA-5725-BE01-4F13A50E430F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Radius", + "base": "DataInput_Radius", "details": { "name": "Radius" } }, { - "key": "DataInput_Angle", + "base": "DataInput_Angle", "details": { "name": "Angle" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCylinder.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCylinder.names index 4f383fc218..92dcefe8c7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCylinder.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCylinder.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{DE205B79-32D5-5FA9-868A-442CE0388F7F}", + "base": "{DE205B79-32D5-5FA9-868A-442CE0388F7F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Radius", + "base": "DataInput_Radius", "details": { "name": "Radius" } }, { - "key": "DataInput_Height", + "base": "DataInput_Height", "details": { "name": "Height" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInEllipsoid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInEllipsoid.names index 0097ccc4a5..21d3ca2f96 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInEllipsoid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInEllipsoid.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{3234ADB9-4B1E-594B-8AF6-EC857CCA1241}", + "base": "{3234ADB9-4B1E-594B-8AF6-EC857CCA1241}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Dimensions", + "base": "DataInput_Dimensions", "details": { "name": "Dimensions" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSphere.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSphere.names index ef39e9d0bf..60d4a9cbd8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSphere.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSphere.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5C87299A-E9AF-591D-8E20-4A1B8F4A92CD}", + "base": "{5C87299A-E9AF-591D-8E20-4A1B8F4A92CD}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Radius", + "base": "DataInput_Radius", "details": { "name": "Radius" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSquare.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSquare.names index 9793721ef9..82d6f6e156 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSquare.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSquare.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4CF31307-D138-5021-A5AE-F352C95DC212}", + "base": "{4CF31307-D138-5021-A5AE-F352C95DC212}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Dimensions", + "base": "DataInput_Dimensions", "details": { "name": "Dimensions" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInWedge.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInWedge.names index 89f9558c38..401c3afcb4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInWedge.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInWedge.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A2D614BC-1636-5F54-868A-BF5544910967}", + "base": "{A2D614BC-1636-5F54-868A-BF5544910967}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,55 +11,55 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Origin", + "base": "DataInput_Origin", "details": { "name": "Origin" } }, { - "key": "DataInput_Direction", + "base": "DataInput_Direction", "details": { "name": "Direction" } }, { - "key": "DataInput_Normal", + "base": "DataInput_Normal", "details": { "name": "Normal" } }, { - "key": "DataInput_Radius", + "base": "DataInput_Radius", "details": { "name": "Radius" } }, { - "key": "DataInput_Height", + "base": "DataInput_Height", "details": { "name": "Height" } }, { - "key": "DataInput_Angle", + "base": "DataInput_Angle", "details": { "name": "Angle" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnCircle.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnCircle.names index 428cd58136..39433c405e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnCircle.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnCircle.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D726B72F-9300-5D21-BE2C-8CB089BFDBA3}", + "base": "{D726B72F-9300-5D21-BE2C-8CB089BFDBA3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Radius", + "base": "DataInput_Radius", "details": { "name": "Radius" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnSphere.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnSphere.names index f648814dfc..6e54bb7d72 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnSphere.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnSphere.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{7DFA3F08-B554-550A-93F8-4D7CBAA775E9}", + "base": "{7DFA3F08-B554-550A-93F8-4D7CBAA775E9}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Radius", + "base": "DataInput_Radius", "details": { "name": "Radius" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomQuaternion.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomQuaternion.names index 161d7552d4..ccae17450c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomQuaternion.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomQuaternion.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E9902EB1-82B9-5EF2-B7B6-51BAFECA0B91}", + "base": "{E9902EB1-82B9-5EF2-B7B6-51BAFECA0B91}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Min", + "base": "DataInput_Min", "details": { "name": "Min" } }, { - "key": "DataInput_Max", + "base": "DataInput_Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector2.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector2.names index c27266cdcf..e1b9340392 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector2.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector2.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4DC88D65-16B5-525C-AA9A-5C19F2F9165C}", + "base": "{4DC88D65-16B5-525C-AA9A-5C19F2F9165C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,19 +11,19 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector3.names index 2a7ca79279..06990bde99 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D0A2F62C-EB98-51CC-A482-80F9623CE128}", + "base": "{D0A2F62C-EB98-51CC-A482-80F9623CE128}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,19 +11,19 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector2.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector2.names index b185b25309..0128628cb4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector2.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector2.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{00E27150-6B42-5C54-B600-70051B106C82}", + "base": "{00E27150-6B42-5C54-B600-70051B106C82}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Min", + "base": "DataInput_Min", "details": { "name": "Min" } }, { - "key": "DataInput_Max", + "base": "DataInput_Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector3.names index 3be02e9d63..d77f6e96c6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0A1CA315-EFAB-50DC-8C61-2C9763D25E31}", + "base": "{0A1CA315-EFAB-50DC-8C61-2C9763D25E31}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Min", + "base": "DataInput_Min", "details": { "name": "Min" } }, { - "key": "DataInput_Max", + "base": "DataInput_Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector4.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector4.names index 060a2aa54c..df7bd9384f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector4.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector4.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1C8987BF-7EA0-58CF-A4CC-2A998C9ADA68}", + "base": "{1C8987BF-7EA0-58CF-A4CC-2A998C9ADA68}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Min", + "base": "DataInput_Min", "details": { "name": "Min" } }, { - "key": "DataInput_Max", + "base": "DataInput_Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3.names index 6467b86b65..70826cd581 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{BC6D613C-CBE5-5B01-9207-16D0B158799D}", + "base": "{BC6D613C-CBE5-5B01-9207-16D0B158799D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3AndTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3AndTranslation.names index a982f27f00..a64be79b93 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3AndTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3AndTranslation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D2321D1F-C3B8-516E-AFE2-3A536A89BCAB}", + "base": "{D2321D1F-C3B8-516E-AFE2-3A536A89BCAB}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Matrix", + "base": "DataInput_Matrix", "details": { "name": "Matrix" } }, { - "key": "DataInput_Translation", + "base": "DataInput_Translation", "details": { "name": "Translation" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotation.names index 8f9e25ac73..db1f5d7706 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B5BCF19E-2EF2-584E-B4B6-0FC7E9FEE99B}", + "base": "{B5BCF19E-2EF2-584E-B4B6-0FC7E9FEE99B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotationAndTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotationAndTranslation.names index 86af19524d..0a44bbe29f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotationAndTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotationAndTranslation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{C2A304B1-9D48-5A2A-BCEE-69BCD72379E3}", + "base": "{C2A304B1-9D48-5A2A-BCEE-69BCD72379E3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Rotation", + "base": "DataInput_Rotation", "details": { "name": "Rotation" } }, { - "key": "DataInput_Translation", + "base": "DataInput_Translation", "details": { "name": "Translation" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromScale.names index c7b3729287..071ead3598 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromScale.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5DAB6076-4F49-5163-9E3C-CE3DF59E710C}", + "base": "{5DAB6076-4F49-5163-9E3C-CE3DF59E710C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Scale", + "base": "DataInput_Scale", "details": { "name": "Scale" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromTranslation.names index 9de04cbca8..391dfd9bee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromTranslation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{DFCF0A6F-9907-52B1-BBF3-632CB929C1B1}", + "base": "{DFCF0A6F-9907-52B1-BBF3-632CB929C1B1}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Translation", + "base": "DataInput_Translation", "details": { "name": "Translation" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetForward.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetForward.names index 60ca484883..9356423bc4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetForward.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetForward.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1D27BC5A-44D6-526E-B1EC-4B080B750ED1}", + "base": "{1D27BC5A-44D6-526E-B1EC-4B080B750ED1}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Scale", + "base": "DataInput_Scale", "details": { "name": "Scale" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetRight.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetRight.names index 9c9105301e..8723a54349 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetRight.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetRight.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{78E62FB8-7CD0-5E4D-BA31-9E62867C4F6A}", + "base": "{78E62FB8-7CD0-5E4D-BA31-9E62867C4F6A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Scale", + "base": "DataInput_Scale", "details": { "name": "Scale" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetTranslation.names index 657ae89af1..276db70fa1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetTranslation.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{BA0C1841-5632-5329-BCD3-CDF12B1D8682}", + "base": "{BA0C1841-5632-5329-BCD3-CDF12B1D8682}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetUp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetUp.names index 9eae139080..cf3dbd3e8c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetUp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetUp.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0351A1F0-7F51-58C2-9ED4-F617B897A523}", + "base": "{0351A1F0-7F51-58C2-9ED4-F617B897A523}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Scale", + "base": "DataInput_Scale", "details": { "name": "Scale" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsClose.names index 47fdde6039..65af93c3d0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsClose.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D58A9E0D-5C09-56AB-8D8C-C9C501BA62A3}", + "base": "{D58A9E0D-5C09-56AB-8D8C-C9C501BA62A3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsFinite.names index 5a820ec8aa..f98506dd62 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsFinite.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{BFF80CFD-5A54-5ADA-83FF-3849FD4E675D}", + "base": "{BFF80CFD-5A54-5ADA-83FF-3849FD4E675D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsOrthogonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsOrthogonal.names index 77f686a375..f4dd80a4a2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsOrthogonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsOrthogonal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D6B704EB-62A7-5CEB-B715-4CD402E1BAF9}", + "base": "{D6B704EB-62A7-5CEB-B715-4CD402E1BAF9}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByUniformScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByUniformScale.names index a898617aa1..f8bcbc41a7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByUniformScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByUniformScale.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{493F14D7-FC42-5544-9BA1-400762EB6D41}", + "base": "{493F14D7-FC42-5544-9BA1-400762EB6D41}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Scale", + "base": "DataInput_Scale", "details": { "name": "Scale" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector3.names index e227c1ef2b..d51e766840 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector3.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{00EEE23E-7FAC-5DE4-A3B1-9AC4DBD40AE4}", + "base": "{00EEE23E-7FAC-5DE4-A3B1-9AC4DBD40AE4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Multiplier", + "base": "DataInput_Multiplier", "details": { "name": "Multiplier" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector4.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector4.names index 64820d14e1..2e11891d0f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector4.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector4.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{FB87C32E-BB06-5499-B210-4EE109C419DC}", + "base": "{FB87C32E-BB06-5499-B210-4EE109C419DC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Multiplier", + "base": "DataInput_Multiplier", "details": { "name": "Multiplier" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_Orthogonalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_Orthogonalize.names index 4e803bc6b7..94598629b6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_Orthogonalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_Orthogonalize.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0CF20F04-C784-546B-80FB-0A705BB3D25A}", + "base": "{0CF20F04-C784-546B-80FB-0A705BB3D25A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationXDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationXDegrees.names index d50b4f99e4..353eb26615 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationXDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationXDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{93283EA1-ADED-53B8-B3BE-A7B933918286}", + "base": "{93283EA1-ADED-53B8-B3BE-A7B933918286}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationYDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationYDegrees.names index 2da86bdade..d5f5469593 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationYDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationYDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{380DB52D-3BEB-553C-B903-F5824AE1A0C6}", + "base": "{380DB52D-3BEB-553C-B903-F5824AE1A0C6}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationZDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationZDegrees.names index 75a0e7d1ec..8431b15578 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationZDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationZDegrees.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{70D7DC40-B9AB-55F6-8E80-A9F8EA9BE964}", + "base": "{70D7DC40-B9AB-55F6-8E80-A9F8EA9BE964}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Degrees", + "base": "DataInput_Degrees", "details": { "name": "Degrees" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_ToScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_ToScale.names index 3e9da773e0..531f0b1b38 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_ToScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_ToScale.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{AC6712AA-0494-5879-B7F8-4B04352924DE}", + "base": "{AC6712AA-0494-5879-B7F8-4B04352924DE}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Absolute.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Absolute.names index 8eb626b066..bd72341c6d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Absolute.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Absolute.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{97858B5F-57A8-5DE4-BA1D-ABE2504DE79D}", + "base": "{97858B5F-57A8-5DE4-BA1D-ABE2504DE79D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Angle.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Angle.names index d70cb4b898..7efe070c80 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Angle.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Angle.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{BAA9A44B-EC0E-536B-B64A-EA652596F40A}", + "base": "{BAA9A44B-EC0E-536B-B64A-EA652596F40A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Angle", + "base": "DataInput_Angle", "details": { "name": "Angle" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Clamp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Clamp.names index 970b1647a8..2a4f580d95 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Clamp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Clamp.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{636D27FE-E3E3-5983-A364-9147CD42F2D2}", + "base": "{636D27FE-E3E3-5983-A364-9147CD42F2D2}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Min", + "base": "DataInput_Min", "details": { "name": "Min" } }, { - "key": "DataInput_Max", + "base": "DataInput_Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DirectionTo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DirectionTo.names index 53b667f5d4..58ef596560 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DirectionTo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DirectionTo.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{ECDE911F-56B4-5D91-86A6-32C4F9461305}", + "base": "{ECDE911F-56B4-5D91-86A6-32C4F9461305}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataInput_Scale", + "base": "DataInput_Scale", "details": { "name": "Scale" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Distance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Distance.names index 81c7caac36..5d6b79ef69 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Distance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Distance.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{38BE4B13-7B8C-5FCF-9313-74E6C9C3BE06}", + "base": "{38BE4B13-7B8C-5FCF-9313-74E6C9C3BE06}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DistanceSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DistanceSquared.names index d8282d40d0..cc12b409ee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DistanceSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DistanceSquared.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1CBF4712-4BB5-5FB9-BC5F-C34E0C076334}", + "base": "{1CBF4712-4BB5-5FB9-BC5F-C34E0C076334}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Dot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Dot.names index 21a9836da5..19db3eb635 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Dot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Dot.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{9F91A118-D85A-5357-ACE3-92A78AA2C4FC}", + "base": "{9F91A118-D85A-5357-ACE3-92A78AA2C4FC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_FromValues.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_FromValues.names index 1825d3b69f..d68a9ffc30 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_FromValues.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_FromValues.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{10158AAB-73B0-5863-A7CA-11616E05CBE4}", + "base": "{10158AAB-73B0-5863-A7CA-11616E05CBE4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_X", + "base": "DataInput_X", "details": { "name": "X" } }, { - "key": "DataInput_Y", + "base": "DataInput_Y", "details": { "name": "Y" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_GetElement.names index 4abdac379a..bcd119556c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_GetElement.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4843E512-0335-5411-A548-8AC8245B6845}", + "base": "{4843E512-0335-5411-A548-8AC8245B6845}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Index", + "base": "DataInput_Index", "details": { "name": "Index" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsClose.names index 30d0f9eab6..4146bc08de 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsClose.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{82F6EBA6-BBF5-5063-84E6-8C4BCEF7E4A3}", + "base": "{82F6EBA6-BBF5-5063-84E6-8C4BCEF7E4A3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsFinite.names index d170de9066..9b45bb21b7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsFinite.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{3D6F65B5-020D-55EE-B807-C54D10DDC647}", + "base": "{3D6F65B5-020D-55EE-B807-C54D10DDC647}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsNormalized.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsNormalized.names index aecdcde55d..151baa29b0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsNormalized.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsNormalized.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{AD815735-ED31-535E-BEEF-471259B271E3}", + "base": "{AD815735-ED31-535E-BEEF-471259B271E3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsZero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsZero.names index d0869fffd0..3f183cfe56 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsZero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsZero.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A8F6E886-BFCC-5546-8516-1564C1A56D18}", + "base": "{A8F6E886-BFCC-5546-8516-1564C1A56D18}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Length.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Length.names index 99e7922e75..cb76ac347b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Length.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Length.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{AD0A51F8-F87B-504E-84F0-8C60927D3798}", + "base": "{AD0A51F8-F87B-504E-84F0-8C60927D3798}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_LengthSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_LengthSquared.names index 6ff64af10f..112d82d5e3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_LengthSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_LengthSquared.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{EF19330A-6FF7-5B8C-B029-C429525A3223}", + "base": "{EF19330A-6FF7-5B8C-B029-C429525A3223}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Lerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Lerp.names index 78bf3b0d6f..49711526b7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Lerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Lerp.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{978B5227-CE5B-501A-8EA8-54DE40DFF558}", + "base": "{978B5227-CE5B-501A-8EA8-54DE40DFF558}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataInput_T", + "base": "DataInput_T", "details": { "name": "T" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Max.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Max.names index 6b906d80bf..d6ff44c21c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Max.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Max.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5CA4EE87-53A9-514C-8278-F311F447B7B1}", + "base": "{5CA4EE87-53A9-514C-8278-F311F447B7B1}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Min.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Min.names index bc50faf138..5563f69c00 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Min.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Min.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{894F73E5-0447-5627-9B16-FDD649DA7A42}", + "base": "{894F73E5-0447-5627-9B16-FDD649DA7A42}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_MultiplyByNumber.names index 14e227c51d..f63137d25f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_MultiplyByNumber.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4FA0D3F0-A95B-5DEB-B46D-E9D08C43D55E}", + "base": "{4FA0D3F0-A95B-5DEB-B46D-E9D08C43D55E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Multiplier", + "base": "DataInput_Multiplier", "details": { "name": "Multiplier" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Negate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Negate.names index d0501ee1b3..1eb48cf3a5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Negate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Negate.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E4C28D60-B4AA-555A-BE46-DB4D7196C532}", + "base": "{E4C28D60-B4AA-555A-BE46-DB4D7196C532}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Normalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Normalize.names index a8c9e0ef3b..ae4ee365ef 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Normalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Normalize.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E019ADBA-0793-5653-A4BD-446F41FED0BC}", + "base": "{E019ADBA-0793-5653-A4BD-446F41FED0BC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Project.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Project.names index e6a60b35aa..e6bd531852 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Project.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Project.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F4826124-F3C7-59B5-B92B-4CD00AADFED3}", + "base": "{F4826124-F3C7-59B5-B92B-4CD00AADFED3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetX.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetX.names index 001c062eb8..4a96a8154e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetX.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetX.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6FA3AADA-3B14-5C7C-8F7C-75818C3AEC94}", + "base": "{6FA3AADA-3B14-5C7C-8F7C-75818C3AEC94}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_X", + "base": "DataInput_X", "details": { "name": "X" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetY.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetY.names index cb0655fafc..bdde07b53c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetY.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetY.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2969A368-000E-5723-8821-1B97790917E7}", + "base": "{2969A368-000E-5723-8821-1B97790917E7}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Y", + "base": "DataInput_Y", "details": { "name": "Y" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Slerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Slerp.names index d6e29b7a5f..26b5579174 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Slerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Slerp.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6071D322-86AF-5900-B073-33E74146525B}", + "base": "{6071D322-86AF-5900-B073-33E74146525B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataInput_T", + "base": "DataInput_T", "details": { "name": "T" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_ToPerpendicular.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_ToPerpendicular.names index 5ea65c816c..f78ec6a232 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_ToPerpendicular.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_ToPerpendicular.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{78889490-B826-5682-9464-117DB8083AF4}", + "base": "{78889490-B826-5682-9464-117DB8083AF4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Absolute.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Absolute.names index dbaeb967a2..a20c7413d7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Absolute.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Absolute.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8C3D49FD-9913-5104-B67B-2DFC9223E08B}", + "base": "{8C3D49FD-9913-5104-B67B-2DFC9223E08B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_BuildTangentBasis.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_BuildTangentBasis.names index 05aec1da52..8f08fb24c2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_BuildTangentBasis.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_BuildTangentBasis.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{07875A9A-81DF-59BA-95E8-3BB5D3E7CF0E}", + "base": "{07875A9A-81DF-59BA-95E8-3BB5D3E7CF0E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Normal", + "base": "DataInput_Normal", "details": { "name": "Normal" } }, { - "key": "DataOutput_Tangent", + "base": "DataOutput_Tangent", "details": { "name": "Tangent" } }, { - "key": "DataOutput_Bitangent", + "base": "DataOutput_Bitangent", "details": { "name": "Bitangent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Clamp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Clamp.names index 28e5747493..15109364fd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Clamp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Clamp.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F14339D1-DB1C-584F-A91E-2D10D29255DF}", + "base": "{F14339D1-DB1C-584F-A91E-2D10D29255DF}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Min", + "base": "DataInput_Min", "details": { "name": "Min" } }, { - "key": "DataInput_Max", + "base": "DataInput_Max", "details": { "name": "Max" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Cross.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Cross.names index 64f6d9f992..a23b88920e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Cross.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Cross.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8645F3FA-D1BE-59A2-B183-19FEA198101D}", + "base": "{8645F3FA-D1BE-59A2-B183-19FEA198101D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DirectionTo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DirectionTo.names index b0e542b842..5071b5d52c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DirectionTo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DirectionTo.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{CA0FE782-4D45-5CFD-94D4-88CC687429FB}", + "base": "{CA0FE782-4D45-5CFD-94D4-88CC687429FB}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataInput_Scale", + "base": "DataInput_Scale", "details": { "name": "Scale" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Distance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Distance.names index 1c8df2ccc5..3d38a8d9d1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Distance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Distance.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2326F5E9-022F-5754-9A65-8E4BBD712A5A}", + "base": "{2326F5E9-022F-5754-9A65-8E4BBD712A5A}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DistanceSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DistanceSquared.names index 5e33d91136..56f45fbec4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DistanceSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DistanceSquared.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{920C0CA6-3393-5AC7-805E-09D52E134ED4}", + "base": "{920C0CA6-3393-5AC7-805E-09D52E134ED4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Dot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Dot.names index 06a80b4078..c86dac30a0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Dot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Dot.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{233F747E-7E53-5F9F-8355-EBF96FAAAEE4}", + "base": "{233F747E-7E53-5F9F-8355-EBF96FAAAEE4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_FromValues.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_FromValues.names index 42a47d5fcf..10831f85ed 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_FromValues.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_FromValues.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A3F601EF-4E3C-5852-ADE9-D3F8FA9D571D}", + "base": "{A3F601EF-4E3C-5852-ADE9-D3F8FA9D571D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_X", + "base": "DataInput_X", "details": { "name": "X" } }, { - "key": "DataInput_Y", + "base": "DataInput_Y", "details": { "name": "Y" } }, { - "key": "DataInput_Z", + "base": "DataInput_Z", "details": { "name": "Z" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_GetElement.names index 89d4c218e4..ae6ce083ac 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_GetElement.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E009C313-15F5-5B1F-99F0-8C83555BA8E1}", + "base": "{E009C313-15F5-5B1F-99F0-8C83555BA8E1}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Index", + "base": "DataInput_Index", "details": { "name": "Index" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsClose.names index 2eef451673..5e5c09923c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsClose.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4C54A897-39D7-5612-AAA6-B5CC25D65CE2}", + "base": "{4C54A897-39D7-5612-AAA6-B5CC25D65CE2}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsFinite.names index c1e14e8db0..e527e8bf35 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsFinite.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{7C09FF34-0608-57A9-8CEE-66DCA0485F08}", + "base": "{7C09FF34-0608-57A9-8CEE-66DCA0485F08}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsNormalized.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsNormalized.names index 35f2e6421a..e9f64e84fb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsNormalized.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsNormalized.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{7C895C3A-972B-5CF4-9F1D-62C2A9BBBEAD}", + "base": "{7C895C3A-972B-5CF4-9F1D-62C2A9BBBEAD}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsPerpendicular.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsPerpendicular.names index 82c3388632..c4adec6436 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsPerpendicular.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsPerpendicular.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{775DA8B7-881F-55AF-911B-9CD28DC5F9B0}", + "base": "{775DA8B7-881F-55AF-911B-9CD28DC5F9B0}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsZero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsZero.names index 0d80b3395c..f65485eb78 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsZero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsZero.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{282F32C7-5806-5C1A-BA31-E14E37913599}", + "base": "{282F32C7-5806-5C1A-BA31-E14E37913599}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Length.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Length.names index 4c23c9cbbd..6861dab138 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Length.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Length.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{899CC124-10D8-5081-BD8E-00BD2B0DAD2B}", + "base": "{899CC124-10D8-5081-BD8E-00BD2B0DAD2B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthReciprocal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthReciprocal.names index be22489f6d..12ded27f2e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthReciprocal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthReciprocal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{299657FE-6A44-52DA-919E-3F266EFC7535}", + "base": "{299657FE-6A44-52DA-919E-3F266EFC7535}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthSquared.names index 4c6d79d1e5..9a97dbb263 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthSquared.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{12A6C1D4-5C8A-5FFB-B7BC-E5E983DA72CC}", + "base": "{12A6C1D4-5C8A-5FFB-B7BC-E5E983DA72CC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Lerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Lerp.names index 5d0b9792c9..c320ce31a5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Lerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Lerp.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{722A4327-0D64-5ADF-BCDD-CDCF7EDDD16D}", + "base": "{722A4327-0D64-5ADF-BCDD-CDCF7EDDD16D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataInput_T", + "base": "DataInput_T", "details": { "name": "T" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Max.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Max.names index 38acf91419..d429e45202 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Max.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Max.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{C1E9BE9C-DD4E-5AD5-BFBD-23A012619BD3}", + "base": "{C1E9BE9C-DD4E-5AD5-BFBD-23A012619BD3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Min.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Min.names index 1a47a31834..eef2baf012 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Min.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Min.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{343EA674-C05F-5803-BB86-C6D26C3F6D89}", + "base": "{343EA674-C05F-5803-BB86-C6D26C3F6D89}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_MultiplyByNumber.names index 95e2710e33..9637449b22 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_MultiplyByNumber.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B1CAAC2D-A568-5CB2-B580-5B239D013466}", + "base": "{B1CAAC2D-A568-5CB2-B580-5B239D013466}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Multiplier", + "base": "DataInput_Multiplier", "details": { "name": "Multiplier" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Negate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Negate.names index e578384975..b0fa0beae4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Negate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Negate.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A239FB13-643C-5D47-9580-A373491FECCA}", + "base": "{A239FB13-643C-5D47-9580-A373491FECCA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Normalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Normalize.names index cf0a181d0b..a0f535b4d4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Normalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Normalize.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{CF4EBDEE-B16A-5402-B44D-75FF06AD89AE}", + "base": "{CF4EBDEE-B16A-5402-B44D-75FF06AD89AE}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Project.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Project.names index 80df59908d..ff18755ecb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Project.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Project.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D24123BA-6C59-5F58-90E2-FCB085384BAA}", + "base": "{D24123BA-6C59-5F58-90E2-FCB085384BAA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Reciprocal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Reciprocal.names index dd3de8c146..de65bf82ea 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Reciprocal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Reciprocal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E90663EA-FFD1-5908-8530-3C21BD6A9A62}", + "base": "{E90663EA-FFD1-5908-8530-3C21BD6A9A62}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetX.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetX.names index 47e3273302..7db313ffca 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetX.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetX.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A5945988-1E94-5560-B1EE-B513AD113E1C}", + "base": "{A5945988-1E94-5560-B1EE-B513AD113E1C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_X", + "base": "DataInput_X", "details": { "name": "X" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetY.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetY.names index 8456f9de21..db5299df5b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetY.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetY.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{08880FE1-8C3E-5380-A3FF-CA1AE16953FC}", + "base": "{08880FE1-8C3E-5380-A3FF-CA1AE16953FC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Y", + "base": "DataInput_Y", "details": { "name": "Y" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetZ.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetZ.names index a92a4e5a7f..c8239d2d46 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetZ.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetZ.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{12C93A22-5B0B-55CC-90FC-7DB17C1C36DF}", + "base": "{12C93A22-5B0B-55CC-90FC-7DB17C1C36DF}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Z", + "base": "DataInput_Z", "details": { "name": "Z" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Slerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Slerp.names index 09251d7f13..5052d03400 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Slerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Slerp.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{55EA4F53-2789-54B2-9CC7-4DB62B2CB270}", + "base": "{55EA4F53-2789-54B2-9CC7-4DB62B2CB270}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataInput_T", + "base": "DataInput_T", "details": { "name": "T" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Absolute.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Absolute.names index 5ea08e0e68..c5ebee0f5a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Absolute.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Absolute.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A5BAEA40-C676-5C16-AEA0-D01C78E5918E}", + "base": "{A5BAEA40-C676-5C16-AEA0-D01C78E5918E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_DirectionTo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_DirectionTo.names index d1fdcbe653..e8ab09461e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_DirectionTo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_DirectionTo.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1FC1ABCB-220E-5CBF-AE38-14E7389D0AE4}", + "base": "{1FC1ABCB-220E-5CBF-AE38-14E7389D0AE4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_From", + "base": "DataInput_From", "details": { "name": "From" } }, { - "key": "DataInput_To", + "base": "DataInput_To", "details": { "name": "To" } }, { - "key": "DataInput_Scale", + "base": "DataInput_Scale", "details": { "name": "Scale" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Dot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Dot.names index 59dfbbc61f..d780f4379b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Dot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Dot.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{59AF8BA5-11BA-5E5E-982C-2E7A8C6600D4}", + "base": "{59AF8BA5-11BA-5E5E-982C-2E7A8C6600D4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_FromValues.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_FromValues.names index 73f6088330..1f362d71f9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_FromValues.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_FromValues.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{DFDC391C-782D-58D9-BF81-C7B13A0F4CFC}", + "base": "{DFDC391C-782D-58D9-BF81-C7B13A0F4CFC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,43 +11,43 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_X", + "base": "DataInput_X", "details": { "name": "X" } }, { - "key": "DataInput_Y", + "base": "DataInput_Y", "details": { "name": "Y" } }, { - "key": "DataInput_Z", + "base": "DataInput_Z", "details": { "name": "Z" } }, { - "key": "DataInput_W", + "base": "DataInput_W", "details": { "name": "W" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_GetElement.names index 7b37a541e7..f09bda9acf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_GetElement.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1AC44E60-9560-58DD-A210-48A755155D6D}", + "base": "{1AC44E60-9560-58DD-A210-48A755155D6D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Index", + "base": "DataInput_Index", "details": { "name": "Index" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsClose.names index 583d85d028..5881c02adb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsClose.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{DD9F50A6-AC60-59E1-8C63-C6C392DA8C15}", + "base": "{DD9F50A6-AC60-59E1-8C63-C6C392DA8C15}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,37 +11,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_A", + "base": "DataInput_A", "details": { "name": "A" } }, { - "key": "DataInput_B", + "base": "DataInput_B", "details": { "name": "B" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsFinite.names index 603a38f9c8..9e1c8e5ba0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsFinite.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{138EE359-9CA0-520B-873D-90C2183C96FE}", + "base": "{138EE359-9CA0-520B-873D-90C2183C96FE}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsNormalized.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsNormalized.names index 7ae2964f40..92b367b6e2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsNormalized.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsNormalized.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B2EE1FD3-D33D-5348-AC29-E2D08C1E3363}", + "base": "{B2EE1FD3-D33D-5348-AC29-E2D08C1E3363}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsZero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsZero.names index a1bbb08d27..6d2bacb0b2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsZero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsZero.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{EBD3BEF3-0FA8-5508-8C9B-BDCA64A00E5E}", + "base": "{EBD3BEF3-0FA8-5508-8C9B-BDCA64A00E5E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Tolerance", + "base": "DataInput_Tolerance", "details": { "name": "Tolerance" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Length.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Length.names index b6329060b3..2aa5585b43 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Length.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Length.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{768CD3CA-09E3-51EB-AE59-8D34DC0D12A8}", + "base": "{768CD3CA-09E3-51EB-AE59-8D34DC0D12A8}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthReciprocal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthReciprocal.names index cfe495d8a6..4affd32f7c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthReciprocal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthReciprocal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{60E6D939-6105-53CB-865B-4F401A1B487B}", + "base": "{60E6D939-6105-53CB-865B-4F401A1B487B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthSquared.names index f4602d127a..1abb6d4e9b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthSquared.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4DFB1966-BDE3-55C3-A0B4-0D04926AB732}", + "base": "{4DFB1966-BDE3-55C3-A0B4-0D04926AB732}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_MultiplyByNumber.names index 556582c9d8..c9cd4b2513 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_MultiplyByNumber.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{317BA61D-AEEA-566E-A113-2384C5BDADD6}", + "base": "{317BA61D-AEEA-566E-A113-2384C5BDADD6}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Multiplier", + "base": "DataInput_Multiplier", "details": { "name": "Multiplier" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Negate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Negate.names index 8cf9ae9226..74da5c724d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Negate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Negate.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B8B0E83E-F1C3-5F0B-93A5-1756B79E1316}", + "base": "{B8B0E83E-F1C3-5F0B-93A5-1756B79E1316}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Normalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Normalize.names index 5b1dc01d6f..9d51b0e78d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Normalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Normalize.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{9337FBC7-20D8-51C7-8D69-D9E53B739BD7}", + "base": "{9337FBC7-20D8-51C7-8D69-D9E53B739BD7}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Reciprocal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Reciprocal.names index 82a67c218a..f493b7bf20 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Reciprocal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Reciprocal.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A7AB6D14-CDAF-519D-B29F-2E1292257A4C}", + "base": "{A7AB6D14-CDAF-519D-B29F-2E1292257A4C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,25 +11,25 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetW.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetW.names index 79d028c7c3..c89ebd7840 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetW.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetW.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{48337108-38AA-5A58-BBFD-D15560A0B685}", + "base": "{48337108-38AA-5A58-BBFD-D15560A0B685}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_W", + "base": "DataInput_W", "details": { "name": "W" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetX.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetX.names index ea852cfdc5..b9b9e96845 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetX.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetX.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E39B02FA-3231-57AC-8D2F-E9448E2CECD3}", + "base": "{E39B02FA-3231-57AC-8D2F-E9448E2CECD3}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_X", + "base": "DataInput_X", "details": { "name": "X" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetY.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetY.names index 9f3e456472..f0f2b04cf8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetY.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetY.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{45D44536-DCE8-5CC1-9311-9BC79BBF333C}", + "base": "{45D44536-DCE8-5CC1-9311-9BC79BBF333C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Y", + "base": "DataInput_Y", "details": { "name": "Y" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetZ.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetZ.names index b3db2cb06c..3467d2ca52 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetZ.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetZ.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8CC2A1A7-FD41-5C7B-BC1A-BEF5BBF74D62}", + "base": "{8CC2A1A7-FD41-5C7B-BC1A-BEF5BBF74D62}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Z", + "base": "DataInput_Z", "details": { "name": "Z" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Add_+_.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Add_+_.names index c48a0bdaf7..fb9b199a4d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Add_+_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Add_+_.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{C1B42FEC-0545-4511-9FAC-11E0387FEDF0}", + "base": "{C1B42FEC-0545-4511-9FAC-11E0387FEDF0}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Divide__.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Divide__.names index b5aa513ee4..40d1552274 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Divide__.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Divide__.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{DC17E19F-3829-410D-9A0B-AD60C6066DAA}", + "base": "{DC17E19F-3829-410D-9A0B-AD60C6066DAA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_DividebyNumber__.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_DividebyNumber__.names index 9b56075a42..45005dc5c4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_DividebyNumber__.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_DividebyNumber__.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8305B5C9-1B9F-4D5B-B3E7-66925F491E9D}", + "base": "{8305B5C9-1B9F-4D5B-B3E7-66925F491E9D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "DataInput_Divisor", + "base": "DataInput_Divisor", "details": { "name": "Divisor" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Length.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Length.names index 172d57f5db..3f2a833f95 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Length.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Length.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{AEE15BEA-CD51-4C1A-B06D-C09FB9EAA005}", + "base": "{AEE15BEA-CD51-4C1A-B06D-C09FB9EAA005}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,25 +12,25 @@ }, "slots": [ { - "key": "DataOutput_Length", + "base": "DataOutput_Length", "details": { "name": "Length" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_LerpBetween.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_LerpBetween.names index a63e64bfa4..53eaa8ebb6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_LerpBetween.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_LerpBetween.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A4CFB2F2-4045-47ED-AE73-ED60C2072EE4}", + "base": "{A4CFB2F2-4045-47ED-AE73-ED60C2072EE4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,78 +11,78 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Starts the lerp action from the beginning." } }, { - "key": "DataInput_Start", + "base": "DataInput_Start", "details": { "name": "Start" } }, { - "key": "DataInput_Stop", + "base": "DataInput_Stop", "details": { "name": "Stop" } }, { - "key": "DataInput_Speed", + "base": "DataInput_Speed", "details": { "name": "Speed" } }, { - "key": "DataInput_Maximum Duration", + "base": "DataInput_Maximum Duration", "details": { "name": "Maximum Duration" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Executes immediately after the lerp action is started." } }, { - "key": "Input_Cancel", + "base": "Input_Cancel", "details": { "name": "Cancel", "tooltip": "Stops the lerp action immediately." } }, { - "key": "Output_Canceled", + "base": "Output_Canceled", "details": { "name": "Canceled", "tooltip": "Executes immediately after the operation is canceled." } }, { - "key": "Output_Tick", + "base": "Output_Tick", "details": { "name": "Tick", "tooltip": "Signaled at each step of the lerp." } }, { - "key": "DataOutput_Step", + "base": "DataOutput_Step", "details": { "name": "Step" } }, { - "key": "DataOutput_Percent", + "base": "DataOutput_Percent", "details": { "name": "Percent" } }, { - "key": "Output_Lerp Complete", + "base": "Output_Lerp Complete", "details": { "name": "Lerp Complete", "tooltip": "Signaled after the last Tick, when the lerp is complete" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MathExpression.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MathExpression.names index 552aa8a101..4928054d0e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MathExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MathExpression.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{A5841DE8-CA11-4364-9C34-5ECE8B9623D7}", + "base": "{A5841DE8-CA11-4364-9C34-5ECE8B9623D7}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,20 +12,20 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Output signal" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MultiplyAndAdd.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MultiplyAndAdd.names index accfab49fc..f8af2d0c67 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MultiplyAndAdd.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MultiplyAndAdd.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{9A2FDC22-90E1-5A32-9670-156BB7EE8149}", + "base": "{9A2FDC22-90E1-5A32-9670-156BB7EE8149}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,37 +10,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Multiplicand", + "base": "DataInput_Multiplicand", "details": { "name": "Multiplicand" } }, { - "key": "DataInput_Multiplier", + "base": "DataInput_Multiplier", "details": { "name": "Multiplier" } }, { - "key": "DataInput_Addend", + "base": "DataInput_Addend", "details": { "name": "Addend" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Multiply_x_.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Multiply_x_.names index ba52de3900..6293bab799 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Multiply_x_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Multiply_x_.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E9BB45A1-AE96-47B0-B2BF-2927D420A28C}", + "base": "{E9BB45A1-AE96-47B0-B2BF-2927D420A28C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_StringToNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_StringToNumber.names index e6423917de..534d469271 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_StringToNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_StringToNumber.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8A57777C-AD84-5CF4-B411-03ABF982EF55}", + "base": "{8A57777C-AD84-5CF4-B411-03ABF982EF55}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,19 +11,19 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Subtract_-_.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Subtract_-_.names index 67ed5cf859..423ec056ea 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Subtract_-_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Subtract_-_.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D0615D0A-027F-47F6-A02B-E35DAF22F431}", + "base": "{D0615D0A-027F-47F6-A02B-E35DAF22F431}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,31 +12,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_ThreeGeneric.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_ThreeGeneric.names index edcbe2783a..9b73829ea8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_ThreeGeneric.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_ThreeGeneric.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{9E334D28-CBB3-53AF-AFA1-8223F50312CE}", + "base": "{9E334D28-CBB3-53AF-AFA1-8223F50312CE}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,49 +12,49 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Vector3: One", + "base": "DataInput_Vector3: One", "details": { "name": "Vector3: One" } }, { - "key": "DataInput_String: Two", + "base": "DataInput_String: Two", "details": { "name": "String: Two" } }, { - "key": "DataInput_Boolean: Three", + "base": "DataInput_Boolean: Three", "details": { "name": "Boolean: Three" } }, { - "key": "DataOutput_One: Vector3", + "base": "DataOutput_One: Vector3", "details": { "name": "One: Vector3" } }, { - "key": "DataOutput_Two: String", + "base": "DataOutput_Two: String", "details": { "name": "Two: String" } }, { - "key": "DataOutput_Three: Boolean", + "base": "DataOutput_Three: Boolean", "details": { "name": "Three: Boolean" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Duration.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Duration.names index 67aca7a003..a1153b6eac 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Duration.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Duration.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{CCF1F41F-39C2-C847-9D9E-0155C8B46E1C}", + "base": "{CCF1F41F-39C2-C847-9D9E-0155C8B46E1C}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,38 +11,38 @@ }, "slots": [ { - "key": "Input_Start", + "base": "Input_Start", "details": { "name": "Start" } }, { - "key": "DataInput_Duration", + "base": "DataInput_Duration", "details": { "name": "Duration" } }, { - "key": "Output_On Start", + "base": "Output_On Start", "details": { "name": "On Start" } }, { - "key": "Output_OnTick", + "base": "Output_OnTick", "details": { "name": "OnTick", "tooltip": "Signaled every frame while the duration is active." } }, { - "key": "DataOutput_Elapsed", + "base": "DataOutput_Elapsed", "details": { "name": "Elapsed" } }, { - "key": "Output_Done", + "base": "Output_Done", "details": { "name": "Done", "tooltip": "Signaled after waiting for the specified amount of times." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Repeater.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Repeater.names index 7f2fe575d7..21f18b994f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Repeater.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Repeater.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{AB587027-2270-4CA6-242F-6069C6D9BBB6}", + "base": "{AB587027-2270-4CA6-242F-6069C6D9BBB6}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,38 +11,38 @@ }, "slots": [ { - "key": "Input_Start", + "base": "Input_Start", "details": { "name": "Start" } }, { - "key": "DataInput_Repetitions", + "base": "DataInput_Repetitions", "details": { "name": "Repetitions" } }, { - "key": "DataInput_Interval", + "base": "DataInput_Interval", "details": { "name": "Interval" } }, { - "key": "Output_On Start", + "base": "Output_On Start", "details": { "name": "On Start" } }, { - "key": "Output_Complete", + "base": "Output_Complete", "details": { "name": "Complete", "tooltip": "Signaled upon node exit" } }, { - "key": "Output_Action", + "base": "Output_Action", "details": { "name": "Action", "tooltip": "Signaled every repetition" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_TimeDelay.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_TimeDelay.names index b17bebdcfc..dd4c6412f3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_TimeDelay.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_TimeDelay.names @@ -1,35 +1,35 @@ { "entries": [ { - "key": "{D3629902-02E9-AE59-0424-F366D342B433}", + "base": "{D3629902-02E9-AE59-0424-F366D342B433}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "TimeDelay", + "name": "Time Delay", "category": "Timing", "tooltip": "Delays all incoming execution for the specified number of ticks" }, "slots": [ { - "key": "Input_Start", + "base": "Input_Start", "details": { "name": "Start" } }, { - "key": "DataInput_Delay", + "base": "DataInput_Delay", "details": { "name": "Delay" } }, { - "key": "Output_On Start", + "base": "Output_On Start", "details": { "name": "On Start" } }, { - "key": "Output_Done", + "base": "Output_Done", "details": { "name": "Done", "tooltip": "Signaled after waiting for the specified amount of times." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/OperatorsMath_OperatorArithmeticUnary.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/OperatorsMath_OperatorArithmeticUnary.names index 3b14103cc8..8f3826e4f0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/OperatorsMath_OperatorArithmeticUnary.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/OperatorsMath_OperatorArithmeticUnary.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{4B68DF49-35DE-48CF-BCE3-F892CCF2639D}", + "base": "{4B68DF49-35DE-48CF-BCE3-F892CCF2639D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorArithmetic.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorArithmetic.names index f01ee442be..20913eedaf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorArithmetic.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorArithmetic.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{FE0589B0-F835-4CD5-BBD3-86510CBB985B}", + "base": "{FE0589B0-F835-4CD5-BBD3-86510CBB985B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,31 +11,31 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorBase.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorBase.names index 523ca60c85..9b62348cdc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorBase.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorBase.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{30FED030-71ED-4498-AB2C-F5586DFA490E}", + "base": "{30FED030-71ED-4498-AB2C-F5586DFA490E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,14 +11,14 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Output signal" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_BoxCastWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_BoxCastWithGroup.names new file mode 100644 index 0000000000..671fdd730e --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_BoxCastWithGroup.names @@ -0,0 +1,100 @@ +{ + "entries": [ + { + "base": "{022255F7-DD50-5654-967E-6E00E8360F00}", + "context": "ScriptCanvas::Node", + "variant": "", + "details": { + "name": "Box Cast With Group", + "category": "PhysX/World", + "tooltip": "Box Cast" + }, + "slots": [ + { + "base": "Input_In", + "details": { + "name": "In" + } + }, + { + "base": "Output_Out", + "details": { + "name": "Out" + } + }, + { + "base": "DataInput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataInput_Pose", + "details": { + "name": "Pose" + } + }, + { + "base": "DataInput_Direction", + "details": { + "name": "Direction" + } + }, + { + "base": "DataInput_Dimensions", + "details": { + "name": "Dimensions" + } + }, + { + "base": "DataInput_Collision group", + "details": { + "name": "Collision group" + } + }, + { + "base": "DataInput_Ignore", + "details": { + "name": "Ignore" + } + }, + { + "base": "DataOutput_Object Hit", + "details": { + "name": "Object Hit" + } + }, + { + "base": "DataOutput_Position", + "details": { + "name": "Position" + } + }, + { + "base": "DataOutput_Normal", + "details": { + "name": "Normal" + } + }, + { + "base": "DataOutput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataOutput_EntityId", + "details": { + "name": "EntityId" + } + }, + { + "base": "DataOutput_Surface", + "details": { + "name": "Surface" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_CapsuleCastWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_CapsuleCastWithGroup.names new file mode 100644 index 0000000000..4dfca63478 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_CapsuleCastWithGroup.names @@ -0,0 +1,106 @@ +{ + "entries": [ + { + "base": "{1467D2BE-D829-5A8A-976D-6D06FDCD3310}", + "context": "ScriptCanvas::Node", + "variant": "", + "details": { + "name": "Capsule Cast With Group", + "category": "PhysX/World", + "tooltip": "CapsuleCast" + }, + "slots": [ + { + "base": "Input_In", + "details": { + "name": "In" + } + }, + { + "base": "Output_Out", + "details": { + "name": "Out" + } + }, + { + "base": "DataInput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataInput_Pose", + "details": { + "name": "Pose" + } + }, + { + "base": "DataInput_Direction", + "details": { + "name": "Direction" + } + }, + { + "base": "DataInput_Height", + "details": { + "name": "Height" + } + }, + { + "base": "DataInput_Radius", + "details": { + "name": "Radius" + } + }, + { + "base": "DataInput_Collision group", + "details": { + "name": "Collision group" + } + }, + { + "base": "DataInput_Ignore", + "details": { + "name": "Ignore" + } + }, + { + "base": "DataOutput_Object Hit", + "details": { + "name": "Object Hit" + } + }, + { + "base": "DataOutput_Position", + "details": { + "name": "Position" + } + }, + { + "base": "DataOutput_Normal", + "details": { + "name": "Normal" + } + }, + { + "base": "DataOutput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataOutput_EntityId", + "details": { + "name": "EntityId" + } + }, + { + "base": "DataOutput_Surface", + "details": { + "name": "Surface" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapBoxWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapBoxWithGroup.names new file mode 100644 index 0000000000..f49e3d2461 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapBoxWithGroup.names @@ -0,0 +1,58 @@ +{ + "entries": [ + { + "base": "{B4F46A1B-7C2F-553F-BAE8-867066A365FA}", + "context": "ScriptCanvas::Node", + "variant": "", + "details": { + "name": "Overlap Box With Group", + "category": "PhysX/World", + "tooltip": "Returns the objects overlapping a box at a position" + }, + "slots": [ + { + "base": "Input_In", + "details": { + "name": "In" + } + }, + { + "base": "Output_Out", + "details": { + "name": "Out" + } + }, + { + "base": "DataInput_Pose", + "details": { + "name": "Pose" + } + }, + { + "base": "DataInput_Dimensions", + "details": { + "name": "Dimensions" + } + }, + { + "base": "DataInput_Collision group", + "details": { + "name": "Collision group" + } + }, + { + "base": "DataInput_Ignore", + "details": { + "name": "Ignore" + } + }, + { + "base": "DataOutput_Result", + "details": { + "name": "Result" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapCapsuleWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapCapsuleWithGroup.names new file mode 100644 index 0000000000..291dc8ea75 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapCapsuleWithGroup.names @@ -0,0 +1,64 @@ +{ + "entries": [ + { + "base": "{588E1C8F-D18E-5C00-AF13-C4FCD5A9519D}", + "context": "ScriptCanvas::Node", + "variant": "", + "details": { + "name": "Overlap Capsule With Group", + "category": "PhysX/World", + "tooltip": "Returns the objects overlapping a capsule at a position" + }, + "slots": [ + { + "base": "Input_In", + "details": { + "name": "In" + } + }, + { + "base": "Output_Out", + "details": { + "name": "Out" + } + }, + { + "base": "DataInput_Pose", + "details": { + "name": "Pose" + } + }, + { + "base": "DataInput_Height", + "details": { + "name": "Height" + } + }, + { + "base": "DataInput_Radius", + "details": { + "name": "Radius" + } + }, + { + "base": "DataInput_Collision group", + "details": { + "name": "Collision group" + } + }, + { + "base": "DataInput_Ignore", + "details": { + "name": "Ignore" + } + }, + { + "base": "DataOutput_Result", + "details": { + "name": "Result" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapSphereWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapSphereWithGroup.names new file mode 100644 index 0000000000..bd48cbf7ad --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapSphereWithGroup.names @@ -0,0 +1,58 @@ +{ + "entries": [ + { + "base": "{4BEFF98E-4147-55AF-B105-29085951CBA9}", + "context": "ScriptCanvas::Node", + "variant": "", + "details": { + "name": "Overlap Sphere With Group", + "category": "PhysX/World", + "tooltip": "Returns the objects overlapping a sphere at a position" + }, + "slots": [ + { + "base": "Input_In", + "details": { + "name": "In" + } + }, + { + "base": "Output_Out", + "details": { + "name": "Out" + } + }, + { + "base": "DataInput_Position", + "details": { + "name": "Position" + } + }, + { + "base": "DataInput_Radius", + "details": { + "name": "Radius" + } + }, + { + "base": "DataInput_Collision group", + "details": { + "name": "Collision group" + } + }, + { + "base": "DataInput_Ignore", + "details": { + "name": "Ignore" + } + }, + { + "base": "DataOutput_Result", + "details": { + "name": "Result" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastLocalSpaceWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastLocalSpaceWithGroup.names new file mode 100644 index 0000000000..a61a7a1579 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastLocalSpaceWithGroup.names @@ -0,0 +1,94 @@ +{ + "entries": [ + { + "base": "{BD7F9C50-62EA-56C0-9B8B-D23E5D28300D}", + "context": "ScriptCanvas::Node", + "variant": "", + "details": { + "name": "Ray Cast Local Space With Group", + "category": "PhysX/World", + "tooltip": "Returns the first entity hit by a ray cast in local space from the source entity in the specified direction." + }, + "slots": [ + { + "base": "Input_In", + "details": { + "name": "In" + } + }, + { + "base": "Output_Out", + "details": { + "name": "Out" + } + }, + { + "base": "DataInput_Source", + "details": { + "name": "Source" + } + }, + { + "base": "DataInput_Direction", + "details": { + "name": "Direction" + } + }, + { + "base": "DataInput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataInput_Collision group", + "details": { + "name": "Collision group" + } + }, + { + "base": "DataInput_Ignore", + "details": { + "name": "Ignore" + } + }, + { + "base": "DataOutput_Object hit", + "details": { + "name": "Object hit" + } + }, + { + "base": "DataOutput_Position", + "details": { + "name": "Position" + } + }, + { + "base": "DataOutput_Normal", + "details": { + "name": "Normal" + } + }, + { + "base": "DataOutput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataOutput_EntityId", + "details": { + "name": "EntityId" + } + }, + { + "base": "DataOutput_Surface", + "details": { + "name": "Surface" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastMultipleLocalSpaceWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastMultipleLocalSpaceWithGroup.names new file mode 100644 index 0000000000..f2d2934035 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastMultipleLocalSpaceWithGroup.names @@ -0,0 +1,64 @@ +{ + "entries": [ + { + "base": "{FB91B476-0015-508A-AC0B-18F8A860EB7A}", + "context": "ScriptCanvas::Node", + "variant": "", + "details": { + "name": "Ray Cast Multiple Local Space With Group", + "category": "PhysX/World", + "tooltip": "Returns all entities hit by a ray cast in local space from the source entity in the specified direction." + }, + "slots": [ + { + "base": "Input_In", + "details": { + "name": "In" + } + }, + { + "base": "Output_Out", + "details": { + "name": "Out" + } + }, + { + "base": "DataInput_Source", + "details": { + "name": "Source" + } + }, + { + "base": "DataInput_Direction", + "details": { + "name": "Direction" + } + }, + { + "base": "DataInput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataInput_Collision group", + "details": { + "name": "Collision group" + } + }, + { + "base": "DataInput_Ignore", + "details": { + "name": "Ignore" + } + }, + { + "base": "DataOutput_Objects hit", + "details": { + "name": "Objects hit" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastWorldSpaceWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastWorldSpaceWithGroup.names new file mode 100644 index 0000000000..8051204ab7 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastWorldSpaceWithGroup.names @@ -0,0 +1,94 @@ +{ + "entries": [ + { + "base": "{33EE1562-D9B5-5DA2-BB9E-F1F75B927B9C}", + "context": "ScriptCanvas::Node", + "variant": "", + "details": { + "name": "Ray Cast World Space With Group", + "category": "PhysX/World", + "tooltip": "Returns the first entity hit by a ray cast in world space from the start position in the specified direction." + }, + "slots": [ + { + "base": "Input_In", + "details": { + "name": "In" + } + }, + { + "base": "Output_Out", + "details": { + "name": "Out" + } + }, + { + "base": "DataInput_Start", + "details": { + "name": "Start" + } + }, + { + "base": "DataInput_Direction", + "details": { + "name": "Direction" + } + }, + { + "base": "DataInput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataInput_Collision group", + "details": { + "name": "Collision group" + } + }, + { + "base": "DataInput_Ignore", + "details": { + "name": "Ignore" + } + }, + { + "base": "DataOutput_Object hit", + "details": { + "name": "Object hit" + } + }, + { + "base": "DataOutput_Position", + "details": { + "name": "Position" + } + }, + { + "base": "DataOutput_Normal", + "details": { + "name": "Normal" + } + }, + { + "base": "DataOutput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataOutput_EntityId", + "details": { + "name": "EntityId" + } + }, + { + "base": "DataOutput_Surface", + "details": { + "name": "Surface" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_SphereCastWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_SphereCastWithGroup.names new file mode 100644 index 0000000000..705fa25d66 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_SphereCastWithGroup.names @@ -0,0 +1,100 @@ +{ + "entries": [ + { + "base": "{FF1EE92C-FD34-51E9-B128-00595ABB78E6}", + "context": "ScriptCanvas::Node", + "variant": "", + "details": { + "name": "Sphere Cast With Group", + "category": "PhysX/World", + "tooltip": "SphereCast" + }, + "slots": [ + { + "base": "Input_In", + "details": { + "name": "In" + } + }, + { + "base": "Output_Out", + "details": { + "name": "Out" + } + }, + { + "base": "DataInput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataInput_Pose", + "details": { + "name": "Pose" + } + }, + { + "base": "DataInput_Direction", + "details": { + "name": "Direction" + } + }, + { + "base": "DataInput_Radius", + "details": { + "name": "Radius" + } + }, + { + "base": "DataInput_Collision group", + "details": { + "name": "Collision group" + } + }, + { + "base": "DataInput_Ignore", + "details": { + "name": "Ignore" + } + }, + { + "base": "DataOutput_Object Hit", + "details": { + "name": "Object Hit" + } + }, + { + "base": "DataOutput_Position", + "details": { + "name": "Position" + } + }, + { + "base": "DataOutput_Normal", + "details": { + "name": "Normal" + } + }, + { + "base": "DataOutput_Distance", + "details": { + "name": "Distance" + } + }, + { + "base": "DataOutput_EntityId", + "details": { + "name": "EntityId" + } + }, + { + "base": "DataOutput_Surface", + "details": { + "name": "Surface" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Spawning_Spawn.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Spawning_Spawn.names index d553da7dc0..3f099577f9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Spawning_Spawn.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Spawning_Spawn.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{2447798B-B970-FDBA-A2E2-B563513663F0}", + "base": "{2447798B-B970-FDBA-A2E2-B563513663F0}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,43 +12,43 @@ }, "slots": [ { - "key": "Input_Request Spawn", + "base": "Input_Request Spawn", "details": { "name": "Request Spawn" } }, { - "key": "DataInput_Translation", + "base": "DataInput_Translation", "details": { "name": "Translation" } }, { - "key": "DataInput_Rotation", + "base": "DataInput_Rotation", "details": { "name": "Rotation" } }, { - "key": "DataInput_Scale", + "base": "DataInput_Scale", "details": { "name": "Scale" } }, { - "key": "Output_Spawn Requested", + "base": "Output_Spawn Requested", "details": { "name": "Spawn Requested" } }, { - "key": "Output_On Spawn", + "base": "Output_On Spawn", "details": { "name": "On Spawn" } }, { - "key": "DataOutput_SpawnedEntitiesList", + "base": "DataOutput_SpawnedEntitiesList", "details": { "name": "SpawnedEntitiesList" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_BuildString.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_BuildString.names index 90d3c24605..4576c21318 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_BuildString.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_BuildString.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B16259BA-9CF6-4143-B09B-5A0F3B4585E6}", + "base": "{B16259BA-9CF6-4143-B09B-5A0F3B4585E6}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,26 +12,26 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataOutput_String", + "base": "DataOutput_String", "details": { "name": "String" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ContainsString.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ContainsString.names index 75a5a11fd9..7cb1b668d4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ContainsString.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ContainsString.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8481E892-DE37-4CCF-86AA-E4770DE90643}", + "base": "{8481E892-DE37-4CCF-86AA-E4770DE90643}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,51 +12,51 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Pattern", + "base": "DataInput_Pattern", "details": { "name": "Pattern" } }, { - "key": "DataInput_Search From End", + "base": "DataInput_Search From End", "details": { "name": "Search From End" } }, { - "key": "DataInput_Case Sensitive", + "base": "DataInput_Case Sensitive", "details": { "name": "Case Sensitive" } }, { - "key": "DataOutput_Index", + "base": "DataOutput_Index", "details": { "name": "Index" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "The string contains the provided pattern." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "The string did not contain the provided pattern." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_EndsWith.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_EndsWith.names index bdb2892e8b..35ba6f17b4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_EndsWith.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_EndsWith.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{6C1CECA6-C155-4ED5-96BC-1D4F11C7A0FE}", + "base": "{6C1CECA6-C155-4ED5-96BC-1D4F11C7A0FE}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,38 +12,38 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Pattern", + "base": "DataInput_Pattern", "details": { "name": "Pattern" } }, { - "key": "DataInput_Case Sensitive", + "base": "DataInput_Case Sensitive", "details": { "name": "Case Sensitive" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True" } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Join.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Join.names index 148bd56ed1..fd379e063c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Join.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Join.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{121E5B89-5A8A-4477-A3B7-078B0F1B36FD}", + "base": "{121E5B89-5A8A-4477-A3B7-078B0F1B36FD}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,32 +12,32 @@ }, "slots": [ { - "key": "DataInput_String Array", + "base": "DataInput_String Array", "details": { "name": "String Array" } }, { - "key": "DataInput_Separator", + "base": "DataInput_Separator", "details": { "name": "Separator" } }, { - "key": "DataOutput_String", + "base": "DataOutput_String", "details": { "name": "String" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ReplaceString.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ReplaceString.names index 1fd973605f..2edaaa842e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ReplaceString.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ReplaceString.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{197D0BAA-FCAF-4922-872B-3A95BEA574B2}", + "base": "{197D0BAA-FCAF-4922-872B-3A95BEA574B2}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,44 +12,44 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Replace", + "base": "DataInput_Replace", "details": { "name": "Replace" } }, { - "key": "DataInput_With", + "base": "DataInput_With", "details": { "name": "With" } }, { - "key": "DataInput_Case Sensitive", + "base": "DataInput_Case Sensitive", "details": { "name": "Case Sensitive" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Split.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Split.names index 95e24059a9..a16adf32b8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Split.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Split.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{327EFC0F-F71E-4028-BAF9-C4223B933FB6}", + "base": "{327EFC0F-F71E-4028-BAF9-C4223B933FB6}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,32 +12,32 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Delimiters", + "base": "DataInput_Delimiters", "details": { "name": "Delimiters" } }, { - "key": "DataOutput_String Array", + "base": "DataOutput_String Array", "details": { "name": "String Array" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_StartsWith.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_StartsWith.names index 998d5eef12..0538597e7a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_StartsWith.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_StartsWith.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{60EB479A-CF31-4734-B2E5-422828A54A46}", + "base": "{60EB479A-CF31-4734-B2E5-422828A54A46}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,38 +12,38 @@ }, "slots": [ { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } }, { - "key": "DataInput_Pattern", + "base": "DataInput_Pattern", "details": { "name": "Pattern" } }, { - "key": "DataInput_Case Sensitive", + "base": "DataInput_Case Sensitive", "details": { "name": "Case Sensitive" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True" } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Substring.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Substring.names index 219b98d938..ff14a4fe42 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Substring.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Substring.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F57D790D-01D5-5241-865C-3348CCB3536B}", + "base": "{F57D790D-01D5-5241-865C-3348CCB3536B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,37 +12,37 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_String: Source", + "base": "DataInput_String: Source", "details": { "name": "String: Source" } }, { - "key": "DataInput_Number: From", + "base": "DataInput_Number: From", "details": { "name": "Number: From" } }, { - "key": "DataInput_Number: Length", + "base": "DataInput_Number: Length", "details": { "name": "Number: Length" } }, { - "key": "DataOutput_Result: String", + "base": "DataOutput_Result: String", "details": { "name": "Result: String" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToLower.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToLower.names index 363f234f19..1d761cd3cf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToLower.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToLower.names @@ -1,38 +1,37 @@ { "entries": [ { - "key": "{B81632B7-AE9E-50D1-9F19-00F92F77B580}", + "base": "{B81632B7-AE9E-50D1-9F19-00F92F77B580}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "ToLower", + "name": "To Lower", "category": "String", - "tooltip": "Makes all the characters in the string lower case", - "subtitle": "String" + "tooltip": "Makes all the characters in the string lower case" }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_String: Source", + "base": "DataInput_Source", "details": { - "name": "String: Source" + "name": "Source" } }, { - "key": "DataOutput_Result: String", + "base": "DataOutput_Result", "details": { - "name": "Result: String" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToUpper.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToUpper.names index 3ee857bff1..bee39e0683 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToUpper.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToUpper.names @@ -1,38 +1,37 @@ { "entries": [ { - "key": "{3AB66179-2097-5C83-BA8F-B8BD1D75D1CA}", + "base": "{3AB66179-2097-5C83-BA8F-B8BD1D75D1CA}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "ToUpper", + "name": "To Upper", "category": "String", - "tooltip": "Makes all the characters in the string upper case", - "subtitle": "String" + "tooltip": "Makes all the characters in the string upper case" }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_String: Source", + "base": "DataInput_Source", "details": { - "name": "String: Source" + "name": "Source" } }, { - "key": "DataOutput_Result: String", + "base": "DataOutput_Result", "details": { - "name": "Result: String" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchInputTypeExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchInputTypeExample.names index b7e47558dd..4fd4b95308 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchInputTypeExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchInputTypeExample.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{FDD3D684-2C9A-0C05-D2A3-FD67685D8F26}", + "base": "{FDD3D684-2C9A-0C05-D2A3-FD67685D8F26}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,55 +12,55 @@ }, "slots": [ { - "key": "Input_Get Internal Vector", + "base": "Input_Get Internal Vector", "details": { "name": "Get Internal Vector" } }, { - "key": "Output_On Get Internal Vector", + "base": "Output_On Get Internal Vector", "details": { "name": "On Get Internal Vector" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_Branches On Input Type", + "base": "Input_Branches On Input Type", "details": { "name": "Branches On Input Type" } }, { - "key": "DataInput_Input Type", + "base": "DataInput_Input Type", "details": { "name": "Input Type" } }, { - "key": "Output_By Value", + "base": "Output_By Value", "details": { "name": "By Value" } }, { - "key": "DataOutput_Value Input", + "base": "DataOutput_Value Input", "details": { "name": "Value Input" } }, { - "key": "Output_By Pointer", + "base": "Output_By Pointer", "details": { "name": "By Pointer" } }, { - "key": "DataOutput_Pointer Input", + "base": "DataOutput_Pointer Input", "details": { "name": "Pointer Input" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchMethodSharedDataSlotExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchMethodSharedDataSlotExample.names index 602a337a7d..cb1b376ffa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchMethodSharedDataSlotExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchMethodSharedDataSlotExample.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{131C7ECE-D083-F7CD-09FC-EE0FCF80AB86}", + "base": "{131C7ECE-D083-F7CD-09FC-EE0FCF80AB86}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,61 +12,61 @@ }, "slots": [ { - "key": "Output_One String", + "base": "Output_One String", "details": { "name": "One String" } }, { - "key": "DataOutput_string", + "base": "DataOutput_string", "details": { "name": "string" } }, { - "key": "Output_Two Strings", + "base": "Output_Two Strings", "details": { "name": "Two Strings" } }, { - "key": "DataOutput_string1", + "base": "DataOutput_string1", "details": { "name": "string1" } }, { - "key": "DataOutput_string2", + "base": "DataOutput_string2", "details": { "name": "string2" } }, { - "key": "Output_Three Strings", + "base": "Output_Three Strings", "details": { "name": "Three Strings" } }, { - "key": "DataOutput_string3", + "base": "DataOutput_string3", "details": { "name": "string3" } }, { - "key": "Output_Square", + "base": "Output_Square", "details": { "name": "Square" } }, { - "key": "Output_Pants", + "base": "Output_Pants", "details": { "name": "Pants" } }, { - "key": "Output_Hello", + "base": "Output_Hello", "details": { "name": "Hello" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputMethodSharedDataSlotExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputMethodSharedDataSlotExample.names index c19d2a2ba5..2ea2b7c637 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputMethodSharedDataSlotExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputMethodSharedDataSlotExample.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{32B1B2DB-59E6-88D7-14A3-9C5366A39A81}", + "base": "{32B1B2DB-59E6-88D7-14A3-9C5366A39A81}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,67 +12,67 @@ }, "slots": [ { - "key": "Input_Append Hello", + "base": "Input_Append Hello", "details": { "name": "Append Hello" } }, { - "key": "DataInput_str", + "base": "DataInput_str", "details": { "name": "str" } }, { - "key": "Output_On Append Hello", + "base": "Output_On Append Hello", "details": { "name": "On Append Hello" } }, { - "key": "DataOutput_Output", + "base": "DataOutput_Output", "details": { "name": "Output" } }, { - "key": "Input_Concatenate Two", + "base": "Input_Concatenate Two", "details": { "name": "Concatenate Two" } }, { - "key": "DataInput_a", + "base": "DataInput_a", "details": { "name": "a" } }, { - "key": "DataInput_b", + "base": "DataInput_b", "details": { "name": "b" } }, { - "key": "Output_On Concatenate Two", + "base": "Output_On Concatenate Two", "details": { "name": "On Concatenate Two" } }, { - "key": "Input_Concatenate Three", + "base": "Input_Concatenate Three", "details": { "name": "Concatenate Three" } }, { - "key": "DataInput_c", + "base": "DataInput_c", "details": { "name": "c" } }, { - "key": "Output_On Concatenate Three", + "base": "Output_On Concatenate Three", "details": { "name": "On Concatenate Three" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputTypeExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputTypeExample.names index e34cc1ceb4..0497af8efc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputTypeExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputTypeExample.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{42CC5090-BE28-E017-8704-FD732475CECD}", + "base": "{42CC5090-BE28-E017-8704-FD732475CECD}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,55 +12,55 @@ }, "slots": [ { - "key": "Input_Clear By Value", + "base": "Input_Clear By Value", "details": { "name": "Clear By Value" } }, { - "key": "DataInput_Value Input", + "base": "DataInput_Value Input", "details": { "name": "Value Input" } }, { - "key": "Output_On Clear By Value", + "base": "Output_On Clear By Value", "details": { "name": "On Clear By Value" } }, { - "key": "Input_Clear By Pointer", + "base": "Input_Clear By Pointer", "details": { "name": "Clear By Pointer" } }, { - "key": "DataInput_Pointer Input", + "base": "DataInput_Pointer Input", "details": { "name": "Pointer Input" } }, { - "key": "Output_On Clear By Pointer", + "base": "Output_On Clear By Pointer", "details": { "name": "On Clear By Pointer" } }, { - "key": "Input_Clear By Reference", + "base": "Input_Clear By Reference", "details": { "name": "Clear By Reference" } }, { - "key": "DataInput_Reference Input", + "base": "DataInput_Reference Input", "details": { "name": "Reference Input" } }, { - "key": "Output_On Clear By Reference", + "base": "Output_On Clear By Reference", "details": { "name": "On Clear By Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_PropertyExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_PropertyExample.names index 0f9ac7a14d..8360f6b541 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_PropertyExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_PropertyExample.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{9F0A9171-A7E0-4973-5658-F7470E5DD51F}", + "base": "{9F0A9171-A7E0-4973-5658-F7470E5DD51F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,13 +12,13 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In" } }, { - "key": "Output_On In", + "base": "Output_On In", "details": { "name": "On In" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_ReturnTypeExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_ReturnTypeExample.names index ce9ce723a7..555fc92580 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_ReturnTypeExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_ReturnTypeExample.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{97C6661E-069C-877B-4FBC-AD14CCCBB43D}", + "base": "{97C6661E-069C-877B-4FBC-AD14CCCBB43D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,55 +12,55 @@ }, "slots": [ { - "key": "Input_Return By Value", + "base": "Input_Return By Value", "details": { "name": "Return By Value" } }, { - "key": "Output_On Return By Value", + "base": "Output_On Return By Value", "details": { "name": "On Return By Value" } }, { - "key": "DataOutput_Value", + "base": "DataOutput_Value", "details": { "name": "Value" } }, { - "key": "Input_Return By Pointer", + "base": "Input_Return By Pointer", "details": { "name": "Return By Pointer" } }, { - "key": "Output_On Return By Pointer", + "base": "Output_On Return By Pointer", "details": { "name": "On Return By Pointer" } }, { - "key": "DataOutput_Pointer", + "base": "DataOutput_Pointer", "details": { "name": "Pointer" } }, { - "key": "Input_Return By Reference", + "base": "Input_Return By Reference", "details": { "name": "Return By Reference" } }, { - "key": "Output_On Return By Reference", + "base": "Output_On Return By Reference", "details": { "name": "On Return By Reference" } }, { - "key": "DataOutput_Reference", + "base": "DataOutput_Reference", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Delay.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Delay.names index 6dadfcd802..7d9f1d9d64 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Delay.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Delay.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{233C84A7-44DE-A948-D65C-46C11F1F7162}", + "base": "{233C84A7-44DE-A948-D65C-46C11F1F7162}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,92 +12,92 @@ }, "slots": [ { - "key": "Input_Start", + "base": "Input_Start", "details": { "name": "Start", "tooltip": "When signaled, execution is delayed at this node according to the specified properties." } }, { - "key": "DataInput_Start: Time", + "base": "DataInput_Start: Time", "details": { "name": "Start: Time" } }, { - "key": "DataInput_Start: Loop", + "base": "DataInput_Start: Loop", "details": { "name": "Start: Loop" } }, { - "key": "DataInput_Start: Hold", + "base": "DataInput_Start: Hold", "details": { "name": "Start: Hold" } }, { - "key": "Output_On Start", + "base": "Output_On Start", "details": { "name": "On Start", "tooltip": "When signaled, execution is delayed at this node according to the specified properties." } }, { - "key": "Input_Reset", + "base": "Input_Reset", "details": { "name": "Reset", "tooltip": "When signaled, execution is delayed at this node according to the specified properties." } }, { - "key": "DataInput_Reset: Time", + "base": "DataInput_Reset: Time", "details": { "name": "Reset: Time" } }, { - "key": "DataInput_Reset: Loop", + "base": "DataInput_Reset: Loop", "details": { "name": "Reset: Loop" } }, { - "key": "DataInput_Reset: Hold", + "base": "DataInput_Reset: Hold", "details": { "name": "Reset: Hold" } }, { - "key": "Output_On Reset", + "base": "Output_On Reset", "details": { "name": "On Reset", "tooltip": "When signaled, execution is delayed at this node according to the specified properties." } }, { - "key": "Input_Cancel", + "base": "Input_Cancel", "details": { "name": "Cancel", "tooltip": "Cancels the current delay." } }, { - "key": "Output_On Cancel", + "base": "Output_On Cancel", "details": { "name": "On Cancel", "tooltip": "Cancels the current delay." } }, { - "key": "Output_Done", + "base": "Output_Done", "details": { "name": "Done", "tooltip": "Signaled when the delay reaches zero." } }, { - "key": "DataOutput_Elapsed", + "base": "DataOutput_Elapsed", "details": { "name": "Elapsed" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Duration.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Duration.names index 33b72debaa..d3ef973ec7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Duration.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Duration.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D93538FF-3553-4C65-AB81-9089C5270214}", + "base": "{D93538FF-3553-4C65-AB81-9089C5270214}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,33 +11,33 @@ }, "slots": [ { - "key": "DataInput_Duration", + "base": "DataInput_Duration", "details": { "name": "Duration" } }, { - "key": "DataOutput_Elapsed", + "base": "DataOutput_Elapsed", "details": { "name": "Elapsed" } }, { - "key": "Input_Start", + "base": "Input_Start", "details": { "name": "Start", "tooltip": "Starts the countdown" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled every frame while the duration is active." } }, { - "key": "Output_Done", + "base": "Output_Done", "details": { "name": "Done", "tooltip": "Signaled once the duration is complete." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_HeartBeat.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_HeartBeat.names index 3b556a246a..c024e58c31 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_HeartBeat.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_HeartBeat.names @@ -1,38 +1,50 @@ { "entries": [ { - "key": "{BA107060-249D-4818-9CEC-7573718273FC}", + "base": "{E73DB180-A325-763B-A1FE-517B548AF66E}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "HeartBeat", + "name": "Heart Beat", "category": "Timing", - "tooltip": "While active, will signal the output at the given interval.", - "subtitle": "Timing" + "tooltip": "While active, will signal the output at the given interval." }, "slots": [ { - "key": "Input_Start", + "base": "Input_Start", "details": { "name": "Start" } }, { - "key": "Input_Stop", + "base": "DataInput_Interval", + "details": { + "name": "Interval" + } + }, + { + "base": "Output_On Start", + "details": { + "name": "On Start" + } + }, + { + "base": "Input_Stop", "details": { "name": "Stop" } }, { - "key": "Output_Pulse", + "base": "Output_On Stop", "details": { - "name": "Pulse" + "name": "On Stop" } }, { - "key": "DataInput_Interval", + "base": "Output_Pulse", "details": { - "name": "Interval" + "name": "Pulse", + "tooltip": "Signaled at each specified interval." } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_OnGraphStart.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_OnGraphStart.names index 0664dfcccc..d5162caf05 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_OnGraphStart.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_OnGraphStart.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{F200B22A-5903-483A-BF63-5241BC03632B}", + "base": "{F200B22A-5903-483A-BF63-5241BC03632B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,7 +12,7 @@ }, "slots": [ { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled when the entity that owns this graph is fully activated." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TickDelay.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TickDelay.names index 994c19dcb2..a682f2b7ec 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TickDelay.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TickDelay.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{399A2608-77E3-41F9-90FA-58A9B6E0E34D}", + "base": "{399A2608-77E3-41F9-90FA-58A9B6E0E34D}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,26 +11,26 @@ }, "slots": [ { - "key": "DataInput_Ticks", + "base": "DataInput_Ticks", "details": { "name": "Ticks" } }, { - "key": "DataInput_Tick Order", + "base": "DataInput_Tick Order", "details": { "name": "Tick Order" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "When signaled, execution is delayed at this node for the specified amount of frames." } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled after waiting for the specified amount of frames." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TimeDelay.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TimeDelay.names index 07e418a798..bfe267f227 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TimeDelay.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TimeDelay.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{364F5AC9-8351-44B6-A069-03367B21F7AA}", + "base": "{364F5AC9-8351-44B6-A069-03367B21F7AA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,21 +11,21 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "When signaled, execution is delayed at this node for the specified amount of times." } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled after waiting for the specified amount of times." } }, { - "key": "DataInput_Delay", + "base": "DataInput_Delay", "details": { "name": "Delay" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Timer.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Timer.names index 03846acfea..87b2c1cefa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Timer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Timer.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{60CF8540-E51A-434D-A32C-461C41D68AF9}", + "base": "{60CF8540-E51A-434D-A32C-461C41D68AF9}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,33 +11,33 @@ }, "slots": [ { - "key": "DataOutput_Milliseconds", + "base": "DataOutput_Milliseconds", "details": { "name": "Milliseconds" } }, { - "key": "DataOutput_Seconds", + "base": "DataOutput_Seconds", "details": { "name": "Seconds" } }, { - "key": "Input_Start", + "base": "Input_Start", "details": { "name": "Start", "tooltip": "Starts the timer." } }, { - "key": "Input_Stop", + "base": "Input_Stop", "details": { "name": "Stop", "tooltip": "Stops the timer." } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled every frame while the timer is running." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ArithmeticExpression.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ArithmeticExpression.names index 5888ef600b..8412a5383d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ArithmeticExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ArithmeticExpression.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B13F8DE1-E017-484D-9910-BABFB355D72E}", + "base": "{B13F8DE1-E017-484D-9910-BABFB355D72E}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,33 +10,33 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled after the arithmetic operation is done." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BinaryOperator.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BinaryOperator.names index 99250a91e7..e07670e988 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BinaryOperator.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BinaryOperator.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5BD0E8C7-9B0A-42F5-9EB0-199E6EC8FA99}", + "base": "{5BD0E8C7-9B0A-42F5-9EB0-199E6EC8FA99}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BooleanExpression.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BooleanExpression.names index 1c510ed8f2..7df3ca9423 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BooleanExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BooleanExpression.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{36C69825-CFF8-4F70-8F3B-1A9227E8BEEA}", + "base": "{36C69825-CFF8-4F70-8F3B-1A9227E8BEEA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,27 +10,27 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ComparisonExpression.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ComparisonExpression.names index aa9f24a5a4..f59d822ffb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ComparisonExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ComparisonExpression.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{82C50EAD-D3DD-45D2-BFCE-981D95771DC8}", + "base": "{82C50EAD-D3DD-45D2-BFCE-981D95771DC8}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,40 +10,40 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_EqualityExpression.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_EqualityExpression.names index 9e85f54642..f8404345b7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_EqualityExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_EqualityExpression.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{78D20EB6-BA07-4071-B646-7C2D68A0A4A6}", + "base": "{78D20EB6-BA07-4071-B646-7C2D68A0A4A6}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,40 +10,40 @@ }, "slots": [ { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "key": "DataInput_Value A", + "base": "DataInput_Value A", "details": { "name": "Value A" } }, { - "key": "DataInput_Value B", + "base": "DataInput_Value B", "details": { "name": "Value B" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_GetVariable.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_GetVariable.names index a2c586b1d5..a2a6475525 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_GetVariable.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_GetVariable.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8225BE35-4C45-4A32-94D9-3DE114F6F5AF}", + "base": "{8225BE35-4C45-4A32-94D9-3DE114F6F5AF}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,14 +10,14 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "When signaled sends the property referenced by this node to a Data Output slot" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled after the referenced property has been pushed to the Data Output slot" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNode.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNode.names index db32104037..d884e287da 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNode.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{80351020-5778-491A-B6CA-C78364C19499}", + "base": "{80351020-5778-491A-B6CA-C78364C19499}", "context": "ScriptCanvas::Node", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNodeOverloaded.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNodeOverloaded.names index dcedf6840c..fa7c4723e1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNodeOverloaded.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNodeOverloaded.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{C5C21008-F0B8-4FC8-843E-9C5C50B9DCDC}", + "base": "{C5C21008-F0B8-4FC8-843E-9C5C50B9DCDC}", "context": "ScriptCanvas::Node", "variant": "", "details": { diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_SetVariable.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_SetVariable.names index 190dfb4c28..b4e5f12867 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_SetVariable.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_SetVariable.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{5EFD2942-AFF9-4137-939C-023AEAA72EB0}", + "base": "{5EFD2942-AFF9-4137-939C-023AEAA72EB0}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,14 +10,14 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "When signaled sends the variable referenced by this node to a Data Output slot" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled after the referenced variable has been pushed to the Data Output slot" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryExpression.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryExpression.names index 28ca30346b..4933d2d9bc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryExpression.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{70FF2162-3D01-41F1-B009-7DC071A38471}", + "base": "{70FF2162-3D01-41F1-B009-7DC071A38471}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,33 +10,33 @@ }, "slots": [ { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "DataOutput_Result", + "base": "DataOutput_Result", "details": { "name": "Result" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "key": "Output_True", + "base": "Output_True", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "key": "Output_False", + "base": "Output_False", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryOperator.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryOperator.names index 3717b44595..b18fe07c1f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryOperator.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryOperator.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{B0BF8615-D718-4115-B3D8-CAB554BC6863}", + "base": "{B0BF8615-D718-4115-B3D8-CAB554BC6863}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesDebug_Print.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesDebug_Print.names index b1817d9acd..0b238ad007 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesDebug_Print.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesDebug_Print.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E1940FB4-83FE-4594-9AFF-375FF7603338}", + "base": "{E1940FB4-83FE-4594-9AFF-375FF7603338}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,20 +12,20 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "DataInput_Value", + "base": "DataInput_Value", "details": { "name": "Value" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddFailure.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddFailure.names index 8f0eb7f3af..f1e851bd4d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddFailure.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddFailure.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{1C4971A7-DE76-4E8E-9381-F579A57B2A78}", + "base": "{1C4971A7-DE76-4E8E-9381-F579A57B2A78}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,20 +11,20 @@ }, "slots": [ { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddSuccess.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddSuccess.names index 0b3b7a1399..5ebb61abdb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddSuccess.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddSuccess.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0D5B9544-C36B-490F-899A-E260D8351620}", + "base": "{0D5B9544-C36B-490F-899A-E260D8351620}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,20 +11,20 @@ }, "slots": [ { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_Checkpoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_Checkpoint.names index 3ad1d73949..c87e917ec6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_Checkpoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_Checkpoint.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E65449D2-45A9-402B-ADF7-4E4F27A99245}", + "base": "{E65449D2-45A9-402B-ADF7-4E4F27A99245}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,20 +11,20 @@ }, "slots": [ { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectEqual.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectEqual.names index 6a0e5938b7..82e29a3761 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectEqual.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectEqual.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{856DB72A-48CB-4142-A032-1253D3AB8BEC}", + "base": "{856DB72A-48CB-4142-A032-1253D3AB8BEC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,32 +11,32 @@ }, "slots": [ { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Candidate", + "base": "DataInput_Candidate", "details": { "name": "Candidate" } }, { - "key": "DataInput_Reference", + "base": "DataInput_Reference", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectFalse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectFalse.names index f5f80e56ea..0ece11c5d3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectFalse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectFalse.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{3838E12C-CEAB-4CED-9958-B6C0399FCD92}", + "base": "{3838E12C-CEAB-4CED-9958-B6C0399FCD92}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,26 +11,26 @@ }, "slots": [ { - "key": "DataInput_Candidate", + "base": "DataInput_Candidate", "details": { "name": "Candidate" } }, { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThan.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThan.names index 73dabca9d7..b5e85fc361 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThan.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThan.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8DD464A5-C09D-4017-82B7-B1EA672BA9EA}", + "base": "{8DD464A5-C09D-4017-82B7-B1EA672BA9EA}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,32 +11,32 @@ }, "slots": [ { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Candidate", + "base": "DataInput_Candidate", "details": { "name": "Candidate" } }, { - "key": "DataInput_Reference", + "base": "DataInput_Reference", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThanEqual.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThanEqual.names index cf1068fdbe..3d82f05c18 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThanEqual.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThanEqual.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{8EB4E313-1479-4428-AE0C-75F233C5F5EB}", + "base": "{8EB4E313-1479-4428-AE0C-75F233C5F5EB}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,32 +11,32 @@ }, "slots": [ { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Candidate", + "base": "DataInput_Candidate", "details": { "name": "Candidate" } }, { - "key": "DataInput_Reference", + "base": "DataInput_Reference", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThan.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThan.names index 6d2ac88907..f3a875700a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThan.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThan.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{693FD406-8735-4DBB-B0A8-39E7DA467559}", + "base": "{693FD406-8735-4DBB-B0A8-39E7DA467559}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,32 +11,32 @@ }, "slots": [ { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Candidate", + "base": "DataInput_Candidate", "details": { "name": "Candidate" } }, { - "key": "DataInput_Reference", + "base": "DataInput_Reference", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThanEqual.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThanEqual.names index 8c9bb8df5f..1897bf12fe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThanEqual.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThanEqual.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{52D4803F-6273-4A4E-96CC-F2892CFE433B}", + "base": "{52D4803F-6273-4A4E-96CC-F2892CFE433B}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,32 +11,32 @@ }, "slots": [ { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Candidate", + "base": "DataInput_Candidate", "details": { "name": "Candidate" } }, { - "key": "DataInput_Reference", + "base": "DataInput_Reference", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectNotEqual.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectNotEqual.names index ef1b954761..cbe4045c11 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectNotEqual.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectNotEqual.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{66334794-0F98-4BFC-9DB0-8AB6A4052D09}", + "base": "{66334794-0F98-4BFC-9DB0-8AB6A4052D09}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,32 +11,32 @@ }, "slots": [ { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } }, { - "key": "DataInput_Candidate", + "base": "DataInput_Candidate", "details": { "name": "Candidate" } }, { - "key": "DataInput_Reference", + "base": "DataInput_Reference", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectTrue.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectTrue.names index 62c2dfb710..71bf43b22a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectTrue.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectTrue.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{88F9BE2D-F591-45AD-9682-FBB67C39C504}", + "base": "{88F9BE2D-F591-45AD-9682-FBB67C39C504}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,26 +11,26 @@ }, "slots": [ { - "key": "DataInput_Candidate", + "base": "DataInput_Candidate", "details": { "name": "Candidate" } }, { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_MarkComplete.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_MarkComplete.names index 4a0b442e56..67c838c832 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_MarkComplete.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_MarkComplete.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{DC0BCFE9-3066-4232-AA68-AAFB206C917F}", + "base": "{DC0BCFE9-3066-4232-AA68-AAFB206C917F}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,20 +11,20 @@ }, "slots": [ { - "key": "DataInput_Report", + "base": "DataInput_Report", "details": { "name": "Report" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_BaseTimerNode.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_BaseTimerNode.names index 32ac04b759..4a46770857 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_BaseTimerNode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_BaseTimerNode.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{BAD6C904-6078-49E8-B461-CA4410B785A4}", + "base": "{BAD6C904-6078-49E8-B461-CA4410B785A4}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,7 +12,7 @@ }, "slots": [ { - "key": "DataInput_Delay", + "base": "DataInput_Delay", "details": { "name": "Delay" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_ExtractProperties.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_ExtractProperties.names index 7f052d76d3..3ce4ed1f67 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_ExtractProperties.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_ExtractProperties.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{D4C9DA8E-838B-41C6-B870-C75294C323DC}", + "base": "{D4C9DA8E-838B-41C6-B870-C75294C323DC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,21 +12,21 @@ }, "slots": [ { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "When signaled assigns property values using the supplied source input" } }, { - "key": "Output_Out", + "base": "Output_Out", "details": { "name": "Out", "tooltip": "Signaled after all property haves have been pushed to the output slots" } }, { - "key": "DataInput_Source", + "base": "DataInput_Source", "details": { "name": "Source" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_Repeater.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_Repeater.names index c2e45a57a2..e34c059680 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_Repeater.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_Repeater.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{0A38EDCA-0571-48F0-9199-F6168C1EAAF0}", + "base": "{0A38EDCA-0571-48F0-9199-F6168C1EAAF0}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -12,34 +12,34 @@ }, "slots": [ { - "key": "DataInput_Repetitions", + "base": "DataInput_Repetitions", "details": { "name": "Repetitions" } }, { - "key": "Input_In", + "base": "Input_In", "details": { "name": "In", "tooltip": "Input signal" } }, { - "key": "Output_Complete", + "base": "Output_Complete", "details": { "name": "Complete", "tooltip": "Signaled upon node exit" } }, { - "key": "Output_Action", + "base": "Output_Action", "details": { "name": "Action", "tooltip": "The signal that will be repeated" } }, { - "key": "DataInput_Interval", + "base": "DataInput_Interval", "details": { "name": "Interval" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ALPHA.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ALPHA.names deleted file mode 100644 index 3ec467cbfd..0000000000 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ALPHA.names +++ /dev/null @@ -1,13 +0,0 @@ -{ - "entries": [ - { - "key": "ALPHA", - "context": "Constant", - "variant": "", - "details": { - "name": "ALPHA::Getter", - "category": "Constants" - } - } - ] -} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AreaBlenderComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AreaBlenderComponentTypeId.names new file mode 100644 index 0000000000..f024e4e28b --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AreaBlenderComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "AreaBlenderComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Area Blender Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetAreaBlenderComponentTypeId", + "details": { + "name": "Get Area Blender Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AreaLightComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AreaLightComponentTypeId.names index 2585ca9071..c1a45e9088 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AreaLightComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AreaLightComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "AreaLightComponentTypeId", + "base": "AreaLightComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "AreaLightComponentTypeId::Getter", - "category": "Constants" - } + "name": "Area Light Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetAreaLightComponentTypeId", + "details": { + "name": "Get Area Light Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_Ignore.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_Ignore.names index a8099784d0..f3de6ac1c3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_Ignore.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_Ignore.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "AudioObstructionType_Ignore", + "base": "AudioObstructionType_Ignore", "context": "Constant", "variant": "", "details": { - "name": "AudioObstructionType_Ignore::Getter", - "category": "Constants" - } + "name": " Ignore", + "category": "Constants/Audio Obstruction" + }, + "methods": [ + { + "base": "GetAudioObstructionType_Ignore", + "details": { + "name": "Ignore" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_MultiRay.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_MultiRay.names index 4c0cdc5803..b9b6d4fc0a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_MultiRay.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_MultiRay.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "AudioObstructionType_MultiRay", + "base": "AudioObstructionType_MultiRay", "context": "Constant", "variant": "", "details": { - "name": "AudioObstructionType_MultiRay::Getter", - "category": "Constants" - } + "name": "Multi Ray", + "category": "Constants/Audio Obstruction" + }, + "methods": [ + { + "base": "GetAudioObstructionType_MultiRay", + "details": { + "name": "Multi Ray" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_SingleRay.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_SingleRay.names index bf61f3430f..b86d40f250 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_SingleRay.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioObstructionType_SingleRay.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "AudioObstructionType_SingleRay", + "base": "AudioObstructionType_SingleRay", "context": "Constant", "variant": "", "details": { - "name": "AudioObstructionType_SingleRay::Getter", - "category": "Constants" - } + "name": "Single Ray", + "category": "Constants/Audio Obstruction" + }, + "methods": [ + { + "base": "GetAudioObstructionType_SingleRay", + "details": { + "name": "Single Ray" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioPreloadComponentLoadType_Auto.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioPreloadComponentLoadType_Auto.names index 0522c4b2e8..f6d2c8a197 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioPreloadComponentLoadType_Auto.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioPreloadComponentLoadType_Auto.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "AudioPreloadComponentLoadType_Auto", + "base": "AudioPreloadComponentLoadType_Auto", "context": "Constant", "variant": "", "details": { - "name": "AudioPreloadComponentLoadType_Auto::Getter", - "category": "Constants" - } + "name": "Load Type Auto", + "category": "Constants/Audio Preload" + }, + "methods": [ + { + "base": "GetAudioPreloadComponentLoadType_Auto", + "details": { + "name": "Load Type Auto" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioPreloadComponentLoadType_Manual.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioPreloadComponentLoadType_Manual.names index e81b8fd73c..4d5feaad5b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioPreloadComponentLoadType_Manual.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AudioPreloadComponentLoadType_Manual.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "AudioPreloadComponentLoadType_Manual", + "base": "AudioPreloadComponentLoadType_Manual", "context": "Constant", "variant": "", "details": { - "name": "AudioPreloadComponentLoadType_Manual::Getter", - "category": "Constants" - } + "name": "Load Type Manual", + "category": "Constants/Audio Preload" + }, + "methods": [ + { + "base": "GetAudioPreloadComponentLoadType_Manual", + "details": { + "name": "Load Type Manual" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AxisAlignedBoxShapeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AxisAlignedBoxShapeComponentTypeId.names index 5437a6a5c9..abbb47ca89 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AxisAlignedBoxShapeComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/AxisAlignedBoxShapeComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "AxisAlignedBoxShapeComponentTypeId", + "base": "AxisAlignedBoxShapeComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "AxisAlignedBoxShapeComponentTypeId::Getter", - "category": "Constants" - } + "name": "Axis Aligned Box Shape Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetAxisAlignedBoxShapeComponentTypeId", + "details": { + "name": "Get Axis Aligned Box Shape Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BRAVO.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BRAVO.names deleted file mode 100644 index c1cd1a28bf..0000000000 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BRAVO.names +++ /dev/null @@ -1,13 +0,0 @@ -{ - "entries": [ - { - "key": "BRAVO", - "context": "Constant", - "variant": "", - "details": { - "name": "BRAVO::Getter", - "category": "Constants" - } - } - ] -} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaDest.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaDest.names index 74f2fe9c14..fdde3cc1d1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaDest.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaDest.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_AlphaDest", + "base": "BlendFactor_AlphaDest", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_AlphaDest::Getter", - "category": "Constants" - } + "name": "Alpha Dest", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_AlphaDest", + "details": { + "name": "Get Alpha Dest" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaDestInverse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaDestInverse.names index ae1804aa64..c94109b0cd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaDestInverse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaDestInverse.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_AlphaDestInverse", + "base": "BlendFactor_AlphaDestInverse", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_AlphaDestInverse::Getter", - "category": "Constants" - } + "name": "Alpha Dest Inverse", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_AlphaDestInverse", + "details": { + "name": "Get Alpha Dest Inverse" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource.names index 252dca2bcb..b8825ce046 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_AlphaSource", + "base": "BlendFactor_AlphaSource", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_AlphaSource::Getter", - "category": "Constants" - } + "name": "Alpha Source", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "AlphaSource", + "details": { + "name": "Get Alpha Source" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource1.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource1.names index 8924ea6c15..cb229071a4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource1.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource1.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_AlphaSource1", + "base": "BlendFactor_AlphaSource1", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_AlphaSource1::Getter", - "category": "Constants" - } + "name": "Alpha Source 1", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_AlphaSource1", + "details": { + "name": "Get Alpha Source 1" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource1Inverse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource1Inverse.names index af6c0b6dd5..bf9b3144bf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource1Inverse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSource1Inverse.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_AlphaSource1Inverse", + "base": "BlendFactor_AlphaSource1Inverse", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_AlphaSource1Inverse::Getter", - "category": "Constants" - } + "name": "Alpha Source 1 Inverse", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_AlphaSource1Inverse", + "details": { + "name": "Get Alpha Source 1 Inverse" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSourceInverse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSourceInverse.names index f933c877a8..49eff72742 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSourceInverse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSourceInverse.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_AlphaSourceInverse", + "base": "BlendFactor_AlphaSourceInverse", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_AlphaSourceInverse::Getter", - "category": "Constants" - } + "name": "Alpha Source Inverse", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_AlphaSourceInverse", + "details": { + "name": "Get Alpha Source Inverse" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSourceSaturate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSourceSaturate.names index a2a027ea6b..8a104eba15 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSourceSaturate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_AlphaSourceSaturate.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_AlphaSourceSaturate", + "base": "BlendFactor_AlphaSourceSaturate", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_AlphaSourceSaturate::Getter", - "category": "Constants" - } + "name": "Alpha Source Saturate", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_AlphaSourceSaturate", + "details": { + "name": "Get Alpha Source Saturate" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorDest.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorDest.names index 1f9c086e82..a17f1e2915 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorDest.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorDest.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_ColorDest", + "base": "BlendFactor_ColorDest", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_ColorDest::Getter", - "category": "Constants" - } + "name": "Color Dest", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_ColorDest", + "details": { + "name": "Get Color Dest" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorDestInverse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorDestInverse.names index 93fa5750ef..25553bed9e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorDestInverse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorDestInverse.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_ColorDestInverse", + "base": "BlendFactor_ColorDestInverse", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_ColorDestInverse::Getter", - "category": "Constants" - } + "name": "Color Dest Inverse", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_ColorDestInverse", + "details": { + "name": "Get Color Dest Inverse" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource.names index 317b1f283b..c693053cb7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_ColorSource", + "base": "BlendFactor_ColorSource", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_ColorSource::Getter", - "category": "Constants" - } + "name": "Color Source", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_ColorSource", + "details": { + "name": "Get Color Source" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource1.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource1.names index 0a9db7be52..62407ba8c9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource1.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource1.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_ColorSource1", + "base": "BlendFactor_ColorSource1", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_ColorSource1::Getter", - "category": "Constants" - } + "name": "Color Source 1", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_ColorSource1", + "details": { + "name": "Get Color Source 1" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource1Inverse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource1Inverse.names index 68e4f3e1ca..4e1178fd61 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource1Inverse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSource1Inverse.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_ColorSource1Inverse", + "base": "BlendFactor_ColorSource1Inverse", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_ColorSource1Inverse::Getter", - "category": "Constants" - } + "name": "Color Source 1 Inverse", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_ColorSource1Inverse", + "details": { + "name": "Get Color Source 1 Inverse" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSourceInverse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSourceInverse.names index cd84b391d8..e33a9389ee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSourceInverse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_ColorSourceInverse.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_ColorSourceInverse", + "base": "BlendFactor_ColorSourceInverse", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_ColorSourceInverse::Getter", - "category": "Constants" - } + "name": "Color Source Inverse", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_ColorSourceInverse", + "details": { + "name": "Get Color Source Inverse" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Factor.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Factor.names index 2b7648e44c..1e235c0054 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Factor.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Factor.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_Factor", + "base": "BlendFactor_Factor", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_Factor::Getter", - "category": "Constants" - } + "name": "Factor", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_Factor", + "details": { + "name": "Get Factor" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_FactorInverse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_FactorInverse.names index f5a6d3ae3a..69eddb1fab 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_FactorInverse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_FactorInverse.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_FactorInverse", + "base": "BlendFactor_FactorInverse", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_FactorInverse::Getter", - "category": "Constants" - } + "name": "Factor Inverse", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_FactorInverse", + "details": { + "name": "Get Factor Inverse" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Invalid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Invalid.names index c5b269624b..0751a6a29f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Invalid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Invalid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_Invalid", + "base": "BlendFactor_Invalid", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_Invalid::Getter", - "category": "Constants" - } + "name": "Invalid", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_Invalid", + "details": { + "name": "Get Invalid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_One.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_One.names index fee52d4844..3909d3cffe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_One.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_One.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_One", + "base": "BlendFactor_One", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_One::Getter", - "category": "Constants" - } + "name": "One", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_One", + "details": { + "name": "Get One" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Zero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Zero.names index 35c7e8df15..638a238661 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Zero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendFactor_Zero.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendFactor_Zero", + "base": "BlendFactor_Zero", "context": "Constant", "variant": "", "details": { - "name": "BlendFactor_Zero::Getter", - "category": "Constants" - } + "name": "Zero", + "category": "Constants/Blend Factor" + }, + "methods": [ + { + "base": "GetBlendFactor_Zero", + "details": { + "name": "Get Zero" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Add.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Add.names index e27d493605..ad4cf9dd21 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Add.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Add.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendOp_Add", + "base": "BlendOp_Add", "context": "Constant", "variant": "", "details": { - "name": "BlendOp_Add::Getter", - "category": "Constants" - } + "name": "Add", + "category": "Constants/Blend Operation" + }, + "methods": [ + { + "base": "GetBlendOp_Add", + "details": { + "name": "Get Add" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Invalid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Invalid.names index 7d099cc394..1b19a6d22a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Invalid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Invalid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendOp_Invalid", + "base": "BlendOp_Invalid", "context": "Constant", "variant": "", "details": { - "name": "BlendOp_Invalid::Getter", - "category": "Constants" - } + "name": "Invalid", + "category": "Constants/Blend Operation" + }, + "methods": [ + { + "base": "GetBlendOp_Invalid", + "details": { + "name": "Get Invalid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Maximum.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Maximum.names index 1970242769..2bd78c05f2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Maximum.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Maximum.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendOp_Maximum", + "base": "BlendOp_Maximum", "context": "Constant", "variant": "", "details": { - "name": "BlendOp_Maximum::Getter", - "category": "Constants" - } + "name": "Maximum", + "category": "Constants/Blend Operation" + }, + "methods": [ + { + "base": "GetBlendOp_Maximum", + "details": { + "name": "Get Maximum" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Minimum.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Minimum.names index 714568e008..f28d104183 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Minimum.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Minimum.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendOp_Minimum", + "base": "BlendOp_Minimum", "context": "Constant", "variant": "", "details": { - "name": "BlendOp_Minimum::Getter", - "category": "Constants" - } + "name": "Minimum", + "category": "Constants/Blend Operation" + }, + "methods": [ + { + "base": "Minimum", + "details": { + "name": "Get Minimum" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Subtract.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Subtract.names index 6faf93dbf4..bab41f7aa3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Subtract.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_Subtract.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendOp_Subtract", + "base": "BlendOp_Subtract", "context": "Constant", "variant": "", "details": { - "name": "BlendOp_Subtract::Getter", - "category": "Constants" - } + "name": "Subtract", + "category": "Constants/Blend Operation" + }, + "methods": [ + { + "base": "GetBlendOp_Subtract", + "details": { + "name": "Get Subtract" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_SubtractReverse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_SubtractReverse.names index b8f98b7600..74d3c63499 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_SubtractReverse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlendOp_SubtractReverse.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BlendOp_SubtractReverse", + "base": "BlendOp_SubtractReverse", "context": "Constant", "variant": "", "details": { - "name": "BlendOp_SubtractReverse::Getter", - "category": "Constants" - } + "name": "Subtract Reverse", + "category": "Constants/Blend Operation" + }, + "methods": [ + { + "base": "GetBlendOp_SubtractReverse", + "details": { + "name": "Get Subtract Reverse" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlockerComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlockerComponentTypeId.names new file mode 100644 index 0000000000..b2590a66f5 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BlockerComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "BlockerComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Blocker Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetBlockerComponentTypeId", + "details": { + "name": "Get Blocker Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BloomComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BloomComponentTypeId.names index 0d8ba9a325..da75eeee0a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BloomComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BloomComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BloomComponentTypeId", + "base": "BloomComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "BloomComponentTypeId::Getter", - "category": "Constants" - } + "name": "Bloom Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetBloomComponentTypeId", + "details": { + "name": "Get Bloom Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BoxShapeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BoxShapeComponentTypeId.names index 5f076bd6a5..47e43d6214 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BoxShapeComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/BoxShapeComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "BoxShapeComponentTypeId", + "base": "BoxShapeComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "BoxShapeComponentTypeId::Getter", - "category": "Constants" - } + "name": "Box Shape Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetBoxShapeComponentTypeId", + "details": { + "name": "Get Box Shape Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CHARLIE.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CHARLIE.names deleted file mode 100644 index 85f7c894f4..0000000000 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CHARLIE.names +++ /dev/null @@ -1,13 +0,0 @@ -{ - "entries": [ - { - "key": "CHARLIE", - "context": "Constant", - "variant": "", - "details": { - "name": "CHARLIE::Getter", - "category": "Constants" - } - } - ] -} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CUBE.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CUBE.names new file mode 100644 index 0000000000..3ec26e189b --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CUBE.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "CUBE", + "context": "Constant", + "variant": "", + "details": { + "name": "Cube", + "category": "Constants/White Box" + }, + "methods": [ + { + "base": "GetCUBE", + "details": { + "name": "Cube" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CYLINDER.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CYLINDER.names new file mode 100644 index 0000000000..b893ee0fef --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CYLINDER.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "CYLINDER", + "context": "Constant", + "variant": "", + "details": { + "name": "Cylinder", + "category": "Constants/White Box" + }, + "methods": [ + { + "base": "GetCYLINDER", + "details": { + "name": "Cylinder" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CapsuleShapeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CapsuleShapeComponentTypeId.names index a17f6781d4..cdb1bbc238 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CapsuleShapeComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CapsuleShapeComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "CapsuleShapeComponentTypeId", + "base": "CapsuleShapeComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "CapsuleShapeComponentTypeId::Getter", - "category": "Constants" - } + "name": "Capsule Shape Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetCapsuleShapeComponentTypeId", + "details": { + "name": "Get Capsule Shape Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ConstantGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ConstantGradientComponentTypeId.names index 0ff818c566..6ff166295b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ConstantGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ConstantGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ConstantGradientComponentTypeId", + "base": "ConstantGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "ConstantGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Constant Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetConstantGradientComponentTypeId", + "details": { + "name": "Get Constant Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Back.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Back.names index 61d2c8369e..7f7caceb93 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Back.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Back.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "CullMode_Back", + "base": "CullMode_Back", "context": "Constant", "variant": "", "details": { - "name": "CullMode_Back::Getter", - "category": "Constants" - } + "name": "Back", + "category": "Constants/Cull Mode" + }, + "methods": [ + { + "base": "GetCullMode_Back", + "details": { + "name": "Get Back" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Front.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Front.names index 7f5a35a7f2..b7f8af903b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Front.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Front.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "CullMode_Front", + "base": "CullMode_Front", "context": "Constant", "variant": "", "details": { - "name": "CullMode_Front::Getter", - "category": "Constants" - } + "name": "Front", + "category": "Constants/Cull Mode" + }, + "methods": [ + { + "base": "GetCullMode_Front", + "details": { + "name": "Get Front" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Invalid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Invalid.names index 4eb73b06ea..e5367958fa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Invalid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_Invalid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "CullMode_Invalid", + "base": "CullMode_Invalid", "context": "Constant", "variant": "", "details": { - "name": "CullMode_Invalid::Getter", - "category": "Constants" - } + "name": "Invalid", + "category": "Constants/Cull Mode" + }, + "methods": [ + { + "base": "GetCullMode_Invalid", + "details": { + "name": "Get Invalid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_None.names index 182e9c7573..c563d43a64 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_None.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CullMode_None.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "CullMode_None", + "base": "CullMode_None", "context": "Constant", "variant": "", "details": { - "name": "CullMode_None::Getter", - "category": "Constants" - } + "name": "None", + "category": "Constants/Cull Mode" + }, + "methods": [ + { + "base": "GetCullMode_None", + "details": { + "name": "Get None" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CylinderShapeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CylinderShapeComponentTypeId.names index 3dadc415fd..2934f89ed4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CylinderShapeComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/CylinderShapeComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "CylinderShapeComponentTypeId", + "base": "CylinderShapeComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "CylinderShapeComponentTypeId::Getter", - "category": "Constants" - } + "name": "Cylinder Shape Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetCylinderShapeComponentTypeId", + "details": { + "name": "Get Cylinder Shape Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DecalComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DecalComponentTypeId.names index 2a6aaa134e..2187dfeb24 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DecalComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DecalComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DecalComponentTypeId", + "base": "DecalComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "DecalComponentTypeId::Getter", - "category": "Constants" - } + "name": "Decal Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDecalComponentTypeId", + "details": { + "name": "Get Decal Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultLodOverride.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultLodOverride.names index c46ee43b8b..1ac1fdb105 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultLodOverride.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultLodOverride.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DefaultLodOverride", + "base": "DefaultLodOverride", "context": "Constant", "variant": "", "details": { - "name": "DefaultLodOverride::Getter", - "category": "Constants" - } + "name": "Default Lod Override", + "category": "Constants/Defaults" + }, + "methods": [ + { + "base": "GetDefaultLodOverride", + "details": { + "name": "Get Default Lod Override" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultLodType.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultLodType.names index 6e166c3480..f5884c2a8c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultLodType.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultLodType.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DefaultLodType", + "base": "DefaultLodType", "context": "Constant", "variant": "", "details": { - "name": "DefaultLodType::Getter", - "category": "Constants" - } + "name": "Default Lod Type", + "category": "Constants/Defaults" + }, + "methods": [ + { + "base": "GetDefaultLodType", + "details": { + "name": "Get Default Lod Type" + }, + "results": [ + { + "typeid": "{72B9409A-7D1A-4831-9CFE-FCB3FADD3426}", + "details": { + "name": "unsigned char" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignment.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignment.names index f435b539a8..2086ad1c9b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignment.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignment.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DefaultMaterialAssignment", + "base": "DefaultMaterialAssignment", "context": "Constant", "variant": "", "details": { - "name": "DefaultMaterialAssignment::Getter", - "category": "Constants" - } + "name": "Default Material Assignment", + "category": "Constants/Defaults" + }, + "methods": [ + { + "base": "GetDefaultMaterialAssignment", + "details": { + "name": "Get Default Material Assignment" + }, + "results": [ + { + "typeid": "{C66E5214-A24B-4722-B7F0-5991E6F8F163}", + "details": { + "name": "AZ:: Render:: Material Assignment" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignmentId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignmentId.names index b3188d9452..edf35bc3b1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignmentId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignmentId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DefaultMaterialAssignmentId", + "base": "DefaultMaterialAssignmentId", "context": "Constant", "variant": "", "details": { - "name": "DefaultMaterialAssignmentId::Getter", - "category": "Constants" - } + "name": "Default Material Assignment Id", + "category": "Constants/Defaults" + }, + "methods": [ + { + "base": "GetDefaultMaterialAssignmentId", + "details": { + "name": "Get Default Material Assignment Id" + }, + "results": [ + { + "typeid": "{EB603581-4654-4C17-B6DE-AE61E79EDA97}", + "details": { + "name": "AZ:: Render:: Material Assignment Id" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignmentMap.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignmentMap.names index 248cf3f7ae..50867c97e1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignmentMap.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultMaterialAssignmentMap.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DefaultMaterialAssignmentMap", + "base": "DefaultMaterialAssignmentMap", "context": "Constant", "variant": "", "details": { - "name": "DefaultMaterialAssignmentMap::Getter", - "category": "Constants" - } + "name": "Default Material Assignment Map", + "category": "Constants/Defaults" + }, + "methods": [ + { + "base": "GetDefaultMaterialAssignmentMap", + "details": { + "name": "Get Default Material Assignment Map" + }, + "results": [ + { + "typeid": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", + "details": { + "name": "AZ Std::unordered_map" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultPhysicsSceneId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultPhysicsSceneId.names index 142b97a590..e66d74e456 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultPhysicsSceneId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultPhysicsSceneId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DefaultPhysicsSceneId", + "base": "DefaultPhysicsSceneId", "context": "Constant", "variant": "", "details": { - "name": "DefaultPhysicsSceneId::Getter", - "category": "Constants" - } + "name": "Default Physics Scene Id", + "category": "Constants/Defaults" + }, + "methods": [ + { + "base": "GetDefaultPhysicsSceneId", + "details": { + "name": "Get Default Physics Scene Id" + }, + "results": [ + { + "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", + "details": { + "name": "Crc 32" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultPhysicsSceneName.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultPhysicsSceneName.names index bb32deaea4..07a47cfae4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultPhysicsSceneName.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DefaultPhysicsSceneName.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DefaultPhysicsSceneName", + "base": "DefaultPhysicsSceneName", "context": "Constant", "variant": "", "details": { - "name": "DefaultPhysicsSceneName::Getter", - "category": "Constants" - } + "name": "Default Physics Scene Name", + "category": "Constants/Defaults" + }, + "methods": [ + { + "base": "GetDefaultPhysicsSceneName", + "details": { + "name": "Get Default Physics Scene Name" + }, + "results": [ + { + "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", + "details": { + "name": "char" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DeferredFogComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DeferredFogComponentTypeId.names index 4c4899f264..4ab65691fe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DeferredFogComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DeferredFogComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DeferredFogComponentTypeId", + "base": "DeferredFogComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "DeferredFogComponentTypeId::Getter", - "category": "Constants" - } + "name": "Deferred Fog Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDeferredFogComponentTypeId", + "details": { + "name": "Get Deferred Fog Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthOfFieldComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthOfFieldComponentTypeId.names index 2104b9642f..3d24f7dd7e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthOfFieldComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthOfFieldComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DepthOfFieldComponentTypeId", + "base": "DepthOfFieldComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "DepthOfFieldComponentTypeId::Getter", - "category": "Constants" - } + "name": "Depth Of Field Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDepthOfFieldComponentTypeId", + "details": { + "name": "Get Depth Of Field Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_All.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_All.names index e169a19258..fda594cedf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_All.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_All.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DepthWriteMask_All", + "base": "DepthWriteMask_All", "context": "Constant", "variant": "", "details": { - "name": "DepthWriteMask_All::Getter", - "category": "Constants" - } + "name": "All", + "category": "Constants/Depth Write Mask" + }, + "methods": [ + { + "base": "GetDepthWriteMask_All", + "details": { + "name": "All" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_Invalid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_Invalid.names index 4789194d25..d28d0a68f1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_Invalid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_Invalid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DepthWriteMask_Invalid", + "base": "DepthWriteMask_Invalid", "context": "Constant", "variant": "", "details": { - "name": "DepthWriteMask_Invalid::Getter", - "category": "Constants" - } + "name": "Invalid", + "category": "Constants/Depth Write Mask" + }, + "methods": [ + { + "base": "GetDepthWriteMask_Invalid", + "details": { + "name": "Invalid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_Zero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_Zero.names index 4268b4d8f8..e33a0af623 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_Zero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DepthWriteMask_Zero.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DepthWriteMask_Zero", + "base": "DepthWriteMask_Zero", "context": "Constant", "variant": "", "details": { - "name": "DepthWriteMask_Zero::Getter", - "category": "Constants" - } + "name": "Zero", + "category": "Constants/Depth Write Mask" + }, + "methods": [ + { + "base": "GetDepthWriteMask_Zero", + "details": { + "name": "Zero" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DescriptorListCombinerComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DescriptorListCombinerComponentTypeId.names new file mode 100644 index 0000000000..4b66d5c7a2 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DescriptorListCombinerComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "DescriptorListCombinerComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Descriptor List Combiner Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDescriptorListCombinerComponentTypeId", + "details": { + "name": "Get Descriptor List Combiner Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DescriptorListComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DescriptorListComponentTypeId.names new file mode 100644 index 0000000000..c190cc2a6d --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DescriptorListComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "DescriptorListComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Descriptor List Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDescriptorListComponentTypeId", + "details": { + "name": "Get Descriptor List Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DescriptorWeightSelectorComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DescriptorWeightSelectorComponentTypeId.names new file mode 100644 index 0000000000..806f846ca7 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DescriptorWeightSelectorComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "DescriptorWeightSelectorComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Descriptor Weight Selector Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDescriptorWeightSelectorComponentTypeId", + "details": { + "name": "Get Descriptor Weight Selector Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiffuseGlobalIlluminationComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiffuseGlobalIlluminationComponentTypeId.names index 2e633a1192..123f3768a0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiffuseGlobalIlluminationComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiffuseGlobalIlluminationComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DiffuseGlobalIlluminationComponentTypeId", + "base": "DiffuseGlobalIlluminationComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "DiffuseGlobalIlluminationComponentTypeId::Getter", - "category": "Constants" - } + "name": "Diffuse Global Illumination Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDiffuseGlobalIlluminationComponentTypeId", + "details": { + "name": "Get Diffuse Global Illumination Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiffuseProbeGridComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiffuseProbeGridComponentTypeId.names index c5b5f17bde..255fda6778 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiffuseProbeGridComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiffuseProbeGridComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DiffuseProbeGridComponentTypeId", + "base": "DiffuseProbeGridComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "DiffuseProbeGridComponentTypeId::Getter", - "category": "Constants" - } + "name": "Diffuse Probe Grid Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDiffuseProbeGridComponentTypeId", + "details": { + "name": "Get Diffuse Probe Grid Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DirectionalLightComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DirectionalLightComponentTypeId.names index 0ad98b326e..bc81a2d511 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DirectionalLightComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DirectionalLightComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DirectionalLightComponentTypeId", + "base": "DirectionalLightComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "DirectionalLightComponentTypeId::Getter", - "category": "Constants" - } + "name": "Directional Light Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDirectionalLightComponentTypeId", + "details": { + "name": "Get Directional Light Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiskShapeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiskShapeComponentTypeId.names index cac82ca189..fee2376420 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiskShapeComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DiskShapeComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DiskShapeComponentTypeId", + "base": "DiskShapeComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "DiskShapeComponentTypeId::Getter", - "category": "Constants" - } + "name": "Disk Shape Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDiskShapeComponentTypeId", + "details": { + "name": "Get Disk Shape Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplayMapperComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplayMapperComponentTypeId.names index 9117f367ee..b284f80a68 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplayMapperComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplayMapperComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DisplayMapperComponentTypeId", + "base": "DisplayMapperComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "DisplayMapperComponentTypeId::Getter", - "category": "Constants" - } + "name": "Display Mapper Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDisplayMapperComponentTypeId", + "details": { + "name": "Get Display Mapper Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideHelpers.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideHelpers.names index 488a8f7ec2..9f47789e24 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideHelpers.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideHelpers.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DisplaySettings_HideHelpers", + "base": "DisplaySettings_HideHelpers", "context": "Constant", "variant": "", "details": { - "name": "DisplaySettings_HideHelpers::Getter", - "category": "Constants" - } + "name": "Hide Helpers", + "category": "Constants/Display Settings" + }, + "methods": [ + { + "base": "GetDisplaySettings_HideHelpers", + "details": { + "name": "Get Hide Helpers" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideLinks.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideLinks.names index d532e8ff35..93fc163a67 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideLinks.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideLinks.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DisplaySettings_HideLinks", + "base": "DisplaySettings_HideLinks", "context": "Constant", "variant": "", "details": { - "name": "DisplaySettings_HideLinks::Getter", - "category": "Constants" - } + "name": "Hide Links", + "category": "Constants/Display Settings" + }, + "methods": [ + { + "base": "GetDisplaySettings_HideLinks", + "details": { + "name": "Get Hide Links" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideTracks.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideTracks.names index ade09a965c..45872cce0d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideTracks.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_HideTracks.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DisplaySettings_HideTracks", + "base": "DisplaySettings_HideTracks", "context": "Constant", "variant": "", "details": { - "name": "DisplaySettings_HideTracks::Getter", - "category": "Constants" - } + "name": "Hide Tracks", + "category": "Constants/Display Settings" + }, + "methods": [ + { + "base": "GetDisplaySettings_HideTracks", + "details": { + "name": "Get Hide Tracks" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_NoCollision.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_NoCollision.names index 0cece10c67..096407f338 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_NoCollision.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_NoCollision.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DisplaySettings_NoCollision", + "base": "DisplaySettings_NoCollision", "context": "Constant", "variant": "", "details": { - "name": "DisplaySettings_NoCollision::Getter", - "category": "Constants" - } + "name": "No Collision", + "category": "Constants/Display Settings" + }, + "methods": [ + { + "base": "GetDisplaySettings_NoCollision", + "details": { + "name": "Get No Collision" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_NoLabels.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_NoLabels.names index d855c9ce0e..b0d8562db6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_NoLabels.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_NoLabels.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DisplaySettings_NoLabels", + "base": "DisplaySettings_NoLabels", "context": "Constant", "variant": "", "details": { - "name": "DisplaySettings_NoLabels::Getter", - "category": "Constants" - } + "name": "No Labels", + "category": "Constants/Display Settings" + }, + "methods": [ + { + "base": "GetDisplaySettings_NoLabels", + "details": { + "name": "Get No Labels" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_Physics.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_Physics.names index 237968c10e..224f6d48f0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_Physics.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_Physics.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DisplaySettings_Physics", + "base": "DisplaySettings_Physics", "context": "Constant", "variant": "", "details": { - "name": "DisplaySettings_Physics::Getter", - "category": "Constants" - } + "name": "Physics", + "category": "Constants/Display Settings" + }, + "methods": [ + { + "base": "GetDisplaySettings_Physics", + "details": { + "name": "Get Physics" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_SerializableFlagsMask.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_SerializableFlagsMask.names index c6e4c44cb2..ae664ce8a6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_SerializableFlagsMask.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_SerializableFlagsMask.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DisplaySettings_SerializableFlagsMask", + "base": "DisplaySettings_SerializableFlagsMask", "context": "Constant", "variant": "", "details": { - "name": "DisplaySettings_SerializableFlagsMask::Getter", - "category": "Constants" - } + "name": "Serializable Flags Mask", + "category": "Constants/Display Settings" + }, + "methods": [ + { + "base": "GetDisplaySettings_SerializableFlagsMask", + "details": { + "name": "Get Serializable Flags Mask" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_ShowDimensionFigures.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_ShowDimensionFigures.names index 2c3f42a6c5..d6d9de0549 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_ShowDimensionFigures.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DisplaySettings_ShowDimensionFigures.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DisplaySettings_ShowDimensionFigures", + "base": "DisplaySettings_ShowDimensionFigures", "context": "Constant", "variant": "", "details": { - "name": "DisplaySettings_ShowDimensionFigures::Getter", - "category": "Constants" - } + "name": "Show Dimension Figures", + "category": "Constants/Display Settings" + }, + "methods": [ + { + "base": "GetDisplaySettings_ShowDimensionFigures", + "details": { + "name": "Get Show Dimension Figures" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DistanceBetweenFilterComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DistanceBetweenFilterComponentTypeId.names new file mode 100644 index 0000000000..2e1801b3b0 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DistanceBetweenFilterComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "DistanceBetweenFilterComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Distance Between Filter Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDistanceBetweenFilterComponentTypeId", + "details": { + "name": "Get Distance Between Filter Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DistributionFilterComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DistributionFilterComponentTypeId.names new file mode 100644 index 0000000000..b5e1b96354 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DistributionFilterComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "DistributionFilterComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Distribution Filter Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetDistributionFilterComponentTypeId", + "details": { + "name": "Get Distribution Filter Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DitherGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DitherGradientComponentTypeId.names index f4be6282d0..b43e059a52 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DitherGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/DitherGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "DitherGradientComponentTypeId", + "base": "DitherGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "DitherGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Dither Gradient Component Type Id", + "category": "Constants/Editor/Component Type Id" + }, + "methods": [ + { + "base": "GetDitherGradientComponentTypeId", + "details": { + "name": "Get Dither Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorAreaLightComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorAreaLightComponentTypeId.names index fd410df4f9..c219df25cf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorAreaLightComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorAreaLightComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorAreaLightComponentTypeId", + "base": "EditorAreaLightComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorAreaLightComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Area Light Component Type Id", + "category": "Constants/Editor/Component Type Id" + }, + "methods": [ + { + "base": "GetEditorAreaLightComponentTypeId", + "details": { + "name": "Get Editor Area Light Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorBloomComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorBloomComponentTypeId.names index 2d2f101be0..29cb903318 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorBloomComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorBloomComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorBloomComponentTypeId", + "base": "EditorBloomComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorBloomComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Bloom Component Type Id", + "category": "Constants/Editor/Component Type Id" + }, + "methods": [ + { + "base": "GetEditorBloomComponentTypeId", + "details": { + "name": "Get Editor Bloom Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDecalComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDecalComponentTypeId.names index a40f551364..30bb2a1c29 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDecalComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDecalComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorDecalComponentTypeId", + "base": "EditorDecalComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorDecalComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Decal Component Type Id", + "category": "Constants/Editor/Component Type Id" + }, + "methods": [ + { + "base": "GetEditorDecalComponentTypeId", + "details": { + "name": "Get Editor Decal Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDeferredFogComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDeferredFogComponentTypeId.names index c0f17922f6..d8bdd04e6b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDeferredFogComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDeferredFogComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorDeferredFogComponentTypeId", + "base": "EditorDeferredFogComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorDeferredFogComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Deferred Fog Component Type Id", + "category": "Constants/Editor/Component Type Id" + }, + "methods": [ + { + "base": "GetEditorDeferredFogComponentTypeId", + "details": { + "name": "Get Editor Deferred Fog Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDepthOfFieldComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDepthOfFieldComponentTypeId.names index fc16e176bd..df6073be7c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDepthOfFieldComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDepthOfFieldComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorDepthOfFieldComponentTypeId", + "base": "EditorDepthOfFieldComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorDepthOfFieldComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Depth Of Field Component Type Id", + "category": "Constants/Editor/Component Type Id" + }, + "methods": [ + { + "base": "GetEditorDepthOfFieldComponentTypeId", + "details": { + "name": "Get Editor Depth Of Field Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDiffuseGlobalIlluminationComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDiffuseGlobalIlluminationComponentTypeId.names index ab9f4e04f0..3ce4b30d34 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDiffuseGlobalIlluminationComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDiffuseGlobalIlluminationComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorDiffuseGlobalIlluminationComponentTypeId", + "base": "EditorDiffuseGlobalIlluminationComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorDiffuseGlobalIlluminationComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Diffuse Global Illumination Component Type Id", + "category": "Constants/Editor/Component Type Id" + }, + "methods": [ + { + "base": "GetEditorDiffuseGlobalIlluminationComponentTypeId", + "details": { + "name": "Get Editor Diffuse Global Illumination Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDiffuseProbeGridComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDiffuseProbeGridComponentTypeId.names index 24e649c4b0..2d76298124 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDiffuseProbeGridComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDiffuseProbeGridComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorDiffuseProbeGridComponentTypeId", + "base": "EditorDiffuseProbeGridComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorDiffuseProbeGridComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Diffuse Probe Grid Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorDiffuseProbeGridComponentTypeId", + "details": { + "name": "Get Editor Diffuse Probe Grid Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDirectionalLightComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDirectionalLightComponentTypeId.names index 0caf18913a..697762e490 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDirectionalLightComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDirectionalLightComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorDirectionalLightComponentTypeId", + "base": "EditorDirectionalLightComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorDirectionalLightComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Directional Light Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorDirectionalLightComponentTypeId", + "details": { + "name": "Get Editor Directional Light Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDisplayMapperComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDisplayMapperComponentTypeId.names index 6a449cb643..18c54519a9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDisplayMapperComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorDisplayMapperComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorDisplayMapperComponentTypeId", + "base": "EditorDisplayMapperComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorDisplayMapperComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Display Mapper Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorDisplayMapperComponentTypeId", + "details": { + "name": "Get Editor Display Mapper Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityReferenceComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityReferenceComponentTypeId.names index f0214aec06..96f3adf90b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityReferenceComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityReferenceComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorEntityReferenceComponentTypeId", + "base": "EditorEntityReferenceComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorEntityReferenceComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Entity Reference Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorEntityReferenceComponentTypeId", + "details": { + "name": "Get Editor Entity Reference Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_EditorOnly.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_EditorOnly.names index e4ca34fdb0..f9536eeddc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_EditorOnly.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_EditorOnly.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorEntityStartStatus_EditorOnly", + "base": "EditorEntityStartStatus_EditorOnly", "context": "Constant", "variant": "", "details": { - "name": "EditorEntityStartStatus_EditorOnly::Getter", - "category": "Constants" - } + "name": "Editor Entity Start Status_ Editor Only", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorEntityStartStatus_EditorOnly", + "details": { + "name": "Get Editor Entity Start Status_ Editor Only" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_StartActive.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_StartActive.names index 51e4369297..a6585f24ed 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_StartActive.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_StartActive.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorEntityStartStatus_StartActive", + "base": "EditorEntityStartStatus_StartActive", "context": "Constant", "variant": "", "details": { - "name": "EditorEntityStartStatus_StartActive::Getter", - "category": "Constants" - } + "name": "Editor Entity Start Status_ Start Active", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorEntityStartStatus_StartActive", + "details": { + "name": "Get Editor Entity Start Status_ Start Active" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_StartInactive.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_StartInactive.names index fa41555722..20ed53be3d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_StartInactive.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorEntityStartStatus_StartInactive.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorEntityStartStatus_StartInactive", + "base": "EditorEntityStartStatus_StartInactive", "context": "Constant", "variant": "", "details": { - "name": "EditorEntityStartStatus_StartInactive::Getter", - "category": "Constants" - } + "name": "Editor Entity Start Status_ Start Inactive", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorEntityStartStatus_StartInactive", + "details": { + "name": "Get Editor Entity Start Status_ Start Inactive" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorExposureControlComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorExposureControlComponentTypeId.names index 3b9c6f893f..d5722e7279 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorExposureControlComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorExposureControlComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorExposureControlComponentTypeId", + "base": "EditorExposureControlComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorExposureControlComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Exposure Control Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorExposureControlComponentTypeId", + "details": { + "name": "Get Editor Exposure Control Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorGradientWeightModifierComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorGradientWeightModifierComponentTypeId.names index dc20398559..12178cd421 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorGradientWeightModifierComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorGradientWeightModifierComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorGradientWeightModifierComponentTypeId", + "base": "EditorGradientWeightModifierComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorGradientWeightModifierComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Gradient Weight Modifier Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorGradientWeightModifierComponentTypeId", + "details": { + "name": "Get Editor Gradient Weight Modifier Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorGridComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorGridComponentTypeId.names index 5f3dbe3e87..72969664a5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorGridComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorGridComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorGridComponentTypeId", + "base": "EditorGridComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorGridComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Grid Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorGridComponentTypeId", + "details": { + "name": "Get Editor Grid Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorHDRiSkyboxComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorHDRiSkyboxComponentTypeId.names index d1e49132a9..52bd2fe5af 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorHDRiSkyboxComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorHDRiSkyboxComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorHDRiSkyboxComponentTypeId", + "base": "EditorHDRiSkyboxComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorHDRiSkyboxComponentTypeId::Getter", - "category": "Constants" - } + "name": "EditorHD Ri Skybox Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorHDRiSkyboxComponentTypeId", + "details": { + "name": "Get EditorHD Ri Skybox Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorHairComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorHairComponentTypeId.names new file mode 100644 index 0000000000..17df6d3de5 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorHairComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "EditorHairComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Editor Hair Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorHairComponentTypeId", + "details": { + "name": "Get Editor Hair Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorImageBasedLightComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorImageBasedLightComponentTypeId.names index e6ddff36a2..a57151ad18 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorImageBasedLightComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorImageBasedLightComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorImageBasedLightComponentTypeId", + "base": "EditorImageBasedLightComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorImageBasedLightComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Image Based Light Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorImageBasedLightComponentTypeId", + "details": { + "name": "Get Editor Image Based Light Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorLookModificationComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorLookModificationComponentTypeId.names index 39bcdad1e5..6d2fdbd5f0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorLookModificationComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorLookModificationComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorLookModificationComponentTypeId", + "base": "EditorLookModificationComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorLookModificationComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Look Modification Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorLookModificationComponentTypeId", + "details": { + "name": "Get Editor Look Modification Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorMaterialComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorMaterialComponentTypeId.names index 35b3db3305..385edba4d8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorMaterialComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorMaterialComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorMaterialComponentTypeId", + "base": "EditorMaterialComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorMaterialComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Material Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorMaterialComponentTypeId", + "details": { + "name": "Get Editor Material Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorMeshComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorMeshComponentTypeId.names index 8ca2af81eb..59cdcabefa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorMeshComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorMeshComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorMeshComponentTypeId", + "base": "EditorMeshComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorMeshComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Mesh Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorMeshComponentTypeId", + "details": { + "name": "Get Editor Mesh Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorNonUniformScaleComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorNonUniformScaleComponentTypeId.names index ea5a58d742..bde0970c36 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorNonUniformScaleComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorNonUniformScaleComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorNonUniformScaleComponentTypeId", + "base": "EditorNonUniformScaleComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorNonUniformScaleComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Non Uniform Scale Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorNonUniformScaleComponentTypeId", + "details": { + "name": "Get Editor Non Uniform Scale Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorOcclusionCullingPlaneComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorOcclusionCullingPlaneComponentTypeId.names index 4c2b06be1a..bd40fae6ac 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorOcclusionCullingPlaneComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorOcclusionCullingPlaneComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorOcclusionCullingPlaneComponentTypeId", + "base": "EditorOcclusionCullingPlaneComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorOcclusionCullingPlaneComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Occlusion Culling Plane Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorOcclusionCullingPlaneComponentTypeId", + "details": { + "name": "Get Editor Occlusion Culling Plane Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicalSkyComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicalSkyComponentTypeId.names index a1ec685c88..f021e937f5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicalSkyComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicalSkyComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorPhysicalSkyComponentTypeId", + "base": "EditorPhysicalSkyComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorPhysicalSkyComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Physical Sky Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorPhysicalSkyComponentTypeId", + "details": { + "name": "Get Editor Physical Sky Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicsSceneId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicsSceneId.names index d98a729c34..3961b7492a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicsSceneId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicsSceneId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorPhysicsSceneId", + "base": "EditorPhysicsSceneId", "context": "Constant", "variant": "", "details": { - "name": "EditorPhysicsSceneId::Getter", - "category": "Constants" - } + "name": "Editor Physics Scene Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorPhysicsSceneId", + "details": { + "name": "Get Editor Physics Scene Id" + }, + "results": [ + { + "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", + "details": { + "name": "Crc 32" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicsSceneName.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicsSceneName.names index 0a209f241c..1c8884e7a3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicsSceneName.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPhysicsSceneName.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorPhysicsSceneName", + "base": "EditorPhysicsSceneName", "context": "Constant", "variant": "", "details": { - "name": "EditorPhysicsSceneName::Getter", - "category": "Constants" - } + "name": "Editor Physics Scene Name", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorPhysicsSceneName", + "details": { + "name": "Get Editor Physics Scene Name" + }, + "results": [ + { + "typeid": "{3AB0037F-AF8D-48CE-BCA0-A170D18B2C03}", + "details": { + "name": "char" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPostFxLayerComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPostFxLayerComponentTypeId.names index d6372c4c94..45c05cc768 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPostFxLayerComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPostFxLayerComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorPostFxLayerComponentTypeId", + "base": "EditorPostFxLayerComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorPostFxLayerComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Post Fx Layer Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorPostFxLayerComponentTypeId", + "details": { + "name": "Get Editor Post Fx Layer Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPrefabComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPrefabComponentTypeId.names new file mode 100644 index 0000000000..c120f6de8e --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorPrefabComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "EditorPrefabComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Editor Prefab Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorPrefabComponentTypeId", + "details": { + "name": "Get Editor Prefab Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorRadiusWeightModifierComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorRadiusWeightModifierComponentTypeId.names index e8d4299ea7..f7b519633f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorRadiusWeightModifierComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorRadiusWeightModifierComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorRadiusWeightModifierComponentTypeId", + "base": "EditorRadiusWeightModifierComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorRadiusWeightModifierComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Radius Weight Modifier Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorRadiusWeightModifierComponentTypeId", + "details": { + "name": "Get Editor Radius Weight Modifier Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorReflectionProbeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorReflectionProbeComponentTypeId.names index 2bbbb9d789..caf01ce791 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorReflectionProbeComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorReflectionProbeComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorReflectionProbeComponentTypeId", + "base": "EditorReflectionProbeComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorReflectionProbeComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Reflection Probe Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorReflectionProbeComponentTypeId", + "details": { + "name": "Get Editor Reflection Probe Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorShapeWeightModifierComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorShapeWeightModifierComponentTypeId.names index 3abeafda2a..965d0a0264 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorShapeWeightModifierComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorShapeWeightModifierComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorShapeWeightModifierComponentTypeId", + "base": "EditorShapeWeightModifierComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorShapeWeightModifierComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Shape Weight Modifier Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorShapeWeightModifierComponentTypeId", + "details": { + "name": "Get Editor Shape Weight Modifier Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorSsaoComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorSsaoComponentTypeId.names index d1d030c18b..c041c1bf04 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorSsaoComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorSsaoComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorSsaoComponentTypeId", + "base": "EditorSsaoComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorSsaoComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Ssao Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorSsaoComponentTypeId", + "details": { + "name": "Get Editor Ssao Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorTransformComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorTransformComponentTypeId.names index ce90232aea..d3d17c73cc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorTransformComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EditorTransformComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EditorTransformComponentTypeId", + "base": "EditorTransformComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EditorTransformComponentTypeId::Getter", - "category": "Constants" - } + "name": "Editor Transform Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEditorTransformComponentTypeId", + "details": { + "name": "Get Editor Transform Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EntityReferenceComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EntityReferenceComponentTypeId.names index d2e2fd6713..e5d76d415c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EntityReferenceComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/EntityReferenceComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "EntityReferenceComponentTypeId", + "base": "EntityReferenceComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "EntityReferenceComponentTypeId::Getter", - "category": "Constants" - } + "name": "Entity Reference Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetEntityReferenceComponentTypeId", + "details": { + "name": "Get Entity Reference Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ExposureControlComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ExposureControlComponentTypeId.names index e88dd26549..cea1b1bcee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ExposureControlComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ExposureControlComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ExposureControlComponentTypeId", + "base": "ExposureControlComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "ExposureControlComponentTypeId::Getter", - "category": "Constants" - } + "name": "Exposure Control Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetExposureControlComponentTypeId", + "details": { + "name": "Get Exposure Control Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FastNoiseGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FastNoiseGradientComponentTypeId.names new file mode 100644 index 0000000000..3a1b1e3def --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FastNoiseGradientComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "FastNoiseGradientComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Fast Noise Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetFastNoiseGradientComponentTypeId", + "details": { + "name": "Get Fast Noise Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Invalid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Invalid.names index 27cd936beb..aa856455f5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Invalid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Invalid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "FillMode_Invalid", + "base": "FillMode_Invalid", "context": "Constant", "variant": "", "details": { - "name": "FillMode_Invalid::Getter", - "category": "Constants" - } + "name": "Invalid", + "category": "Constants/Fill Mode" + }, + "methods": [ + { + "base": "GetFillMode_Invalid", + "details": { + "name": "Invalid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Solid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Solid.names index e3f52f0784..1eecbacacf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Solid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Solid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "FillMode_Solid", + "base": "FillMode_Solid", "context": "Constant", "variant": "", "details": { - "name": "FillMode_Solid::Getter", - "category": "Constants" - } + "name": "Solid", + "category": "Constants/Fill Mode" + }, + "methods": [ + { + "base": "GetFillMode_Solid", + "details": { + "name": "Solid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Wireframe.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Wireframe.names index cdbe3521f7..382f55dca8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Wireframe.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FillMode_Wireframe.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "FillMode_Wireframe", + "base": "FillMode_Wireframe", "context": "Constant", "variant": "", "details": { - "name": "FillMode_Wireframe::Getter", - "category": "Constants" - } + "name": "Wireframe", + "category": "Constants/Fill Mode" + }, + "methods": [ + { + "base": "GetFillMode_Wireframe", + "details": { + "name": "Wireframe" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FloatEpsilon.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FloatEpsilon.names index 438ba833c5..b5dc4c02d7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FloatEpsilon.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FloatEpsilon.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "FloatEpsilon", + "base": "FloatEpsilon", "context": "Constant", "variant": "", "details": { - "name": "FloatEpsilon::Getter", - "category": "Constants" - } + "name": "Float Epsilon", + "category": "Constants/Numeric" + }, + "methods": [ + { + "base": "GetFloatEpsilon", + "details": { + "name": "Float Epsilon" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "float" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_FileWriteError.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_FileWriteError.names index f0e0e3e68e..81ab3e2c12 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_FileWriteError.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_FileWriteError.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "FrameCaptureResult_FileWriteError", + "base": "FrameCaptureResult_FileWriteError", "context": "Constant", "variant": "", "details": { - "name": "FrameCaptureResult_FileWriteError::Getter", - "category": "Constants" - } + "name": "File Write Error", + "category": "Constants/Frame Capture Result" + }, + "methods": [ + { + "base": "GetFrameCaptureResult_FileWriteError", + "details": { + "name": "File Write Error" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_InternalError.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_InternalError.names index 823225c397..168f94594e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_InternalError.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_InternalError.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "FrameCaptureResult_InternalError", + "base": "FrameCaptureResult_InternalError", "context": "Constant", "variant": "", "details": { - "name": "FrameCaptureResult_InternalError::Getter", - "category": "Constants" - } + "name": "Internal Error", + "category": "Constants/Frame Capture Result" + }, + "methods": [ + { + "base": "GetFrameCaptureResult_InternalError", + "details": { + "name": "Internal Error" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_InvalidArgument.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_InvalidArgument.names index 360800ac3e..983e8193e3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_InvalidArgument.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_InvalidArgument.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "FrameCaptureResult_InvalidArgument", + "base": "FrameCaptureResult_InvalidArgument", "context": "Constant", "variant": "", "details": { - "name": "FrameCaptureResult_InvalidArgument::Getter", - "category": "Constants" - } + "name": "Invalid Argument", + "category": "Constants/Frame Capture Result" + }, + "methods": [ + { + "base": "GetFrameCaptureResult_InvalidArgument", + "details": { + "name": "Invalid Argument" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_None.names index a6ba18d32f..8ab7a2ff17 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_None.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_None.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "FrameCaptureResult_None", + "base": "FrameCaptureResult_None", "context": "Constant", "variant": "", "details": { - "name": "FrameCaptureResult_None::Getter", - "category": "Constants" - } + "name": "None", + "category": "Constants/Frame Capture Result" + }, + "methods": [ + { + "base": "GetFrameCaptureResult_None", + "details": { + "name": "None" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_Success.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_Success.names index 789fd31acf..a7704a07a0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_Success.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_Success.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "FrameCaptureResult_Success", + "base": "FrameCaptureResult_Success", "context": "Constant", "variant": "", "details": { - "name": "FrameCaptureResult_Success::Getter", - "category": "Constants" - } + "name": "Success", + "category": "Constants/Frame Capture Result" + }, + "methods": [ + { + "base": "GetFrameCaptureResult_Success", + "details": { + "name": "Success" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_UnsupportedFormat.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_UnsupportedFormat.names index 136406261d..f16d51f8a0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_UnsupportedFormat.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/FrameCaptureResult_UnsupportedFormat.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "FrameCaptureResult_UnsupportedFormat", + "base": "FrameCaptureResult_UnsupportedFormat", "context": "Constant", "variant": "", "details": { - "name": "FrameCaptureResult_UnsupportedFormat::Getter", - "category": "Constants" - } + "name": "Unsupported Format", + "category": "Constants/Frame Capture Result" + }, + "methods": [ + { + "base": "GetFrameCaptureResult_UnsupportedFormat", + "details": { + "name": "Unsupported Format" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientSurfaceDataComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientSurfaceDataComponentTypeId.names index 90e43a4a20..977aa61049 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientSurfaceDataComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientSurfaceDataComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "GradientSurfaceDataComponentTypeId", + "base": "GradientSurfaceDataComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "GradientSurfaceDataComponentTypeId::Getter", - "category": "Constants" - } + "name": "Gradient Surface Data Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetGradientSurfaceDataComponentTypeId", + "details": { + "name": "Get Gradient Surface Data Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientTransformComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientTransformComponentTypeId.names index 339c4d2904..ff20414bcf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientTransformComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientTransformComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "GradientTransformComponentTypeId", + "base": "GradientTransformComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "GradientTransformComponentTypeId::Getter", - "category": "Constants" - } + "name": "Gradient Transform Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetGradientTransformComponentTypeId", + "details": { + "name": "Get Gradient Transform Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientWeightModifierComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientWeightModifierComponentTypeId.names index cee5ed45f5..f5f5bfbbc9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientWeightModifierComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GradientWeightModifierComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "GradientWeightModifierComponentTypeId", + "base": "GradientWeightModifierComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "GradientWeightModifierComponentTypeId::Getter", - "category": "Constants" - } + "name": "Gradient Weight Modifier Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetGradientWeightModifierComponentTypeId", + "details": { + "name": "Get Gradient Weight Modifier Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GridComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GridComponentTypeId.names index e6ca6375da..dbe919d573 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GridComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/GridComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "GridComponentTypeId", + "base": "GridComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "GridComponentTypeId::Getter", - "category": "Constants" - } + "name": "Grid Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetGridComponentTypeId", + "details": { + "name": "Get Grid Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/HDRiSkyboxComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/HDRiSkyboxComponentTypeId.names index ce30501f5a..d840a65997 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/HDRiSkyboxComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/HDRiSkyboxComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "HDRiSkyboxComponentTypeId", + "base": "HDRiSkyboxComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "HDRiSkyboxComponentTypeId::Getter", - "category": "Constants" - } + "name": "HD Ri Skybox Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetHDRiSkyboxComponentTypeId", + "details": { + "name": "GetHD Ri Skybox Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/HairComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/HairComponentTypeId.names new file mode 100644 index 0000000000..072a9214c8 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/HairComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "HairComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Hair Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetHairComponentTypeId", + "details": { + "name": "Get Hair Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ICOSAHEDRON.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ICOSAHEDRON.names new file mode 100644 index 0000000000..50fd81277d --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ICOSAHEDRON.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "ICOSAHEDRON", + "context": "Constant", + "variant": "", + "details": { + "name": "Icosahedron", + "category": "Constants/White Box" + }, + "methods": [ + { + "base": "GetICOSAHEDRON", + "details": { + "name": "Icosahedron" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ImageBasedLightComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ImageBasedLightComponentTypeId.names index 7669ee6318..9216b7bfb0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ImageBasedLightComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ImageBasedLightComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ImageBasedLightComponentTypeId", + "base": "ImageBasedLightComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "ImageBasedLightComponentTypeId::Getter", - "category": "Constants" - } + "name": "Image Based Light Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetImageBasedLightComponentTypeId", + "details": { + "name": "Get Image Based Light Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ImageGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ImageGradientComponentTypeId.names index 6fa8464e57..7a19cff05d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ImageGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ImageGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ImageGradientComponentTypeId", + "base": "ImageGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "ImageGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Image Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetImageGradientComponentTypeId", + "details": { + "name": "Get Image Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidComponentId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidComponentId.names index 5b2d673f0b..726f894d8d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidComponentId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidComponentId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "InvalidComponentId", + "base": "InvalidComponentId", "context": "Constant", "variant": "", "details": { - "name": "InvalidComponentId::Getter", - "category": "Constants" - } + "name": "Invalid Component Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetInvalidComponentId", + "details": { + "name": "Get Invalid Component Id" + }, + "results": [ + { + "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", + "details": { + "name": "AZ::u 64" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidParameterIndex.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidParameterIndex.names index 9d3edcdbee..a278dccb34 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidParameterIndex.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidParameterIndex.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "InvalidParameterIndex", + "base": "InvalidParameterIndex", "context": "Constant", "variant": "", "details": { - "name": "InvalidParameterIndex::Getter", - "category": "Constants" - } + "name": "Invalid Parameter Index", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetInvalidParameterIndex", + "details": { + "name": "Get Invalid Parameter Index" + }, + "results": [ + { + "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", + "details": { + "name": "AZ::u 64" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidTemplateId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidTemplateId.names index 30f928664c..34f0345f45 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidTemplateId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvalidTemplateId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "InvalidTemplateId", + "base": "InvalidTemplateId", "context": "Constant", "variant": "", "details": { - "name": "InvalidTemplateId::Getter", - "category": "Constants" - } + "name": "Invalid Template Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetInvalidTemplateId", + "details": { + "name": "Get Invalid Template Id" + }, + "results": [ + { + "typeid": "{D6597933-47CD-4FC8-B911-63F3E2B0993A}", + "details": { + "name": "AZ::u 64" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvertGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvertGradientComponentTypeId.names index 0c6d3253b5..e09f65f71f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvertGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/InvertGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "InvertGradientComponentTypeId", + "base": "InvertGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "InvertGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Invert Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetInvertGradientComponentTypeId", + "details": { + "name": "Get Invert Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/JsonMergePatch.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/JsonMergePatch.names index 53e973e3a5..dda23f91e7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/JsonMergePatch.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/JsonMergePatch.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "JsonMergePatch", + "base": "JsonMergePatch", "context": "Constant", "variant": "", "details": { - "name": "JsonMergePatch::Getter", - "category": "Constants" - } + "name": "Json Merge Patch", + "category": "Constants/Json" + }, + "methods": [ + { + "base": "GetJsonMergePatch", + "details": { + "name": "Get Json Merge Patch" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/JsonPatch.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/JsonPatch.names index fec9372c25..c5288b5e5a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/JsonPatch.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/JsonPatch.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "JsonPatch", + "base": "JsonPatch", "context": "Constant", "variant": "", "details": { - "name": "JsonPatch::Getter", - "category": "Constants" - } + "name": "Json Patch", + "category": "Constants/Json" + }, + "methods": [ + { + "base": "GetJsonPatch", + "details": { + "name": "Get Json Patch" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LANDSCAPE_CANVAS_EDITOR_ID.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LANDSCAPE_CANVAS_EDITOR_ID.names new file mode 100644 index 0000000000..b9aabee87c --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LANDSCAPE_CANVAS_EDITOR_ID.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "LANDSCAPE_CANVAS_EDITOR_ID", + "context": "Constant", + "variant": "", + "details": { + "name": "Editor Id", + "category": "Constants/Landscape Canvas" + }, + "methods": [ + { + "base": "GetLANDSCAPE_CANVAS_EDITOR_ID", + "details": { + "name": "Editor Id" + }, + "results": [ + { + "typeid": "{9F4E062E-06A0-46D4-85DF-E0DA96467D3A}", + "details": { + "name": "Crc 32" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LevelSettingsComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LevelSettingsComponentTypeId.names new file mode 100644 index 0000000000..af01c5f258 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LevelSettingsComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "LevelSettingsComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Level Settings Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetLevelSettingsComponentTypeId", + "details": { + "name": "Get Level Settings Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LevelsGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LevelsGradientComponentTypeId.names index 294b87f61e..0f44a7eb3d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LevelsGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LevelsGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "LevelsGradientComponentTypeId", + "base": "LevelsGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "LevelsGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Levels Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetLevelsGradientComponentTypeId", + "details": { + "name": "Get Levels Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LightAttenuationRadiusMode_Automatic.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LightAttenuationRadiusMode_Automatic.names index 2bbf9c2d54..8dac5f9651 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LightAttenuationRadiusMode_Automatic.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LightAttenuationRadiusMode_Automatic.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "LightAttenuationRadiusMode_Automatic", + "base": "LightAttenuationRadiusMode_Automatic", "context": "Constant", "variant": "", "details": { - "name": "LightAttenuationRadiusMode_Automatic::Getter", - "category": "Constants" - } + "name": "Automatic", + "category": "Constants/Light Attenuation Radius Mode" + }, + "methods": [ + { + "base": "GetLightAttenuationRadiusMode_Automatic", + "details": { + "name": "Automatic" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LightAttenuationRadiusMode_Explicit.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LightAttenuationRadiusMode_Explicit.names index 7f24ff6286..d3f754b147 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LightAttenuationRadiusMode_Explicit.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LightAttenuationRadiusMode_Explicit.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "LightAttenuationRadiusMode_Explicit", + "base": "LightAttenuationRadiusMode_Explicit", "context": "Constant", "variant": "", "details": { - "name": "LightAttenuationRadiusMode_Explicit::Getter", - "category": "Constants" - } + "name": "Explicit", + "category": "Constants/Light Attenuation Radius Mode" + }, + "methods": [ + { + "base": "GetLightAttenuationRadiusMode_Explicit", + "details": { + "name": "Explicit" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LookModificationComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LookModificationComponentTypeId.names index cd9bf7661f..4455d529d9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LookModificationComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/LookModificationComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "LookModificationComponentTypeId", + "base": "LookModificationComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "LookModificationComponentTypeId::Getter", - "category": "Constants" - } + "name": "Look Modification Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetLookModificationComponentTypeId", + "details": { + "name": "Get Look Modification Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialComponentTypeId.names index 0f13cdb0d6..30f9afc015 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "MaterialComponentTypeId", + "base": "MaterialComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "MaterialComponentTypeId::Getter", - "category": "Constants" - } + "name": "Material Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetMaterialComponentTypeId", + "details": { + "name": "Get Material Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyGroupVisibility_Enabled.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyGroupVisibility_Enabled.names index 22ced2479c..2f7eceec8e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyGroupVisibility_Enabled.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyGroupVisibility_Enabled.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "MaterialPropertyGroupVisibility_Enabled", + "base": "MaterialPropertyGroupVisibility_Enabled", "context": "Constant", "variant": "", "details": { - "name": "MaterialPropertyGroupVisibility_Enabled::Getter", - "category": "Constants" - } + "name": "Enabled", + "category": "Constants/Material Property Group Visibility" + }, + "methods": [ + { + "base": "GetMaterialPropertyGroupVisibility_Enabled", + "details": { + "name": "Enabled" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyGroupVisibility_Hidden.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyGroupVisibility_Hidden.names index 0b332ba6e4..398499a02e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyGroupVisibility_Hidden.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyGroupVisibility_Hidden.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "MaterialPropertyGroupVisibility_Hidden", + "base": "MaterialPropertyGroupVisibility_Hidden", "context": "Constant", "variant": "", "details": { - "name": "MaterialPropertyGroupVisibility_Hidden::Getter", - "category": "Constants" - } + "name": "Hidden", + "category": "Constants/Material Property Group Visibility" + }, + "methods": [ + { + "base": "GetMaterialPropertyGroupVisibility_Hidden", + "details": { + "name": "Hidden" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Disabled.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Disabled.names index 7b22c9120c..41647e6229 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Disabled.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Disabled.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "MaterialPropertyVisibility_Disabled", + "base": "MaterialPropertyVisibility_Disabled", "context": "Constant", "variant": "", "details": { - "name": "MaterialPropertyVisibility_Disabled::Getter", - "category": "Constants" - } + "name": "Disabled", + "category": "Constants/Material Property Visibility" + }, + "methods": [ + { + "base": "GetMaterialPropertyVisibility_Disabled", + "details": { + "name": "Disabled" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Enabled.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Enabled.names index 7da9316556..0b8f55854a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Enabled.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Enabled.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "MaterialPropertyVisibility_Enabled", + "base": "MaterialPropertyVisibility_Enabled", "context": "Constant", "variant": "", "details": { - "name": "MaterialPropertyVisibility_Enabled::Getter", - "category": "Constants" - } + "name": "Enabled", + "category": "Constants/Material Property Visibility" + }, + "methods": [ + { + "base": "GetMaterialPropertyVisibility_Enabled", + "details": { + "name": "Enabled" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Hidden.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Hidden.names index 0d79119c32..f07a8c1a52 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Hidden.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MaterialPropertyVisibility_Hidden.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "MaterialPropertyVisibility_Hidden", + "base": "MaterialPropertyVisibility_Hidden", "context": "Constant", "variant": "", "details": { - "name": "MaterialPropertyVisibility_Hidden::Getter", - "category": "Constants" - } + "name": "Hidden", + "category": "Constants/Material Property Visibility" + }, + "methods": [ + { + "base": "GetMaterialPropertyVisibility_Hidden", + "details": { + "name": "Hidden" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MeshBlockerComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MeshBlockerComponentTypeId.names new file mode 100644 index 0000000000..d20e624867 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MeshBlockerComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "MeshBlockerComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Mesh Blocker Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetMeshBlockerComponentTypeId", + "details": { + "name": "Get Mesh Blocker Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MeshComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MeshComponentTypeId.names index ba1709fcf2..0833a7bb15 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MeshComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MeshComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "MeshComponentTypeId", + "base": "MeshComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "MeshComponentTypeId::Getter", - "category": "Constants" - } + "name": "Mesh Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetMeshComponentTypeId", + "details": { + "name": "Get Mesh Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MixedGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MixedGradientComponentTypeId.names index f0364c7c45..3780e45102 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MixedGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MixedGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "MixedGradientComponentTypeId", + "base": "MixedGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "MixedGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Mixed Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetMixedGradientComponentTypeId", + "details": { + "name": "Get Mixed Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MultiPositionBehaviorType_Blended.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MultiPositionBehaviorType_Blended.names index 7e95390e2e..3d14e91e22 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MultiPositionBehaviorType_Blended.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MultiPositionBehaviorType_Blended.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "MultiPositionBehaviorType_Blended", + "base": "MultiPositionBehaviorType_Blended", "context": "Constant", "variant": "", "details": { - "name": "MultiPositionBehaviorType_Blended::Getter", - "category": "Constants" - } + "name": "Blended", + "category": "Constants/Multi Position Behavior Type" + }, + "methods": [ + { + "base": "GetMultiPositionBehaviorType_Blended", + "details": { + "name": "Blended" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MultiPositionBehaviorType_Separate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MultiPositionBehaviorType_Separate.names index 476c8b91ef..15577ca173 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MultiPositionBehaviorType_Separate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/MultiPositionBehaviorType_Separate.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "MultiPositionBehaviorType_Separate", + "base": "MultiPositionBehaviorType_Separate", "context": "Constant", "variant": "", "details": { - "name": "MultiPositionBehaviorType_Separate::Getter", - "category": "Constants" - } + "name": "Separate", + "category": "Constants/Multi Position Behavior Type" + }, + "methods": [ + { + "base": "GetMultiPositionBehaviorType_Separate", + "details": { + "name": "Separate" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/OcclusionCullingPlaneComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/OcclusionCullingPlaneComponentTypeId.names index 471b5d63d3..685d61f8a7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/OcclusionCullingPlaneComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/OcclusionCullingPlaneComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "OcclusionCullingPlaneComponentTypeId", + "base": "OcclusionCullingPlaneComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "OcclusionCullingPlaneComponentTypeId::Getter", - "category": "Constants" - } + "name": "Occlusion Culling Plane Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetOcclusionCullingPlaneComponentTypeId", + "details": { + "name": "Get Occlusion Culling Plane Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PerlinGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PerlinGradientComponentTypeId.names index 0779352f77..d16cca8ebb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PerlinGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PerlinGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PerlinGradientComponentTypeId", + "base": "PerlinGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "PerlinGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Perlin Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetPerlinGradientComponentTypeId", + "details": { + "name": "Get Perlin Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Candela.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Candela.names index 0923efc251..5312a86409 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Candela.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Candela.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PhotometricUnit_Candela", + "base": "PhotometricUnit_Candela", "context": "Constant", "variant": "", "details": { - "name": "PhotometricUnit_Candela::Getter", - "category": "Constants" - } + "name": "Candela", + "category": "Constants/Photometric Unit" + }, + "methods": [ + { + "base": "GetPhotometricUnit_Candela", + "details": { + "name": "Candela" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Ev100_Illuminance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Ev100_Illuminance.names index 841af8eb4d..ffb2e3875f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Ev100_Illuminance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Ev100_Illuminance.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PhotometricUnit_Ev100_Illuminance", + "base": "PhotometricUnit_Ev100_Illuminance", "context": "Constant", "variant": "", "details": { - "name": "PhotometricUnit_Ev100_Illuminance::Getter", - "category": "Constants" - } + "name": "Ev 100 Illuminance", + "category": "Constants/Photometric Unit" + }, + "methods": [ + { + "base": "GetPhotometricUnit_Ev100_Illuminance", + "details": { + "name": "Ev 100 Illuminance" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Ev100_Luminance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Ev100_Luminance.names index b6df92e7d2..b0a0fe6a47 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Ev100_Luminance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Ev100_Luminance.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PhotometricUnit_Ev100_Luminance", + "base": "PhotometricUnit_Ev100_Luminance", "context": "Constant", "variant": "", "details": { - "name": "PhotometricUnit_Ev100_Luminance::Getter", - "category": "Constants" - } + "name": "Ev 100 Luminance", + "category": "Constants/Photometric Unit" + }, + "methods": [ + { + "base": "GetPhotometricUnit_Ev100_Luminance", + "details": { + "name": "Ev 100 Luminance" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Lumen.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Lumen.names index 2d06fd13a3..9e67c249af 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Lumen.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Lumen.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PhotometricUnit_Lumen", + "base": "PhotometricUnit_Lumen", "context": "Constant", "variant": "", "details": { - "name": "PhotometricUnit_Lumen::Getter", - "category": "Constants" - } + "name": "Lumen", + "category": "Constants/Photometric Unit" + }, + "methods": [ + { + "base": "GetPhotometricUnit_Lumen", + "details": { + "name": "Lumen" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Lux.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Lux.names index b16b5a6b9e..a82a2cbc0a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Lux.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Lux.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PhotometricUnit_Lux", + "base": "PhotometricUnit_Lux", "context": "Constant", "variant": "", "details": { - "name": "PhotometricUnit_Lux::Getter", - "category": "Constants" - } + "name": "Lux", + "category": "Constants/Photometric Unit" + }, + "methods": [ + { + "base": "GetPhotometricUnit_Lux", + "details": { + "name": "Lux" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Nit.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Nit.names index 33af8d043e..3a66270b8a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Nit.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Nit.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PhotometricUnit_Nit", + "base": "PhotometricUnit_Nit", "context": "Constant", "variant": "", "details": { - "name": "PhotometricUnit_Nit::Getter", - "category": "Constants" - } + "name": "Nit", + "category": "Constants/Photometric Unit" + }, + "methods": [ + { + "base": "GetPhotometricUnit_Nit", + "details": { + "name": "Nit" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Unknown.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Unknown.names index d748e688e2..f07cfd2be4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Unknown.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhotometricUnit_Unknown.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PhotometricUnit_Unknown", + "base": "PhotometricUnit_Unknown", "context": "Constant", "variant": "", "details": { - "name": "PhotometricUnit_Unknown::Getter", - "category": "Constants" - } + "name": "Unknown", + "category": "Constants/Photometric Unit" + }, + "methods": [ + { + "base": "GetPhotometricUnit_Unknown", + "details": { + "name": "Unknown" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhysicalSkyComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhysicalSkyComponentTypeId.names index 05b71703e9..acd3e30945 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhysicalSkyComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PhysicalSkyComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PhysicalSkyComponentTypeId", + "base": "PhysicalSkyComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "PhysicalSkyComponentTypeId::Getter", - "category": "Constants" - } + "name": "Physical Sky Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetPhysicalSkyComponentTypeId", + "details": { + "name": "Get Physical Sky Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PositionModifierComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PositionModifierComponentTypeId.names new file mode 100644 index 0000000000..3934036ae6 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PositionModifierComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "PositionModifierComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Position Modifier Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetPositionModifierComponentTypeId", + "details": { + "name": "Get Position Modifier Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PostFxLayerComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PostFxLayerComponentTypeId.names index b45a4432ef..a09eb0fe51 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PostFxLayerComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PostFxLayerComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PostFxLayerComponentTypeId", + "base": "PostFxLayerComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "PostFxLayerComponentTypeId::Getter", - "category": "Constants" - } + "name": "Post Fx Layer Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetPostFxLayerComponentTypeId", + "details": { + "name": "Get Post Fx Layer Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PosterizeGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PosterizeGradientComponentTypeId.names index 1325364e24..28956d8520 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PosterizeGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/PosterizeGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "PosterizeGradientComponentTypeId", + "base": "PosterizeGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "PosterizeGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Posterize Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetPosterizeGradientComponentTypeId", + "details": { + "name": "Get Posterize Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_AWSCognitoIDP.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_AWSCognitoIDP.names new file mode 100644 index 0000000000..35dd35606c --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_AWSCognitoIDP.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "ProviderNameEnum_AWSCognitoIDP", + "context": "Constant", + "variant": "", + "details": { + "name": "AWS Cognito IDP", + "category": "Constants/Provider Name" + }, + "methods": [ + { + "base": "GetProviderNameEnum_AWSCognitoIDP", + "details": { + "name": "AWS Cognito IDP" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_Google.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_Google.names new file mode 100644 index 0000000000..11b91a902c --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_Google.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "ProviderNameEnum_Google", + "context": "Constant", + "variant": "", + "details": { + "name": "Google", + "category": "Constants/Provider Name" + }, + "methods": [ + { + "base": "GetProviderNameEnum_Google", + "details": { + "name": "Google" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_LoginWithAmazon.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_LoginWithAmazon.names new file mode 100644 index 0000000000..9f63f5a2ad --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_LoginWithAmazon.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "ProviderNameEnum_LoginWithAmazon", + "context": "Constant", + "variant": "", + "details": { + "name": "Amazon", + "category": "Constants/Provider Name" + }, + "methods": [ + { + "base": "GetProviderNameEnum_LoginWithAmazon", + "details": { + "name": "Amazon" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_None.names new file mode 100644 index 0000000000..5f7f21d88a --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ProviderNameEnum_None.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "ProviderNameEnum_None", + "context": "Constant", + "variant": "", + "details": { + "name": "None", + "category": "Constants/Provider Name" + }, + "methods": [ + { + "base": "GetProviderNameEnum_None", + "details": { + "name": "None" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/QuadShapeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/QuadShapeComponentTypeId.names index 5d98a25b38..913f9c6a8e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/QuadShapeComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/QuadShapeComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "QuadShapeComponentTypeId", + "base": "QuadShapeComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "QuadShapeComponentTypeId::Getter", - "category": "Constants" - } + "name": "Quad Shape Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetQuadShapeComponentTypeId", + "details": { + "name": "Get Quad Shape Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RadiusWeightModifierComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RadiusWeightModifierComponentTypeId.names index 43cfe542c0..b47fe93984 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RadiusWeightModifierComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RadiusWeightModifierComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "RadiusWeightModifierComponentTypeId", + "base": "RadiusWeightModifierComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "RadiusWeightModifierComponentTypeId::Getter", - "category": "Constants" - } + "name": "Radius Weight Modifier Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetRadiusWeightModifierComponentTypeId", + "details": { + "name": "Get Radius Weight Modifier Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RandomGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RandomGradientComponentTypeId.names index 58045dbdec..625f76bba8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RandomGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RandomGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "RandomGradientComponentTypeId", + "base": "RandomGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "RandomGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Random Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetRandomGradientComponentTypeId", + "details": { + "name": "Get Random Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReferenceGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReferenceGradientComponentTypeId.names index 89e3a955d1..b96e97dfaa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReferenceGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReferenceGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ReferenceGradientComponentTypeId", + "base": "ReferenceGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "ReferenceGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Reference Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetReferenceGradientComponentTypeId", + "details": { + "name": "Get Reference Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReferenceShapeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReferenceShapeComponentTypeId.names new file mode 100644 index 0000000000..bbcfd7f88c --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReferenceShapeComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "ReferenceShapeComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Reference Shape Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetReferenceShapeComponentTypeId", + "details": { + "name": "Get Reference Shape Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReflectionProbeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReflectionProbeComponentTypeId.names index 9d8cf61239..5b6d58c067 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReflectionProbeComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ReflectionProbeComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ReflectionProbeComponentTypeId", + "base": "ReflectionProbeComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "ReflectionProbeComponentTypeId::Getter", - "category": "Constants" - } + "name": "Reflection Probe Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetReflectionProbeComponentTypeId", + "details": { + "name": "Get Reflection Probe Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RotationModifierComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RotationModifierComponentTypeId.names new file mode 100644 index 0000000000..18c7ac1f82 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/RotationModifierComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "RotationModifierComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Rotation Modifier Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetRotationModifierComponentTypeId", + "details": { + "name": "Get Rotation Modifier Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SPHERE.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SPHERE.names new file mode 100644 index 0000000000..4743d85db3 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SPHERE.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "SPHERE", + "context": "Constant", + "variant": "", + "details": { + "name": "Sphere", + "category": "Constants/White Box" + }, + "methods": [ + { + "base": "GetSPHERE", + "details": { + "name": "Sphere" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ScaleModifierComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ScaleModifierComponentTypeId.names new file mode 100644 index 0000000000..cee50e1569 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ScaleModifierComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "ScaleModifierComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Scale Modifier Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetScaleModifierComponentTypeId", + "details": { + "name": "Get Scale Modifier Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_ESM.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_ESM.names index 3542ed76bb..9d16d36c6b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_ESM.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_ESM.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShadowFilterMethod_ESM", + "base": "ShadowFilterMethod_ESM", "context": "Constant", "variant": "", "details": { - "name": "ShadowFilterMethod_ESM::Getter", - "category": "Constants" - } + "name": "ESM", + "category": "Constants/Shadowmap/Filter" + }, + "methods": [ + { + "base": "GetShadowFilterMethod_ESM", + "details": { + "name": "ESM" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_ESM_PCF.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_ESM_PCF.names index 57736a0912..75750dd2a2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_ESM_PCF.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_ESM_PCF.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShadowFilterMethod_ESM_PCF", + "base": "ShadowFilterMethod_ESM_PCF", "context": "Constant", "variant": "", "details": { - "name": "ShadowFilterMethod_ESM_PCF::Getter", - "category": "Constants" - } + "name": "ESM_PCF", + "category": "Constants/Shadowmap/Filter" + }, + "methods": [ + { + "base": "GetShadowFilterMethod_ESM_PCF", + "details": { + "name": "ESM_PCF" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_None.names index 90a1da18fe..f604ed1147 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_None.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_None.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShadowFilterMethod_None", + "base": "ShadowFilterMethod_None", "context": "Constant", "variant": "", "details": { - "name": "ShadowFilterMethod_None::Getter", - "category": "Constants" - } + "name": "None", + "category": "Constants/Shadowmap/Filter" + }, + "methods": [ + { + "base": "GetShadowFilterMethod_None", + "details": { + "name": "None" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_PCF.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_PCF.names index 0600bfc8d2..7d63db3ad7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_PCF.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowFilterMethod_PCF.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShadowFilterMethod_PCF", + "base": "ShadowFilterMethod_PCF", "context": "Constant", "variant": "", "details": { - "name": "ShadowFilterMethod_PCF::Getter", - "category": "Constants" - } + "name": "PCF", + "category": "Constants/Shadowmap/Filter" + }, + "methods": [ + { + "base": "GetShadowFilterMethod_PCF", + "details": { + "name": "PCF" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_1024.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_1024.names index 0814f06cce..82fcb11aaf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_1024.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_1024.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShadowmapSize_1024", + "base": "ShadowmapSize_1024", "context": "Constant", "variant": "", "details": { - "name": "ShadowmapSize_1024::Getter", - "category": "Constants" - } + "name": "1024", + "category": "Constants/Shadowmap/Size" + }, + "methods": [ + { + "base": "GetShadowmapSize_1024", + "details": { + "name": "1024" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_2045.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_2045.names index 4ed139c23a..545ecbe5f7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_2045.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_2045.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShadowmapSize_2045", + "base": "ShadowmapSize_2045", "context": "Constant", "variant": "", "details": { - "name": "ShadowmapSize_2045::Getter", - "category": "Constants" - } + "name": "2045", + "category": "Constants/Shadowmap/Size" + }, + "methods": [ + { + "base": "GetShadowmapSize_2045", + "details": { + "name": "2045" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_256.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_256.names index 174dcbd1e7..26b11da3d9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_256.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_256.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShadowmapSize_256", + "base": "ShadowmapSize_256", "context": "Constant", "variant": "", "details": { - "name": "ShadowmapSize_256::Getter", - "category": "Constants" - } + "name": "256", + "category": "Constants/Shadowmap/Size" + }, + "methods": [ + { + "base": "GetShadowmapSize_256", + "details": { + "name": "256" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_512.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_512.names index 476a558ad6..541b28b10d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_512.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_512.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShadowmapSize_512", + "base": "ShadowmapSize_512", "context": "Constant", "variant": "", "details": { - "name": "ShadowmapSize_512::Getter", - "category": "Constants" - } + "name": "512", + "category": "Constants/Shadowmap/Size" + }, + "methods": [ + { + "base": "GetShadowmapSize_512", + "details": { + "name": "512" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_None.names index a1f9c51c8f..092d435e9d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_None.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShadowmapSize_None.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShadowmapSize_None", + "base": "ShadowmapSize_None", "context": "Constant", "variant": "", "details": { - "name": "ShadowmapSize_None::Getter", - "category": "Constants" - } + "name": "None", + "category": "Constants/Shadowmap/Size" + }, + "methods": [ + { + "base": "GetShadowmapSize_None", + "details": { + "name": "None" + }, + "results": [ + { + "typeid": "{43DA906B-7DEF-4CA8-9790-854106D3F983}", + "details": { + "name": "unsigned int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeAreaFalloffGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeAreaFalloffGradientComponentTypeId.names index a1e9881e41..ca7dc09c50 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeAreaFalloffGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeAreaFalloffGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShapeAreaFalloffGradientComponentTypeId", + "base": "ShapeAreaFalloffGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "ShapeAreaFalloffGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Shape Area Falloff Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetShapeAreaFalloffGradientComponentTypeId", + "details": { + "name": "Get Shape Area Falloff Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeChangeReasons_ShapeChanged.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeChangeReasons_ShapeChanged.names index 700decf418..310ae3155b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeChangeReasons_ShapeChanged.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeChangeReasons_ShapeChanged.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShapeChangeReasons_ShapeChanged", + "base": "ShapeChangeReasons_ShapeChanged", "context": "Constant", "variant": "", "details": { - "name": "ShapeChangeReasons_ShapeChanged::Getter", - "category": "Constants" - } + "name": "Shape Change Reasons_ Shape Changed", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetShapeChangeReasons_ShapeChanged", + "details": { + "name": "Get Shape Change Reasons_ Shape Changed" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeChangeReasons_TransformChanged.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeChangeReasons_TransformChanged.names index 441ee1a3bc..864d389080 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeChangeReasons_TransformChanged.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeChangeReasons_TransformChanged.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShapeChangeReasons_TransformChanged", + "base": "ShapeChangeReasons_TransformChanged", "context": "Constant", "variant": "", "details": { - "name": "ShapeChangeReasons_TransformChanged::Getter", - "category": "Constants" - } + "name": "Shape Change Reasons_ Transform Changed", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetShapeChangeReasons_TransformChanged", + "details": { + "name": "Get Shape Change Reasons_ Transform Changed" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeIntersectionFilterComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeIntersectionFilterComponentTypeId.names new file mode 100644 index 0000000000..8c5ef12adf --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeIntersectionFilterComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "ShapeIntersectionFilterComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Shape Intersection Filter Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetShapeIntersectionFilterComponentTypeId", + "details": { + "name": "Get Shape Intersection Filter Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Box.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Box.names index 1cb9b145a3..233bc2c76f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Box.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Box.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShapeType_Box", + "base": "ShapeType_Box", "context": "Constant", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "ShapeType_Box", + "base": "ShapeType_Box", "details": { "name": "Get Shape Type: Box", "subtitle": "Shape Type" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Cylinder.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Cylinder.names index a86b0ef92f..a4e02a53da 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Cylinder.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Cylinder.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShapeType_Cylinder", + "base": "ShapeType_Cylinder", "context": "Constant", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "ShapeType_Cylinder", + "base": "ShapeType_Cylinder", "details": { "name": "Get Shape Type: Cylinder", "subtitle": "Shape Type" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Heightfield.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Heightfield.names new file mode 100644 index 0000000000..8ede2d9b87 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Heightfield.names @@ -0,0 +1,30 @@ +{ + "entries": [ + { + "base": "ShapeType_Heightfield", + "context": "Constant", + "variant": "", + "details": { + "name": "Get Shape Type: Heightfield", + "category": "Constants/Physics" + }, + "methods": [ + { + "base": "GetShapeType_Heightfield", + "details": { + "name": "Get Shape Type: Heightfield", + "subtitle": "Shape Type" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "Shape Type" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_PhysicsAsset.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_PhysicsAsset.names index ad0eb63c86..9ac02b4f53 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_PhysicsAsset.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_PhysicsAsset.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShapeType_PhysicsAsset", + "base": "ShapeType_PhysicsAsset", "context": "Constant", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "ShapeType_PhysicsAsset", + "base": "ShapeType_PhysicsAsset", "details": { "name": "Get Shape Type: Physics Asset", "subtitle": "Shape Type" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Sphere.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Sphere.names index f66c73f0b2..f2441aacee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Sphere.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeType_Sphere.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "ShapeType_Sphere", + "base": "ShapeType_Sphere", "context": "Constant", "variant": "", "details": { @@ -10,7 +10,7 @@ }, "methods": [ { - "key": "ShapeType_Sphere", + "base": "ShapeType_Sphere", "details": { "name": "SGet Shape Type: Sphere", "subtitle": "Shape Type" diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeWeightModifierComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeWeightModifierComponentTypeId.names index 947f0d1a0d..bd0f817dfd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeWeightModifierComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ShapeWeightModifierComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ShapeWeightModifierComponentTypeId", + "base": "ShapeWeightModifierComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "ShapeWeightModifierComponentTypeId::Getter", - "category": "Constants" - } + "name": "Shape Weight Modifier Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetShapeWeightModifierComponentTypeId", + "details": { + "name": "Get Shape Weight Modifier Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SlopeAlignmentModifierComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SlopeAlignmentModifierComponentTypeId.names index 74e704cb34..219f05a14b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SlopeAlignmentModifierComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SlopeAlignmentModifierComponentTypeId.names @@ -1,23 +1,24 @@ { "entries": [ { - "key": "SlopeAlignmentModifierComponentTypeId", + "base": "SlopeAlignmentModifierComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "" + "name": "Slope Alignment Modifier Component Type Id", + "category": "Constants/Editor" }, "methods": [ { - "key": "SlopeAlignmentModifierComponentTypeId", + "base": "GetSlopeAlignmentModifierComponentTypeId", "details": { - "name": "SlopeAlignmentModifierComponentTypeId::Getter" + "name": "Get Slope Alignment Modifier Component Type Id" }, "results": [ { "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", "details": { - "name": "AZ::Uuid" + "name": "AZ:: Uuid" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SmoothStepGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SmoothStepGradientComponentTypeId.names index 0e2ee25219..b9cf0e8631 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SmoothStepGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SmoothStepGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SmoothStepGradientComponentTypeId", + "base": "SmoothStepGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "SmoothStepGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Smooth Step Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSmoothStepGradientComponentTypeId", + "details": { + "name": "Get Smooth Step Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SpawnerComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SpawnerComponentTypeId.names index 72a66d38e8..6cab8d6b00 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SpawnerComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SpawnerComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SpawnerComponentTypeId", + "base": "SpawnerComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "SpawnerComponentTypeId::Getter", - "category": "Constants" - } + "name": "Spawner Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSpawnerComponentTypeId", + "details": { + "name": "Get Spawner Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SphereShapeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SphereShapeComponentTypeId.names index cedd42ef6a..52f9ed8c57 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SphereShapeComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SphereShapeComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SphereShapeComponentTypeId", + "base": "SphereShapeComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "SphereShapeComponentTypeId::Getter", - "category": "Constants" - } + "name": "Sphere Shape Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSphereShapeComponentTypeId", + "details": { + "name": "Get Sphere Shape Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SsaoComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SsaoComponentTypeId.names index 525dbdcdd0..bce10c89ca 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SsaoComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SsaoComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SsaoComponentTypeId", + "base": "SsaoComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "SsaoComponentTypeId::Getter", - "category": "Constants" - } + "name": "Ssao Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSsaoComponentTypeId", + "details": { + "name": "Get Ssao Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Decrement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Decrement.names index da6699bfbe..83cd8924db 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Decrement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Decrement.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "StencilOp_Decrement", + "base": "StencilOp_Decrement", "context": "Constant", "variant": "", "details": { - "name": "StencilOp_Decrement::Getter", - "category": "Constants" - } + "name": "Decrement", + "category": "Constants/Stencil Op" + }, + "methods": [ + { + "base": "GetStencilOp_Decrement", + "details": { + "name": "Decrement" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_DecrementSaturate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_DecrementSaturate.names index 46fce46fc3..8bbc398180 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_DecrementSaturate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_DecrementSaturate.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "StencilOp_DecrementSaturate", + "base": "StencilOp_DecrementSaturate", "context": "Constant", "variant": "", "details": { - "name": "StencilOp_DecrementSaturate::Getter", - "category": "Constants" - } + "name": "Decrement Saturate", + "category": "Constants/Stencil Op" + }, + "methods": [ + { + "base": "GetStencilOp_DecrementSaturate", + "details": { + "name": "Decrement Saturate" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Increment.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Increment.names index 9d20ca70fb..7b034e8a45 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Increment.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Increment.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "StencilOp_Increment", + "base": "StencilOp_Increment", "context": "Constant", "variant": "", "details": { - "name": "StencilOp_Increment::Getter", - "category": "Constants" - } + "name": "Increment", + "category": "Constants/Stencil Op" + }, + "methods": [ + { + "base": "GetStencilOp_Increment", + "details": { + "name": "Increment" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_IncrementSaturate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_IncrementSaturate.names index 77bfc0a95e..110e816592 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_IncrementSaturate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_IncrementSaturate.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "StencilOp_IncrementSaturate", + "base": "StencilOp_IncrementSaturate", "context": "Constant", "variant": "", "details": { - "name": "StencilOp_IncrementSaturate::Getter", - "category": "Constants" - } + "name": "Increment Saturate", + "category": "Constants/Stencil Op" + }, + "methods": [ + { + "base": "GetStencilOp_IncrementSaturate", + "details": { + "name": "Increment Saturate" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Invalid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Invalid.names index 7f6e5fc38a..e92a5b3526 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Invalid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Invalid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "StencilOp_Invalid", + "base": "StencilOp_Invalid", "context": "Constant", "variant": "", "details": { - "name": "StencilOp_Invalid::Getter", - "category": "Constants" - } + "name": "Invalid", + "category": "Constants/Stencil Op" + }, + "methods": [ + { + "base": "GetStencilOp_Invalid", + "details": { + "name": "Invalid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Invert.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Invert.names index 021e089ac1..adfaf23d6a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Invert.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Invert.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "StencilOp_Invert", + "base": "StencilOp_Invert", "context": "Constant", "variant": "", "details": { - "name": "StencilOp_Invert::Getter", - "category": "Constants" - } + "name": "Invert", + "category": "Constants/Stencil Op" + }, + "methods": [ + { + "base": "GetStencilOp_Invert", + "details": { + "name": "Invert" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Keep.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Keep.names index e4e4fc1956..be2d814bad 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Keep.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Keep.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "StencilOp_Keep", + "base": "StencilOp_Keep", "context": "Constant", "variant": "", "details": { - "name": "StencilOp_Keep::Getter", - "category": "Constants" - } + "name": "Keep", + "category": "Constants/Stencil Op" + }, + "methods": [ + { + "base": "GetStencilOp_Keep", + "details": { + "name": "Keep" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Replace.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Replace.names index 331397d027..307677368f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Replace.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Replace.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "StencilOp_Replace", + "base": "StencilOp_Replace", "context": "Constant", "variant": "", "details": { - "name": "StencilOp_Replace::Getter", - "category": "Constants" - } + "name": "Replace", + "category": "Constants/Stencil Op" + }, + "methods": [ + { + "base": "GetStencilOp_Replace", + "details": { + "name": "Replace" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Zero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Zero.names index 9d17600aad..a4a62b177a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Zero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/StencilOp_Zero.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "StencilOp_Zero", + "base": "StencilOp_Zero", "context": "Constant", "variant": "", "details": { - "name": "StencilOp_Zero::Getter", - "category": "Constants" - } + "name": "Zero", + "category": "Constants/Stencil Op" + }, + "methods": [ + { + "base": "GetStencilOp_Zero", + "details": { + "name": "Zero" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceAltitudeFilterComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceAltitudeFilterComponentTypeId.names new file mode 100644 index 0000000000..cb55df8149 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceAltitudeFilterComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "SurfaceAltitudeFilterComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Surface Altitude Filter Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSurfaceAltitudeFilterComponentTypeId", + "details": { + "name": "Get Surface Altitude Filter Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceAltitudeGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceAltitudeGradientComponentTypeId.names index 01d0ca9912..012f58f387 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceAltitudeGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceAltitudeGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SurfaceAltitudeGradientComponentTypeId", + "base": "SurfaceAltitudeGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "SurfaceAltitudeGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Surface Altitude Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSurfaceAltitudeGradientComponentTypeId", + "details": { + "name": "Get Surface Altitude Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceMaskDepthFilterComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceMaskDepthFilterComponentTypeId.names new file mode 100644 index 0000000000..54af468172 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceMaskDepthFilterComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "SurfaceMaskDepthFilterComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Surface Mask Depth Filter Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSurfaceMaskDepthFilterComponentTypeId", + "details": { + "name": "Get Surface Mask Depth Filter Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceMaskFilterComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceMaskFilterComponentTypeId.names new file mode 100644 index 0000000000..6c8b21cde1 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceMaskFilterComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "SurfaceMaskFilterComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Surface Mask Filter Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSurfaceMaskFilterComponentTypeId", + "details": { + "name": "Get Surface Mask Filter Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceMaskGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceMaskGradientComponentTypeId.names index d98abc6e80..d8784fe67e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceMaskGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceMaskGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SurfaceMaskGradientComponentTypeId", + "base": "SurfaceMaskGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "SurfaceMaskGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Surface Mask Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSurfaceMaskGradientComponentTypeId", + "details": { + "name": "Get Surface Mask Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceSlopeFilterComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceSlopeFilterComponentTypeId.names new file mode 100644 index 0000000000..d55caa7830 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceSlopeFilterComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "SurfaceSlopeFilterComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Surface Slope Filter Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSurfaceSlopeFilterComponentTypeId", + "details": { + "name": "Get Surface Slope Filter Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceSlopeGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceSlopeGradientComponentTypeId.names index 29955c91f4..cf856cfbbf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceSlopeGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SurfaceSlopeGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SurfaceSlopeGradientComponentTypeId", + "base": "SurfaceSlopeGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "SurfaceSlopeGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Surface Slope Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetSurfaceSlopeGradientComponentTypeId", + "details": { + "name": "Get Surface Slope Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Android.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Android.names index b615174731..48ff4a80d5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Android.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Android.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigPlatform_Android", + "base": "SystemConfigPlatform_Android", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigPlatform_Android::Getter", - "category": "Constants" - } + "name": "Android", + "category": "Constants/System Configuration" + }, + "methods": [ + { + "base": "GetSystemConfigPlatform_Android", + "details": { + "name": "Android" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_InvalidPlatform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_InvalidPlatform.names index ebb0dc01bf..72b62a5d03 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_InvalidPlatform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_InvalidPlatform.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigPlatform_InvalidPlatform", + "base": "SystemConfigPlatform_InvalidPlatform", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigPlatform_InvalidPlatform::Getter", - "category": "Constants" - } + "name": "Invalid Platform", + "category": "Constants/System Configuration" + }, + "methods": [ + { + "base": "GetSystemConfigPlatform_InvalidPlatform", + "details": { + "name": "Invalid Platform" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Ios.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Ios.names index 2de01a41e9..f8c15e5505 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Ios.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Ios.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigPlatform_Ios", + "base": "SystemConfigPlatform_Ios", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigPlatform_Ios::Getter", - "category": "Constants" - } + "name": "Ios", + "category": "Constants/System Configuration" + }, + "methods": [ + { + "base": "GetSystemConfigPlatform_Ios", + "details": { + "name": "Ios" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Mac.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Mac.names index 50dc9a573f..d30dd7446b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Mac.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Mac.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigPlatform_Mac", + "base": "SystemConfigPlatform_Mac", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigPlatform_Mac::Getter", - "category": "Constants" - } + "name": "Mac", + "category": "Constants/System Configuration" + }, + "methods": [ + { + "base": "GetSystemConfigPlatform_Mac", + "details": { + "name": "Mac" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_OsxMetal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_OsxMetal.names index 8005565fca..8d2bd15940 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_OsxMetal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_OsxMetal.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigPlatform_OsxMetal", + "base": "SystemConfigPlatform_OsxMetal", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigPlatform_OsxMetal::Getter", - "category": "Constants" - } + "name": "Osx Metal", + "category": "Constants/System Configuration" + }, + "methods": [ + { + "base": "GetSystemConfigPlatform_OsxMetal", + "details": { + "name": "Osx Metal" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Pc.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Pc.names index a1b962ea90..1c0e05387d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Pc.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Pc.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigPlatform_Pc", + "base": "SystemConfigPlatform_Pc", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigPlatform_Pc::Getter", - "category": "Constants" - } + "name": "Pc", + "category": "Constants/System Configuration" + }, + "methods": [ + { + "base": "GetSystemConfigPlatform_Pc", + "details": { + "name": "Pc" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Provo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Provo.names index 46e8d46b17..84757fb237 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Provo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigPlatform_Provo.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigPlatform_Provo", + "base": "SystemConfigPlatform_Provo", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigPlatform_Provo::Getter", - "category": "Constants" - } + "name": "Provo", + "category": "Constants/System Configuration" + }, + "methods": [ + { + "base": "GetSystemConfigPlatform_Provo", + "details": { + "name": "Provo" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Auto.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Auto.names index 51484e63d5..6362ad592f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Auto.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Auto.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigSpec_Auto", + "base": "SystemConfigSpec_Auto", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigSpec_Auto::Getter", - "category": "Constants" - } + "name": "Auto", + "category": "Constants/System Spec" + }, + "methods": [ + { + "base": "GetSystemConfigSpec_Auto", + "details": { + "name": "Auto" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_High.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_High.names index 80c2de7669..24ca308d2a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_High.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_High.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigSpec_High", + "base": "SystemConfigSpec_High", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigSpec_High::Getter", - "category": "Constants" - } + "name": "High", + "category": "Constants/System Spec" + }, + "methods": [ + { + "base": "GetSystemConfigSpec_High", + "details": { + "name": "High" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Low.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Low.names index 5a4dee45d5..17250ade92 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Low.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Low.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigSpec_Low", + "base": "SystemConfigSpec_Low", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigSpec_Low::Getter", - "category": "Constants" - } + "name": "Low", + "category": "Constants/System Spec" + }, + "methods": [ + { + "base": "GetSystemConfigSpec_Low", + "details": { + "name": "Low" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Medium.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Medium.names index 52485ed95b..dcdae1a975 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Medium.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_Medium.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigSpec_Medium", + "base": "SystemConfigSpec_Medium", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigSpec_Medium::Getter", - "category": "Constants" - } + "name": "Medium", + "category": "Constants/System Spec" + }, + "methods": [ + { + "base": "GetSystemConfigSpec_Medium", + "details": { + "name": "Medium" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_VeryHigh.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_VeryHigh.names index 9d71dadc2d..44c36f472c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_VeryHigh.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemConfigSpec_VeryHigh.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "SystemConfigSpec_VeryHigh", + "base": "SystemConfigSpec_VeryHigh", "context": "Constant", "variant": "", "details": { - "name": "SystemConfigSpec_VeryHigh::Getter", - "category": "Constants" - } + "name": "Very High", + "category": "Constants/System Spec" + }, + "methods": [ + { + "base": "GetSystemConfigSpec_VeryHigh", + "details": { + "name": "Very High" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemEntityId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemEntityId.names index 3a6a3c2c04..fecc69eb1c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemEntityId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/SystemEntityId.names @@ -1,13 +1,30 @@ { "entries": [ { - "key": "SystemEntityId", + "base": "SystemEntityId", "context": "Constant", "variant": "", "details": { - "name": "SystemEntityId::Getter", - "category": "Constants" - } + "name": "System Entity Id", + "category": "Constants/System" + }, + "methods": [ + { + "base": "GetSystemEntityId", + "details": { + "name": "Get System Entity Id" + }, + "results": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Entity Id", + "tooltip": "Entity Unique Id" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TETRAHEDRON.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TETRAHEDRON.names new file mode 100644 index 0000000000..8506904701 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TETRAHEDRON.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "TETRAHEDRON", + "context": "Constant", + "variant": "", + "details": { + "name": "Tetrahedron", + "category": "Constants/White Box" + }, + "methods": [ + { + "base": "GetTETRAHEDRON", + "details": { + "name": "Tetrahedron" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ThresholdGradientComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ThresholdGradientComponentTypeId.names index c40a8f1281..be9c791c63 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ThresholdGradientComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/ThresholdGradientComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "ThresholdGradientComponentTypeId", + "base": "ThresholdGradientComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "ThresholdGradientComponentTypeId::Getter", - "category": "Constants" - } + "name": "Threshold Gradient Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetThresholdGradientComponentTypeId", + "details": { + "name": "Get Threshold Gradient Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformComponentTypeId.names index a140864cdc..b1039ce129 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "TransformComponentTypeId", + "base": "TransformComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "TransformComponentTypeId::Getter", - "category": "Constants" - } + "name": "Transform Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetTransformComponentTypeId", + "details": { + "name": "Get Transform Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Rotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Rotation.names index a573b13ba1..3a9f17cf87 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Rotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Rotation.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "TransformMode_Rotation", + "base": "TransformMode_Rotation", "context": "Constant", "variant": "", "details": { - "name": "TransformMode_Rotation::Getter", - "category": "Constants" - } + "name": "Rotation", + "category": "Constants/Transform/Mode" + }, + "methods": [ + { + "base": "GetTransformMode_Rotation", + "details": { + "name": "Rotation" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Scale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Scale.names index d04c443780..45c665434a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Scale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Scale.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "TransformMode_Scale", + "base": "TransformMode_Scale", "context": "Constant", "variant": "", "details": { - "name": "TransformMode_Scale::Getter", - "category": "Constants" - } + "name": "Scale", + "category": "Constants/Transform/Mode" + }, + "methods": [ + { + "base": "GetTransformMode_Scale", + "details": { + "name": "Scale" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Translation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Translation.names index 05fb942bd8..fbcf88a7da 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Translation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformMode_Translation.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "TransformMode_Translation", + "base": "TransformMode_Translation", "context": "Constant", "variant": "", "details": { - "name": "TransformMode_Translation::Getter", - "category": "Constants" - } + "name": "Translation", + "category": "Constants/Transform/Mode" + }, + "methods": [ + { + "base": "GetTransformMode_Translation", + "details": { + "name": "Translation" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformPivot_Center.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformPivot_Center.names index a2aef08ec4..0c88ae1d0b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformPivot_Center.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformPivot_Center.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "TransformPivot_Center", + "base": "TransformPivot_Center", "context": "Constant", "variant": "", "details": { - "name": "TransformPivot_Center::Getter", - "category": "Constants" - } + "name": "Center", + "category": "Constants/Transform/Pivot" + }, + "methods": [ + { + "base": "GetTransformPivot_Center", + "details": { + "name": "Center" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformPivot_Object.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformPivot_Object.names index 010e4a0eb2..340bc2dd33 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformPivot_Object.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformPivot_Object.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "TransformPivot_Object", + "base": "TransformPivot_Object", "context": "Constant", "variant": "", "details": { - "name": "TransformPivot_Object::Getter", - "category": "Constants" - } + "name": "Object", + "category": "Constants/Transform/Pivot" + }, + "methods": [ + { + "base": "GetTransformPivot_Object", + "details": { + "name": "Object" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_All.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_All.names index 4161f154b3..0d024e0bbc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_All.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_All.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "TransformRefreshType_All", + "base": "TransformRefreshType_All", "context": "Constant", "variant": "", "details": { - "name": "TransformRefreshType_All::Getter", - "category": "Constants" - } + "name": "All", + "category": "Constants/Transform/Refresh Type" + }, + "methods": [ + { + "base": "GetTransformRefreshType_All", + "details": { + "name": "All" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_Orientation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_Orientation.names index 920fc60dfd..e80e1fc12d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_Orientation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_Orientation.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "TransformRefreshType_Orientation", + "base": "TransformRefreshType_Orientation", "context": "Constant", "variant": "", "details": { - "name": "TransformRefreshType_Orientation::Getter", - "category": "Constants" - } + "name": "Orientation", + "category": "Constants/Transform/Refresh Type" + }, + "methods": [ + { + "base": "GetTransformRefreshType_Orientation", + "details": { + "name": "Orientation" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_Translation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_Translation.names index 80b256f896..a4ce9607e3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_Translation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TransformRefreshType_Translation.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "TransformRefreshType_Translation", + "base": "TransformRefreshType_Translation", "context": "Constant", "variant": "", "details": { - "name": "TransformRefreshType_Translation::Getter", - "category": "Constants" - } + "name": "Translation", + "category": "Constants/Transform/Refresh Type" + }, + "methods": [ + { + "base": "GetTransformRefreshType_Translation", + "details": { + "name": "Translation" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TubeShapeComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TubeShapeComponentTypeId.names index dad5748f53..d0c4f47888 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TubeShapeComponentTypeId.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/TubeShapeComponentTypeId.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "TubeShapeComponentTypeId", + "base": "TubeShapeComponentTypeId", "context": "Constant", "variant": "", "details": { - "name": "TubeShapeComponentTypeId::Getter", - "category": "Constants" - } + "name": "Tube Shape Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetTubeShapeComponentTypeId", + "details": { + "name": "Get Tube Shape Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/UiLayoutCellUnspecifiedSize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/UiLayoutCellUnspecifiedSize.names index d9b6976e89..63d58ba29a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/UiLayoutCellUnspecifiedSize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/UiLayoutCellUnspecifiedSize.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "UiLayoutCellUnspecifiedSize", + "base": "UiLayoutCellUnspecifiedSize", "context": "Constant", "variant": "", "details": { - "name": "UiLayoutCellUnspecifiedSize::Getter", - "category": "Constants" - } + "name": "Cell Unspecified Size", + "category": "Constants/UI/Ui Layout" + }, + "methods": [ + { + "base": "GetUiLayoutCellUnspecifiedSize", + "details": { + "name": "Layout Cell Unspecified Size" + }, + "results": [ + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "float" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/VegetationSpawnerComponentTypeId.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/VegetationSpawnerComponentTypeId.names new file mode 100644 index 0000000000..5b9e9394bd --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/VegetationSpawnerComponentTypeId.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "VegetationSpawnerComponentTypeId", + "context": "Constant", + "variant": "", + "details": { + "name": "Vegetation Spawner Component Type Id", + "category": "Constants/Editor" + }, + "methods": [ + { + "base": "GetVegetationSpawnerComponentTypeId", + "details": { + "name": "Get Vegetation Spawner Component Type Id" + }, + "results": [ + { + "typeid": "{E152C105-A133-4D03-BBF8-3D4B2FBA3E2A}", + "details": { + "name": "AZ:: Uuid" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_GotoEndTime.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_GotoEndTime.names index 89b6606748..4a5990bb0d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_GotoEndTime.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_GotoEndTime.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eSSB_GotoEndTime", + "base": "eSSB_GotoEndTime", "context": "Constant", "variant": "", "details": { - "name": "eSSB_GotoEndTime::Getter", - "category": "Constants" - } + "name": "Goto End Time", + "category": "Constants/UI/Animation/Sequence Stop Behavior" + }, + "methods": [ + { + "base": "GeteSSB_GotoEndTime", + "details": { + "name": "Goto End Time" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_GotoStartTime.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_GotoStartTime.names index 69c4ae2f1f..d962801a59 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_GotoStartTime.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_GotoStartTime.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eSSB_GotoStartTime", + "base": "eSSB_GotoStartTime", "context": "Constant", "variant": "", "details": { - "name": "eSSB_GotoStartTime::Getter", - "category": "Constants" - } + "name": "Goto Start Time", + "category": "Constants/UI/Animation/Sequence Stop Behavior" + }, + "methods": [ + { + "base": "GeteSSB_GotoStartTime", + "details": { + "name": "Goto Start Time" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_LeaveTime.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_LeaveTime.names index 55136e9f17..e78c9df425 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_LeaveTime.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eSSB_LeaveTime.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eSSB_LeaveTime", + "base": "eSSB_LeaveTime", "context": "Constant", "variant": "", "details": { - "name": "eSSB_LeaveTime::Getter", - "category": "Constants" - } + "name": "Leave Time", + "category": "Constants/UI/Animation/Sequence Stop Behavior" + }, + "methods": [ + { + "base": "GeteSSB_LeaveTime", + "details": { + "name": "Leave Time" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Aborted.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Aborted.names index e2feeb0734..81d6b94038 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Aborted.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Aborted.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiAnimationEvent_Aborted", + "base": "eUiAnimationEvent_Aborted", "context": "Constant", "variant": "", "details": { - "name": "eUiAnimationEvent_Aborted::Getter", - "category": "Constants" - } + "name": "Aborted", + "category": "Constants/UI/Animation Event" + }, + "methods": [ + { + "base": "GeteUiAnimationEvent_Aborted", + "details": { + "name": "Aborted" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Started.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Started.names index 45c20aacf3..85684e5627 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Started.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Started.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiAnimationEvent_Started", + "base": "eUiAnimationEvent_Started", "context": "Constant", "variant": "", "details": { - "name": "eUiAnimationEvent_Started::Getter", - "category": "Constants" - } + "name": "Started", + "category": "Constants/UI/Animation Event" + }, + "methods": [ + { + "base": "GeteUiAnimationEvent_Started", + "details": { + "name": "Get Started" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Stopped.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Stopped.names index 20c8d48e42..9a8c843449 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Stopped.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Stopped.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiAnimationEvent_Stopped", + "base": "eUiAnimationEvent_Stopped", "context": "Constant", "variant": "", "details": { - "name": "eUiAnimationEvent_Stopped::Getter", - "category": "Constants" - } + "name": "Stopped", + "category": "Constants/UI/Animation Event" + }, + "methods": [ + { + "base": "GeteUiAnimationEvent_Stopped", + "details": { + "name": "Stopped" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Updated.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Updated.names index 69221891f7..8cce3444ad 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Updated.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiAnimationEvent_Updated.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiAnimationEvent_Updated", + "base": "eUiAnimationEvent_Updated", "context": "Constant", "variant": "", "details": { - "name": "eUiAnimationEvent_Updated::Getter", - "category": "Constants" - } + "name": "Updated", + "category": "Constants/UI/Animation Event" + }, + "methods": [ + { + "base": "GeteUiAnimationEvent_Updated", + "details": { + "name": "Updated" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Invalid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Invalid.names index 6062cced48..bfb9de3855 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Invalid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Invalid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiDragState_Invalid", + "base": "eUiDragState_Invalid", "context": "Constant", "variant": "", "details": { - "name": "eUiDragState_Invalid::Getter", - "category": "Constants" - } + "name": "Invalid", + "category": "Constants/UI/Drag State" + }, + "methods": [ + { + "base": "GeteUiDragState_Invalid", + "details": { + "name": "Invalid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Normal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Normal.names index c5c06e8057..b1d31d25de 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Normal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Normal.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiDragState_Normal", + "base": "eUiDragState_Normal", "context": "Constant", "variant": "", "details": { - "name": "eUiDragState_Normal::Getter", - "category": "Constants" - } + "name": "Normal", + "category": "Constants/UI/Drag State" + }, + "methods": [ + { + "base": "GeteUiDragState_Normal", + "details": { + "name": "Normal" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Valid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Valid.names index d8ad67098a..f58ad69a9a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Valid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDragState_Valid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiDragState_Valid", + "base": "eUiDragState_Valid", "context": "Constant", "variant": "", "details": { - "name": "eUiDragState_Valid::Getter", - "category": "Constants" - } + "name": "Valid", + "category": "Constants/UI/Drag State" + }, + "methods": [ + { + "base": "GeteUiDragState_Valid", + "details": { + "name": "Valid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Invalid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Invalid.names index 7f0745b6f3..26f2d83294 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Invalid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Invalid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiDropState_Invalid", + "base": "eUiDropState_Invalid", "context": "Constant", "variant": "", "details": { - "name": "eUiDropState_Invalid::Getter", - "category": "Constants" - } + "name": "Invalid", + "category": "Constants/UI/Drop State" + }, + "methods": [ + { + "base": "GeteUiDropState_Invalid", + "details": { + "name": "Invalid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Normal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Normal.names index b7325d9c15..076dd2d7fe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Normal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Normal.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiDropState_Normal", + "base": "eUiDropState_Normal", "context": "Constant", "variant": "", "details": { - "name": "eUiDropState_Normal::Getter", - "category": "Constants" - } + "name": "Normal", + "category": "Constants/UI/Drop State" + }, + "methods": [ + { + "base": "GeteUiDropState_Normal", + "details": { + "name": "Normal" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Valid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Valid.names index 19551341da..3a8db2c23c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Valid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDropState_Valid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiDropState_Valid", + "base": "eUiDropState_Valid", "context": "Constant", "variant": "", "details": { - "name": "eUiDropState_Valid::Getter", - "category": "Constants" - } + "name": "Valid", + "category": "Constants/UI/Drop State" + }, + "methods": [ + { + "base": "GeteUiDropState_Valid", + "details": { + "name": "Valid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDynamicContentDBColorType_Free.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDynamicContentDBColorType_Free.names index b3dbc87cac..e420f6ad42 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDynamicContentDBColorType_Free.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDynamicContentDBColorType_Free.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiDynamicContentDBColorType_Free", + "base": "eUiDynamicContentDBColorType_Free", "context": "Constant", "variant": "", "details": { - "name": "eUiDynamicContentDBColorType_Free::Getter", - "category": "Constants" - } + "name": "Color Type Free", + "category": "Constants/UI/Dynamic ContentDB" + }, + "methods": [ + { + "base": "GeteUiDynamicContentDBColorType_Free", + "details": { + "name": "Color Type Free" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDynamicContentDBColorType_Paid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDynamicContentDBColorType_Paid.names index b58a8484ee..98f6c71f48 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDynamicContentDBColorType_Paid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiDynamicContentDBColorType_Paid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiDynamicContentDBColorType_Paid", + "base": "eUiDynamicContentDBColorType_Paid", "context": "Constant", "variant": "", "details": { - "name": "eUiDynamicContentDBColorType_Paid::Getter", - "category": "Constants" - } + "name": "Color Type Paid", + "category": "Constants/UI/Dynamic ContentDB" + }, + "methods": [ + { + "base": "GeteUiDynamicContentDBColorType_Paid", + "details": { + "name": "Color Type Paid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Circle.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Circle.names index 7bcdda54e2..4b9f83c1f8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Circle.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Circle.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiEmitShape_Circle", + "base": "eUiEmitShape_Circle", "context": "Constant", "variant": "", "details": { - "name": "eUiEmitShape_Circle::Getter", - "category": "Constants" - } + "name": "Circle", + "category": "Constants/UI/Emit Shape" + }, + "methods": [ + { + "base": "GeteUiEmitShape_Circle", + "details": { + "name": "Circle" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Point.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Point.names index 60ef452594..965d9445dd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Point.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Point.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiEmitShape_Point", + "base": "eUiEmitShape_Point", "context": "Constant", "variant": "", "details": { - "name": "eUiEmitShape_Point::Getter", - "category": "Constants" - } + "name": "Point", + "category": "Constants/UI/Emit Shape" + }, + "methods": [ + { + "base": "GeteUiEmitShape_Point", + "details": { + "name": "Point" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Quad.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Quad.names index 25ec6925de..76c7c7d9f1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Quad.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiEmitShape_Quad.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiEmitShape_Quad", + "base": "eUiEmitShape_Quad", "context": "Constant", "variant": "", "details": { - "name": "eUiEmitShape_Quad::Getter", - "category": "Constants" - } + "name": "Quad", + "category": "Constants/UI/Emit Shape" + }, + "methods": [ + { + "base": "GeteUiEmitShape_Quad", + "details": { + "name": "Quad" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_BottomLeft.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_BottomLeft.names index 11a00014b9..8911478f3c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_BottomLeft.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_BottomLeft.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillCornerOrigin_BottomLeft", + "base": "eUiFillCornerOrigin_BottomLeft", "context": "Constant", "variant": "", "details": { - "name": "eUiFillCornerOrigin_BottomLeft::Getter", - "category": "Constants" - } + "name": "Bottom Left", + "category": "Constants/UI/Fill Corner" + }, + "methods": [ + { + "base": "GeteUiFillCornerOrigin_BottomLeft", + "details": { + "name": "Bottom Left" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_BottomRight.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_BottomRight.names index b1121d2e37..da3225dd0b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_BottomRight.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_BottomRight.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillCornerOrigin_BottomRight", + "base": "eUiFillCornerOrigin_BottomRight", "context": "Constant", "variant": "", "details": { - "name": "eUiFillCornerOrigin_BottomRight::Getter", - "category": "Constants" - } + "name": "Bottom Right", + "category": "Constants/UI/Fill Corner" + }, + "methods": [ + { + "base": "GeteUiFillCornerOrigin_BottomRight", + "details": { + "name": "Bottom Right" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_TopLeft.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_TopLeft.names index 16e3c41732..63fa743485 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_TopLeft.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_TopLeft.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillCornerOrigin_TopLeft", + "base": "eUiFillCornerOrigin_TopLeft", "context": "Constant", "variant": "", "details": { - "name": "eUiFillCornerOrigin_TopLeft::Getter", - "category": "Constants" - } + "name": "Top Left", + "category": "Constants/UI/Fill Corner" + }, + "methods": [ + { + "base": "GeteUiFillCornerOrigin_TopLeft", + "details": { + "name": "Top Left" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_TopRight.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_TopRight.names index a923c46942..7b1c1204d4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_TopRight.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillCornerOrigin_TopRight.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillCornerOrigin_TopRight", + "base": "eUiFillCornerOrigin_TopRight", "context": "Constant", "variant": "", "details": { - "name": "eUiFillCornerOrigin_TopRight::Getter", - "category": "Constants" - } + "name": "Top Right", + "category": "Constants/UI/Fill Corner" + }, + "methods": [ + { + "base": "GeteUiFillCornerOrigin_TopRight", + "details": { + "name": "Top Right" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Bottom.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Bottom.names index 914282a199..430943dba2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Bottom.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Bottom.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillEdgeOrigin_Bottom", + "base": "eUiFillEdgeOrigin_Bottom", "context": "Constant", "variant": "", "details": { - "name": "eUiFillEdgeOrigin_Bottom::Getter", - "category": "Constants" - } + "name": "Bottom", + "category": "Constants/UI/Fill Edge" + }, + "methods": [ + { + "base": "GeteUiFillEdgeOrigin_Bottom", + "details": { + "name": "Bottom" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Left.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Left.names index a88450c7b4..f28601e4f4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Left.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Left.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillEdgeOrigin_Left", + "base": "eUiFillEdgeOrigin_Left", "context": "Constant", "variant": "", "details": { - "name": "eUiFillEdgeOrigin_Left::Getter", - "category": "Constants" - } + "name": "Left", + "category": "Constants/UI/Fill Edge" + }, + "methods": [ + { + "base": "GeteUiFillEdgeOrigin_Left", + "details": { + "name": "Left" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Right.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Right.names index db5d528b2e..cd75d8a15f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Right.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Right.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillEdgeOrigin_Right", + "base": "eUiFillEdgeOrigin_Right", "context": "Constant", "variant": "", "details": { - "name": "eUiFillEdgeOrigin_Right::Getter", - "category": "Constants" - } + "name": "Right", + "category": "Constants/UI/Fill Edge" + }, + "methods": [ + { + "base": "GeteUiFillEdgeOrigin_Right", + "details": { + "name": "Right" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Top.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Top.names index 6cb79b40d9..648f9cc379 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Top.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillEdgeOrigin_Top.names @@ -1,13 +1,30 @@ { "entries": [ { - "key": "eUiFillEdgeOrigin_Top", + "base": "eUiFillEdgeOrigin_Top", "context": "Constant", "variant": "", "details": { - "name": "eUiFillEdgeOrigin_Top::Getter", - "category": "Constants" - } + "name": "Top", + "category": "Constants/UI/Fill Edge", + "subtitle": "Fill Edge" + }, + "methods": [ + { + "base": "GeteUiFillEdgeOrigin_Top", + "details": { + "name": "Top" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_Linear.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_Linear.names index 6a1530c0b3..64cf4df11b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_Linear.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_Linear.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillType_Linear", + "base": "eUiFillType_Linear", "context": "Constant", "variant": "", "details": { - "name": "eUiFillType_Linear::Getter", - "category": "Constants" - } + "name": "Linear", + "category": "Constants/UI/Fill Type" + }, + "methods": [ + { + "base": "GeteUiFillType_Linear", + "details": { + "name": "Linear" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_None.names index 868d562df1..31746bdda5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_None.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_None.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillType_None", + "base": "eUiFillType_None", "context": "Constant", "variant": "", "details": { - "name": "eUiFillType_None::Getter", - "category": "Constants" - } + "name": "None", + "category": "Constants/UI/Fill Type" + }, + "methods": [ + { + "base": "GeteUiFillType_None", + "details": { + "name": "None" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_Radial.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_Radial.names index ae01ffdcf6..3a92aafdd7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_Radial.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_Radial.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillType_Radial", + "base": "eUiFillType_Radial", "context": "Constant", "variant": "", "details": { - "name": "eUiFillType_Radial::Getter", - "category": "Constants" - } + "name": "Radial", + "category": "Constants/UI/Fill Type" + }, + "methods": [ + { + "base": "GeteUiFillType_Radial", + "details": { + "name": "Radial" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_RadialCorner.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_RadialCorner.names index 4dcecb752d..25ec95691c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_RadialCorner.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_RadialCorner.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillType_RadialCorner", + "base": "eUiFillType_RadialCorner", "context": "Constant", "variant": "", "details": { - "name": "eUiFillType_RadialCorner::Getter", - "category": "Constants" - } + "name": "Radial Corner", + "category": "Constants/UI/Fill Type" + }, + "methods": [ + { + "base": "GeteUiFillType_RadialCorner", + "details": { + "name": "Radial Corner" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_RadialEdge.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_RadialEdge.names index a8e9d490d2..99a7798bed 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_RadialEdge.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFillType_RadialEdge.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFillType_RadialEdge", + "base": "eUiFillType_RadialEdge", "context": "Constant", "variant": "", "details": { - "name": "eUiFillType_RadialEdge::Getter", - "category": "Constants" - } + "name": "Radial Edge", + "category": "Constants/UI/Fill Type" + }, + "methods": [ + { + "base": "GeteUiFillType_RadialEdge", + "details": { + "name": "Radial Edge" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationFramerateUnits_FPS.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationFramerateUnits_FPS.names index 476f62879e..ffab126757 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationFramerateUnits_FPS.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationFramerateUnits_FPS.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFlipbookAnimationFramerateUnits_FPS", + "base": "eUiFlipbookAnimationFramerateUnits_FPS", "context": "Constant", "variant": "", "details": { - "name": "eUiFlipbookAnimationFramerateUnits_FPS::Getter", - "category": "Constants" - } + "name": "Frames Per Second", + "category": "Constants/UI/Flipbook Animation" + }, + "methods": [ + { + "base": "GeteUiFlipbookAnimationFramerateUnits_FPS", + "details": { + "name": "Frames Per Second" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationFramerateUnits_SecondsPerFrame.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationFramerateUnits_SecondsPerFrame.names index 2d567073a0..273d36c382 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationFramerateUnits_SecondsPerFrame.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationFramerateUnits_SecondsPerFrame.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFlipbookAnimationFramerateUnits_SecondsPerFrame", + "base": "eUiFlipbookAnimationFramerateUnits_SecondsPerFrame", "context": "Constant", "variant": "", "details": { - "name": "eUiFlipbookAnimationFramerateUnits_SecondsPerFrame::Getter", - "category": "Constants" - } + "name": "Seconds Per Frame", + "category": "Constants/UI/Flipbook Animation" + }, + "methods": [ + { + "base": "GeteUiFlipbookAnimationFramerateUnits_SecondsPerFrame", + "details": { + "name": "Seconds Per Frame" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_Linear.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_Linear.names index d794ec96f0..72dc9a0a98 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_Linear.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_Linear.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFlipbookAnimationLoopType_Linear", + "base": "eUiFlipbookAnimationLoopType_Linear", "context": "Constant", "variant": "", "details": { - "name": "eUiFlipbookAnimationLoopType_Linear::Getter", - "category": "Constants" - } + "name": "Linear", + "category": "Constants/UI/Flipbook Animation/Loop Type" + }, + "methods": [ + { + "base": "GeteUiFlipbookAnimationLoopType_Linear", + "details": { + "name": "Linear" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_None.names index 2cdbfea52c..c59df78329 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_None.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_None.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFlipbookAnimationLoopType_None", + "base": "eUiFlipbookAnimationLoopType_None", "context": "Constant", "variant": "", "details": { - "name": "eUiFlipbookAnimationLoopType_None::Getter", - "category": "Constants" - } + "name": "None", + "category": "Constants/UI/Flipbook Animation/Loop Type" + }, + "methods": [ + { + "base": "GeteUiFlipbookAnimationLoopType_None", + "details": { + "name": "None" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_PingPong.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_PingPong.names index 9c9c1cd016..39d2672941 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_PingPong.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiFlipbookAnimationLoopType_PingPong.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiFlipbookAnimationLoopType_PingPong", + "base": "eUiFlipbookAnimationLoopType_PingPong", "context": "Constant", "variant": "", "details": { - "name": "eUiFlipbookAnimationLoopType_PingPong::Getter", - "category": "Constants" - } + "name": "Ping Pong", + "category": "Constants/UI/Flipbook Animation/Loop Type" + }, + "methods": [ + { + "base": "GeteUiFlipbookAnimationLoopType_PingPong", + "details": { + "name": "Ping Pong" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Center.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Center.names index faf4797114..0e724f97a5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Center.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Center.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiHAlign_Center", + "base": "eUiHAlign_Center", "context": "Constant", "variant": "", "details": { - "name": "eUiHAlign_Center::Getter", - "category": "Constants" - } + "name": "Horizontal Align Center", + "category": "Constants/UI/Align" + }, + "methods": [ + { + "base": "GeteUiHAlign_Center", + "details": { + "name": "Horizontal Align: Center" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Left.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Left.names index 01cd8f3812..f5291df8a4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Left.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Left.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiHAlign_Left", + "base": "eUiHAlign_Left", "context": "Constant", "variant": "", "details": { - "name": "eUiHAlign_Left::Getter", - "category": "Constants" - } + "name": "Horizontal Align Left", + "category": "Constants/UI/Align" + }, + "methods": [ + { + "base": "GeteUiHAlign_Left", + "details": { + "name": "Horizontal Align: Left" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Right.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Right.names index 03ff7072ef..f198f249f6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Right.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHAlign_Right.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiHAlign_Right", + "base": "eUiHAlign_Right", "context": "Constant", "variant": "", "details": { - "name": "eUiHAlign_Right::Getter", - "category": "Constants" - } + "name": "Horizontal Align Right", + "category": "Constants/UI/Align" + }, + "methods": [ + { + "base": "GeteUiHAlign_Right", + "details": { + "name": "Horizontal Align: Right" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHorizontalOrder_LeftToRight.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHorizontalOrder_LeftToRight.names index f2a0494385..ffd3607db8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHorizontalOrder_LeftToRight.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHorizontalOrder_LeftToRight.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiHorizontalOrder_LeftToRight", + "base": "eUiHorizontalOrder_LeftToRight", "context": "Constant", "variant": "", "details": { - "name": "eUiHorizontalOrder_LeftToRight::Getter", - "category": "Constants" - } + "name": "Left To Right", + "category": "Constants/UI/Order/Horizontal" + }, + "methods": [ + { + "base": "GeteUiHorizontalOrder_LeftToRight", + "details": { + "name": "Left To Right" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHorizontalOrder_RightToLeft.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHorizontalOrder_RightToLeft.names index 133113e8ce..816220904a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHorizontalOrder_RightToLeft.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiHorizontalOrder_RightToLeft.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiHorizontalOrder_RightToLeft", + "base": "eUiHorizontalOrder_RightToLeft", "context": "Constant", "variant": "", "details": { - "name": "eUiHorizontalOrder_RightToLeft::Getter", - "category": "Constants" - } + "name": "Right To Left", + "category": "Constants/UI/Order/Horizontal" + }, + "methods": [ + { + "base": "GeteUiHorizontalOrder_RightToLeft", + "details": { + "name": "Right To Left" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_Fixed.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_Fixed.names index f82d1d4eb0..303fb21025 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_Fixed.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_Fixed.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiImageSequenceImageType_Fixed", + "base": "eUiImageSequenceImageType_Fixed", "context": "Constant", "variant": "", "details": { - "name": "eUiImageSequenceImageType_Fixed::Getter", - "category": "Constants" - } + "name": "Image Type: Fixed", + "category": "Constants/UI/Image Sequence" + }, + "methods": [ + { + "base": "GeteUiImageSequenceImageType_Fixed", + "details": { + "name": "Image Type: Fixed" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_Stretched.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_Stretched.names index a4b48dc8ad..2aaca0318f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_Stretched.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_Stretched.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiImageSequenceImageType_Stretched", + "base": "eUiImageSequenceImageType_Stretched", "context": "Constant", "variant": "", "details": { - "name": "eUiImageSequenceImageType_Stretched::Getter", - "category": "Constants" - } + "name": "Image Type: Stretched", + "category": "Constants/UI/Image Sequence" + }, + "methods": [ + { + "base": "GeteUiImageSequenceImageType_Stretched", + "details": { + "name": "Image Type: Stretched" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_StretchedToFill.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_StretchedToFill.names index c59426f677..4213ec205a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_StretchedToFill.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_StretchedToFill.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiImageSequenceImageType_StretchedToFill", + "base": "eUiImageSequenceImageType_StretchedToFill", "context": "Constant", "variant": "", "details": { - "name": "eUiImageSequenceImageType_StretchedToFill::Getter", - "category": "Constants" - } + "name": "Image Type: Stretched To Fill", + "category": "Constants/UI/Image Sequence" + }, + "methods": [ + { + "base": "GeteUiImageSequenceImageType_StretchedToFill", + "details": { + "name": "Image Type: Stretched To Fill" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_StretchedToFit.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_StretchedToFit.names index 9ba3d30e62..acc64fa708 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_StretchedToFit.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageSequenceImageType_StretchedToFit.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiImageSequenceImageType_StretchedToFit", + "base": "eUiImageSequenceImageType_StretchedToFit", "context": "Constant", "variant": "", "details": { - "name": "eUiImageSequenceImageType_StretchedToFit::Getter", - "category": "Constants" - } + "name": "Image Type: Stretched To Fit", + "category": "Constants/UI/Image Sequence" + }, + "methods": [ + { + "base": "GeteUiImageSequenceImageType_StretchedToFit", + "details": { + "name": "Image Type: Stretched To Fit" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Fixed.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Fixed.names index 0a65819fc1..73d2ff7381 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Fixed.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Fixed.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiImageType_Fixed", + "base": "eUiImageType_Fixed", "context": "Constant", "variant": "", "details": { - "name": "eUiImageType_Fixed::Getter", - "category": "Constants" - } + "name": "Fixed", + "category": "Constants/UI/Image Type" + }, + "methods": [ + { + "base": "GeteUiImageType_Fixed", + "details": { + "name": "Fixed" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Sliced.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Sliced.names index f9f1bc3743..6f3158e08e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Sliced.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Sliced.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiImageType_Sliced", + "base": "eUiImageType_Sliced", "context": "Constant", "variant": "", "details": { - "name": "eUiImageType_Sliced::Getter", - "category": "Constants" - } + "name": "Sliced", + "category": "Constants/UI/Image Type" + }, + "methods": [ + { + "base": "GeteUiImageType_Sliced", + "details": { + "name": "Sliced" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Stretched.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Stretched.names index fc2312db15..65a02f354d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Stretched.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Stretched.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiImageType_Stretched", + "base": "eUiImageType_Stretched", "context": "Constant", "variant": "", "details": { - "name": "eUiImageType_Stretched::Getter", - "category": "Constants" - } + "name": "Stretched", + "category": "Constants/UI/Image Type" + }, + "methods": [ + { + "base": "GeteUiImageType_Stretched", + "details": { + "name": "Stretched" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_StretchedToFill.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_StretchedToFill.names index a30508aa7e..b61130487a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_StretchedToFill.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_StretchedToFill.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiImageType_StretchedToFill", + "base": "eUiImageType_StretchedToFill", "context": "Constant", "variant": "", "details": { - "name": "eUiImageType_StretchedToFill::Getter", - "category": "Constants" - } + "name": "Stretched To Fill", + "category": "Constants/UI/Image Type" + }, + "methods": [ + { + "base": "GeteUiImageType_StretchedToFill", + "details": { + "name": "Stretched To Fill" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_StretchedToFit.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_StretchedToFit.names index be3b007a7e..1223714053 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_StretchedToFit.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_StretchedToFit.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiImageType_StretchedToFit", + "base": "eUiImageType_StretchedToFit", "context": "Constant", "variant": "", "details": { - "name": "eUiImageType_StretchedToFit::Getter", - "category": "Constants" - } + "name": "Stretched To Fit", + "category": "Constants/UI/Image Type" + }, + "methods": [ + { + "base": "GeteUiImageType_StretchedToFit", + "details": { + "name": "Stretched To Fit" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Tiled.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Tiled.names index 0a6e5b0977..ea65a0911e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Tiled.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiImageType_Tiled.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiImageType_Tiled", + "base": "eUiImageType_Tiled", "context": "Constant", "variant": "", "details": { - "name": "eUiImageType_Tiled::Getter", - "category": "Constants" - } + "name": "Tiled", + "category": "Constants/UI/Image Type" + }, + "methods": [ + { + "base": "GeteUiImageType_Tiled", + "details": { + "name": "Tiled" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Disabled.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Disabled.names index 43ed9dfac2..014fa172d7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Disabled.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Disabled.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiInteractableState_Disabled", + "base": "eUiInteractableState_Disabled", "context": "Constant", "variant": "", "details": { - "name": "eUiInteractableState_Disabled::Getter", - "category": "Constants" - } + "name": "Disabled", + "category": "Constants/UI/Interactable State" + }, + "methods": [ + { + "base": "GeteUiInteractableState_Disabled", + "details": { + "name": "Disabled" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Hover.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Hover.names index 7e005729fd..978dd826d6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Hover.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Hover.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiInteractableState_Hover", + "base": "eUiInteractableState_Hover", "context": "Constant", "variant": "", "details": { - "name": "eUiInteractableState_Hover::Getter", - "category": "Constants" - } + "name": "Hover", + "category": "Constants/UI/Interactable State" + }, + "methods": [ + { + "base": "GeteUiInteractableState_Hover", + "details": { + "name": "Hover" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Normal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Normal.names index 51d7e81522..9ab36fba53 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Normal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Normal.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiInteractableState_Normal", + "base": "eUiInteractableState_Normal", "context": "Constant", "variant": "", "details": { - "name": "eUiInteractableState_Normal::Getter", - "category": "Constants" - } + "name": "Normal", + "category": "Constants/UI/Interactable State" + }, + "methods": [ + { + "base": "GeteUiInteractableState_Normal", + "details": { + "name": "Normal" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Pressed.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Pressed.names index b578408cd2..295c75a89b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Pressed.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiInteractableState_Pressed.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiInteractableState_Pressed", + "base": "eUiInteractableState_Pressed", "context": "Constant", "variant": "", "details": { - "name": "eUiInteractableState_Pressed::Getter", - "category": "Constants" - } + "name": "Pressed", + "category": "Constants/UI/Interactable State" + }, + "methods": [ + { + "base": "GeteUiInteractableState_Pressed", + "details": { + "name": "Pressed" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiLayoutGridStartingDirection_HorizontalOrder.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiLayoutGridStartingDirection_HorizontalOrder.names index d0c3ef3a79..c4a6d39865 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiLayoutGridStartingDirection_HorizontalOrder.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiLayoutGridStartingDirection_HorizontalOrder.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiLayoutGridStartingDirection_HorizontalOrder", + "base": "eUiLayoutGridStartingDirection_HorizontalOrder", "context": "Constant", "variant": "", "details": { - "name": "eUiLayoutGridStartingDirection_HorizontalOrder::Getter", - "category": "Constants" - } + "name": "Horizontal Order", + "category": "Constants/UI/Layout Grid Starting Direction" + }, + "methods": [ + { + "base": "GeteUiLayoutGridStartingDirection_HorizontalOrder", + "details": { + "name": "Horizontal Order" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiLayoutGridStartingDirection_VerticalOrder.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiLayoutGridStartingDirection_VerticalOrder.names index fd32fb89c9..33d50cf441 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiLayoutGridStartingDirection_VerticalOrder.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiLayoutGridStartingDirection_VerticalOrder.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiLayoutGridStartingDirection_VerticalOrder", + "base": "eUiLayoutGridStartingDirection_VerticalOrder", "context": "Constant", "variant": "", "details": { - "name": "eUiLayoutGridStartingDirection_VerticalOrder::Getter", - "category": "Constants" - } + "name": "Vertical Order", + "category": "Constants/UI/Layout Grid Starting Direction" + }, + "methods": [ + { + "base": "GeteUiLayoutGridStartingDirection_VerticalOrder", + "details": { + "name": "Vertical Order" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_Automatic.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_Automatic.names index 1743a1ebdb..e3c9a9ecd7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_Automatic.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_Automatic.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiNavigationMode_Automatic", + "base": "eUiNavigationMode_Automatic", "context": "Constant", "variant": "", "details": { - "name": "eUiNavigationMode_Automatic::Getter", - "category": "Constants" - } + "name": "Automatic", + "category": "Constants/UI/Navigation Mode" + }, + "methods": [ + { + "base": "GeteUiNavigationMode_Automatic", + "details": { + "name": "Automatic" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_Custom.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_Custom.names index 8a3ee33916..6a1beeb293 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_Custom.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_Custom.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiNavigationMode_Custom", + "base": "eUiNavigationMode_Custom", "context": "Constant", "variant": "", "details": { - "name": "eUiNavigationMode_Custom::Getter", - "category": "Constants" - } + "name": "Custom", + "category": "Constants/UI/Navigation Mode" + }, + "methods": [ + { + "base": "GeteUiNavigationMode_Custom", + "details": { + "name": "Custom" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_None.names index abc9248282..19e02a0412 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_None.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiNavigationMode_None.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiNavigationMode_None", + "base": "eUiNavigationMode_None", "context": "Constant", "variant": "", "details": { - "name": "eUiNavigationMode_None::Getter", - "category": "Constants" - } + "name": "None", + "category": "Constants/UI/Navigation Mode" + }, + "methods": [ + { + "base": "GeteUiNavigationMode_None", + "details": { + "name": "None" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleCoordinateType_Cartesian.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleCoordinateType_Cartesian.names index 33a1db8e62..00e0aaece8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleCoordinateType_Cartesian.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleCoordinateType_Cartesian.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiParticleCoordinateType_Cartesian", + "base": "eUiParticleCoordinateType_Cartesian", "context": "Constant", "variant": "", "details": { - "name": "eUiParticleCoordinateType_Cartesian::Getter", - "category": "Constants" - } + "name": "Cartesian", + "category": "Constants/UI/Particle Coordinate Type" + }, + "methods": [ + { + "base": "GeteUiParticleCoordinateType_Cartesian", + "details": { + "name": "Cartesian" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleCoordinateType_Polar.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleCoordinateType_Polar.names index 3ddbf1792c..c0014a0a48 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleCoordinateType_Polar.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleCoordinateType_Polar.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiParticleCoordinateType_Polar", + "base": "eUiParticleCoordinateType_Polar", "context": "Constant", "variant": "", "details": { - "name": "eUiParticleCoordinateType_Polar::Getter", - "category": "Constants" - } + "name": "Polar", + "category": "Constants/UI/Particle Coordinate Type" + }, + "methods": [ + { + "base": "GeteUiParticleCoordinateType_Polar", + "details": { + "name": "Polar" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleInitialDirectionType_RelativeToEmitAngle.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleInitialDirectionType_RelativeToEmitAngle.names index f9a8ae7ceb..000c00bcb2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleInitialDirectionType_RelativeToEmitAngle.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleInitialDirectionType_RelativeToEmitAngle.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiParticleInitialDirectionType_RelativeToEmitAngle", + "base": "eUiParticleInitialDirectionType_RelativeToEmitAngle", "context": "Constant", "variant": "", "details": { - "name": "eUiParticleInitialDirectionType_RelativeToEmitAngle::Getter", - "category": "Constants" - } + "name": "Relative To Emit Angle", + "category": "Constants/UI/Particle Initial Direction Type" + }, + "methods": [ + { + "base": "GeteUiParticleInitialDirectionType_RelativeToEmitAngle", + "details": { + "name": "Relative To Emit Angle" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleInitialDirectionType_RelativeToEmitterCenter.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleInitialDirectionType_RelativeToEmitterCenter.names index 6486a80003..2a3d5ce1a2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleInitialDirectionType_RelativeToEmitterCenter.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiParticleInitialDirectionType_RelativeToEmitterCenter.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiParticleInitialDirectionType_RelativeToEmitterCenter", + "base": "eUiParticleInitialDirectionType_RelativeToEmitterCenter", "context": "Constant", "variant": "", "details": { - "name": "eUiParticleInitialDirectionType_RelativeToEmitterCenter::Getter", - "category": "Constants" - } + "name": "Relative To Emitter Center", + "category": "Constants/UI/Particle Initial Direction Type" + }, + "methods": [ + { + "base": "GeteUiParticleInitialDirectionType_RelativeToEmitterCenter", + "details": { + "name": "Relative To Emitter Center" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_NonUniformScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_NonUniformScale.names index 605ed1aba5..839a22e304 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_NonUniformScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_NonUniformScale.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScaleToDeviceMode_NonUniformScale", + "base": "eUiScaleToDeviceMode_NonUniformScale", "context": "Constant", "variant": "", "details": { - "name": "eUiScaleToDeviceMode_NonUniformScale::Getter", - "category": "Constants" - } + "name": "Non Uniform Scale", + "category": "Constants/UI/Scale To Device Mode" + }, + "methods": [ + { + "base": "GeteUiScaleToDeviceMode_NonUniformScale", + "details": { + "name": "Non Uniform Scale" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_None.names index 88c08b06ec..1739b984d2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_None.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_None.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScaleToDeviceMode_None", + "base": "eUiScaleToDeviceMode_None", "context": "Constant", "variant": "", "details": { - "name": "eUiScaleToDeviceMode_None::Getter", - "category": "Constants" - } + "name": "None", + "category": "Constants/UI/Scale To Device Mode" + }, + "methods": [ + { + "base": "GeteUiScaleToDeviceMode_None", + "details": { + "name": "None" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_ScaleXOnly.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_ScaleXOnly.names index 5804e7aeaa..883068240f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_ScaleXOnly.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_ScaleXOnly.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScaleToDeviceMode_ScaleXOnly", + "base": "eUiScaleToDeviceMode_ScaleXOnly", "context": "Constant", "variant": "", "details": { - "name": "eUiScaleToDeviceMode_ScaleXOnly::Getter", - "category": "Constants" - } + "name": "Scale X Only", + "category": "Constants/UI/Scale To Device Mode" + }, + "methods": [ + { + "base": "GeteUiScaleToDeviceMode_ScaleXOnly", + "details": { + "name": "Scale X Only" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_ScaleYOnly.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_ScaleYOnly.names index e5ea4e5f5c..3589e6b7cf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_ScaleYOnly.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_ScaleYOnly.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScaleToDeviceMode_ScaleYOnly", + "base": "eUiScaleToDeviceMode_ScaleYOnly", "context": "Constant", "variant": "", "details": { - "name": "eUiScaleToDeviceMode_ScaleYOnly::Getter", - "category": "Constants" - } + "name": "Scale Y Only", + "category": "Constants/UI/Scale To Device Mode" + }, + "methods": [ + { + "base": "GeteUiScaleToDeviceMode_ScaleYOnly", + "details": { + "name": "Scale Y Only" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFill.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFill.names index aa1f56984b..e6e0a8c72d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFill.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFill.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScaleToDeviceMode_UniformScaleToFill", + "base": "eUiScaleToDeviceMode_UniformScaleToFill", "context": "Constant", "variant": "", "details": { - "name": "eUiScaleToDeviceMode_UniformScaleToFill::Getter", - "category": "Constants" - } + "name": "Uniform Scale To Fill", + "category": "Constants/UI/Scale To Device Mode" + }, + "methods": [ + { + "base": "GeteUiScaleToDeviceMode_UniformScaleToFill", + "details": { + "name": "Uniform Scale To Fill" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFit.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFit.names index 3b603fabc1..8f2e3c80ee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFit.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFit.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScaleToDeviceMode_UniformScaleToFit", + "base": "eUiScaleToDeviceMode_UniformScaleToFit", "context": "Constant", "variant": "", "details": { - "name": "eUiScaleToDeviceMode_UniformScaleToFit::Getter", - "category": "Constants" - } + "name": "Uniform Scale To Fit", + "category": "Constants/UI/Scale To Device Mode" + }, + "methods": [ + { + "base": "GeteUiScaleToDeviceMode_UniformScaleToFit", + "details": { + "name": "Uniform Scale To Fit" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFitX.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFitX.names index ce90c47c88..dd07d3e4c3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFitX.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFitX.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScaleToDeviceMode_UniformScaleToFitX", + "base": "eUiScaleToDeviceMode_UniformScaleToFitX", "context": "Constant", "variant": "", "details": { - "name": "eUiScaleToDeviceMode_UniformScaleToFitX::Getter", - "category": "Constants" - } + "name": "Uniform Scale To Fit X", + "category": "Constants/UI/Scale To Device Mode" + }, + "methods": [ + { + "base": "GeteUiScaleToDeviceMode_UniformScaleToFitX", + "details": { + "name": "Uniform Scale To Fit X" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFitY.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFitY.names index a0ba060b36..5519e48332 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFitY.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScaleToDeviceMode_UniformScaleToFitY.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScaleToDeviceMode_UniformScaleToFitY", + "base": "eUiScaleToDeviceMode_UniformScaleToFitY", "context": "Constant", "variant": "", "details": { - "name": "eUiScaleToDeviceMode_UniformScaleToFitY::Getter", - "category": "Constants" - } + "name": "Uniform Scale To Fit Y", + "category": "Constants/UI/Scale To Device Mode" + }, + "methods": [ + { + "base": "GeteUiScaleToDeviceMode_UniformScaleToFitY", + "details": { + "name": "Uniform Scale To Fit Y" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AlwaysShow.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AlwaysShow.names index 61931775a9..8db8786d20 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AlwaysShow.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AlwaysShow.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScrollBoxScrollBarVisibility_AlwaysShow", + "base": "eUiScrollBoxScrollBarVisibility_AlwaysShow", "context": "Constant", "variant": "", "details": { - "name": "eUiScrollBoxScrollBarVisibility_AlwaysShow::Getter", - "category": "Constants" - } + "name": "Always Show", + "category": "Constants/UI/Scroll Box Scroll Bar Visibility" + }, + "methods": [ + { + "base": "GeteUiScrollBoxScrollBarVisibility_AlwaysShow", + "details": { + "name": "Always Show" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AutoHide.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AutoHide.names index 48de4a7899..df81d761aa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AutoHide.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AutoHide.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScrollBoxScrollBarVisibility_AutoHide", + "base": "eUiScrollBoxScrollBarVisibility_AutoHide", "context": "Constant", "variant": "", "details": { - "name": "eUiScrollBoxScrollBarVisibility_AutoHide::Getter", - "category": "Constants" - } + "name": "Auto Hide", + "category": "Constants/UI/Scroll Box Scroll Bar Visibility" + }, + "methods": [ + { + "base": "GeteUiScrollBoxScrollBarVisibility_AutoHide", + "details": { + "name": "Auto Hide" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AutoHideAndResizeViewport.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AutoHideAndResizeViewport.names index 560df7e007..c65f31e223 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AutoHideAndResizeViewport.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxScrollBarVisibility_AutoHideAndResizeViewport.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScrollBoxScrollBarVisibility_AutoHideAndResizeViewport", + "base": "eUiScrollBoxScrollBarVisibility_AutoHideAndResizeViewport", "context": "Constant", "variant": "", "details": { - "name": "eUiScrollBoxScrollBarVisibility_AutoHideAndResizeViewport::Getter", - "category": "Constants" - } + "name": "Auto Hide And Resize Viewport", + "category": "Constants/UI/Scroll Box Scroll Bar Visibility" + }, + "methods": [ + { + "base": "GeteUiScrollBoxScrollBarVisibility_AutoHideAndResizeViewport", + "details": { + "name": "Auto Hide And Resize Viewport" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_Children.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_Children.names index 0b540c47a4..2552d2d348 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_Children.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_Children.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScrollBoxSnapMode_Children", + "base": "eUiScrollBoxSnapMode_Children", "context": "Constant", "variant": "", "details": { - "name": "eUiScrollBoxSnapMode_Children::Getter", - "category": "Constants" - } + "name": "Children", + "category": "Constants/UI/Scroll Box Snap Mode" + }, + "methods": [ + { + "base": "GeteUiScrollBoxSnapMode_Children", + "details": { + "name": "Children" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_Grid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_Grid.names index 5696a2ac17..3369cb4df1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_Grid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_Grid.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScrollBoxSnapMode_Grid", + "base": "eUiScrollBoxSnapMode_Grid", "context": "Constant", "variant": "", "details": { - "name": "eUiScrollBoxSnapMode_Grid::Getter", - "category": "Constants" - } + "name": "Grid", + "category": "Constants/UI/Scroll Box Snap Mode" + }, + "methods": [ + { + "base": "GeteUiScrollBoxSnapMode_Grid", + "details": { + "name": "Grid" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_None.names index 107536dc88..e806ef8347 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_None.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollBoxSnapMode_None.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScrollBoxSnapMode_None", + "base": "eUiScrollBoxSnapMode_None", "context": "Constant", "variant": "", "details": { - "name": "eUiScrollBoxSnapMode_None::Getter", - "category": "Constants" - } + "name": "None", + "category": "Constants/UI/Scroll Box Snap Mode" + }, + "methods": [ + { + "base": "GeteUiScrollBoxSnapMode_None", + "details": { + "name": "None" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollerOrientation_Horizontal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollerOrientation_Horizontal.names index a9a7e4b62f..89b4e75151 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollerOrientation_Horizontal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollerOrientation_Horizontal.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScrollerOrientation_Horizontal", + "base": "eUiScrollerOrientation_Horizontal", "context": "Constant", "variant": "", "details": { - "name": "eUiScrollerOrientation_Horizontal::Getter", - "category": "Constants" - } + "name": "Horizontal", + "category": "Constants/UI/Scroller Orientation" + }, + "methods": [ + { + "base": "GeteUiScrollerOrientation_Horizontal", + "details": { + "name": "Horizontal" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollerOrientation_Vertical.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollerOrientation_Vertical.names index fee533f819..7823992830 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollerOrientation_Vertical.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiScrollerOrientation_Vertical.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiScrollerOrientation_Vertical", + "base": "eUiScrollerOrientation_Vertical", "context": "Constant", "variant": "", "details": { - "name": "eUiScrollerOrientation_Vertical::Getter", - "category": "Constants" - } + "name": "Vertical", + "category": "Constants/UI/Scroller Orientation" + }, + "methods": [ + { + "base": "GeteUiScrollerOrientation_Vertical", + "details": { + "name": "Vertical" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiSpriteType_RenderTarget.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiSpriteType_RenderTarget.names index f1b2b162d4..94056daa38 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiSpriteType_RenderTarget.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiSpriteType_RenderTarget.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiSpriteType_RenderTarget", + "base": "eUiSpriteType_RenderTarget", "context": "Constant", "variant": "", "details": { - "name": "eUiSpriteType_RenderTarget::Getter", - "category": "Constants" - } + "name": "Render Target", + "category": "Constants/UI/Sprite Type" + }, + "methods": [ + { + "base": "GeteUiSpriteType_RenderTarget", + "details": { + "name": "Render Target" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiSpriteType_SpriteAsset.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiSpriteType_SpriteAsset.names index 4fb031214f..c47a3c4192 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiSpriteType_SpriteAsset.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiSpriteType_SpriteAsset.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiSpriteType_SpriteAsset", + "base": "eUiSpriteType_SpriteAsset", "context": "Constant", "variant": "", "details": { - "name": "eUiSpriteType_SpriteAsset::Getter", - "category": "Constants" - } + "name": "Sprite Asset", + "category": "Constants/UI/Sprite Type" + }, + "methods": [ + { + "base": "GeteUiSpriteType_SpriteAsset", + "details": { + "name": "Sprite Asset" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_ClipText.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_ClipText.names index 4020030b26..9aa0a64317 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_ClipText.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_ClipText.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTextOverflowMode_ClipText", + "base": "eUiTextOverflowMode_ClipText", "context": "Constant", "variant": "", "details": { - "name": "eUiTextOverflowMode_ClipText::Getter", - "category": "Constants" - } + "name": "Clip Text", + "category": "Constants/UI/Text Overflow Mode" + }, + "methods": [ + { + "base": "GeteUiTextOverflowMode_ClipText", + "details": { + "name": "Clip Text" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_Ellipsis.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_Ellipsis.names index 340acecf48..b930c80c95 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_Ellipsis.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_Ellipsis.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTextOverflowMode_Ellipsis", + "base": "eUiTextOverflowMode_Ellipsis", "context": "Constant", "variant": "", "details": { - "name": "eUiTextOverflowMode_Ellipsis::Getter", - "category": "Constants" - } + "name": "Ellipsis", + "category": "Constants/UI/Text Overflow Mode" + }, + "methods": [ + { + "base": "GeteUiTextOverflowMode_Ellipsis", + "details": { + "name": "Ellipsis" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_OverflowText.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_OverflowText.names index 5de46b4a76..51271d943f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_OverflowText.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextOverflowMode_OverflowText.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTextOverflowMode_OverflowText", + "base": "eUiTextOverflowMode_OverflowText", "context": "Constant", "variant": "", "details": { - "name": "eUiTextOverflowMode_OverflowText::Getter", - "category": "Constants" - } + "name": "Overflow Text", + "category": "Constants/UI/Text Overflow Mode" + }, + "methods": [ + { + "base": "GeteUiTextOverflowMode_OverflowText", + "details": { + "name": "Overflow Text" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_None.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_None.names index 5331e830f4..614c337c6b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_None.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_None.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTextShrinkToFit_None", + "base": "eUiTextShrinkToFit_None", "context": "Constant", "variant": "", "details": { - "name": "eUiTextShrinkToFit_None::Getter", - "category": "Constants" - } + "name": "None", + "category": "Constants/UI/Text Shrink To Fit" + }, + "methods": [ + { + "base": "GeteUiTextShrinkToFit_None", + "details": { + "name": "None" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_Uniform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_Uniform.names index 175534eafd..72c29c8b5a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_Uniform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_Uniform.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTextShrinkToFit_Uniform", + "base": "eUiTextShrinkToFit_Uniform", "context": "Constant", "variant": "", "details": { - "name": "eUiTextShrinkToFit_Uniform::Getter", - "category": "Constants" - } + "name": "Uniform", + "category": "Constants/UI/Text Shrink To Fit" + }, + "methods": [ + { + "base": "GeteUiTextShrinkToFit_Uniform", + "details": { + "name": "Uniform" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_WidthOnly.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_WidthOnly.names index 95b5d2b424..67524f593f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_WidthOnly.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextShrinkToFit_WidthOnly.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTextShrinkToFit_WidthOnly", + "base": "eUiTextShrinkToFit_WidthOnly", "context": "Constant", "variant": "", "details": { - "name": "eUiTextShrinkToFit_WidthOnly::Getter", - "category": "Constants" - } + "name": "Width Only", + "category": "Constants/UI/Text Shrink To Fit" + }, + "methods": [ + { + "base": "GeteUiTextShrinkToFit_WidthOnly", + "details": { + "name": "Width Only" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextWrapTextSetting_NoWrap.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextWrapTextSetting_NoWrap.names index 04dc16a0ae..dfb70ab7ba 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextWrapTextSetting_NoWrap.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextWrapTextSetting_NoWrap.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTextWrapTextSetting_NoWrap", + "base": "eUiTextWrapTextSetting_NoWrap", "context": "Constant", "variant": "", "details": { - "name": "eUiTextWrapTextSetting_NoWrap::Getter", - "category": "Constants" - } + "name": "No Wrap", + "category": "Constants/UI/Text Wrap" + }, + "methods": [ + { + "base": "GeteUiTextWrapTextSetting_NoWrap", + "details": { + "name": "No Wrap" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextWrapTextSetting_Wrap.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextWrapTextSetting_Wrap.names index 75fe851271..96c98744d1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextWrapTextSetting_Wrap.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTextWrapTextSetting_Wrap.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTextWrapTextSetting_Wrap", + "base": "eUiTextWrapTextSetting_Wrap", "context": "Constant", "variant": "", "details": { - "name": "eUiTextWrapTextSetting_Wrap::Getter", - "category": "Constants" - } + "name": "Wrap", + "category": "Constants/UI/Text Wrap" + }, + "methods": [ + { + "base": "GeteUiTextWrapTextSetting_Wrap", + "details": { + "name": "Wrap" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayAutoPositionMode_OffsetFromElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayAutoPositionMode_OffsetFromElement.names index 473b16b42d..c0fb71abc1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayAutoPositionMode_OffsetFromElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayAutoPositionMode_OffsetFromElement.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTooltipDisplayAutoPositionMode_OffsetFromElement", + "base": "eUiTooltipDisplayAutoPositionMode_OffsetFromElement", "context": "Constant", "variant": "", "details": { - "name": "eUiTooltipDisplayAutoPositionMode_OffsetFromElement::Getter", - "category": "Constants" - } + "name": "Offset From Element", + "category": "Constants/UI/Tooltip Display Auto Position Mode" + }, + "methods": [ + { + "base": "GeteUiTooltipDisplayAutoPositionMode_OffsetFromElement", + "details": { + "name": "Offset From Element" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayAutoPositionMode_OffsetFromMouse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayAutoPositionMode_OffsetFromMouse.names index 4876380d2b..5c12e0a60e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayAutoPositionMode_OffsetFromMouse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayAutoPositionMode_OffsetFromMouse.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTooltipDisplayAutoPositionMode_OffsetFromMouse", + "base": "eUiTooltipDisplayAutoPositionMode_OffsetFromMouse", "context": "Constant", "variant": "", "details": { - "name": "eUiTooltipDisplayAutoPositionMode_OffsetFromMouse::Getter", - "category": "Constants" - } + "name": "Offset From Mouse", + "category": "Constants/UI/Tooltip Display Auto Position Mode" + }, + "methods": [ + { + "base": "GeteUiTooltipDisplayAutoPositionMode_OffsetFromMouse", + "details": { + "name": "Offset From Mouse" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnClick.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnClick.names index 607b9793a2..deb5b1696b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnClick.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnClick.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTooltipDisplayTriggerMode_OnClick", + "base": "eUiTooltipDisplayTriggerMode_OnClick", "context": "Constant", "variant": "", "details": { - "name": "eUiTooltipDisplayTriggerMode_OnClick::Getter", - "category": "Constants" - } + "name": "On Click", + "category": "Constants/UI/Tooltip Display Trigger Mode" + }, + "methods": [ + { + "base": "GeteUiTooltipDisplayTriggerMode_OnClick", + "details": { + "name": "On Click" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnHover.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnHover.names index 705be843d8..e118eeafbc 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnHover.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnHover.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTooltipDisplayTriggerMode_OnHover", + "base": "eUiTooltipDisplayTriggerMode_OnHover", "context": "Constant", "variant": "", "details": { - "name": "eUiTooltipDisplayTriggerMode_OnHover::Getter", - "category": "Constants" - } + "name": "On Hover", + "category": "Constants/UI/Tooltip Display Trigger Mode" + }, + "methods": [ + { + "base": "GeteUiTooltipDisplayTriggerMode_OnHover", + "details": { + "name": "On Hover" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnPress.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnPress.names index 28eb9c5118..f570902180 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnPress.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiTooltipDisplayTriggerMode_OnPress.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiTooltipDisplayTriggerMode_OnPress", + "base": "eUiTooltipDisplayTriggerMode_OnPress", "context": "Constant", "variant": "", "details": { - "name": "eUiTooltipDisplayTriggerMode_OnPress::Getter", - "category": "Constants" - } + "name": "On Press", + "category": "Constants/UI/Tooltip Display Trigger Mode" + }, + "methods": [ + { + "base": "GeteUiTooltipDisplayTriggerMode_OnPress", + "details": { + "name": "On Press" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Bottom.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Bottom.names index 46aa499d0b..b5c89b6b6c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Bottom.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Bottom.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiVAlign_Bottom", + "base": "eUiVAlign_Bottom", "context": "Constant", "variant": "", "details": { - "name": "eUiVAlign_Bottom::Getter", - "category": "Constants" - } + "name": "Vertical Align Bottom", + "category": "Constants/UI/Align" + }, + "methods": [ + { + "base": "GeteUiVAlign_Bottom", + "details": { + "name": "Vertical Align: Bottom" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Center.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Center.names index 2f64297cf4..ecdb75bda9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Center.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Center.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiVAlign_Center", + "base": "eUiVAlign_Center", "context": "Constant", "variant": "", "details": { - "name": "eUiVAlign_Center::Getter", - "category": "Constants" - } + "name": "Vertical Align Center", + "category": "Constants/UI/Align" + }, + "methods": [ + { + "base": "GeteUiVAlign_Center", + "details": { + "name": "Vertical Align: Center" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Top.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Top.names index d688313c21..f35d9ff698 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Top.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVAlign_Top.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiVAlign_Top", + "base": "eUiVAlign_Top", "context": "Constant", "variant": "", "details": { - "name": "eUiVAlign_Top::Getter", - "category": "Constants" - } + "name": "Vertical Align Top", + "category": "Constants/UI/Align" + }, + "methods": [ + { + "base": "GeteUiVAlign_Top", + "details": { + "name": "Vertical Align: Top" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVerticalOrder_BottomToTop.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVerticalOrder_BottomToTop.names index a9f3b06c9a..06edfefaef 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVerticalOrder_BottomToTop.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVerticalOrder_BottomToTop.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiVerticalOrder_BottomToTop", + "base": "eUiVerticalOrder_BottomToTop", "context": "Constant", "variant": "", "details": { - "name": "eUiVerticalOrder_BottomToTop::Getter", - "category": "Constants" - } + "name": "Bottom To Top", + "category": "Constants/UI/Order/Vertical" + }, + "methods": [ + { + "base": "GeteUiVerticalOrder_BottomToTop", + "details": { + "name": "Bottom To Top" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVerticalOrder_TopToBottom.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVerticalOrder_TopToBottom.names index 67532f62eb..ff4d7ec7ec 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVerticalOrder_TopToBottom.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/eUiVerticalOrder_TopToBottom.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "eUiVerticalOrder_TopToBottom", + "base": "eUiVerticalOrder_TopToBottom", "context": "Constant", "variant": "", "details": { - "name": "eUiVerticalOrder_TopToBottom::Getter", - "category": "Constants" - } + "name": "Top To Bottom", + "category": "Constants/UI/Order/Vertical" + }, + "methods": [ + { + "base": "GeteUiVerticalOrder_TopToBottom", + "details": { + "name": "Top To Bottom" + }, + "results": [ + { + "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", + "details": { + "name": "int" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/g_ProfilerSystem.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/g_ProfilerSystem.names new file mode 100644 index 0000000000..679cd307c8 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/g_ProfilerSystem.names @@ -0,0 +1,29 @@ +{ + "entries": [ + { + "base": "g_ProfilerSystem", + "context": "Constant", + "variant": "", + "details": { + "name": "Profiler System", + "category": "Constants/Profiler" + }, + "methods": [ + { + "base": "Getg_ProfilerSystem", + "details": { + "name": "Profiler System" + }, + "results": [ + { + "typeid": "{D671FB70-8B09-4C3A-96CD-06A339F3138E}", + "details": { + "name": "Profiler System Script Proxy" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/g_SettingsRegistry.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/g_SettingsRegistry.names index a713b4f4fa..5d7a8dfba7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/g_SettingsRegistry.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Properties/g_SettingsRegistry.names @@ -1,13 +1,29 @@ { "entries": [ { - "key": "g_SettingsRegistry", + "base": "g_SettingsRegistry", "context": "Constant", "variant": "", "details": { - "name": "g_SettingsRegistry::Getter", - "category": "Constants" - } + "name": "Settings Registry", + "category": "Constants/Settings" + }, + "methods": [ + { + "base": "Getg_SettingsRegistry", + "details": { + "name": "Settings Registry" + }, + "results": [ + { + "typeid": "{795C80A0-D243-473B-972A-C32CA487BAA5}", + "details": { + "name": "Settings Registry Script Proxy" + } + } + ] + } + ] } ] } \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Types/OnDemandReflectedTypes.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Types/OnDemandReflectedTypes.names index bf62ef5e72..fcd616b9ed 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Types/OnDemandReflectedTypes.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Types/OnDemandReflectedTypes.names @@ -1,7 +1,7 @@ { "entries": [ { - "key": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", + "base": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", "context": "OnDemandReflected", "variant": "", "details": { @@ -11,7 +11,7 @@ }, "methods": [ { - "key": "Front", + "base": "Front", "context": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", "entry": { "name": "In", @@ -42,7 +42,7 @@ ] }, { - "key": "Fill", + "base": "Fill", "context": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", "entry": { "name": "In", @@ -71,7 +71,7 @@ ] }, { - "key": "Replace", + "base": "Replace", "context": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", "entry": { "name": "In", @@ -114,7 +114,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", "entry": { "name": "In", @@ -145,7 +145,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", "entry": { "name": "In", @@ -176,7 +176,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", "entry": { "name": "In", @@ -213,7 +213,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", "entry": { "name": "In", @@ -242,7 +242,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", "entry": { "name": "In", @@ -279,7 +279,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{E65D74A8-908B-51B4-94CC-7226AC363DD5}", "entry": { "name": "In", @@ -312,7 +312,7 @@ ] }, { - "key": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", + "base": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -322,7 +322,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -359,7 +359,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -402,7 +402,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -431,7 +431,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -462,7 +462,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -493,7 +493,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -524,7 +524,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -555,7 +555,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -592,7 +592,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -629,7 +629,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -660,7 +660,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -697,7 +697,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -728,7 +728,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -759,7 +759,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{232F1AE7-4411-5D69-B59C-71D7036FC5E4}", "entry": { "name": "In", @@ -790,7 +790,7 @@ ] }, { - "key": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", + "base": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "context": "OnDemandReflected", "variant": "", "details": { @@ -800,7 +800,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -837,7 +837,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -880,7 +880,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -909,7 +909,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -940,7 +940,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -971,7 +971,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -1002,7 +1002,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -1033,7 +1033,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -1070,7 +1070,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -1107,7 +1107,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -1138,7 +1138,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -1175,7 +1175,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -1206,7 +1206,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -1237,7 +1237,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{53A388FF-F69B-5F31-94CC-441F9D7F3ACC}", "entry": { "name": "In", @@ -1268,7 +1268,7 @@ ] }, { - "key": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", + "base": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "context": "OnDemandReflected", "variant": "", "details": { @@ -1278,7 +1278,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1315,7 +1315,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1358,7 +1358,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1387,7 +1387,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1418,7 +1418,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1449,7 +1449,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1480,7 +1480,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1511,7 +1511,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1548,7 +1548,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1585,7 +1585,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1616,7 +1616,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1653,7 +1653,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1684,7 +1684,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1715,7 +1715,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{7AB203ED-4DE1-5DB6-AE1F-23E8D6104EE5}", "entry": { "name": "In", @@ -1746,7 +1746,7 @@ ] }, { - "key": "{E3FCF041-81CA-5782-9530-CC7793B53765}", + "base": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "context": "OnDemandReflected", "variant": "", "details": { @@ -1756,7 +1756,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -1793,7 +1793,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -1836,7 +1836,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -1865,7 +1865,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -1896,7 +1896,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -1927,7 +1927,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -1958,7 +1958,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -1989,7 +1989,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -2026,7 +2026,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -2063,7 +2063,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -2094,7 +2094,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -2131,7 +2131,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -2162,7 +2162,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -2193,7 +2193,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{E3FCF041-81CA-5782-9530-CC7793B53765}", "entry": { "name": "In", @@ -2224,7 +2224,7 @@ ] }, { - "key": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", + "base": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "context": "OnDemandReflected", "variant": "", "details": { @@ -2234,7 +2234,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2271,7 +2271,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2314,7 +2314,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2343,7 +2343,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2374,7 +2374,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2405,7 +2405,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2436,7 +2436,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2467,7 +2467,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2504,7 +2504,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2541,7 +2541,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2572,7 +2572,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2609,7 +2609,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2640,7 +2640,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2671,7 +2671,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{DA54CF57-7BE3-59DF-A5B0-F4CA6D9CC01A}", "entry": { "name": "In", @@ -2702,7 +2702,7 @@ ] }, { - "key": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", + "base": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "context": "OnDemandReflected", "variant": "", "details": { @@ -2712,7 +2712,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -2749,7 +2749,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -2792,7 +2792,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -2821,7 +2821,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -2852,7 +2852,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -2883,7 +2883,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -2914,7 +2914,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -2945,7 +2945,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -2982,7 +2982,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -3019,7 +3019,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -3050,7 +3050,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -3087,7 +3087,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -3118,7 +3118,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -3149,7 +3149,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{246A60D1-4DC3-57A5-BABA-214581F3B4FE}", "entry": { "name": "In", @@ -3180,7 +3180,7 @@ ] }, { - "key": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", + "base": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "context": "OnDemandReflected", "variant": "", "details": { @@ -3190,7 +3190,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3227,7 +3227,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3270,7 +3270,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3299,7 +3299,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3330,7 +3330,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3361,7 +3361,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3392,7 +3392,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3423,7 +3423,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3460,7 +3460,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3497,7 +3497,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3528,7 +3528,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3565,7 +3565,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3596,7 +3596,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3627,7 +3627,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{73383C40-9632-58AB-9CFE-E90C89E1C612}", "entry": { "name": "In", @@ -3658,7 +3658,7 @@ ] }, { - "key": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", + "base": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "context": "OnDemandReflected", "variant": "", "details": { @@ -3668,7 +3668,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -3706,7 +3706,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -3750,7 +3750,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -3779,7 +3779,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -3810,7 +3810,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -3841,7 +3841,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -3872,7 +3872,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -3903,7 +3903,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -3941,7 +3941,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -3979,7 +3979,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -4010,7 +4010,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -4048,7 +4048,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -4079,7 +4079,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -4110,7 +4110,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{F9AFBC85-749B-5A76-8E09-6B734D234C90}", "entry": { "name": "In", @@ -4141,7 +4141,7 @@ ] }, { - "key": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", + "base": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "context": "OnDemandReflected", "variant": "", "details": { @@ -4151,7 +4151,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4189,7 +4189,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4233,7 +4233,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4262,7 +4262,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4293,7 +4293,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4324,7 +4324,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4355,7 +4355,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4386,7 +4386,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4424,7 +4424,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4462,7 +4462,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4493,7 +4493,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4531,7 +4531,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4562,7 +4562,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4593,7 +4593,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{72FD3E42-33B1-5C20-92BE-20031CE205AC}", "entry": { "name": "In", @@ -4624,7 +4624,7 @@ ] }, { - "key": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", + "base": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "context": "OnDemandReflected", "variant": "", "details": { @@ -4634,7 +4634,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -4672,7 +4672,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -4716,7 +4716,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -4745,7 +4745,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -4776,7 +4776,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -4807,7 +4807,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -4838,7 +4838,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -4869,7 +4869,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -4907,7 +4907,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -4945,7 +4945,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -4976,7 +4976,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -5014,7 +5014,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -5045,7 +5045,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -5076,7 +5076,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{20F3C1D8-E0E1-5211-BE7E-61EF5BD7F5FB}", "entry": { "name": "In", @@ -5107,7 +5107,7 @@ ] }, { - "key": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", + "base": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "context": "OnDemandReflected", "variant": "", "details": { @@ -5117,7 +5117,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5155,7 +5155,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5199,7 +5199,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5228,7 +5228,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5259,7 +5259,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5290,7 +5290,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5321,7 +5321,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5352,7 +5352,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5390,7 +5390,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5428,7 +5428,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5459,7 +5459,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5497,7 +5497,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5528,7 +5528,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5559,7 +5559,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{70470FDA-2C2E-549A-A67A-6FA7388FB823}", "entry": { "name": "In", @@ -5590,7 +5590,7 @@ ] }, { - "key": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", + "base": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "context": "OnDemandReflected", "variant": "", "details": { @@ -5600,7 +5600,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5637,7 +5637,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5680,7 +5680,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5709,7 +5709,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5740,7 +5740,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5771,7 +5771,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5802,7 +5802,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5833,7 +5833,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5870,7 +5870,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5907,7 +5907,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5938,7 +5938,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -5975,7 +5975,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -6006,7 +6006,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -6037,7 +6037,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{6018488A-73E5-5AE2-ACE7-62DAC3DBECB8}", "entry": { "name": "In", @@ -6068,7 +6068,7 @@ ] }, { - "key": "{C73A5FA9-295B-57F8-97D0-947B74603D96}", + "base": "{C73A5FA9-295B-57F8-97D0-947B74603D96}", "context": "OnDemandReflected", "variant": "", "details": { @@ -6076,7 +6076,7 @@ }, "methods": [ { - "key": "IsLoading", + "base": "IsLoading", "context": "{C73A5FA9-295B-57F8-97D0-947B74603D96}", "entry": { "name": "In", @@ -6107,7 +6107,7 @@ ] }, { - "key": "GetType", + "base": "GetType", "context": "{C73A5FA9-295B-57F8-97D0-947B74603D96}", "entry": { "name": "In", @@ -6138,7 +6138,7 @@ ] }, { - "key": "IsError", + "base": "IsError", "context": "{C73A5FA9-295B-57F8-97D0-947B74603D96}", "entry": { "name": "In", @@ -6169,7 +6169,7 @@ ] }, { - "key": "GetHint", + "base": "GetHint", "context": "{C73A5FA9-295B-57F8-97D0-947B74603D96}", "entry": { "name": "In", @@ -6200,7 +6200,7 @@ ] }, { - "key": "GetData", + "base": "GetData", "context": "{C73A5FA9-295B-57F8-97D0-947B74603D96}", "entry": { "name": "In", @@ -6231,7 +6231,7 @@ ] }, { - "key": "IsReady", + "base": "IsReady", "context": "{C73A5FA9-295B-57F8-97D0-947B74603D96}", "entry": { "name": "In", @@ -6262,7 +6262,7 @@ ] }, { - "key": "GetStatus", + "base": "GetStatus", "context": "{C73A5FA9-295B-57F8-97D0-947B74603D96}", "entry": { "name": "In", @@ -6293,7 +6293,7 @@ ] }, { - "key": "GetId", + "base": "GetId", "context": "{C73A5FA9-295B-57F8-97D0-947B74603D96}", "entry": { "name": "In", @@ -6326,7 +6326,7 @@ ] }, { - "key": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", + "base": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -6336,7 +6336,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6373,7 +6373,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6416,7 +6416,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6445,7 +6445,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6476,7 +6476,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6507,7 +6507,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6538,7 +6538,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6569,7 +6569,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6606,7 +6606,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6643,7 +6643,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6674,7 +6674,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6711,7 +6711,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6742,7 +6742,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6773,7 +6773,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{EEE66112-B216-51A2-B10A-62F805C1C6F4}", "entry": { "name": "In", @@ -6804,7 +6804,7 @@ ] }, { - "key": "{428274AA-6C0B-5535-A5BD-E987696ED8E0}", + "base": "{428274AA-6C0B-5535-A5BD-E987696ED8E0}", "context": "OnDemandReflected", "variant": "", "details": { @@ -6812,7 +6812,7 @@ }, "methods": [ { - "key": "Failure", + "base": "Failure", "context": "{428274AA-6C0B-5535-A5BD-E987696ED8E0}", "entry": { "name": "In", @@ -6835,7 +6835,7 @@ ] }, { - "key": "Success", + "base": "Success", "context": "{428274AA-6C0B-5535-A5BD-E987696ED8E0}", "entry": { "name": "In", @@ -6858,7 +6858,7 @@ ] }, { - "key": "IsSuccess", + "base": "IsSuccess", "context": "{428274AA-6C0B-5535-A5BD-E987696ED8E0}", "entry": { "name": "In", @@ -6891,7 +6891,7 @@ ] }, { - "key": "{BFA7A8BD-787E-56C2-96C1-115A572EB249}", + "base": "{BFA7A8BD-787E-56C2-96C1-115A572EB249}", "context": "OnDemandReflected", "variant": "", "details": { @@ -6899,7 +6899,7 @@ }, "methods": [ { - "key": "Get0", + "base": "Get0", "context": "{BFA7A8BD-787E-56C2-96C1-115A572EB249}", "entry": { "name": "In", @@ -6931,7 +6931,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{BFA7A8BD-787E-56C2-96C1-115A572EB249}", "entry": { "name": "In", @@ -6962,7 +6962,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{BFA7A8BD-787E-56C2-96C1-115A572EB249}", "entry": { "name": "In", @@ -6987,7 +6987,7 @@ ] }, { - "key": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", + "base": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "context": "OnDemandReflected", "variant": "", "details": { @@ -6997,7 +6997,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7034,7 +7034,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7077,7 +7077,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7106,7 +7106,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7137,7 +7137,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7168,7 +7168,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7199,7 +7199,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7230,7 +7230,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7267,7 +7267,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7304,7 +7304,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7335,7 +7335,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7372,7 +7372,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7403,7 +7403,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7434,7 +7434,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{961EE5AE-685E-5B9E-B3AC-604C5F2F4C1A}", "entry": { "name": "In", @@ -7465,7 +7465,7 @@ ] }, { - "key": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", + "base": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "context": "OnDemandReflected", "variant": "", "details": { @@ -7475,7 +7475,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7513,7 +7513,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7557,7 +7557,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7586,7 +7586,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7617,7 +7617,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7648,7 +7648,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7679,7 +7679,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7710,7 +7710,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7748,7 +7748,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7786,7 +7786,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7817,7 +7817,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7855,7 +7855,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7886,7 +7886,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7917,7 +7917,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{87073E82-1470-5DBD-92EB-ED294F351AB6}", "entry": { "name": "In", @@ -7948,7 +7948,7 @@ ] }, { - "key": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", + "base": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -7958,7 +7958,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -7995,7 +7995,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8038,7 +8038,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8067,7 +8067,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8098,7 +8098,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8129,7 +8129,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8160,7 +8160,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8191,7 +8191,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8228,7 +8228,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8265,7 +8265,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8296,7 +8296,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8333,7 +8333,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8364,7 +8364,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8395,7 +8395,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{C8E55ED7-2D57-586D-B8A4-BC3CF9A0883C}", "entry": { "name": "In", @@ -8426,7 +8426,7 @@ ] }, { - "key": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", + "base": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "context": "OnDemandReflected", "variant": "", "details": { @@ -8436,7 +8436,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8473,7 +8473,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8516,7 +8516,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8545,7 +8545,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8576,7 +8576,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8607,7 +8607,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8638,7 +8638,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8669,7 +8669,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8706,7 +8706,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8743,7 +8743,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8774,7 +8774,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8811,7 +8811,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8842,7 +8842,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8873,7 +8873,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{52BC39A3-063A-5CD4-99D4-4F018D7784D6}", "entry": { "name": "In", @@ -8904,7 +8904,7 @@ ] }, { - "key": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", + "base": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "context": "OnDemandReflected", "variant": "", "details": { @@ -8914,7 +8914,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -8951,7 +8951,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -8994,7 +8994,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9023,7 +9023,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9054,7 +9054,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9085,7 +9085,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9116,7 +9116,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9147,7 +9147,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9184,7 +9184,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9221,7 +9221,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9252,7 +9252,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9289,7 +9289,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9320,7 +9320,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9351,7 +9351,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{C5BB1B1A-9721-598B-8746-FAAA76B87464}", "entry": { "name": "In", @@ -9382,7 +9382,7 @@ ] }, { - "key": "{E13859C4-1F24-5C44-A133-F17B4B050D7C}", + "base": "{E13859C4-1F24-5C44-A133-F17B4B050D7C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -9392,7 +9392,7 @@ }, "methods": [ { - "key": "get", + "base": "get", "context": "{E13859C4-1F24-5C44-A133-F17B4B050D7C}", "entry": { "name": "In", @@ -9426,7 +9426,7 @@ ] }, { - "key": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", + "base": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "context": "OnDemandReflected", "variant": "", "details": { @@ -9436,7 +9436,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9473,7 +9473,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9516,7 +9516,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9545,7 +9545,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9576,7 +9576,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9607,7 +9607,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9638,7 +9638,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9669,7 +9669,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9706,7 +9706,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9743,7 +9743,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9774,7 +9774,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9811,7 +9811,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9842,7 +9842,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9873,7 +9873,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{DC13DC44-BB50-5CCB-985E-C611AE891575}", "entry": { "name": "In", @@ -9904,7 +9904,7 @@ ] }, { - "key": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", + "base": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "context": "OnDemandReflected", "variant": "", "details": { @@ -9914,7 +9914,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -9951,7 +9951,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -9995,7 +9995,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10024,7 +10024,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10055,7 +10055,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10086,7 +10086,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10117,7 +10117,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10148,7 +10148,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10185,7 +10185,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10222,7 +10222,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10253,7 +10253,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10291,7 +10291,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10322,7 +10322,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10353,7 +10353,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{805FA2E4-1874-5919-A853-4EF984E5A82A}", "entry": { "name": "In", @@ -10384,7 +10384,7 @@ ] }, { - "key": "{03924488-C7F4-4D6D-948B-ABC2D1AE2FD3}", + "base": "{03924488-C7F4-4D6D-948B-ABC2D1AE2FD3}", "context": "OnDemandReflected", "variant": "", "details": { @@ -10392,7 +10392,7 @@ } }, { - "key": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", + "base": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "context": "OnDemandReflected", "variant": "", "details": { @@ -10402,7 +10402,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10439,7 +10439,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10482,7 +10482,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10511,7 +10511,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10542,7 +10542,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10573,7 +10573,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10604,7 +10604,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10635,7 +10635,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10672,7 +10672,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10709,7 +10709,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10740,7 +10740,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10777,7 +10777,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10808,7 +10808,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10839,7 +10839,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{C7790D21-4BE7-5C18-A60D-01FCFE4E7E7A}", "entry": { "name": "In", @@ -10870,7 +10870,7 @@ ] }, { - "key": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", + "base": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "context": "OnDemandReflected", "variant": "", "details": { @@ -10880,7 +10880,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -10911,7 +10911,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -10942,7 +10942,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -10979,7 +10979,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11008,7 +11008,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11045,7 +11045,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11076,7 +11076,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11099,7 +11099,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11130,7 +11130,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11167,7 +11167,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11198,7 +11198,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11227,7 +11227,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11256,7 +11256,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11293,7 +11293,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11330,7 +11330,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11353,7 +11353,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11384,7 +11384,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11421,7 +11421,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11458,7 +11458,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11489,7 +11489,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11520,7 +11520,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11555,7 +11555,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11586,7 +11586,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11629,7 +11629,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11658,7 +11658,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11687,7 +11687,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{1945B931-EBAA-5765-9C6C-265596AF68D5}", "entry": { "name": "In", @@ -11720,7 +11720,7 @@ ] }, { - "key": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", + "base": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "context": "OnDemandReflected", "variant": "", "details": { @@ -11730,7 +11730,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -11761,7 +11761,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -11792,7 +11792,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -11829,7 +11829,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -11858,7 +11858,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -11895,7 +11895,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -11926,7 +11926,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -11949,7 +11949,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -11980,7 +11980,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12017,7 +12017,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12048,7 +12048,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12077,7 +12077,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12106,7 +12106,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12143,7 +12143,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12180,7 +12180,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12203,7 +12203,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12234,7 +12234,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12271,7 +12271,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12308,7 +12308,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12339,7 +12339,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12370,7 +12370,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12405,7 +12405,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12436,7 +12436,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12479,7 +12479,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12508,7 +12508,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12537,7 +12537,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{877C4A33-39B5-51D7-948D-F97DB81372A1}", "entry": { "name": "In", @@ -12570,7 +12570,7 @@ ] }, { - "key": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", + "base": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "context": "OnDemandReflected", "variant": "", "details": { @@ -12580,7 +12580,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12611,7 +12611,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12642,7 +12642,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12679,7 +12679,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12708,7 +12708,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12745,7 +12745,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12776,7 +12776,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12799,7 +12799,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12830,7 +12830,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12867,7 +12867,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12898,7 +12898,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12927,7 +12927,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12956,7 +12956,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -12993,7 +12993,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13030,7 +13030,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13053,7 +13053,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13084,7 +13084,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13121,7 +13121,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13158,7 +13158,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13189,7 +13189,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13220,7 +13220,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13255,7 +13255,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13286,7 +13286,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13329,7 +13329,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13358,7 +13358,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13387,7 +13387,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{E7E44B3A-15C3-5420-A930-EB9ED7F0D7D9}", "entry": { "name": "In", @@ -13420,7 +13420,7 @@ ] }, { - "key": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", + "base": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "context": "OnDemandReflected", "variant": "", "details": { @@ -13430,7 +13430,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13467,7 +13467,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13510,7 +13510,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13539,7 +13539,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13570,7 +13570,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13601,7 +13601,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13632,7 +13632,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13663,7 +13663,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13700,7 +13700,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13737,7 +13737,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13768,7 +13768,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13805,7 +13805,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13836,7 +13836,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13867,7 +13867,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{9CA976B9-C166-5C5A-B544-746A06B9F534}", "entry": { "name": "In", @@ -13898,7 +13898,7 @@ ] }, { - "key": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", + "base": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "context": "OnDemandReflected", "variant": "", "details": { @@ -13908,7 +13908,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -13945,7 +13945,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -13989,7 +13989,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14018,7 +14018,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14049,7 +14049,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14080,7 +14080,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14111,7 +14111,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14142,7 +14142,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14179,7 +14179,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14216,7 +14216,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14247,7 +14247,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14285,7 +14285,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14316,7 +14316,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14347,7 +14347,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{B7CEA1B1-C931-5566-AECA-B8AF02138CAA}", "entry": { "name": "In", @@ -14378,7 +14378,7 @@ ] }, { - "key": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", + "base": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -14388,7 +14388,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14419,7 +14419,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14451,7 +14451,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14488,7 +14488,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14517,7 +14517,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14555,7 +14555,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14587,7 +14587,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14610,7 +14610,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14641,7 +14641,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14679,7 +14679,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14710,7 +14710,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14739,7 +14739,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14769,7 +14769,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14807,7 +14807,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14845,7 +14845,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14868,7 +14868,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14899,7 +14899,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14936,7 +14936,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -14973,7 +14973,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -15004,7 +15004,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -15035,7 +15035,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -15071,7 +15071,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -15102,7 +15102,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -15146,7 +15146,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -15176,7 +15176,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -15205,7 +15205,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{D9866B79-D11A-58E6-B974-0B45783F53A4}", "entry": { "name": "In", @@ -15238,7 +15238,7 @@ ] }, { - "key": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", + "base": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "context": "OnDemandReflected", "variant": "", "details": { @@ -15248,7 +15248,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15279,7 +15279,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15310,7 +15310,7 @@ ] }, { - "key": "contains", + "base": "contains", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15348,7 +15348,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15386,7 +15386,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15417,7 +15417,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15446,7 +15446,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15477,7 +15477,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15515,7 +15515,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15553,7 +15553,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15584,7 +15584,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15615,7 +15615,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15646,7 +15646,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{6C8F8E52-AB4A-5C1F-8E56-9AC390290B94}", "entry": { "name": "In", @@ -15677,7 +15677,7 @@ ] }, { - "key": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", + "base": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "context": "OnDemandReflected", "variant": "", "details": { @@ -15687,7 +15687,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -15724,7 +15724,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -15767,7 +15767,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -15796,7 +15796,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -15827,7 +15827,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -15858,7 +15858,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -15889,7 +15889,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -15920,7 +15920,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -15957,7 +15957,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -15994,7 +15994,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -16025,7 +16025,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -16062,7 +16062,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -16093,7 +16093,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -16124,7 +16124,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{4F67EE42-D330-55A1-85DC-E030EABC0407}", "entry": { "name": "In", @@ -16155,7 +16155,7 @@ ] }, { - "key": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", + "base": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "context": "OnDemandReflected", "variant": "", "details": { @@ -16165,7 +16165,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16196,7 +16196,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16227,7 +16227,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16264,7 +16264,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16293,7 +16293,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16330,7 +16330,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16361,7 +16361,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16384,7 +16384,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16415,7 +16415,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16452,7 +16452,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16483,7 +16483,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16512,7 +16512,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16541,7 +16541,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16578,7 +16578,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16615,7 +16615,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16638,7 +16638,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16669,7 +16669,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16706,7 +16706,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16743,7 +16743,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16774,7 +16774,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16805,7 +16805,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16840,7 +16840,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16871,7 +16871,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16914,7 +16914,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16943,7 +16943,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -16972,7 +16972,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{E3B6686C-306E-5C7F-9274-196CC18E1284}", "entry": { "name": "In", @@ -17005,7 +17005,7 @@ ] }, { - "key": "{0521985E-FC3D-5123-922A-E4011E605660}", + "base": "{0521985E-FC3D-5123-922A-E4011E605660}", "context": "OnDemandReflected", "variant": "", "details": { @@ -17015,7 +17015,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17052,7 +17052,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17095,7 +17095,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17124,7 +17124,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17155,7 +17155,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17186,7 +17186,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17217,7 +17217,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17248,7 +17248,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17285,7 +17285,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17322,7 +17322,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17353,7 +17353,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17390,7 +17390,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17421,7 +17421,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17452,7 +17452,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{0521985E-FC3D-5123-922A-E4011E605660}", "entry": { "name": "In", @@ -17483,7 +17483,7 @@ ] }, { - "key": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", + "base": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "context": "OnDemandReflected", "variant": "", "details": { @@ -17493,7 +17493,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17530,7 +17530,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17573,7 +17573,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17602,7 +17602,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17633,7 +17633,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17664,7 +17664,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17695,7 +17695,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17726,7 +17726,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17763,7 +17763,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17800,7 +17800,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17831,7 +17831,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17868,7 +17868,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17899,7 +17899,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17930,7 +17930,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{2A1A28D5-E14E-5F25-B2EE-48722008285A}", "entry": { "name": "In", @@ -17961,7 +17961,7 @@ ] }, { - "key": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", + "base": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "context": "OnDemandReflected", "variant": "", "details": { @@ -17971,7 +17971,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18008,7 +18008,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18051,7 +18051,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18080,7 +18080,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18111,7 +18111,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18142,7 +18142,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18173,7 +18173,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18204,7 +18204,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18241,7 +18241,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18278,7 +18278,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18309,7 +18309,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18346,7 +18346,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18377,7 +18377,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18408,7 +18408,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{6576DA9C-8949-513E-BA75-1DFFF648EDAF}", "entry": { "name": "In", @@ -18439,7 +18439,7 @@ ] }, { - "key": "{92FC6941-F5F5-5141-97A4-1965FC8B09CD}", + "base": "{92FC6941-F5F5-5141-97A4-1965FC8B09CD}", "context": "OnDemandReflected", "variant": "", "details": { @@ -18447,7 +18447,7 @@ }, "methods": [ { - "key": "Failure", + "base": "Failure", "context": "{92FC6941-F5F5-5141-97A4-1965FC8B09CD}", "entry": { "name": "In", @@ -18470,7 +18470,7 @@ ] }, { - "key": "Success", + "base": "Success", "context": "{92FC6941-F5F5-5141-97A4-1965FC8B09CD}", "entry": { "name": "In", @@ -18501,7 +18501,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "context": "{92FC6941-F5F5-5141-97A4-1965FC8B09CD}", "entry": { "name": "In", @@ -18532,7 +18532,7 @@ ] }, { - "key": "IsSuccess", + "base": "IsSuccess", "context": "{92FC6941-F5F5-5141-97A4-1965FC8B09CD}", "entry": { "name": "In", @@ -18565,7 +18565,7 @@ ] }, { - "key": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", + "base": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "context": "OnDemandReflected", "variant": "", "details": { @@ -18575,7 +18575,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18612,7 +18612,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18655,7 +18655,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18684,7 +18684,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18715,7 +18715,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18746,7 +18746,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18777,7 +18777,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18808,7 +18808,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18845,7 +18845,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18882,7 +18882,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18913,7 +18913,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18950,7 +18950,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -18981,7 +18981,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -19012,7 +19012,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{230FE638-B7E6-5E7B-8D2F-B05D9313AC9F}", "entry": { "name": "In", @@ -19043,7 +19043,7 @@ ] }, { - "key": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", + "base": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -19053,7 +19053,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19090,7 +19090,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19133,7 +19133,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19162,7 +19162,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19193,7 +19193,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19224,7 +19224,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19255,7 +19255,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19286,7 +19286,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19323,7 +19323,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19360,7 +19360,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19391,7 +19391,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19428,7 +19428,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19459,7 +19459,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19490,7 +19490,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{BC52AD94-A35B-5837-A8D8-A99B2AF7D4B4}", "entry": { "name": "In", @@ -19521,7 +19521,7 @@ ] }, { - "key": "{BEB6AE51-5283-5019-A320-294202035F80}", + "base": "{BEB6AE51-5283-5019-A320-294202035F80}", "context": "OnDemandReflected", "variant": "", "details": { @@ -19531,7 +19531,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19568,7 +19568,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19611,7 +19611,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19640,7 +19640,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19671,7 +19671,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19702,7 +19702,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19733,7 +19733,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19764,7 +19764,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19801,7 +19801,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19838,7 +19838,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19869,7 +19869,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19906,7 +19906,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19937,7 +19937,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19968,7 +19968,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{BEB6AE51-5283-5019-A320-294202035F80}", "entry": { "name": "In", @@ -19999,7 +19999,7 @@ ] }, { - "key": "{2E879A16-9143-5862-A5B3-EDED931C60BC}", + "base": "{2E879A16-9143-5862-A5B3-EDED931C60BC}", "context": "OnDemandReflected", "variant": "", "details": { @@ -20009,7 +20009,7 @@ }, "methods": [ { - "key": "get", + "base": "get", "context": "{2E879A16-9143-5862-A5B3-EDED931C60BC}", "entry": { "name": "In", @@ -20043,7 +20043,7 @@ ] }, { - "key": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", + "base": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "context": "OnDemandReflected", "variant": "", "details": { @@ -20051,7 +20051,7 @@ }, "methods": [ { - "key": "One", + "base": "One", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20074,7 +20074,7 @@ ] }, { - "key": "LinearToGamma", + "base": "LinearToGamma", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20105,7 +20105,7 @@ ] }, { - "key": "FromVector3", + "base": "FromVector3", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20136,7 +20136,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20173,7 +20173,7 @@ ] }, { - "key": "Negate", + "base": "Negate", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20204,7 +20204,7 @@ ] }, { - "key": "Dot3", + "base": "Dot3", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20241,7 +20241,7 @@ ] }, { - "key": "Dot", + "base": "Dot", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20278,7 +20278,7 @@ ] }, { - "key": "FromValues", + "base": "FromValues", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20327,7 +20327,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20364,7 +20364,7 @@ ] }, { - "key": "FromVector3AndNumber", + "base": "FromVector3AndNumber", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20401,7 +20401,7 @@ ] }, { - "key": "GammaToLinear", + "base": "GammaToLinear", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20432,7 +20432,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20475,7 +20475,7 @@ ] }, { - "key": "IsZero", + "base": "IsZero", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20512,7 +20512,7 @@ ] }, { - "key": "MultiplyByColor", + "base": "MultiplyByColor", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20549,7 +20549,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20586,7 +20586,7 @@ ] }, { - "key": "Subtract", + "base": "Subtract", "context": "{6CC7B2F9-F551-4CB8-A713-4149959AE337}", "entry": { "name": "In", @@ -20625,7 +20625,7 @@ ] }, { - "key": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", + "base": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "context": "OnDemandReflected", "variant": "", "details": { @@ -20635,7 +20635,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -20672,7 +20672,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -20715,7 +20715,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -20744,7 +20744,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -20775,7 +20775,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -20806,7 +20806,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -20837,7 +20837,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -20868,7 +20868,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -20905,7 +20905,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -20942,7 +20942,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -20973,7 +20973,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -21010,7 +21010,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -21041,7 +21041,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -21072,7 +21072,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{50F6716F-698B-5A6C-AACD-940597FDEC24}", "entry": { "name": "In", @@ -21103,7 +21103,7 @@ ] }, { - "key": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", + "base": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "context": "OnDemandReflected", "variant": "", "details": { @@ -21113,7 +21113,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21150,7 +21150,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21193,7 +21193,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21222,7 +21222,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21253,7 +21253,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21284,7 +21284,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21315,7 +21315,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21346,7 +21346,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21383,7 +21383,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21420,7 +21420,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21451,7 +21451,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21488,7 +21488,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21519,7 +21519,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21550,7 +21550,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{B7B3058C-1E07-528C-A40D-F5C598CBF4EE}", "entry": { "name": "In", @@ -21581,7 +21581,7 @@ ] }, { - "key": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", + "base": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "context": "OnDemandReflected", "variant": "", "details": { @@ -21591,7 +21591,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21628,7 +21628,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21671,7 +21671,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21700,7 +21700,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21731,7 +21731,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21762,7 +21762,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21793,7 +21793,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21824,7 +21824,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21861,7 +21861,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21898,7 +21898,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21929,7 +21929,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21966,7 +21966,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -21997,7 +21997,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -22028,7 +22028,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{FDE6FB0D-D37B-58F4-9941-97F58D111A1B}", "entry": { "name": "In", @@ -22059,7 +22059,7 @@ ] }, { - "key": "{8CBDA3B7-9DCD-4A04-A12C-123C322CA63A}", + "base": "{8CBDA3B7-9DCD-4A04-A12C-123C322CA63A}", "context": "OnDemandReflected", "variant": "", "details": { @@ -22067,7 +22067,7 @@ }, "methods": [ { - "key": "GetPosition", + "base": "GetPosition", "context": "{8CBDA3B7-9DCD-4A04-A12C-123C322CA63A}", "entry": { "name": "In", @@ -22098,7 +22098,7 @@ ] }, { - "key": "GetAxisY", + "base": "GetAxisY", "context": "{8CBDA3B7-9DCD-4A04-A12C-123C322CA63A}", "entry": { "name": "In", @@ -22129,7 +22129,7 @@ ] }, { - "key": "GetAxisX", + "base": "GetAxisX", "context": "{8CBDA3B7-9DCD-4A04-A12C-123C322CA63A}", "entry": { "name": "In", @@ -22160,7 +22160,7 @@ ] }, { - "key": "FromAabb", + "base": "FromAabb", "context": "{8CBDA3B7-9DCD-4A04-A12C-123C322CA63A}", "entry": { "name": "In", @@ -22191,7 +22191,7 @@ ] }, { - "key": "FromPositionRotationAndHalfLengths", + "base": "FromPositionRotationAndHalfLengths", "context": "{8CBDA3B7-9DCD-4A04-A12C-123C322CA63A}", "entry": { "name": "In", @@ -22234,7 +22234,7 @@ ] }, { - "key": "GetAxisZ", + "base": "GetAxisZ", "context": "{8CBDA3B7-9DCD-4A04-A12C-123C322CA63A}", "entry": { "name": "In", @@ -22265,7 +22265,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "{8CBDA3B7-9DCD-4A04-A12C-123C322CA63A}", "entry": { "name": "In", @@ -22298,7 +22298,7 @@ ] }, { - "key": "{781AD4B3-F61B-5C95-9447-F90AB07AB480}", + "base": "{781AD4B3-F61B-5C95-9447-F90AB07AB480}", "context": "OnDemandReflected", "variant": "", "details": { @@ -22308,7 +22308,7 @@ }, "methods": [ { - "key": "get", + "base": "get", "context": "{781AD4B3-F61B-5C95-9447-F90AB07AB480}", "entry": { "name": "In", @@ -22341,7 +22341,7 @@ ] }, { - "key": "{33844DCE-75B0-5734-A1B7-7C44199D1D5E}", + "base": "{33844DCE-75B0-5734-A1B7-7C44199D1D5E}", "context": "OnDemandReflected", "variant": "", "details": { @@ -22349,7 +22349,7 @@ }, "methods": [ { - "key": "Get0", + "base": "Get0", "context": "{33844DCE-75B0-5734-A1B7-7C44199D1D5E}", "entry": { "name": "In", @@ -22380,7 +22380,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{33844DCE-75B0-5734-A1B7-7C44199D1D5E}", "entry": { "name": "In", @@ -22411,7 +22411,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{33844DCE-75B0-5734-A1B7-7C44199D1D5E}", "entry": { "name": "In", @@ -22436,7 +22436,7 @@ ] }, { - "key": "{009022A1-16A5-50B0-958F-F69C729985A3}", + "base": "{009022A1-16A5-50B0-958F-F69C729985A3}", "context": "OnDemandReflected", "variant": "", "details": { @@ -22446,7 +22446,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22477,7 +22477,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22508,7 +22508,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22545,7 +22545,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22574,7 +22574,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22611,7 +22611,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22642,7 +22642,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22665,7 +22665,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22696,7 +22696,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22733,7 +22733,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22764,7 +22764,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22793,7 +22793,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22822,7 +22822,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22859,7 +22859,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22896,7 +22896,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22919,7 +22919,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22950,7 +22950,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -22987,7 +22987,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -23024,7 +23024,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -23055,7 +23055,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -23086,7 +23086,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -23121,7 +23121,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -23152,7 +23152,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -23195,7 +23195,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -23224,7 +23224,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -23253,7 +23253,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{009022A1-16A5-50B0-958F-F69C729985A3}", "entry": { "name": "In", @@ -23286,7 +23286,7 @@ ] }, { - "key": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", + "base": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "context": "OnDemandReflected", "variant": "", "details": { @@ -23296,7 +23296,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23333,7 +23333,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23376,7 +23376,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23405,7 +23405,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23436,7 +23436,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23467,7 +23467,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23498,7 +23498,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23529,7 +23529,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23566,7 +23566,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23603,7 +23603,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23634,7 +23634,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23671,7 +23671,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23702,7 +23702,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23733,7 +23733,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{F8A7460C-2CC2-5755-AFDA-49B1109A751E}", "entry": { "name": "In", @@ -23764,7 +23764,7 @@ ] }, { - "key": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", + "base": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "context": "OnDemandReflected", "variant": "", "details": { @@ -23774,7 +23774,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -23811,7 +23811,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -23854,7 +23854,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -23883,7 +23883,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -23914,7 +23914,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -23945,7 +23945,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -23976,7 +23976,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -24007,7 +24007,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -24044,7 +24044,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -24081,7 +24081,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -24112,7 +24112,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -24149,7 +24149,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -24180,7 +24180,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -24211,7 +24211,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{65F4A570-CBE4-5E03-A397-7F0BD8DE3831}", "entry": { "name": "In", @@ -24242,7 +24242,7 @@ ] }, { - "key": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", + "base": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "context": "OnDemandReflected", "variant": "", "details": { @@ -24252,7 +24252,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24283,7 +24283,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24314,7 +24314,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24351,7 +24351,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24380,7 +24380,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24417,7 +24417,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24448,7 +24448,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24471,7 +24471,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24502,7 +24502,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24539,7 +24539,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24570,7 +24570,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24599,7 +24599,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24628,7 +24628,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24665,7 +24665,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24702,7 +24702,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24725,7 +24725,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24756,7 +24756,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24793,7 +24793,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24830,7 +24830,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24861,7 +24861,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24892,7 +24892,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24927,7 +24927,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -24958,7 +24958,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -25001,7 +25001,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -25030,7 +25030,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -25059,7 +25059,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{B505B05D-57BF-5A45-9113-B3A2784E2CD7}", "entry": { "name": "In", @@ -25092,7 +25092,7 @@ ] }, { - "key": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", + "base": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "context": "OnDemandReflected", "variant": "", "details": { @@ -25102,7 +25102,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25133,7 +25133,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25164,7 +25164,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25201,7 +25201,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25230,7 +25230,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25267,7 +25267,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25298,7 +25298,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25321,7 +25321,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25352,7 +25352,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25389,7 +25389,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25420,7 +25420,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25449,7 +25449,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25478,7 +25478,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25515,7 +25515,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25552,7 +25552,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25575,7 +25575,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25606,7 +25606,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25643,7 +25643,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25680,7 +25680,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25711,7 +25711,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25742,7 +25742,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25777,7 +25777,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25808,7 +25808,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25851,7 +25851,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25880,7 +25880,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25909,7 +25909,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{5600E444-1E66-5CB4-81A9-053AD1F4453E}", "entry": { "name": "In", @@ -25942,7 +25942,7 @@ ] }, { - "key": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", + "base": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "context": "OnDemandReflected", "variant": "", "details": { @@ -25952,7 +25952,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -25989,7 +25989,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26032,7 +26032,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26061,7 +26061,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26092,7 +26092,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26123,7 +26123,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26154,7 +26154,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26185,7 +26185,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26222,7 +26222,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26259,7 +26259,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26290,7 +26290,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26327,7 +26327,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26358,7 +26358,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26389,7 +26389,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{8B173592-95EA-56B6-AE88-33A58FDAF93E}", "entry": { "name": "In", @@ -26420,7 +26420,7 @@ ] }, { - "key": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", + "base": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "context": "OnDemandReflected", "variant": "", "details": { @@ -26430,7 +26430,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26461,7 +26461,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26492,7 +26492,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26529,7 +26529,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26558,7 +26558,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26595,7 +26595,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26626,7 +26626,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26649,7 +26649,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26680,7 +26680,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26717,7 +26717,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26748,7 +26748,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26777,7 +26777,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26806,7 +26806,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26843,7 +26843,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26880,7 +26880,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26903,7 +26903,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26934,7 +26934,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -26971,7 +26971,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -27008,7 +27008,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -27039,7 +27039,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -27070,7 +27070,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -27105,7 +27105,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -27136,7 +27136,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -27179,7 +27179,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -27208,7 +27208,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -27237,7 +27237,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{E8EDFF6E-951E-584D-9D47-33F43F77D859}", "entry": { "name": "In", @@ -27270,7 +27270,7 @@ ] }, { - "key": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", + "base": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "context": "OnDemandReflected", "variant": "", "details": { @@ -27280,7 +27280,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27311,7 +27311,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27342,7 +27342,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27379,7 +27379,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27408,7 +27408,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27445,7 +27445,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27476,7 +27476,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27499,7 +27499,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27530,7 +27530,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27567,7 +27567,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27598,7 +27598,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27627,7 +27627,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27656,7 +27656,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27693,7 +27693,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27730,7 +27730,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27753,7 +27753,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27784,7 +27784,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27821,7 +27821,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27858,7 +27858,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27889,7 +27889,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27920,7 +27920,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27955,7 +27955,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -27986,7 +27986,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -28029,7 +28029,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -28058,7 +28058,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -28087,7 +28087,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{82AC1A71-2EA7-5FBC-9B3B-72B1CCFDD292}", "entry": { "name": "In", @@ -28120,7 +28120,7 @@ ] }, { - "key": "{0D5A4347-BCEC-58D6-A2D5-259F78FA0BF0}", + "base": "{0D5A4347-BCEC-58D6-A2D5-259F78FA0BF0}", "context": "OnDemandReflected", "variant": "", "details": { @@ -28128,7 +28128,7 @@ }, "methods": [ { - "key": "Failure", + "base": "Failure", "context": "{0D5A4347-BCEC-58D6-A2D5-259F78FA0BF0}", "entry": { "name": "In", @@ -28159,7 +28159,7 @@ ] }, { - "key": "Success", + "base": "Success", "context": "{0D5A4347-BCEC-58D6-A2D5-259F78FA0BF0}", "entry": { "name": "In", @@ -28182,7 +28182,7 @@ ] }, { - "key": "GetError", + "base": "GetError", "context": "{0D5A4347-BCEC-58D6-A2D5-259F78FA0BF0}", "entry": { "name": "In", @@ -28213,7 +28213,7 @@ ] }, { - "key": "IsSuccess", + "base": "IsSuccess", "context": "{0D5A4347-BCEC-58D6-A2D5-259F78FA0BF0}", "entry": { "name": "In", @@ -28246,7 +28246,7 @@ ] }, { - "key": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", + "base": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "context": "OnDemandReflected", "variant": "", "details": { @@ -28256,7 +28256,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28294,7 +28294,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28338,7 +28338,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28367,7 +28367,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28398,7 +28398,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28429,7 +28429,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28460,7 +28460,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28491,7 +28491,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28529,7 +28529,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28567,7 +28567,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28598,7 +28598,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28636,7 +28636,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28667,7 +28667,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28698,7 +28698,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{E77BCFE0-1C44-57B3-9651-CA647A4F4980}", "entry": { "name": "In", @@ -28729,7 +28729,7 @@ ] }, { - "key": "{36AD4D04-5A5D-52DC-A864-7027D563EFA2}", + "base": "{36AD4D04-5A5D-52DC-A864-7027D563EFA2}", "context": "OnDemandReflected", "variant": "", "details": { @@ -28737,7 +28737,7 @@ }, "methods": [ { - "key": "HasHandlerConnected", + "base": "HasHandlerConnected", "context": "{36AD4D04-5A5D-52DC-A864-7027D563EFA2}", "entry": { "name": "In", @@ -28770,7 +28770,7 @@ ] }, { - "key": "{D1FEE25B-F252-5625-863C-1312E1F822A0}", + "base": "{D1FEE25B-F252-5625-863C-1312E1F822A0}", "context": "OnDemandReflected", "variant": "", "details": { @@ -28778,7 +28778,7 @@ }, "methods": [ { - "key": "Failure", + "base": "Failure", "context": "{D1FEE25B-F252-5625-863C-1312E1F822A0}", "entry": { "name": "In", @@ -28801,7 +28801,7 @@ ] }, { - "key": "Success", + "base": "Success", "context": "{D1FEE25B-F252-5625-863C-1312E1F822A0}", "entry": { "name": "In", @@ -28832,7 +28832,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "context": "{D1FEE25B-F252-5625-863C-1312E1F822A0}", "entry": { "name": "In", @@ -28863,7 +28863,7 @@ ] }, { - "key": "IsSuccess", + "base": "IsSuccess", "context": "{D1FEE25B-F252-5625-863C-1312E1F822A0}", "entry": { "name": "In", @@ -28896,7 +28896,7 @@ ] }, { - "key": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", + "base": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "context": "OnDemandReflected", "variant": "", "details": { @@ -28906,7 +28906,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -28937,7 +28937,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -28968,7 +28968,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29005,7 +29005,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29034,7 +29034,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29071,7 +29071,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29102,7 +29102,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29125,7 +29125,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29156,7 +29156,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29193,7 +29193,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29224,7 +29224,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29253,7 +29253,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29282,7 +29282,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29319,7 +29319,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29356,7 +29356,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29379,7 +29379,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29410,7 +29410,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29447,7 +29447,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29484,7 +29484,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29515,7 +29515,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29546,7 +29546,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29581,7 +29581,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29612,7 +29612,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29655,7 +29655,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29684,7 +29684,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29713,7 +29713,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{33492660-D9A8-5E84-9CFB-03CBCD87919F}", "entry": { "name": "In", @@ -29746,7 +29746,7 @@ ] }, { - "key": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", + "base": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "context": "OnDemandReflected", "variant": "", "details": { @@ -29756,7 +29756,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -29793,7 +29793,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -29836,7 +29836,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -29865,7 +29865,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -29896,7 +29896,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -29927,7 +29927,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -29958,7 +29958,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -29989,7 +29989,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -30026,7 +30026,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -30063,7 +30063,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -30094,7 +30094,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -30131,7 +30131,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -30162,7 +30162,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -30193,7 +30193,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{6E6962E1-04C9-56F9-89C4-361031CC1384}", "entry": { "name": "In", @@ -30224,7 +30224,7 @@ ] }, { - "key": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", + "base": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "context": "OnDemandReflected", "variant": "", "details": { @@ -30234,7 +30234,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30265,7 +30265,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30296,7 +30296,7 @@ ] }, { - "key": "contains", + "base": "contains", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30333,7 +30333,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30370,7 +30370,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30401,7 +30401,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30430,7 +30430,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30461,7 +30461,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30498,7 +30498,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30535,7 +30535,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30566,7 +30566,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30597,7 +30597,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30628,7 +30628,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{8A408689-0904-5A87-B6C4-FAB519089D8B}", "entry": { "name": "In", @@ -30659,7 +30659,7 @@ ] }, { - "key": "{C0311D23-97F1-556C-B6A4-ECD726543686}", + "base": "{C0311D23-97F1-556C-B6A4-ECD726543686}", "context": "OnDemandReflected", "variant": "", "details": { @@ -30669,7 +30669,7 @@ }, "methods": [ { - "key": "get", + "base": "get", "context": "{C0311D23-97F1-556C-B6A4-ECD726543686}", "entry": { "name": "In", @@ -30702,7 +30702,7 @@ ] }, { - "key": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", + "base": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "context": "OnDemandReflected", "variant": "", "details": { @@ -30712,7 +30712,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -30749,7 +30749,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -30792,7 +30792,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -30821,7 +30821,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -30852,7 +30852,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -30883,7 +30883,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -30914,7 +30914,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -30945,7 +30945,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -30982,7 +30982,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -31019,7 +31019,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -31050,7 +31050,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -31087,7 +31087,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -31118,7 +31118,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -31149,7 +31149,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{41599134-C1BF-51A5-B66A-7351FFD5EF42}", "entry": { "name": "In", @@ -31180,7 +31180,7 @@ ] }, { - "key": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", + "base": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "context": "OnDemandReflected", "variant": "", "details": { @@ -31190,7 +31190,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31227,7 +31227,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31270,7 +31270,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31299,7 +31299,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31330,7 +31330,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31361,7 +31361,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31392,7 +31392,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31423,7 +31423,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31460,7 +31460,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31497,7 +31497,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31528,7 +31528,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31565,7 +31565,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31596,7 +31596,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31627,7 +31627,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{EEB1809B-78BA-5073-AEF8-8CC85F43DB4A}", "entry": { "name": "In", @@ -31658,7 +31658,7 @@ ] }, { - "key": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", + "base": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "context": "OnDemandReflected", "variant": "", "details": { @@ -31666,7 +31666,7 @@ }, "methods": [ { - "key": "remove_prefix", + "base": "remove_prefix", "context": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "entry": { "name": "In", @@ -31695,7 +31695,7 @@ ] }, { - "key": "substr", + "base": "substr", "context": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "entry": { "name": "In", @@ -31738,7 +31738,7 @@ ] }, { - "key": "find", + "base": "find", "context": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "entry": { "name": "In", @@ -31781,7 +31781,7 @@ ] }, { - "key": "length", + "base": "length", "context": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "entry": { "name": "In", @@ -31812,7 +31812,7 @@ ] }, { - "key": "data", + "base": "data", "context": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "entry": { "name": "In", @@ -31843,7 +31843,7 @@ ] }, { - "key": "ToString", + "base": "ToString", "context": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "entry": { "name": "In", @@ -31874,7 +31874,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "entry": { "name": "In", @@ -31905,7 +31905,7 @@ ] }, { - "key": "remove_suffix", + "base": "remove_suffix", "context": "{7114E998-A8B4-519B-9342-A86D1587B4F7}", "entry": { "name": "In", @@ -31936,7 +31936,7 @@ ] }, { - "key": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", + "base": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "context": "OnDemandReflected", "variant": "", "details": { @@ -31946,7 +31946,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -31983,7 +31983,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32026,7 +32026,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32055,7 +32055,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32086,7 +32086,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32117,7 +32117,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32148,7 +32148,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32179,7 +32179,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32216,7 +32216,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32253,7 +32253,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32284,7 +32284,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32321,7 +32321,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32352,7 +32352,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32383,7 +32383,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{F17D3A96-7E22-5A6A-87D1-B0FB6E3A6C32}", "entry": { "name": "In", @@ -32414,7 +32414,7 @@ ] }, { - "key": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", + "base": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", "context": "OnDemandReflected", "variant": "", "details": { @@ -32422,7 +32422,7 @@ }, "methods": [ { - "key": "IsLoading", + "base": "IsLoading", "context": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", "entry": { "name": "In", @@ -32453,7 +32453,7 @@ ] }, { - "key": "GetType", + "base": "GetType", "context": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", "entry": { "name": "In", @@ -32484,7 +32484,7 @@ ] }, { - "key": "IsError", + "base": "IsError", "context": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", "entry": { "name": "In", @@ -32515,7 +32515,7 @@ ] }, { - "key": "GetHint", + "base": "GetHint", "context": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", "entry": { "name": "In", @@ -32546,7 +32546,7 @@ ] }, { - "key": "GetData", + "base": "GetData", "context": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", "entry": { "name": "In", @@ -32577,7 +32577,7 @@ ] }, { - "key": "IsReady", + "base": "IsReady", "context": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", "entry": { "name": "In", @@ -32608,7 +32608,7 @@ ] }, { - "key": "GetStatus", + "base": "GetStatus", "context": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", "entry": { "name": "In", @@ -32639,7 +32639,7 @@ ] }, { - "key": "GetId", + "base": "GetId", "context": "{4BA06517-EDEC-59DC-B5FE-2FDE64BBEF6E}", "entry": { "name": "In", @@ -32672,7 +32672,7 @@ ] }, { - "key": "{549C99B0-35FE-515D-9066-DFA9A1131500}", + "base": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "context": "OnDemandReflected", "variant": "", "details": { @@ -32682,7 +32682,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -32719,7 +32719,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -32762,7 +32762,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -32791,7 +32791,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -32822,7 +32822,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -32853,7 +32853,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -32884,7 +32884,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -32915,7 +32915,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -32952,7 +32952,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -32989,7 +32989,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -33020,7 +33020,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -33057,7 +33057,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -33088,7 +33088,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -33119,7 +33119,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{549C99B0-35FE-515D-9066-DFA9A1131500}", "entry": { "name": "In", @@ -33150,7 +33150,7 @@ ] }, { - "key": "{D8B65A5B-38FF-4B41-9FA4-FCA080D75625}", + "base": "{D8B65A5B-38FF-4B41-9FA4-FCA080D75625}", "context": "OnDemandReflected", "variant": "", "details": { @@ -33158,7 +33158,7 @@ }, "methods": [ { - "key": "FromString", + "base": "FromString", "context": "{D8B65A5B-38FF-4B41-9FA4-FCA080D75625}", "entry": { "name": "In", @@ -33191,7 +33191,7 @@ ] }, { - "key": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", + "base": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "context": "OnDemandReflected", "variant": "", "details": { @@ -33199,7 +33199,7 @@ }, "methods": [ { - "key": "SetW", + "base": "SetW", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33236,7 +33236,7 @@ ] }, { - "key": "SetX", + "base": "SetX", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33273,7 +33273,7 @@ ] }, { - "key": "IsNormalized", + "base": "IsNormalized", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33310,7 +33310,7 @@ ] }, { - "key": "LengthSquared", + "base": "LengthSquared", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33341,7 +33341,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33378,7 +33378,7 @@ ] }, { - "key": "Negate", + "base": "Negate", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33409,7 +33409,7 @@ ] }, { - "key": "Dot", + "base": "Dot", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33446,7 +33446,7 @@ ] }, { - "key": "FromValues", + "base": "FromValues", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33495,7 +33495,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33526,7 +33526,7 @@ ] }, { - "key": "Length", + "base": "Length", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33557,7 +33557,7 @@ ] }, { - "key": "MultiplyByVector", + "base": "MultiplyByVector", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33594,7 +33594,7 @@ ] }, { - "key": "DirectionTo", + "base": "DirectionTo", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33637,7 +33637,7 @@ ] }, { - "key": "DivideByVector", + "base": "DivideByVector", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33674,7 +33674,7 @@ ] }, { - "key": "LengthReciprocal", + "base": "LengthReciprocal", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33705,7 +33705,7 @@ ] }, { - "key": "SetZ", + "base": "SetZ", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33742,7 +33742,7 @@ ] }, { - "key": "Normalize", + "base": "Normalize", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33773,7 +33773,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33810,7 +33810,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33853,7 +33853,7 @@ ] }, { - "key": "IsZero", + "base": "IsZero", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33890,7 +33890,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33927,7 +33927,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33964,7 +33964,7 @@ ] }, { - "key": "Reciprocal", + "base": "Reciprocal", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -33995,7 +33995,7 @@ ] }, { - "key": "Subtract", + "base": "Subtract", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -34032,7 +34032,7 @@ ] }, { - "key": "Absolute", + "base": "Absolute", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -34063,7 +34063,7 @@ ] }, { - "key": "SetY", + "base": "SetY", "context": "{66027D7A-FCD1-4592-93E5-EB4B7F4BD671}", "entry": { "name": "In", @@ -34102,7 +34102,7 @@ ] }, { - "key": "{36669095-4036-5479-B116-41A32E4E16EA}", + "base": "{36669095-4036-5479-B116-41A32E4E16EA}", "context": "OnDemandReflected", "variant": "", "details": { @@ -34110,7 +34110,7 @@ }, "methods": [ { - "key": "Get0", + "base": "Get0", "context": "{36669095-4036-5479-B116-41A32E4E16EA}", "entry": { "name": "In", @@ -34141,7 +34141,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{36669095-4036-5479-B116-41A32E4E16EA}", "entry": { "name": "In", @@ -34172,7 +34172,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{36669095-4036-5479-B116-41A32E4E16EA}", "entry": { "name": "In", @@ -34197,7 +34197,7 @@ ] }, { - "key": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", + "base": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "context": "OnDemandReflected", "variant": "", "details": { @@ -34207,7 +34207,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34244,7 +34244,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34287,7 +34287,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34316,7 +34316,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34347,7 +34347,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34378,7 +34378,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34409,7 +34409,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34440,7 +34440,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34477,7 +34477,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34514,7 +34514,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34545,7 +34545,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34582,7 +34582,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34613,7 +34613,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34644,7 +34644,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{87C2A8D1-7954-5AF0-8E1A-B0BB94A6A291}", "entry": { "name": "In", @@ -34675,7 +34675,7 @@ ] }, { - "key": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", + "base": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "context": "OnDemandReflected", "variant": "", "details": { @@ -34685,7 +34685,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -34716,7 +34716,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -34747,7 +34747,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -34784,7 +34784,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -34813,7 +34813,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -34850,7 +34850,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -34881,7 +34881,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -34904,7 +34904,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -34935,7 +34935,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -34972,7 +34972,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35003,7 +35003,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35032,7 +35032,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35061,7 +35061,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35098,7 +35098,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35135,7 +35135,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35158,7 +35158,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35189,7 +35189,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35226,7 +35226,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35263,7 +35263,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35294,7 +35294,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35325,7 +35325,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35360,7 +35360,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35391,7 +35391,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35434,7 +35434,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35463,7 +35463,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35492,7 +35492,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{F31F64EA-E384-5536-ACD6-8F01849730FC}", "entry": { "name": "In", @@ -35525,7 +35525,7 @@ ] }, { - "key": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", + "base": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -35535,7 +35535,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35566,7 +35566,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35597,7 +35597,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35634,7 +35634,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35663,7 +35663,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35700,7 +35700,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35731,7 +35731,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35754,7 +35754,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35785,7 +35785,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35822,7 +35822,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35853,7 +35853,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35882,7 +35882,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35911,7 +35911,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35948,7 +35948,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -35985,7 +35985,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36008,7 +36008,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36039,7 +36039,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36076,7 +36076,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36113,7 +36113,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36144,7 +36144,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36175,7 +36175,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36210,7 +36210,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36241,7 +36241,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36284,7 +36284,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36313,7 +36313,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36342,7 +36342,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}", "entry": { "name": "In", @@ -36375,7 +36375,7 @@ ] }, { - "key": "{537AB179-E23C-492D-8EF7-53845A2DB163}", + "base": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "context": "OnDemandReflected", "variant": "", "details": { @@ -36383,7 +36383,7 @@ }, "methods": [ { - "key": "GetRow", + "base": "GetRow", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36420,7 +36420,7 @@ ] }, { - "key": "FromRotationXDegrees", + "base": "FromRotationXDegrees", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36451,7 +36451,7 @@ ] }, { - "key": "FromRotationZDegrees", + "base": "FromRotationZDegrees", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36482,7 +36482,7 @@ ] }, { - "key": "FromRows", + "base": "FromRows", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36531,7 +36531,7 @@ ] }, { - "key": "ToScale", + "base": "ToScale", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36562,7 +36562,7 @@ ] }, { - "key": "FromQuaternion", + "base": "FromQuaternion", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36593,7 +36593,7 @@ ] }, { - "key": "FromScale", + "base": "FromScale", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36624,7 +36624,7 @@ ] }, { - "key": "FromTransform", + "base": "FromTransform", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36655,7 +36655,7 @@ ] }, { - "key": "GetTranslation", + "base": "GetTranslation", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36686,7 +36686,7 @@ ] }, { - "key": "FromQuaternionAndTranslation", + "base": "FromQuaternionAndTranslation", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36723,7 +36723,7 @@ ] }, { - "key": "GetColumn", + "base": "GetColumn", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36760,7 +36760,7 @@ ] }, { - "key": "GetDiagonal", + "base": "GetDiagonal", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36791,7 +36791,7 @@ ] }, { - "key": "Invert", + "base": "Invert", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36822,7 +36822,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36865,7 +36865,7 @@ ] }, { - "key": "FromMatrix3x3", + "base": "FromMatrix3x3", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36896,7 +36896,7 @@ ] }, { - "key": "GetColumns", + "base": "GetColumns", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36927,7 +36927,7 @@ ] }, { - "key": "GetRows", + "base": "GetRows", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36958,7 +36958,7 @@ ] }, { - "key": "MultiplyByMatrix", + "base": "MultiplyByMatrix", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -36995,7 +36995,7 @@ ] }, { - "key": "FromDiagonal", + "base": "FromDiagonal", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -37026,7 +37026,7 @@ ] }, { - "key": "FromRotationYDegrees", + "base": "FromRotationYDegrees", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -37057,7 +37057,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -37100,7 +37100,7 @@ ] }, { - "key": "Transpose", + "base": "Transpose", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -37131,7 +37131,7 @@ ] }, { - "key": "FromColumns", + "base": "FromColumns", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -37180,7 +37180,7 @@ ] }, { - "key": "FromTranslation", + "base": "FromTranslation", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -37211,7 +37211,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -37242,7 +37242,7 @@ ] }, { - "key": "MultiplyByVector", + "base": "MultiplyByVector", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -37279,7 +37279,7 @@ ] }, { - "key": "Zero", + "base": "Zero", "context": "{537AB179-E23C-492D-8EF7-53845A2DB163}", "entry": { "name": "In", @@ -37304,7 +37304,7 @@ ] }, { - "key": "{C338C806-EBD9-5471-AB22-66F7584A5890}", + "base": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "context": "OnDemandReflected", "variant": "", "details": { @@ -37314,7 +37314,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37351,7 +37351,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37394,7 +37394,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37423,7 +37423,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37454,7 +37454,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37485,7 +37485,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37516,7 +37516,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37547,7 +37547,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37584,7 +37584,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37621,7 +37621,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37652,7 +37652,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37689,7 +37689,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37720,7 +37720,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37751,7 +37751,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{C338C806-EBD9-5471-AB22-66F7584A5890}", "entry": { "name": "In", @@ -37782,7 +37782,7 @@ ] }, { - "key": "{097C0043-AC31-5230-B07E-330022B002DB}", + "base": "{097C0043-AC31-5230-B07E-330022B002DB}", "context": "OnDemandReflected", "variant": "", "details": { @@ -37792,7 +37792,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -37829,7 +37829,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -37872,7 +37872,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -37901,7 +37901,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -37932,7 +37932,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -37963,7 +37963,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -37994,7 +37994,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -38025,7 +38025,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -38062,7 +38062,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -38099,7 +38099,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -38130,7 +38130,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -38167,7 +38167,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -38198,7 +38198,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -38229,7 +38229,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{097C0043-AC31-5230-B07E-330022B002DB}", "entry": { "name": "In", @@ -38260,7 +38260,7 @@ ] }, { - "key": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", + "base": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "context": "OnDemandReflected", "variant": "", "details": { @@ -38270,7 +38270,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38301,7 +38301,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38332,7 +38332,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38369,7 +38369,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38398,7 +38398,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38435,7 +38435,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38466,7 +38466,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38489,7 +38489,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38520,7 +38520,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38557,7 +38557,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38588,7 +38588,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38617,7 +38617,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38646,7 +38646,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38683,7 +38683,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38720,7 +38720,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38743,7 +38743,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38774,7 +38774,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38811,7 +38811,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38848,7 +38848,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38879,7 +38879,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38910,7 +38910,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38945,7 +38945,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -38976,7 +38976,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -39019,7 +39019,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -39048,7 +39048,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -39077,7 +39077,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{240FCAC2-0B29-5CD9-9AFE-9E7A135428BB}", "entry": { "name": "In", @@ -39110,7 +39110,7 @@ ] }, { - "key": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", + "base": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "context": "OnDemandReflected", "variant": "", "details": { @@ -39118,7 +39118,7 @@ }, "methods": [ { - "key": "RandomPointOnSphere", + "base": "RandomPointOnSphere", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39149,7 +39149,7 @@ ] }, { - "key": "RandomPointInCircle", + "base": "RandomPointInCircle", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39180,7 +39180,7 @@ ] }, { - "key": "RandomPointInSquare", + "base": "RandomPointInSquare", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39211,7 +39211,7 @@ ] }, { - "key": "RandomUnitVector2", + "base": "RandomUnitVector2", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39234,7 +39234,7 @@ ] }, { - "key": "RandomVector2", + "base": "RandomVector2", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39271,7 +39271,7 @@ ] }, { - "key": "RandomPointInCylinder", + "base": "RandomPointInCylinder", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39308,7 +39308,7 @@ ] }, { - "key": "RandomQuaternion", + "base": "RandomQuaternion", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39345,7 +39345,7 @@ ] }, { - "key": "RandomVector4", + "base": "RandomVector4", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39382,7 +39382,7 @@ ] }, { - "key": "RandomPointInBox", + "base": "RandomPointInBox", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39413,7 +39413,7 @@ ] }, { - "key": "RandomPointOnCircle", + "base": "RandomPointOnCircle", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39444,7 +39444,7 @@ ] }, { - "key": "RandomPointInEllipsoid", + "base": "RandomPointInEllipsoid", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39475,7 +39475,7 @@ ] }, { - "key": "RandomInteger", + "base": "RandomInteger", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39512,7 +39512,7 @@ ] }, { - "key": "RandomPointInWedge", + "base": "RandomPointInWedge", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39573,7 +39573,7 @@ ] }, { - "key": "RandomGrayscale", + "base": "RandomGrayscale", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39610,7 +39610,7 @@ ] }, { - "key": "RandomPointInCone", + "base": "RandomPointInCone", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39647,7 +39647,7 @@ ] }, { - "key": "RandomColor", + "base": "RandomColor", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39684,7 +39684,7 @@ ] }, { - "key": "RandomNumber", + "base": "RandomNumber", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39721,7 +39721,7 @@ ] }, { - "key": "RandomPointInSphere", + "base": "RandomPointInSphere", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39752,7 +39752,7 @@ ] }, { - "key": "RandomUnitVector3", + "base": "RandomUnitVector3", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39775,7 +39775,7 @@ ] }, { - "key": "RandomVector3", + "base": "RandomVector3", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39812,7 +39812,7 @@ ] }, { - "key": "RandomPointInArc", + "base": "RandomPointInArc", "context": "{D9DF1385-6C5C-4E41-94CA-8B10E9D8FAAF}", "entry": { "name": "In", @@ -39869,7 +39869,7 @@ ] }, { - "key": "{7352CD6D-91DA-536F-BFCC-BC513FB48B2D}", + "base": "{7352CD6D-91DA-536F-BFCC-BC513FB48B2D}", "context": "OnDemandReflected", "variant": "", "details": { @@ -39877,7 +39877,7 @@ }, "methods": [ { - "key": "GetSize", + "base": "GetSize", "context": "{7352CD6D-91DA-536F-BFCC-BC513FB48B2D}", "entry": { "name": "In", @@ -39900,7 +39900,7 @@ ] }, { - "key": "Get3", + "base": "Get3", "context": "{7352CD6D-91DA-536F-BFCC-BC513FB48B2D}", "entry": { "name": "In", @@ -39931,7 +39931,7 @@ ] }, { - "key": "Get2", + "base": "Get2", "context": "{7352CD6D-91DA-536F-BFCC-BC513FB48B2D}", "entry": { "name": "In", @@ -39962,7 +39962,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{7352CD6D-91DA-536F-BFCC-BC513FB48B2D}", "entry": { "name": "In", @@ -39993,7 +39993,7 @@ ] }, { - "key": "Get0", + "base": "Get0", "context": "{7352CD6D-91DA-536F-BFCC-BC513FB48B2D}", "entry": { "name": "In", @@ -40026,7 +40026,7 @@ ] }, { - "key": "{34333904-F6D2-5090-9D5D-B52D135144EA}", + "base": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "context": "OnDemandReflected", "variant": "", "details": { @@ -40036,7 +40036,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40073,7 +40073,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40116,7 +40116,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40145,7 +40145,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40176,7 +40176,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40207,7 +40207,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40238,7 +40238,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40269,7 +40269,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40306,7 +40306,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40343,7 +40343,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40374,7 +40374,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40411,7 +40411,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40442,7 +40442,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40473,7 +40473,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{34333904-F6D2-5090-9D5D-B52D135144EA}", "entry": { "name": "In", @@ -40504,7 +40504,7 @@ ] }, { - "key": "{E51F56F8-D4E9-5C9F-AE6F-3F9C5D28F4C6}", + "base": "{E51F56F8-D4E9-5C9F-AE6F-3F9C5D28F4C6}", "context": "OnDemandReflected", "variant": "", "details": { @@ -40514,7 +40514,7 @@ }, "methods": [ { - "key": "get", + "base": "get", "context": "{E51F56F8-D4E9-5C9F-AE6F-3F9C5D28F4C6}", "entry": { "name": "In", @@ -40547,7 +40547,7 @@ ] }, { - "key": "{CD6328B1-6CC4-54CE-97F4-9D91F5A242F4}", + "base": "{CD6328B1-6CC4-54CE-97F4-9D91F5A242F4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -40555,7 +40555,7 @@ }, "methods": [ { - "key": "Get0", + "base": "Get0", "context": "{CD6328B1-6CC4-54CE-97F4-9D91F5A242F4}", "entry": { "name": "In", @@ -40586,7 +40586,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{CD6328B1-6CC4-54CE-97F4-9D91F5A242F4}", "entry": { "name": "In", @@ -40617,7 +40617,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{CD6328B1-6CC4-54CE-97F4-9D91F5A242F4}", "entry": { "name": "In", @@ -40642,7 +40642,7 @@ ] }, { - "key": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", + "base": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "context": "OnDemandReflected", "variant": "", "details": { @@ -40652,7 +40652,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -40690,7 +40690,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -40734,7 +40734,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -40763,7 +40763,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -40794,7 +40794,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -40825,7 +40825,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -40856,7 +40856,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -40887,7 +40887,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -40925,7 +40925,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -40963,7 +40963,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -40994,7 +40994,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -41032,7 +41032,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -41063,7 +41063,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -41094,7 +41094,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{4A885DC2-5C26-52F0-BA83-61EEC0FB5E4E}", "entry": { "name": "In", @@ -41125,7 +41125,7 @@ ] }, { - "key": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", + "base": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "context": "OnDemandReflected", "variant": "", "details": { @@ -41135,7 +41135,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41172,7 +41172,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41215,7 +41215,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41244,7 +41244,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41275,7 +41275,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41306,7 +41306,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41337,7 +41337,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41368,7 +41368,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41405,7 +41405,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41442,7 +41442,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41473,7 +41473,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41510,7 +41510,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41541,7 +41541,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41572,7 +41572,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{D0A15826-BEFB-5FBD-BEB4-609E7F2B67AD}", "entry": { "name": "In", @@ -41603,7 +41603,7 @@ ] }, { - "key": "{BC094BE5-5849-5E61-82B9-FB3B434F6BAD}", + "base": "{BC094BE5-5849-5E61-82B9-FB3B434F6BAD}", "context": "OnDemandReflected", "variant": "", "details": { @@ -41611,7 +41611,7 @@ }, "methods": [ { - "key": "GetError", + "base": "GetError", "context": "{BC094BE5-5849-5E61-82B9-FB3B434F6BAD}", "entry": { "name": "In", @@ -41642,7 +41642,7 @@ ] }, { - "key": "IsSuccess", + "base": "IsSuccess", "context": "{BC094BE5-5849-5E61-82B9-FB3B434F6BAD}", "entry": { "name": "In", @@ -41673,7 +41673,7 @@ ] }, { - "key": "Success", + "base": "Success", "context": "{BC094BE5-5849-5E61-82B9-FB3B434F6BAD}", "entry": { "name": "In", @@ -41704,7 +41704,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "context": "{BC094BE5-5849-5E61-82B9-FB3B434F6BAD}", "entry": { "name": "In", @@ -41735,7 +41735,7 @@ ] }, { - "key": "Failure", + "base": "Failure", "context": "{BC094BE5-5849-5E61-82B9-FB3B434F6BAD}", "entry": { "name": "In", @@ -41768,7 +41768,7 @@ ] }, { - "key": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", + "base": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "context": "OnDemandReflected", "variant": "", "details": { @@ -41778,7 +41778,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -41816,7 +41816,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -41861,7 +41861,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -41890,7 +41890,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -41921,7 +41921,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -41952,7 +41952,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -41983,7 +41983,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -42014,7 +42014,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -42052,7 +42052,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -42090,7 +42090,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -42121,7 +42121,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -42160,7 +42160,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -42191,7 +42191,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -42222,7 +42222,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{D33569A9-EFFC-566C-8CCC-74D6E086A1B0}", "entry": { "name": "In", @@ -42253,7 +42253,7 @@ ] }, { - "key": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", + "base": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "context": "OnDemandReflected", "variant": "", "details": { @@ -42263,7 +42263,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42300,7 +42300,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42343,7 +42343,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42372,7 +42372,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42403,7 +42403,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42434,7 +42434,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42465,7 +42465,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42496,7 +42496,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42533,7 +42533,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42570,7 +42570,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42601,7 +42601,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42638,7 +42638,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42669,7 +42669,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42700,7 +42700,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{E32B8C9D-F84C-54FF-91DA-84C99FBBB0B6}", "entry": { "name": "In", @@ -42731,7 +42731,7 @@ ] }, { - "key": "{1F24C807-BE2F-54C7-8F2B-498727236DF5}", + "base": "{1F24C807-BE2F-54C7-8F2B-498727236DF5}", "context": "OnDemandReflected", "variant": "", "details": { @@ -42739,7 +42739,7 @@ }, "methods": [ { - "key": "Get0", + "base": "Get0", "context": "{1F24C807-BE2F-54C7-8F2B-498727236DF5}", "entry": { "name": "In", @@ -42770,7 +42770,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{1F24C807-BE2F-54C7-8F2B-498727236DF5}", "entry": { "name": "In", @@ -42801,7 +42801,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{1F24C807-BE2F-54C7-8F2B-498727236DF5}", "entry": { "name": "In", @@ -42826,7 +42826,7 @@ ] }, { - "key": "{5B700838-21A2-4579-9303-F4A4822AFEF4}", + "base": "{5B700838-21A2-4579-9303-F4A4822AFEF4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -42834,7 +42834,7 @@ }, "methods": [ { - "key": "ToLower", + "base": "ToLower", "context": "{5B700838-21A2-4579-9303-F4A4822AFEF4}", "entry": { "name": "In", @@ -42865,7 +42865,7 @@ ] }, { - "key": "ToUpper", + "base": "ToUpper", "context": "{5B700838-21A2-4579-9303-F4A4822AFEF4}", "entry": { "name": "In", @@ -42896,7 +42896,7 @@ ] }, { - "key": "Substring", + "base": "Substring", "context": "{5B700838-21A2-4579-9303-F4A4822AFEF4}", "entry": { "name": "In", @@ -42941,7 +42941,7 @@ ] }, { - "key": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", + "base": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "context": "OnDemandReflected", "variant": "", "details": { @@ -42951,7 +42951,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -42988,7 +42988,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43031,7 +43031,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43060,7 +43060,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43091,7 +43091,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43122,7 +43122,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43153,7 +43153,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43184,7 +43184,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43221,7 +43221,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43258,7 +43258,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43289,7 +43289,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43326,7 +43326,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43357,7 +43357,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43388,7 +43388,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{79F6FAE7-FB1D-5030-91D5-766E5861D7D5}", "entry": { "name": "In", @@ -43419,7 +43419,7 @@ ] }, { - "key": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", + "base": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "context": "OnDemandReflected", "variant": "", "details": { @@ -43427,7 +43427,7 @@ }, "methods": [ { - "key": "Overlaps", + "base": "Overlaps", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43464,7 +43464,7 @@ ] }, { - "key": "SurfaceArea", + "base": "SurfaceArea", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43495,7 +43495,7 @@ ] }, { - "key": "ToSphere", + "base": "ToSphere", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43526,7 +43526,7 @@ ] }, { - "key": "FromOBB", + "base": "FromOBB", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43557,7 +43557,7 @@ ] }, { - "key": "Translate", + "base": "Translate", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43594,7 +43594,7 @@ ] }, { - "key": "ContainsVector3", + "base": "ContainsVector3", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43631,7 +43631,7 @@ ] }, { - "key": "Distance", + "base": "Distance", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43668,7 +43668,7 @@ ] }, { - "key": "FromPoint", + "base": "FromPoint", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43699,7 +43699,7 @@ ] }, { - "key": "Null", + "base": "Null", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43722,7 +43722,7 @@ ] }, { - "key": "YExtent", + "base": "YExtent", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43753,7 +43753,7 @@ ] }, { - "key": "Clamp", + "base": "Clamp", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43790,7 +43790,7 @@ ] }, { - "key": "ContainsAABB", + "base": "ContainsAABB", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43827,7 +43827,7 @@ ] }, { - "key": "Expand", + "base": "Expand", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43864,7 +43864,7 @@ ] }, { - "key": "Extents", + "base": "Extents", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43895,7 +43895,7 @@ ] }, { - "key": "FromCenterHalfExtents", + "base": "FromCenterHalfExtents", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43932,7 +43932,7 @@ ] }, { - "key": "GetMin", + "base": "GetMin", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -43963,7 +43963,7 @@ ] }, { - "key": "ApplyTransform", + "base": "ApplyTransform", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44000,7 +44000,7 @@ ] }, { - "key": "Center", + "base": "Center", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44031,7 +44031,7 @@ ] }, { - "key": "FromMinMax", + "base": "FromMinMax", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44068,7 +44068,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44099,7 +44099,7 @@ ] }, { - "key": "IsValid", + "base": "IsValid", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44130,7 +44130,7 @@ ] }, { - "key": "GetMax", + "base": "GetMax", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44161,7 +44161,7 @@ ] }, { - "key": "XExtent", + "base": "XExtent", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44192,7 +44192,7 @@ ] }, { - "key": "AddPoint", + "base": "AddPoint", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44229,7 +44229,7 @@ ] }, { - "key": "AddAABB", + "base": "AddAABB", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44266,7 +44266,7 @@ ] }, { - "key": "FromCenterRadius", + "base": "FromCenterRadius", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44303,7 +44303,7 @@ ] }, { - "key": "ZExtent", + "base": "ZExtent", "context": "{AB0C2753-680E-47AD-8277-66B3AC01C659}", "entry": { "name": "In", @@ -44336,7 +44336,7 @@ ] }, { - "key": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", + "base": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "context": "OnDemandReflected", "variant": "", "details": { @@ -44344,7 +44344,7 @@ }, "methods": [ { - "key": "Subtract", + "base": "Subtract", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44381,7 +44381,7 @@ ] }, { - "key": "RotationYDegrees", + "base": "RotationYDegrees", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44412,7 +44412,7 @@ ] }, { - "key": "Normalize", + "base": "Normalize", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44443,7 +44443,7 @@ ] }, { - "key": "LengthReciprocal", + "base": "LengthReciprocal", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44474,7 +44474,7 @@ ] }, { - "key": "CreateFromEulerAngles", + "base": "CreateFromEulerAngles", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44517,7 +44517,7 @@ ] }, { - "key": "IsIdentity", + "base": "IsIdentity", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44554,7 +44554,7 @@ ] }, { - "key": "FromTransform", + "base": "FromTransform", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44585,7 +44585,7 @@ ] }, { - "key": "Lerp", + "base": "Lerp", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44628,7 +44628,7 @@ ] }, { - "key": "RotationZDegrees", + "base": "RotationZDegrees", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44659,7 +44659,7 @@ ] }, { - "key": "ConvertTransformToRotation", + "base": "ConvertTransformToRotation", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44690,7 +44690,7 @@ ] }, { - "key": "ShortestArc", + "base": "ShortestArc", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44727,7 +44727,7 @@ ] }, { - "key": "RotationXDegrees", + "base": "RotationXDegrees", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44758,7 +44758,7 @@ ] }, { - "key": "IsZero", + "base": "IsZero", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44795,7 +44795,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44838,7 +44838,7 @@ ] }, { - "key": "Length", + "base": "Length", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44869,7 +44869,7 @@ ] }, { - "key": "Conjugate", + "base": "Conjugate", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44900,7 +44900,7 @@ ] }, { - "key": "ToAngleDegrees", + "base": "ToAngleDegrees", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44931,7 +44931,7 @@ ] }, { - "key": "Dot", + "base": "Dot", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44968,7 +44968,7 @@ ] }, { - "key": "Negate", + "base": "Negate", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -44999,7 +44999,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45036,7 +45036,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45073,7 +45073,7 @@ ] }, { - "key": "Slerp", + "base": "Slerp", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45116,7 +45116,7 @@ ] }, { - "key": "InvertFull", + "base": "InvertFull", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45147,7 +45147,7 @@ ] }, { - "key": "FromMatrix4x4", + "base": "FromMatrix4x4", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45178,7 +45178,7 @@ ] }, { - "key": "RotateVector3", + "base": "RotateVector3", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45215,7 +45215,7 @@ ] }, { - "key": "FromMatrix3x3", + "base": "FromMatrix3x3", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45246,7 +45246,7 @@ ] }, { - "key": "Squad", + "base": "Squad", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45301,7 +45301,7 @@ ] }, { - "key": "FromAxisAngleDegrees", + "base": "FromAxisAngleDegrees", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45338,7 +45338,7 @@ ] }, { - "key": "LengthSquared", + "base": "LengthSquared", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45369,7 +45369,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45400,7 +45400,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45437,7 +45437,7 @@ ] }, { - "key": "MultiplyByRotation", + "base": "MultiplyByRotation", "context": "{9BE75E2E-AA07-4767-9BF3-905C289EB38A}", "entry": { "name": "In", @@ -45476,7 +45476,7 @@ ] }, { - "key": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", + "base": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "context": "OnDemandReflected", "variant": "", "details": { @@ -45486,7 +45486,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45517,7 +45517,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45548,7 +45548,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45585,7 +45585,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45614,7 +45614,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45651,7 +45651,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45682,7 +45682,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45705,7 +45705,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45736,7 +45736,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45773,7 +45773,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45804,7 +45804,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45833,7 +45833,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45862,7 +45862,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45899,7 +45899,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45936,7 +45936,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45959,7 +45959,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -45990,7 +45990,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -46027,7 +46027,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -46064,7 +46064,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -46095,7 +46095,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -46126,7 +46126,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -46161,7 +46161,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -46192,7 +46192,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -46235,7 +46235,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -46264,7 +46264,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -46293,7 +46293,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{287CEE87-6FF3-52FC-9D32-38255E2C7FE9}", "entry": { "name": "In", @@ -46326,7 +46326,7 @@ ] }, { - "key": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", + "base": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "context": "OnDemandReflected", "variant": "", "details": { @@ -46336,7 +46336,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46367,7 +46367,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46398,7 +46398,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46435,7 +46435,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46464,7 +46464,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46501,7 +46501,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46532,7 +46532,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46555,7 +46555,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46586,7 +46586,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46623,7 +46623,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46654,7 +46654,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46683,7 +46683,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46712,7 +46712,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46749,7 +46749,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46786,7 +46786,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46809,7 +46809,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46840,7 +46840,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46877,7 +46877,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46914,7 +46914,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46945,7 +46945,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -46976,7 +46976,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -47011,7 +47011,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -47042,7 +47042,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -47085,7 +47085,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -47114,7 +47114,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -47143,7 +47143,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{33D5748B-90F1-569F-8C3F-EF32C9747919}", "entry": { "name": "In", @@ -47176,7 +47176,7 @@ ] }, { - "key": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", + "base": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "context": "OnDemandReflected", "variant": "", "details": { @@ -47184,7 +47184,7 @@ }, "methods": [ { - "key": "Split", + "base": "Split", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47221,7 +47221,7 @@ ] }, { - "key": "Join", + "base": "Join", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47258,7 +47258,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47295,7 +47295,7 @@ ] }, { - "key": "ToLower", + "base": "ToLower", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47326,7 +47326,7 @@ ] }, { - "key": "Replace", + "base": "Replace", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47369,7 +47369,7 @@ ] }, { - "key": "TrimRight", + "base": "TrimRight", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47400,7 +47400,7 @@ ] }, { - "key": "Equal", + "base": "Equal", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47437,7 +47437,7 @@ ] }, { - "key": "Find", + "base": "Find", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47480,7 +47480,7 @@ ] }, { - "key": "Substring", + "base": "Substring", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47523,7 +47523,7 @@ ] }, { - "key": "Length", + "base": "Length", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47554,7 +47554,7 @@ ] }, { - "key": "ReplaceByIndex", + "base": "ReplaceByIndex", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47603,7 +47603,7 @@ ] }, { - "key": "c_str", + "base": "c_str", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47634,7 +47634,7 @@ ] }, { - "key": "TrimLeft", + "base": "TrimLeft", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47665,7 +47665,7 @@ ] }, { - "key": "ToUpper", + "base": "ToUpper", "context": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "entry": { "name": "In", @@ -47698,7 +47698,7 @@ ] }, { - "key": "{F0A3166F-115C-5C3E-8D65-28FBA4420028}", + "base": "{F0A3166F-115C-5C3E-8D65-28FBA4420028}", "context": "OnDemandReflected", "variant": "", "details": { @@ -47706,7 +47706,7 @@ }, "methods": [ { - "key": "HasHandlerConnected", + "base": "HasHandlerConnected", "context": "{F0A3166F-115C-5C3E-8D65-28FBA4420028}", "entry": { "name": "In", @@ -47739,7 +47739,7 @@ ] }, { - "key": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", + "base": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "context": "OnDemandReflected", "variant": "", "details": { @@ -47749,7 +47749,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -47780,7 +47780,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -47811,7 +47811,7 @@ ] }, { - "key": "contains", + "base": "contains", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -47848,7 +47848,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -47885,7 +47885,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -47916,7 +47916,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -47945,7 +47945,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -47976,7 +47976,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -48013,7 +48013,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -48050,7 +48050,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -48081,7 +48081,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -48112,7 +48112,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -48143,7 +48143,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{93BBB90E-EBB4-507D-89B6-E4921FE44AFF}", "entry": { "name": "In", @@ -48174,7 +48174,7 @@ ] }, { - "key": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", + "base": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -48184,7 +48184,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48221,7 +48221,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48264,7 +48264,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48293,7 +48293,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48324,7 +48324,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48355,7 +48355,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48386,7 +48386,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48417,7 +48417,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48454,7 +48454,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48491,7 +48491,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48522,7 +48522,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48559,7 +48559,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48590,7 +48590,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48621,7 +48621,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{60CBD665-AE12-50ED-A0CF-D94E77C6292C}", "entry": { "name": "In", @@ -48652,7 +48652,7 @@ ] }, { - "key": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", + "base": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", "context": "OnDemandReflected", "variant": "", "details": { @@ -48660,7 +48660,7 @@ }, "methods": [ { - "key": "IsLoading", + "base": "IsLoading", "context": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", "entry": { "name": "In", @@ -48691,7 +48691,7 @@ ] }, { - "key": "GetType", + "base": "GetType", "context": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", "entry": { "name": "In", @@ -48722,7 +48722,7 @@ ] }, { - "key": "IsError", + "base": "IsError", "context": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", "entry": { "name": "In", @@ -48753,7 +48753,7 @@ ] }, { - "key": "GetHint", + "base": "GetHint", "context": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", "entry": { "name": "In", @@ -48784,7 +48784,7 @@ ] }, { - "key": "GetData", + "base": "GetData", "context": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", "entry": { "name": "In", @@ -48815,7 +48815,7 @@ ] }, { - "key": "IsReady", + "base": "IsReady", "context": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", "entry": { "name": "In", @@ -48846,7 +48846,7 @@ ] }, { - "key": "GetStatus", + "base": "GetStatus", "context": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", "entry": { "name": "In", @@ -48877,7 +48877,7 @@ ] }, { - "key": "GetId", + "base": "GetId", "context": "{403A7CFE-B218-5D57-8540-BD58E734BCFE}", "entry": { "name": "In", @@ -48910,7 +48910,7 @@ ] }, { - "key": "{2D49E44A-E561-5108-B585-5392D40F9949}", + "base": "{2D49E44A-E561-5108-B585-5392D40F9949}", "context": "OnDemandReflected", "variant": "", "details": { @@ -48920,7 +48920,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -48958,7 +48958,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49002,7 +49002,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49031,7 +49031,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49062,7 +49062,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49093,7 +49093,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49124,7 +49124,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49155,7 +49155,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49193,7 +49193,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49231,7 +49231,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49262,7 +49262,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49300,7 +49300,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49331,7 +49331,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49362,7 +49362,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{2D49E44A-E561-5108-B585-5392D40F9949}", "entry": { "name": "In", @@ -49393,7 +49393,7 @@ ] }, { - "key": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", + "base": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "context": "OnDemandReflected", "variant": "", "details": { @@ -49403,7 +49403,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49434,7 +49434,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49465,7 +49465,7 @@ ] }, { - "key": "contains", + "base": "contains", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49502,7 +49502,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49539,7 +49539,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49570,7 +49570,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49599,7 +49599,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49630,7 +49630,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49667,7 +49667,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49704,7 +49704,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49735,7 +49735,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49766,7 +49766,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49797,7 +49797,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{32EC831B-8AE7-5715-998B-C0C723CB61DA}", "entry": { "name": "In", @@ -49828,7 +49828,7 @@ ] }, { - "key": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", + "base": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "context": "OnDemandReflected", "variant": "", "details": { @@ -49838,7 +49838,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -49875,7 +49875,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -49918,7 +49918,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -49947,7 +49947,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -49978,7 +49978,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -50009,7 +50009,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -50040,7 +50040,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -50071,7 +50071,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -50108,7 +50108,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -50145,7 +50145,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -50176,7 +50176,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -50213,7 +50213,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -50244,7 +50244,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -50275,7 +50275,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{AD341397-E3C6-5C5F-92D6-EEAAA134FF68}", "entry": { "name": "In", @@ -50306,7 +50306,7 @@ ] }, { - "key": "{43147344-44F8-597D-9F8C-B97DFC20C337}", + "base": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "context": "OnDemandReflected", "variant": "", "details": { @@ -50316,7 +50316,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50347,7 +50347,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50378,7 +50378,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50415,7 +50415,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50444,7 +50444,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50481,7 +50481,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50512,7 +50512,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50535,7 +50535,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50566,7 +50566,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50603,7 +50603,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50634,7 +50634,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50663,7 +50663,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50692,7 +50692,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50729,7 +50729,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50766,7 +50766,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50789,7 +50789,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50820,7 +50820,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50857,7 +50857,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50894,7 +50894,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50925,7 +50925,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50956,7 +50956,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -50991,7 +50991,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -51022,7 +51022,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -51065,7 +51065,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -51094,7 +51094,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -51123,7 +51123,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{43147344-44F8-597D-9F8C-B97DFC20C337}", "entry": { "name": "In", @@ -51156,7 +51156,7 @@ ] }, { - "key": "{5BAFAD11-D6AF-5946-B09B-6E0B72E1209C}", + "base": "{5BAFAD11-D6AF-5946-B09B-6E0B72E1209C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -51164,7 +51164,7 @@ }, "methods": [ { - "key": "Get0", + "base": "Get0", "context": "{5BAFAD11-D6AF-5946-B09B-6E0B72E1209C}", "entry": { "name": "In", @@ -51195,7 +51195,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{5BAFAD11-D6AF-5946-B09B-6E0B72E1209C}", "entry": { "name": "In", @@ -51226,7 +51226,7 @@ ] }, { - "key": "Get2", + "base": "Get2", "context": "{5BAFAD11-D6AF-5946-B09B-6E0B72E1209C}", "entry": { "name": "In", @@ -51257,7 +51257,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{5BAFAD11-D6AF-5946-B09B-6E0B72E1209C}", "entry": { "name": "In", @@ -51282,7 +51282,7 @@ ] }, { - "key": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", + "base": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "context": "OnDemandReflected", "variant": "", "details": { @@ -51290,7 +51290,7 @@ }, "methods": [ { - "key": "DirectionTo", + "base": "DirectionTo", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51333,7 +51333,7 @@ ] }, { - "key": "Subtract", + "base": "Subtract", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51370,7 +51370,7 @@ ] }, { - "key": "Project", + "base": "Project", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51407,7 +51407,7 @@ ] }, { - "key": "Distance", + "base": "Distance", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51444,7 +51444,7 @@ ] }, { - "key": "FromValues", + "base": "FromValues", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51481,7 +51481,7 @@ ] }, { - "key": "Dot", + "base": "Dot", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51518,7 +51518,7 @@ ] }, { - "key": "Angle", + "base": "Angle", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51549,7 +51549,7 @@ ] }, { - "key": "Negate", + "base": "Negate", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51580,7 +51580,7 @@ ] }, { - "key": "MultiplyByVector", + "base": "MultiplyByVector", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51617,7 +51617,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51654,7 +51654,7 @@ ] }, { - "key": "Clamp", + "base": "Clamp", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51697,7 +51697,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51734,7 +51734,7 @@ ] }, { - "key": "Slerp", + "base": "Slerp", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51777,7 +51777,7 @@ ] }, { - "key": "IsZero", + "base": "IsZero", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51814,7 +51814,7 @@ ] }, { - "key": "SetY", + "base": "SetY", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51851,7 +51851,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51894,7 +51894,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51931,7 +51931,7 @@ ] }, { - "key": "IsNormalized", + "base": "IsNormalized", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51968,7 +51968,7 @@ ] }, { - "key": "LengthSquared", + "base": "LengthSquared", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -51999,7 +51999,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52030,7 +52030,7 @@ ] }, { - "key": "ToPerpendicular", + "base": "ToPerpendicular", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52061,7 +52061,7 @@ ] }, { - "key": "Normalize", + "base": "Normalize", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52092,7 +52092,7 @@ ] }, { - "key": "Max", + "base": "Max", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52129,7 +52129,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52166,7 +52166,7 @@ ] }, { - "key": "Absolute", + "base": "Absolute", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52197,7 +52197,7 @@ ] }, { - "key": "SetX", + "base": "SetX", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52234,7 +52234,7 @@ ] }, { - "key": "Min", + "base": "Min", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52271,7 +52271,7 @@ ] }, { - "key": "DivideByVector", + "base": "DivideByVector", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52308,7 +52308,7 @@ ] }, { - "key": "DistanceSquared", + "base": "DistanceSquared", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52345,7 +52345,7 @@ ] }, { - "key": "Length", + "base": "Length", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52376,7 +52376,7 @@ ] }, { - "key": "Lerp", + "base": "Lerp", "context": "{FD1BFADF-BA1F-4AFC-819B-ABA1F22AE6E6}", "entry": { "name": "In", @@ -52421,7 +52421,7 @@ ] }, { - "key": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", + "base": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "context": "OnDemandReflected", "variant": "", "details": { @@ -52431,7 +52431,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52469,7 +52469,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52513,7 +52513,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52542,7 +52542,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52573,7 +52573,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52604,7 +52604,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52635,7 +52635,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52666,7 +52666,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52704,7 +52704,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52742,7 +52742,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52773,7 +52773,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52811,7 +52811,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52842,7 +52842,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52873,7 +52873,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{544C0867-6EF4-593D-97BD-A51F6EB8164E}", "entry": { "name": "In", @@ -52904,7 +52904,7 @@ ] }, { - "key": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", + "base": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -52914,7 +52914,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -52951,7 +52951,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -52994,7 +52994,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53023,7 +53023,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53054,7 +53054,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53085,7 +53085,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53116,7 +53116,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53147,7 +53147,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53184,7 +53184,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53221,7 +53221,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53252,7 +53252,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53289,7 +53289,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53320,7 +53320,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53351,7 +53351,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{873120A5-6F9A-543A-BE16-6ED846A8655C}", "entry": { "name": "In", @@ -53382,7 +53382,7 @@ ] }, { - "key": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", + "base": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "context": "OnDemandReflected", "variant": "", "details": { @@ -53392,7 +53392,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53429,7 +53429,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53472,7 +53472,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53501,7 +53501,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53532,7 +53532,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53563,7 +53563,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53594,7 +53594,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53625,7 +53625,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53662,7 +53662,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53699,7 +53699,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53730,7 +53730,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53767,7 +53767,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53798,7 +53798,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53829,7 +53829,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{D653CC1C-3625-5EE4-9F96-A1D20E576E8D}", "entry": { "name": "In", @@ -53860,7 +53860,7 @@ ] }, { - "key": "{F429F985-AF00-529B-8449-16E56694E5F9}", + "base": "{F429F985-AF00-529B-8449-16E56694E5F9}", "context": "OnDemandReflected", "variant": "", "details": { @@ -53868,7 +53868,7 @@ }, "methods": [ { - "key": "HasHandlerConnected", + "base": "HasHandlerConnected", "context": "{F429F985-AF00-529B-8449-16E56694E5F9}", "entry": { "name": "In", @@ -53901,7 +53901,7 @@ ] }, { - "key": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", + "base": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "context": "OnDemandReflected", "variant": "", "details": { @@ -53911,7 +53911,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -53948,7 +53948,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -53991,7 +53991,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54020,7 +54020,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54051,7 +54051,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54082,7 +54082,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54113,7 +54113,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54144,7 +54144,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54181,7 +54181,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54218,7 +54218,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54249,7 +54249,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54286,7 +54286,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54317,7 +54317,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54348,7 +54348,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{C408B3CC-9C42-5306-93BC-FAB670B2F860}", "entry": { "name": "In", @@ -54379,7 +54379,7 @@ ] }, { - "key": "{C00D2478-E0F3-57A3-AB60-A04DFC515016}", + "base": "{C00D2478-E0F3-57A3-AB60-A04DFC515016}", "context": "OnDemandReflected", "variant": "", "details": { @@ -54387,7 +54387,7 @@ }, "methods": [ { - "key": "HasHandlerConnected", + "base": "HasHandlerConnected", "context": "{C00D2478-E0F3-57A3-AB60-A04DFC515016}", "entry": { "name": "In", @@ -54420,7 +54420,7 @@ ] }, { - "key": "{9A6CD726-97FC-54C4-A34B-5996F6948697}", + "base": "{9A6CD726-97FC-54C4-A34B-5996F6948697}", "context": "OnDemandReflected", "variant": "", "details": { @@ -54430,7 +54430,7 @@ }, "methods": [ { - "key": "get", + "base": "get", "context": "{9A6CD726-97FC-54C4-A34B-5996F6948697}", "entry": { "name": "In", @@ -54463,7 +54463,7 @@ ] }, { - "key": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", + "base": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "context": "OnDemandReflected", "variant": "", "details": { @@ -54473,7 +54473,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54504,7 +54504,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54535,7 +54535,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54572,7 +54572,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54601,7 +54601,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54638,7 +54638,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54669,7 +54669,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54692,7 +54692,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54723,7 +54723,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54760,7 +54760,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54791,7 +54791,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54820,7 +54820,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54849,7 +54849,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54886,7 +54886,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54923,7 +54923,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54946,7 +54946,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -54977,7 +54977,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -55014,7 +55014,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -55051,7 +55051,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -55082,7 +55082,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -55113,7 +55113,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -55148,7 +55148,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -55179,7 +55179,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -55222,7 +55222,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -55251,7 +55251,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -55280,7 +55280,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{DCAD95EA-9447-5B13-AACC-6C7223E1C04D}", "entry": { "name": "In", @@ -55313,7 +55313,7 @@ ] }, { - "key": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", + "base": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "context": "OnDemandReflected", "variant": "", "details": { @@ -55323,7 +55323,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55354,7 +55354,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55385,7 +55385,7 @@ ] }, { - "key": "contains", + "base": "contains", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55422,7 +55422,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55459,7 +55459,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55490,7 +55490,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55519,7 +55519,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55550,7 +55550,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55587,7 +55587,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55624,7 +55624,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55655,7 +55655,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55686,7 +55686,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55717,7 +55717,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{0D5E2C44-B2DE-57D6-B4B9-3F37C5D9B245}", "entry": { "name": "In", @@ -55748,7 +55748,7 @@ ] }, { - "key": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", + "base": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "context": "OnDemandReflected", "variant": "", "details": { @@ -55758,7 +55758,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -55795,7 +55795,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -55838,7 +55838,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -55867,7 +55867,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -55898,7 +55898,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -55929,7 +55929,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -55960,7 +55960,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -55991,7 +55991,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -56028,7 +56028,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -56065,7 +56065,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -56096,7 +56096,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -56133,7 +56133,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -56164,7 +56164,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -56195,7 +56195,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{F0D71473-2358-53A0-A1B3-16A564B9A0BD}", "entry": { "name": "In", @@ -56226,7 +56226,7 @@ ] }, { - "key": "{84290CFC-1335-5341-AD8B-0A3FE9FE46D0}", + "base": "{84290CFC-1335-5341-AD8B-0A3FE9FE46D0}", "context": "OnDemandReflected", "variant": "", "details": { @@ -56234,7 +56234,7 @@ }, "methods": [ { - "key": "HasHandlerConnected", + "base": "HasHandlerConnected", "context": "{84290CFC-1335-5341-AD8B-0A3FE9FE46D0}", "entry": { "name": "In", @@ -56267,7 +56267,7 @@ ] }, { - "key": "{444B2C18-8D7E-5B43-9524-0C9F6C351542}", + "base": "{444B2C18-8D7E-5B43-9524-0C9F6C351542}", "context": "OnDemandReflected", "variant": "", "details": { @@ -56277,7 +56277,7 @@ }, "methods": [ { - "key": "get", + "base": "get", "context": "{444B2C18-8D7E-5B43-9524-0C9F6C351542}", "entry": { "name": "In", @@ -56310,7 +56310,7 @@ ] }, { - "key": "{56026B1A-B142-5C80-B6F4-A0827B393370}", + "base": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "context": "OnDemandReflected", "variant": "", "details": { @@ -56320,7 +56320,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56357,7 +56357,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56400,7 +56400,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56429,7 +56429,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56460,7 +56460,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56491,7 +56491,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56522,7 +56522,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56553,7 +56553,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56590,7 +56590,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56627,7 +56627,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56658,7 +56658,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56695,7 +56695,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56726,7 +56726,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56757,7 +56757,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{56026B1A-B142-5C80-B6F4-A0827B393370}", "entry": { "name": "In", @@ -56788,7 +56788,7 @@ ] }, { - "key": "{B51CFD94-318D-5E30-BE18-6ACC6CFCC2EC}", + "base": "{B51CFD94-318D-5E30-BE18-6ACC6CFCC2EC}", "context": "OnDemandReflected", "variant": "", "details": { @@ -56798,7 +56798,7 @@ }, "methods": [ { - "key": "get", + "base": "get", "context": "{B51CFD94-318D-5E30-BE18-6ACC6CFCC2EC}", "entry": { "name": "In", @@ -56831,7 +56831,7 @@ ] }, { - "key": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", + "base": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "context": "OnDemandReflected", "variant": "", "details": { @@ -56841,7 +56841,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -56872,7 +56872,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -56903,7 +56903,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -56940,7 +56940,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -56969,7 +56969,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57006,7 +57006,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57037,7 +57037,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57060,7 +57060,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57091,7 +57091,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57128,7 +57128,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57159,7 +57159,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57188,7 +57188,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57217,7 +57217,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57254,7 +57254,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57291,7 +57291,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57314,7 +57314,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57345,7 +57345,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57382,7 +57382,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57419,7 +57419,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57450,7 +57450,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57481,7 +57481,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57516,7 +57516,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57547,7 +57547,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57590,7 +57590,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57619,7 +57619,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57648,7 +57648,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{D2AE76E7-D7AC-58C9-82C3-EE5F0BDCFACD}", "entry": { "name": "In", @@ -57681,7 +57681,7 @@ ] }, { - "key": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", + "base": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -57691,7 +57691,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -57728,7 +57728,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -57771,7 +57771,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -57800,7 +57800,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -57831,7 +57831,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -57862,7 +57862,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -57893,7 +57893,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -57924,7 +57924,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -57961,7 +57961,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -57998,7 +57998,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -58029,7 +58029,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -58066,7 +58066,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -58097,7 +58097,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -58128,7 +58128,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{9F35DB06-62AD-55E0-9CDD-DF452612430C}", "entry": { "name": "In", @@ -58159,7 +58159,7 @@ ] }, { - "key": "{E9F4752C-BFCD-5F51-AA18-F47BDF358BFD}", + "base": "{E9F4752C-BFCD-5F51-AA18-F47BDF358BFD}", "context": "OnDemandReflected", "variant": "", "details": { @@ -58167,7 +58167,7 @@ }, "methods": [ { - "key": "GetError", + "base": "GetError", "context": "{E9F4752C-BFCD-5F51-AA18-F47BDF358BFD}", "entry": { "name": "In", @@ -58198,7 +58198,7 @@ ] }, { - "key": "IsSuccess", + "base": "IsSuccess", "context": "{E9F4752C-BFCD-5F51-AA18-F47BDF358BFD}", "entry": { "name": "In", @@ -58229,7 +58229,7 @@ ] }, { - "key": "Success", + "base": "Success", "context": "{E9F4752C-BFCD-5F51-AA18-F47BDF358BFD}", "entry": { "name": "In", @@ -58260,7 +58260,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "context": "{E9F4752C-BFCD-5F51-AA18-F47BDF358BFD}", "entry": { "name": "In", @@ -58291,7 +58291,7 @@ ] }, { - "key": "Failure", + "base": "Failure", "context": "{E9F4752C-BFCD-5F51-AA18-F47BDF358BFD}", "entry": { "name": "In", @@ -58324,7 +58324,7 @@ ] }, { - "key": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", + "base": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "context": "OnDemandReflected", "variant": "", "details": { @@ -58334,7 +58334,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58365,7 +58365,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58396,7 +58396,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58433,7 +58433,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58462,7 +58462,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58499,7 +58499,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58530,7 +58530,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58553,7 +58553,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58584,7 +58584,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58621,7 +58621,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58652,7 +58652,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58681,7 +58681,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58710,7 +58710,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58747,7 +58747,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58784,7 +58784,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58807,7 +58807,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58838,7 +58838,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58875,7 +58875,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58912,7 +58912,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58943,7 +58943,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -58974,7 +58974,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -59009,7 +59009,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -59040,7 +59040,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -59083,7 +59083,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -59112,7 +59112,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -59141,7 +59141,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{4599647A-45DD-585B-AFC0-4BAD29EB49A7}", "entry": { "name": "In", @@ -59174,7 +59174,7 @@ ] }, { - "key": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", + "base": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "context": "OnDemandReflected", "variant": "", "details": { @@ -59184,7 +59184,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59221,7 +59221,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59264,7 +59264,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59293,7 +59293,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59324,7 +59324,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59355,7 +59355,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59386,7 +59386,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59417,7 +59417,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59454,7 +59454,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59491,7 +59491,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59522,7 +59522,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59559,7 +59559,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59590,7 +59590,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59621,7 +59621,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{4039D1BB-DA00-5C6B-AC80-6B892003D35F}", "entry": { "name": "In", @@ -59652,7 +59652,7 @@ ] }, { - "key": "{033C4408-7E4A-5382-81D8-102FC8336005}", + "base": "{033C4408-7E4A-5382-81D8-102FC8336005}", "context": "OnDemandReflected", "variant": "", "details": { @@ -59662,7 +59662,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -59700,7 +59700,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -59744,7 +59744,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -59773,7 +59773,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -59804,7 +59804,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -59835,7 +59835,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -59866,7 +59866,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -59897,7 +59897,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -59935,7 +59935,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -59973,7 +59973,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -60004,7 +60004,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -60042,7 +60042,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -60073,7 +60073,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -60104,7 +60104,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{033C4408-7E4A-5382-81D8-102FC8336005}", "entry": { "name": "In", @@ -60135,7 +60135,7 @@ ] }, { - "key": "{3750867E-BD2D-52A2-B93B-51032E86C4D4}", + "base": "{3750867E-BD2D-52A2-B93B-51032E86C4D4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -60143,7 +60143,7 @@ }, "methods": [ { - "key": "GetSize", + "base": "GetSize", "context": "{3750867E-BD2D-52A2-B93B-51032E86C4D4}", "entry": { "name": "In", @@ -60166,7 +60166,7 @@ ] }, { - "key": "Get3", + "base": "Get3", "context": "{3750867E-BD2D-52A2-B93B-51032E86C4D4}", "entry": { "name": "In", @@ -60197,7 +60197,7 @@ ] }, { - "key": "Get2", + "base": "Get2", "context": "{3750867E-BD2D-52A2-B93B-51032E86C4D4}", "entry": { "name": "In", @@ -60228,7 +60228,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{3750867E-BD2D-52A2-B93B-51032E86C4D4}", "entry": { "name": "In", @@ -60259,7 +60259,7 @@ ] }, { - "key": "Get0", + "base": "Get0", "context": "{3750867E-BD2D-52A2-B93B-51032E86C4D4}", "entry": { "name": "In", @@ -60292,7 +60292,7 @@ ] }, { - "key": "{C9789111-6A18-4C6E-81A7-87D057D59D2C}", + "base": "{C9789111-6A18-4C6E-81A7-87D057D59D2C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -60300,7 +60300,7 @@ }, "methods": [ { - "key": "ToString", + "base": "ToString", "context": "{C9789111-6A18-4C6E-81A7-87D057D59D2C}", "entry": { "name": "In", @@ -60332,7 +60332,7 @@ ] }, { - "key": "IsValid", + "base": "IsValid", "context": "{C9789111-6A18-4C6E-81A7-87D057D59D2C}", "entry": { "name": "In", @@ -60364,7 +60364,7 @@ ] }, { - "key": "GetEntityForward", + "base": "GetEntityForward", "context": "{C9789111-6A18-4C6E-81A7-87D057D59D2C}", "entry": { "name": "In", @@ -60402,7 +60402,7 @@ ] }, { - "key": "IsActive", + "base": "IsActive", "context": "{C9789111-6A18-4C6E-81A7-87D057D59D2C}", "entry": { "name": "In", @@ -60434,7 +60434,7 @@ ] }, { - "key": "GetEntityRight", + "base": "GetEntityRight", "context": "{C9789111-6A18-4C6E-81A7-87D057D59D2C}", "entry": { "name": "In", @@ -60472,7 +60472,7 @@ ] }, { - "key": "GetEntityUp", + "base": "GetEntityUp", "context": "{C9789111-6A18-4C6E-81A7-87D057D59D2C}", "entry": { "name": "In", @@ -60512,7 +60512,7 @@ ] }, { - "key": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", + "base": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "context": "OnDemandReflected", "variant": "", "details": { @@ -60522,7 +60522,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60559,7 +60559,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60602,7 +60602,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60631,7 +60631,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60662,7 +60662,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60693,7 +60693,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60724,7 +60724,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60755,7 +60755,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60792,7 +60792,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60829,7 +60829,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60860,7 +60860,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60897,7 +60897,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60928,7 +60928,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60959,7 +60959,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{CC6E9A58-8CB0-540D-A06D-4337A8C4FE91}", "entry": { "name": "In", @@ -60990,7 +60990,7 @@ ] }, { - "key": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", + "base": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "context": "OnDemandReflected", "variant": "", "details": { @@ -61000,7 +61000,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61037,7 +61037,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61080,7 +61080,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61109,7 +61109,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61140,7 +61140,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61171,7 +61171,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61202,7 +61202,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61233,7 +61233,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61270,7 +61270,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61307,7 +61307,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61338,7 +61338,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61375,7 +61375,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61406,7 +61406,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61437,7 +61437,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{3E047B85-9AA0-5540-9744-373DBD4AD4CA}", "entry": { "name": "In", @@ -61468,7 +61468,7 @@ ] }, { - "key": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", + "base": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "context": "OnDemandReflected", "variant": "", "details": { @@ -61478,7 +61478,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61515,7 +61515,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61558,7 +61558,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61587,7 +61587,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61618,7 +61618,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61649,7 +61649,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61680,7 +61680,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61711,7 +61711,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61748,7 +61748,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61785,7 +61785,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61816,7 +61816,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61853,7 +61853,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61884,7 +61884,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61915,7 +61915,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{A2ED5341-A86D-5564-99AF-8BCDED62C751}", "entry": { "name": "In", @@ -61946,7 +61946,7 @@ ] }, { - "key": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", + "base": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "context": "OnDemandReflected", "variant": "", "details": { @@ -61956,7 +61956,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -61993,7 +61993,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62036,7 +62036,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62065,7 +62065,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62096,7 +62096,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62127,7 +62127,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62158,7 +62158,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62189,7 +62189,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62226,7 +62226,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62263,7 +62263,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62294,7 +62294,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62331,7 +62331,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62362,7 +62362,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62393,7 +62393,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{EB781DCB-CD92-51EF-B490-3628FE48E880}", "entry": { "name": "In", @@ -62424,7 +62424,7 @@ ] }, { - "key": "{6ACECB77-D489-52CF-8473-9116466ABC59}", + "base": "{6ACECB77-D489-52CF-8473-9116466ABC59}", "context": "OnDemandReflected", "variant": "", "details": { @@ -62432,7 +62432,7 @@ }, "methods": [ { - "key": "HasHandlerConnected", + "base": "HasHandlerConnected", "context": "{6ACECB77-D489-52CF-8473-9116466ABC59}", "entry": { "name": "In", @@ -62465,7 +62465,7 @@ ] }, { - "key": "{858A22B8-1B5E-5016-BF33-B2469DD9CAD3}", + "base": "{858A22B8-1B5E-5016-BF33-B2469DD9CAD3}", "context": "OnDemandReflected", "variant": "", "details": { @@ -62473,7 +62473,7 @@ }, "methods": [ { - "key": "has_value", + "base": "has_value", "context": "{858A22B8-1B5E-5016-BF33-B2469DD9CAD3}", "entry": { "name": "In", @@ -62504,7 +62504,7 @@ ] }, { - "key": "__bool__", + "base": "__bool__", "context": "{858A22B8-1B5E-5016-BF33-B2469DD9CAD3}", "entry": { "name": "In", @@ -62535,7 +62535,7 @@ ] }, { - "key": "value", + "base": "value", "context": "{858A22B8-1B5E-5016-BF33-B2469DD9CAD3}", "entry": { "name": "In", @@ -62566,7 +62566,7 @@ ] }, { - "key": "value_or", + "base": "value_or", "context": "{858A22B8-1B5E-5016-BF33-B2469DD9CAD3}", "entry": { "name": "In", @@ -62605,7 +62605,7 @@ ] }, { - "key": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", + "base": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "context": "OnDemandReflected", "variant": "", "details": { @@ -62615,7 +62615,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62652,7 +62652,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62695,7 +62695,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62724,7 +62724,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62755,7 +62755,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62786,7 +62786,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62817,7 +62817,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62848,7 +62848,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62885,7 +62885,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62922,7 +62922,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62953,7 +62953,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -62990,7 +62990,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -63021,7 +63021,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -63052,7 +63052,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{C985C516-C64B-5821-9A82-06DBAE6734CA}", "entry": { "name": "In", @@ -63083,7 +63083,7 @@ ] }, { - "key": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", + "base": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "context": "OnDemandReflected", "variant": "", "details": { @@ -63093,7 +63093,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63130,7 +63130,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63173,7 +63173,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63202,7 +63202,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63233,7 +63233,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63264,7 +63264,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63295,7 +63295,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63326,7 +63326,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63363,7 +63363,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63400,7 +63400,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63431,7 +63431,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63468,7 +63468,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63499,7 +63499,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63530,7 +63530,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{6BBF646F-D689-5D24-9596-05ED6A785D2F}", "entry": { "name": "In", @@ -63561,7 +63561,7 @@ ] }, { - "key": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", + "base": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "context": "OnDemandReflected", "variant": "", "details": { @@ -63571,7 +63571,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63602,7 +63602,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63633,7 +63633,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63670,7 +63670,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63699,7 +63699,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63736,7 +63736,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63767,7 +63767,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63790,7 +63790,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63821,7 +63821,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63858,7 +63858,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63889,7 +63889,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63918,7 +63918,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63947,7 +63947,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -63984,7 +63984,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64021,7 +64021,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64044,7 +64044,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64075,7 +64075,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64112,7 +64112,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64149,7 +64149,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64180,7 +64180,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64211,7 +64211,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64246,7 +64246,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64277,7 +64277,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64320,7 +64320,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64349,7 +64349,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64378,7 +64378,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{A16BD88A-8457-5717-B84E-977B1D176AE2}", "entry": { "name": "In", @@ -64411,7 +64411,7 @@ ] }, { - "key": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", + "base": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -64419,7 +64419,7 @@ }, "methods": [ { - "key": "IsLoading", + "base": "IsLoading", "context": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", "entry": { "name": "In", @@ -64450,7 +64450,7 @@ ] }, { - "key": "GetType", + "base": "GetType", "context": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", "entry": { "name": "In", @@ -64481,7 +64481,7 @@ ] }, { - "key": "IsError", + "base": "IsError", "context": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", "entry": { "name": "In", @@ -64512,7 +64512,7 @@ ] }, { - "key": "GetHint", + "base": "GetHint", "context": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", "entry": { "name": "In", @@ -64543,7 +64543,7 @@ ] }, { - "key": "GetData", + "base": "GetData", "context": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", "entry": { "name": "In", @@ -64574,7 +64574,7 @@ ] }, { - "key": "IsReady", + "base": "IsReady", "context": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", "entry": { "name": "In", @@ -64605,7 +64605,7 @@ ] }, { - "key": "GetStatus", + "base": "GetStatus", "context": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", "entry": { "name": "In", @@ -64636,7 +64636,7 @@ ] }, { - "key": "GetId", + "base": "GetId", "context": "{834DC049-5EC3-5C29-B621-5F0046864DC4}", "entry": { "name": "In", @@ -64669,7 +64669,7 @@ ] }, { - "key": "{B57176AF-63A1-5531-B77E-BD7337E66127}", + "base": "{B57176AF-63A1-5531-B77E-BD7337E66127}", "context": "OnDemandReflected", "variant": "", "details": { @@ -64677,7 +64677,7 @@ }, "methods": [ { - "key": "GetError", + "base": "GetError", "context": "{B57176AF-63A1-5531-B77E-BD7337E66127}", "entry": { "name": "In", @@ -64708,7 +64708,7 @@ ] }, { - "key": "IsSuccess", + "base": "IsSuccess", "context": "{B57176AF-63A1-5531-B77E-BD7337E66127}", "entry": { "name": "In", @@ -64739,7 +64739,7 @@ ] }, { - "key": "Success", + "base": "Success", "context": "{B57176AF-63A1-5531-B77E-BD7337E66127}", "entry": { "name": "In", @@ -64770,7 +64770,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "context": "{B57176AF-63A1-5531-B77E-BD7337E66127}", "entry": { "name": "In", @@ -64801,7 +64801,7 @@ ] }, { - "key": "Failure", + "base": "Failure", "context": "{B57176AF-63A1-5531-B77E-BD7337E66127}", "entry": { "name": "In", @@ -64834,7 +64834,7 @@ ] }, { - "key": "{4C19E257-F929-524E-80E3-C910C5F3E2D9}", + "base": "{4C19E257-F929-524E-80E3-C910C5F3E2D9}", "context": "OnDemandReflected", "variant": "", "details": { @@ -64842,7 +64842,7 @@ }, "methods": [ { - "key": "HasHandlerConnected", + "base": "HasHandlerConnected", "context": "{4C19E257-F929-524E-80E3-C910C5F3E2D9}", "entry": { "name": "In", @@ -64875,7 +64875,7 @@ ] }, { - "key": "{BE75E564-1859-566D-821F-3343675C4977}", + "base": "{BE75E564-1859-566D-821F-3343675C4977}", "context": "OnDemandReflected", "variant": "", "details": { @@ -64885,7 +64885,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -64922,7 +64922,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -64965,7 +64965,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -64994,7 +64994,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65025,7 +65025,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65056,7 +65056,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65087,7 +65087,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65118,7 +65118,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65155,7 +65155,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65192,7 +65192,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65223,7 +65223,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65260,7 +65260,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65291,7 +65291,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65322,7 +65322,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{BE75E564-1859-566D-821F-3343675C4977}", "entry": { "name": "In", @@ -65353,7 +65353,7 @@ ] }, { - "key": "{93942742-473F-5EE3-8420-D8F22C612221}", + "base": "{93942742-473F-5EE3-8420-D8F22C612221}", "context": "OnDemandReflected", "variant": "", "details": { @@ -65361,7 +65361,7 @@ }, "methods": [ { - "key": "Get0", + "base": "Get0", "context": "{93942742-473F-5EE3-8420-D8F22C612221}", "entry": { "name": "In", @@ -65392,7 +65392,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{93942742-473F-5EE3-8420-D8F22C612221}", "entry": { "name": "In", @@ -65423,7 +65423,7 @@ ] }, { - "key": "Get2", + "base": "Get2", "context": "{93942742-473F-5EE3-8420-D8F22C612221}", "entry": { "name": "In", @@ -65454,7 +65454,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{93942742-473F-5EE3-8420-D8F22C612221}", "entry": { "name": "In", @@ -65479,7 +65479,7 @@ ] }, { - "key": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", + "base": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "context": "OnDemandReflected", "variant": "", "details": { @@ -65489,7 +65489,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65526,7 +65526,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65570,7 +65570,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65599,7 +65599,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65630,7 +65630,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65661,7 +65661,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65692,7 +65692,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65723,7 +65723,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65760,7 +65760,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65797,7 +65797,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65828,7 +65828,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65866,7 +65866,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65897,7 +65897,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65928,7 +65928,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{4A5210BF-A837-53B7-BB8C-1E74AF26D98B}", "entry": { "name": "In", @@ -65959,7 +65959,7 @@ ] }, { - "key": "{895CEA57-551B-5B79-A32B-B2DA0A912C87}", + "base": "{895CEA57-551B-5B79-A32B-B2DA0A912C87}", "context": "OnDemandReflected", "variant": "", "details": { @@ -65967,7 +65967,7 @@ }, "methods": [ { - "key": "IsLoading", + "base": "IsLoading", "context": "{895CEA57-551B-5B79-A32B-B2DA0A912C87}", "entry": { "name": "In", @@ -65998,7 +65998,7 @@ ] }, { - "key": "GetType", + "base": "GetType", "context": "{895CEA57-551B-5B79-A32B-B2DA0A912C87}", "entry": { "name": "In", @@ -66029,7 +66029,7 @@ ] }, { - "key": "IsError", + "base": "IsError", "context": "{895CEA57-551B-5B79-A32B-B2DA0A912C87}", "entry": { "name": "In", @@ -66060,7 +66060,7 @@ ] }, { - "key": "GetHint", + "base": "GetHint", "context": "{895CEA57-551B-5B79-A32B-B2DA0A912C87}", "entry": { "name": "In", @@ -66091,7 +66091,7 @@ ] }, { - "key": "GetData", + "base": "GetData", "context": "{895CEA57-551B-5B79-A32B-B2DA0A912C87}", "entry": { "name": "In", @@ -66122,7 +66122,7 @@ ] }, { - "key": "IsReady", + "base": "IsReady", "context": "{895CEA57-551B-5B79-A32B-B2DA0A912C87}", "entry": { "name": "In", @@ -66153,7 +66153,7 @@ ] }, { - "key": "GetStatus", + "base": "GetStatus", "context": "{895CEA57-551B-5B79-A32B-B2DA0A912C87}", "entry": { "name": "In", @@ -66184,7 +66184,7 @@ ] }, { - "key": "GetId", + "base": "GetId", "context": "{895CEA57-551B-5B79-A32B-B2DA0A912C87}", "entry": { "name": "In", @@ -66217,7 +66217,7 @@ ] }, { - "key": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", + "base": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "context": "OnDemandReflected", "variant": "", "details": { @@ -66227,7 +66227,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66264,7 +66264,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66307,7 +66307,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66336,7 +66336,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66367,7 +66367,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66398,7 +66398,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66429,7 +66429,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66460,7 +66460,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66497,7 +66497,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66534,7 +66534,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66565,7 +66565,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66602,7 +66602,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66633,7 +66633,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66664,7 +66664,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{9D83FE2E-68F4-5FDC-92AE-52C395FB5BFB}", "entry": { "name": "In", @@ -66695,7 +66695,7 @@ ] }, { - "key": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", + "base": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -66705,7 +66705,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -66743,7 +66743,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -66787,7 +66787,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -66816,7 +66816,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -66847,7 +66847,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -66878,7 +66878,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -66909,7 +66909,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -66940,7 +66940,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -66978,7 +66978,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -67016,7 +67016,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -67047,7 +67047,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -67085,7 +67085,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -67116,7 +67116,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -67147,7 +67147,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{FA8DBA11-EE9F-503E-99EA-C12757E5DCF4}", "entry": { "name": "In", @@ -67178,7 +67178,7 @@ ] }, { - "key": "{E9D62A8D-0092-5956-9DF4-22A087322834}", + "base": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "context": "OnDemandReflected", "variant": "", "details": { @@ -67188,7 +67188,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67225,7 +67225,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67268,7 +67268,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67297,7 +67297,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67328,7 +67328,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67359,7 +67359,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67390,7 +67390,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67421,7 +67421,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67458,7 +67458,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67495,7 +67495,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67526,7 +67526,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67563,7 +67563,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67594,7 +67594,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67625,7 +67625,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{E9D62A8D-0092-5956-9DF4-22A087322834}", "entry": { "name": "In", @@ -67656,7 +67656,7 @@ ] }, { - "key": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", + "base": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", "context": "OnDemandReflected", "variant": "", "details": { @@ -67664,7 +67664,7 @@ }, "methods": [ { - "key": "IsLoading", + "base": "IsLoading", "context": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", "entry": { "name": "In", @@ -67695,7 +67695,7 @@ ] }, { - "key": "GetType", + "base": "GetType", "context": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", "entry": { "name": "In", @@ -67726,7 +67726,7 @@ ] }, { - "key": "IsError", + "base": "IsError", "context": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", "entry": { "name": "In", @@ -67757,7 +67757,7 @@ ] }, { - "key": "GetHint", + "base": "GetHint", "context": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", "entry": { "name": "In", @@ -67788,7 +67788,7 @@ ] }, { - "key": "GetData", + "base": "GetData", "context": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", "entry": { "name": "In", @@ -67819,7 +67819,7 @@ ] }, { - "key": "IsReady", + "base": "IsReady", "context": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", "entry": { "name": "In", @@ -67850,7 +67850,7 @@ ] }, { - "key": "GetStatus", + "base": "GetStatus", "context": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", "entry": { "name": "In", @@ -67881,7 +67881,7 @@ ] }, { - "key": "GetId", + "base": "GetId", "context": "{A1F6761B-B5CA-59E6-89FF-EB0ABDF6BD68}", "entry": { "name": "In", @@ -67914,7 +67914,7 @@ ] }, { - "key": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", + "base": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "context": "OnDemandReflected", "variant": "", "details": { @@ -67924,7 +67924,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -67962,7 +67962,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68006,7 +68006,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68035,7 +68035,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68066,7 +68066,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68097,7 +68097,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68128,7 +68128,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68159,7 +68159,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68197,7 +68197,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68235,7 +68235,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68266,7 +68266,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68304,7 +68304,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68335,7 +68335,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68366,7 +68366,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{7DCCB2BE-9664-504E-8585-ED46CD3FE97F}", "entry": { "name": "In", @@ -68397,7 +68397,7 @@ ] }, { - "key": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", + "base": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "context": "OnDemandReflected", "variant": "", "details": { @@ -68407,7 +68407,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68444,7 +68444,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68487,7 +68487,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68516,7 +68516,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68547,7 +68547,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68578,7 +68578,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68609,7 +68609,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68640,7 +68640,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68677,7 +68677,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68714,7 +68714,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68745,7 +68745,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68782,7 +68782,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68813,7 +68813,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68844,7 +68844,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{681B589F-DB42-5D86-B6FC-C4B62EBC5F19}", "entry": { "name": "In", @@ -68875,7 +68875,7 @@ ] }, { - "key": "{1F0C2998-C47A-546C-A9A5-23155075A403}", + "base": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "context": "OnDemandReflected", "variant": "", "details": { @@ -68885,7 +68885,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -68922,7 +68922,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -68965,7 +68965,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -68994,7 +68994,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69025,7 +69025,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69056,7 +69056,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69087,7 +69087,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69118,7 +69118,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69155,7 +69155,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69192,7 +69192,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69223,7 +69223,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69260,7 +69260,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69291,7 +69291,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69322,7 +69322,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{1F0C2998-C47A-546C-A9A5-23155075A403}", "entry": { "name": "In", @@ -69353,7 +69353,7 @@ ] }, { - "key": "{76898795-2B30-4645-B6D4-67568ECC889F}", + "base": "{76898795-2B30-4645-B6D4-67568ECC889F}", "context": "OnDemandReflected", "variant": "", "details": { @@ -69361,7 +69361,7 @@ }, "methods": [ { - "key": "ThreeGeneric", + "base": "ThreeGeneric", "context": "{76898795-2B30-4645-B6D4-67568ECC889F}", "entry": { "name": "In", @@ -69404,7 +69404,7 @@ ] }, { - "key": "MultiplyAndAdd", + "base": "MultiplyAndAdd", "context": "{76898795-2B30-4645-B6D4-67568ECC889F}", "entry": { "name": "In", @@ -69447,7 +69447,7 @@ ] }, { - "key": "StringToNumber", + "base": "StringToNumber", "context": "{76898795-2B30-4645-B6D4-67568ECC889F}", "entry": { "name": "In", @@ -69480,7 +69480,7 @@ ] }, { - "key": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", + "base": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "context": "OnDemandReflected", "variant": "", "details": { @@ -69488,7 +69488,7 @@ }, "methods": [ { - "key": "RotationZDegrees", + "base": "RotationZDegrees", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69519,7 +69519,7 @@ ] }, { - "key": "GetUp", + "base": "GetUp", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69556,7 +69556,7 @@ ] }, { - "key": "GetForward", + "base": "GetForward", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69593,7 +69593,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69636,7 +69636,7 @@ ] }, { - "key": "RotationXDegrees", + "base": "RotationXDegrees", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69667,7 +69667,7 @@ ] }, { - "key": "FromTranslation", + "base": "FromTranslation", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69698,7 +69698,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69729,7 +69729,7 @@ ] }, { - "key": "MultiplyByUniformScale", + "base": "MultiplyByUniformScale", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69766,7 +69766,7 @@ ] }, { - "key": "MultiplyByTransform", + "base": "MultiplyByTransform", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69803,7 +69803,7 @@ ] }, { - "key": "FromRotation", + "base": "FromRotation", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69834,7 +69834,7 @@ ] }, { - "key": "RotationYDegrees", + "base": "RotationYDegrees", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69865,7 +69865,7 @@ ] }, { - "key": "FromRotationAndTranslation", + "base": "FromRotationAndTranslation", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69902,7 +69902,7 @@ ] }, { - "key": "MultiplyByVector3", + "base": "MultiplyByVector3", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69939,7 +69939,7 @@ ] }, { - "key": "MultiplyByVector4", + "base": "MultiplyByVector4", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -69976,7 +69976,7 @@ ] }, { - "key": "ToScale", + "base": "ToScale", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -70007,7 +70007,7 @@ ] }, { - "key": "FromMatrix3x3", + "base": "FromMatrix3x3", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -70038,7 +70038,7 @@ ] }, { - "key": "GetRight", + "base": "GetRight", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -70075,7 +70075,7 @@ ] }, { - "key": "IsOrthogonal", + "base": "IsOrthogonal", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -70112,7 +70112,7 @@ ] }, { - "key": "Orthogonalize", + "base": "Orthogonalize", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -70143,7 +70143,7 @@ ] }, { - "key": "FromMatrix3x3AndTranslation", + "base": "FromMatrix3x3AndTranslation", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -70180,7 +70180,7 @@ ] }, { - "key": "FromScale", + "base": "FromScale", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -70211,7 +70211,7 @@ ] }, { - "key": "GetTranslation", + "base": "GetTranslation", "context": "{59E0EF87-352C-4CFB-A810-5B8752BDD1EF}", "entry": { "name": "In", @@ -70244,7 +70244,7 @@ ] }, { - "key": "{F48E1596-F805-51F0-8BC4-E093F8517935}", + "base": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "context": "OnDemandReflected", "variant": "", "details": { @@ -70254,7 +70254,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70291,7 +70291,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70334,7 +70334,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70363,7 +70363,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70394,7 +70394,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70425,7 +70425,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70456,7 +70456,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70487,7 +70487,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70524,7 +70524,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70561,7 +70561,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70592,7 +70592,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70629,7 +70629,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70660,7 +70660,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70691,7 +70691,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{F48E1596-F805-51F0-8BC4-E093F8517935}", "entry": { "name": "In", @@ -70722,7 +70722,7 @@ ] }, { - "key": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", + "base": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "context": "OnDemandReflected", "variant": "", "details": { @@ -70730,7 +70730,7 @@ }, "methods": [ { - "key": "Transpose", + "base": "Transpose", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -70761,7 +70761,7 @@ ] }, { - "key": "Zero", + "base": "Zero", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -70784,7 +70784,7 @@ ] }, { - "key": "Subtract", + "base": "Subtract", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -70821,7 +70821,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -70864,7 +70864,7 @@ ] }, { - "key": "Invert", + "base": "Invert", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -70895,7 +70895,7 @@ ] }, { - "key": "GetDiagonal", + "base": "GetDiagonal", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -70926,7 +70926,7 @@ ] }, { - "key": "GetColumn", + "base": "GetColumn", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -70963,7 +70963,7 @@ ] }, { - "key": "MultiplyByVector", + "base": "MultiplyByVector", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71000,7 +71000,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71037,7 +71037,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71068,7 +71068,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71105,7 +71105,7 @@ ] }, { - "key": "ToAdjugate", + "base": "ToAdjugate", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71136,7 +71136,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71179,7 +71179,7 @@ ] }, { - "key": "MultiplyByMatrix", + "base": "MultiplyByMatrix", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71216,7 +71216,7 @@ ] }, { - "key": "IsOrthogonal", + "base": "IsOrthogonal", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71247,7 +71247,7 @@ ] }, { - "key": "Orthogonalize", + "base": "Orthogonalize", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71278,7 +71278,7 @@ ] }, { - "key": "GetRows", + "base": "GetRows", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71309,7 +71309,7 @@ ] }, { - "key": "FromCrossProduct", + "base": "FromCrossProduct", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71340,7 +71340,7 @@ ] }, { - "key": "GetColumns", + "base": "GetColumns", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71371,7 +71371,7 @@ ] }, { - "key": "FromTransform", + "base": "FromTransform", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71402,7 +71402,7 @@ ] }, { - "key": "FromScale", + "base": "FromScale", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71433,7 +71433,7 @@ ] }, { - "key": "ToScale", + "base": "ToScale", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71464,7 +71464,7 @@ ] }, { - "key": "FromQuaternion", + "base": "FromQuaternion", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71495,7 +71495,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71532,7 +71532,7 @@ ] }, { - "key": "GetRow", + "base": "GetRow", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71569,7 +71569,7 @@ ] }, { - "key": "FromRotationYDegrees", + "base": "FromRotationYDegrees", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71600,7 +71600,7 @@ ] }, { - "key": "FromRows", + "base": "FromRows", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71643,7 +71643,7 @@ ] }, { - "key": "FromDiagonal", + "base": "FromDiagonal", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71674,7 +71674,7 @@ ] }, { - "key": "FromRotationZDegrees", + "base": "FromRotationZDegrees", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71705,7 +71705,7 @@ ] }, { - "key": "FromMatrix4x4", + "base": "FromMatrix4x4", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71736,7 +71736,7 @@ ] }, { - "key": "FromColumns", + "base": "FromColumns", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71779,7 +71779,7 @@ ] }, { - "key": "FromRotationXDegrees", + "base": "FromRotationXDegrees", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71810,7 +71810,7 @@ ] }, { - "key": "ToDeterminant", + "base": "ToDeterminant", "context": "{8C5F6959-C2C4-46D9-9FCD-4DC234E7732D}", "entry": { "name": "In", @@ -71843,7 +71843,7 @@ ] }, { - "key": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", + "base": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -71853,7 +71853,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -71890,7 +71890,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -71933,7 +71933,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -71962,7 +71962,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -71993,7 +71993,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -72024,7 +72024,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -72055,7 +72055,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -72086,7 +72086,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -72123,7 +72123,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -72160,7 +72160,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -72191,7 +72191,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -72228,7 +72228,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -72259,7 +72259,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -72290,7 +72290,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{B7141BE7-3946-56D1-8B31-CAD10C7C7D9C}", "entry": { "name": "In", @@ -72321,7 +72321,7 @@ ] }, { - "key": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", + "base": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "context": "OnDemandReflected", "variant": "", "details": { @@ -72331,7 +72331,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72368,7 +72368,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72411,7 +72411,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72440,7 +72440,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72471,7 +72471,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72502,7 +72502,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72533,7 +72533,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72564,7 +72564,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72601,7 +72601,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72638,7 +72638,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72669,7 +72669,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72706,7 +72706,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72737,7 +72737,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72768,7 +72768,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{8EA123A3-72BE-5B00-A22E-BEF0AFB0B68B}", "entry": { "name": "In", @@ -72799,7 +72799,7 @@ ] }, { - "key": "{0E9C062F-96E1-58E9-BCE0-AB93C4C425A1}", + "base": "{0E9C062F-96E1-58E9-BCE0-AB93C4C425A1}", "context": "OnDemandReflected", "variant": "", "details": { @@ -72807,7 +72807,7 @@ }, "methods": [ { - "key": "GetError", + "base": "GetError", "context": "{0E9C062F-96E1-58E9-BCE0-AB93C4C425A1}", "entry": { "name": "In", @@ -72838,7 +72838,7 @@ ] }, { - "key": "IsSuccess", + "base": "IsSuccess", "context": "{0E9C062F-96E1-58E9-BCE0-AB93C4C425A1}", "entry": { "name": "In", @@ -72869,7 +72869,7 @@ ] }, { - "key": "Success", + "base": "Success", "context": "{0E9C062F-96E1-58E9-BCE0-AB93C4C425A1}", "entry": { "name": "In", @@ -72901,7 +72901,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "context": "{0E9C062F-96E1-58E9-BCE0-AB93C4C425A1}", "entry": { "name": "In", @@ -72933,7 +72933,7 @@ ] }, { - "key": "Failure", + "base": "Failure", "context": "{0E9C062F-96E1-58E9-BCE0-AB93C4C425A1}", "entry": { "name": "In", @@ -72966,7 +72966,7 @@ ] }, { - "key": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", + "base": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -72976,7 +72976,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73007,7 +73007,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73038,7 +73038,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73075,7 +73075,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73104,7 +73104,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73141,7 +73141,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73172,7 +73172,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73195,7 +73195,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73226,7 +73226,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73263,7 +73263,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73294,7 +73294,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73323,7 +73323,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73352,7 +73352,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73389,7 +73389,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73426,7 +73426,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73449,7 +73449,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73480,7 +73480,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73517,7 +73517,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73554,7 +73554,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73585,7 +73585,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73616,7 +73616,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73651,7 +73651,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73682,7 +73682,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73725,7 +73725,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73754,7 +73754,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73783,7 +73783,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{7FF36F26-644E-5051-84BB-AE54534C84D4}", "entry": { "name": "In", @@ -73816,7 +73816,7 @@ ] }, { - "key": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", + "base": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -73826,7 +73826,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -73857,7 +73857,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -73888,7 +73888,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -73925,7 +73925,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -73954,7 +73954,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -73991,7 +73991,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74022,7 +74022,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74045,7 +74045,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74076,7 +74076,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74113,7 +74113,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74144,7 +74144,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74173,7 +74173,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74202,7 +74202,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74239,7 +74239,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74276,7 +74276,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74299,7 +74299,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74330,7 +74330,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74367,7 +74367,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74404,7 +74404,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74435,7 +74435,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74466,7 +74466,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74501,7 +74501,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74532,7 +74532,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74575,7 +74575,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74604,7 +74604,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74633,7 +74633,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{BFBA17B6-CDE2-5239-AEE0-58DF7FA14E3C}", "entry": { "name": "In", @@ -74666,7 +74666,7 @@ ] }, { - "key": "{5AEF7C62-0529-57B0-859D-97C69E910729}", + "base": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "context": "OnDemandReflected", "variant": "", "details": { @@ -74676,7 +74676,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -74713,7 +74713,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -74756,7 +74756,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -74785,7 +74785,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -74816,7 +74816,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -74847,7 +74847,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -74878,7 +74878,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -74909,7 +74909,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -74946,7 +74946,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -74983,7 +74983,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -75014,7 +75014,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -75051,7 +75051,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -75082,7 +75082,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -75113,7 +75113,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{5AEF7C62-0529-57B0-859D-97C69E910729}", "entry": { "name": "In", @@ -75144,7 +75144,7 @@ ] }, { - "key": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", + "base": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "context": "OnDemandReflected", "variant": "", "details": { @@ -75154,7 +75154,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75185,7 +75185,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75216,7 +75216,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75253,7 +75253,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75282,7 +75282,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75319,7 +75319,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75350,7 +75350,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75373,7 +75373,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75404,7 +75404,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75441,7 +75441,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75472,7 +75472,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75501,7 +75501,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75530,7 +75530,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75567,7 +75567,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75604,7 +75604,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75627,7 +75627,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75658,7 +75658,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75695,7 +75695,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75732,7 +75732,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75763,7 +75763,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75794,7 +75794,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75829,7 +75829,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75860,7 +75860,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75903,7 +75903,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75932,7 +75932,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75961,7 +75961,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{7770AD3E-BABE-5F1C-B322-DE5DEAE94974}", "entry": { "name": "In", @@ -75994,7 +75994,7 @@ ] }, { - "key": "{B0D91084-263A-54B9-A4F3-7C5F4240E248}", + "base": "{B0D91084-263A-54B9-A4F3-7C5F4240E248}", "context": "OnDemandReflected", "variant": "", "details": { @@ -76002,7 +76002,7 @@ }, "methods": [ { - "key": "has_value", + "base": "has_value", "context": "{B0D91084-263A-54B9-A4F3-7C5F4240E248}", "entry": { "name": "In", @@ -76033,7 +76033,7 @@ ] }, { - "key": "__bool__", + "base": "__bool__", "context": "{B0D91084-263A-54B9-A4F3-7C5F4240E248}", "entry": { "name": "In", @@ -76064,7 +76064,7 @@ ] }, { - "key": "value", + "base": "value", "context": "{B0D91084-263A-54B9-A4F3-7C5F4240E248}", "entry": { "name": "In", @@ -76095,7 +76095,7 @@ ] }, { - "key": "value_or", + "base": "value_or", "context": "{B0D91084-263A-54B9-A4F3-7C5F4240E248}", "entry": { "name": "In", @@ -76134,7 +76134,7 @@ ] }, { - "key": "{3A98C3C6-91C4-5B49-8559-1C4C9EA9BCB8}", + "base": "{3A98C3C6-91C4-5B49-8559-1C4C9EA9BCB8}", "context": "OnDemandReflected", "variant": "", "details": { @@ -76142,7 +76142,7 @@ }, "methods": [ { - "key": "Get0", + "base": "Get0", "context": "{3A98C3C6-91C4-5B49-8559-1C4C9EA9BCB8}", "entry": { "name": "In", @@ -76173,7 +76173,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{3A98C3C6-91C4-5B49-8559-1C4C9EA9BCB8}", "entry": { "name": "In", @@ -76204,7 +76204,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{3A98C3C6-91C4-5B49-8559-1C4C9EA9BCB8}", "entry": { "name": "In", @@ -76229,7 +76229,7 @@ ] }, { - "key": "{AE62FC16-F824-5FD2-90BE-1ECF60E08A7F}", + "base": "{AE62FC16-F824-5FD2-90BE-1ECF60E08A7F}", "context": "OnDemandReflected", "variant": "", "details": { @@ -76237,7 +76237,7 @@ }, "methods": [ { - "key": "GetError", + "base": "GetError", "context": "{AE62FC16-F824-5FD2-90BE-1ECF60E08A7F}", "entry": { "name": "In", @@ -76268,7 +76268,7 @@ ] }, { - "key": "IsSuccess", + "base": "IsSuccess", "context": "{AE62FC16-F824-5FD2-90BE-1ECF60E08A7F}", "entry": { "name": "In", @@ -76299,7 +76299,7 @@ ] }, { - "key": "Success", + "base": "Success", "context": "{AE62FC16-F824-5FD2-90BE-1ECF60E08A7F}", "entry": { "name": "In", @@ -76330,7 +76330,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "context": "{AE62FC16-F824-5FD2-90BE-1ECF60E08A7F}", "entry": { "name": "In", @@ -76361,7 +76361,7 @@ ] }, { - "key": "Failure", + "base": "Failure", "context": "{AE62FC16-F824-5FD2-90BE-1ECF60E08A7F}", "entry": { "name": "In", @@ -76394,7 +76394,7 @@ ] }, { - "key": "{4B687295-2381-5741-AA96-F7441F09267B}", + "base": "{4B687295-2381-5741-AA96-F7441F09267B}", "context": "OnDemandReflected", "variant": "", "details": { @@ -76402,7 +76402,7 @@ }, "methods": [ { - "key": "GetError", + "base": "GetError", "context": "{4B687295-2381-5741-AA96-F7441F09267B}", "entry": { "name": "In", @@ -76433,7 +76433,7 @@ ] }, { - "key": "IsSuccess", + "base": "IsSuccess", "context": "{4B687295-2381-5741-AA96-F7441F09267B}", "entry": { "name": "In", @@ -76464,7 +76464,7 @@ ] }, { - "key": "Success", + "base": "Success", "context": "{4B687295-2381-5741-AA96-F7441F09267B}", "entry": { "name": "In", @@ -76495,7 +76495,7 @@ ] }, { - "key": "GetValue", + "base": "GetValue", "context": "{4B687295-2381-5741-AA96-F7441F09267B}", "entry": { "name": "In", @@ -76526,7 +76526,7 @@ ] }, { - "key": "Failure", + "base": "Failure", "context": "{4B687295-2381-5741-AA96-F7441F09267B}", "entry": { "name": "In", @@ -76559,7 +76559,7 @@ ] }, { - "key": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", + "base": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "context": "OnDemandReflected", "variant": "", "details": { @@ -76569,7 +76569,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76606,7 +76606,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76649,7 +76649,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76678,7 +76678,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76709,7 +76709,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76740,7 +76740,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76771,7 +76771,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76802,7 +76802,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76839,7 +76839,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76876,7 +76876,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76907,7 +76907,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76944,7 +76944,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -76975,7 +76975,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -77006,7 +77006,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{BCE9535C-B250-56FE-97DF-36D4E06C6172}", "entry": { "name": "In", @@ -77037,7 +77037,7 @@ ] }, { - "key": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", + "base": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "context": "OnDemandReflected", "variant": "", "details": { @@ -77047,7 +77047,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77084,7 +77084,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77127,7 +77127,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77156,7 +77156,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77187,7 +77187,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77218,7 +77218,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77249,7 +77249,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77280,7 +77280,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77317,7 +77317,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77354,7 +77354,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77385,7 +77385,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77422,7 +77422,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77453,7 +77453,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77484,7 +77484,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{401CAC93-74F8-5025-81EF-63F124BC87AF}", "entry": { "name": "In", @@ -77515,7 +77515,7 @@ ] }, { - "key": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", + "base": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "context": "OnDemandReflected", "variant": "", "details": { @@ -77525,7 +77525,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77556,7 +77556,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77587,7 +77587,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77624,7 +77624,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77653,7 +77653,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77690,7 +77690,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77721,7 +77721,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77744,7 +77744,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77775,7 +77775,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77812,7 +77812,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77843,7 +77843,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77872,7 +77872,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77901,7 +77901,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77938,7 +77938,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77975,7 +77975,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -77998,7 +77998,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78029,7 +78029,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78066,7 +78066,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78103,7 +78103,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78134,7 +78134,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78165,7 +78165,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78200,7 +78200,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78231,7 +78231,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78274,7 +78274,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78303,7 +78303,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78332,7 +78332,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{16DCF0FE-97AD-54FE-8796-74CE2156240B}", "entry": { "name": "In", @@ -78365,7 +78365,7 @@ ] }, { - "key": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", + "base": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "context": "OnDemandReflected", "variant": "", "details": { @@ -78375,7 +78375,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78406,7 +78406,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78438,7 +78438,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78475,7 +78475,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78504,7 +78504,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78542,7 +78542,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78574,7 +78574,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78597,7 +78597,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78628,7 +78628,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78666,7 +78666,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78697,7 +78697,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78726,7 +78726,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78756,7 +78756,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78794,7 +78794,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78832,7 +78832,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78855,7 +78855,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78886,7 +78886,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78923,7 +78923,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78960,7 +78960,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -78991,7 +78991,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -79022,7 +79022,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -79058,7 +79058,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -79089,7 +79089,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -79133,7 +79133,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -79163,7 +79163,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -79192,7 +79192,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}", "entry": { "name": "In", @@ -79225,7 +79225,7 @@ ] }, { - "key": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", + "base": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "context": "OnDemandReflected", "variant": "", "details": { @@ -79235,7 +79235,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79266,7 +79266,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79297,7 +79297,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79334,7 +79334,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79363,7 +79363,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79400,7 +79400,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79431,7 +79431,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79454,7 +79454,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79485,7 +79485,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79522,7 +79522,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79553,7 +79553,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79582,7 +79582,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79611,7 +79611,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79648,7 +79648,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79685,7 +79685,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79708,7 +79708,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79739,7 +79739,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79776,7 +79776,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79813,7 +79813,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79844,7 +79844,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79875,7 +79875,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79910,7 +79910,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79941,7 +79941,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -79984,7 +79984,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -80013,7 +80013,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -80042,7 +80042,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{5CBE5640-DF5C-5A49-9195-D790881A0747}", "entry": { "name": "In", @@ -80075,7 +80075,7 @@ ] }, { - "key": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", + "base": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "context": "OnDemandReflected", "variant": "", "details": { @@ -80085,7 +80085,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80116,7 +80116,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80147,7 +80147,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80184,7 +80184,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80213,7 +80213,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80250,7 +80250,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80281,7 +80281,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80304,7 +80304,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80335,7 +80335,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80372,7 +80372,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80403,7 +80403,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80432,7 +80432,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80461,7 +80461,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80498,7 +80498,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80535,7 +80535,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80558,7 +80558,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80589,7 +80589,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80626,7 +80626,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80663,7 +80663,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80694,7 +80694,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80725,7 +80725,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80760,7 +80760,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80791,7 +80791,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80834,7 +80834,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80863,7 +80863,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80892,7 +80892,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{8293031B-ABC3-5CD2-A1CB-1DB6792ADD5C}", "entry": { "name": "In", @@ -80925,7 +80925,7 @@ ] }, { - "key": "{A9AF6811-A281-5484-9A1B-4D036F173054}", + "base": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "context": "OnDemandReflected", "variant": "", "details": { @@ -80935,7 +80935,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -80973,7 +80973,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81017,7 +81017,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81046,7 +81046,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81077,7 +81077,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81108,7 +81108,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81139,7 +81139,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81170,7 +81170,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81208,7 +81208,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81246,7 +81246,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81277,7 +81277,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81315,7 +81315,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81346,7 +81346,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81377,7 +81377,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{A9AF6811-A281-5484-9A1B-4D036F173054}", "entry": { "name": "In", @@ -81408,7 +81408,7 @@ ] }, { - "key": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", + "base": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "context": "OnDemandReflected", "variant": "", "details": { @@ -81418,7 +81418,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81449,7 +81449,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81480,7 +81480,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81517,7 +81517,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81546,7 +81546,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81583,7 +81583,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81614,7 +81614,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81637,7 +81637,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81668,7 +81668,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81705,7 +81705,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81736,7 +81736,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81765,7 +81765,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81794,7 +81794,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81831,7 +81831,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81868,7 +81868,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81891,7 +81891,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81922,7 +81922,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81959,7 +81959,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -81996,7 +81996,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -82027,7 +82027,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -82058,7 +82058,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -82093,7 +82093,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -82124,7 +82124,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -82167,7 +82167,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -82196,7 +82196,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -82225,7 +82225,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{3349AACD-BE04-50BC-9478-528BF2ACFD55}", "entry": { "name": "In", @@ -82258,7 +82258,7 @@ ] }, { - "key": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", + "base": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "context": "OnDemandReflected", "variant": "", "details": { @@ -82268,7 +82268,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82305,7 +82305,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82348,7 +82348,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82377,7 +82377,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82408,7 +82408,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82439,7 +82439,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82470,7 +82470,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82501,7 +82501,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82538,7 +82538,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82575,7 +82575,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82606,7 +82606,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82643,7 +82643,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82674,7 +82674,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82705,7 +82705,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{C6B5A66B-6C0C-5D91-9CEE-88A5AEE507DC}", "entry": { "name": "In", @@ -82736,7 +82736,7 @@ ] }, { - "key": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", + "base": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "context": "OnDemandReflected", "variant": "", "details": { @@ -82746,7 +82746,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -82783,7 +82783,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -82827,7 +82827,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -82856,7 +82856,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -82887,7 +82887,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -82918,7 +82918,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -82949,7 +82949,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -82980,7 +82980,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -83017,7 +83017,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -83054,7 +83054,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -83085,7 +83085,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -83123,7 +83123,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -83154,7 +83154,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -83185,7 +83185,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{2B02AB33-C406-5E1C-9416-740FD3BD03A1}", "entry": { "name": "In", @@ -83216,7 +83216,7 @@ ] }, { - "key": "{53C0CD3E-D0FC-5D90-9E9B-EF364D430B08}", + "base": "{53C0CD3E-D0FC-5D90-9E9B-EF364D430B08}", "context": "OnDemandReflected", "variant": "", "details": { @@ -83224,7 +83224,7 @@ }, "methods": [ { - "key": "Get0", + "base": "Get0", "context": "{53C0CD3E-D0FC-5D90-9E9B-EF364D430B08}", "entry": { "name": "In", @@ -83255,7 +83255,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{53C0CD3E-D0FC-5D90-9E9B-EF364D430B08}", "entry": { "name": "In", @@ -83286,7 +83286,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{53C0CD3E-D0FC-5D90-9E9B-EF364D430B08}", "entry": { "name": "In", @@ -83311,7 +83311,7 @@ ] }, { - "key": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", + "base": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "context": "OnDemandReflected", "variant": "", "details": { @@ -83319,7 +83319,7 @@ }, "methods": [ { - "key": "GetPlaneEquationCoefficients", + "base": "GetPlaneEquationCoefficients", "context": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "entry": { "name": "In", @@ -83350,7 +83350,7 @@ ] }, { - "key": "GetDistance", + "base": "GetDistance", "context": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "entry": { "name": "In", @@ -83381,7 +83381,7 @@ ] }, { - "key": "Project", + "base": "Project", "context": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "entry": { "name": "In", @@ -83418,7 +83418,7 @@ ] }, { - "key": "FromNormalAndPoint", + "base": "FromNormalAndPoint", "context": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "entry": { "name": "In", @@ -83455,7 +83455,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "entry": { "name": "In", @@ -83486,7 +83486,7 @@ ] }, { - "key": "Transform", + "base": "Transform", "context": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "entry": { "name": "In", @@ -83523,7 +83523,7 @@ ] }, { - "key": "DistanceToPoint", + "base": "DistanceToPoint", "context": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "entry": { "name": "In", @@ -83560,7 +83560,7 @@ ] }, { - "key": "FromCoefficients", + "base": "FromCoefficients", "context": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "entry": { "name": "In", @@ -83609,7 +83609,7 @@ ] }, { - "key": "FromNormalAndDistance", + "base": "FromNormalAndDistance", "context": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "entry": { "name": "In", @@ -83646,7 +83646,7 @@ ] }, { - "key": "GetNormal", + "base": "GetNormal", "context": "{F2C799DF-2CC1-4DD8-91DC-18C2D517BAB0}", "entry": { "name": "In", @@ -83679,7 +83679,7 @@ ] }, { - "key": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", + "base": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "context": "OnDemandReflected", "variant": "", "details": { @@ -83689,7 +83689,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -83726,7 +83726,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -83769,7 +83769,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -83798,7 +83798,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -83829,7 +83829,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -83860,7 +83860,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -83891,7 +83891,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -83922,7 +83922,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -83959,7 +83959,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -83996,7 +83996,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -84027,7 +84027,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -84064,7 +84064,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -84095,7 +84095,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -84126,7 +84126,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{24BA43F8-220C-589A-AA28-EAF5949C48F3}", "entry": { "name": "In", @@ -84157,7 +84157,7 @@ ] }, { - "key": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", + "base": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "context": "OnDemandReflected", "variant": "", "details": { @@ -84167,7 +84167,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84198,7 +84198,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84229,7 +84229,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84266,7 +84266,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84295,7 +84295,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84332,7 +84332,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84363,7 +84363,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84386,7 +84386,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84417,7 +84417,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84454,7 +84454,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84485,7 +84485,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84514,7 +84514,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84543,7 +84543,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84580,7 +84580,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84617,7 +84617,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84640,7 +84640,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84671,7 +84671,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84708,7 +84708,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84745,7 +84745,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84776,7 +84776,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84807,7 +84807,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84842,7 +84842,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84873,7 +84873,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84916,7 +84916,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84945,7 +84945,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -84974,7 +84974,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{13D041F6-75FA-5093-AD85-827A2CEA1646}", "entry": { "name": "In", @@ -85007,7 +85007,7 @@ ] }, { - "key": "{3127F618-4C25-512D-97E2-888640B6303D}", + "base": "{3127F618-4C25-512D-97E2-888640B6303D}", "context": "OnDemandReflected", "variant": "", "details": { @@ -85017,7 +85017,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85054,7 +85054,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85098,7 +85098,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85127,7 +85127,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85158,7 +85158,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85189,7 +85189,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85220,7 +85220,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85251,7 +85251,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85288,7 +85288,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85325,7 +85325,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85356,7 +85356,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85394,7 +85394,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85425,7 +85425,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85456,7 +85456,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{3127F618-4C25-512D-97E2-888640B6303D}", "entry": { "name": "In", @@ -85487,7 +85487,7 @@ ] }, { - "key": "{EC31903C-334D-5991-99E1-6B9A94A31423}", + "base": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "context": "OnDemandReflected", "variant": "", "details": { @@ -85497,7 +85497,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85534,7 +85534,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85577,7 +85577,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85606,7 +85606,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85637,7 +85637,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85668,7 +85668,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85699,7 +85699,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85730,7 +85730,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85767,7 +85767,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85804,7 +85804,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85835,7 +85835,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85872,7 +85872,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85903,7 +85903,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85934,7 +85934,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{EC31903C-334D-5991-99E1-6B9A94A31423}", "entry": { "name": "In", @@ -85965,7 +85965,7 @@ ] }, { - "key": "{F31AA4C4-5A73-510B-BFD3-20ACE0D9CE67}", + "base": "{F31AA4C4-5A73-510B-BFD3-20ACE0D9CE67}", "context": "OnDemandReflected", "variant": "", "details": { @@ -85973,7 +85973,7 @@ }, "methods": [ { - "key": "Get0", + "base": "Get0", "context": "{F31AA4C4-5A73-510B-BFD3-20ACE0D9CE67}", "entry": { "name": "In", @@ -86004,7 +86004,7 @@ ] }, { - "key": "Get1", + "base": "Get1", "context": "{F31AA4C4-5A73-510B-BFD3-20ACE0D9CE67}", "entry": { "name": "In", @@ -86035,7 +86035,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{F31AA4C4-5A73-510B-BFD3-20ACE0D9CE67}", "entry": { "name": "In", @@ -86060,7 +86060,7 @@ ] }, { - "key": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", + "base": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -86070,7 +86070,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86107,7 +86107,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86150,7 +86150,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86179,7 +86179,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86210,7 +86210,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86241,7 +86241,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86272,7 +86272,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86303,7 +86303,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86340,7 +86340,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86377,7 +86377,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86408,7 +86408,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86445,7 +86445,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86476,7 +86476,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86507,7 +86507,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{5FF88453-CF6E-5859-BF56-4F29CCBD73D4}", "entry": { "name": "In", @@ -86538,7 +86538,7 @@ ] }, { - "key": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", + "base": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "context": "OnDemandReflected", "variant": "", "details": { @@ -86548,7 +86548,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86585,7 +86585,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86628,7 +86628,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86657,7 +86657,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86688,7 +86688,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86719,7 +86719,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86750,7 +86750,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86781,7 +86781,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86818,7 +86818,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86855,7 +86855,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86886,7 +86886,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86923,7 +86923,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86954,7 +86954,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -86985,7 +86985,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{E1CD6BDA-AB0E-5B5A-8DDA-AFEF7A94FD06}", "entry": { "name": "In", @@ -87016,7 +87016,7 @@ ] }, { - "key": "{C3B16018-28FB-5CFE-B871-25B6E2F0B110}", + "base": "{C3B16018-28FB-5CFE-B871-25B6E2F0B110}", "context": "OnDemandReflected", "variant": "", "details": { @@ -87024,7 +87024,7 @@ }, "methods": [ { - "key": "IsLoading", + "base": "IsLoading", "context": "{C3B16018-28FB-5CFE-B871-25B6E2F0B110}", "entry": { "name": "In", @@ -87055,7 +87055,7 @@ ] }, { - "key": "GetType", + "base": "GetType", "context": "{C3B16018-28FB-5CFE-B871-25B6E2F0B110}", "entry": { "name": "In", @@ -87086,7 +87086,7 @@ ] }, { - "key": "IsError", + "base": "IsError", "context": "{C3B16018-28FB-5CFE-B871-25B6E2F0B110}", "entry": { "name": "In", @@ -87117,7 +87117,7 @@ ] }, { - "key": "GetHint", + "base": "GetHint", "context": "{C3B16018-28FB-5CFE-B871-25B6E2F0B110}", "entry": { "name": "In", @@ -87148,7 +87148,7 @@ ] }, { - "key": "GetData", + "base": "GetData", "context": "{C3B16018-28FB-5CFE-B871-25B6E2F0B110}", "entry": { "name": "In", @@ -87179,7 +87179,7 @@ ] }, { - "key": "IsReady", + "base": "IsReady", "context": "{C3B16018-28FB-5CFE-B871-25B6E2F0B110}", "entry": { "name": "In", @@ -87210,7 +87210,7 @@ ] }, { - "key": "GetStatus", + "base": "GetStatus", "context": "{C3B16018-28FB-5CFE-B871-25B6E2F0B110}", "entry": { "name": "In", @@ -87241,7 +87241,7 @@ ] }, { - "key": "GetId", + "base": "GetId", "context": "{C3B16018-28FB-5CFE-B871-25B6E2F0B110}", "entry": { "name": "In", @@ -87274,7 +87274,7 @@ ] }, { - "key": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", + "base": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "context": "OnDemandReflected", "variant": "", "details": { @@ -87284,7 +87284,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87321,7 +87321,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87364,7 +87364,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87393,7 +87393,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87424,7 +87424,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87455,7 +87455,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87486,7 +87486,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87517,7 +87517,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87554,7 +87554,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87591,7 +87591,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87622,7 +87622,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87659,7 +87659,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87690,7 +87690,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87721,7 +87721,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{D96F5CA8-E7CE-5786-8C89-9D779A263909}", "entry": { "name": "In", @@ -87752,7 +87752,7 @@ ] }, { - "key": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", + "base": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "context": "OnDemandReflected", "variant": "", "details": { @@ -87762,7 +87762,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -87799,7 +87799,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -87842,7 +87842,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -87871,7 +87871,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -87902,7 +87902,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -87933,7 +87933,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -87964,7 +87964,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -87995,7 +87995,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -88032,7 +88032,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -88069,7 +88069,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -88100,7 +88100,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -88137,7 +88137,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -88168,7 +88168,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -88199,7 +88199,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{9EB5F5B2-ED76-5142-A631-4FF058C1B1F9}", "entry": { "name": "In", @@ -88230,7 +88230,7 @@ ] }, { - "key": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", + "base": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "context": "OnDemandReflected", "variant": "", "details": { @@ -88238,7 +88238,7 @@ }, "methods": [ { - "key": "Reciprocal", + "base": "Reciprocal", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88269,7 +88269,7 @@ ] }, { - "key": "Subtract", + "base": "Subtract", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88306,7 +88306,7 @@ ] }, { - "key": "Project", + "base": "Project", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88343,7 +88343,7 @@ ] }, { - "key": "Normalize", + "base": "Normalize", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88374,7 +88374,7 @@ ] }, { - "key": "Distance", + "base": "Distance", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88411,7 +88411,7 @@ ] }, { - "key": "SetZ", + "base": "SetZ", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88448,7 +88448,7 @@ ] }, { - "key": "Max", + "base": "Max", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88485,7 +88485,7 @@ ] }, { - "key": "GetElement", + "base": "GetElement", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88522,7 +88522,7 @@ ] }, { - "key": "Absolute", + "base": "Absolute", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88553,7 +88553,7 @@ ] }, { - "key": "BuildTangentBasis", + "base": "BuildTangentBasis", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88584,7 +88584,7 @@ ] }, { - "key": "Clamp", + "base": "Clamp", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88627,7 +88627,7 @@ ] }, { - "key": "MultiplyByNumber", + "base": "MultiplyByNumber", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88664,7 +88664,7 @@ ] }, { - "key": "Slerp", + "base": "Slerp", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88707,7 +88707,7 @@ ] }, { - "key": "IsZero", + "base": "IsZero", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88744,7 +88744,7 @@ ] }, { - "key": "SetY", + "base": "SetY", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88781,7 +88781,7 @@ ] }, { - "key": "IsClose", + "base": "IsClose", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88824,7 +88824,7 @@ ] }, { - "key": "Cross", + "base": "Cross", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88861,7 +88861,7 @@ ] }, { - "key": "DirectionTo", + "base": "DirectionTo", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88904,7 +88904,7 @@ ] }, { - "key": "MultiplyByVector", + "base": "MultiplyByVector", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88941,7 +88941,7 @@ ] }, { - "key": "Negate", + "base": "Negate", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -88972,7 +88972,7 @@ ] }, { - "key": "Add", + "base": "Add", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89009,7 +89009,7 @@ ] }, { - "key": "IsPerpendicular", + "base": "IsPerpendicular", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89052,7 +89052,7 @@ ] }, { - "key": "IsFinite", + "base": "IsFinite", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89083,7 +89083,7 @@ ] }, { - "key": "DivideByNumber", + "base": "DivideByNumber", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89120,7 +89120,7 @@ ] }, { - "key": "IsNormalized", + "base": "IsNormalized", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89157,7 +89157,7 @@ ] }, { - "key": "LengthSquared", + "base": "LengthSquared", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89188,7 +89188,7 @@ ] }, { - "key": "FromValues", + "base": "FromValues", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89231,7 +89231,7 @@ ] }, { - "key": "Dot", + "base": "Dot", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89268,7 +89268,7 @@ ] }, { - "key": "SetX", + "base": "SetX", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89305,7 +89305,7 @@ ] }, { - "key": "LengthReciprocal", + "base": "LengthReciprocal", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89336,7 +89336,7 @@ ] }, { - "key": "Min", + "base": "Min", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89373,7 +89373,7 @@ ] }, { - "key": "DistanceSquared", + "base": "DistanceSquared", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89410,7 +89410,7 @@ ] }, { - "key": "Length", + "base": "Length", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89441,7 +89441,7 @@ ] }, { - "key": "DivideByVector", + "base": "DivideByVector", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89478,7 +89478,7 @@ ] }, { - "key": "Lerp", + "base": "Lerp", "context": "{53EA7604-E3AE-4E88-BE0E-66CBC488A7DB}", "entry": { "name": "In", @@ -89523,7 +89523,7 @@ ] }, { - "key": "{4985DFB0-7CD9-5B28-980B-BA2C701BE3D6}", + "base": "{4985DFB0-7CD9-5B28-980B-BA2C701BE3D6}", "context": "OnDemandReflected", "variant": "", "details": { @@ -89531,7 +89531,7 @@ }, "methods": [ { - "key": "HasHandlerConnected", + "base": "HasHandlerConnected", "context": "{4985DFB0-7CD9-5B28-980B-BA2C701BE3D6}", "entry": { "name": "In", @@ -89564,7 +89564,7 @@ ] }, { - "key": "{2F556390-49B3-5F20-8206-21D323D977E6}", + "base": "{2F556390-49B3-5F20-8206-21D323D977E6}", "context": "OnDemandReflected", "variant": "", "details": { @@ -89574,7 +89574,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89611,7 +89611,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89654,7 +89654,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89683,7 +89683,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89714,7 +89714,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89745,7 +89745,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89776,7 +89776,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89807,7 +89807,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89844,7 +89844,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89881,7 +89881,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89912,7 +89912,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89949,7 +89949,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -89980,7 +89980,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -90011,7 +90011,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{2F556390-49B3-5F20-8206-21D323D977E6}", "entry": { "name": "In", @@ -90042,7 +90042,7 @@ ] }, { - "key": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", + "base": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "context": "OnDemandReflected", "variant": "", "details": { @@ -90052,7 +90052,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90089,7 +90089,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90132,7 +90132,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90161,7 +90161,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90192,7 +90192,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90223,7 +90223,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90254,7 +90254,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90285,7 +90285,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90322,7 +90322,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90359,7 +90359,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90390,7 +90390,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90427,7 +90427,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90458,7 +90458,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90489,7 +90489,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{180562CD-DF5B-5AC3-B867-9FBFB3A2539A}", "entry": { "name": "In", @@ -90520,7 +90520,7 @@ ] }, { - "key": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", + "base": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "context": "OnDemandReflected", "variant": "", "details": { @@ -90530,7 +90530,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90567,7 +90567,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90610,7 +90610,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90639,7 +90639,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90670,7 +90670,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90701,7 +90701,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90732,7 +90732,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90763,7 +90763,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90800,7 +90800,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90837,7 +90837,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90868,7 +90868,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90905,7 +90905,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90936,7 +90936,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90967,7 +90967,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{9F4210F0-9A8E-5536-A6FD-F3F55D854C0A}", "entry": { "name": "In", @@ -90998,7 +90998,7 @@ ] }, { - "key": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", + "base": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "context": "OnDemandReflected", "variant": "", "details": { @@ -91008,7 +91008,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91045,7 +91045,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91088,7 +91088,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91117,7 +91117,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91148,7 +91148,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91179,7 +91179,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91210,7 +91210,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91241,7 +91241,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91278,7 +91278,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91315,7 +91315,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91346,7 +91346,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91383,7 +91383,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91414,7 +91414,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91445,7 +91445,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{0764BFDD-6E1D-5F12-B746-219C67028B25}", "entry": { "name": "In", @@ -91476,7 +91476,7 @@ ] }, { - "key": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", + "base": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "context": "OnDemandReflected", "variant": "", "details": { @@ -91486,7 +91486,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91524,7 +91524,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91568,7 +91568,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91597,7 +91597,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91628,7 +91628,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91659,7 +91659,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91690,7 +91690,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91721,7 +91721,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91759,7 +91759,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91797,7 +91797,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91828,7 +91828,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91866,7 +91866,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91897,7 +91897,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91928,7 +91928,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{0D825FF8-6E54-5ADD-93B0-93496090CEFA}", "entry": { "name": "In", @@ -91959,7 +91959,7 @@ ] }, { - "key": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", + "base": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "context": "OnDemandReflected", "variant": "", "details": { @@ -91969,7 +91969,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92000,7 +92000,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92031,7 +92031,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92068,7 +92068,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92097,7 +92097,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92134,7 +92134,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92165,7 +92165,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92188,7 +92188,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92219,7 +92219,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92256,7 +92256,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92287,7 +92287,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92316,7 +92316,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92345,7 +92345,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92382,7 +92382,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92419,7 +92419,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92442,7 +92442,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92473,7 +92473,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92510,7 +92510,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92547,7 +92547,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92578,7 +92578,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92609,7 +92609,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92644,7 +92644,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92675,7 +92675,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92718,7 +92718,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92747,7 +92747,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92776,7 +92776,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{FA815A11-0F6B-5BB9-8C9F-71669EB6D4B0}", "entry": { "name": "In", @@ -92809,7 +92809,7 @@ ] }, { - "key": "{2B7F6107-B177-5C17-9408-823396E6D8B8}", + "base": "{2B7F6107-B177-5C17-9408-823396E6D8B8}", "context": "OnDemandReflected", "variant": "", "details": { @@ -92819,7 +92819,7 @@ }, "methods": [ { - "key": "get", + "base": "get", "context": "{2B7F6107-B177-5C17-9408-823396E6D8B8}", "entry": { "name": "In", @@ -92852,7 +92852,7 @@ ] }, { - "key": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", + "base": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "context": "OnDemandReflected", "variant": "", "details": { @@ -92862,7 +92862,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -92893,7 +92893,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -92925,7 +92925,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -92962,7 +92962,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -92991,7 +92991,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93029,7 +93029,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93061,7 +93061,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93084,7 +93084,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93115,7 +93115,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93153,7 +93153,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93184,7 +93184,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93213,7 +93213,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93243,7 +93243,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93281,7 +93281,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93319,7 +93319,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93342,7 +93342,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93373,7 +93373,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93410,7 +93410,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93447,7 +93447,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93478,7 +93478,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93509,7 +93509,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93545,7 +93545,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93576,7 +93576,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93620,7 +93620,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93650,7 +93650,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93679,7 +93679,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{6ED13EA7-791B-57A8-A4F1-560B5F35B472}", "entry": { "name": "In", @@ -93712,7 +93712,7 @@ ] }, { - "key": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", + "base": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "context": "OnDemandReflected", "variant": "", "details": { @@ -93722,7 +93722,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -93759,7 +93759,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -93802,7 +93802,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -93831,7 +93831,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -93862,7 +93862,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -93893,7 +93893,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -93924,7 +93924,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -93955,7 +93955,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -93992,7 +93992,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -94029,7 +94029,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -94060,7 +94060,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -94097,7 +94097,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -94128,7 +94128,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -94159,7 +94159,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{9ABF5933-C8FC-53CD-A518-B6AF433CF496}", "entry": { "name": "In", @@ -94190,7 +94190,7 @@ ] }, { - "key": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", + "base": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "context": "OnDemandReflected", "variant": "", "details": { @@ -94200,7 +94200,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94237,7 +94237,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94280,7 +94280,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94309,7 +94309,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94340,7 +94340,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94371,7 +94371,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94402,7 +94402,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94433,7 +94433,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94470,7 +94470,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94507,7 +94507,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94538,7 +94538,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94575,7 +94575,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94606,7 +94606,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94637,7 +94637,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{D9EF6EA6-B182-5A36-A7FF-E376FD0C05C7}", "entry": { "name": "In", @@ -94668,7 +94668,7 @@ ] }, { - "key": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", + "base": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "context": "OnDemandReflected", "variant": "", "details": { @@ -94678,7 +94678,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -94715,7 +94715,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -94758,7 +94758,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -94787,7 +94787,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -94818,7 +94818,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -94849,7 +94849,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -94880,7 +94880,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -94911,7 +94911,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -94948,7 +94948,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -94985,7 +94985,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -95016,7 +95016,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -95053,7 +95053,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -95084,7 +95084,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -95115,7 +95115,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{AF6D8DD5-0386-5E48-86B0-86131BC0D2D6}", "entry": { "name": "In", @@ -95146,7 +95146,7 @@ ] }, { - "key": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", + "base": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "context": "OnDemandReflected", "variant": "", "details": { @@ -95156,7 +95156,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95187,7 +95187,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95218,7 +95218,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95255,7 +95255,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95284,7 +95284,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95321,7 +95321,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95352,7 +95352,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95375,7 +95375,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95406,7 +95406,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95443,7 +95443,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95474,7 +95474,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95503,7 +95503,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95532,7 +95532,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95569,7 +95569,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95606,7 +95606,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95629,7 +95629,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95660,7 +95660,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95697,7 +95697,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95734,7 +95734,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95765,7 +95765,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95796,7 +95796,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95831,7 +95831,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95862,7 +95862,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95905,7 +95905,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95934,7 +95934,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95963,7 +95963,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{24A1B3FF-51E3-5699-9ED7-49D835DE1DED}", "entry": { "name": "In", @@ -95996,7 +95996,7 @@ ] }, { - "key": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", + "base": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "context": "OnDemandReflected", "variant": "", "details": { @@ -96006,7 +96006,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96044,7 +96044,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96088,7 +96088,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96117,7 +96117,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96148,7 +96148,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96179,7 +96179,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96210,7 +96210,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96241,7 +96241,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96279,7 +96279,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96317,7 +96317,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96348,7 +96348,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96386,7 +96386,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96417,7 +96417,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96448,7 +96448,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{6965E71B-A623-5D36-98D9-3758EF2E8045}", "entry": { "name": "In", @@ -96479,7 +96479,7 @@ ] }, { - "key": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", + "base": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "context": "OnDemandReflected", "variant": "", "details": { @@ -96489,7 +96489,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96527,7 +96527,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96571,7 +96571,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96600,7 +96600,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96631,7 +96631,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96662,7 +96662,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96693,7 +96693,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96724,7 +96724,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96762,7 +96762,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96800,7 +96800,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96831,7 +96831,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96869,7 +96869,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96900,7 +96900,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96931,7 +96931,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{641B736D-7467-5446-9083-EC81DC8E6E5B}", "entry": { "name": "In", @@ -96962,7 +96962,7 @@ ] }, { - "key": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", + "base": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "context": "OnDemandReflected", "variant": "", "details": { @@ -96972,7 +96972,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97009,7 +97009,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97052,7 +97052,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97081,7 +97081,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97112,7 +97112,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97143,7 +97143,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97174,7 +97174,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97205,7 +97205,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97242,7 +97242,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97279,7 +97279,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97310,7 +97310,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97347,7 +97347,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97378,7 +97378,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97409,7 +97409,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{12AE825D-565E-5717-A7A2-6C8AADABE08F}", "entry": { "name": "In", @@ -97440,7 +97440,7 @@ ] }, { - "key": "{8FE8A00F-5FE8-54A1-A314-346843AD21B6}", + "base": "{8FE8A00F-5FE8-54A1-A314-346843AD21B6}", "context": "OnDemandReflected", "variant": "", "details": { @@ -97448,7 +97448,7 @@ }, "methods": [ { - "key": "has_value", + "base": "has_value", "context": "{8FE8A00F-5FE8-54A1-A314-346843AD21B6}", "entry": { "name": "In", @@ -97479,7 +97479,7 @@ ] }, { - "key": "__bool__", + "base": "__bool__", "context": "{8FE8A00F-5FE8-54A1-A314-346843AD21B6}", "entry": { "name": "In", @@ -97510,7 +97510,7 @@ ] }, { - "key": "value", + "base": "value", "context": "{8FE8A00F-5FE8-54A1-A314-346843AD21B6}", "entry": { "name": "In", @@ -97541,7 +97541,7 @@ ] }, { - "key": "value_or", + "base": "value_or", "context": "{8FE8A00F-5FE8-54A1-A314-346843AD21B6}", "entry": { "name": "In", @@ -97580,7 +97580,7 @@ ] }, { - "key": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", + "base": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "context": "OnDemandReflected", "variant": "", "details": { @@ -97590,7 +97590,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97627,7 +97627,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97670,7 +97670,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97699,7 +97699,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97730,7 +97730,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97761,7 +97761,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97792,7 +97792,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97823,7 +97823,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97860,7 +97860,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97897,7 +97897,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97928,7 +97928,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97965,7 +97965,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -97996,7 +97996,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -98027,7 +98027,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{D03054C0-295C-5B7A-9997-5B2EE7B1B2B9}", "entry": { "name": "In", @@ -98058,7 +98058,7 @@ ] }, { - "key": "{8E0A7AC1-C649-56B4-99CF-8BE08EEFC47B}", + "base": "{8E0A7AC1-C649-56B4-99CF-8BE08EEFC47B}", "context": "OnDemandReflected", "variant": "", "details": { @@ -98066,7 +98066,7 @@ }, "methods": [ { - "key": "has_value", + "base": "has_value", "context": "{8E0A7AC1-C649-56B4-99CF-8BE08EEFC47B}", "entry": { "name": "In", @@ -98097,7 +98097,7 @@ ] }, { - "key": "__bool__", + "base": "__bool__", "context": "{8E0A7AC1-C649-56B4-99CF-8BE08EEFC47B}", "entry": { "name": "In", @@ -98128,7 +98128,7 @@ ] }, { - "key": "value", + "base": "value", "context": "{8E0A7AC1-C649-56B4-99CF-8BE08EEFC47B}", "entry": { "name": "In", @@ -98159,7 +98159,7 @@ ] }, { - "key": "value_or", + "base": "value_or", "context": "{8E0A7AC1-C649-56B4-99CF-8BE08EEFC47B}", "entry": { "name": "In", @@ -98198,7 +98198,7 @@ ] }, { - "key": "{0170062C-2E7E-5CEB-BAB8-F7663BEF7B3E}", + "base": "{0170062C-2E7E-5CEB-BAB8-F7663BEF7B3E}", "context": "OnDemandReflected", "variant": "", "details": { @@ -98206,7 +98206,7 @@ }, "methods": [ { - "key": "has_value", + "base": "has_value", "context": "{0170062C-2E7E-5CEB-BAB8-F7663BEF7B3E}", "entry": { "name": "In", @@ -98237,7 +98237,7 @@ ] }, { - "key": "__bool__", + "base": "__bool__", "context": "{0170062C-2E7E-5CEB-BAB8-F7663BEF7B3E}", "entry": { "name": "In", @@ -98268,7 +98268,7 @@ ] }, { - "key": "value", + "base": "value", "context": "{0170062C-2E7E-5CEB-BAB8-F7663BEF7B3E}", "entry": { "name": "In", @@ -98299,7 +98299,7 @@ ] }, { - "key": "value_or", + "base": "value_or", "context": "{0170062C-2E7E-5CEB-BAB8-F7663BEF7B3E}", "entry": { "name": "In", @@ -98338,7 +98338,7 @@ ] }, { - "key": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", + "base": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "context": "OnDemandReflected", "variant": "", "details": { @@ -98348,7 +98348,7 @@ }, "methods": [ { - "key": "contains", + "base": "contains", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98385,7 +98385,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98428,7 +98428,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98457,7 +98457,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98488,7 +98488,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98519,7 +98519,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98550,7 +98550,7 @@ ] }, { - "key": "Size", + "base": "Size", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98581,7 +98581,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98618,7 +98618,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98655,7 +98655,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98686,7 +98686,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98723,7 +98723,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98754,7 +98754,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98785,7 +98785,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{9E069E13-E1B2-5178-9219-52C9F0BFC0AB}", "entry": { "name": "In", @@ -98816,7 +98816,7 @@ ] }, { - "key": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", + "base": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "context": "OnDemandReflected", "variant": "", "details": { @@ -98826,7 +98826,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -98857,7 +98857,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -98888,7 +98888,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -98925,7 +98925,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -98954,7 +98954,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -98991,7 +98991,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99022,7 +99022,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99045,7 +99045,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99076,7 +99076,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99113,7 +99113,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99144,7 +99144,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99173,7 +99173,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99202,7 +99202,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99239,7 +99239,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99276,7 +99276,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99299,7 +99299,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99330,7 +99330,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99367,7 +99367,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99404,7 +99404,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99435,7 +99435,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99466,7 +99466,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99501,7 +99501,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99532,7 +99532,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99575,7 +99575,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99604,7 +99604,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99633,7 +99633,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{14E8FE40-1072-5691-9F23-E3600A9C4614}", "entry": { "name": "In", @@ -99666,7 +99666,7 @@ ] }, { - "key": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", + "base": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "context": "OnDemandReflected", "variant": "", "details": { @@ -99676,7 +99676,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -99707,7 +99707,7 @@ ] }, { - "key": "GetKeys", + "base": "GetKeys", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -99738,7 +99738,7 @@ ] }, { - "key": "contains", + "base": "contains", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -99775,7 +99775,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -99812,7 +99812,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -99843,7 +99843,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -99872,7 +99872,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -99903,7 +99903,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -99940,7 +99940,7 @@ ] }, { - "key": "Erase", + "base": "Erase", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -99977,7 +99977,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -100008,7 +100008,7 @@ ] }, { - "key": "BucketCount", + "base": "BucketCount", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -100039,7 +100039,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -100070,7 +100070,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{DB1EB3E5-F953-53A7-B8F9-9121E6A77F85}", "entry": { "name": "In", @@ -100101,7 +100101,7 @@ ] }, { - "key": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", + "base": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "context": "OnDemandReflected", "variant": "", "details": { @@ -100111,7 +100111,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100142,7 +100142,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100173,7 +100173,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100210,7 +100210,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100239,7 +100239,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100276,7 +100276,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100307,7 +100307,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100330,7 +100330,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100361,7 +100361,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100398,7 +100398,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100429,7 +100429,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100458,7 +100458,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100487,7 +100487,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100524,7 +100524,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100561,7 +100561,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100584,7 +100584,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100615,7 +100615,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100652,7 +100652,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100689,7 +100689,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100720,7 +100720,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100751,7 +100751,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100786,7 +100786,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100817,7 +100817,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100860,7 +100860,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100889,7 +100889,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100918,7 +100918,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{8E8D109E-EB62-5F13-8C2C-1D857EEE4FB4}", "entry": { "name": "In", @@ -100951,7 +100951,7 @@ ] }, { - "key": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", + "base": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "context": "OnDemandReflected", "variant": "", "details": { @@ -100961,7 +100961,7 @@ }, "methods": [ { - "key": "Size", + "base": "Size", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -100992,7 +100992,7 @@ ] }, { - "key": "Front", + "base": "Front", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101023,7 +101023,7 @@ ] }, { - "key": "HasKey", + "base": "HasKey", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101060,7 +101060,7 @@ ] }, { - "key": "Resize", + "base": "Resize", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101089,7 +101089,7 @@ ] }, { - "key": "at", + "base": "at", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101126,7 +101126,7 @@ ] }, { - "key": "Back", + "base": "Back", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101157,7 +101157,7 @@ ] }, { - "key": "pop_back", + "base": "pop_back", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101180,7 +101180,7 @@ ] }, { - "key": "size", + "base": "size", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101211,7 +101211,7 @@ ] }, { - "key": "At", + "base": "At", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101248,7 +101248,7 @@ ] }, { - "key": "Empty", + "base": "Empty", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101279,7 +101279,7 @@ ] }, { - "key": "Swap", + "base": "Swap", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101308,7 +101308,7 @@ ] }, { - "key": "push_back", + "base": "push_back", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101337,7 +101337,7 @@ ] }, { - "key": "PushBack_VM", + "base": "PushBack_VM", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101374,7 +101374,7 @@ ] }, { - "key": "AtUnchecked", + "base": "AtUnchecked", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101411,7 +101411,7 @@ ] }, { - "key": "clear", + "base": "clear", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101434,7 +101434,7 @@ ] }, { - "key": "NotEmpty", + "base": "NotEmpty", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101465,7 +101465,7 @@ ] }, { - "key": "Erase_VM", + "base": "Erase_VM", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101502,7 +101502,7 @@ ] }, { - "key": "EraseCheck_VM", + "base": "EraseCheck_VM", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101539,7 +101539,7 @@ ] }, { - "key": "Capacity", + "base": "Capacity", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101570,7 +101570,7 @@ ] }, { - "key": "Clear", + "base": "Clear", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101601,7 +101601,7 @@ ] }, { - "key": "AssignAt", + "base": "AssignAt", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101636,7 +101636,7 @@ ] }, { - "key": "GetSize", + "base": "GetSize", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101667,7 +101667,7 @@ ] }, { - "key": "Insert", + "base": "Insert", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101710,7 +101710,7 @@ ] }, { - "key": "PushBack", + "base": "PushBack", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101739,7 +101739,7 @@ ] }, { - "key": "Reserve", + "base": "Reserve", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", @@ -101768,7 +101768,7 @@ ] }, { - "key": "Iterate_VM", + "base": "Iterate_VM", "context": "{3A9E52F9-1A46-5FC6-822A-249BBFB50C90}", "entry": { "name": "In", diff --git a/Gems/ScriptCanvas/Code/Editor/Components/EditorGraph.cpp b/Gems/ScriptCanvas/Code/Editor/Components/EditorGraph.cpp index ec6e7d8f4c..77f791483b 100644 --- a/Gems/ScriptCanvas/Code/Editor/Components/EditorGraph.cpp +++ b/Gems/ScriptCanvas/Code/Editor/Components/EditorGraph.cpp @@ -1078,9 +1078,11 @@ namespace ScriptCanvasEditor return CanCreateConnectionBetween(scSourceEndpoint, scTargetEndpoint).IsSuccess(); } - AZStd::string Graph::GetDataTypeString(const AZ::Uuid& typeId) + AZStd::string Graph::GetDataTypeString(const AZ::Uuid&) { - return TranslationHelper::GetSafeTypeName(ScriptCanvas::Data::FromAZType(typeId)); + // This is used by the default tooltip setting in GraphCanvas, returning an empty string + // in order for tooltips to be fully controlled by ScriptCanvas + return {}; } void Graph::OnRemoveUnusedNodes() diff --git a/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.cpp b/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.cpp index cba39afe81..26caa5fc2f 100644 --- a/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.cpp +++ b/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.cpp @@ -335,7 +335,7 @@ namespace ScriptCanvasEditor::Nodes AZStd::string updatedMethodName = methodName; if (isAccessor) { - if (methodNode->GetMethodType() == ScriptCanvas::MethodType::Getter) + if (methodNode->GetMethodType() == ScriptCanvas::MethodType::Getter || methodNode->GetMethodType() == ScriptCanvas::MethodType::Free) { updatedMethodName = "Get"; } @@ -351,7 +351,7 @@ namespace ScriptCanvasEditor::Nodes if (methodDetails.m_subtitle.empty()) { - methodDetails.m_subtitle = details.m_name; + methodDetails.m_subtitle = details.m_category; } // Add to the tooltip the C++ class for reference diff --git a/Gems/ScriptCanvas/Code/Editor/Translation/TranslationHelper.h b/Gems/ScriptCanvas/Code/Editor/Translation/TranslationHelper.h index 189b665647..bd37ab0e2f 100644 --- a/Gems/ScriptCanvas/Code/Editor/Translation/TranslationHelper.h +++ b/Gems/ScriptCanvas/Code/Editor/Translation/TranslationHelper.h @@ -14,7 +14,6 @@ #include #include -#include #include #include #include diff --git a/Gems/ScriptCanvas/Code/Editor/View/Widgets/DataTypePalette/DataTypePaletteModel.cpp b/Gems/ScriptCanvas/Code/Editor/View/Widgets/DataTypePalette/DataTypePaletteModel.cpp index 0b2b4f3bcc..a31444921b 100644 --- a/Gems/ScriptCanvas/Code/Editor/View/Widgets/DataTypePalette/DataTypePaletteModel.cpp +++ b/Gems/ScriptCanvas/Code/Editor/View/Widgets/DataTypePalette/DataTypePaletteModel.cpp @@ -16,7 +16,6 @@ #include #include -#include #include #include @@ -200,7 +199,7 @@ namespace ScriptCanvasEditor AZ::TypeId DataTypePaletteModel::FindTypeIdForIndex(const QModelIndex& index) const { - AZ::TypeId retVal; + AZ::TypeId retVal = AZ::TypeId::CreateNull(); if (index.row() >= 0 && index.row() < m_variableTypes.size()) { diff --git a/Gems/ScriptCanvas/Code/Editor/View/Widgets/NodePalette/NodePaletteModel.cpp b/Gems/ScriptCanvas/Code/Editor/View/Widgets/NodePalette/NodePaletteModel.cpp index 947c49cd78..f128537e1a 100644 --- a/Gems/ScriptCanvas/Code/Editor/View/Widgets/NodePalette/NodePaletteModel.cpp +++ b/Gems/ScriptCanvas/Code/Editor/View/Widgets/NodePalette/NodePaletteModel.cpp @@ -877,6 +877,7 @@ namespace ScriptCanvasEditor void NodePaletteModel::RepopulateModel() { + AZ_PROFILE_FUNCTION(ScriptCanvas); ClearRegistry(); PopulateNodePaletteModel((*this)); diff --git a/Gems/ScriptCanvas/Code/Editor/View/Widgets/ScriptCanvasNodePaletteDockWidget.cpp b/Gems/ScriptCanvas/Code/Editor/View/Widgets/ScriptCanvasNodePaletteDockWidget.cpp index 9b97d707d0..7ea4af9032 100644 --- a/Gems/ScriptCanvas/Code/Editor/View/Widgets/ScriptCanvasNodePaletteDockWidget.cpp +++ b/Gems/ScriptCanvas/Code/Editor/View/Widgets/ScriptCanvasNodePaletteDockWidget.cpp @@ -877,17 +877,14 @@ namespace ScriptCanvasEditor { QModelIndexList indexList = GetTreeView()->selectionModel()->selectedRows(); - if (indexList.size() == 1) + QSortFilterProxyModel* filterModel = static_cast(GetTreeView()->model()); + + for (const QModelIndex& index : indexList) { - QSortFilterProxyModel* filterModel = static_cast(GetTreeView()->model()); + QModelIndex sourceIndex = filterModel->mapToSource(index); - for (const QModelIndex& index : indexList) - { - QModelIndex sourceIndex = filterModel->mapToSource(index); - - GraphCanvas::NodePaletteTreeItem* nodePaletteItem = static_cast(sourceIndex.internalPointer()); - nodePaletteItem->GenerateTranslationData(); - } + GraphCanvas::NodePaletteTreeItem* nodePaletteItem = static_cast(sourceIndex.internalPointer()); + nodePaletteItem->GenerateTranslationData(); } } diff --git a/Gems/ScriptCanvas/Code/Editor/View/Widgets/UnitTestPanel/UnitTestTreeView.cpp b/Gems/ScriptCanvas/Code/Editor/View/Widgets/UnitTestPanel/UnitTestTreeView.cpp index 00ce022cb5..2e9c5d1852 100644 --- a/Gems/ScriptCanvas/Code/Editor/View/Widgets/UnitTestPanel/UnitTestTreeView.cpp +++ b/Gems/ScriptCanvas/Code/Editor/View/Widgets/UnitTestPanel/UnitTestTreeView.cpp @@ -19,7 +19,6 @@ #include -#include #include #include diff --git a/Gems/ScriptCanvas/Code/Editor/View/Widgets/VariablePanel/VariablePaletteTableView.cpp b/Gems/ScriptCanvas/Code/Editor/View/Widgets/VariablePanel/VariablePaletteTableView.cpp index 56b0cb3e55..6fdf154d69 100644 --- a/Gems/ScriptCanvas/Code/Editor/View/Widgets/VariablePanel/VariablePaletteTableView.cpp +++ b/Gems/ScriptCanvas/Code/Editor/View/Widgets/VariablePanel/VariablePaletteTableView.cpp @@ -18,7 +18,6 @@ #include -#include #include #include diff --git a/Gems/ScriptCanvas/Code/Editor/View/Windows/MainWindow.cpp b/Gems/ScriptCanvas/Code/Editor/View/Windows/MainWindow.cpp index 1ad8b58317..e61b015aae 100644 --- a/Gems/ScriptCanvas/Code/Editor/View/Windows/MainWindow.cpp +++ b/Gems/ScriptCanvas/Code/Editor/View/Windows/MainWindow.cpp @@ -428,6 +428,8 @@ namespace ScriptCanvasEditor , m_closeCurrentGraphAfterSave(false) , m_styleManager(ScriptCanvasEditor::AssetEditorId, "ScriptCanvas/StyleSheet/graphcanvas_style.json") { + AZ_PROFILE_FUNCTION(ScriptCanvas); + VariablePaletteRequestBus::Handler::BusConnect(); GraphCanvas::AssetEditorAutomationRequestBus::Handler::BusConnect(ScriptCanvasEditor::AssetEditorId); diff --git a/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.cpp b/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.cpp index a0747f78f0..4fcc904752 100644 --- a/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.cpp +++ b/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include @@ -32,6 +33,7 @@ #include #include +#include namespace ScriptCanvasEditorTools { @@ -87,6 +89,8 @@ namespace ScriptCanvasEditorTools entry.m_details.m_name = prettyName; } + SplitCamelCase(entry.m_details.m_name); + for (auto event : behaviorEBus->m_events) { const AZ::BehaviorEBusEventSender& ebusSender = event.second; @@ -112,6 +116,8 @@ namespace ScriptCanvasEditorTools eventEntry.m_details.m_name = prettyName.empty() ? eventName : prettyName; eventEntry.m_details.m_tooltip = Helpers::ReadStringAttribute(event.second.m_attributes, AZ::Script::Attributes::ToolTip); + SplitCamelCase(eventEntry.m_details.m_name); + eventEntry.m_entry.m_name = "In"; eventEntry.m_entry.m_tooltip = AZStd::string::format("When signaled, this will invoke %s", eventEntry.m_details.m_name.c_str()); eventEntry.m_exit.m_name = "Out"; @@ -141,6 +147,8 @@ namespace ScriptCanvasEditorTools argument.m_typeId = argumentType.ToString(); + SplitCamelCase(argument.m_details.m_name); + eventEntry.m_arguments.push_back(argument); } @@ -160,6 +168,8 @@ namespace ScriptCanvasEditorTools result.m_typeId = resultType.ToString(); + SplitCamelCase(result.m_details.m_name); + eventEntry.m_results.push_back(result); } @@ -229,6 +239,8 @@ namespace ScriptCanvasEditorTools details.m_category = Helpers::GetStringAttribute(behaviorClass, AZ::Script::Attributes::Category); details.m_tooltip = Helpers::GetStringAttribute(behaviorClass, AZ::Script::Attributes::ToolTip); + SplitCamelCase(details.m_name); + if (!behaviorClass->m_methods.empty()) { for (const auto& methodPair : behaviorClass->m_methods) @@ -246,10 +258,14 @@ namespace ScriptCanvasEditorTools methodEntry.m_details.m_tooltip = ""; methodEntry.m_details.m_name = methodPair.second->m_name; + AZStd::string prefix = className + "::"; + AZ::StringFunc::Replace(methodEntry.m_details.m_name, prefix.c_str(), ""); + SplitCamelCase(methodEntry.m_details.m_name); + methodEntry.m_entry.m_name = "In"; - methodEntry.m_entry.m_tooltip = AZStd::string::format("When signaled, this will invoke %s", cleanName.c_str()); + methodEntry.m_entry.m_tooltip = AZStd::string::format("When signaled, this will invoke %s", methodEntry.m_details.m_name.c_str()); methodEntry.m_exit.m_name = "Out"; - methodEntry.m_exit.m_tooltip = AZStd::string::format("Signaled after %s is invoked", cleanName.c_str()); + methodEntry.m_exit.m_tooltip = AZStd::string::format("Signaled after %s is invoked", methodEntry.m_details.m_name.c_str()); if (!Helpers::MethodHasAttribute(behaviorMethod, AZ::ScriptCanvasAttributes::FloatingFunction)) { @@ -260,31 +276,40 @@ namespace ScriptCanvasEditorTools methodEntry.m_details.m_category = Helpers::ReadStringAttribute(behaviorMethod->m_attributes, AZ::Script::Attributes::Category); } - if (methodEntry.m_details.m_category.empty()) - { - methodEntry.m_details.m_category = "Other"; - } - // Arguments (Input Slots) if (behaviorMethod->GetNumArguments() > 0) { - for (size_t argIndex = 0; argIndex < behaviorMethod->GetNumArguments(); ++argIndex) + size_t startIndex = behaviorMethod->HasResult() ? 1 : 0; + for (size_t argIndex = startIndex; argIndex < behaviorMethod->GetNumArguments(); ++argIndex) { const AZ::BehaviorParameter* parameter = behaviorMethod->GetArgument(argIndex); Argument argument; AZStd::string argumentKey = parameter->m_typeId.ToString(); - AZStd::string argumentName = parameter->m_name; - AZStd::string argumentDescription = ""; + AZStd::string argumentName; + AZStd::string argumentDescription; Helpers::GetTypeNameAndDescription(parameter->m_typeId, argumentName, argumentDescription); + const AZStd::string* argName = behaviorMethod->GetArgumentName(argIndex); + if (argName && !(*argName).empty()) + { + argumentName = *argName; + } + + const AZStd::string* argDesc = behaviorMethod->GetArgumentToolTip(argIndex); + if (argDesc && !(*argDesc).empty()) + { + argumentDescription = *argDesc; + } + argument.m_typeId = argumentKey; - argument.m_details.m_name = parameter->m_name; - argument.m_details.m_category = ""; + argument.m_details.m_name = argumentName; argument.m_details.m_tooltip = argumentDescription; + SplitCamelCase(argument.m_details.m_name); + methodEntry.m_arguments.push_back(argument); } } @@ -305,6 +330,8 @@ namespace ScriptCanvasEditorTools result.m_details.m_name = resultParameter->m_name; result.m_details.m_tooltip = resultDescription; + SplitCamelCase(result.m_details.m_name); + methodEntry.m_results.push_back(result); } @@ -327,7 +354,8 @@ namespace ScriptCanvasEditorTools translationRoot.m_entries.push_back(entry); - AZStd::string fileName = AZStd::string::format("Classes/%s", className.c_str()); + AZStd::string sanitizedFilename = GraphCanvas::TranslationKey::Sanitize(className); + AZStd::string fileName = AZStd::string::format("Classes/%s", sanitizedFilename.c_str()); SaveJSONData(fileName, translationRoot); @@ -379,6 +407,8 @@ namespace ScriptCanvasEditorTools entry.m_context = "AZEventHandler"; entry.m_details.m_name = azEventEntry.m_eventName; + SplitCamelCase(entry.m_details.m_name); + for (const ScriptCanvas::Slot& slot : nodeComponent->GetSlots()) { Slot slotEntry; @@ -478,6 +508,8 @@ namespace ScriptCanvasEditorTools details.m_name = cleanName; } + SplitCamelCase(details.m_name); + // Tooltip attribute takes priority over the edit data description AZStd::string tooltip = Helpers::GetStringAttribute(classData, AZ::Script::Attributes::ToolTip); if (!tooltip.empty()) @@ -665,6 +697,7 @@ namespace ScriptCanvasEditorTools EntryDetails& details = entry.m_details; details.m_name = behaviorClass->m_name; + SplitCamelCase(details.m_name); // Get the pretty name AZStd::string prettyName; @@ -698,6 +731,7 @@ namespace ScriptCanvasEditorTools methodEntry.m_details.m_tooltip = Helpers::GetStringAttribute(behaviorMethod, AZ::Script::Attributes::ToolTip); methodEntry.m_details.m_name = methodPair.second->m_name; + SplitCamelCase(methodEntry.m_details.m_name); // Strip the className from the methodName AZStd::string qualifiedName = behaviorClass->m_name + "::"; @@ -730,6 +764,8 @@ namespace ScriptCanvasEditorTools argument.m_details.m_category = ""; argument.m_details.m_tooltip = argumentDescription; + SplitCamelCase(argument.m_details.m_name); + methodEntry.m_arguments.push_back(argument); } } @@ -750,6 +786,8 @@ namespace ScriptCanvasEditorTools result.m_details.m_name = resultName; result.m_details.m_tooltip = resultDescription; + SplitCamelCase(result.m_details.m_name); + methodEntry.m_results.push_back(result); } @@ -789,7 +827,8 @@ namespace ScriptCanvasEditorTools TranslationFormat translationRoot; translationRoot.m_entries.push_back(entry); - AZStd::string fileName = AZStd::string::format("Properties/%s", behaviorProperty->m_name.c_str()); + AZStd::string cleanName = GraphCanvas::TranslationKey::Sanitize(behaviorProperty->m_name); + AZStd::string fileName = AZStd::string::format("Properties/%s", cleanName.c_str()); SaveJSONData(fileName, translationRoot); } @@ -810,11 +849,14 @@ namespace ScriptCanvasEditorTools Helpers::GetTypeNameAndDescription(parameter->m_typeId, argumentName, argumentDescription); + const AZStd::string* argName = behaviorMethod->GetArgumentName(argIndex); argument.m_typeId = argumentKey; - argument.m_details.m_name = parameter->m_name; + argument.m_details.m_name = argName ? *argName : argumentName; argument.m_details.m_category = ""; argument.m_details.m_tooltip = argumentDescription; + SplitCamelCase(argument.m_details.m_name); + methodEntry.m_arguments.push_back(argument); } } @@ -831,10 +873,13 @@ namespace ScriptCanvasEditorTools Helpers::GetTypeNameAndDescription(resultParameter->m_typeId, resultName, resultDescription); + const AZStd::string* resName = behaviorMethod->GetArgumentName(0); result.m_typeId = resultKey; - result.m_details.m_name = resultParameter->m_name; + result.m_details.m_name = resName ? *resName : resultName; result.m_details.m_tooltip = resultDescription; + SplitCamelCase(result.m_details.m_name); + methodEntry.m_results.push_back(result); } } @@ -855,6 +900,9 @@ namespace ScriptCanvasEditorTools { entry->m_key = className; entry->m_context = context; + + entry->m_details.m_name = className; + SplitCamelCase(entry->m_details.m_name); } if (behaviorProperty->m_getter) @@ -870,6 +918,8 @@ namespace ScriptCanvasEditorTools method.m_details.m_name = methodName; method.m_details.m_tooltip = behaviorProperty->m_getter->m_debugDescription ? behaviorProperty->m_getter->m_debugDescription : ""; + SplitCamelCase(method.m_details.m_name); + TranslateMethod(behaviorProperty->m_getter, method); entry->m_methods.push_back(method); @@ -890,6 +940,8 @@ namespace ScriptCanvasEditorTools method.m_details.m_name = methodName; method.m_details.m_tooltip = behaviorProperty->m_setter->m_debugDescription ? behaviorProperty->m_getter->m_debugDescription : ""; + SplitCamelCase(method.m_details.m_name); + TranslateMethod(behaviorProperty->m_setter, method); entry->m_methods.push_back(method); @@ -919,6 +971,8 @@ namespace ScriptCanvasEditorTools entry.m_details.m_tooltip = behaviorEbus->m_toolTip; entry.m_details.m_category = "EBus Handlers"; + SplitCamelCase(entry.m_details.m_name); + for (const AZ::BehaviorEBusHandler::BusForwarderEvent& event : handler->GetEvents()) { Method methodEntry; @@ -929,6 +983,8 @@ namespace ScriptCanvasEditorTools methodEntry.m_details.m_tooltip = ""; methodEntry.m_details.m_name = event.m_name; + SplitCamelCase(methodEntry.m_details.m_name); + // Arguments (Input Slots) if (!event.m_parameters.empty()) { @@ -973,6 +1029,8 @@ namespace ScriptCanvasEditorTools argument.m_details.m_name = argumentName; argument.m_details.m_tooltip = argumentDescription; + SplitCamelCase(argument.m_details.m_name); + methodEntry.m_arguments.push_back(argument); } } @@ -1003,6 +1061,8 @@ namespace ScriptCanvasEditorTools result.m_details.m_name = resultName; result.m_details.m_tooltip = resultDescription; + SplitCamelCase(result.m_details.m_name); + methodEntry.m_results.push_back(result); } @@ -1036,13 +1096,13 @@ namespace ScriptCanvasEditorTools rapidjson_ly::Value value(rapidjson_ly::kStringType); value.SetString(entrySource.m_key.c_str(), document.GetAllocator()); - entry.AddMember("key", value, document.GetAllocator()); + entry.AddMember(GraphCanvas::Schema::Field::key, value, document.GetAllocator()); value.SetString(entrySource.m_context.c_str(), document.GetAllocator()); - entry.AddMember("context", value, document.GetAllocator()); + entry.AddMember(GraphCanvas::Schema::Field::context, value, document.GetAllocator()); value.SetString(entrySource.m_variant.c_str(), document.GetAllocator()); - entry.AddMember("variant", value, document.GetAllocator()); + entry.AddMember(GraphCanvas::Schema::Field::variant, value, document.GetAllocator()); rapidjson_ly::Value details(rapidjson_ly::kObjectType); value.SetString(entrySource.m_details.m_name.c_str(), document.GetAllocator()); @@ -1063,12 +1123,12 @@ namespace ScriptCanvasEditorTools rapidjson_ly::Value theMethod(rapidjson_ly::kObjectType); value.SetString(methodSource.m_key.c_str(), document.GetAllocator()); - theMethod.AddMember("key", value, document.GetAllocator()); + theMethod.AddMember(GraphCanvas::Schema::Field::key, value, document.GetAllocator()); if (!methodSource.m_context.empty()) { value.SetString(methodSource.m_context.c_str(), document.GetAllocator()); - theMethod.AddMember("context", value, document.GetAllocator()); + theMethod.AddMember(GraphCanvas::Schema::Field::context, value, document.GetAllocator()); } if (!methodSource.m_entry.m_name.empty()) @@ -1176,7 +1236,7 @@ namespace ScriptCanvasEditorTools rapidjson_ly::Value theSlot(rapidjson_ly::kObjectType); value.SetString(slotSource.m_key.c_str(), document.GetAllocator()); - theSlot.AddMember("key", value, document.GetAllocator()); + theSlot.AddMember(GraphCanvas::Schema::Field::key, value, document.GetAllocator()); rapidjson_ly::Value sloDetails(rapidjson_ly::kObjectType); if (!slotSource.m_details.m_name.empty()) @@ -1251,6 +1311,14 @@ namespace ScriptCanvasEditorTools } + void TranslationGeneration::SplitCamelCase(AZStd::string& text) + { + AZStd::regex splitRegex(R"(/[a-z]+|[0-9]+|(?:[A-Z][a-z]+)|(?:[A-Z]+(?=(?:[A-Z][a-z])|[^AZa-z]|[$\d\n]))/g)"); + text = AZStd::regex_replace(text, splitRegex, " $&"); + text = AZ::StringFunc::LStrip(text); + AZ::StringFunc::Replace(text, " ", " "); + } + namespace Helpers { AZStd::string ReadStringAttribute(const AZ::AttributeArray& attributes, const AZ::Crc32& attribute) diff --git a/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.h b/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.h index b86e1fe969..0f84c48b22 100644 --- a/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.h +++ b/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.h @@ -142,6 +142,9 @@ namespace ScriptCanvasEditorTools //! Utility function that saves a TranslationFormat object in the desired JSON format void SaveJSONData(const AZStd::string& filename, TranslationFormat& translationRoot); + //! Utility function that splits camel-case syntax string into separate words + void SplitCamelCase(AZStd::string&); + //! Evaluates if the specified object has exclusion flags and should be skipped from generation template bool ShouldSkip(const T* object) const diff --git a/Gems/ScriptCanvasTesting/Code/Source/Nodes/Nodeables/ValuePointerReferenceExample.ScriptCanvasNodeable.xml b/Gems/ScriptCanvasTesting/Code/Source/Nodes/Nodeables/ValuePointerReferenceExample.ScriptCanvasNodeable.xml index 0be3c8c81a..a2a89509e6 100644 --- a/Gems/ScriptCanvasTesting/Code/Source/Nodes/Nodeables/ValuePointerReferenceExample.ScriptCanvasNodeable.xml +++ b/Gems/ScriptCanvasTesting/Code/Source/Nodes/Nodeables/ValuePointerReferenceExample.ScriptCanvasNodeable.xml @@ -1,13 +1,22 @@ + + + @@ -24,9 +33,10 @@ PreferredClassName="Branch Input Type Example" Base="ScriptCanvas::Nodeable" Icon="Icons/ScriptCanvas/Placeholder.png" - Category="Tests" + Category="Examples" GeneratePropertyFriend="True" Namespace="None" + EditAttributes="AZ::Script::Attributes::ExcludeFrom@AZ::Script::Attributes::ExcludeFlags::All" Description="Example of branch passing as input by value, pointer and reference."> @@ -46,9 +56,10 @@ PreferredClassName="Input Type Example" Base="ScriptCanvas::Nodeable" Icon="Icons/ScriptCanvas/Placeholder.png" - Category="Tests" + Category="Examples" GeneratePropertyFriend="True" Namespace="None" + EditAttributes="AZ::Script::Attributes::ExcludeFrom@AZ::Script::Attributes::ExcludeFlags::All" Description="Example of passing as input by value, pointer and reference."> @@ -65,9 +76,10 @@ PreferredClassName="Property Example" Base="ScriptCanvas::Nodeable" Icon="Icons/ScriptCanvas/Placeholder.png" - Category="Tests" + Category="Examples" GeneratePropertyFriend="True" Namespace="None" + EditAttributes="AZ::Script::Attributes::ExcludeFrom@AZ::Script::Attributes::ExcludeFlags::All" Description="Example of using properties."> diff --git a/Gems/ScriptCanvasTesting/Code/Source/ScriptCanvasTestBus.cpp b/Gems/ScriptCanvasTesting/Code/Source/ScriptCanvasTestBus.cpp index 0a0f71bead..c983717a0d 100644 --- a/Gems/ScriptCanvasTesting/Code/Source/ScriptCanvasTestBus.cpp +++ b/Gems/ScriptCanvasTesting/Code/Source/ScriptCanvasTestBus.cpp @@ -26,9 +26,12 @@ namespace ScriptCanvasTesting if (AZ::BehaviorContext* behaviorContext = azrtti_cast(context)) { - behaviorContext->EnumProperty<(AZ::u32)TestEnum::Alpha>("ALPHA"); - behaviorContext->EnumProperty<(AZ::u32)TestEnum::Bravo>("BRAVO"); - behaviorContext->EnumProperty<(AZ::u32)TestEnum::Charlie>("CHARLIE"); + behaviorContext->EnumProperty<(AZ::u32)TestEnum::Alpha>("ALPHA") + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All); + behaviorContext->EnumProperty<(AZ::u32)TestEnum::Bravo>("BRAVO") + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All); + behaviorContext->EnumProperty<(AZ::u32)TestEnum::Charlie>("CHARLIE") + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All); } } diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainHeight.svg b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainHeight.svg index 57835e9c20..78af20cc2d 100644 --- a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainHeight.svg +++ b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainHeight.svg @@ -1,7 +1,5 @@ - - - icon / Environmental / Terrain Height - - - - \ No newline at end of file + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainLayerSpawner.svg b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainLayerSpawner.svg index df73d78276..ad7403d976 100644 --- a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainLayerSpawner.svg +++ b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainLayerSpawner.svg @@ -1,7 +1,5 @@ - - - icon / Environmental / Generate Terrian - - - - \ No newline at end of file + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainMacroMaterial.svg b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainMacroMaterial.svg new file mode 100644 index 0000000000..9a694bfbf7 --- /dev/null +++ b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainMacroMaterial.svg @@ -0,0 +1,3 @@ + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainPhysicsCollider.svg b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainPhysicsCollider.svg new file mode 100644 index 0000000000..56ffb05464 --- /dev/null +++ b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainPhysicsCollider.svg @@ -0,0 +1,3 @@ + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainSurfaceGradientList.svg b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainSurfaceGradientList.svg new file mode 100644 index 0000000000..c4e8ce79d2 --- /dev/null +++ b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainSurfaceGradientList.svg @@ -0,0 +1,3 @@ + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainSurfaceMaterials.svg b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainSurfaceMaterials.svg new file mode 100644 index 0000000000..5a25cb3be9 --- /dev/null +++ b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainSurfaceMaterials.svg @@ -0,0 +1,3 @@ + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorld.svg b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorld.svg index c6388d6215..f3c17f66e4 100644 --- a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorld.svg +++ b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorld.svg @@ -1,8 +1,5 @@ - - - icon / Environmental / Terrain Refactor - - - - - \ No newline at end of file + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorldDebugger.svg b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorldDebugger.svg index bd1512afda..b128d0f316 100644 --- a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorldDebugger.svg +++ b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorldDebugger.svg @@ -1,8 +1,5 @@ - - - icon / Environmental / Terrain World Debugger - - - - - \ No newline at end of file + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorldRenderer.svg b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorldRenderer.svg index ab3716ad5d..de97c005fc 100644 --- a/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorldRenderer.svg +++ b/Gems/Terrain/Assets/Editor/Icons/Components/TerrainWorldRenderer.svg @@ -1,8 +1,5 @@ - - - icon / Environmental / Terrain World Renderer - - - - - \ No newline at end of file + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainHeight.svg b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainHeight.svg index b87a0b4d7e..87a2d199bd 100644 --- a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainHeight.svg +++ b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainHeight.svg @@ -1,25 +1,22 @@ - - - icon / Environmental / Terrain Height - box - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainLayerSpawner.svg b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainLayerSpawner.svg index c078d32fe5..a89186819f 100644 --- a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainLayerSpawner.svg +++ b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainLayerSpawner.svg @@ -1,25 +1,22 @@ - - - icon / Environmental / Generate Terrian - box - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainMacroMaterial.svg b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainMacroMaterial.svg new file mode 100644 index 0000000000..177469e46e --- /dev/null +++ b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainMacroMaterial.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainPhysicsCollider.svg b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainPhysicsCollider.svg new file mode 100644 index 0000000000..302e585f6e --- /dev/null +++ b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainPhysicsCollider.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainSurfaceGradientList.svg b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainSurfaceGradientList.svg new file mode 100644 index 0000000000..19cb144936 --- /dev/null +++ b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainSurfaceGradientList.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainSurfaceMaterials.svg b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainSurfaceMaterials.svg new file mode 100644 index 0000000000..5179f61867 --- /dev/null +++ b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainSurfaceMaterials.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorld.svg b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorld.svg index 2aee65f2a8..5466395141 100644 --- a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorld.svg +++ b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorld.svg @@ -1,25 +1,22 @@ - - - icon / Environmental / Terrain Refactor - box - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorldDebugger.svg b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorldDebugger.svg index 1b729ab73f..ea9935fefb 100644 --- a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorldDebugger.svg +++ b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorldDebugger.svg @@ -1,25 +1,22 @@ - - - icon / Environmental / Terrain World Debugger - box - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + diff --git a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorldRenderer.svg b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorldRenderer.svg index 4287508f10..af235047db 100644 --- a/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorldRenderer.svg +++ b/Gems/Terrain/Assets/Editor/Icons/Components/Viewport/TerrainWorldRenderer.svg @@ -1,25 +1,22 @@ - - - icon / Environmental / Terrain World Renderer - box - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + diff --git a/Gems/Terrain/Assets/Materials/Terrain/DefaultPbrTerrain.material b/Gems/Terrain/Assets/Materials/Terrain/DefaultPbrTerrain.material index d2acc2516a..7cf249a10d 100644 --- a/Gems/Terrain/Assets/Materials/Terrain/DefaultPbrTerrain.material +++ b/Gems/Terrain/Assets/Materials/Terrain/DefaultPbrTerrain.material @@ -2,23 +2,5 @@ "description": "", "materialType": "PbrTerrain.materialtype", "parentMaterial": "", - "propertyLayoutVersion": 1, - "properties": { - "baseColor": { - "color": [ 0.18, 0.18, 0.18 ], - "useTexture": false - }, - "normal": - { - "useTexture": false - }, - "roughness": - { - "useTexture": false - }, - "specularF0": - { - "useTexture": false - } - } + "propertyLayoutVersion": 1 } diff --git a/Gems/Terrain/Code/Source/Components/TerrainSurfaceDataSystemComponent.cpp b/Gems/Terrain/Code/Source/Components/TerrainSurfaceDataSystemComponent.cpp index 7395e66d06..65e8600d62 100644 --- a/Gems/Terrain/Code/Source/Components/TerrainSurfaceDataSystemComponent.cpp +++ b/Gems/Terrain/Code/Source/Components/TerrainSurfaceDataSystemComponent.cpp @@ -214,10 +214,10 @@ namespace Terrain { AZ_Assert((m_providerHandle != SurfaceData::InvalidSurfaceDataRegistryHandle), "Invalid surface data handle"); - // Our terrain was valid before and after, it just changed in some way. If we have a valid dirty region passed in - // then it's possible that the heightmap has been modified in the Editor. Otherwise, just notify that the entire - // terrain has changed in some way. - if (dirtyRegion.IsValid()) + // Our terrain was valid before and after, it just changed in some way. If we have a valid dirty region, and the terrain + // bounds themselves haven't changed, just notify that our terrain data has changed within the bounds. Otherwise, notify + // that the entire terrain provider needs to be updated, since it either has new bounds or the entire set of data is dirty. + if (dirtyRegion.IsValid() && m_terrainBounds.IsClose(terrainBoundsBeforeUpdate)) { SurfaceData::SurfaceDataSystemRequestBus::Broadcast( &SurfaceData::SurfaceDataSystemRequestBus::Events::RefreshSurfaceData, dirtyRegion); diff --git a/Gems/Terrain/Code/Source/EditorComponents/EditorTerrainPhysicsColliderComponent.h b/Gems/Terrain/Code/Source/EditorComponents/EditorTerrainPhysicsColliderComponent.h index d2254161a0..924426c262 100644 --- a/Gems/Terrain/Code/Source/EditorComponents/EditorTerrainPhysicsColliderComponent.h +++ b/Gems/Terrain/Code/Source/EditorComponents/EditorTerrainPhysicsColliderComponent.h @@ -25,8 +25,8 @@ namespace Terrain static constexpr auto s_categoryName = "Terrain"; static constexpr auto s_componentName = "Terrain Physics Heightfield Collider"; static constexpr auto s_componentDescription = "Provides terrain data to a physics collider in the form of a heightfield and surface->material mapping."; - static constexpr auto s_icon = "Editor/Icons/Components/TerrainLayerSpawner.svg"; - static constexpr auto s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainLayerSpawner.svg"; + static constexpr auto s_icon = "Editor/Icons/Components/TerrainPhysicsCollider.svg"; + static constexpr auto s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainPhysicsCollider.svg"; static constexpr auto s_helpUrl = ""; }; } diff --git a/Gems/Terrain/Code/Source/EditorComponents/EditorTerrainSurfaceGradientListComponent.h b/Gems/Terrain/Code/Source/EditorComponents/EditorTerrainSurfaceGradientListComponent.h index e2c5f1b280..3cf9e7fc47 100644 --- a/Gems/Terrain/Code/Source/EditorComponents/EditorTerrainSurfaceGradientListComponent.h +++ b/Gems/Terrain/Code/Source/EditorComponents/EditorTerrainSurfaceGradientListComponent.h @@ -25,8 +25,8 @@ namespace Terrain static constexpr const char* const s_categoryName = "Terrain"; static constexpr const char* const s_componentName = "Terrain Surface Gradient List"; static constexpr const char* const s_componentDescription = "Provides a mapping between gradients and surface tags for use by the terrain system."; - static constexpr const char* const s_icon = "Editor/Icons/Components/TerrainLayerSpawner.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainLayerSpawner.svg"; + static constexpr const char* const s_icon = "Editor/Icons/Components/TerrainSurfaceGradientList.svg"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainSurfaceGradientList.svg"; static constexpr const char* const s_helpUrl = ""; }; } diff --git a/Gems/Terrain/Code/Source/TerrainRenderer/EditorComponents/EditorTerrainMacroMaterialComponent.h b/Gems/Terrain/Code/Source/TerrainRenderer/EditorComponents/EditorTerrainMacroMaterialComponent.h index a2fddf5768..67897b7dec 100644 --- a/Gems/Terrain/Code/Source/TerrainRenderer/EditorComponents/EditorTerrainMacroMaterialComponent.h +++ b/Gems/Terrain/Code/Source/TerrainRenderer/EditorComponents/EditorTerrainMacroMaterialComponent.h @@ -25,8 +25,8 @@ namespace Terrain static constexpr const char* const s_categoryName = "Terrain"; static constexpr const char* const s_componentName = "Terrain Macro Material"; static constexpr const char* const s_componentDescription = "Provides a macro material for a region to the terrain renderer"; - static constexpr const char* const s_icon = "Editor/Icons/Components/TerrainLayerRenderer.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainLayerRenderer.svg"; + static constexpr const char* const s_icon = "Editor/Icons/Components/TerrainMacroMaterial.svg"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainMacroMaterial.svg"; static constexpr const char* const s_helpUrl = ""; }; } diff --git a/Gems/Terrain/Code/Source/TerrainRenderer/EditorComponents/EditorTerrainSurfaceMaterialsListComponent.h b/Gems/Terrain/Code/Source/TerrainRenderer/EditorComponents/EditorTerrainSurfaceMaterialsListComponent.h index f0d03a6082..7fe8c82522 100644 --- a/Gems/Terrain/Code/Source/TerrainRenderer/EditorComponents/EditorTerrainSurfaceMaterialsListComponent.h +++ b/Gems/Terrain/Code/Source/TerrainRenderer/EditorComponents/EditorTerrainSurfaceMaterialsListComponent.h @@ -25,8 +25,8 @@ namespace Terrain static constexpr const char* const s_categoryName = "Terrain"; static constexpr const char* const s_componentName = "Terrain Surface Materials List"; static constexpr const char* const s_componentDescription = "Provides a mapping between surface tags and render materials."; - static constexpr const char* const s_icon = "Editor/Icons/Components/TerrainHeight.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainHeight.svg"; + static constexpr const char* const s_icon = "Editor/Icons/Components/TerrainSurfaceMaterials.svg"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainSurfaceMaterials.svg"; static constexpr const char* const s_helpUrl = ""; }; } diff --git a/Gems/Terrain/Code/Tests/TerrainSystemTest.cpp b/Gems/Terrain/Code/Tests/TerrainSystemTest.cpp index 4d149e8527..c2f8c2620c 100644 --- a/Gems/Terrain/Code/Tests/TerrainSystemTest.cpp +++ b/Gems/Terrain/Code/Tests/TerrainSystemTest.cpp @@ -41,7 +41,6 @@ namespace UnitTest }; AZ::ComponentApplication m_app; - AZStd::unique_ptr m_terrainSystem; AZStd::unique_ptr> m_boxShapeRequests; AZStd::unique_ptr> m_shapeRequests; @@ -59,7 +58,6 @@ namespace UnitTest void TearDown() override { - m_terrainSystem.reset(); m_boxShapeRequests.reset(); m_shapeRequests.reset(); m_terrainAreaHeightRequests.reset(); @@ -96,16 +94,17 @@ namespace UnitTest // Create a terrain system with reasonable defaults for testing, but with the ability to override the defaults // on a test-by-test basis. - void CreateAndActivateTerrainSystem( + AZStd::unique_ptr CreateAndActivateTerrainSystem( AZ::Vector2 queryResolution = AZ::Vector2(1.0f), AZ::Aabb worldBounds = AZ::Aabb::CreateFromMinMax(AZ::Vector3(-128.0f), AZ::Vector3(128.0f))) { // Create the terrain system and give it one tick to fully initialize itself. - m_terrainSystem = AZStd::make_unique(); - m_terrainSystem->SetTerrainAabb(worldBounds); - m_terrainSystem->SetTerrainHeightQueryResolution(queryResolution); - m_terrainSystem->Activate(); + auto terrainSystem = AZStd::make_unique(); + terrainSystem->SetTerrainAabb(worldBounds); + terrainSystem->SetTerrainHeightQueryResolution(queryResolution); + terrainSystem->Activate(); AZ::TickBus::Broadcast(&AZ::TickBus::Events::OnTick, 0.f, AZ::ScriptTimePoint{}); + return terrainSystem; } AZStd::unique_ptr CreateAndActivateMockTerrainLayerSpawner( @@ -144,16 +143,16 @@ namespace UnitTest { // Trivially verify that the terrain system can successfully be constructed and destructed without errors. - m_terrainSystem = AZStd::make_unique(); + auto terrainSystem = AZStd::make_unique(); } TEST_F(TerrainSystemTest, TrivialActivateDeactivate) { // Verify that the terrain system can be activated and deactivated without errors. - m_terrainSystem = AZStd::make_unique(); - m_terrainSystem->Activate(); - m_terrainSystem->Deactivate(); + auto terrainSystem = AZStd::make_unique(); + terrainSystem->Activate(); + terrainSystem->Deactivate(); } TEST_F(TerrainSystemTest, CreateEventsCalledOnActivation) @@ -164,8 +163,8 @@ namespace UnitTest EXPECT_CALL(mockTerrainListener, OnTerrainDataCreateBegin()).Times(AtLeast(1)); EXPECT_CALL(mockTerrainListener, OnTerrainDataCreateEnd()).Times(AtLeast(1)); - m_terrainSystem = AZStd::make_unique(); - m_terrainSystem->Activate(); + auto terrainSystem = AZStd::make_unique(); + terrainSystem->Activate(); } TEST_F(TerrainSystemTest, DestroyEventsCalledOnDeactivation) @@ -176,9 +175,9 @@ namespace UnitTest EXPECT_CALL(mockTerrainListener, OnTerrainDataDestroyBegin()).Times(AtLeast(1)); EXPECT_CALL(mockTerrainListener, OnTerrainDataDestroyEnd()).Times(AtLeast(1)); - m_terrainSystem = AZStd::make_unique(); - m_terrainSystem->Activate(); - m_terrainSystem->Deactivate(); + auto terrainSystem = AZStd::make_unique(); + terrainSystem->Activate(); + terrainSystem->Deactivate(); } TEST_F(TerrainSystemTest, TerrainDoesNotExistWhenNoTerrainLayerSpawnersAreRegistered) @@ -190,9 +189,9 @@ namespace UnitTest // a normal facing up the Z axis. // Create and activate the terrain system with our testing defaults for world bounds and query resolution. - CreateAndActivateTerrainSystem(); + auto terrainSystem = CreateAndActivateTerrainSystem(); - AZ::Aabb worldBounds = m_terrainSystem->GetTerrainAabb(); + AZ::Aabb worldBounds = terrainSystem->GetTerrainAabb(); // Loop through several points within the world bounds, including on the edges, and verify that they all return false for // terrainExists with default heights and normals. @@ -203,17 +202,17 @@ namespace UnitTest AZ::Vector3 position(x, y, 0.0f); bool terrainExists = true; float height = - m_terrainSystem->GetHeight(position, AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT, &terrainExists); + terrainSystem->GetHeight(position, AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT, &terrainExists); EXPECT_FALSE(terrainExists); EXPECT_FLOAT_EQ(height, worldBounds.GetMin().GetZ()); terrainExists = true; AZ::Vector3 normal = - m_terrainSystem->GetNormal(position, AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT, &terrainExists); + terrainSystem->GetNormal(position, AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT, &terrainExists); EXPECT_FALSE(terrainExists); EXPECT_EQ(normal, AZ::Vector3::CreateAxisZ()); - bool isHole = m_terrainSystem->GetIsHoleFromFloats( + bool isHole = terrainSystem->GetIsHoleFromFloats( position.GetX(), position.GetY(), AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT); EXPECT_TRUE(isHole); } @@ -242,7 +241,7 @@ namespace UnitTest // Verify that terrain exists within the layer spawner bounds, and doesn't exist outside of it. // Create and activate the terrain system with our testing defaults for world bounds and query resolution. - CreateAndActivateTerrainSystem(); + auto terrainSystem = CreateAndActivateTerrainSystem(); // Create a box that's twice as big as the layer spawner box. Loop through it and verify that points within the layer box contain // terrain and the expected height & normal values, and points outside the layer box don't contain terrain. @@ -255,9 +254,9 @@ namespace UnitTest { AZ::Vector3 position(x, y, 0.0f); bool heightQueryTerrainExists = false; - float height = m_terrainSystem->GetHeight( + float height = terrainSystem->GetHeight( position, AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT, &heightQueryTerrainExists); - bool isHole = m_terrainSystem->GetIsHoleFromFloats( + bool isHole = terrainSystem->GetIsHoleFromFloats( position.GetX(), position.GetY(), AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT); if (spawnerBox.Contains(AZ::Vector3(position.GetX(), position.GetY(), spawnerBox.GetMin().GetZ()))) @@ -297,7 +296,7 @@ namespace UnitTest // Create and activate the terrain system with our testing defaults for world bounds, and a query resolution that exactly matches // the frequency of our sine wave. If our height queries rely on the query resolution, we should always get a value of 0. const AZ::Vector2 queryResolution(frequencyMeters); - CreateAndActivateTerrainSystem(queryResolution); + auto terrainSystem = CreateAndActivateTerrainSystem(queryResolution); // Test an arbitrary set of points that should all produce non-zero heights with the EXACT sampler. They're not aligned with the // query resolution, or with the 0 points on the sine wave. @@ -307,7 +306,7 @@ namespace UnitTest AZ::Vector3 position(nonZeroPoint.GetX(), nonZeroPoint.GetY(), 0.0f); bool heightQueryTerrainExists = false; float height = - m_terrainSystem->GetHeight(position, AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT, &heightQueryTerrainExists); + terrainSystem->GetHeight(position, AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT, &heightQueryTerrainExists); // We've chosen a bunch of places on the sine wave that should return a non-zero positive or negative value. constexpr float epsilon = 0.0001f; @@ -322,7 +321,7 @@ namespace UnitTest AZ::Vector3 position(zeroPoint.GetX(), zeroPoint.GetY(), 0.0f); bool heightQueryTerrainExists = false; float height = - m_terrainSystem->GetHeight(position, AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT, &heightQueryTerrainExists); + terrainSystem->GetHeight(position, AzFramework::Terrain::TerrainDataRequests::Sampler::EXACT, &heightQueryTerrainExists); constexpr float epsilon = 0.0001f; EXPECT_NEAR(height, 0.0f, epsilon); @@ -348,7 +347,7 @@ namespace UnitTest // Create and activate the terrain system with our testing defaults for world bounds, and a query resolution at 0.25 meter // intervals. const AZ::Vector2 queryResolution(0.25f); - CreateAndActivateTerrainSystem(queryResolution); + auto terrainSystem = CreateAndActivateTerrainSystem(queryResolution); // Test some points and verify that the results always go "downward", whether they're in positive or negative space. // (Z contains the the expected result for convenience). @@ -371,7 +370,7 @@ namespace UnitTest AZ::Vector3 position(testPoint.m_testLocation.GetX(), testPoint.m_testLocation.GetY(), 0.0f); bool heightQueryTerrainExists = false; float height = - m_terrainSystem->GetHeight(position, AzFramework::Terrain::TerrainDataRequests::Sampler::CLAMP, &heightQueryTerrainExists); + terrainSystem->GetHeight(position, AzFramework::Terrain::TerrainDataRequests::Sampler::CLAMP, &heightQueryTerrainExists); constexpr float epsilon = 0.0001f; EXPECT_NEAR(height, expectedHeight, epsilon); @@ -410,7 +409,7 @@ namespace UnitTest // Create and activate the terrain system with our testing defaults for world bounds, and a query resolution at 1 meter intervals. const AZ::Vector2 queryResolution(frequencyMeters); - CreateAndActivateTerrainSystem(queryResolution); + auto terrainSystem = CreateAndActivateTerrainSystem(queryResolution); // Test some points and verify that the results are the expected bilinear filtered result, // whether they're in positive or negative space. @@ -466,7 +465,7 @@ namespace UnitTest AZ::Vector3 position(testPoint.m_testLocation.GetX(), testPoint.m_testLocation.GetY(), 0.0f); bool heightQueryTerrainExists = false; - float height = m_terrainSystem->GetHeight( + float height = terrainSystem->GetHeight( position, AzFramework::Terrain::TerrainDataRequests::Sampler::BILINEAR, &heightQueryTerrainExists); // Verify that our height query returned the bilinear filtered result we expect. @@ -479,7 +478,7 @@ namespace UnitTest { // When there is more than one surface/weight defined, they should all be returned in descending weight order. - CreateAndActivateTerrainSystem(); + auto terrainSystem = CreateAndActivateTerrainSystem(); const AZ::Aabb aabb = AZ::Aabb::CreateFromMinMax(AZ::Vector3::CreateZero(), AZ::Vector3::CreateOne()); auto entity = CreateAndActivateMockTerrainLayerSpawner( @@ -508,11 +507,11 @@ namespace UnitTest AzFramework::SurfaceData::SurfaceTagWeightList outSurfaceWeights; // Asking for values outside the layer spawner bounds, should result in no results. - m_terrainSystem->GetSurfaceWeights(aabb.GetMax() + AZ::Vector3::CreateOne(), outSurfaceWeights); + terrainSystem->GetSurfaceWeights(aabb.GetMax() + AZ::Vector3::CreateOne(), outSurfaceWeights); EXPECT_TRUE(outSurfaceWeights.empty()); // Inside the layer spawner box should give us all of the added surface weights. - m_terrainSystem->GetSurfaceWeights(aabb.GetCenter(), outSurfaceWeights); + terrainSystem->GetSurfaceWeights(aabb.GetCenter(), outSurfaceWeights); EXPECT_EQ(outSurfaceWeights.size(), 3); @@ -531,7 +530,7 @@ namespace UnitTest TEST_F(TerrainSystemTest, GetMaxSurfaceWeightsReturnsBiggestValidSurfaceWeight) { - CreateAndActivateTerrainSystem(); + auto terrainSystem = CreateAndActivateTerrainSystem(); const AZ::Aabb aabb = AZ::Aabb::CreateFromMinMax(AZ::Vector3::CreateZero(), AZ::Vector3::CreateOne()); auto entity = CreateAndActivateMockTerrainLayerSpawner( @@ -562,12 +561,12 @@ namespace UnitTest // Asking for values outside the layer spawner bounds, should result in an invalid result. AzFramework::SurfaceData::SurfaceTagWeight tagWeight = - m_terrainSystem->GetMaxSurfaceWeight(aabb.GetMax() + AZ::Vector3::CreateOne()); + terrainSystem->GetMaxSurfaceWeight(aabb.GetMax() + AZ::Vector3::CreateOne()); EXPECT_EQ(tagWeight.m_surfaceType, AZ::Crc32(AzFramework::SurfaceData::Constants::s_unassignedTagName)); // Inside the layer spawner box should give us the highest weighted tag (tag1). - tagWeight = m_terrainSystem->GetMaxSurfaceWeight(aabb.GetCenter()); + tagWeight = terrainSystem->GetMaxSurfaceWeight(aabb.GetCenter()); EXPECT_EQ(tagWeight.m_surfaceType, tagWeight1.m_surfaceType); EXPECT_NEAR(tagWeight.m_weight, tagWeight1.m_weight, 0.01f); diff --git a/README.md b/README.md index 6f500a3dd3..11fec028bc 100644 --- a/README.md +++ b/README.md @@ -102,12 +102,12 @@ For more details on the steps above, refer to [Setting up O3DE from GitHub](http 1. Configure a solution for your project. ``` - cmake -B -S -G "Visual Studio 16" -DLY_3RDPARTY_PATH=<3rdParty cache path> + cmake -B -S -G "Visual Studio 16" ``` Example: ``` - cmake -B C:\my-project\build\windows_vs2019 -S C:\my-project -G "Visual Studio 16" -DLY_3RDPARTY_PATH=C:\o3de-packages + cmake -B C:\my-project\build\windows_vs2019 -S C:\my-project -G "Visual Studio 16" ``` > Note: Do not use trailing slashes for the <3rdParty cache path>. diff --git a/Registry/AssetProcessorPlatformConfig.setreg b/Registry/AssetProcessorPlatformConfig.setreg index c8d8dd9a80..cf793a9802 100644 --- a/Registry/AssetProcessorPlatformConfig.setreg +++ b/Registry/AssetProcessorPlatformConfig.setreg @@ -21,6 +21,19 @@ "Amazon": { "AssetProcessor": { "Settings": { + "Stats": { + // Setting MachineReadable to true will output stats in more of a CSV-like format that is ideal for script ingestion + "MachineReadable" : false, + // Setting HumanReadable to true will output stats in a friendly human format that is ideal for human reading + "HumanReadable" : true, + // To turn off stats output entirely, set both HumanReadable and MachineReadable to false. + // the maximum number of stats to show for cumulative stats like the time taken + // across all jobs of a certain type, or all jobs cumulative across a whole platform + "MaxCumulativeStats" : 4, + // the maximum number of stats to show for individual stats like how long a specific + // individual job took. + "MaxIndividualStats" : 4 + }, "Platform pc": { "tags": "tools,renderer,dx12,vulkan,null" }, diff --git a/Templates/CMakeLists.txt b/Templates/CMakeLists.txt index 9735907a6a..5f5d561a9f 100644 --- a/Templates/CMakeLists.txt +++ b/Templates/CMakeLists.txt @@ -14,5 +14,6 @@ ly_install_directory( DefaultGem DefaultProject MinimalProject + GemRepo VERBATIM ) diff --git a/Templates/DefaultProject/Template/cmake/CompilerSettings.cmake b/Templates/DefaultProject/Template/cmake/CompilerSettings.cmake index cf6614e4a5..60bda1d45b 100644 --- a/Templates/DefaultProject/Template/cmake/CompilerSettings.cmake +++ b/Templates/DefaultProject/Template/cmake/CompilerSettings.cmake @@ -9,5 +9,5 @@ # File to tweak compiler settings before compiler detection happens (before project() is called) # We dont have PAL enabled at this point, so we can only use pure-CMake variables if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Linux") - include(cmake/Platform/${CMAKE_HOST_SYSTEM_NAME}/CompilerSettings.cmake) + include(cmake/Platform/Linux/CompilerSettings_linux.cmake) endif() diff --git a/Templates/MinimalProject/Template/cmake/Platform/Linux/CompilerSettings.cmake b/Templates/DefaultProject/Template/cmake/Platform/Linux/CompilerSettings_linux.cmake similarity index 100% rename from Templates/MinimalProject/Template/cmake/Platform/Linux/CompilerSettings.cmake rename to Templates/DefaultProject/Template/cmake/Platform/Linux/CompilerSettings_linux.cmake diff --git a/Templates/DefaultProject/template.json b/Templates/DefaultProject/template.json index a36926f632..fcffafcb34 100644 --- a/Templates/DefaultProject/template.json +++ b/Templates/DefaultProject/template.json @@ -193,8 +193,8 @@ "isOptional": false }, { - "file": "cmake/Platform/Linux/CompilerSettings.cmake", - "origin": "cmake/Platform/Linux/CompilerSettings.cmake", + "file": "cmake/Platform/Linux/CompilerSettings_linux.cmake", + "origin": "cmake/Platform/Linux/CompilerSettings_linux.cmake", "isTemplated": false, "isOptional": false }, diff --git a/Templates/GemRepo/Template/gem.json b/Templates/GemRepo/Template/gem.json new file mode 100644 index 0000000000..292681b2b5 --- /dev/null +++ b/Templates/GemRepo/Template/gem.json @@ -0,0 +1,19 @@ +{ + "gem_name": "${Name}Gem", + "display_name": "${Name}Gem", + "license": "What license ${Name}Gem uses goes here: i.e. Apache-2.0 Or MIT", + "license_url": "", + "origin": "The primary repo for ${Name}Gem goes here: i.e. http://www.mydomain.com", + "summary": "A short description of ${Name}Gem which is zipped up in an archive named gem.zip in the root of the Gem Repo. Though not required, it is recommended that the sha256 of the gem.zip file should be placed in the sha256 field of this gem.json so the download can be verified.", + "origin_uri": "${RepoURI}/gem.zip", + "sha256": "", + "type": "Code", + "canonical_tags": [ + "Gem" + ], + "user_tags": [ + "${Name}Gem" + ], + "icon_path": "preview.png", + "requirements": "" +} diff --git a/Templates/GemRepo/Template/repo.json b/Templates/GemRepo/Template/repo.json new file mode 100644 index 0000000000..2af1fcfd2a --- /dev/null +++ b/Templates/GemRepo/Template/repo.json @@ -0,0 +1,11 @@ +{ + "repo_name":"${Name}", + "origin":"Origin for the ${Name} Gem Repository", + "repo_uri": "${RepoURI}", + "summary": "A Gem Repository with a single Gem in the root of the repository.", + "additional_info": "Additional info for ${Name}", + "last_updated": "", + "gems": [ + "${RepoURI}" + ] +} diff --git a/Templates/GemRepo/preview.png b/Templates/GemRepo/preview.png new file mode 100644 index 0000000000..78a2a735d2 --- /dev/null +++ b/Templates/GemRepo/preview.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ae503ec99c8358991dc3c6e50737844d3602b81a49abbbed7d697d7238547c0 +size 28026 diff --git a/Templates/GemRepo/template.json b/Templates/GemRepo/template.json new file mode 100644 index 0000000000..88123a9dae --- /dev/null +++ b/Templates/GemRepo/template.json @@ -0,0 +1,27 @@ +{ + "template_name": "GemRepo", + "origin": "The primary repo for GemRepo goes here: i.e. http://www.mydomain.com", + "license": "What license GemRepo uses goes here: i.e. https://opensource.org/licenses/MIT", + "display_name": "GemRepo", + "summary": "A Gem Repository that contains a single Gem.", + "canonical_tags": [], + "user_tags": [ + "GemRepo" + ], + "icon_path": "preview.png", + "copyFiles": [ + { + "file": "gem.json", + "origin": "gem.json", + "isTemplated": true, + "isOptional": false + }, + { + "file": "repo.json", + "origin": "repo.json", + "isTemplated": true, + "isOptional": false + } + ], + "createDirectories": [] +} diff --git a/Templates/MinimalProject/Template/cmake/CompilerSettings.cmake b/Templates/MinimalProject/Template/cmake/CompilerSettings.cmake index cf6614e4a5..60bda1d45b 100644 --- a/Templates/MinimalProject/Template/cmake/CompilerSettings.cmake +++ b/Templates/MinimalProject/Template/cmake/CompilerSettings.cmake @@ -9,5 +9,5 @@ # File to tweak compiler settings before compiler detection happens (before project() is called) # We dont have PAL enabled at this point, so we can only use pure-CMake variables if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Linux") - include(cmake/Platform/${CMAKE_HOST_SYSTEM_NAME}/CompilerSettings.cmake) + include(cmake/Platform/Linux/CompilerSettings_linux.cmake) endif() diff --git a/cmake/Platform/Linux/CompilerSettings.cmake b/Templates/MinimalProject/Template/cmake/Platform/Linux/CompilerSettings_linux.cmake similarity index 100% rename from cmake/Platform/Linux/CompilerSettings.cmake rename to Templates/MinimalProject/Template/cmake/Platform/Linux/CompilerSettings_linux.cmake diff --git a/Templates/MinimalProject/template.json b/Templates/MinimalProject/template.json index 4260e71527..7d6a4f9b94 100644 --- a/Templates/MinimalProject/template.json +++ b/Templates/MinimalProject/template.json @@ -185,8 +185,8 @@ "isOptional": false }, { - "file": "cmake/Platform/Linux/CompilerSettings.cmake", - "origin": "cmake/Platform/Linux/CompilerSettings.cmake", + "file": "cmake/Platform/Linux/CompilerSettings_linux.cmake", + "origin": "cmake/Platform/Linux/CompilerSettings_linux.cmake", "isTemplated": false, "isOptional": false }, diff --git a/Tools/LyTestTools/ly_test_tools/o3de/editor_test.py b/Tools/LyTestTools/ly_test_tools/o3de/editor_test.py index ae6ed16321..29b6573f7a 100644 --- a/Tools/LyTestTools/ly_test_tools/o3de/editor_test.py +++ b/Tools/LyTestTools/ly_test_tools/o3de/editor_test.py @@ -303,6 +303,8 @@ class EditorTestSuite(): use_null_renderer = True # Maximum time for a single editor to stay open on a shared test timeout_editor_shared_test = 300 + # Flag to determine whether to use new prefab system or use deprecated slice system for this test suite + enable_prefab_system = True # Function to calculate number of editors to run in parallel, this can be overriden by the user @staticmethod @@ -741,7 +743,11 @@ class EditorTestSuite(): test_cmdline_args += ["--attach-debugger"] if test_spec.wait_for_debugger: test_cmdline_args += ["--wait-for-debugger"] - + if self.enable_prefab_system: + test_cmdline_args += ["--regset=/Amazon/Preferences/EnablePrefabSystem=true"] + else: + test_cmdline_args += ["--regset=/Amazon/Preferences/EnablePrefabSystem=false"] + # Cycle any old crash report in case it wasn't cycled properly editor_utils.cycle_crash_report(run_id, workspace) @@ -804,7 +810,11 @@ class EditorTestSuite(): test_cmdline_args += ["--attach-debugger"] if any([t.wait_for_debugger for t in test_spec_list]): test_cmdline_args += ["--wait-for-debugger"] - + if self.enable_prefab_system: + test_cmdline_args += ["--regset=/Amazon/Preferences/EnablePrefabSystem=true"] + else: + test_cmdline_args += ["--regset=/Amazon/Preferences/EnablePrefabSystem=false"] + # Cycle any old crash report in case it wasn't cycled properly editor_utils.cycle_crash_report(run_id, workspace) diff --git a/cmake/3rdParty.cmake b/cmake/3rdParty.cmake index 4b7f929279..7d98c3ea3e 100644 --- a/cmake/3rdParty.cmake +++ b/cmake/3rdParty.cmake @@ -25,6 +25,15 @@ define_property(TARGET PROPERTY LY_SYSTEM_LIBRARY # \arg:output_third_party_path name of variable to set the default project directory into # It defaults to the ~/.o3de/3rdParty directory function(get_default_third_party_folder output_third_party_path) + + # 1. Highest priority, cache variable, that will override the value of any of the cases below + # 2. if defined in an env variable, take it from there + if($ENV{LY_3RDPARTY_PATH}) + set(${output_third_party_path} $ENV{LY_3RDPARTY_PATH} PARENT_SCOPE) + return() + endif() + + # 3. If defined in the o3de_manifest.json, take it from there cmake_path(SET home_directory "$ENV{USERPROFILE}") # Windows if(NOT EXISTS ${home_directory}) cmake_path(SET home_directory "$ENV{HOME}") # Unix @@ -33,7 +42,20 @@ function(get_default_third_party_folder output_third_party_path) endif() endif() + set(manifest_path ${home_directory}/.o3de/o3de_manifest.json) + if(EXISTS ${manifest_path}) + file(READ ${manifest_path} manifest_json) + string(JSON default_third_party_folder ERROR_VARIABLE json_error GET ${manifest_json} default_third_party_folder) + if(NOT json_error) + set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${manifest_path}) + set(${output_third_party_path} ${default_third_party_folder} PARENT_SCOPE) + return() + endif() + endif() + + # 4. Lowest priority, use the home directory as the location for 3rdparty set(${output_third_party_path} ${home_directory}/.o3de/3rdParty PARENT_SCOPE) + endfunction() get_default_third_party_folder(o3de_default_third_party_path) diff --git a/cmake/3rdParty/Platform/Android/BuiltInPackages_android.cmake b/cmake/3rdParty/Platform/Android/BuiltInPackages_android.cmake index 9dbdbbd8aa..16478b2f35 100644 --- a/cmake/3rdParty/Platform/Android/BuiltInPackages_android.cmake +++ b/cmake/3rdParty/Platform/Android/BuiltInPackages_android.cmake @@ -20,7 +20,7 @@ ly_associate_package(PACKAGE_NAME tiff-4.2.0.15-rev4-android TARGETS TIF ly_associate_package(PACKAGE_NAME freetype-2.10.4.16-android TARGETS freetype PACKAGE_HASH df9e4d559ea0f03b0666b48c79813b1cd4d9624429148a249865de9f5c2c11cd) ly_associate_package(PACKAGE_NAME AWSNativeSDK-1.9.50-rev1-android TARGETS AWSNativeSDK PACKAGE_HASH 33771499f9080cbaab613459927e52911e68f94fa356397885e85005efbd1490) ly_associate_package(PACKAGE_NAME Lua-5.3.5-rev5-android TARGETS Lua PACKAGE_HASH 1f638e94a17a87fe9e588ea456d5893876094b4db191234380e4c4eb9e06c300) -ly_associate_package(PACKAGE_NAME PhysX-4.1.2.29882248-rev3-android TARGETS PhysX PACKAGE_HASH b8cb6aa46b2a21671f6cb1f6a78713a3ba88824d0447560ff5ce6c01014b9f43) +ly_associate_package(PACKAGE_NAME PhysX-4.1.2.29882248-rev4-android TARGETS PhysX PACKAGE_HASH 60777cbd5279a45dd9d9ee65525f662ce32253b88359162e54e4bb8581a4a262) ly_associate_package(PACKAGE_NAME mikkelsen-1.0.0.4-android TARGETS mikkelsen PACKAGE_HASH 075e8e4940884971063b5a9963014e2e517246fa269c07c7dc55b8cf2cd99705) ly_associate_package(PACKAGE_NAME googletest-1.8.1-rev4-android TARGETS googletest PACKAGE_HASH 95671be75287a61c9533452835c3647e9c1b30f81b34b43bcb0ec1997cc23894) ly_associate_package(PACKAGE_NAME googlebenchmark-1.5.0-rev2-android TARGETS GoogleBenchmark PACKAGE_HASH 20b46e572211a69d7d94ddad1c89ec37bb958711d6ad4025368ac89ea83078fb) diff --git a/cmake/3rdParty/Platform/Linux/BuiltInPackages_linux.cmake b/cmake/3rdParty/Platform/Linux/BuiltInPackages_linux.cmake index 995e6082f3..3ad49c6d7a 100644 --- a/cmake/3rdParty/Platform/Linux/BuiltInPackages_linux.cmake +++ b/cmake/3rdParty/Platform/Linux/BuiltInPackages_linux.cmake @@ -27,7 +27,7 @@ ly_associate_package(PACKAGE_NAME tiff-4.2.0.15-rev3-linux ly_associate_package(PACKAGE_NAME freetype-2.10.4.16-linux TARGETS freetype PACKAGE_HASH 3f10c703d9001ecd2bb51a3bd003d3237c02d8f947ad0161c0252fdc54cbcf97) ly_associate_package(PACKAGE_NAME AWSNativeSDK-1.7.167-rev6-linux TARGETS AWSNativeSDK PACKAGE_HASH 490291e4c8057975c3ab86feb971b8a38871c58bac5e5d86abdd1aeb7141eec4) ly_associate_package(PACKAGE_NAME Lua-5.3.5-rev5-linux TARGETS Lua PACKAGE_HASH 1adc812abe3dd0dbb2ca9756f81d8f0e0ba45779ac85bf1d8455b25c531a38b0) -ly_associate_package(PACKAGE_NAME PhysX-4.1.2.29882248-rev3-linux TARGETS PhysX PACKAGE_HASH a110249cbef4f266b0002c4ee9a71f59f373040cefbe6b82f1e1510c811edde6) +ly_associate_package(PACKAGE_NAME PhysX-4.1.2.29882248-rev4-linux TARGETS PhysX PACKAGE_HASH a5cba1c7e1f3df37869008ef18d99bdd15f8e9a44cbe259cf79374696f2b6515) ly_associate_package(PACKAGE_NAME mcpp-2.7.2_az.2-rev1-linux TARGETS mcpp PACKAGE_HASH df7a998d0bc3fedf44b5bdebaf69ddad6033355b71a590e8642445ec77bc6c41) ly_associate_package(PACKAGE_NAME mikkelsen-1.0.0.4-linux TARGETS mikkelsen PACKAGE_HASH 5973b1e71a64633588eecdb5b5c06ca0081f7be97230f6ef64365cbda315b9c8) ly_associate_package(PACKAGE_NAME googletest-1.8.1-rev4-linux TARGETS googletest PACKAGE_HASH 7b7ad330f369450c316a4c4592d17fbb4c14c731c95bd8f37757203e8c2bbc1b) @@ -46,3 +46,4 @@ ly_associate_package(PACKAGE_NAME squish-ccr-deb557d-rev1-linux ly_associate_package(PACKAGE_NAME astc-encoder-3.2-rev2-linux TARGETS astc-encoder PACKAGE_HASH 71549d1ca9e4d48391b92a89ea23656d3393810e6777879f6f8a9def2db1610c) ly_associate_package(PACKAGE_NAME ISPCTexComp-36b80aa-rev1-linux TARGETS ISPCTexComp PACKAGE_HASH 065fd12abe4247dde247330313763cf816c3375c221da030bdec35024947f259) ly_associate_package(PACKAGE_NAME lz4-1.9.3-vcpkg-rev4-linux TARGETS lz4 PACKAGE_HASH 5de3dbd3e2a3537c6555d759b3c5bb98e5456cf85c74ff6d046f809b7087290d) +ly_associate_package(PACKAGE_NAME pyside2-5.15.2-rev2-linux TARGETS pyside2 PACKAGE_HASH 7589c397c8224d0c3ad691ff02e1afd55d9a1f9de1967c14eb8105dd2b0c4dd1) diff --git a/cmake/3rdParty/Platform/Mac/BuiltInPackages_mac.cmake b/cmake/3rdParty/Platform/Mac/BuiltInPackages_mac.cmake index eef6badf45..c10cc3e461 100644 --- a/cmake/3rdParty/Platform/Mac/BuiltInPackages_mac.cmake +++ b/cmake/3rdParty/Platform/Mac/BuiltInPackages_mac.cmake @@ -28,7 +28,7 @@ ly_associate_package(PACKAGE_NAME tiff-4.2.0.15-rev3-mac ly_associate_package(PACKAGE_NAME freetype-2.10.4.16-mac TARGETS freetype PACKAGE_HASH f159b346ac3251fb29cb8dd5f805c99b0015ed7fdb3887f656945ca701a61d0d) ly_associate_package(PACKAGE_NAME AWSNativeSDK-1.7.167-rev5-mac TARGETS AWSNativeSDK PACKAGE_HASH ffb890bd9cf23afb429b9214ad9bac1bf04696f07a0ebb93c42058c482ab2f01) ly_associate_package(PACKAGE_NAME Lua-5.3.5-rev6-mac TARGETS Lua PACKAGE_HASH b9079fd35634774c9269028447562c6b712dbc83b9c64975c095fd423ff04c08) -ly_associate_package(PACKAGE_NAME PhysX-4.1.2.29882248-rev3-mac TARGETS PhysX PACKAGE_HASH 5e092a11d5c0a50c4dd99bb681a04b566a4f6f29aa08443d9bffc8dc12c27c8e) +ly_associate_package(PACKAGE_NAME PhysX-4.1.2.29882248-rev4-mac TARGETS PhysX PACKAGE_HASH 5f65e798059ea945b53e8f308c0594f195118a64e3ce873f2fff971f4e207b4d) ly_associate_package(PACKAGE_NAME mcpp-2.7.2_az.2-rev1-mac TARGETS mcpp PACKAGE_HASH be9558905c9c49179ef3d7d84f0a5472415acdf7fe2d76eb060d9431723ddf2e) ly_associate_package(PACKAGE_NAME mikkelsen-1.0.0.4-mac TARGETS mikkelsen PACKAGE_HASH 83af99ca8bee123684ad254263add556f0cf49486c0b3e32e6d303535714e505) ly_associate_package(PACKAGE_NAME googletest-1.8.1-rev4-mac TARGETS googletest PACKAGE_HASH cbf020d5ef976c5db8b6e894c6c63151ade85ed98e7c502729dd20172acae5a8) diff --git a/cmake/3rdParty/Platform/Windows/BuiltInPackages_windows.cmake b/cmake/3rdParty/Platform/Windows/BuiltInPackages_windows.cmake index 3038e8c561..23892c6d7d 100644 --- a/cmake/3rdParty/Platform/Windows/BuiltInPackages_windows.cmake +++ b/cmake/3rdParty/Platform/Windows/BuiltInPackages_windows.cmake @@ -29,7 +29,7 @@ ly_associate_package(PACKAGE_NAME tiff-4.2.0.15-rev3-windows ly_associate_package(PACKAGE_NAME freetype-2.10.4.16-windows TARGETS freetype PACKAGE_HASH 9809255f1c59b07875097aa8d8c6c21c97c47a31fb35e30f2bb93188e99a85ff) ly_associate_package(PACKAGE_NAME AWSNativeSDK-1.7.167-rev4-windows TARGETS AWSNativeSDK PACKAGE_HASH a900e80f7259e43aed5c847afee2599ada37f29db70505481397675bcbb6c76c) ly_associate_package(PACKAGE_NAME Lua-5.3.5-rev5-windows TARGETS Lua PACKAGE_HASH 136faccf1f73891e3fa3b95f908523187792e56f5b92c63c6a6d7e72d1158d40) -ly_associate_package(PACKAGE_NAME PhysX-4.1.2.29882248-rev3-windows TARGETS PhysX PACKAGE_HASH 0c5ffbd9fa588e5cf7643721a7cfe74d0fe448bf82252d39b3a96d06dfca2298) +ly_associate_package(PACKAGE_NAME PhysX-4.1.2.29882248-rev4-windows TARGETS PhysX PACKAGE_HASH 4591647debc80f9fd1db003206b25aeef0f0036fc4dba05b494558dcf045021b) ly_associate_package(PACKAGE_NAME mcpp-2.7.2_az.2-rev1-windows TARGETS mcpp PACKAGE_HASH 794789aba639bfe2f4e8fcb4424d679933dd6290e523084aa0a4e287ac44acb2) ly_associate_package(PACKAGE_NAME mikkelsen-1.0.0.4-windows TARGETS mikkelsen PACKAGE_HASH 872c4d245a1c86139aa929f2b465b63ea4ea55b04ced50309135dd4597457a4e) ly_associate_package(PACKAGE_NAME googletest-1.8.1-rev4-windows TARGETS googletest PACKAGE_HASH 7e8f03ae8a01563124e3daa06386f25a2b311c10bb95bff05cae6c41eff83837) diff --git a/cmake/3rdParty/Platform/iOS/BuiltInPackages_ios.cmake b/cmake/3rdParty/Platform/iOS/BuiltInPackages_ios.cmake index 8042c888c7..978f26d1f8 100644 --- a/cmake/3rdParty/Platform/iOS/BuiltInPackages_ios.cmake +++ b/cmake/3rdParty/Platform/iOS/BuiltInPackages_ios.cmake @@ -21,7 +21,7 @@ ly_associate_package(PACKAGE_NAME tiff-4.2.0.15-rev3-ios TARGETS TIFF ly_associate_package(PACKAGE_NAME freetype-2.10.4.16-ios TARGETS freetype PACKAGE_HASH 3ac3c35e056ae4baec2e40caa023d76a7a3320895ef172b6655e9261b0dc2e29) ly_associate_package(PACKAGE_NAME AWSNativeSDK-1.7.167-rev4-ios TARGETS AWSNativeSDK PACKAGE_HASH d10e7496ca705577032821011beaf9f2507689f23817bfa0ed4d2a2758afcd02) ly_associate_package(PACKAGE_NAME Lua-5.3.5-rev5-ios TARGETS Lua PACKAGE_HASH c2d3c4e67046c293049292317a7d60fdb8f23effeea7136aefaef667163e5ffe) -ly_associate_package(PACKAGE_NAME PhysX-4.1.2.29882248-rev3-ios TARGETS PhysX PACKAGE_HASH b1bbc1fc068d2c6e1eb18eecd4e8b776adc516833e8da3dcb1970cef2a8f0cbd) +ly_associate_package(PACKAGE_NAME PhysX-4.1.2.29882248-rev4-ios TARGETS PhysX PACKAGE_HASH fb2295974eccd7a05b62efd774c5c4b1ce2b7e45ba65c0b9c1f59c0dab0d34f9) ly_associate_package(PACKAGE_NAME mikkelsen-1.0.0.4-ios TARGETS mikkelsen PACKAGE_HASH 976aaa3ccd8582346132a10af253822ccc5d5bcc9ea5ba44d27848f65ee88a8a) ly_associate_package(PACKAGE_NAME googletest-1.8.1-rev4-ios TARGETS googletest PACKAGE_HASH 2f121ad9784c0ab73dfaa58e1fee05440a82a07cc556bec162eeb407688111a7) ly_associate_package(PACKAGE_NAME googlebenchmark-1.5.0-rev2-ios TARGETS GoogleBenchmark PACKAGE_HASH c2ffaed2b658892b1bcf81dee4b44cd1cb09fc78d55584ef5cb8ab87f2d8d1ae) diff --git a/cmake/3rdPartyPackages.cmake b/cmake/3rdPartyPackages.cmake index efe67b4d24..a3f15bdb22 100644 --- a/cmake/3rdPartyPackages.cmake +++ b/cmake/3rdPartyPackages.cmake @@ -7,7 +7,7 @@ include_guard() -include(cmake/LySet.cmake) +include(${LY_ROOT_FOLDER}/cmake/LySet.cmake) # OVERVIEW: # this is the Open 3D Engine Package system. @@ -80,10 +80,7 @@ macro(ly_package_message) endif() endmacro() -file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/packages) - -include(cmake/LYPackage_S3Downloader.cmake) - +include(${LY_ROOT_FOLDER}/cmake/LYPackage_S3Downloader.cmake) # Attempts one time to download a file. # sets should_retry to true if the caller should retry due to an intermittent problem @@ -711,11 +708,11 @@ if (NOT CMAKE_SCRIPT_MODE_FILE) # include the built in 3rd party packages that are for every platform. # you can put your package associations anywhere, but this provides # a good starting point. - include(cmake/3rdParty/BuiltInPackages.cmake) + include(${LY_ROOT_FOLDER}/cmake/3rdParty/BuiltInPackages.cmake) endif() if(PAL_TRAIT_BUILD_HOST_TOOLS) - include(cmake/LYWrappers.cmake) + include(${LY_ROOT_FOLDER}/cmake/LYWrappers.cmake) # Importing this globally to handle AUTOMOC, AUTOUIC, AUTORCC ly_parse_third_party_dependencies(3rdParty::Qt) endif() diff --git a/cmake/CompilerSettings.cmake b/cmake/CompilerSettings.cmake index cf6614e4a5..60bda1d45b 100644 --- a/cmake/CompilerSettings.cmake +++ b/cmake/CompilerSettings.cmake @@ -9,5 +9,5 @@ # File to tweak compiler settings before compiler detection happens (before project() is called) # We dont have PAL enabled at this point, so we can only use pure-CMake variables if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Linux") - include(cmake/Platform/${CMAKE_HOST_SYSTEM_NAME}/CompilerSettings.cmake) + include(cmake/Platform/Linux/CompilerSettings_linux.cmake) endif() diff --git a/cmake/Deployment.cmake b/cmake/Deployment.cmake index b6b7aa1869..1f6f2fc0f3 100644 --- a/cmake/Deployment.cmake +++ b/cmake/Deployment.cmake @@ -10,5 +10,3 @@ set(LY_ASSET_DEPLOY_MODE "LOOSE" CACHE STRING "Set the Asset deployment when deploying to the target platform (LOOSE, PAK, VFS)") set(LY_ASSET_OVERRIDE_PAK_FOLDER_ROOT "" CACHE STRING "Optional root path to where Pak file folders are stored. By default, blank will use a predefined 'paks' root.") - - diff --git a/cmake/LYWrappers.cmake b/cmake/LYWrappers.cmake index ae097c9bb7..d4bf1d7423 100644 --- a/cmake/LYWrappers.cmake +++ b/cmake/LYWrappers.cmake @@ -653,36 +653,6 @@ function(ly_add_source_properties) endfunction() -#! ly_project_add_subdirectory: calls add_subdirectory() if the project name is in the project list -# -# This can be useful when including subdirs in the restricted folder only if the project is in the project list -# If you give it a second parameter it will add_subdirectory using that instead, if the project is in the project list -# -# add_subdirectory(AutomatedTesting) if Automatedtesting is in the project list -# EX. ly_project_add_subdirectory(AutomatedTesting) -# -# add_subdirectory(SamplesProject) if Automatedtesting is in the project list -# EX. ly_project_add_subdirectory(AutomatedTesting SamplesProject) -# -# \arg:project_name the name of the project that may be enabled -# \arg:binary_project_dir optional, if supplied that binary_project_dir will be added when project name is enabled. -# -function(ly_project_add_subdirectory project_name) - if(${project_name} IN_LIST LY_PROJECTS) - if(ARGC GREATER 1) - list(GET ARGN 0 subdir) - endif() - if(ARGC GREATER 2) - list(GET ARGN 1 binary_project_dir) - endif() - if(subdir) - add_subdirectory(${subdir} ${binary_project_dir}) - else() - add_subdirectory(${project_name} ${binary_project_dir}) - endif() - endif() -endfunction() - # given a target name, returns the "real" name of the target if its an alias. # this function recursively de-aliases function(ly_de_alias_target target_name output_variable_name) diff --git a/cmake/Packaging.cmake b/cmake/Packaging.cmake index 6a1e2d8cef..d716efb225 100644 --- a/cmake/Packaging.cmake +++ b/cmake/Packaging.cmake @@ -24,18 +24,23 @@ number will automatically appended as '/'. If LY_INSTALLER_AUTO_ full URL format will be: //" ) -set(LY_INSTALLER_UPLOAD_URL "" CACHE STRING -"Base URL used to upload the installer artifacts after generation, the host target and version number \ -will automatically appended as '/'. If LY_INSTALLER_AUTO_GEN_TAG is set, the full URL \ -format will be: //. Can also be set via LY_INSTALLER_UPLOAD_URL environment \ -variable. Currently only accepts S3 URLs e.g. s3:///" +set(CPACK_UPLOAD_URL "" CACHE STRING +"URL used to upload the installer artifacts after generation, the host target and version number \ +will automatically appended as '/'. If LY_INSTALLER_AUTO_GEN_TAG is set, the full URL \ +format will be: //. Currently only accepts S3 URLs e.g. s3:///" ) -set(LY_INSTALLER_AWS_PROFILE "" CACHE STRING -"AWS CLI profile for uploading artifacts. Can also be set via LY_INSTALLER_AWS_PROFILE environment variable." +set(CPACK_AWS_PROFILE "" CACHE STRING +"AWS CLI profile for uploading artifacts." ) +set(CPACK_THREADS 0) set(CPACK_DESIRED_CMAKE_VERSION 3.20.2) +if(${CPACK_DESIRED_CMAKE_VERSION} VERSION_LESS ${CMAKE_MINIMUM_REQUIRED_VERSION}) + message(FATAL_ERROR + "The desired version of CMake to be included in the package is " + "below the minimum required version of CMake to run") +endif() # set all common cpack variable overrides first so they can be accessible via configure_file # when the platform specific settings are applied below. additionally, any variable with @@ -44,15 +49,16 @@ set(CPACK_DESIRED_CMAKE_VERSION 3.20.2) set(CPACK_PACKAGE_NAME "${PROJECT_NAME}") set(CPACK_PACKAGE_FULL_NAME "Open3D Engine") set(CPACK_PACKAGE_VENDOR "O3DE Binary Project a Series of LF Projects, LLC") +set(CPACK_PACKAGE_CONTACT "info@o3debinaries.org") set(CPACK_PACKAGE_VERSION "${LY_VERSION_STRING}") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Installation Tool") string(TOLOWER "${CPACK_PACKAGE_NAME}_${CPACK_PACKAGE_VERSION}" CPACK_PACKAGE_FILE_NAME) set(DEFAULT_LICENSE_NAME "Apache-2.0") -set(DEFAULT_LICENSE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt") -set(CPACK_RESOURCE_FILE_LICENSE ${DEFAULT_LICENSE_FILE}) +set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt") +set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md") set(CPACK_LICENSE_URL ${LY_INSTALLER_LICENSE_URL}) set(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_NAME}/${CPACK_PACKAGE_VERSION}") @@ -60,6 +66,7 @@ set(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_NAME}/${CPACK_PACKAGE_VERSI # neither of the SOURCE_DIR variables equate to anything during execution of pre/post build scripts set(CPACK_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/cmake) set(CPACK_BINARY_DIR ${CMAKE_BINARY_DIR}/_CPack) # to match other CPack out dirs +set(CPACK_OUTPUT_FILE_PREFIX CPackUploads) # this config file allows the dynamic setting of cpack variables at cpack-time instead of cmake configure set(CPACK_PROJECT_CONFIG_FILE ${CPACK_SOURCE_DIR}/PackagingConfig.cmake) @@ -74,132 +81,37 @@ if(NOT CPACK_GENERATOR) return() endif() -if(${CPACK_DESIRED_CMAKE_VERSION} VERSION_LESS ${CMAKE_MINIMUM_REQUIRED_VERSION}) - message(FATAL_ERROR - "The desired version of CMake to be included in the package is " - "below the minimum required version of CMake to run") -endif() - -# pull down the desired copy of CMake so it can be included in the package +# We will download the desired copy of CMake so it can be included in the package, we defer the downloading +# to the install process, to do so we generate a script that will perform the download and execute such script +# during the install process (before packaging) if(NOT (CPACK_CMAKE_PACKAGE_FILE AND CPACK_CMAKE_PACKAGE_HASH)) message(FATAL_ERROR "Packaging is missing one or more following properties required to include CMake: " " CPACK_CMAKE_PACKAGE_FILE, CPACK_CMAKE_PACKAGE_HASH") endif() -set(_cmake_package_dest ${CPACK_BINARY_DIR}/${CPACK_CMAKE_PACKAGE_FILE}) +# We download it to a different location because CPACK_PACKAGING_INSTALL_PREFIX will be removed during +# cpack generation. CPACK_BINARY_DIR persists across cpack invocations +set(LY_CMAKE_PACKAGE_DOWNLOAD_PATH ${CPACK_BINARY_DIR}/${CPACK_CMAKE_PACKAGE_FILE}) -if(EXISTS ${_cmake_package_dest}) - file(SHA256 ${_cmake_package_dest} hash_of_downloaded_file) - if (NOT "${hash_of_downloaded_file}" STREQUAL "${CPACK_CMAKE_PACKAGE_HASH}") - message(STATUS "CMake ${CPACK_DESIRED_CMAKE_VERSION} found at ${_cmake_package_dest} but expected hash missmatches, re-downloading...") - file(REMOVE ${_cmake_package_dest}) - else() - message(STATUS "CMake ${CPACK_DESIRED_CMAKE_VERSION} found") - endif() -endif() -if(NOT EXISTS ${_cmake_package_dest}) - # download it - string(REPLACE "." ";" _version_componets "${CPACK_DESIRED_CMAKE_VERSION}") - list(GET _version_componets 0 _major_version) - list(GET _version_componets 1 _minor_version) - - set(_url_version_tag "v${_major_version}.${_minor_version}") - set(_package_url "https://cmake.org/files/${_url_version_tag}/${CPACK_CMAKE_PACKAGE_FILE}") - - message(STATUS "Downloading CMake ${CPACK_DESIRED_CMAKE_VERSION} for packaging...") - download_file( - URL ${_package_url} - TARGET_FILE ${_cmake_package_dest} - EXPECTED_HASH ${CPACK_CMAKE_PACKAGE_HASH} - RESULTS _results - ) - list(GET _results 0 _status_code) - - if (${_status_code} EQUAL 0 AND EXISTS ${_cmake_package_dest}) - message(STATUS "CMake ${CPACK_DESIRED_CMAKE_VERSION} found") - else() - file(REMOVE ${_cmake_package_dest}) - list(REMOVE_AT _results 0) - - set(_error_message "An error occurred, code ${_status_code}. URL ${_package_url} - ${_results}") - - if(${_status_code} EQUAL 1) - string(APPEND _error_message - " Please double check the CPACK_CMAKE_PACKAGE_FILE and " - "CPACK_CMAKE_PACKAGE_HASH properties before trying again.") - endif() - - message(FATAL_ERROR ${_error_message}) - endif() -endif() - -ly_install(FILES ${_cmake_package_dest} - DESTINATION ./Tools/Redistributables/CMake +configure_file(${LY_ROOT_FOLDER}/cmake/Packaging/CMakeDownload.cmake.in + ${CPACK_BINARY_DIR}/CMakeDownload.cmake + @ONLY +) +ly_install(SCRIPT ${CPACK_BINARY_DIR}/CMakeDownload.cmake + COMPONENT ${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME} +) +ly_install(FILES ${LY_CMAKE_PACKAGE_DOWNLOAD_PATH} + DESTINATION Tools/Redistributables/CMake COMPONENT ${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME} ) -# the version string and git tags are intended to be synchronized so it should be safe to use that instead -# of directly calling into git which could get messy in certain scenarios -if(${CPACK_PACKAGE_VERSION} VERSION_GREATER "0.0.0.0") - set(_3rd_party_license_filename NOTICES.txt) - - set(_3rd_party_license_url "https://raw.githubusercontent.com/o3de/3p-package-source/${CPACK_PACKAGE_VERSION}/${_3rd_party_license_filename}") - set(_3rd_party_license_dest ${CPACK_BINARY_DIR}/${_3rd_party_license_filename}) - - # use the plain file downloader as we don't have the file hash available and using a dummy will - # delete the file once it fails hash verification - file(DOWNLOAD - ${_3rd_party_license_url} - ${_3rd_party_license_dest} - STATUS _status - TLS_VERIFY ON - ) - list(POP_FRONT _status _status_code) - - if (${_status_code} EQUAL 0 AND EXISTS ${_3rd_party_license_dest}) - ly_install(FILES ${_3rd_party_license_dest} - DESTINATION . - COMPONENT ${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME} - ) - else() - file(REMOVE ${_3rd_party_license_dest}) - message(FATAL_ERROR "Failed to acquire the 3rd Party license manifest file at ${_3rd_party_license_url}. Error: ${_status}") - endif() -endif() - -# checks for and removes trailing slash -function(strip_trailing_slash in_url out_url) - string(LENGTH ${in_url} _url_length) - MATH(EXPR _url_length "${_url_length}-1") - - string(SUBSTRING ${in_url} 0 ${_url_length} _clean_url) - if("${in_url}" STREQUAL "${_clean_url}/") - set(${out_url} ${_clean_url} PARENT_SCOPE) - else() - set(${out_url} ${in_url} PARENT_SCOPE) - endif() -endfunction() - -if(NOT LY_INSTALLER_UPLOAD_URL AND DEFINED ENV{LY_INSTALLER_UPLOAD_URL}) - set(LY_INSTALLER_UPLOAD_URL $ENV{LY_INSTALLER_UPLOAD_URL}) -endif() - -if(LY_INSTALLER_UPLOAD_URL) - ly_is_s3_url(${LY_INSTALLER_UPLOAD_URL} _is_s3_bucket) - if(NOT _is_s3_bucket) - message(FATAL_ERROR "Only S3 installer uploading is supported at this time") - endif() - - if (LY_INSTALLER_AWS_PROFILE) - set(CPACK_AWS_PROFILE ${LY_INSTALLER_AWS_PROFILE}) - elseif (DEFINED ENV{LY_INSTALLER_AWS_PROFILE}) - set(CPACK_AWS_PROFILE $ENV{LY_INSTALLER_AWS_PROFILE}) - endif() - - strip_trailing_slash(${LY_INSTALLER_UPLOAD_URL} LY_INSTALLER_UPLOAD_URL) - set(CPACK_UPLOAD_URL ${LY_INSTALLER_UPLOAD_URL}) -endif() +# Set common CPACK variables to all platforms/generators +set(CPACK_STRIP_FILES TRUE) # always strip symbols on packaging +set(CPACK_PACKAGE_CHECKSUM SHA256) # Generate checksum file +set(CPACK_PRE_BUILD_SCRIPTS ${pal_dir}/PackagingPreBuild_${PAL_HOST_PLATFORM_NAME_LOWERCASE}.cmake) +set(CPACK_POST_BUILD_SCRIPTS ${pal_dir}/PackagingPostBuild_${PAL_HOST_PLATFORM_NAME_LOWERCASE}.cmake) +set(CPACK_LY_PYTHON_CMD ${LY_PYTHON_CMD}) # IMPORTANT: required to be included AFTER setting all property overrides include(CPack REQUIRED) @@ -268,13 +180,26 @@ foreach(external_dir ${LY_INSTALL_EXTERNAL_BUILD_DIRS}) ) endforeach() +# checks for and removes trailing slash +function(strip_trailing_slash in_url out_url) + string(LENGTH ${in_url} _url_length) + MATH(EXPR _url_length "${_url_length}-1") + + string(SUBSTRING ${in_url} 0 ${_url_length} _clean_url) + if("${in_url}" STREQUAL "${_clean_url}/") + set(${out_url} ${_clean_url} PARENT_SCOPE) + else() + set(${out_url} ${in_url} PARENT_SCOPE) + endif() +endfunction() + if(LY_INSTALLER_DOWNLOAD_URL) strip_trailing_slash(${LY_INSTALLER_DOWNLOAD_URL} LY_INSTALLER_DOWNLOAD_URL) # this will set the following variables: CPACK_DOWNLOAD_SITE, CPACK_DOWNLOAD_ALL, and CPACK_UPLOAD_DIRECTORY (local) cpack_configure_downloads( ${LY_INSTALLER_DOWNLOAD_URL} - UPLOAD_DIRECTORY ${CMAKE_BINARY_DIR}/_CPack_Uploads # to match the _CPack_Packages directory + UPLOAD_DIRECTORY ${CMAKE_BINARY_DIR}/CPackUploads # to match the _CPack_Packages directory ALL ) endif() diff --git a/cmake/Packaging/CMakeDownload.cmake.in b/cmake/Packaging/CMakeDownload.cmake.in new file mode 100644 index 0000000000..e84611b354 --- /dev/null +++ b/cmake/Packaging/CMakeDownload.cmake.in @@ -0,0 +1,54 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set(LY_ROOT_FOLDER "@LY_ROOT_FOLDER@") +set(CMAKE_SCRIPT_MODE_FILE TRUE) +include(@LY_ROOT_FOLDER@/cmake/3rdPartyPackages.cmake) + +if(EXISTS "@LY_CMAKE_PACKAGE_DOWNLOAD_PATH@") + file(SHA256 "@LY_CMAKE_PACKAGE_DOWNLOAD_PATH@" hash_of_downloaded_file) + if (NOT "${hash_of_downloaded_file}" STREQUAL "@CPACK_CMAKE_PACKAGE_HASH@") + message(STATUS "CMake @CPACK_DESIRED_CMAKE_VERSION@ found at @LY_CMAKE_PACKAGE_DOWNLOAD_PATH@ but expected hash missmatches, re-downloading...") + file(REMOVE "@LY_CMAKE_PACKAGE_DOWNLOAD_PATH@") + else() + message(STATUS "CMake @CPACK_DESIRED_CMAKE_VERSION@ found") + endif() +endif() +if(NOT EXISTS "@LY_CMAKE_PACKAGE_DOWNLOAD_PATH@") + # download it + string(REPLACE "." ";" _version_components "@CPACK_DESIRED_CMAKE_VERSION@") + list(GET _version_components 0 _major_version) + list(GET _version_components 1 _minor_version) + + set(_url_version_tag "v${_major_version}.${_minor_version}") + set(_package_url "https://cmake.org/files/${_url_version_tag}/@CPACK_CMAKE_PACKAGE_FILE@") + + message(STATUS "Downloading CMake @CPACK_DESIRED_CMAKE_VERSION@ for packaging...") + download_file( + URL ${_package_url} + TARGET_FILE @LY_CMAKE_PACKAGE_DOWNLOAD_PATH@ + EXPECTED_HASH @CPACK_CMAKE_PACKAGE_HASH@ + RESULTS _results + ) + list(GET _results 0 _status_code) + + if (${_status_code} EQUAL 0 AND EXISTS "@LY_CMAKE_PACKAGE_DOWNLOAD_PATH@") + message(STATUS "CMake @CPACK_DESIRED_CMAKE_VERSION@ found") + else() + file(REMOVE "@LY_CMAKE_PACKAGE_DOWNLOAD_PATH@") + list(REMOVE_AT _results 0) + + set(_error_message "An error occurred, code ${_status_code}. URL ${_package_url} - ${_results}") + if(${_status_code} EQUAL 1) + string(APPEND _error_message + " Please double check the CPACK_CMAKE_PACKAGE_FILE and " + "CPACK_CMAKE_PACKAGE_HASH properties before trying again.") + endif() + message(FATAL_ERROR ${_error_message}) + endif() +endif() diff --git a/cmake/Platform/Android/Toolchain_android.cmake b/cmake/Platform/Android/Toolchain_android.cmake index aff5c6faf8..b5c4a56fd6 100644 --- a/cmake/Platform/Android/Toolchain_android.cmake +++ b/cmake/Platform/Android/Toolchain_android.cmake @@ -11,10 +11,14 @@ if(LY_TOOLCHAIN_NDK_API_LEVEL) endif() # Verify that the NDK environment is set and points to the support NDK - +if(NOT ${LY_NDK_DIR}) + if($ENV{LY_NDK_DIR}) + set(LY_NDK_DIR $ENV{LY_NDK_DIR}) + endif() +endif() file(TO_CMAKE_PATH "${LY_NDK_DIR}" LY_NDK_DIR) if(NOT LY_NDK_DIR) - message(FATAL_ERROR "Environment var for NDK is empty. Could not find the NDK installation folder") + message(FATAL_ERROR "Environment and cache var for NDK is empty. Could not find the NDK installation folder") endif() set(LY_ANDROID_NDK_TOOLCHAIN ${LY_NDK_DIR}/build/cmake/android.toolchain.cmake) diff --git a/cmake/Platform/Common/Install_common.cmake b/cmake/Platform/Common/Install_common.cmake index 7904bbe611..46130f1345 100644 --- a/cmake/Platform/Common/Install_common.cmake +++ b/cmake/Platform/Common/Install_common.cmake @@ -224,8 +224,14 @@ function(ly_setup_target OUTPUT_CONFIGURED_TARGET ALIAS_TARGET_NAME absolute_tar if("${target_type}" STREQUAL "STATIC_LIBRARY") set(build_deps_target "${build_deps_target};${build_deps_PRIVATE}") endif() - # But we will also pass the private dependencies as runtime dependencies (note the comment above) - set(RUNTIME_DEPENDENCIES_PLACEHOLDER ${build_deps_PRIVATE}) + + # But we will also pass the private dependencies as runtime dependencies (as long as they are targets, note the comment above) + foreach(build_dep_private IN LISTS build_deps_PRIVATE) + if(TARGET ${build_dep_private}) + list(APPEND RUNTIME_DEPENDENCIES_PLACEHOLDER "${build_dep_private}") + endif() + endforeach() + foreach(build_dependency IN LISTS build_deps_target) # Skip wrapping produced when targets are not created in the same directory if(build_dependency) @@ -569,9 +575,13 @@ function(ly_setup_runtime_dependencies) string(TOUPPER ${conf} UCONF) ly_install(CODE "function(ly_copy source_file target_directory) - cmake_path(GET source_file FILENAME file_name) - if(NOT EXISTS \${target_directory}/\${file_name}) - file(COPY \"\${source_file}\" DESTINATION \"\${target_directory}\" FILE_PERMISSIONS ${LY_COPY_PERMISSIONS}) + cmake_path(GET source_file FILENAME target_filename) + cmake_path(APPEND full_target_directory \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}\" \"\${target_directory}\") + cmake_path(APPEND target_file \"\${full_target_directory}\" \"\${target_filename}\") + if(\"\${source_file}\" IS_NEWER_THAN \"\${target_file}\") + message(STATUS \"Copying \${source_file} to \${full_target_directory}...\") + file(COPY \"\${source_file}\" DESTINATION \"\${full_target_directory}\" FILE_PERMISSIONS ${LY_COPY_PERMISSIONS} FOLLOW_SYMLINK_CHAIN) + file(TOUCH_NOCREATE \"${target_file}\") endif() endfunction()" COMPONENT ${LY_INSTALL_PERMUTATION_COMPONENT}_${UCONF} @@ -596,12 +606,7 @@ endfunction()" endif() # runtime dependencies that need to be copied to the output - # Anywhere CMAKE_INSTALL_PREFIX is used, it has to be escaped so it is baked into the cmake_install.cmake script instead - # of baking the path. This is needed so `cmake --install --prefix ` works regardless of the CMAKE_INSTALL_PREFIX - # used to generate the solution. - # CMAKE_INSTALL_PREFIX is still used when building the INSTALL target - set(install_output_folder "\${CMAKE_INSTALL_PREFIX}/${runtime_output_directory}") - set(target_file_dir "${install_output_folder}/${target_runtime_output_subdirectory}") + set(target_file_dir "${runtime_output_directory}/${target_runtime_output_subdirectory}") ly_get_runtime_dependencies(runtime_dependencies ${target}) foreach(runtime_dependency ${runtime_dependencies}) unset(runtime_command) @@ -810,4 +815,4 @@ set(LY_CORE_COMPONENT_ALREADY_INCLUDED FALSE)" ly_post_install_steps() endif() -endfunction() \ No newline at end of file +endfunction() diff --git a/cmake/Platform/Common/PackagingPostBuild_common.cmake b/cmake/Platform/Common/PackagingPostBuild_common.cmake new file mode 100644 index 0000000000..6e3c7ddf0b --- /dev/null +++ b/cmake/Platform/Common/PackagingPostBuild_common.cmake @@ -0,0 +1,114 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +message(STATUS "Executing packaging postbuild...") + +# ly_is_s3_url +# if the given URL is a s3 url of thr form "s3://(stuff)" then sets +# the output_variable_name to TRUE otherwise unsets it. +function (ly_is_s3_url download_url output_variable_name) + if ("${download_url}" MATCHES "s3://.*") + set(${output_variable_name} TRUE PARENT_SCOPE) + else() + unset(${output_variable_name} PARENT_SCOPE) + endif() +endfunction() + +function(ly_upload_to_url in_url in_local_path in_file_regex) + + message(STATUS "Uploading ${in_local_path}/${in_file_regex} artifacts to ${CPACK_UPLOAD_URL}") + ly_is_s3_url(${in_url} _is_s3_bucket) + if(NOT _is_s3_bucket) + message(FATAL_ERROR "Only S3 installer uploading is supported at this time") + endif() + + # strip the scheme and extract the bucket/key prefix from the URL + string(REPLACE "s3://" "" _stripped_url ${in_url}) + string(REPLACE "/" ";" _tokens ${_stripped_url}) + + list(POP_FRONT _tokens _bucket) + string(JOIN "/" _prefix ${_tokens}) + + set(_extra_args [[{"ACL":"bucket-owner-full-control"}]]) + + file(TO_NATIVE_PATH "${LY_ROOT_FOLDER}/scripts/build/tools/upload_to_s3.py" _upload_script) + + set(_upload_command + ${CPACK_LY_PYTHON_CMD} -s + -u ${_upload_script} + --base_dir ${in_local_path} + --file_regex="${in_file_regex}" + --bucket ${_bucket} + --key_prefix ${_prefix} + --extra_args ${_extra_args} + ) + + if(CPACK_AWS_PROFILE) + list(APPEND _upload_command --profile ${CPACK_AWS_PROFILE}) + endif() + + execute_process( + COMMAND ${_upload_command} + RESULT_VARIABLE _upload_result + OUTPUT_VARIABLE _upload_output + ERROR_VARIABLE _upload_error + OUTPUT_STRIP_TRAILING_WHITESPACE + ) + + if (${_upload_result} EQUAL 0) + message(STATUS "Artifact uploading complete!") + else() + message(FATAL_ERROR "An error occurred uploading to s3.\n Output: ${_upload_output}\n\ Error: ${_upload_error}") + endif() +endfunction() + +function(ly_upload_to_latest in_url in_path) + + message(STATUS "Updating latest tagged build") + + # make sure we can extra the commit info from the URL first + string(REGEX MATCH "([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9a-zA-Z]+)" + commit_info ${in_url} + ) + if(NOT commit_info) + message(FATAL_ERROR "Failed to extract the build tag") + endif() + + # Create a temp directory where we are going to rename the file to take out the version + # and then upload it + set(temp_dir ${CPACK_BINARY_DIR}/temp) + if(NOT EXISTS ${temp_dir}) + file(MAKE_DIRECTORY ${temp_dir}) + endif() + file(COPY ${in_path} DESTINATION ${temp_dir}) + + cmake_path(GET in_path FILENAME in_path_filename) + string(REPLACE "_${CPACK_PACKAGE_VERSION}" "" non_versioned_in_path_filename ${in_path_filename}) + file(RENAME "${temp_dir}/${in_path_filename}" "${temp_dir}/${non_versioned_in_path_filename}") + + # include the commit info in a text file that will live next to the exe + set(_temp_info_file ${temp_dir}/build_tag.txt) + file(WRITE ${_temp_info_file} ${commit_info}) + + # update the URL and upload + string(REPLACE + ${commit_info} "Latest" + latest_upload_url ${in_url} + ) + + ly_upload_to_url( + ${latest_upload_url} + ${temp_dir} + ".*(${non_versioned_in_path_filename}|build_tag.txt)$" + ) + + # cleanup the temp files + file(REMOVE_RECURSE ${temp_dir}) + message(STATUS "Latest build update complete!") + +endfunction() \ No newline at end of file diff --git a/cmake/Platform/Common/PackagingPreBuild_common.cmake b/cmake/Platform/Common/PackagingPreBuild_common.cmake new file mode 100644 index 0000000000..e6b8a7796e --- /dev/null +++ b/cmake/Platform/Common/PackagingPreBuild_common.cmake @@ -0,0 +1,5 @@ +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# diff --git a/cmake/Platform/Common/runtime_dependencies_common.cmake.in b/cmake/Platform/Common/runtime_dependencies_common.cmake.in index 263111903e..8717710a3b 100644 --- a/cmake/Platform/Common/runtime_dependencies_common.cmake.in +++ b/cmake/Platform/Common/runtime_dependencies_common.cmake.in @@ -22,6 +22,7 @@ function(ly_copy source_file target_directory) endif() if((NOT source_file_size EQUAL target_file_size) OR "${source_file}" IS_NEWER_THAN "${target_file}") message(STATUS "Copying \"${source_file}\" to \"${target_directory}\"...") + file(MAKE_DIRECTORY "${full_target_directory}") file(COPY "${source_file}" DESTINATION "${target_directory}" FILE_PERMISSIONS @LY_COPY_PERMISSIONS@ FOLLOW_SYMLINK_CHAIN) file(TOUCH_NOCREATE ${target_file}) endif() diff --git a/cmake/Platform/Linux/CompilerSettings_linux.cmake b/cmake/Platform/Linux/CompilerSettings_linux.cmake new file mode 100644 index 0000000000..9bb629c53b --- /dev/null +++ b/cmake/Platform/Linux/CompilerSettings_linux.cmake @@ -0,0 +1,34 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +if(NOT CMAKE_C_COMPILER AND NOT CMAKE_CXX_COMPILER AND NOT "$ENV{CC}" AND NOT "$ENV{CXX}") + set(path_search + /bin + /usr/bin + /usr/local/bin + /sbin + /usr/sbin + /usr/local/sbin + ) + list(TRANSFORM path_search APPEND "/clang-[0-9]*") + file(GLOB clang_versions ${path_search}) + if(clang_versions) + # Find and pick the highest installed version + list(SORT clang_versions COMPARE NATURAL) + list(GET clang_versions 0 clang_higher_version_path) + string(REGEX MATCH "clang-([0-9.]*)" clang_higher_version ${clang_higher_version_path}) + if(CMAKE_MATCH_1) + set(CMAKE_C_COMPILER clang-${CMAKE_MATCH_1}) + set(CMAKE_CXX_COMPILER clang++-${CMAKE_MATCH_1}) + else() + message(FATAL_ERROR "Clang not found, please install clang") + endif() + else() + message(FATAL_ERROR "Clang not found, please install clang") + endif() +endif() diff --git a/cmake/Platform/Linux/Install_linux.cmake b/cmake/Platform/Linux/Install_linux.cmake index 02baa6e61e..0f5494131a 100644 --- a/cmake/Platform/Linux/Install_linux.cmake +++ b/cmake/Platform/Linux/Install_linux.cmake @@ -9,14 +9,27 @@ #! ly_setup_runtime_dependencies_copy_function_override: Linux-specific copy function to handle RPATH fixes set(ly_copy_template [[ function(ly_copy source_file target_directory) - file(COPY "${source_file}" DESTINATION "${target_directory}" FILE_PERMISSIONS @LY_COPY_PERMISSIONS@ FOLLOW_SYMLINK_CHAIN) - get_filename_component(target_filename_ext "${source_file}" LAST_EXT) - if("${source_file}" MATCHES "qt/plugins" AND "${target_filename_ext}" STREQUAL ".so") - get_filename_component(target_filename "${source_file}" NAME) - file(RPATH_CHANGE FILE "${target_directory}/${target_filename}" OLD_RPATH "\$ORIGIN/../../lib" NEW_RPATH "\$ORIGIN/..") - elseif("${source_file}" MATCHES "lrelease") - get_filename_component(target_filename "${source_file}" NAME) - file(RPATH_CHANGE FILE "${target_directory}/${target_filename}" OLD_RPATH "\$ORIGIN/../lib" NEW_RPATH "\$ORIGIN") + cmake_path(GET source_file FILENAME target_filename) + cmake_path(APPEND full_target_directory "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}" "${target_directory}") + cmake_path(APPEND target_file "${full_target_directory}" "${target_filename}") + if("${source_file}" IS_NEWER_THAN "${target_file}") + message(STATUS "Copying ${source_file} to ${full_target_directory}...") + file(MAKE_DIRECTORY "${full_target_directory}") + file(COPY "${source_file}" DESTINATION "${full_target_directory}" FILE_PERMISSIONS @LY_COPY_PERMISSIONS@ FOLLOW_SYMLINK_CHAIN) + file(TOUCH_NOCREATE "${target_file}") + + # Special case for install + cmake_PATH(GET source_file EXTENSION target_filename_ext) + if("${target_filename_ext}" STREQUAL ".so") + if("${source_file}" MATCHES "qt/plugins") + file(RPATH_CHANGE FILE "${target_file}" OLD_RPATH "\$ORIGIN/../../lib" NEW_RPATH "\$ORIGIN/..") + endif() + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND @CMAKE_STRIP@ "${target_file}") + endif() + elseif("${source_file}" MATCHES "lrelease") + file(RPATH_CHANGE FILE "${target_file}" OLD_RPATH "\$ORIGIN/../lib" NEW_RPATH "\$ORIGIN") + endif() endif() endfunction()]]) diff --git a/cmake/Platform/Linux/PAL_linux.cmake b/cmake/Platform/Linux/PAL_linux.cmake index 4941f143a6..b7fd062c8c 100644 --- a/cmake/Platform/Linux/PAL_linux.cmake +++ b/cmake/Platform/Linux/PAL_linux.cmake @@ -16,7 +16,7 @@ ly_set(PAL_TRAIT_BUILD_TESTS_SUPPORTED TRUE) ly_set(PAL_TRAIT_BUILD_UNITY_SUPPORTED TRUE) ly_set(PAL_TRAIT_BUILD_UNITY_EXCLUDE_EXTENSIONS) ly_set(PAL_TRAIT_BUILD_EXCLUDE_ALL_TEST_RUNS_FROM_IDE FALSE) -ly_set(PAL_TRAIT_BUILD_CPACK_SUPPORTED FALSE) +ly_set(PAL_TRAIT_BUILD_CPACK_SUPPORTED TRUE) ly_set(PAL_TRAIT_PROF_PIX_SUPPORTED FALSE) diff --git a/cmake/Platform/Linux/Packaging/postinst.in b/cmake/Platform/Linux/Packaging/postinst.in new file mode 100644 index 0000000000..c6c0ba228d --- /dev/null +++ b/cmake/Platform/Linux/Packaging/postinst.in @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set -o errexit # exit on the first failure encountered + +{ + if [[ ! -f "/usr/lib/x86_64-linux-gnu/libffi.so.6" ]]; then + sudo ln -s /usr/lib/x86_64-linux-gnu/libffi.so.7 /usr/lib/x86_64-linux-gnu/libffi.so.6 + fi + + pushd @CPACK_PACKAGING_INSTALL_PREFIX@ + python/get_python.sh + chown -R $SUDO_USER . + popd +} &> /dev/null # hide output diff --git a/cmake/Platform/Linux/Packaging/postrm.in b/cmake/Platform/Linux/Packaging/postrm.in new file mode 100644 index 0000000000..acda38bf1e --- /dev/null +++ b/cmake/Platform/Linux/Packaging/postrm.in @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set -o errexit # exit on the first failure encountered + +{ + pushd @CPACK_PACKAGING_INSTALL_PREFIX@ + popd +} &> /dev/null # hide output diff --git a/cmake/Platform/Linux/Packaging/prerm.in b/cmake/Platform/Linux/Packaging/prerm.in new file mode 100644 index 0000000000..5595d7010f --- /dev/null +++ b/cmake/Platform/Linux/Packaging/prerm.in @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set -o errexit # exit on the first failure encountered + +{ + # We dont remove this symlink that we potentially created because the user could have + # installed themselves. + #if [[ -L "/usr/lib/x86_64-linux-gnu/libffi.so.6" ]]; then + # sudo rm /usr/lib/x86_64-linux-gnu/libffi.so.6 + #fi + + pushd @CPACK_PACKAGING_INSTALL_PREFIX@ + # delete python downloads + rm -rf python/downloaded_packages python/runtime + popd +} &> /dev/null # hide output diff --git a/cmake/Platform/Linux/PackagingPostBuild_linux.cmake b/cmake/Platform/Linux/PackagingPostBuild_linux.cmake new file mode 100644 index 0000000000..d92ee908fd --- /dev/null +++ b/cmake/Platform/Linux/PackagingPostBuild_linux.cmake @@ -0,0 +1,62 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +file(REAL_PATH "${CPACK_SOURCE_DIR}/.." LY_ROOT_FOLDER) +include(${LY_ROOT_FOLDER}/cmake/Platform/Common/PackagingPostBuild_common.cmake) + +file(${CPACK_PACKAGE_CHECKSUM} ${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}.deb file_checksum) +file(WRITE ${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}.deb.sha256 "${file_checksum} ${CPACK_PACKAGE_FILE_NAME}.deb") + +if(CPACK_UPLOAD_URL) + + # use the internal default path if somehow not specified from cpack_configure_downloads + if(NOT CPACK_UPLOAD_DIRECTORY) + set(CPACK_UPLOAD_DIRECTORY ${CPACK_PACKAGE_DIRECTORY}/CPackUploads) + endif() + + # Copy the artifacts intended to be uploaded to a remote server into the folder specified + # through CPACK_UPLOAD_DIRECTORY. This mimics the same process cpack does natively for + # some other frameworks that have built-in online installer support. + message(STATUS "Copying packaging artifacts to upload directory...") + file(REMOVE_RECURSE ${CPACK_UPLOAD_DIRECTORY}) + file(GLOB _artifacts + "${CPACK_TOPLEVEL_DIRECTORY}/*.deb" + "${CPACK_TOPLEVEL_DIRECTORY}/*.sha256" + ) + file(COPY ${_artifacts} + DESTINATION ${CPACK_UPLOAD_DIRECTORY} + ) + message(STATUS "Artifacts copied to ${CPACK_UPLOAD_DIRECTORY}") + + # TODO: copy gpg file to CPACK_UPLOAD_DIRECTORY + + ly_upload_to_url( + ${CPACK_UPLOAD_URL} + ${CPACK_UPLOAD_DIRECTORY} + ".*(.deb|.gpg|.sha256)$" + ) + + # for auto tagged builds, we will also upload a second copy of just the boostrapper + # to a special "Latest" folder under the branch in place of the commit date/hash + if(CPACK_AUTO_GEN_TAG) + + set(latest_deb_package "${CPACK_UPLOAD_DIRECTORY}/${CPACK_PACKAGE_NAME}_latest.deb") + file(COPY_FILE + ${CPACK_UPLOAD_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}.deb + ${latest_deb_package} + ) + ly_upload_to_latest(${CPACK_UPLOAD_URL} ${latest_deb_package}) + + # TODO: upload gpg file to latest + + # Generate a checksum file for latest and upload it + set(latest_hash_file "${CPACK_UPLOAD_DIRECTORY}/${CPACK_PACKAGE_NAME}_latest.deb.sha256") + file(WRITE "${latest_hash_file}" "${file_checksum} ${CPACK_PACKAGE_NAME}_latest.deb") + ly_upload_to_latest(${CPACK_UPLOAD_URL} "${latest_hash_file}") + endif() +endif() diff --git a/cmake/Platform/Linux/PackagingPreBuild_linux.cmake b/cmake/Platform/Linux/PackagingPreBuild_linux.cmake new file mode 100644 index 0000000000..31dc393307 --- /dev/null +++ b/cmake/Platform/Linux/PackagingPreBuild_linux.cmake @@ -0,0 +1,16 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +file(REAL_PATH "${CPACK_SOURCE_DIR}/.." LY_ROOT_FOLDER) +include(${LY_ROOT_FOLDER}/cmake/Platform/Common/PackagingPreBuild_common.cmake) + +if(NOT CPACK_UPLOAD_URL) # Skip signing if we are not uploading the package + return() +endif() + +# TODO: do signing diff --git a/cmake/Platform/Linux/Packaging_linux.cmake b/cmake/Platform/Linux/Packaging_linux.cmake new file mode 100644 index 0000000000..2e178429c3 --- /dev/null +++ b/cmake/Platform/Linux/Packaging_linux.cmake @@ -0,0 +1,56 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set(CPACK_GENERATOR DEB) + +set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/${CPACK_PACKAGE_NAME}/${LY_VERSION_STRING}") + +set(_cmake_package_name "cmake-${CPACK_DESIRED_CMAKE_VERSION}-linux-x86_64") +set(CPACK_CMAKE_PACKAGE_FILE "${_cmake_package_name}.tar.gz") +set(CPACK_CMAKE_PACKAGE_HASH "3f827544f9c82e74ddf5016461fdfcfea4ede58a26f82612f473bf6bfad8bfc2") + +# get all the package dependencies, extracted from scripts\build\build_node\Platform\Linux\package-list.ubuntu-focal.txt +set(package_dependencies + libffi7 + clang-12 + ninja-build + # Build Libraries + libglu1-mesa-dev # For Qt (GL dependency) + libxcb-xinerama0 # For Qt plugins at runtime + libxcb-xinput0 # For Qt plugins at runtime + libfontconfig1-dev # For Qt plugins at runtime + libcurl4-openssl-dev # For HttpRequestor + # libsdl2-dev # for WWise/Audio + libxcb-xkb-dev # For xcb keyboard input + libxkbcommon-x11-dev # For xcb keyboard input + libxkbcommon-dev # For xcb keyboard input + libxcb-xfixes0-dev # For mouse input + libxcb-xinput-dev # For mouse input + zlib1g-dev + mesa-common-dev +) +list(JOIN package_dependencies "," CPACK_DEBIAN_PACKAGE_DEPENDS) + +# Post-installation and pre/post removal scripts +configure_file("${LY_ROOT_FOLDER}/cmake/Platform/${PAL_PLATFORM_NAME}/Packaging/postinst.in" + "${CMAKE_BINARY_DIR}/cmake/Platform/${PAL_PLATFORM_NAME}/Packaging/postinst" + @ONLY +) +configure_file("${LY_ROOT_FOLDER}/cmake/Platform/${PAL_PLATFORM_NAME}/Packaging/prerm.in" + "${CMAKE_BINARY_DIR}/cmake/Platform/${PAL_PLATFORM_NAME}/Packaging/prerm" + @ONLY +) +configure_file("${LY_ROOT_FOLDER}/cmake/Platform/${PAL_PLATFORM_NAME}/Packaging/postrm.in" + "${CMAKE_BINARY_DIR}/cmake/Platform/${PAL_PLATFORM_NAME}/Packaging/postrm" + @ONLY +) +set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA + ${CMAKE_BINARY_DIR}/cmake/Platform/Linux/Packaging/postinst + ${CMAKE_BINARY_DIR}/cmake/Platform/Linux/Packaging/prerm + ${CMAKE_BINARY_DIR}/cmake/Platform/Linux/Packaging/postrm +) diff --git a/cmake/Platform/Linux/platform_linux_files.cmake b/cmake/Platform/Linux/platform_linux_files.cmake index fa5545cd26..d30959b8d2 100644 --- a/cmake/Platform/Linux/platform_linux_files.cmake +++ b/cmake/Platform/Linux/platform_linux_files.cmake @@ -10,11 +10,19 @@ set(FILES ../Common/Configurations_common.cmake ../Common/Clang/Configurations_clang.cmake ../Common/Install_common.cmake + ../Common/PackagingPostBuild_common.cmake + ../Common/PackagingPreBuild_common.cmake + CompilerSettings_linux.cmake Configurations_linux.cmake Install_linux.cmake LYTestWrappers_linux.cmake LYWrappers_linux.cmake + Packaging_linux.cmake + PackagingPostBuild_linux.cmake + PackagingPreBuild_linux.cmake PAL_linux.cmake PALDetection_linux.cmake RPathChange.cmake + runtime_dependencies_linux.cmake.in + RuntimeDependencies_linux.cmake ) diff --git a/cmake/Platform/Linux/runtime_dependencies_linux.cmake.in b/cmake/Platform/Linux/runtime_dependencies_linux.cmake.in index b7ecc57737..4ccf123e27 100644 --- a/cmake/Platform/Linux/runtime_dependencies_linux.cmake.in +++ b/cmake/Platform/Linux/runtime_dependencies_linux.cmake.in @@ -22,6 +22,7 @@ function(ly_copy source_file target_directory) endif() if((NOT source_file_size EQUAL target_file_size) OR "${source_file}" IS_NEWER_THAN "${target_file}") message(STATUS "Copying \"${source_file}\" to \"${target_directory}\"...") + file(MAKE_DIRECTORY "${full_target_directory}") file(COPY "${source_file}" DESTINATION "${target_directory}" FILE_PERMISSIONS @LY_COPY_PERMISSIONS@ FOLLOW_SYMLINK_CHAIN) file(TOUCH_NOCREATE "${target_file}") diff --git a/cmake/Platform/Mac/InstallUtils_mac.cmake.in b/cmake/Platform/Mac/InstallUtils_mac.cmake.in index d73c4db459..89ce4a59f2 100644 --- a/cmake/Platform/Mac/InstallUtils_mac.cmake.in +++ b/cmake/Platform/Mac/InstallUtils_mac.cmake.in @@ -130,27 +130,36 @@ endfunction() function(ly_copy source_file target_directory) - if("${source_file}" MATCHES "\\.[Ff]ramework[^\\.]") + if("${source_file}" MATCHES "\\.[Ff]ramework") # fixup origin to copy the whole Framework folder string(REGEX REPLACE "(.*\\.[Ff]ramework).*" "\\1" source_file "${source_file}") endif() - get_filename_component(target_filename "${source_file}" NAME) - file(COPY "${source_file}" DESTINATION "${target_directory}" FILE_PERMISSIONS @LY_COPY_PERMISSIONS@ FOLLOW_SYMLINK_CHAIN) - # Our Qt and Python frameworks aren't in the correct bundle format to be codesigned. - if("${target_filename}" MATCHES "(Qt[^.]+)\\.[Ff]ramework") - fixup_qt_framework(${CMAKE_MATCH_1} "${target_directory}/${target_filename}") - # For some Qt frameworks(QtCore), signing the bundle doesn't work because of bundle - # format issues(despite the fixes above). But once we've patched the framework above, there's - # only one executable that we need to sign so we can do it directly. - set(target_filename "${target_filename}/Versions/5/${CMAKE_MATCH_1}") - elseif("${target_filename}" MATCHES "Python.framework") - fixup_python_framework("${target_directory}/${target_filename}") - codesign_python_framework_binaries("${target_directory}/${target_filename}") + cmake_path(GET source_file FILENAME target_filename) + cmake_path(APPEND full_target_directory "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}" "${target_directory}") + cmake_path(APPEND target_file "${full_target_directory}" "${target_filename}") + + if("${source_file}" IS_NEWER_THAN "${target_file}") + message(STATUS "Copying ${source_file} to ${full_target_directory}...") + file(MAKE_DIRECTORY "${full_target_directory}") + file(COPY "${source_file}" DESTINATION "${full_target_directory}" FILE_PERMISSIONS @LY_COPY_PERMISSIONS@ FOLLOW_SYMLINK_CHAIN) + file(TOUCH_NOCREATE "${target_file}") + + # Our Qt and Python frameworks aren't in the correct bundle format to be codesigned. + if("${target_filename}" MATCHES "(Qt[^.]+)\\.[Ff]ramework") + fixup_qt_framework(${CMAKE_MATCH_1} "${target_file}") + # For some Qt frameworks(QtCore), signing the bundle doesn't work because of bundle + # format issues(despite the fixes above). But once we've patched the framework above, there's + # only one executable that we need to sign so we can do it directly. + set(target_filename "${target_filename}/Versions/5/${CMAKE_MATCH_1}") + elseif("${target_filename}" MATCHES "Python.framework") + fixup_python_framework("${target_file}") + codesign_python_framework_binaries("${target_file}") + endif() + codesign_file("${target_file}" "none") endif() - codesign_file("${target_directory}/${target_filename}" "none") endfunction() diff --git a/cmake/Platform/Mac/Install_mac.cmake b/cmake/Platform/Mac/Install_mac.cmake index c75d860c3e..d5ab5d0fed 100644 --- a/cmake/Platform/Mac/Install_mac.cmake +++ b/cmake/Platform/Mac/Install_mac.cmake @@ -147,4 +147,3 @@ function(ly_post_install_steps) ") endfunction() - diff --git a/cmake/Platform/Mac/PackagingPostBuild_mac.cmake b/cmake/Platform/Mac/PackagingPostBuild_mac.cmake new file mode 100644 index 0000000000..5fa3787c21 --- /dev/null +++ b/cmake/Platform/Mac/PackagingPostBuild_mac.cmake @@ -0,0 +1,10 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +file(REAL_PATH "${CPACK_SOURCE_DIR}/.." LY_ROOT_FOLDER) +include(${LY_ROOT_FOLDER}/cmake/Platform/Common/PackagingPostBuild_common.cmake) diff --git a/cmake/Platform/Mac/PackagingPreBuild_mac.cmake b/cmake/Platform/Mac/PackagingPreBuild_mac.cmake new file mode 100644 index 0000000000..1d30e21767 --- /dev/null +++ b/cmake/Platform/Mac/PackagingPreBuild_mac.cmake @@ -0,0 +1,10 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +file(REAL_PATH "${CPACK_SOURCE_DIR}/.." LY_ROOT_FOLDER) +include(${LY_ROOT_FOLDER}/cmake/Platform/Common/PackagingPreBuild_common.cmake) diff --git a/cmake/Platform/Mac/runtime_dependencies_mac.cmake.in b/cmake/Platform/Mac/runtime_dependencies_mac.cmake.in index 32bf777634..892a90640f 100644 --- a/cmake/Platform/Mac/runtime_dependencies_mac.cmake.in +++ b/cmake/Platform/Mac/runtime_dependencies_mac.cmake.in @@ -120,19 +120,28 @@ function(ly_copy source_file target_directory) file(MAKE_DIRECTORY "${target_directory}") endif() - if(NOT target_is_bundle) + set(is_framework FALSE) + if("${source_file}" MATCHES "\\.[Ff]ramework") + set(is_framework TRUE) + endif() + if(NOT is_framework) # if it is a bundle, there is no contention about the files in the destination, each bundle target will copy everything # we dont want these files to invalidate the bundle and cause a new signature file(LOCK ${target_file}.lock GUARD FUNCTION TIMEOUT 300) - endif() - file(SIZE "${source_file}" source_file_size) - if(EXISTS "${target_file}") - file(SIZE "${target_file}" target_file_size) + file(SIZE "${source_file}" source_file_size) + if(EXISTS "${target_file}") + file(SIZE "${target_file}" target_file_size) + else() + set(target_file_size 0) + endif() else() + set(source_file_size 0) set(target_file_size 0) endif() + if((NOT source_file_size EQUAL target_file_size) OR "${source_file}" IS_NEWER_THAN "${target_file}") message(STATUS "Copying \"${source_file}\" to \"${target_directory}\"...") + file(MAKE_DIRECTORY "${target_directory}") file(COPY "${source_file}" DESTINATION "${target_directory}" FILE_PERMISSIONS @LY_COPY_PERMISSIONS@ FOLLOW_SYMLINK_CHAIN) file(TOUCH_NOCREATE "${target_file}") set(anything_new TRUE PARENT_SCOPE) diff --git a/cmake/Platform/Windows/PackagingPostBuild.cmake b/cmake/Platform/Windows/PackagingPostBuild_windows.cmake similarity index 52% rename from cmake/Platform/Windows/PackagingPostBuild.cmake rename to cmake/Platform/Windows/PackagingPostBuild_windows.cmake index ac457bea87..0993135c23 100644 --- a/cmake/Platform/Windows/PackagingPostBuild.cmake +++ b/cmake/Platform/Windows/PackagingPostBuild_windows.cmake @@ -6,6 +6,9 @@ # # +file(REAL_PATH "${CPACK_SOURCE_DIR}/.." LY_ROOT_FOLDER) +include(${LY_ROOT_FOLDER}/cmake/Platform/Common/PackagingPostBuild_common.cmake) + # convert the path to a windows style path using string replace because TO_NATIVE_PATH # only works on real paths string(REPLACE "/" "\\" _fixed_package_install_dir ${CPACK_PACKAGE_INSTALL_DIRECTORY}) @@ -56,8 +59,7 @@ set(_light_command ) if(CPACK_UPLOAD_URL) # Skip signing if we are not uploading the package - file(REAL_PATH "${CPACK_SOURCE_DIR}/.." _root_path) - file(TO_NATIVE_PATH "${_root_path}/scripts/signer/Platform/Windows/signer.ps1" _sign_script) + file(TO_NATIVE_PATH "${LY_ROOT_FOLDER}/scripts/signer/Platform/Windows/signer.ps1" _sign_script) unset(_signing_command) find_program(_psiexec_path psexec.exe) @@ -111,16 +113,12 @@ if(NOT ${_light_result} EQUAL 0) message(FATAL_ERROR "An error occurred invoking light.exe. ${_light_errors}") endif() -file(COPY ${_bootstrap_output_file} - DESTINATION ${CPACK_PACKAGE_DIRECTORY} -) - -message(STATUS "Bootstrap installer generated to ${CPACK_PACKAGE_DIRECTORY}/${_bootstrap_filename}") +message(STATUS "Bootstrap installer generated to ${_bootstrap_output_file}") if(CPACK_UPLOAD_URL) # Skip signing if we are not uploading the package - message(STATUS "Signing bootstrap installer in ${CPACK_PACKAGE_DIRECTORY}") + message(STATUS "Signing bootstrap installer in ${_bootstrap_output_file}") execute_process( - COMMAND ${_signing_command} -bootstrapPath ${CPACK_PACKAGE_DIRECTORY}/${_bootstrap_filename} + COMMAND ${_signing_command} -bootstrapPath ${_bootstrap_output_file} RESULT_VARIABLE _signing_result ERROR_VARIABLE _signing_errors OUTPUT_VARIABLE _signing_output @@ -137,113 +135,32 @@ if(NOT CPACK_UPLOAD_DIRECTORY) set(CPACK_UPLOAD_DIRECTORY ${CPACK_PACKAGE_DIRECTORY}/CPackUploads) endif() -# copy the artifacts intended to be uploaded to a remote server into the folder specified -# through cpack_configure_downloads. this mimics the same process cpack does natively for +# Copy the artifacts intended to be uploaded to a remote server into the folder specified +# through CPACK_UPLOAD_DIRECTORY. This mimics the same process cpack does natively for # some other frameworks that have built-in online installer support. -message(STATUS "Copying installer artifacts to upload directory...") +message(STATUS "Copying packaging artifacts to upload directory...") file(REMOVE_RECURSE ${CPACK_UPLOAD_DIRECTORY}) -file(GLOB _artifacts "${_cpack_wix_out_dir}/*.msi" "${_cpack_wix_out_dir}/*.cab") +file(GLOB _artifacts + "${_cpack_wix_out_dir}/*.msi" + "${_cpack_wix_out_dir}/*.cab" + "${_cpack_wix_out_dir}/*.exe" +) file(COPY ${_artifacts} DESTINATION ${CPACK_UPLOAD_DIRECTORY} ) message(STATUS "Artifacts copied to ${CPACK_UPLOAD_DIRECTORY}") -if(NOT CPACK_UPLOAD_URL) - return() -endif() - -file(TO_NATIVE_PATH "${_cpack_wix_out_dir}" _cpack_wix_out_dir) -file(TO_NATIVE_PATH "${_root_path}/python/python.cmd" _python_cmd) -file(TO_NATIVE_PATH "${_root_path}/scripts/build/tools/upload_to_s3.py" _upload_script) - -function(upload_to_s3 in_url in_local_path in_file_regex) - - # strip the scheme and extract the bucket/key prefix from the URL - string(REPLACE "s3://" "" _stripped_url ${in_url}) - string(REPLACE "/" ";" _tokens ${_stripped_url}) - - list(POP_FRONT _tokens _bucket) - string(JOIN "/" _prefix ${_tokens}) - - set(_extra_args [[{"ACL":"bucket-owner-full-control"}]]) - - set(_upload_command - ${_python_cmd} -s - -u ${_upload_script} - --base_dir ${in_local_path} - --file_regex="${in_file_regex}" - --bucket ${_bucket} - --key_prefix ${_prefix} - --extra_args ${_extra_args} - ) - - if(CPACK_AWS_PROFILE) - list(APPEND _upload_command --profile ${CPACK_AWS_PROFILE}) - endif() - - execute_process( - COMMAND ${_upload_command} - RESULT_VARIABLE _upload_result - OUTPUT_VARIABLE _upload_output - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - - if (NOT ${_upload_result} EQUAL 0) - message(FATAL_ERROR "An error occurred uploading to s3.\nOutput:\n${_upload_output}") - endif() -endfunction() - -message(STATUS "Uploading artifacts to ${CPACK_UPLOAD_URL}") -upload_to_s3( - ${CPACK_UPLOAD_URL} - ${_cpack_wix_out_dir} - ".*(cab|exe|msi)$" -) -message(STATUS "Artifact uploading complete!") - -# for auto tagged builds, we will also upload a second copy of just the boostrapper -# to a special "Latest" folder under the branch in place of the commit date/hash -if(CPACK_AUTO_GEN_TAG) - message(STATUS "Updating latest tagged build") - - # make sure we can extra the commit info from the URL first - string(REGEX MATCH "([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9a-zA-Z]+)" - _commit_info ${CPACK_UPLOAD_URL} - ) - if(NOT _commit_info) - message(FATAL_ERROR "Failed to extract the build tag") - endif() - - set(_temp_dir ${_cpack_wix_out_dir}/temp) - if(NOT EXISTS ${_temp_dir}) - file(MAKE_DIRECTORY ${_temp_dir}) - endif() - - # strip the version number form the exe name in the one uploaded to latest - string(TOLOWER "${CPACK_PACKAGE_NAME}_installer.exe" _non_versioned_exe) - set(_temp_exe_copy ${_temp_dir}/${_non_versioned_exe}) - - file(COPY ${_bootstrap_output_file} DESTINATION ${_temp_dir}) - file(RENAME "${_temp_dir}/${_bootstrap_filename}" ${_temp_exe_copy}) - - # include the commit info in a text file that will live next to the exe - set(_temp_info_file ${_temp_dir}/build_tag.txt) - file(WRITE ${_temp_info_file} ${_commit_info}) - - # update the URL and upload - string(REPLACE - ${_commit_info} "Latest" - _latest_upload_url ${CPACK_UPLOAD_URL} - ) - - upload_to_s3( - ${_latest_upload_url} - ${_temp_dir} - ".*(${_non_versioned_exe}|build_tag.txt)$" - ) - - # cleanup the temp files - file(REMOVE_RECURSE ${_temp_dir}) - - message(STATUS "Latest build update complete!") +if(CPACK_UPLOAD_URL) + file(TO_NATIVE_PATH "${_cpack_wix_out_dir}" _cpack_wix_out_dir) + ly_upload_to_url( + ${CPACK_UPLOAD_URL} + ${_cpack_wix_out_dir} + ".*(cab|exe|msi)$" + ) + + # for auto tagged builds, we will also upload a second copy of just the boostrapper + # to a special "Latest" folder under the branch in place of the commit date/hash + if(CPACK_AUTO_GEN_TAG) + ly_upload_to_latest(${CPACK_UPLOAD_URL} ${_bootstrap_output_file}) + endif() endif() diff --git a/cmake/Platform/Windows/PackagingPreBuild.cmake b/cmake/Platform/Windows/PackagingPreBuild_windows.cmake similarity index 93% rename from cmake/Platform/Windows/PackagingPreBuild.cmake rename to cmake/Platform/Windows/PackagingPreBuild_windows.cmake index 7f2eedf352..29995518da 100644 --- a/cmake/Platform/Windows/PackagingPreBuild.cmake +++ b/cmake/Platform/Windows/PackagingPreBuild_windows.cmake @@ -6,6 +6,9 @@ # # +file(REAL_PATH "${CPACK_SOURCE_DIR}/.." LY_ROOT_FOLDER) +include(${LY_ROOT_FOLDER}/cmake/Platform/Common/PackagingPreBuild_common.cmake) + if(NOT CPACK_UPLOAD_URL) # Skip signing if we are not uploading the package return() endif() diff --git a/cmake/Platform/Windows/Packaging_windows.cmake b/cmake/Platform/Windows/Packaging_windows.cmake index 7b8f5a6c19..f24e9dee1c 100644 --- a/cmake/Platform/Windows/Packaging_windows.cmake +++ b/cmake/Platform/Windows/Packaging_windows.cmake @@ -23,7 +23,6 @@ set(CPACK_WIX_ROOT ${LY_INSTALLER_WIX_ROOT}) set(CPACK_GENERATOR WIX) -set(CPACK_THREADS 0) set(_cmake_package_name "cmake-${CPACK_DESIRED_CMAKE_VERSION}-windows-x86_64") set(CPACK_CMAKE_PACKAGE_FILE "${_cmake_package_name}.zip") set(CPACK_CMAKE_PACKAGE_HASH "15a49e2ab81c1822d75b1b1a92f7863f58e31f6d6aac1c4103eef2b071be3112") @@ -105,47 +104,35 @@ set(_raw_text_license [[ #(loc.InstallEulaAcceptance) ]]) -# The offline installer generation will be a single monolithic MSI. The WIX burn tool for the bootstrapper EXE has a size limitation. -# So we will exclude the generation of the boostrapper EXE in the offline case. -if(LY_INSTALLER_DOWNLOAD_URL) - set(WIX_THEME_WARNING_IMAGE ${CPACK_SOURCE_DIR}/Platform/Windows/Packaging/warning.png) +set(WIX_THEME_WARNING_IMAGE ${CPACK_SOURCE_DIR}/Platform/Windows/Packaging/warning.png) - if(LY_INSTALLER_LICENSE_URL) - set(WIX_THEME_INSTALL_LICENSE_ELEMENTS ${_hyperlink_license}) - set(WIX_THEME_EULA_ACCEPTANCE_TEXT "<a href=\"#\">Terms of Use</a>") - else() - set(WIX_THEME_INSTALL_LICENSE_ELEMENTS ${_raw_text_license}) - set(WIX_THEME_EULA_ACCEPTANCE_TEXT "Terms of Use above") - endif() - - # theme ux file - configure_file( - "${CPACK_SOURCE_DIR}/Platform/Windows/Packaging/BootstrapperTheme.xml.in" - "${CPACK_BINARY_DIR}/BootstrapperTheme.xml" - @ONLY - ) - - # theme localization file - configure_file( - "${CPACK_SOURCE_DIR}/Platform/Windows/Packaging/BootstrapperTheme.wxl.in" - "${CPACK_BINARY_DIR}/BootstrapperTheme.wxl" - @ONLY - ) - - set(_embed_artifacts "no") - - # the bootstrapper will at the very least need a different upgrade guid - generate_wix_guid(CPACK_WIX_BOOTSTRAP_UPGRADE_GUID "${_guid_seed_base}_Bootstrap_UpgradeCode") - - set(CPACK_PRE_BUILD_SCRIPTS - ${CPACK_SOURCE_DIR}/Platform/Windows/PackagingPreBuild.cmake - ) - - set(CPACK_POST_BUILD_SCRIPTS - ${CPACK_SOURCE_DIR}/Platform/Windows/PackagingPostBuild.cmake - ) +if(LY_INSTALLER_LICENSE_URL) + set(WIX_THEME_INSTALL_LICENSE_ELEMENTS ${_hyperlink_license}) + set(WIX_THEME_EULA_ACCEPTANCE_TEXT "<a href=\"#\">Terms of Use</a>") +else() + set(WIX_THEME_INSTALL_LICENSE_ELEMENTS ${_raw_text_license}) + set(WIX_THEME_EULA_ACCEPTANCE_TEXT "Terms of Use above") endif() +# theme ux file +configure_file( + "${CPACK_SOURCE_DIR}/Platform/Windows/Packaging/BootstrapperTheme.xml.in" + "${CPACK_BINARY_DIR}/BootstrapperTheme.xml" + @ONLY +) + +# theme localization file +configure_file( + "${CPACK_SOURCE_DIR}/Platform/Windows/Packaging/BootstrapperTheme.wxl.in" + "${CPACK_BINARY_DIR}/BootstrapperTheme.wxl" + @ONLY +) + +set(_embed_artifacts "no") + +# the bootstrapper will at the very least need a different upgrade guid +generate_wix_guid(CPACK_WIX_BOOTSTRAP_UPGRADE_GUID "${_guid_seed_base}_Bootstrap_UpgradeCode") + set(CPACK_WIX_CANDLE_EXTRA_FLAGS -dCPACK_EMBED_ARTIFACTS=${_embed_artifacts} -dCPACK_CMAKE_PACKAGE_NAME=${_cmake_package_name} diff --git a/cmake/Platform/Windows/platform_windows_files.cmake b/cmake/Platform/Windows/platform_windows_files.cmake index fcc47ab6eb..984d985380 100644 --- a/cmake/Platform/Windows/platform_windows_files.cmake +++ b/cmake/Platform/Windows/platform_windows_files.cmake @@ -15,6 +15,8 @@ set(FILES ../Common/MSVC/VisualStudio_common.cmake ../Common/Install_common.cmake ../Common/LYWrappers_default.cmake + ../Common/PackagingPostBuild_common.cmake + ../Common/PackagingPreBuild_common.cmake ../Common/TargetIncludeSystemDirectories_unsupported.cmake Configurations_windows.cmake LYTestWrappers_windows.cmake @@ -23,7 +25,8 @@ set(FILES PALDetection_windows.cmake Install_windows.cmake Packaging_windows.cmake - PackagingPostBuild.cmake + PackagingPostBuild_windows.cmake + PackagingPreBuild_windows.cmake Packaging/Bootstrapper.wxs Packaging/BootstrapperTheme.wxl.in Packaging/BootstrapperTheme.xml.in diff --git a/cmake/SettingsRegistry.cmake b/cmake/SettingsRegistry.cmake index c677aba7cf..e8c14ac8a0 100644 --- a/cmake/SettingsRegistry.cmake +++ b/cmake/SettingsRegistry.cmake @@ -33,6 +33,34 @@ set(gems_json_template [[ [=[ }]=] ) +#!ly_detect_cycle_through_visitation: Detects if there is a cycle based on a list of visited +# items. If the passed item is in the list, then there is a cycle. +# \arg:item - item being checked for the cycle +# \arg:visited_items - list of visited items +# \arg:visited_items_var - list of visited items variable, "item" will be added to the list +# \arg:cycle(variable) - empty string if there is no cycle (an empty string in cmake evaluates +# to false). If there is a cycle a cycle dependency string detailing the sequence of items +# that produce a cycle, e.g. A --> B --> C --> A +# +function(ly_detect_cycle_through_visitation item visited_items visited_items_var cycle) + if(item IN_LIST visited_items) + unset(dependency_cycle_loop) + foreach(visited_item IN LISTS visited_items) + string(APPEND dependency_cycle_loop ${visited_item}) + if(visited_item STREQUAL item) + string(APPEND dependency_cycle_loop " (cycle starts)") + endif() + string(APPEND dependency_cycle_loop " --> ") + endforeach() + string(APPEND dependency_cycle_loop "${item} (cycle ends)") + set(${cycle} "${dependency_cycle_loop}" PARENT_SCOPE) + else() + set(cycle "" PARENT_SCOPE) # no cycles + endif() + list(APPEND visited_items ${item}) + set(${visited_items_var} "${visited_items}" PARENT_SCOPE) +endfunction() + #!ly_get_gem_load_dependencies: Retrieves the list of "load" dependencies for a target # Visits through only MANUALLY_ADDED_DEPENDENCIES of targets with a GEM_MODULE property # to determine which gems a target needs to load @@ -44,6 +72,13 @@ function(ly_get_gem_load_dependencies ly_GEM_LOAD_DEPENDENCIES ly_TARGET) if(NOT TARGET ${ly_TARGET}) return() # Nothing to do endif() + # Internally we use a third parameter to pass the list of targets that we have traversed. This is + # used to detect runtime cycles + if(ARGC EQUAL 3) + set(ly_CYCLE_DETECTION_TARGETS ${ARGV2}) + else() + set(ly_CYCLE_DETECTION_TARGETS "") + endif() # Optimize the search by caching gem load dependencies get_property(are_dependencies_cached GLOBAL PROPERTY LY_GEM_LOAD_DEPENDENCIES_${ly_TARGET} SET) @@ -54,6 +89,13 @@ function(ly_get_gem_load_dependencies ly_GEM_LOAD_DEPENDENCIES ly_TARGET) return() endif() + # detect cycles + unset(cycle_detected) + ly_detect_cycle_through_visitation(${ly_TARGET} "${ly_CYCLE_DETECTION_TARGETS}" ly_CYCLE_DETECTION_TARGETS cycle_detected) + if(cycle_detected) + message(FATAL_ERROR "Runtime dependency detected: ${cycle_detected}") + endif() + unset(all_gem_load_dependencies) # For load dependencies, we want to copy over the dependency and traverse them @@ -69,7 +111,7 @@ function(ly_get_gem_load_dependencies ly_GEM_LOAD_DEPENDENCIES ly_TARGET) # and recurse into its manually added dependencies if (is_gem_target) unset(dependencies) - ly_get_gem_load_dependencies(dependencies ${dealias_load_dependency}) + ly_get_gem_load_dependencies(dependencies ${dealias_load_dependency} "${ly_CYCLE_DETECTION_TARGETS}") list(APPEND all_gem_load_dependencies ${dependencies}) list(APPEND all_gem_load_dependencies ${dealias_load_dependency}) endif() diff --git a/cmake/Version.cmake b/cmake/Version.cmake index 662e75c3db..de93ebefef 100644 --- a/cmake/Version.cmake +++ b/cmake/Version.cmake @@ -11,3 +11,8 @@ set(LY_VERSION_COPYRIGHT_YEAR ${current_year} CACHE STRING "Open 3D Engine's cop set(LY_VERSION_STRING "0.0.0.0" CACHE STRING "Open 3D Engine's version") set(LY_VERSION_BUILD_NUMBER 0 CACHE STRING "Open 3D Engine's build number") set(LY_VERSION_ENGINE_NAME "o3de" CACHE STRING "Open 3D Engine's engine name") + +if("$ENV{O3DE_VERSION}") + # Overriding through environment + set(LY_VERSION_STRING "$ENV{O3DE_VERSION}") +endif() diff --git a/engine.json b/engine.json index 05ccd0abfd..2d182c78aa 100644 --- a/engine.json +++ b/engine.json @@ -90,6 +90,7 @@ "AutomatedTesting" ], "templates": [ + "Templates/GemRepo", "Templates/AssetGem", "Templates/DefaultGem", "Templates/DefaultProject", diff --git a/scripts/build/Jenkins/Jenkinsfile b/scripts/build/Jenkins/Jenkinsfile index beb4a21620..98011503af 100644 --- a/scripts/build/Jenkins/Jenkinsfile +++ b/scripts/build/Jenkins/Jenkinsfile @@ -102,10 +102,6 @@ def IsJobEnabled(branchName, buildTypeMap, pipelineName, platformName) { } } -def IsAPLogUpload(branchName, jobName) { - return !IsPullRequest(branchName) && jobName.toLowerCase().contains('asset') && env.AP_LOGS_S3_BUCKET -} - def GetRunningPipelineName(JENKINS_JOB_NAME) { // If the job name has an underscore def job_parts = JENKINS_JOB_NAME.tokenize('/')[0].tokenize('_') @@ -433,26 +429,37 @@ def ExportTestScreenshots(Map options, String branchName, String platformName, S } } -def UploadAPLogs(Map options, String branchName, String platformName, String jobName, String workspace, Map params) { - dir("${workspace}/${ENGINE_REPOSITORY_NAME}") { - projects = params.CMAKE_LY_PROJECTS.split(",") - projects.each{ project -> - def apLogsPath = "${project}/user/log" - def s3UploadScriptPath = "scripts/build/tools/upload_to_s3.py" - if(env.IS_UNIX) { - pythonPath = "${options.PYTHON_DIR}/python.sh" - } - else { - pythonPath = "${options.PYTHON_DIR}/python.cmd" - } - def command = "${pythonPath} -u ${s3UploadScriptPath} --base_dir ${apLogsPath} " + - "--file_regex \".*\" --bucket ${env.AP_LOGS_S3_BUCKET} " + - "--search_subdirectories True --key_prefix ${env.JENKINS_JOB_NAME}/${branchName}/${env.BUILD_NUMBER}/${platformName}/${jobName} " + - '--extra_args {\\"ACL\\":\\"bucket-owner-full-control\\"}' - palSh(command, "Uploading AP logs for job ${jobName} for branch ${branchName}", false) +// All files are included by default. +// --include will only re-include files that have been excluded from an --exclude filter. +//See more details at https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters +def ArchiveArtifactsOnS3(String artifactsSource, String s3Prefix="", boolean recursive=false, List includes=[], List excludes=[]) { + if (!fileExists(s3Prefix)) { + palMkdir(s3Prefix) + } + palSh("echo ${env.BUILD_URL} > ${s3Prefix}/build_url.txt") + // archiveArtifacts is very slow, so we only archive one file and upload the rest artifacts to the same bucket using S3 CLI. + archiveArtifacts artifacts: "${s3Prefix}/build_url.txt" + def command = "aws s3 cp ${artifactsSource} s3://${env.JENKINS_ARTIFACTS_S3_BUCKET}/${env.JENKINS_JOB_NAME}/${env.BUILD_NUMBER}/artifacts/${s3Prefix} " + excludes.each{ exclude -> + command += "--exclude \"${exclude}\" " + } + includes.each{ include -> + command += "--include \"${include}\" " + } + if (recursive) command += "--recursive " + palSh(command, "Archiving artifacts to ${env.JENKINS_JOB_NAME}/${env.BUILD_NUMBER}/artifacts/${s3Prefix}", false) +} + +def UploadAPLogs(String platformName, String jobName, String workspace, Map params) { + catchError(message: "Error archiving AssetProcessor logs (this won't fail the build)", buildResult: 'UNSTABLE', stageResult: 'FAILURE') { + dir("${workspace}/${ENGINE_REPOSITORY_NAME}") { + projects = params.CMAKE_LY_PROJECTS.split(",") + projects.each{ project -> + ArchiveArtifactsOnS3("${project}/user/log", "ap_logs/${platformName}/${jobName}/${project}", true) } } } +} def PostBuildCommonSteps(String workspace, boolean mount = true) { echo 'Starting post-build common steps...' @@ -517,10 +524,10 @@ def CreateExportTestScreenshotsStage(Map pipelineConfig, String branchName, Stri } } -def CreateUploadAPLogsStage(Map pipelineConfig, String branchName, String platformName, String jobName, String workspace, Map params) { +def CreateUploadAPLogsStage(String platformName, String jobName, String workspace, Map params) { return { stage("${jobName}_upload_ap_logs") { - UploadAPLogs(pipelineConfig, branchName, platformName, jobName, workspace, params) + UploadAPLogs(platformName, jobName, workspace, params) } } } @@ -576,8 +583,8 @@ def CreateSingleNode(Map pipelineConfig, def platform, def build_job, Map envVar error "Node disconnected during build: ${e}" // Error raised to retry stage on a new node } } - if (IsAPLogUpload(branchName, build_job_name)) { - CreateUploadAPLogsStage(pipelineConfig, branchName, platform.key, build_job_name, envVars['WORKSPACE'], platform.value.build_types[build_job_name].PARAMETERS).call() + if (build_job_name.toLowerCase().contains('asset') && env.IS_UPLOAD_AP_LOGS?.toBoolean()) { + CreateUploadAPLogsStage(platform.key, build_job_name, envVars['WORKSPACE'], platform.value.build_types[build_job_name].PARAMETERS).call() } // All other errors will be raised outside the retry block currentResult = envVars['ON_FAILURE_MARK'] ?: 'FAILURE' diff --git a/scripts/build/Platform/Android/build_config.json b/scripts/build/Platform/Android/build_config.json index 5e2da44a3c..dbdafcf97d 100644 --- a/scripts/build/Platform/Android/build_config.json +++ b/scripts/build/Platform/Android/build_config.json @@ -35,7 +35,7 @@ "PARAMETERS": { "CONFIGURATION":"debug", "OUTPUT_DIRECTORY":"build\\android", - "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DANDROID_ABI=arm64-v8a -DANDROID_ARM_MODE=arm -DANDROID_ARM_NEON=FALSE -DANDROID_NATIVE_API_LEVEL=21 -DLY_NDK_DIR=\"!LY_3RDPARTY_PATH!\\android-ndk\\r21d\"", + "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DANDROID_ABI=arm64-v8a -DANDROID_ARM_MODE=arm -DANDROID_ARM_NEON=FALSE -DANDROID_NATIVE_API_LEVEL=21 -DLY_NDK_DIR=\"!LY_NDK_DIR!\"", "CMAKE_LY_PROJECTS":"AutomatedTesting", "CMAKE_TARGET":"all", "CMAKE_BUILD_ARGS":"-j!NUMBER_OF_PROCESSORS!" @@ -60,7 +60,7 @@ "PARAMETERS": { "CONFIGURATION":"profile", "OUTPUT_DIRECTORY":"build\\android", - "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DANDROID_ABI=arm64-v8a -DANDROID_ARM_MODE=arm -DANDROID_ARM_NEON=FALSE -DANDROID_NATIVE_API_LEVEL=21 -DLY_NDK_DIR=\"!LY_3RDPARTY_PATH!\\android-ndk\\r21d\"", + "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DANDROID_ABI=arm64-v8a -DANDROID_ARM_MODE=arm -DANDROID_ARM_NEON=FALSE -DANDROID_NATIVE_API_LEVEL=21 -DLY_NDK_DIR=\"!LY_NDK_DIR!\"", "CMAKE_LY_PROJECTS":"AutomatedTesting", "CMAKE_TARGET":"all", "CMAKE_BUILD_ARGS":"-j!NUMBER_OF_PROCESSORS!" @@ -76,7 +76,7 @@ "PARAMETERS": { "CONFIGURATION":"profile", "OUTPUT_DIRECTORY":"build\\android", - "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DANDROID_ABI=arm64-v8a -DANDROID_ARM_MODE=arm -DANDROID_ARM_NEON=FALSE -DANDROID_NATIVE_API_LEVEL=21 -DLY_NDK_DIR=\"!LY_3RDPARTY_PATH!\\android-ndk\\r21d\" -DLY_UNITY_BUILD=FALSE", + "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DANDROID_ABI=arm64-v8a -DANDROID_ARM_MODE=arm -DANDROID_ARM_NEON=FALSE -DANDROID_NATIVE_API_LEVEL=21 -DLY_NDK_DIR=\"!LY_NDK_DIR!\" -DLY_UNITY_BUILD=FALSE", "CMAKE_LY_PROJECTS":"AutomatedTesting", "CMAKE_TARGET":"all", "CMAKE_BUILD_ARGS":"-j!NUMBER_OF_PROCESSORS!" @@ -112,7 +112,7 @@ "PARAMETERS": { "CONFIGURATION":"release", "OUTPUT_DIRECTORY":"build\\android", - "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DANDROID_ABI=arm64-v8a -DANDROID_ARM_MODE=arm -DANDROID_ARM_NEON=FALSE -DANDROID_NATIVE_API_LEVEL=21 -DLY_NDK_DIR=\"!LY_3RDPARTY_PATH!\\android-ndk\\r21d\"", + "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DANDROID_ABI=arm64-v8a -DANDROID_ARM_MODE=arm -DANDROID_ARM_NEON=FALSE -DANDROID_NATIVE_API_LEVEL=21 -DLY_NDK_DIR=\"!LY_NDK_DIR!\"", "CMAKE_LY_PROJECTS":"AutomatedTesting", "CMAKE_TARGET":"all", "CMAKE_BUILD_ARGS":"-j!NUMBER_OF_PROCESSORS!" @@ -128,7 +128,7 @@ "PARAMETERS": { "CONFIGURATION":"release", "OUTPUT_DIRECTORY":"build\\mono_android", - "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DANDROID_ABI=arm64-v8a -DANDROID_ARM_MODE=arm -DANDROID_ARM_NEON=FALSE -DANDROID_NATIVE_API_LEVEL=21 -DLY_NDK_DIR=\"!LY_3RDPARTY_PATH!\\android-ndk\\r21d\" -DLY_MONOLITHIC_GAME=TRUE", + "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DANDROID_ABI=arm64-v8a -DANDROID_ARM_MODE=arm -DANDROID_ARM_NEON=FALSE -DANDROID_NATIVE_API_LEVEL=21 -DLY_NDK_DIR=\"!LY_NDK_DIR!\" -DLY_MONOLITHIC_GAME=TRUE", "CMAKE_LY_PROJECTS":"AutomatedTesting", "CMAKE_TARGET":"all", "CMAKE_BUILD_ARGS":"-j!NUMBER_OF_PROCESSORS!" diff --git a/scripts/build/Platform/Android/gradle_windows.cmd b/scripts/build/Platform/Android/gradle_windows.cmd index b353a8f641..bb98799444 100644 --- a/scripts/build/Platform/Android/gradle_windows.cmd +++ b/scripts/build/Platform/Android/gradle_windows.cmd @@ -23,23 +23,6 @@ IF NOT EXIST "%GRADLE_BUILD_HOME%" ( GOTO :error ) -IF NOT EXIST "%LY_NINJA_PATH%" ( - SET LY_NINJA_PATH=%LY_3RDPARTY_PATH%/ninja/1.10.1/Windows -) -IF NOT EXIST "%LY_NINJA_PATH%" ( - ECHO [ci_build] FAIL: LY_NINJA_PATH=%LY_NINJA_PATH% - GOTO :error -) - -REM Make sure that Ninja in the Path variable -ECHO Testing ninja on the current path variable -call ninja --version -IF %ERRORLEVEL%==0 GOTO ninja_on_path -ECHO Ninja wasnt in the call path, add the value set by LY_NINJA_PATH -SET PATH=%PATH%;%LY_NINJA_PATH% - -:ninja_on_path - IF NOT "%ANDROID_GRADLE_PLUGIN%" == "" ( set ANDROID_GRADLE_PLUGIN_OPTION=--gradle-plugin-version=%ANDROID_GRADLE_PLUGIN% ) @@ -132,11 +115,11 @@ IF "%GENERATE_SIGNED_APK%"=="true" ( ECHO Using keystore file at %CI_ANDROID_KEYSTORE_FILE_ABS% ) - ECHO [ci_build] %PYTHON% cmake\Tools\Platform\Android\generate_android_project.py --engine-root=. --build-dir=%OUTPUT_DIRECTORY% -g %GAME_PROJECT% --gradle-install-path=%GRADLE_BUILD_HOME% --ninja-install-path=%LY_NINJA_PATH% --third-party-path=%LY_3RDPARTY_PATH% --enable-unity-build --android-sdk-path=%ANDROID_HOME% %ANDROID_GRADLE_PLUGIN_OPTION% --signconfig-store-file %CI_ANDROID_KEYSTORE_FILE_ABS% --signconfig-store-password %CI_ANDROID_KEYSTORE_PASSWORD% --signconfig-key-alias %CI_ANDROID_KEYSTORE_ALIAS% --signconfig-key-password %CI_ANDROID_KEYSTORE_PASSWORD% %ADDITIONAL_GENERATE_ARGS% --overwrite-existing - CALL %PYTHON% cmake\Tools\Platform\Android\generate_android_project.py --engine-root=. --build-dir=%OUTPUT_DIRECTORY% -g %GAME_PROJECT% --gradle-install-path=%GRADLE_BUILD_HOME% --ninja-install-path=%LY_NINJA_PATH% --third-party-path=%LY_3RDPARTY_PATH% --enable-unity-build --android-sdk-path=%ANDROID_HOME% %ANDROID_GRADLE_PLUGIN_OPTION% --signconfig-store-file %CI_ANDROID_KEYSTORE_FILE_ABS% --signconfig-store-password %CI_ANDROID_KEYSTORE_PASSWORD% --signconfig-key-alias %CI_ANDROID_KEYSTORE_ALIAS% --signconfig-key-password %CI_ANDROID_KEYSTORE_PASSWORD% %ADDITIONAL_GENERATE_ARGS% --overwrite-existing + ECHO [ci_build] %PYTHON% cmake\Tools\Platform\Android\generate_android_project.py --engine-root=. --build-dir=%OUTPUT_DIRECTORY% -g %GAME_PROJECT% --gradle-install-path=%GRADLE_BUILD_HOME% --third-party-path=%LY_3RDPARTY_PATH% --enable-unity-build --android-sdk-path=%ANDROID_HOME% %ANDROID_GRADLE_PLUGIN_OPTION% --signconfig-store-file %CI_ANDROID_KEYSTORE_FILE_ABS% --signconfig-store-password %CI_ANDROID_KEYSTORE_PASSWORD% --signconfig-key-alias %CI_ANDROID_KEYSTORE_ALIAS% --signconfig-key-password %CI_ANDROID_KEYSTORE_PASSWORD% %ADDITIONAL_GENERATE_ARGS% --overwrite-existing + CALL %PYTHON% cmake\Tools\Platform\Android\generate_android_project.py --engine-root=. --build-dir=%OUTPUT_DIRECTORY% -g %GAME_PROJECT% --gradle-install-path=%GRADLE_BUILD_HOME% --third-party-path=%LY_3RDPARTY_PATH% --enable-unity-build --android-sdk-path=%ANDROID_HOME% %ANDROID_GRADLE_PLUGIN_OPTION% --signconfig-store-file %CI_ANDROID_KEYSTORE_FILE_ABS% --signconfig-store-password %CI_ANDROID_KEYSTORE_PASSWORD% --signconfig-key-alias %CI_ANDROID_KEYSTORE_ALIAS% --signconfig-key-password %CI_ANDROID_KEYSTORE_PASSWORD% %ADDITIONAL_GENERATE_ARGS% --overwrite-existing ) ELSE ( - ECHO [ci_build] %PYTHON% cmake\Tools\Platform\Android\generate_android_project.py --engine-root=. --build-dir=%OUTPUT_DIRECTORY% -g %GAME_PROJECT% %GRADLE_OVERRIDE_OPTION% --ninja-install-path=%LY_NINJA_PATH% --third-party-path=%LY_3RDPARTY_PATH% --enable-unity-build %ANDROID_GRADLE_PLUGIN_OPTION% --android-sdk-path=%ANDROID_HOME% %ADDITIONAL_GENERATE_ARGS% --overwrite-existing - CALL %PYTHON% cmake\Tools\Platform\Android\generate_android_project.py --engine-root=. --build-dir=%OUTPUT_DIRECTORY% -g %GAME_PROJECT% --gradle-install-path=%GRADLE_BUILD_HOME% --ninja-install-path=%LY_NINJA_PATH% --third-party-path=%LY_3RDPARTY_PATH% --enable-unity-build %ANDROID_GRADLE_PLUGIN_OPTION% --android-sdk-path=%ANDROID_HOME% %ADDITIONAL_GENERATE_ARGS% --overwrite-existing + ECHO [ci_build] %PYTHON% cmake\Tools\Platform\Android\generate_android_project.py --engine-root=. --build-dir=%OUTPUT_DIRECTORY% -g %GAME_PROJECT% %GRADLE_OVERRIDE_OPTION% --third-party-path=%LY_3RDPARTY_PATH% --enable-unity-build %ANDROID_GRADLE_PLUGIN_OPTION% --android-sdk-path=%ANDROID_HOME% %ADDITIONAL_GENERATE_ARGS% --overwrite-existing + CALL %PYTHON% cmake\Tools\Platform\Android\generate_android_project.py --engine-root=. --build-dir=%OUTPUT_DIRECTORY% -g %GAME_PROJECT% --gradle-install-path=%GRADLE_BUILD_HOME% --third-party-path=%LY_3RDPARTY_PATH% --enable-unity-build %ANDROID_GRADLE_PLUGIN_OPTION% --android-sdk-path=%ANDROID_HOME% %ADDITIONAL_GENERATE_ARGS% --overwrite-existing ) REM Validate the android project generation diff --git a/scripts/build/Platform/Android/pipeline.json b/scripts/build/Platform/Android/pipeline.json index 551374a027..230d5d3477 100644 --- a/scripts/build/Platform/Android/pipeline.json +++ b/scripts/build/Platform/Android/pipeline.json @@ -2,7 +2,8 @@ "ENV": { "GRADLE_HOME": "C:/Gradle/gradle-7.0", "NODE_LABEL": "windows-b3c8994f1", - "LY_3RDPARTY_PATH": "C:/ly/3rdParty", + "LY_3RDPARTY_PATH": "D:/workspace/3rdParty", + "LY_NDK_DIR": "C:/ly/3rdParty/android-ndk/r21d", "TIMEOUT": 30, "WORKSPACE": "D:/workspace", "MOUNT_VOLUME": true diff --git a/scripts/build/Platform/Linux/build_config.json b/scripts/build/Platform/Linux/build_config.json index f485f43315..84d1726d47 100644 --- a/scripts/build/Platform/Linux/build_config.json +++ b/scripts/build/Platform/Linux/build_config.json @@ -37,7 +37,7 @@ "PARAMETERS": { "CONFIGURATION": "debug", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "all" } @@ -53,7 +53,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "all" } @@ -66,7 +66,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_UNITY_BUILD=FALSE -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_UNITY_BUILD=FALSE -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "all" } @@ -80,7 +80,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "all", "CTEST_OPTIONS": "-E (AutomatedTesting::Atom_TestSuite_Main|AutomatedTesting::PrefabTests|AutomatedTesting::TerrainTests_Main|Gem::EMotionFX.Editor.Tests) -L (SUITE_smoke|SUITE_main) -LE (REQUIRES_gpu) --no-tests=error", @@ -93,7 +93,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_UNITY_BUILD=FALSE -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_UNITY_BUILD=FALSE -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "all", "CTEST_OPTIONS": "-E (AutomatedTesting::Atom_TestSuite_Main|AutomatedTesting::PrefabTests|AutomatedTesting::TerrainTests_Main|Gem::EMotionFX.Editor.Tests) -L (SUITE_smoke|SUITE_main) -LE (REQUIRES_gpu) --no-tests=error", @@ -110,7 +110,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "AssetProcessorBatch", "ASSET_PROCESSOR_BINARY": "bin/profile/AssetProcessorBatch", @@ -124,7 +124,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_UNITY_BUILD=FALSE -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_UNITY_BUILD=FALSE -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "AssetProcessorBatch", "ASSET_PROCESSOR_BINARY": "bin/profile/AssetProcessorBatch", @@ -142,7 +142,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "TEST_SUITE_periodic", "CTEST_OPTIONS": "-L (SUITE_periodic) --no-tests=error", @@ -162,7 +162,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_PARALLEL_LINK_JOBS=4 -DO3DE_HOME_PATH=\"${WORKSPACE}/home\" -DO3DE_REGISTER_ENGINE_PATH=\"${WORKSPACE}/o3de\" -DO3DE_REGISTER_THIS_ENGINE=TRUE", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "all", "CTEST_OPTIONS": "-L (SUITE_sandbox) --no-tests=error" @@ -178,7 +178,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "TEST_SUITE_benchmark", "CTEST_OPTIONS": "-L (SUITE_benchmark) --no-tests=error", @@ -195,7 +195,7 @@ "PARAMETERS": { "CONFIGURATION": "release", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "all" } @@ -210,7 +210,7 @@ "PARAMETERS": { "CONFIGURATION": "release", "OUTPUT_DIRECTORY": "build/mono_linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_MONOLITHIC_GAME=TRUE -DLY_PARALLEL_LINK_JOBS=4", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_MONOLITHIC_GAME=TRUE -DLY_PARALLEL_LINK_JOBS=4", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "all" } @@ -221,10 +221,25 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_PARALLEL_LINK_JOBS=4 -DLY_DISABLE_TEST_MODULES=TRUE", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4 -DLY_DISABLE_TEST_MODULES=TRUE", "CMAKE_TARGET": "install" } }, + "installer": { + "TAGS": [ + "nightly-clean", + "nightly-installer" + ], + "COMMAND": "build_installer_linux.sh", + "PARAMETERS": { + "CONFIGURATION": "profile", + "OUTPUT_DIRECTORY": "build/linux", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4 -DLY_DISABLE_TEST_MODULES=TRUE -DLY_VERSION_ENGINE_NAME=o3de-sdk", + "EXTRA_CMAKE_OPTIONS": "-DLY_INSTALLER_AUTO_GEN_TAG=TRUE -DLY_INSTALLER_DOWNLOAD_URL=${INSTALLER_DOWNLOAD_URL} -DLY_INSTALLER_LICENSE_URL=${INSTALLER_DOWNLOAD_URL}/license", + "CPACK_OPTIONS": "-D CPACK_UPLOAD_URL=${CPACK_UPLOAD_URL}", + "CMAKE_TARGET": "all" + } + }, "install_profile_pipe": { "TAGS": [ "nightly-incremental", @@ -254,7 +269,7 @@ "COMMAND_CWD": "${WORKSPACE}/${PROJECT_REPOSITORY_NAME}", "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/linux", - "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DLY_PARALLEL_LINK_JOBS=4 -DCMAKE_MODULE_PATH=${WORKSPACE}/o3de/install/cmake", + "CMAKE_OPTIONS": "-G 'Ninja Multi-Config' -DLY_PARALLEL_LINK_JOBS=4 -DCMAKE_MODULE_PATH=${WORKSPACE}/o3de/install/cmake", "CMAKE_TARGET": "all" } } diff --git a/scripts/build/Platform/Linux/build_installer_linux.sh b/scripts/build/Platform/Linux/build_installer_linux.sh new file mode 100755 index 0000000000..301eb5f16d --- /dev/null +++ b/scripts/build/Platform/Linux/build_installer_linux.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set -o errexit # exit on the first failure encountered + +BASEDIR=$(dirname "$0") +source $BASEDIR/build_linux.sh + +source $BASEDIR/installer_linux.sh diff --git a/scripts/build/Platform/Linux/build_linux.sh b/scripts/build/Platform/Linux/build_linux.sh index ab51913550..328445738b 100755 --- a/scripts/build/Platform/Linux/build_linux.sh +++ b/scripts/build/Platform/Linux/build_linux.sh @@ -17,7 +17,7 @@ SOURCE_DIRECTORY=${PWD} pushd $OUTPUT_DIRECTORY LAST_CONFIGURE_CMD_FILE=ci_last_configure_cmd.txt -CONFIGURE_CMD="cmake ${SOURCE_DIRECTORY} ${CMAKE_OPTIONS} ${EXTRA_CMAKE_OPTIONS} -DLY_3RDPARTY_PATH=${LY_3RDPARTY_PATH}" +CONFIGURE_CMD="cmake ${SOURCE_DIRECTORY} ${CMAKE_OPTIONS} ${EXTRA_CMAKE_OPTIONS}" if [[ -n "$CMAKE_LY_PROJECTS" ]]; then CONFIGURE_CMD="${CONFIGURE_CMD} -DLY_PROJECTS='${CMAKE_LY_PROJECTS}'" fi @@ -37,13 +37,13 @@ else fi if [[ ! -z "$RUN_CONFIGURE" ]]; then # have to use eval since $CMAKE_OPTIONS (${EXTRA_CMAKE_OPTIONS}) contains quotes that need to be processed - echo [ci_build] ${CONFIGURE_CMD} + eval echo [ci_build] ${CONFIGURE_CMD} eval ${CONFIGURE_CMD} # Save the run only if success - echo "${CONFIGURE_CMD}" > ${LAST_CONFIGURE_CMD_FILE} + eval echo "${CONFIGURE_CMD}" > ${LAST_CONFIGURE_CMD_FILE} fi -echo [ci_build] cmake --build . --target ${CMAKE_TARGET} --config ${CONFIGURATION} -j $(grep -c processor /proc/cpuinfo) -- ${CMAKE_NATIVE_BUILD_ARGS} -cmake --build . --target ${CMAKE_TARGET} --config ${CONFIGURATION} -j $(grep -c processor /proc/cpuinfo) -- ${CMAKE_NATIVE_BUILD_ARGS} +eval echo [ci_build] cmake --build . --target ${CMAKE_TARGET} --config ${CONFIGURATION} -j $(grep -c processor /proc/cpuinfo) -- ${CMAKE_NATIVE_BUILD_ARGS} +eval cmake --build . --target ${CMAKE_TARGET} --config ${CONFIGURATION} -j $(grep -c processor /proc/cpuinfo) -- ${CMAKE_NATIVE_BUILD_ARGS} popd diff --git a/scripts/build/Platform/Linux/installer_linux.sh b/scripts/build/Platform/Linux/installer_linux.sh new file mode 100755 index 0000000000..3ded242522 --- /dev/null +++ b/scripts/build/Platform/Linux/installer_linux.sh @@ -0,0 +1,30 @@ +#!/usr/bin/env bash +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +set -o errexit # exit on the first failure encountered + +BASEDIR=$(dirname "$0") +source $BASEDIR/env_linux.sh + +mkdir -p ${OUTPUT_DIRECTORY} +SOURCE_DIRECTORY=${PWD} +pushd $OUTPUT_DIRECTORY + +if ! command -v cpack &> /dev/null; then + echo "[ci_build] CPack not found" + exit 1 +fi + +echo [ci_build] cpack --version +cpack --version + +eval echo [ci_build] cpack -C ${CONFIGURATION} ${CPACK_OPTIONS} +eval cpack -C ${CONFIGURATION} ${CPACK_OPTIONS} + +popd diff --git a/scripts/build/Platform/Linux/pipeline.json b/scripts/build/Platform/Linux/pipeline.json index 7f16ec6ab5..f44ed5f9de 100644 --- a/scripts/build/Platform/Linux/pipeline.json +++ b/scripts/build/Platform/Linux/pipeline.json @@ -1,7 +1,7 @@ { "ENV": { "NODE_LABEL": "linux-707531fc7", - "LY_3RDPARTY_PATH": "/home/lybuilder/ly/workspace/3rdParty", + "LY_3RDPARTY_PATH": "/data/workspace/3rdParty", "TIMEOUT": 30, "WORKSPACE": "/data/workspace", "MOUNT_VOLUME": true diff --git a/scripts/build/Platform/Mac/build_mac.sh b/scripts/build/Platform/Mac/build_mac.sh index 169e91c24f..a0401f664c 100755 --- a/scripts/build/Platform/Mac/build_mac.sh +++ b/scripts/build/Platform/Mac/build_mac.sh @@ -17,7 +17,7 @@ SOURCE_DIRECTORY=${PWD} pushd $OUTPUT_DIRECTORY LAST_CONFIGURE_CMD_FILE=ci_last_configure_cmd.txt -CONFIGURE_CMD="cmake ${SOURCE_DIRECTORY} ${CMAKE_OPTIONS} ${EXTRA_CMAKE_OPTIONS} -DLY_3RDPARTY_PATH=${LY_3RDPARTY_PATH}" +CONFIGURE_CMD="cmake ${SOURCE_DIRECTORY} ${CMAKE_OPTIONS} ${EXTRA_CMAKE_OPTIONS}" if [[ -n "$CMAKE_LY_PROJECTS" ]]; then CONFIGURE_CMD="${CONFIGURE_CMD} -DLY_PROJECTS='${CMAKE_LY_PROJECTS}'" fi diff --git a/scripts/build/Platform/Windows/build_config.json b/scripts/build/Platform/Windows/build_config.json index 3260c9af79..6f1aaa1570 100644 --- a/scripts/build/Platform/Windows/build_config.json +++ b/scripts/build/Platform/Windows/build_config.json @@ -360,9 +360,9 @@ "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build\\windows_vs2019", "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0 -DLY_DISABLE_TEST_MODULES=TRUE -DLY_VERSION_ENGINE_NAME=o3de-sdk -DLY_INSTALLER_WIX_ROOT=\"!WIX! \"", - "EXTRA_CMAKE_OPTIONS": "-DLY_INSTALLER_AUTO_GEN_TAG=ON -DLY_INSTALLER_DOWNLOAD_URL=!INSTALLER_DOWNLOAD_URL! -DLY_INSTALLER_LICENSE_URL=!INSTALLER_DOWNLOAD_URL!/license", - "CPACK_BUCKET": "%INSTALLER_BUCKET%", + "EXTRA_CMAKE_OPTIONS": "-DLY_INSTALLER_AUTO_GEN_TAG=TRUE -DLY_INSTALLER_DOWNLOAD_URL=!INSTALLER_DOWNLOAD_URL! -DLY_INSTALLER_LICENSE_URL=!INSTALLER_DOWNLOAD_URL!/license", "CMAKE_TARGET": "ALL_BUILD", + "CPACK_OPTIONS": "-D CPACK_UPLOAD_URL=\"!CPACK_UPLOAD_URL!\"", "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo" } }, diff --git a/scripts/build/Platform/Windows/build_windows.cmd b/scripts/build/Platform/Windows/build_windows.cmd index b9e862e04f..9e9b124adb 100644 --- a/scripts/build/Platform/Windows/build_windows.cmd +++ b/scripts/build/Platform/Windows/build_windows.cmd @@ -9,13 +9,6 @@ REM SETLOCAL EnableDelayedExpansion -REM Jenkins reports MSB8029 when TMP/TEMP is not defined, define a dummy folder -SET TMP=%cd%/temp -SET TEMP=%cd%/temp -IF NOT EXIST %TMP% ( - MKDIR temp -) - CALL %~dp0env_windows.cmd IF NOT EXIST "%OUTPUT_DIRECTORY%" ( @@ -36,7 +29,7 @@ REM Compute half the amount of processors so some jobs can run SET /a HALF_PROCESSORS = NUMBER_OF_PROCESSORS / 2 SET LAST_CONFIGURE_CMD_FILE=ci_last_configure_cmd.txt -SET CONFIGURE_CMD=cmake %SOURCE_DIRECTORY% %CMAKE_OPTIONS% %EXTRA_CMAKE_OPTIONS% -DLY_3RDPARTY_PATH="%LY_3RDPARTY_PATH%" +SET CONFIGURE_CMD=cmake %SOURCE_DIRECTORY% %CMAKE_OPTIONS% %EXTRA_CMAKE_OPTIONS% IF NOT "%CMAKE_LY_PROJECTS%"=="" ( SET CONFIGURE_CMD=!CONFIGURE_CMD! -DLY_PROJECTS="%CMAKE_LY_PROJECTS%" ) diff --git a/scripts/build/Platform/Windows/env_windows.cmd b/scripts/build/Platform/Windows/env_windows.cmd index f11d394519..a78946caf6 100644 --- a/scripts/build/Platform/Windows/env_windows.cmd +++ b/scripts/build/Platform/Windows/env_windows.cmd @@ -7,6 +7,10 @@ REM SPDX-License-Identifier: Apache-2.0 OR MIT REM REM +REM To get recursive folder creation +SETLOCAL EnableExtensions +SETLOCAL EnableDelayedExpansion + where /Q cmake IF NOT %ERRORLEVEL%==0 ( ECHO [ci_build] CMake not found @@ -18,6 +22,20 @@ IF NOT "%COMMAND_CWD%"=="" ( CD %COMMAND_CWD% ) +REM Jenkins reports MSB8029 when TMP/TEMP is not defined, define a dummy folder +IF NOT "%TMP%"=="" ( + IF NOT "%WORKSPACE_TMP%"=="" ( + SET TMP=%WORKSPACE_TMP% + SET TEMP=%WORKSPACE_TMP% + ) ELSE ( + SET TMP=%cd%/temp + SET TEMP=%cd%/temp + ) +) +IF NOT EXIST "!TMP!" ( + MKDIR "!TMP!" +) + EXIT /b 0 :error diff --git a/scripts/build/Platform/Windows/installer_windows.cmd b/scripts/build/Platform/Windows/installer_windows.cmd index 87f53adc7f..bbde450973 100644 --- a/scripts/build/Platform/Windows/installer_windows.cmd +++ b/scripts/build/Platform/Windows/installer_windows.cmd @@ -17,10 +17,12 @@ IF NOT EXIST %OUTPUT_DIRECTORY% ( ) PUSHD %OUTPUT_DIRECTORY% -REM Override the temporary directory used by wix to the workspace -SET "WIX_TEMP=!WORKSPACE_TMP!/wix" -IF NOT EXIST "%WIX_TEMP%" ( - MKDIR "%WIX_TEMP%" +REM Override the temporary directory used by wix to the workspace (if we have a WORKSPACE_TMP) +IF NOT "%WORKSPACE_TMP%"=="" ( + SET "WIX_TEMP=!WORKSPACE_TMP!/wix" + IF NOT EXIST "!WIX_TEMP!" ( + MKDIR "!WIX_TEMP!" + ) ) REM Make sure we are using the CMake version of CPack and not the one that comes with chocolatey @@ -47,10 +49,6 @@ IF ERRORLEVEL 1 ( GOTO :popd_error ) -IF NOT "%CPACK_BUCKET%"=="" ( - SET "CPACK_OPTIONS=-D CPACK_UPLOAD_URL=s3://%CPACK_BUCKET% %CPACK_OPTIONS%" -) - ECHO [ci_build] "!CPACK_PATH!" -C %CONFIGURATION% %CPACK_OPTIONS% "!CPACK_PATH!" -C %CONFIGURATION% %CPACK_OPTIONS% IF NOT %ERRORLEVEL%==0 ( diff --git a/scripts/build/Platform/Windows/pipeline.json b/scripts/build/Platform/Windows/pipeline.json index 6be55ec82d..b18a1e8c63 100644 --- a/scripts/build/Platform/Windows/pipeline.json +++ b/scripts/build/Platform/Windows/pipeline.json @@ -1,7 +1,7 @@ { "ENV": { "NODE_LABEL": "windows-b3c8994f1", - "LY_3RDPARTY_PATH": "C:/ly/3rdParty", + "LY_3RDPARTY_PATH": "D:/workspace/3rdParty", "TIMEOUT": 30, "WORKSPACE": "D:/workspace", "MOUNT_VOLUME": true diff --git a/scripts/build/Platform/iOS/build_config.json b/scripts/build/Platform/iOS/build_config.json index 895f74daae..ec2b763dda 100644 --- a/scripts/build/Platform/iOS/build_config.json +++ b/scripts/build/Platform/iOS/build_config.json @@ -76,7 +76,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/mac", - "CMAKE_OPTIONS": "-G Xcode -DO3DE_HOME_PATH=\"${WORKSPACE}/home\" -DO3DE_REGISTER_ENGINE_PATH=\"${WORKSPACE}/o3de\" -DO3DE_REGISTER_THIS_ENGINE=TRUE", + "CMAKE_OPTIONS": "-G Xcode", "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "AssetProcessorBatch", "ASSET_PROCESSOR_BINARY": "bin/profile/AssetProcessorBatch", @@ -112,7 +112,7 @@ "PARAMETERS": { "CONFIGURATION": "profile", "OUTPUT_DIRECTORY": "build/ios_test", - "CMAKE_OPTIONS": "-G Xcode -DCMAKE_TOOLCHAIN_FILE=cmake/Platform/iOS/Toolchain_ios.cmake -DLY_MONOLITHIC_GAME=FALSE -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED=TRUE -DLY_IOS_CODE_SIGNING_IDENTITY=\"\" -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS=\"\" -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=TRUE -DO3DE_HOME_PATH=\"${WORKSPACE}/home\" -DO3DE_REGISTER_ENGINE_PATH=\"${WORKSPACE}/o3de\" -DO3DE_REGISTER_THIS_ENGINE=TRUE", + "CMAKE_OPTIONS": "-G Xcode -DCMAKE_TOOLCHAIN_FILE=cmake/Platform/iOS/Toolchain_ios.cmake -DLY_MONOLITHIC_GAME=FALSE -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED=TRUE -DLY_IOS_CODE_SIGNING_IDENTITY=\"\" -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS=\"\" -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=TRUE", "CMAKE_TARGET": "ALL_BUILD", "CMAKE_NATIVE_BUILD_ARGS": "", "TARGET_DEVICE_NAME": "Lumberyard", diff --git a/scripts/build/Platform/iOS/build_ios_test.sh b/scripts/build/Platform/iOS/build_ios_test.sh index b683948e72..7869b900db 100755 --- a/scripts/build/Platform/iOS/build_ios_test.sh +++ b/scripts/build/Platform/iOS/build_ios_test.sh @@ -19,7 +19,7 @@ SOURCE_DIRECTORY=${PWD} ECHO Configuring for iOS Testing LAST_CONFIGURE_CMD_FILE=ci_last_configure_cmd.txt -CONFIGURE_CMD="cmake -B ${OUTPUT_DIRECTORY} ${SOURCE_DIRECTORY} ${CMAKE_OPTIONS} ${EXTRA_CMAKE_OPTIONS} -DLY_3RDPARTY_PATH=${LY_3RDPARTY_PATH}" +CONFIGURE_CMD="cmake -B ${OUTPUT_DIRECTORY} ${SOURCE_DIRECTORY} ${CMAKE_OPTIONS} ${EXTRA_CMAKE_OPTIONS}" if [[ ! -e "CMakeCache.txt" ]]; then echo [ci_build] First run, generating RUN_CONFIGURE=1 diff --git a/scripts/build/Platform/iOS/pipeline.json b/scripts/build/Platform/iOS/pipeline.json index e8cea0f06d..a5e2ff710e 100644 --- a/scripts/build/Platform/iOS/pipeline.json +++ b/scripts/build/Platform/iOS/pipeline.json @@ -1,7 +1,7 @@ { "ENV": { "NODE_LABEL": "mac-bigsur-2fc3a22", - "LY_3RDPARTY_PATH": "/Users/lybuilder/3rdParty", + "LY_3RDPARTY_PATH": "/Users/lybuilder/workspace/3rdParty", "TIMEOUT": 30, "WORKSPACE": "/Users/lybuilder/workspace", "MOUNT_VOLUME": false diff --git a/scripts/build/build_node/Platform/Linux/package-list.ubuntu-bionic.txt b/scripts/build/build_node/Platform/Linux/package-list.ubuntu-bionic.txt index 2af55ab180..30259a6dc7 100644 --- a/scripts/build/build_node/Platform/Linux/package-list.ubuntu-bionic.txt +++ b/scripts/build/build_node/Platform/Linux/package-list.ubuntu-bionic.txt @@ -12,7 +12,7 @@ libxcb-xinerama0 # For Qt plugins at runtime libxcb-xinput0 # For Qt plugins at runtime libfontconfig1-dev # For Qt plugins at runtime libcurl4-openssl-dev # For HttpRequestor -libsdl2-dev # For WWise/Audio +# libsdl2-dev # For WWise/Audio libxcb-xkb-dev # For xcb keyboard input libxkbcommon-x11-dev # For xcb keyboard input libxkbcommon-dev # For xcb keyboard input diff --git a/scripts/build/build_node/Platform/Linux/package-list.ubuntu-focal.txt b/scripts/build/build_node/Platform/Linux/package-list.ubuntu-focal.txt index e0e03cda90..71958d74bd 100644 --- a/scripts/build/build_node/Platform/Linux/package-list.ubuntu-focal.txt +++ b/scripts/build/build_node/Platform/Linux/package-list.ubuntu-focal.txt @@ -12,7 +12,7 @@ libxcb-xinerama0 # For Qt plugins at runtime libxcb-xinput0 # For Qt plugins at runtime libfontconfig1-dev # For Qt plugins at runtime libcurl4-openssl-dev # For HttpRequestor -libsdl2-dev # for WWise/Audio +# libsdl2-dev # for WWise/Audio libxcb-xkb-dev # For xcb keyboard input libxkbcommon-x11-dev # For xcb keyboard input libxkbcommon-dev # For xcb keyboard input diff --git a/scripts/build/tools/copy_file.py b/scripts/build/tools/copy_file.py new file mode 100644 index 0000000000..45b5e39d7a --- /dev/null +++ b/scripts/build/tools/copy_file.py @@ -0,0 +1,57 @@ +# +# Copyright (c) Contributors to the Open 3D Engine Project. +# For complete copyright and license terms please see the LICENSE at the root of this distribution. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT +# +# + +import argparse +import os +import sys +import glob +import shutil + + +def parse_args(): + parser = argparse.ArgumentParser() + parser.add_argument('-s', '--src-dir', dest='src_dir', required=True, help='Source directory to copy files from, if not specified, current directory is used.') + parser.add_argument('-r', '--file-regex', dest='file_regex', required=True, help='Globbing pattern used to match file names to copy.') + parser.add_argument('-t', '--target-dir', dest="target_dir", required=True, help='Target directory to copy files to.') + args = parser.parse_args() + if not os.path.isdir(args.src_dir): + print('ERROR: src_dir is not a valid directory.') + exit(1) + return args + + +def extended_path(path): + """ + Maximum Path Length Limitation on Windows is 260 characters, use extended-length path to bypass this limitation + """ + if sys.platform in ('win32', 'cli') and len(path) >= 260: + if path.startswith('\\'): + return r'\\?\UNC\{}'.format(path.lstrip('\\')) + else: + return r'\\?\{}'.format(path) + else: + return path + + +def copy_file(src_dir, file_regex, target_dir): + if not os.path.isdir(args.target_dir): + os.makedirs(target_dir) + for f in glob.glob(os.path.join(src_dir, file_regex), recursive=True): + if os.path.isfile(f): + relative_path = os.path.relpath(f, src_dir) + target_file_path = os.path.join(target_dir, relative_path) + target_file_dir = os.path.dirname(target_file_path) + if not os.path.isdir(target_file_dir): + os.makedirs(target_file_dir) + shutil.copy2(f, extended_path(target_file_path)) + print(f'{f} -> {target_file_path}') + + +if __name__ == "__main__": + args = parse_args() + copy_file(args.src_dir, args.file_regex, args.target_dir) diff --git a/scripts/o3de/README.txt b/scripts/o3de/README.txt index 07d23fab82..ded52bb264 100644 --- a/scripts/o3de/README.txt +++ b/scripts/o3de/README.txt @@ -23,7 +23,7 @@ INSTALL It is recommended to set up these these tools with O3DE's CMake build commands. Assuming CMake is already setup on your operating system, below are some sample build commands: cd /path/to/od3e/ - cmake -B windows_vs2019 -S . -G"Visual Studio 16" -DLY_3RDPARTY_PATH="%LY_3RDPARTY_PATH%" + cmake -B windows_vs2019 -S . -G"Visual Studio 16" To manually install the project in development mode using your own installed Python interpreter: cd /path/to/od3e/o3de diff --git a/scripts/o3de/o3de/disable_gem.py b/scripts/o3de/o3de/disable_gem.py index 01324d8500..158507fca1 100644 --- a/scripts/o3de/o3de/disable_gem.py +++ b/scripts/o3de/o3de/disable_gem.py @@ -69,7 +69,7 @@ def disable_gem_in_project(gem_name: str = None, return 1 gem_path = pathlib.Path(gem_path).resolve() # make sure this gem already exists if we're adding. We can always remove a gem. - if not gem_path.is_dir(): + if not gem_path.exists(): logger.error(f'Gem Path {gem_path} does not exist.') return 1 diff --git a/scripts/o3de/o3de/download.py b/scripts/o3de/o3de/download.py index 9b7c8cc782..e88355bf06 100644 --- a/scripts/o3de/o3de/download.py +++ b/scripts/o3de/o3de/download.py @@ -44,30 +44,34 @@ def validate_downloaded_zip_sha256(download_uri_json_data: dict, download_zip_pa try: sha256A = download_uri_json_data['sha256'] except KeyError as e: - logger.warn('SECURITY WARNING: The advertised o3de object you downloaded has no "sha256"!!! Be VERY careful!!!' + logger.warning('SECURITY WARNING: The advertised o3de object you downloaded has no "sha256"!!! Be VERY careful!!!' ' We cannot verify this is the actually the advertised object!!!') return 1 else: - sha256B = hashlib.sha256(download_zip_path.open('rb').read()).hexdigest() - if sha256A != sha256B: - logger.error(f'SECURITY VIOLATION: Downloaded zip sha256 {sha256B} does not match' - f' the advertised "sha256":{sha256A} in the f{manifest_json_name}.') - return 0 + if len(sha256A) == 0: + logger.warning('SECURITY WARNING: The advertised o3de object you downloaded has no "sha256"!!! Be VERY careful!!!' + ' We cannot verify this is the actually the advertised object!!!') + return 1 + + with download_zip_path.open('rb') as f: + sha256B = hashlib.sha256(f.read()).hexdigest() + if sha256A != sha256B: + logger.error(f'SECURITY VIOLATION: Downloaded zip sha256 {sha256B} does not match' + f' the advertised "sha256":{sha256A} in the f{manifest_json_name}.') + return 0 unzipped_manifest_json_data = unzip_manifest_json_data(download_zip_path, manifest_json_name) - # remove the sha256 if present in the advertised downloadable manifest json - # then compare it to the json in the zip, they should now be identical - try: - del download_uri_json_data['sha256'] - except KeyError as e: - pass + # do not include the data we know will not match/exist + for key in ['sha256','repo_name']: + if key in download_uri_json_data: + del download_uri_json_data[key] + if key in unzipped_manifest_json_data: + del unzipped_manifest_json_data[key] - sha256A = hashlib.sha256(json.dumps(download_uri_json_data, indent=4).encode('utf8')).hexdigest() - sha256B = hashlib.sha256(json.dumps(unzipped_manifest_json_data, indent=4).encode('utf8')).hexdigest() - if sha256A != sha256B: - logger.error('SECURITY VIOLATION: Downloaded manifest json does not match' - ' the advertised manifest json.') + if download_uri_json_data != unzipped_manifest_json_data: + logger.error(f'SECURITY VIOLATION: Downloaded {manifest_json_name} contents do not match' + ' the advertised manifest json contents.') return 0 return 1 @@ -102,7 +106,7 @@ def download_o3de_object(object_name: str, default_folder_name: str, dest_path: logger.error(f'Downloadable o3de object {object_name} not found.') return 1 - origin_uri = downloadable_object_data['originuri'] + origin_uri = downloadable_object_data['origin_uri'] parsed_uri = urllib.parse.urlparse(origin_uri) download_zip_result = utils.download_zip_file(parsed_uri, download_zip_path, force_overwrite, download_progress_callback) @@ -237,13 +241,13 @@ def is_o3de_object_update_available(object_name: str, downloadable_kwarg_key, lo try: repo_copy_updated_string = downloadable_object_data['last_updated'] except KeyError: - logger.warn(f'last_updated field not found for {object_name}.') + logger.warning(f'last_updated field not found for {object_name}.') return False try: local_last_updated_time = datetime.fromisoformat(local_last_updated) except ValueError: - logger.warn(f'last_updated field has incorrect format for local copy of {downloadable_kwarg_key} {object_name}.') + logger.warning(f'last_updated field has incorrect format for local copy of {downloadable_kwarg_key} {object_name}.') # Possible that an earlier version did not have this field so still want to check against cached downloadable version local_last_updated_time = datetime.min diff --git a/scripts/o3de/o3de/manifest.py b/scripts/o3de/o3de/manifest.py index 297d8e39d2..e46b819a7c 100644 --- a/scripts/o3de/o3de/manifest.py +++ b/scripts/o3de/o3de/manifest.py @@ -108,75 +108,79 @@ def get_o3de_third_party_folder() -> pathlib.Path: # o3de manifest file methods +def get_default_o3de_manifest_json_data() -> dict: + """ + Returns dict with default values suitable for storing + in the o3de_manifests.json + """ + username = os.path.split(get_home_folder())[-1] + + o3de_folder = get_o3de_folder() + default_engines_folder = get_o3de_engines_folder() + default_projects_folder = get_o3de_projects_folder() + default_gems_folder = get_o3de_gems_folder() + default_templates_folder = get_o3de_templates_folder() + default_restricted_folder = get_o3de_restricted_folder() + default_third_party_folder = get_o3de_third_party_folder() + + default_projects_restricted_folder = default_projects_folder / 'Restricted' + default_projects_restricted_folder.mkdir(parents=True, exist_ok=True) + default_gems_restricted_folder = default_gems_folder / 'Restricted' + default_gems_restricted_folder.mkdir(parents=True, exist_ok=True) + default_templates_restricted_folder = default_templates_folder / 'Restricted' + default_templates_restricted_folder.mkdir(parents=True, exist_ok=True) + + json_data = {} + json_data.update({'o3de_manifest_name': f'{username}'}) + json_data.update({'origin': o3de_folder.as_posix()}) + json_data.update({'default_engines_folder': default_engines_folder.as_posix()}) + json_data.update({'default_projects_folder': default_projects_folder.as_posix()}) + json_data.update({'default_gems_folder': default_gems_folder.as_posix()}) + json_data.update({'default_templates_folder': default_templates_folder.as_posix()}) + json_data.update({'default_restricted_folder': default_restricted_folder.as_posix()}) + json_data.update({'default_third_party_folder': default_third_party_folder.as_posix()}) + + json_data.update({'engines': []}) + json_data.update({'projects': []}) + json_data.update({'external_subdirectories': []}) + json_data.update({'templates': []}) + json_data.update({'restricted': []}) + json_data.update({'repos': []}) + + default_restricted_folder_json = default_restricted_folder / 'restricted.json' + if not default_restricted_folder_json.is_file(): + with default_restricted_folder_json.open('w') as s: + restricted_json_data = {} + restricted_json_data.update({'restricted_name': 'o3de'}) + s.write(json.dumps(restricted_json_data, indent=4) + '\n') + + default_projects_restricted_folder_json = default_projects_restricted_folder / 'restricted.json' + if not default_projects_restricted_folder_json.is_file(): + with default_projects_restricted_folder_json.open('w') as s: + restricted_json_data = {} + restricted_json_data.update({'restricted_name': 'projects'}) + s.write(json.dumps(restricted_json_data, indent=4) + '\n') + + default_gems_restricted_folder_json = default_gems_restricted_folder / 'restricted.json' + if not default_gems_restricted_folder_json.is_file(): + with default_gems_restricted_folder_json.open('w') as s: + restricted_json_data = {} + restricted_json_data.update({'restricted_name': 'gems'}) + s.write(json.dumps(restricted_json_data, indent=4) + '\n') + + default_templates_restricted_folder_json = default_templates_restricted_folder / 'restricted.json' + if not default_templates_restricted_folder_json.is_file(): + with default_templates_restricted_folder_json.open('w') as s: + restricted_json_data = {} + restricted_json_data.update({'restricted_name': 'templates'}) + s.write(json.dumps(restricted_json_data, indent=4) + '\n') + + return json_data + def get_o3de_manifest() -> pathlib.Path: manifest_path = get_o3de_folder() / 'o3de_manifest.json' if not manifest_path.is_file(): - username = os.path.split(get_home_folder())[-1] - - o3de_folder = get_o3de_folder() - default_registry_folder = get_o3de_registry_folder() - default_cache_folder = get_o3de_cache_folder() - default_downloads_folder = get_o3de_download_folder() - default_logs_folder = get_o3de_logs_folder() - default_engines_folder = get_o3de_engines_folder() - default_projects_folder = get_o3de_projects_folder() - default_gems_folder = get_o3de_gems_folder() - default_templates_folder = get_o3de_templates_folder() - default_restricted_folder = get_o3de_restricted_folder() - default_third_party_folder = get_o3de_third_party_folder() - - default_projects_restricted_folder = default_projects_folder / 'Restricted' - default_projects_restricted_folder.mkdir(parents=True, exist_ok=True) - default_gems_restricted_folder = default_gems_folder / 'Restricted' - default_gems_restricted_folder.mkdir(parents=True, exist_ok=True) - default_templates_restricted_folder = default_templates_folder / 'Restricted' - default_templates_restricted_folder.mkdir(parents=True, exist_ok=True) - - json_data = {} - json_data.update({'o3de_manifest_name': f'{username}'}) - json_data.update({'origin': o3de_folder.as_posix()}) - json_data.update({'default_engines_folder': default_engines_folder.as_posix()}) - json_data.update({'default_projects_folder': default_projects_folder.as_posix()}) - json_data.update({'default_gems_folder': default_gems_folder.as_posix()}) - json_data.update({'default_templates_folder': default_templates_folder.as_posix()}) - json_data.update({'default_restricted_folder': default_restricted_folder.as_posix()}) - json_data.update({'default_third_party_folder': default_third_party_folder.as_posix()}) - - json_data.update({'engines': []}) - json_data.update({'projects': []}) - json_data.update({'external_subdirectories': []}) - json_data.update({'templates': []}) - json_data.update({'restricted': []}) - json_data.update({'repos': []}) - - default_restricted_folder_json = default_restricted_folder / 'restricted.json' - if not default_restricted_folder_json.is_file(): - with default_restricted_folder_json.open('w') as s: - restricted_json_data = {} - restricted_json_data.update({'restricted_name': 'o3de'}) - s.write(json.dumps(restricted_json_data, indent=4) + '\n') - json_data.update({'default_restricted_folder': default_restricted_folder.as_posix()}) - - default_projects_restricted_folder_json = default_projects_restricted_folder / 'restricted.json' - if not default_projects_restricted_folder_json.is_file(): - with default_projects_restricted_folder_json.open('w') as s: - restricted_json_data = {} - restricted_json_data.update({'restricted_name': 'projects'}) - s.write(json.dumps(restricted_json_data, indent=4) + '\n') - - default_gems_restricted_folder_json = default_gems_restricted_folder / 'restricted.json' - if not default_gems_restricted_folder_json.is_file(): - with default_gems_restricted_folder_json.open('w') as s: - restricted_json_data = {} - restricted_json_data.update({'restricted_name': 'gems'}) - s.write(json.dumps(restricted_json_data, indent=4) + '\n') - - default_templates_restricted_folder_json = default_templates_restricted_folder / 'restricted.json' - if not default_templates_restricted_folder_json.is_file(): - with default_templates_restricted_folder_json.open('w') as s: - restricted_json_data = {} - restricted_json_data.update({'restricted_name': 'templates'}) - s.write(json.dumps(restricted_json_data, indent=4) + '\n') + json_data = get_default_o3de_manifest_json_data() with manifest_path.open('w') as s: s.write(json.dumps(json_data, indent=4) + '\n') @@ -188,6 +192,7 @@ def load_o3de_manifest(manifest_path: pathlib.Path = None) -> dict: """ Loads supplied manifest file or ~/.o3de/o3de_manifest.json if None + raises Json.JSONDecodeError if manifest data could not be decoded to JSON :param manifest_path: optional path to manifest file to load """ if not manifest_path: @@ -196,8 +201,10 @@ def load_o3de_manifest(manifest_path: pathlib.Path = None) -> dict: try: json_data = json.load(f) except json.JSONDecodeError as e: - logger.error(f'Manifest json failed to load: {str(e)}') - return {} + logger.error(f'Manifest json failed to load at path "{manifest_path}": {str(e)}') + # Re-raise the exception and let the caller + # determine if they can proceed + raise else: return json_data @@ -455,7 +462,7 @@ def get_json_data_file(object_json: pathlib.Path, try: object_json_data = json.load(f) except json.JSONDecodeError as e: - logger.warn(f'{object_json} failed to load: {e}') + logger.warning(f'{object_json} failed to load: {e}') else: return object_json_data @@ -589,14 +596,14 @@ def get_registered(engine_name: str = None, if isinstance(engine, dict): engine_path = pathlib.Path(engine['path']).resolve() else: - engine_path = pathlib.Path(engine_object).resolve() + engine_path = pathlib.Path(engine).resolve() engine_json = engine_path / 'engine.json' with engine_json.open('r') as f: try: engine_json_data = json.load(f) except json.JSONDecodeError as e: - logger.warn(f'{engine_json} failed to load: {str(e)}') + logger.warning(f'{engine_json} failed to load: {str(e)}') else: this_engines_name = engine_json_data['engine_name'] if this_engines_name == engine_name: @@ -611,7 +618,7 @@ def get_registered(engine_name: str = None, try: project_json_data = json.load(f) except json.JSONDecodeError as e: - logger.warn(f'{project_json} failed to load: {str(e)}') + logger.warning(f'{project_json} failed to load: {str(e)}') else: this_projects_name = project_json_data['project_name'] if this_projects_name == project_name: @@ -626,7 +633,7 @@ def get_registered(engine_name: str = None, try: gem_json_data = json.load(f) except json.JSONDecodeError as e: - logger.warn(f'{gem_json} failed to load: {str(e)}') + logger.warning(f'{gem_json} failed to load: {str(e)}') else: this_gems_name = gem_json_data['gem_name'] if this_gems_name == gem_name: @@ -641,7 +648,7 @@ def get_registered(engine_name: str = None, try: template_json_data = json.load(f) except json.JSONDecodeError as e: - logger.warn(f'{template_path} failed to load: {str(e)}') + logger.warning(f'{template_path} failed to load: {str(e)}') else: this_templates_name = template_json_data['template_name'] if this_templates_name == template_name: @@ -656,7 +663,7 @@ def get_registered(engine_name: str = None, try: restricted_json_data = json.load(f) except json.JSONDecodeError as e: - logger.warn(f'{restricted_json} failed to load: {str(e)}') + logger.warning(f'{restricted_json} failed to load: {str(e)}') else: this_restricted_name = restricted_json_data['restricted_name'] if this_restricted_name == restricted_name: @@ -689,7 +696,7 @@ def get_registered(engine_name: str = None, try: repo_json_data = json.load(f) except json.JSONDecodeError as e: - logger.warn(f'{cache_file} failed to load: {str(e)}') + logger.warning(f'{cache_file} failed to load: {str(e)}') else: this_repos_name = repo_json_data['repo_name'] if this_repos_name == repo_name: diff --git a/scripts/o3de/o3de/print_registration.py b/scripts/o3de/o3de/print_registration.py index b164243b7c..4b4c9d6515 100644 --- a/scripts/o3de/o3de/print_registration.py +++ b/scripts/o3de/o3de/print_registration.py @@ -326,7 +326,7 @@ def print_repos_data(repos_data: dict) -> int: try: repo_json_data = json.load(s) except json.JSONDecodeError as e: - logger.warn(f'{cache_file} failed to load: {str(e)}') + logger.warning(f'{cache_file} failed to load: {str(e)}') else: print(f'{repo_uri}/repo.json cached as:') print(cache_file) diff --git a/scripts/o3de/o3de/register.py b/scripts/o3de/o3de/register.py index 8a2bb788aa..2500df1568 100644 --- a/scripts/o3de/o3de/register.py +++ b/scripts/o3de/o3de/register.py @@ -485,12 +485,12 @@ def register_repo(json_data: dict, json_data['repos'].remove(repo_uri) if remove: - logger.warn(f'Removing repo uri {repo_uri}.') + logger.warning(f'Removing repo uri {repo_uri}.') return 0 repo_sha256 = hashlib.sha256(url.encode()) cache_file = manifest.get_o3de_cache_folder() / str(repo_sha256.hexdigest() + '.json') - result = utils.download_file(parsed_uri, cache_file) + result = utils.download_file(parsed_uri, cache_file, True) if result == 0: json_data.setdefault('repos', []).insert(0, repo_uri) @@ -560,6 +560,107 @@ def register_default_third_party_folder(json_data: dict, manifest.get_o3de_third_party_folder() if remove else default_third_party_folder, 'default_third_party_folder') + +def remove_invalid_o3de_projects(manifest_path: pathlib.Path = None) -> int: + if not manifest_path: + manifest_path = manifest.get_o3de_manifest() + + json_data = manifest.load_o3de_manifest(manifest_path) + + result = 0 + + for project in json_data.get('projects', []): + if not validation.valid_o3de_project_json(pathlib.Path(project).resolve() / 'project.json'): + logger.warning(f"Project path {project} is invalid.") + # Attempt to unregister all invalid projects even if previous projects failed to unregister + # but combine the result codes of each command. + result = register(project_path=pathlib.Path(project), remove=True) or result + + return result + + +def remove_invalid_o3de_objects() -> None: + for engine_path in manifest.get_engines(): + if not validation.valid_o3de_engine_json(pathlib.Path(engine_path).resolve() / 'engine.json'): + logger.warning(f"Engine path {engine_path} is invalid.") + register(engine_path=engine_path, remove=True) + + remove_invalid_o3de_projects() + + for external in manifest.get_external_subdirectories(): + external = pathlib.Path(external).resolve() + if not external.is_dir(): + logger.warning(f"External subdirectory {external} is invalid.") + register(engine_path=engine_path, external_subdir_path=external, remove=True) + + for template in manifest.get_templates(): + if not validation.valid_o3de_template_json(pathlib.Path(template).resolve() / 'template.json'): + logger.warning(f"Template path {template} is invalid.") + register(template_path=template, remove=True) + + for restricted in manifest.get_restricted(): + if not validation.valid_o3de_restricted_json(pathlib.Path(restricted).resolve() / 'restricted.json'): + logger.warning(f"Restricted path {restricted} is invalid.") + register(restricted_path=restricted, remove=True) + + json_data = manifest.load_o3de_manifest() + default_engines_folder = pathlib.Path( + json_data.get('default_engines_folder', manifest.get_o3de_engines_folder())).resolve() + if not default_engines_folder.is_dir(): + new_default_engines_folder = manifest.get_o3de_folder() / 'Engines' + new_default_engines_folder.mkdir(parents=True, exist_ok=True) + logger.warning( + f"Default engines folder {default_engines_folder} is invalid. Set default {new_default_engines_folder}") + register(default_engines_folder=new_default_engines_folder.as_posix()) + + default_projects_folder = pathlib.Path( + json_data.get('default_projects_folder', manifest.get_o3de_projects_folder())).resolve() + if not default_projects_folder.is_dir(): + new_default_projects_folder = manifest.get_o3de_folder() / 'Projects' + new_default_projects_folder.mkdir(parents=True, exist_ok=True) + logger.warning( + f"Default projects folder {default_projects_folder} is invalid. Set default {new_default_projects_folder}") + register(default_projects_folder=new_default_projects_folder.as_posix()) + + default_gems_folder = pathlib.Path(json_data.get('default_gems_folder', manifest.get_o3de_gems_folder())).resolve() + if not default_gems_folder.is_dir(): + new_default_gems_folder = manifest.get_o3de_folder() / 'Gems' + new_default_gems_folder.mkdir(parents=True, exist_ok=True) + logger.warning(f"Default gems folder {default_gems_folder} is invalid." + f" Set default {new_default_gems_folder}") + register(default_gems_folder=new_default_gems_folder.as_posix()) + + default_templates_folder = pathlib.Path( + json_data.get('default_templates_folder', manifest.get_o3de_templates_folder())).resolve() + if not default_templates_folder.is_dir(): + new_default_templates_folder = manifest.get_o3de_folder() / 'Templates' + new_default_templates_folder.mkdir(parents=True, exist_ok=True) + logger.warning( + f"Default templates folder {default_templates_folder} is invalid." + f" Set default {new_default_templates_folder}") + register(default_templates_folder=new_default_templates_folder.as_posix()) + + default_restricted_folder = pathlib.Path( + json_data.get('default_restricted_folder', manifest.get_o3de_restricted_folder())).resolve() + if not default_restricted_folder.is_dir(): + default_restricted_folder = manifest.get_o3de_folder() / 'Restricted' + default_restricted_folder.mkdir(parents=True, exist_ok=True) + logger.warning( + f"Default restricted folder {default_restricted_folder} is invalid." + f" Set default {default_restricted_folder}") + register(default_restricted_folder=default_restricted_folder.as_posix()) + + default_third_party_folder = pathlib.Path( + json_data.get('default_third_party_folder', manifest.get_o3de_third_party_folder())).resolve() + if not default_third_party_folder.is_dir(): + default_third_party_folder = manifest.get_o3de_folder() / '3rdParty' + default_third_party_folder.mkdir(parents=True, exist_ok=True) + logger.warning( + f"Default 3rd Party folder {default_third_party_folder} is invalid." + f" Set default {default_third_party_folder}") + register(default_third_party_folder=default_third_party_folder.as_posix()) + + def register(engine_path: pathlib.Path = None, project_path: pathlib.Path = None, gem_path: pathlib.Path = None, @@ -604,7 +705,18 @@ def register(engine_path: pathlib.Path = None, :return: 0 for success or non 0 failure code """ - json_data = manifest.load_o3de_manifest() + try: + json_data = manifest.load_o3de_manifest() + except json.JSONDecodeError: + if not force: + logger.error('O3DE object registration has halted due to JSON Decode Error in manifest at path:' + f' "{manifest.get_o3de_manifest()}".' + '\n Registration can be forced using the --force option,' + ' but that will result in the manifest using default data') + return 1 + else: + # Use a default manifest data an proceed + json_data = manifest.get_default_o3de_manifest_json_data() result = 0 @@ -679,99 +791,6 @@ def register(engine_path: pathlib.Path = None, return result -def remove_invalid_o3de_projects(manifest_path: pathlib.Path = None) -> int: - if not manifest_path: - manifest_path = manifest.get_o3de_manifest() - - json_data = manifest.load_o3de_manifest(manifest_path) - - result = 0 - - for project in json_data.get('projects', []): - if not validation.valid_o3de_project_json(pathlib.Path(project).resolve() / 'project.json'): - logger.warn(f"Project path {project} is invalid.") - # Attempt to unregister all invalid projects even if previous projects failed to unregister - # but combine the result codes of each command. - result = register(project_path=pathlib.Path(project), remove=True) or result - - return result - -def remove_invalid_o3de_objects() -> None: - for engine_path in manifest.get_engines(): - if not validation.valid_o3de_engine_json(pathlib.Path(engine_path).resolve() / 'engine.json'): - logger.warn(f"Engine path {engine_path} is invalid.") - register(engine_path=engine_path, remove=True) - - remove_invalid_o3de_projects() - - for external in manifest.get_external_subdirectories(): - external = pathlib.Path(external).resolve() - if not external.is_dir(): - logger.warn(f"External subdirectory {external} is invalid.") - register(engine_path=engine_path, external_subdir_path=external, remove=True) - - for template in manifest.get_templates(): - if not validation.valid_o3de_template_json(pathlib.Path(template).resolve() / 'template.json'): - logger.warn(f"Template path {template} is invalid.") - register(template_path=template, remove=True) - - for restricted in manifest.get_restricted(): - if not validation.valid_o3de_restricted_json(pathlib.Path(restricted).resolve() / 'restricted.json'): - logger.warn(f"Restricted path {restricted} is invalid.") - register(restricted_path=restricted, remove=True) - - json_data = manifest.load_o3de_manifest() - default_engines_folder = pathlib.Path(json_data.get('default_engines_folder', manifest.get_o3de_engines_folder())).resolve() - if not default_engines_folder.is_dir(): - new_default_engines_folder = manifest.get_o3de_folder() / 'Engines' - new_default_engines_folder.mkdir(parents=True, exist_ok=True) - logger.warn( - f"Default engines folder {default_engines_folder} is invalid. Set default {new_default_engines_folder}") - register(default_engines_folder=new_default_engines_folder.as_posix()) - - default_projects_folder = pathlib.Path(json_data.get('default_projects_folder', manifest.get_o3de_projects_folder())).resolve() - if not default_projects_folder.is_dir(): - new_default_projects_folder = manifest.get_o3de_folder() / 'Projects' - new_default_projects_folder.mkdir(parents=True, exist_ok=True) - logger.warn( - f"Default projects folder {default_projects_folder} is invalid. Set default {new_default_projects_folder}") - register(default_projects_folder=new_default_projects_folder.as_posix()) - - default_gems_folder = pathlib.Path(json_data.get('default_gems_folder', manifest.get_o3de_gems_folder())).resolve() - if not default_gems_folder.is_dir(): - new_default_gems_folder = manifest.get_o3de_folder() / 'Gems' - new_default_gems_folder.mkdir(parents=True, exist_ok=True) - logger.warn(f"Default gems folder {default_gems_folder} is invalid." - f" Set default {new_default_gems_folder}") - register(default_gems_folder=new_default_gems_folder.as_posix()) - - default_templates_folder = pathlib.Path(json_data.get('default_templates_folder', manifest.get_o3de_templates_folder())).resolve() - if not default_templates_folder.is_dir(): - new_default_templates_folder = manifest.get_o3de_folder() / 'Templates' - new_default_templates_folder.mkdir(parents=True, exist_ok=True) - logger.warn( - f"Default templates folder {default_templates_folder} is invalid." - f" Set default {new_default_templates_folder}") - register(default_templates_folder=new_default_templates_folder.as_posix()) - - default_restricted_folder = pathlib.Path(json_data.get('default_restricted_folder', manifest.get_o3de_restricted_folder())).resolve() - if not default_restricted_folder.is_dir(): - default_restricted_folder = manifest.get_o3de_folder() / 'Restricted' - default_restricted_folder.mkdir(parents=True, exist_ok=True) - logger.warn( - f"Default restricted folder {default_restricted_folder} is invalid." - f" Set default {default_restricted_folder}") - register(default_restricted_folder=default_restricted_folder.as_posix()) - - default_third_party_folder = pathlib.Path(json_data.get('default_third_party_folder', manifest.get_o3de_third_party_folder())).resolve() - if not default_third_party_folder.is_dir(): - default_third_party_folder = manifest.get_o3de_folder() / '3rdParty' - default_third_party_folder.mkdir(parents=True, exist_ok=True) - logger.warn( - f"Default 3rd Party folder {default_third_party_folder} is invalid." - f" Set default {default_third_party_folder}") - register(default_third_party_folder=default_third_party_folder.as_posix()) - def _run_register(args: argparse) -> int: if args.override_home_folder: diff --git a/scripts/o3de/o3de/repo.py b/scripts/o3de/o3de/repo.py index c8fac38605..22c7c54c8f 100644 --- a/scripts/o3de/o3de/repo.py +++ b/scripts/o3de/o3de/repo.py @@ -9,7 +9,6 @@ import json import logging import pathlib -import shutil import urllib.parse import urllib.request import hashlib @@ -24,6 +23,7 @@ def process_add_o3de_repo(file_name: str or pathlib.Path, repo_set: set) -> int: file_name = pathlib.Path(file_name).resolve() if not validation.valid_o3de_repo_json(file_name): + logger.error(f'Repository JSON {file_name} could not be loaded or is missing required values') return 1 cache_folder = manifest.get_o3de_cache_folder() @@ -114,7 +114,7 @@ def get_gem_json_paths_from_cached_repo(repo_uri: str) -> set: file_name = pathlib.Path(cache_filename).resolve() if not file_name.is_file(): - logger.error(f'Could not find cached repo json file for {repo_uri}') + logger.error(f'Could not find cached repository json file for {repo_uri}. Try refreshing the repository.') return gem_set with file_name.open('r') as f: @@ -139,7 +139,7 @@ def get_gem_json_paths_from_cached_repo(repo_uri: str) -> set: if cache_gem_json_filepath.is_file(): gem_set.add(cache_gem_json_filepath) else: - logger.warn(f'Could not find cached gem json file {cache_gem_json_filepath} for {o3de_object_uri} in repo {repo_uri}') + logger.warning(f'Could not find cached gem json file {cache_gem_json_filepath} for {o3de_object_uri} in repo {repo_uri}') return gem_set @@ -167,6 +167,7 @@ def refresh_repo(repo_uri: str, download_file_result = utils.download_file(parsed_uri, cache_file, True) if download_file_result != 0: + logger.error(f'Repo json {repo_uri} could not download.') return download_file_result if not validation.valid_o3de_repo_json(cache_file): @@ -217,10 +218,10 @@ def search_repo(manifest_json_data: dict, json_key = 'gem_name' search_func = lambda manifest_json_data: manifest_json_data if manifest_json_data.get(json_key, '') == gem_name else None elif isinstance(template_name, str) or isinstance(template_name, pathlib.PurePath): - o3de_object_uris = manifest_json_data['template'] + o3de_object_uris = manifest_json_data['templates'] manifest_json = 'template.json' json_key = 'template_name' - search_func = lambda manifest_json_data: manifest_json_data if manifest_json_data.get(json_key, '') == template_name_name else None + search_func = lambda manifest_json_data: manifest_json_data if manifest_json_data.get(json_key, '') == template_name else None elif isinstance(restricted_name, str) or isinstance(restricted_name, pathlib.PurePath): o3de_object_uris = manifest_json_data['restricted'] manifest_json = 'restricted.json' @@ -257,7 +258,7 @@ def search_o3de_object(manifest_json, o3de_object_uris, search_func): try: manifest_json_data = json.load(f) except json.JSONDecodeError as e: - logger.warn(f'{cache_file} failed to load: {str(e)}') + logger.warning(f'{cache_file} failed to load: {str(e)}') else: result_json_data = search_func(manifest_json_data) if result_json_data: diff --git a/scripts/o3de/o3de/utils.py b/scripts/o3de/o3de/utils.py index 88f84ae75e..6f1dd8b2c5 100644 --- a/scripts/o3de/o3de/utils.py +++ b/scripts/o3de/o3de/utils.py @@ -125,7 +125,8 @@ def download_file(parsed_uri, download_path: pathlib.Path, force_overwrite: bool """ if download_path.is_file(): if not force_overwrite: - logger.warn(f'File already downloaded to {download_path}.') + logger.error(f'File already downloaded to {download_path} and force_overwrite is not set.') + return 1 else: try: os.unlink(download_path) @@ -134,20 +135,25 @@ def download_file(parsed_uri, download_path: pathlib.Path, force_overwrite: bool return 1 if parsed_uri.scheme in ['http', 'https', 'ftp', 'ftps']: - with urllib.request.urlopen(parsed_uri.geturl()) as s: - download_file_size = 0 - try: - download_file_size = s.headers['content-length'] - except KeyError: - pass - def download_progress(downloaded_bytes): - if download_progress_callback: - return download_progress_callback(int(downloaded_bytes), int(download_file_size)) - return False - with download_path.open('wb') as f: - download_cancelled = copyfileobj(s, f, download_progress) - if download_cancelled: - return 1 + try: + with urllib.request.urlopen(parsed_uri.geturl()) as s: + download_file_size = 0 + try: + download_file_size = s.headers['content-length'] + except KeyError: + pass + def download_progress(downloaded_bytes): + if download_progress_callback: + return download_progress_callback(int(downloaded_bytes), int(download_file_size)) + return False + with download_path.open('wb') as f: + download_cancelled = copyfileobj(s, f, download_progress) + if download_cancelled: + logger.info(f'Download of file to {download_path} cancelled.') + return 1 + except urllib.error.HTTPError as e: + logger.error(f'HTTP Error {e.code} opening {parsed_uri.geturl()}') + return 1 else: origin_file = pathlib.Path(parsed_uri.geturl()).resolve() if not origin_file.is_file(): @@ -167,7 +173,7 @@ def download_zip_file(parsed_uri, download_zip_path: pathlib.Path, force_overwri return download_file_result if not zipfile.is_zipfile(download_zip_path): - logger.error(f"File zip {download_zip_path} is invalid.") + logger.error(f"File zip {download_zip_path} is invalid. Try re-downloading the file.") download_zip_path.unlink() return 1 diff --git a/scripts/signer/Platform/Linux/o3de-releases.gpg b/scripts/signer/Platform/Linux/o3de-releases.gpg new file mode 100644 index 0000000000..602d822673 --- /dev/null +++ b/scripts/signer/Platform/Linux/o3de-releases.gpg @@ -0,0 +1,53 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBGGWliEBEADq6bmhQbp42ZKQ4NwlnWeyFf6LhcnhafnBrGYV+XGyva2mP6kV +I4w80V9BQSHqpYt2R71tVDxfa+DicH4NDA1NmWte+hZ5eENgvoj6VJrqZzUZihwy +DZTaw4oMMabAK4a4b4G+BMV7iW7b4HWLEUH4Vmgq9LxU9qz9Ni5BIIyyp9Abh0kS +fbF3/ZQKdNTcyoVNOlm/5ohQsEJCftGi2CJzqybgS+fRQxaC/v9vAt3/A9gCEccD +LBFHkzz+58ZumEP2CXOoy/TDYhx7jMJFRzy0o/vJTEOKoWMQS3t9CIcOuE3enjsK +0GlFZPhTZREiTosJy9sNuTM8bJBEcrGfSfZZ0GUAF8IvAJiHppSTqFe/H3iqHnww +1I+ap/v2nI4AzRljQQ5RBsHJxHuHeuyUOFqwuGddvhYssiG9KzTeov03anA8BRY6 +235kWQkR5+CuMb0sgSkwhCQ3tz3Oc20l8g8jRTeLjIkqVNDN6+FffBuJgJjU7eHu +01xw0mRqjxIPp21XsOzw4+hNQM98QLUhJXu5/hImP37V9223qyZMeCyODHyrk0h8 +wi5J6ZMEVymNDNRJ2dgLrDM2GG5DbY5rOVPpu0bsPHqGMHpipDd7hNQd78tRh6Jf +CzhLFiIMnHH+7c7HxhJUvbewHUiCyRQ7H3RRHi8cZMn2Wa3g13rYtJzSgQARAQAB +tFtvM2RlYmluYXJpZXMub3JnIChPM0RFIEJpbmFyeSBQcm9qZWN0IGEgU2VyaWVz +IG9mIExGIFByb2plY3RzLCBMTEMpIDxpbmZvQG8zZGViaW5hcmllcy5vcmc+iQJU +BBMBCgA+FiEEXtkClauXt9hZ4PvRSNjOEOJZqKQFAmGWliECGwMFCQWmPYAFCwkI +BwIGFQoJCAsCBBYCAwECHgECF4AACgkQSNjOEOJZqKTy8hAAs9YueTc6a3UNjWbN +Zx9L3bmLqMITthadFv1LuntCrU/hte44FeP74acqSZDGfWN381iYMGlw0ECsJB/d +DnElITiO9W1MNelansiX5zHlVUd6HuuEVZTsoQodWgbIEvs5bLA2HqKk03Mcb9uW +vyeYfOjknedZ7sfoe7HnkYEaPBgb/5Fkn6wTnDTb4CMAdZoy6+nfVQdTHIQ+PsDY +hlCR2q+jgZaNyRiW3gIz4PPpgaNIxT8JmRvGC/gseDf3l6xy4p7SH8eEsK8+oy2G +SrFxE6Ez9SySVc3PZHiS9eCEsoNhqAzV5RRP/UvpWhxM/mAgJHJI+wy5pbpFeLr3 +zTEOcCgXxVGBSX3BocoP8SLFP5zNocKhiG7eXQWvg/I1oGr8qPxC4aE+h6xtTaw+ +6/Wpd2PRMXoVVHDCuJy3qTNLus5sF6vmUDc69MYfzCmLqZDVjVdcTMgvQYv1VnOz +Td+/pnTIs4AYM0pQY2P/GdjIdGWVuRc1ssDisdjzUQvZMNKC9hnkKlJF0utCDqb1 +FAyN8u9dpbR3Yy98qy1thp2hebd6lVpLPU0YKUSYBGiyU74lIEqJUM9bnlLxFWgL +lGdjSpDbNUPIZrhVk86xR7EI3W3Br/5ygi0imtah96jdoHdW0XJzWAOTJBSmJUgD +vRtomV24xuu/lZZCGUXhy3nIFfi5Ag0EYZaWIQEQAKp1dCgW1r9WXEEiOnrgHSBb +GLKmJJuJEM7+hEW18PoSph+lmO/gqz/GKf647HWFon101+d80yexT4mFdT9G24L6 +WmPsJeVswcFzRSergq7/OTD5jmmElMmohTOlAApzhb7UUFotgvSOiwrxyhK5Hhk3 ++XCZGurZdKd02BVrwdI06I+t6t1BJAazoEYMcmwhvweW1DtKjMCdf+kUMZ/YlTos +VKXFz0tEANu4BDgNdO/jTBh+dIFGjxfMPSYCnUpz4BJQLnlRagNj86SetNl5qFVn +K6d8CCuqax2vk9MLw+fLOTbvde+GzamEYXYA840nffHx11V4JaL+xqGSWofh+r1q +4XI0WD7Ly8BTj3Gx8xOeVKGSetfQf+6w7r2X5Yg1iGN5y8e+7VJ9j4Ntn0bbk2Go +O7WDx3yZBqS7PiII5+ItLOIFfVqwGZzJXR3OBoRQWji03K/RXjthiyEHv0JBQFJi +95vBT1X3u5dgngQNSAYkLfMjPqwCmzOrIeZhkB9g/qvDwp1i80L7jTR+iOQPYa+9 +JuUwBBKfi6GqqbAoD0tLV+1/rnoi5aalN7WcgfBvIK7KqeGGjM9oJlotrkJf5Lsu +1RLdHlOTPq7ZNQ6MFB7BOi6KWAiWTARZchEJKAR4jqLLnU+qcV0QM0jUK2E/yzCG +KoID/HV+xipxdzAW+MiBABEBAAGJAjwEGAEKACYWIQRe2QKVq5e32Fng+9FI2M4Q +4lmopAUCYZaWIQIbDAUJBaY9gAAKCRBI2M4Q4lmopGOsD/9qqiU13ohVX/UjCZj3 +0Q7ShuC0mgRh8zxsfeFVQu5JkYXgSbe+4emsmzbSJ9VaZe1AOa+UGBNJG0BdHlbb +kZ1uEJJ5TkKzuPbJnF5Bj6N1Qk8C4dBMyTuouF+s5fwBgiz+eDTyRa/N6QSbPkvA +QiuivECA13gahp9sfcn0TGwLmqR6GyKWHNp3bCsxL1j3YKfEP2FTT1ko0V3qURtV +8FNuzA/kupgPVFgG60kujJ/PzDZ772k5TEpHRBw3Z6xfrS56o/eSXJunjFQPsTuw +5zJoMXUybGoOdBErEHL0bYw42jobJ+d1mOda9LPaA/ea51WWuyXIr+S66aHSgn0F +K5QewNazYpGekmQ6gpP7B9dUcGxJW3Hl3qkUV98GLANtAiUhr99Hx4oYD5lXE3jy +HN4nzFCBxG35rQzJ/GQ7wX93HgMU8pq20sHDZxNY9tD/TEMdeY2UashkMjjjTmT0 +7HySlvYJLpElfNlhhm/8H5Lo2UBIex+xemssOT+De46fU0EQI6zDPnFxABIy7ECF +VEVuMAyPjgUgxD2XyXk7yfxHs0cO34k0lhlT3D1mGF8VYZuTLJVtI7TQ72JhLmGy +oec1he0q8civF8GrSfKSObm1pN0/q9TtfYso6T/D3J13eJ1FW06+6iTl9bqUMqqS +uPvKa1dp3CCS3lhFfmP1Gcxi+w== +=2u1v +-----END PGP PUBLIC KEY BLOCK-----