diff --git a/AutomatedTesting/Editor/Scripts/scene_mesh_to_prefab.py b/AutomatedTesting/Editor/Scripts/scene_mesh_to_prefab.py index 6151585f26..db8df09091 100644 --- a/AutomatedTesting/Editor/Scripts/scene_mesh_to_prefab.py +++ b/AutomatedTesting/Editor/Scripts/scene_mesh_to_prefab.py @@ -8,6 +8,7 @@ import azlmbr.bus import azlmbr.math +from scene_api.scene_data import PrimitiveShape, DecompositionMode from scene_helpers import * @@ -41,6 +42,35 @@ def add_material_component(entity_id): raise RuntimeError("UpdateComponentForEntity for editor_material_component failed") +def add_physx_meshes(scene_manifest: sceneData.SceneManifest, source_file_name: str, mesh_name_list: List, all_node_paths: List[str]): + first_mesh = mesh_name_list[0].get_path() + + # Add a Box Primitive PhysX mesh with a comment + physx_box = scene_manifest.add_physx_primitive_mesh_group(source_file_name + "_box", PrimitiveShape.BOX, 0.0, None) + scene_manifest.physx_mesh_group_add_comment(physx_box, "This is a box primitive") + # Select the first mesh, unselect every other node + scene_manifest.physx_mesh_group_add_selected_node(physx_box, first_mesh) + + for node in all_node_paths: + if node != first_mesh: + scene_manifest.physx_mesh_group_add_unselected_node(physx_box, node) + + # Add a Convex Mesh PhysX mesh with a comment + convex_mesh = scene_manifest.add_physx_convex_mesh_group(source_file_name + "_convex", 0.08, .0004, + True, True, True, True, True, 24, True, "Glass") + scene_manifest.physx_mesh_group_add_comment(convex_mesh, "This is a convex mesh") + # Select/Unselect nodes using lists + all_except_first_mesh = [x for x in all_node_paths if x != first_mesh] + scene_manifest.physx_mesh_group_add_selected_unselected_nodes(convex_mesh, [first_mesh], all_except_first_mesh) + + # Configure mesh decomposition for this mesh + scene_manifest.physx_mesh_group_decompose_meshes(convex_mesh, 512, 32, .002, 100100, DecompositionMode.TETRAHEDRON, + 0.06, 0.055, 0.00015, 3, 3, True, False) + + # Add a Triangle mesh + triangle = scene_manifest.add_physx_triangle_mesh_group(source_file_name + "_triangle", False, True, True, True, True, True) + scene_manifest.physx_mesh_group_add_selected_unselected_nodes(triangle, [first_mesh], all_except_first_mesh) + def update_manifest(scene): import uuid, os import azlmbr.scene.graph @@ -62,6 +92,8 @@ def update_manifest(scene): previous_entity_id = azlmbr.entity.InvalidEntityId first_mesh = True + add_physx_meshes(scene_manifest, source_filename_only, mesh_name_list, all_node_paths) + # Loop every mesh node in the scene for activeMeshIndex in range(len(mesh_name_list)): mesh_name = mesh_name_list[activeMeshIndex] @@ -106,6 +138,26 @@ def update_manifest(scene): if not result: raise RuntimeError("UpdateComponentForEntity failed for Mesh component") + # Add a physics component referencing the triangle mesh we made for the first node + if previous_entity_id is None: + physx_mesh_component = azlmbr.entity.EntityUtilityBus(azlmbr.bus.Broadcast, "GetOrAddComponentByTypeName", + entity_id, "{FD429282-A075-4966-857F-D0BBF186CFE6} EditorColliderComponent") + + json_update = json.dumps({ + "ShapeConfiguration": { + "PhysicsAsset": { + "Asset": { + "assetHint": os.path.join(source_relative_path, source_filename_only + "_triangle.pxmesh") + } + } + } + }) + + result = azlmbr.entity.EntityUtilityBus(azlmbr.bus.Broadcast, "UpdateComponentForEntity", entity_id, physx_mesh_component, json_update) + + if not result: + raise RuntimeError("UpdateComponentForEntity failed for PhysX mesh component") + # an example of adding a material component to override the default material if previous_entity_id is not None and first_mesh: first_mesh = False diff --git a/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Sandbox.py b/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Sandbox.py index 292bb9c19c..f0bb6e72ca 100644 --- a/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Sandbox.py +++ b/AutomatedTesting/Gem/PythonTests/Atom/TestSuite_Sandbox.py @@ -12,6 +12,7 @@ import pytest import ly_test_tools.environment.file_system as file_system import editor_python_test_tools.hydra_test_utils as hydra +from ly_test_tools.o3de.editor_test import EditorSharedTest, EditorTestSuite from Atom.atom_utils.atom_constants import LIGHT_TYPES logger = logging.getLogger(__name__) @@ -159,3 +160,17 @@ class TestMaterialEditorBasicTests(object): enable_prefab_system=False, ) + +@pytest.mark.parametrize("project", ["AutomatedTesting"]) +@pytest.mark.parametrize("launcher_platform", ['windows_editor']) +class TestAutomation(EditorTestSuite): + + enable_prefab_system = False + + @pytest.mark.test_case_id("C36529666") + class AtomEditorComponentsLevel_DiffuseGlobalIlluminationAdded(EditorSharedTest): + from Atom.tests import hydra_AtomEditorComponentsLevel_DiffuseGlobalIlluminationAdded as test_module + + @pytest.mark.test_case_id("C36525660") + class AtomEditorComponentsLevel_DisplayMapperAdded(EditorSharedTest): + from Atom.tests import hydra_AtomEditorComponentsLevel_DisplayMapperAdded as test_module diff --git a/AutomatedTesting/Gem/PythonTests/Atom/atom_utils/atom_constants.py b/AutomatedTesting/Gem/PythonTests/Atom/atom_utils/atom_constants.py index 290e1cd2e4..c73f75fbc0 100644 --- a/AutomatedTesting/Gem/PythonTests/Atom/atom_utils/atom_constants.py +++ b/AutomatedTesting/Gem/PythonTests/Atom/atom_utils/atom_constants.py @@ -18,6 +18,13 @@ LIGHT_TYPES = { 'simple_spot': 7, } +# Qualiity Level settings for Diffuse Global Illumination level component +GLOBAL_ILLUMINATION_QUALITY = { + 'Low': 0, + 'Medium': 1, + 'High': 2, +} + class AtomComponentProperties: """ @@ -116,6 +123,21 @@ class AtomComponentProperties: } return properties[property] + @staticmethod + def diffuse_global_illumination(property: str = 'name') -> str: + """ + Diffuse Global Illumination level component properties. + Controls global settings for Diffuse Probe Grid components. + - 'Quality Level' from atom_constants.py GLOBAL_ILLUMINATION_QUALITY + :param property: From the last element of the property tree path. Default 'name' for component name string. + :return: Full property path OR component name if no property specified. + """ + properties = { + 'name': 'Diffuse Global Illumination', + 'Quality Level': 'Controller|Configuration|Quality Level' + } + return properties[property] + @staticmethod def diffuse_probe_grid(property: str = 'name') -> str: """ @@ -148,7 +170,8 @@ class AtomComponentProperties: @staticmethod def display_mapper(property: str = 'name') -> str: """ - Display Mapper component properties. + Display Mapper level component properties. + - 'Enable LDR color grading LUT' toggles the use of LDR color grading LUT - 'LDR color Grading LUT' is the Low Definition Range (LDR) color grading for Look-up Textures (LUT) which is an Asset.id value corresponding to a lighting asset file. :param property: From the last element of the property tree path. Default 'name' for component name string. @@ -156,6 +179,7 @@ class AtomComponentProperties: """ properties = { 'name': 'Display Mapper', + 'Enable LDR color grading LUT': 'Controller|Configuration|Enable LDR color grading LUT', 'LDR color Grading LUT': 'Controller|Configuration|LDR color Grading LUT', } return properties[property] diff --git a/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponentsLevel_DiffuseGlobalIlluminationAdded.py b/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponentsLevel_DiffuseGlobalIlluminationAdded.py new file mode 100644 index 0000000000..ddcd5c3c46 --- /dev/null +++ b/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponentsLevel_DiffuseGlobalIlluminationAdded.py @@ -0,0 +1,109 @@ +""" +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 +""" + +class Tests: + creation_undo = ( + "UNDO Level component addition success", + "UNDO Level component addition failed") + creation_redo = ( + "REDO Level component addition success", + "REDO Level component addition failed") + diffuse_global_illumination_component = ( + "Level has a Diffuse Global Illumination component", + "Level failed to find Diffuse Global Illumination component") + diffuse_global_illumination_quality = ( + "Quality Level set", + "Quality Level could not be set") + enter_game_mode = ( + "Entered game mode", + "Failed to enter game mode") + exit_game_mode = ( + "Exited game mode", + "Couldn't exit game mode") + + +def AtomEditorComponentsLevel_DiffuseGlobalIllumination_AddedToEntity(): + """ + Summary: + Tests the Diffuse Global Illumination level component can be added to the level entity and is stable. + + Test setup: + - Wait for Editor idle loop. + - Open the "Base" level. + + Expected Behavior: + The component can be added, used in game mode, and has accurate required components. + Creation and deletion undo/redo should also work. + + Test Steps: + 1) Add Diffuse Global Illumination level component to the level entity. + 2) UNDO the level component addition. + 3) REDO the level component addition. + 4) Set Quality Level property to Low + 5) Enter/Exit game mode. + 6) Look for errors and asserts. + + :return: None + """ + + import azlmbr.legacy.general as general + + from editor_python_test_tools.editor_entity_utils import EditorLevelEntity + from editor_python_test_tools.utils import Report, Tracer, TestHelper + from Atom.atom_utils.atom_constants import AtomComponentProperties, GLOBAL_ILLUMINATION_QUALITY + + with Tracer() as error_tracer: + # Test setup begins. + # Setup: Wait for Editor idle loop before executing Python hydra scripts then open "Base" level. + TestHelper.init_idle() + TestHelper.open_level("", "Base") + + # Test steps begin. + # 1. Add Diffuse Global Illumination level component to the level entity. + diffuse_global_illumination_component = EditorLevelEntity.add_component( + AtomComponentProperties.diffuse_global_illumination()) + Report.critical_result( + Tests.diffuse_global_illumination_component, + EditorLevelEntity.has_component(AtomComponentProperties.diffuse_global_illumination())) + + # 2. UNDO the level component addition. + # -> UNDO component addition. + general.undo() + general.idle_wait_frames(1) + Report.result(Tests.creation_undo, + not EditorLevelEntity.has_component(AtomComponentProperties.diffuse_global_illumination())) + + # 3. REDO the level component addition. + # -> REDO component addition. + general.redo() + general.idle_wait_frames(1) + Report.result(Tests.creation_redo, + EditorLevelEntity.has_component(AtomComponentProperties.diffuse_global_illumination())) + + # 4. Set Quality Level property to Low + diffuse_global_illumination_component.set_component_property_value( + AtomComponentProperties.diffuse_global_illumination('Quality Level', GLOBAL_ILLUMINATION_QUALITY['Low'])) + quality = diffuse_global_illumination_component.get_component_property_value( + AtomComponentProperties.diffuse_global_illumination('Quality Level')) + Report.result(diffuse_global_illumination_quality, quality == GLOBAL_ILLUMINATION_QUALITY['Low']) + + # 5. Enter/Exit game mode. + TestHelper.enter_game_mode(Tests.enter_game_mode) + general.idle_wait_frames(1) + TestHelper.exit_game_mode(Tests.exit_game_mode) + + # 6. Look for errors and asserts. + TestHelper.wait_for_condition(lambda: error_tracer.has_errors or error_tracer.has_asserts, 1.0) + for error_info in error_tracer.errors: + Report.info(f"Error: {error_info.filename} {error_info.function} | {error_info.message}") + for assert_info in error_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(AtomEditorComponentsLevel_DiffuseGlobalIllumination_AddedToEntity) diff --git a/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponentsLevel_DisplayMapperAdded.py b/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponentsLevel_DisplayMapperAdded.py new file mode 100644 index 0000000000..c050dd76d4 --- /dev/null +++ b/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponentsLevel_DisplayMapperAdded.py @@ -0,0 +1,124 @@ +""" +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 +""" + + +class Tests: + creation_undo = ( + "UNDO level component addition success", + "UNDO level component addition failed") + creation_redo = ( + "REDO Level component addition success", + "REDO Level component addition failed") + display_mapper_component = ( + "Level has a Display Mapper component", + "Level failed to find Display Mapper component") + ldr_color_grading_lut = ( + "LDR color Grading LUT asset set", + "LDR color Grading LUT asset could not be set") + enable_ldr_color_grading_lut = ( + "Enable LDR color grading LUT set", + "Enable LDR color grading LUT could not be set") + enter_game_mode = ( + "Entered game mode", + "Failed to enter game mode") + exit_game_mode = ( + "Exited game mode", + "Couldn't exit game mode") + + +def AtomEditorComponentsLevel_DisplayMapper_AddedToEntity(): + """ + Summary: + Tests the Display Mapper level component can be added to the level entity and has the expected functionality. + + Test setup: + - Wait for Editor idle loop. + - Open the "Base" level. + + Expected Behavior: + The component can be added, used in game mode, and has accurate required components. + Creation and deletion undo/redo should also work. + + Test Steps: + 1) Add Display Mapper level component to the level entity. + 2) UNDO the level component addition. + 3) REDO the level component addition. + 4) Set LDR color Grading LUT asset. + 5) Set Enable LDR color grading LUT property True + 6) Enter/Exit game mode. + 7) Look for errors and asserts. + + :return: None + """ + import os + + import azlmbr.legacy.general as general + + from editor_python_test_tools.asset_utils import Asset + from editor_python_test_tools.editor_entity_utils import EditorLevelEntity + from editor_python_test_tools.utils import Report, Tracer, TestHelper + from Atom.atom_utils.atom_constants import AtomComponentProperties + + with Tracer() as error_tracer: + # Test setup begins. + # Setup: Wait for Editor idle loop before executing Python hydra scripts then open "Base" level. + TestHelper.init_idle() + TestHelper.open_level("", "Base") + + # Test steps begin. + # 1. Add Display Mapper level component to the level entity. + display_mapper_component = EditorLevelEntity.add_component(AtomComponentProperties.display_mapper()) + Report.critical_result( + Tests.display_mapper_component, + EditorLevelEntity.has_component(AtomComponentProperties.display_mapper())) + + # 2. UNDO the level component addition. + # -> UNDO component addition. + general.undo() + general.idle_wait_frames(1) + Report.result(Tests.creation_undo, not EditorLevelEntity.has_component(AtomComponentProperties.display_mapper())) + + # 3. REDO the level component addition. + # -> REDO component addition. + general.redo() + general.idle_wait_frames(1) + Report.result(Tests.creation_redo, EditorLevelEntity.has_component(AtomComponentProperties.display_mapper())) + + # 4. Set LDR color Grading LUT asset. + display_mapper_asset_path = os.path.join("TestData", "test.lightingpreset.azasset") + display_mapper_asset = Asset.find_asset_by_path(display_mapper_asset_path, False) + display_mapper_component.set_component_property_value( + AtomComponentProperties.display_mapper('LDR color Grading LUT'), display_mapper_asset.id) + Report.result( + Tests.ldr_color_grading_lut, + display_mapper_component.get_component_property_value( + AtomComponentProperties.display_mapper('LDR color Grading LUT')) == display_mapper_asset.id) + + # 5. Set Enable LDR color grading LUT property True + display_mapper_component.set_component_property_value( + AtomComponentProperties.display_mapper('Enable LDR color grading LUT'), True) + Report.result( + Test.enable_ldr_color_grading_lut, + display_mapper_component.get_component_property_value( + AtomComponentProperties.display_mapper('Enable LDR color grading LUT')) is True) + + # 6. Enter/Exit game mode. + TestHelper.enter_game_mode(Tests.enter_game_mode) + general.idle_wait_frames(1) + TestHelper.exit_game_mode(Tests.exit_game_mode) + + # 7. Look for errors and asserts. + TestHelper.wait_for_condition(lambda: error_tracer.has_errors or error_tracer.has_asserts, 1.0) + for error_info in error_tracer.errors: + Report.info(f"Error: {error_info.filename} {error_info.function} | {error_info.message}") + for assert_info in error_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(AtomEditorComponentsLevel_DisplayMapper_AddedToEntity) diff --git a/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponents_DisplayMapperAdded.py b/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponents_DisplayMapperAdded.py index e2e432364d..558d69046e 100644 --- a/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponents_DisplayMapperAdded.py +++ b/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponents_DisplayMapperAdded.py @@ -7,15 +7,6 @@ SPDX-License-Identifier: Apache-2.0 OR MIT class Tests: - camera_creation = ( - "Camera Entity successfully created", - "Camera Entity failed to be created") - camera_component_added = ( - "Camera component was added to entity", - "Camera component failed to be added to entity") - camera_component_check = ( - "Entity has a Camera component", - "Entity failed to find Camera component") creation_undo = ( "UNDO Entity creation success", "UNDO Entity creation failed") @@ -43,6 +34,9 @@ class Tests: ldr_color_grading_lut = ( "LDR color Grading LUT asset set", "LDR color Grading LUT asset could not be set") + enable_ldr_color_grading_lut = ( + "Enable LDR color grading LUT set", + "Enable LDR color grading LUT could not be set") entity_deleted = ( "Entity deleted", "Entity was not deleted") @@ -72,14 +66,15 @@ def AtomEditorComponents_DisplayMapper_AddedToEntity(): 2) Add Display Mapper component to Display Mapper entity. 3) UNDO the entity creation and component addition. 4) REDO the entity creation and component addition. - 5) Enter/Exit game mode. - 6) Test IsHidden. - 7) Test IsVisible. - 8) Set LDR color Grading LUT asset. - 9) Delete Display Mapper entity. - 10) UNDO deletion. - 11) REDO deletion. - 12) Look for errors and asserts. + 5) Set LDR color Grading LUT asset. + 6) Set Enable LDR color grading LUT property True + 7) Enter/Exit game mode. + 8) Test IsHidden. + 9) Test IsVisible. + 10) Delete Display Mapper entity. + 11) UNDO deletion. + 12) REDO deletion. + 13) Look for errors and asserts. :return: None """ @@ -133,43 +128,51 @@ def AtomEditorComponents_DisplayMapper_AddedToEntity(): general.idle_wait_frames(1) Report.result(Tests.creation_redo, display_mapper_entity.exists()) - # 5. Enter/Exit game mode. + # 5. Set LDR color Grading LUT asset. + display_mapper_asset_path = os.path.join("TestData", "test.lightingpreset.azasset") + display_mapper_asset = Asset.find_asset_by_path(display_mapper_asset_path, False) + display_mapper_component.set_component_property_value( + AtomComponentProperties.display_mapper("LDR color Grading LUT"), display_mapper_asset.id) + Report.result( + Tests.ldr_color_grading_lut, + display_mapper_component.get_component_property_value( + AtomComponentProperties.display_mapper("LDR color Grading LUT")) == display_mapper_asset.id) + + # 6. Set Enable LDR color grading LUT property True + display_mapper_component.set_component_property_value( + AtomComponentProperties.display_mapper('Enable LDR color grading LUT'), True) + Report.result( + Tests.enable_ldr_color_grading_lut, + display_mapper_component.get_component_property_value( + AtomComponentProperties.display_mapper('Enable LDR color grading LUT')) is True) + + # 7. Enter/Exit game mode. TestHelper.enter_game_mode(Tests.enter_game_mode) general.idle_wait_frames(1) TestHelper.exit_game_mode(Tests.exit_game_mode) - # 6. Test IsHidden. + # 8. Test IsHidden. display_mapper_entity.set_visibility_state(False) Report.result(Tests.is_hidden, display_mapper_entity.is_hidden() is True) - # 7. Test IsVisible. + # 9. Test IsVisible. display_mapper_entity.set_visibility_state(True) general.idle_wait_frames(1) Report.result(Tests.is_visible, display_mapper_entity.is_visible() is True) - # 8. Set LDR color Grading LUT asset. - display_mapper_asset_path = os.path.join("TestData", "test.lightingpreset.azasset") - display_mapper_asset = Asset.find_asset_by_path(display_mapper_asset_path, False) - display_mapper_component.set_component_property_value( - AtomComponentProperties.display_mapper("LDR color Grading LUT"), display_mapper_asset.id) - Report.result( - Tests.ldr_color_grading_lut, - display_mapper_component.get_component_property_value( - AtomComponentProperties.display_mapper("LDR color Grading LUT")) == display_mapper_asset.id) - - # 9. Delete Display Mapper entity. + # 10. Delete Display Mapper entity. display_mapper_entity.delete() Report.result(Tests.entity_deleted, not display_mapper_entity.exists()) - # 10. UNDO deletion. + # 11. UNDO deletion. general.undo() Report.result(Tests.deletion_undo, display_mapper_entity.exists()) - # 11. REDO deletion. + # 12. REDO deletion. general.redo() Report.result(Tests.deletion_redo, not display_mapper_entity.exists()) - # 12. Look for errors and asserts. + # 13. Look for errors and asserts. TestHelper.wait_for_condition(lambda: error_tracer.has_errors or error_tracer.has_asserts, 1.0) for error_info in error_tracer.errors: Report.info(f"Error: {error_info.filename} {error_info.function} | {error_info.message}") diff --git a/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/editor_entity_utils.py b/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/editor_entity_utils.py index 309601b0ba..2d1c34b9c4 100644 --- a/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/editor_entity_utils.py +++ b/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/editor_entity_utils.py @@ -107,7 +107,6 @@ class EditorComponent: return type_ids - def convert_to_azvector3(xyz) -> azlmbr.math.Vector3: """ Converts a vector3-like element into a azlmbr.math.Vector3 @@ -120,6 +119,7 @@ def convert_to_azvector3(xyz) -> azlmbr.math.Vector3: else: raise ValueError("vector must be a 3 element list/tuple or azlmbr.math.Vector3") + class EditorEntity: """ Entity class is used to create and interact with Editor Entities. @@ -470,3 +470,99 @@ class EditorEntity: assert self.id.isValid(), "A valid entity id is required to focus on its owning prefab." focus_prefab_result = azlmbr.prefab.PrefabFocusPublicRequestBus(bus.Broadcast, "FocusOnOwningPrefab", self.id) assert focus_prefab_result.IsSuccess(), f"Prefab operation 'FocusOnOwningPrefab' failed. Error: {focus_prefab_result.GetError()}" + + +class EditorLevelEntity: + """ + EditorLevel class used to add and fetch level components. + Level entity is a special entity that you do not create/destroy independently of larger systems of level creation. + This collects a number of staticmethods that do not rely on entityId since Level entity is found internally by + EditorLevelComponentAPIBus requests. + """ + + @staticmethod + def get_type_ids(component_names: list) -> list: + """ + Used to get type ids of given components list for EntityType Level + :param: component_names: List of components to get type ids + :return: List of type ids of given components. + """ + type_ids = editor.EditorComponentAPIBus( + bus.Broadcast, "FindComponentTypeIdsByEntityType", component_names, azlmbr.entity.EntityType().Level + ) + return type_ids + + @staticmethod + def add_component(component_name: str) -> EditorComponent: + """ + Used to add new component to Level. + :param component_name: String of component name to add. + :return: Component object of newly added component. + """ + component = EditorLevelEntity.add_components([component_name])[0] + return component + + @staticmethod + def add_components(component_names: list) -> List[EditorComponent]: + """ + Used to add multiple components + :param: component_names: List of components to add to level + :return: List of newly added components to the level + """ + components = [] + type_ids = EditorLevelEntity.get_type_ids(component_names) + for type_id in type_ids: + new_comp = EditorComponent() + new_comp.type_id = type_id + add_component_outcome = editor.EditorLevelComponentAPIBus( + bus.Broadcast, "AddComponentsOfType", [type_id] + ) + assert ( + add_component_outcome.IsSuccess() + ), f"Failure: Could not add component: '{new_comp.get_component_name()}' to level" + new_comp.id = add_component_outcome.GetValue()[0] + components.append(new_comp) + return components + + @staticmethod + def get_components_of_type(component_names: list) -> List[EditorComponent]: + """ + Used to get components of type component_name that already exists on the level + :param component_names: List of names of components to check + :return: List of Level Component objects of given component name + """ + component_list = [] + type_ids = EditorLevelEntity.get_type_ids(component_names) + for type_id in type_ids: + component = EditorComponent() + component.type_id = type_id + get_component_of_type_outcome = editor.EditorLevelComponentAPIBus( + bus.Broadcast, "GetComponentOfType", type_id + ) + assert ( + get_component_of_type_outcome.IsSuccess() + ), f"Failure: Level does not have component:'{component.get_component_name()}'" + component.id = get_component_of_type_outcome.GetValue() + component_list.append(component) + + return component_list + + @staticmethod + def has_component(component_name: str) -> bool: + """ + Used to verify if the level has the specified component + :param component_name: Name of component to check for + :return: True, if level has specified component. Else, False + """ + type_ids = EditorLevelEntity.get_type_ids([component_name]) + return editor.EditorLevelComponentAPIBus(bus.Broadcast, "HasComponentOfType", type_ids[0]) + + @staticmethod + def count_components_of_type(component_name: str) -> int: + """ + Used to get a count of the specified level component attached to the level + :param component_name: Name of component to check for + :return: integer count of occurences of level component attached to level or zero if none are present + """ + type_ids = EditorLevelEntity.get_type_ids([component_name]) + return editor.EditorLevelComponentAPIBus(bus.Broadcast, "CountComponentsOfType", type_ids[0]) diff --git a/AutomatedTesting/Gem/PythonTests/Physics/utils/FileManagement.py b/AutomatedTesting/Gem/PythonTests/Physics/utils/FileManagement.py index 017bb672a4..03287d0542 100644 --- a/AutomatedTesting/Gem/PythonTests/Physics/utils/FileManagement.py +++ b/AutomatedTesting/Gem/PythonTests/Physics/utils/FileManagement.py @@ -98,38 +98,32 @@ class FileManagement: """ file_map = FileManagement._load_file_map() backup_path = FileManagement.backup_folder_path - backup_file_name = "{}.bak".format(file_name) - backup_file = os.path.join(backup_path, backup_file_name) # If backup directory DNE, make one if not os.path.exists(backup_path): os.mkdir(backup_path) - # If "traditional" backup file exists, delete it (myFile.txt.bak) - if os.path.exists(backup_file): - fs.delete([backup_file], True, False) - # Find my next storage name (myFile_1.txt.bak) - backup_storage_file_name = FileManagement._next_available_name(backup_file_name, file_map) - if backup_storage_file_name is None: + + # Find my next storage name (myFile_1.txt) + backup_file_name = FileManagement._next_available_name(file_name, file_map) + if backup_file_name is None: # If _next_available_name returns None, we have backed up MAX_BACKUPS of files name [file_name] raise Exception( "FileManagement class ran out of backups per name. Max: {}".format(FileManagement.MAX_BACKUPS) ) - backup_storage_file = os.path.join(backup_path, backup_storage_file_name) + + # If this backup file already exists, delete it. + backup_storage_file = "{}.bak".format(os.path.normpath(os.path.join(backup_path, backup_file_name))) if os.path.exists(backup_storage_file): - # This file should not exists, but if it does it's about to get clobbered! - fs.unlock_file(backup_storage_file) - # Create "traditional" backup file (myFile.txt.bak) - fs.create_backup(os.path.join(file_path, file_name), backup_path) - # Copy "traditional" backup file into storage backup (myFile_1.txt.bak) - FileManagement._copy_file(backup_file_name, backup_path, backup_storage_file_name, backup_path) - fs.lock_file(backup_storage_file) - # Delete "traditional" back up file - fs.unlock_file(backup_file) - fs.delete([backup_file], True, False) + fs.delete([backup_storage_file], True, False) + + # Create backup file (myFile_1.txt.bak) + original_file = os.path.normpath(os.path.join(file_path, file_name)) + fs.create_backup(original_file, backup_path, backup_file_name) + # Update file map with new file - file_map[os.path.join(file_path, file_name)] = backup_storage_file_name + file_map[original_file] = backup_file_name FileManagement._save_file_map(file_map) # Unlock original file to get it ready to be edited by the test - fs.unlock_file(os.path.join(file_path, file_name)) + fs.unlock_file(original_file) @staticmethod def _restore_file(file_name, file_path): @@ -143,20 +137,15 @@ class FileManagement: """ file_map = FileManagement._load_file_map() backup_path = FileManagement.backup_folder_path - src_file = os.path.join(file_path, file_name) + src_file = os.path.normpath(os.path.join(file_path, file_name)) if src_file in file_map: - backup_file = os.path.join(backup_path, file_map[src_file]) - if os.path.exists(backup_file): - fs.unlock_file(backup_file) - fs.unlock_file(src_file) - # Make temporary copy of backed up file to restore from - temp_file = "{}.bak".format(file_name) - FileManagement._copy_file(file_map[src_file], backup_path, temp_file, backup_path) - fs.restore_backup(src_file, backup_path) - fs.lock_file(src_file) - # Delete backup file - fs.delete([os.path.join(backup_path, temp_file)], True, False) + backup_file_name = file_map[src_file] + backup_file = "{}.bak".format(os.path.join(backup_path, backup_file_name)) + + fs.unlock_file(src_file) + if fs.restore_backup(src_file, backup_path, backup_file_name): fs.delete([backup_file], True, False) + # Remove from file map del file_map[src_file] FileManagement._save_file_map(file_map) diff --git a/AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_WithSingleEntity.py b/AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_WithSingleEntity.py index 80f4c0e596..eb8a262a69 100644 --- a/AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_WithSingleEntity.py +++ b/AutomatedTesting/Gem/PythonTests/Prefab/tests/create_prefab/CreatePrefab_WithSingleEntity.py @@ -24,6 +24,7 @@ def CreatePrefab_WithSingleEntity(): # Creates a prefab from the new entity Prefab.create_prefab(car_prefab_entities, CAR_PREFAB_FILE_NAME) + if __name__ == "__main__": from editor_python_test_tools.utils import Report Report.start_test(CreatePrefab_WithSingleEntity) diff --git a/AutomatedTesting/Gem/PythonTests/Terrain/EditorScripts/TerrainHeightGradientList_AddRemoveGradientWorks.py b/AutomatedTesting/Gem/PythonTests/Terrain/EditorScripts/TerrainHeightGradientList_AddRemoveGradientWorks.py new file mode 100644 index 0000000000..0be1f1ca10 --- /dev/null +++ b/AutomatedTesting/Gem/PythonTests/Terrain/EditorScripts/TerrainHeightGradientList_AddRemoveGradientWorks.py @@ -0,0 +1,144 @@ +""" +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 +""" + +class HeightTests: + single_gradient_height_correct = ( + "Successfully retrieved height for gradient1.", + "Failed to retrieve height for gradient1." + ) + double_gradient_height_correct = ( + "Successfully retrieved height when two gradients exist.", + "Failed to retrieve height when two gradients exist." + ) + triple_gradient_height_correct = ( + "Successfully retrieved height when three gradients exist.", + "Failed to retrieve height when three gradients exist." + ) + terrain_data_changed_call_count_correct = ( + "OnTerrainDataChanged called expected number of times.", + "OnTerrainDataChanged call count incorrect." + ) + +def TerrainHeightGradientList_AddRemoveGradientWorks(): + """ + Summary: + Test aspects of the TerrainHeightGradientList through the BehaviorContext and the Property Tree. + :return: None + """ + + import os + import math as sys_math + + import azlmbr.legacy.general as general + import azlmbr.bus as bus + import azlmbr.math as math + import azlmbr.terrain as terrain + import azlmbr.editor as editor + import azlmbr.vegetation as vegetation + import azlmbr.entity as EntityId + + import editor_python_test_tools.hydra_editor_utils as hydra + from editor_python_test_tools.utils import Report + from editor_python_test_tools.utils import TestHelper as helper + import editor_python_test_tools.pyside_utils as pyside_utils + from editor_python_test_tools.editor_entity_utils import EditorEntity + + terrain_changed_call_count = 0 + expected_terrain_changed_calls = 0 + + aabb_component_name = "Axis Aligned Box Shape" + gradientlist_component_name = "Terrain Height Gradient List" + layerspawner_component_name = "Terrain Layer Spawner" + + gradient_value_path = "Configuration|Value" + + def create_entity_at(entity_name, components_to_add, x, y, z): + entity = hydra.Entity(entity_name) + entity.create_entity(math.Vector3(x, y, z), components_to_add) + + return entity + + def on_terrain_changed(args): + nonlocal terrain_changed_call_count + + terrain_changed_call_count += 1 + + def set_component_path_val(entity, component, path, value): + entity.get_set_test(component, path, value) + + def set_gradients_check_height(main_entity, gradient_list, expected_height, test_results): + nonlocal expected_terrain_changed_calls + + test_tolerance = 0.01 + gradient_list_path = "Configuration|Gradient Entities" + + set_component_path_val(main_entity, 1, gradient_list_path, gradient_list) + + expected_terrain_changed_calls += 1 + + # Wait until the terrain data has been updated. + helper.wait_for_condition(lambda: terrain_changed_call_count == expected_terrain_changed_calls, 2.0) + + # Get the height at the origin. + height = terrain.TerrainDataRequestBus(bus.Broadcast, "GetHeightFromFloats", 0.0, 0.0, 0) + + Report.result(test_results, sys_math.isclose(height, expected_height, abs_tol=test_tolerance)) + + helper.init_idle() + + # Open a level. + helper.open_level("Physics", "Base") + helper.wait_for_condition(lambda: general.get_current_level_name() == "Base", 2.0) + + general.idle_wait_frames(1) + + # Add a terrain world component + world_component = hydra.add_level_component("Terrain World") + + aabb_height = 1024.0 + box_dimensions = math.Vector3(1.0, 1.0, aabb_height); + + # Create a main entity with a LayerSpawner, AAbb and HeightGradientList. + main_entity = create_entity_at("entity2", [layerspawner_component_name, gradientlist_component_name, aabb_component_name], 0.0, 0.0, aabb_height/2.0) + + # Create three gradient entities. + gradient_entity1 = create_entity_at("Constant Gradient1", ["Constant Gradient"], 0.0, 0.0, 0.0); + gradient_entity2 = create_entity_at("Constant Gradient2", ["Constant Gradient"], 0.0, 0.0, 0.0); + gradient_entity3 = create_entity_at("Constant Gradient3", ["Constant Gradient"], 0.0, 0.0, 0.0); + + # Give everything a chance to finish initializing. + general.idle_wait_frames(1) + + # Set the gradients to different values. + gradient_values = [0.5, 0.8, 0.3] + set_component_path_val(gradient_entity1, 0, gradient_value_path, gradient_values[0]) + set_component_path_val(gradient_entity2, 0, gradient_value_path, gradient_values[1]) + set_component_path_val(gradient_entity3, 0, gradient_value_path, gradient_values[2]) + + # Give the TerrainSystem time to tick. + general.idle_wait_frames(1) + + # Set the dimensions of the Aabb. + set_component_path_val(main_entity, 2, "Axis Aligned Box Shape|Box Configuration|Dimensions", box_dimensions) + + # Set up a handler to wait for notifications from the TerrainSystem. + handler = azlmbr.terrain.TerrainDataNotificationBusHandler() + handler.connect() + handler.add_callback("OnTerrainDataChanged", on_terrain_changed) + + # Add a gradient to GradientList, then check the height returned from the TerrainSystem is correct. + set_gradients_check_height(main_entity, [gradient_entity1.id], aabb_height * gradient_values[0], HeightTests.single_gradient_height_correct) + + # Add gradient2 and check height at the origin, this should have changed to match the second gradient value. + set_gradients_check_height(main_entity, [gradient_entity1.id, gradient_entity2.id], aabb_height * gradient_values[1], HeightTests.double_gradient_height_correct) + + # Add gradient3, the height should still be the second value, as that was the highest. + set_gradients_check_height(main_entity, [gradient_entity1.id, gradient_entity2.id, gradient_entity3.id], aabb_height * gradient_values[1], HeightTests.triple_gradient_height_correct) + +if __name__ == "__main__": + + from editor_python_test_tools.utils import Report + Report.start_test(TerrainHeightGradientList_AddRemoveGradientWorks) \ No newline at end of file diff --git a/AutomatedTesting/Gem/PythonTests/Terrain/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/Terrain/TestSuite_Main.py index 786651713c..fc9a917f47 100644 --- a/AutomatedTesting/Gem/PythonTests/Terrain/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/Terrain/TestSuite_Main.py @@ -27,3 +27,6 @@ class TestAutomation(EditorTestSuite): class test_Terrain_SupportsPhysics(EditorSharedTest): from .EditorScripts import Terrain_SupportsPhysics as test_module + + class test_TerrainHeightGradientList_AddRemoveGradientWorks(EditorSharedTest): + from .EditorScripts import TerrainHeightGradientList_AddRemoveGradientWorks as test_module diff --git a/AutomatedTesting/Gem/PythonTests/assetpipeline/ap_fixtures/asset_processor_fixture.py b/AutomatedTesting/Gem/PythonTests/assetpipeline/ap_fixtures/asset_processor_fixture.py index 674862443e..885b4c2959 100755 --- a/AutomatedTesting/Gem/PythonTests/assetpipeline/ap_fixtures/asset_processor_fixture.py +++ b/AutomatedTesting/Gem/PythonTests/assetpipeline/ap_fixtures/asset_processor_fixture.py @@ -15,6 +15,7 @@ import logging # Import LyTestTools import ly_test_tools.o3de.asset_processor as asset_processor_commands +import ly_test_tools.o3de.asset_processor_utils logger = logging.getLogger(__name__) @@ -36,5 +37,8 @@ def asset_processor(request: pytest.fixture, workspace: pytest.fixture) -> asset ap.stop() request.addfinalizer(teardown) + for n in ly_test_tools.o3de.asset_processor_utils.processList: + assert not ly_test_tools.o3de.asset_processor_utils.check_ap_running(n), f"{n} process did not shutdown correctly." + return ap diff --git a/AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/asset_processor_batch_tests.py b/AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/asset_processor_batch_tests.py index 2d67bca8fe..cc79ed7c27 100755 --- a/AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/asset_processor_batch_tests.py +++ b/AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/asset_processor_batch_tests.py @@ -8,6 +8,8 @@ General Asset Processor Batch Tests """ # Import builtin libraries +from os import listdir + import pytest import logging import os @@ -724,3 +726,11 @@ class TestsAssetProcessorBatch_AllPlatforms(object): assert error_line_found, "The error could not be found in the newest run of the AP Batch log." + @pytest.mark.assetpipeline + def test_AssetProcessor_Log_On_Failure(self, asset_processor, ap_setup_fixture, workspace): + asset_processor.prepare_test_environment(ap_setup_fixture["tests_dir"], "test_AP_Logs") + result, output = asset_processor.batch_process(expect_failure=True, capture_output=True) + assert result == False, f'AssetProcessorBatch should have failed because there is a bad asset, output was {output}' + + jobLogs = listdir(workspace.paths.ap_job_logs() + "/test_AP_Logs") + assert not len(jobLogs) == 0, 'No job logs where output during failure.' diff --git a/AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/assets/test_AP_Logs/BadAsset.fbx b/AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/assets/test_AP_Logs/BadAsset.fbx new file mode 100644 index 0000000000..cf1bbaac8a --- /dev/null +++ b/AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/assets/test_AP_Logs/BadAsset.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c6b33c6137d6bd8c696f180c30a23089c95c1af398a630b4b13e080bec3254d +size 18220 diff --git a/AutomatedTesting/Gem/PythonTests/automatedtesting_shared/base.py b/AutomatedTesting/Gem/PythonTests/automatedtesting_shared/base.py index 4543888a7c..88188aa6c0 100755 --- a/AutomatedTesting/Gem/PythonTests/automatedtesting_shared/base.py +++ b/AutomatedTesting/Gem/PythonTests/automatedtesting_shared/base.py @@ -8,7 +8,7 @@ SPDX-License-Identifier: Apache-2.0 OR MIT import os import logging -import subprocess +import sys import pytest import time @@ -128,7 +128,8 @@ class TestAutomationBase: errors.append(TestRunError("FAILED TEST", error_str)) if return_code and return_code != TestAutomationBase.TEST_FAIL_RETCODE: # Crashed crash_info = "-- No crash log available --" - crash_log = os.path.join(workspace.paths.project_log(), 'error.log') + crash_log = workspace.paths.crash_log() + try: waiter.wait_for(lambda: os.path.exists(crash_log), timeout=TestAutomationBase.WAIT_FOR_CRASH_LOG) except AssertionError: diff --git a/Code/Editor/EditorPreferencesPageViewportManipulator.cpp b/Code/Editor/EditorPreferencesPageViewportManipulator.cpp index ea00d6a7f0..32e0e5b573 100644 --- a/Code/Editor/EditorPreferencesPageViewportManipulator.cpp +++ b/Code/Editor/EditorPreferencesPageViewportManipulator.cpp @@ -10,6 +10,8 @@ #include "EditorPreferencesPageViewportManipulator.h" +#include + // Editor #include "EditorViewportSettings.h" #include "Settings.h" @@ -19,7 +21,17 @@ void CEditorPreferencesPage_ViewportManipulator::Reflect(AZ::SerializeContext& s serialize.Class() ->Version(1) ->Field("LineBoundWidth", &Manipulators::m_manipulatorLineBoundWidth) - ->Field("CircleBoundWidth", &Manipulators::m_manipulatorCircleBoundWidth); + ->Field("CircleBoundWidth", &Manipulators::m_manipulatorCircleBoundWidth) + ->Field("LinearManipulatorAxisLength", &Manipulators::m_linearManipulatorAxisLength) + ->Field("PlanarManipulatorAxisLength", &Manipulators::m_planarManipulatorAxisLength) + ->Field("SurfaceManipulatorRadius", &Manipulators::m_surfaceManipulatorRadius) + ->Field("SurfaceManipulatorOpacity", &Manipulators::m_surfaceManipulatorOpacity) + ->Field("LinearManipulatorConeLength", &Manipulators::m_linearManipulatorConeLength) + ->Field("LinearManipulatorConeRadius", &Manipulators::m_linearManipulatorConeRadius) + ->Field("ScaleManipulatorBoxHalfExtent", &Manipulators::m_scaleManipulatorBoxHalfExtent) + ->Field("RotationManipulatorRadius", &Manipulators::m_rotationManipulatorRadius) + ->Field("ManipulatorViewBaseScale", &Manipulators::m_manipulatorViewBaseScale) + ->Field("FlipManipulatorAxesTowardsView", &Manipulators::m_flipManipulatorAxesTowardsView); serialize.Class()->Version(2)->Field( "Manipulators", &CEditorPreferencesPage_ViewportManipulator::m_manipulators); @@ -36,7 +48,55 @@ void CEditorPreferencesPage_ViewportManipulator::Reflect(AZ::SerializeContext& s AZ::Edit::UIHandlers::SpinBox, &Manipulators::m_manipulatorCircleBoundWidth, "Circle Bound Width", "Manipulator Circle Bound Width") ->Attribute(AZ::Edit::Attributes::Min, 0.001f) - ->Attribute(AZ::Edit::Attributes::Max, 2.0f); + ->Attribute(AZ::Edit::Attributes::Max, 2.0f) + ->DataElement( + AZ::Edit::UIHandlers::SpinBox, &Manipulators::m_linearManipulatorAxisLength, "Linear Manipulator Axis Length", + "Length of default Linear Manipulator (for Translation and Scale Manipulators)") + ->Attribute(AZ::Edit::Attributes::Min, 0.1f) + ->Attribute(AZ::Edit::Attributes::Max, 5.0f) + ->DataElement( + AZ::Edit::UIHandlers::SpinBox, &Manipulators::m_planarManipulatorAxisLength, "Planar Manipulator Axis Length", + "Length of default Planar Manipulator (for Translation Manipulators)") + ->Attribute(AZ::Edit::Attributes::Min, 0.1f) + ->Attribute(AZ::Edit::Attributes::Max, 5.0f) + ->DataElement( + AZ::Edit::UIHandlers::SpinBox, &Manipulators::m_surfaceManipulatorRadius, "Surface Manipulator Radius", + "Radius of default Surface Manipulator (for Translation Manipulators)") + ->Attribute(AZ::Edit::Attributes::Min, 0.05f) + ->Attribute(AZ::Edit::Attributes::Max, 1.0f) + ->DataElement( + AZ::Edit::UIHandlers::SpinBox, &Manipulators::m_surfaceManipulatorOpacity, "Surface Manipulator Opacity", + "Opacity of default Surface Manipulator (for Translation Manipulators)") + ->Attribute(AZ::Edit::Attributes::Min, 0.01f) + ->Attribute(AZ::Edit::Attributes::Max, 1.0f) + ->DataElement( + AZ::Edit::UIHandlers::SpinBox, &Manipulators::m_linearManipulatorConeLength, "Linear Manipulator Cone Length", + "Length of cone for default Linear Manipulator (for Translation Manipulators)") + ->Attribute(AZ::Edit::Attributes::Min, 0.05f) + ->Attribute(AZ::Edit::Attributes::Max, 1.0f) + ->DataElement( + AZ::Edit::UIHandlers::SpinBox, &Manipulators::m_linearManipulatorConeRadius, "Linear Manipulator Cone Radius", + "Radius of cone for default Linear Manipulator (for Translation Manipulators)") + ->Attribute(AZ::Edit::Attributes::Min, 0.05f) + ->Attribute(AZ::Edit::Attributes::Max, 0.5f) + ->DataElement( + AZ::Edit::UIHandlers::SpinBox, &Manipulators::m_scaleManipulatorBoxHalfExtent, "Scale Manipulator Box Half Extent", + "Half extent of box for default Scale Manipulator") + ->Attribute(AZ::Edit::Attributes::Min, 0.05f) + ->Attribute(AZ::Edit::Attributes::Max, 1.0f) + ->DataElement( + AZ::Edit::UIHandlers::SpinBox, &Manipulators::m_rotationManipulatorRadius, "Rotation Manipulator Radius", + "Radius of default Angular Manipulators (for Rotation Manipulators)") + ->Attribute(AZ::Edit::Attributes::Min, 0.5f) + ->Attribute(AZ::Edit::Attributes::Max, 5.0f) + ->DataElement( + AZ::Edit::UIHandlers::SpinBox, &Manipulators::m_manipulatorViewBaseScale, "Manipulator View Base Scale", + "The base scale to apply to all Manipulator Views (default is 1.0)") + ->Attribute(AZ::Edit::Attributes::Min, 0.5f) + ->Attribute(AZ::Edit::Attributes::Max, 2.0f) + ->DataElement( + AZ::Edit::UIHandlers::CheckBox, &Manipulators::m_flipManipulatorAxesTowardsView, "Flip Manipulator Axes Towards View", + "Determines whether Planar and Linear Manipulators should switch to face the view (camera) in the Editor"); editContext ->Class("Manipulator Viewport Preferences", "Manipulator Viewport Preferences") @@ -82,10 +142,32 @@ void CEditorPreferencesPage_ViewportManipulator::OnApply() { SandboxEditor::SetManipulatorLineBoundWidth(m_manipulators.m_manipulatorLineBoundWidth); SandboxEditor::SetManipulatorCircleBoundWidth(m_manipulators.m_manipulatorCircleBoundWidth); + + AzToolsFramework::SetLinearManipulatorAxisLength(m_manipulators.m_linearManipulatorAxisLength); + AzToolsFramework::SetPlanarManipulatorAxisLength(m_manipulators.m_planarManipulatorAxisLength); + AzToolsFramework::SetSurfaceManipulatorRadius(m_manipulators.m_surfaceManipulatorRadius); + AzToolsFramework::SetSurfaceManipulatorOpacity(m_manipulators.m_surfaceManipulatorOpacity); + AzToolsFramework::SetLinearManipulatorConeLength(m_manipulators.m_linearManipulatorConeLength); + AzToolsFramework::SetLinearManipulatorConeRadius(m_manipulators.m_linearManipulatorConeRadius); + AzToolsFramework::SetScaleManipulatorBoxHalfExtent(m_manipulators.m_scaleManipulatorBoxHalfExtent); + AzToolsFramework::SetRotationManipulatorRadius(m_manipulators.m_rotationManipulatorRadius); + AzToolsFramework::SetFlipManipulatorAxesTowardsView(m_manipulators.m_flipManipulatorAxesTowardsView); + AzToolsFramework::SetManipulatorViewBaseScale(m_manipulators.m_manipulatorViewBaseScale); } void CEditorPreferencesPage_ViewportManipulator::InitializeSettings() { m_manipulators.m_manipulatorLineBoundWidth = SandboxEditor::ManipulatorLineBoundWidth(); m_manipulators.m_manipulatorCircleBoundWidth = SandboxEditor::ManipulatorCircleBoundWidth(); + + m_manipulators.m_linearManipulatorAxisLength = AzToolsFramework::LinearManipulatorAxisLength(); + m_manipulators.m_planarManipulatorAxisLength = AzToolsFramework::PlanarManipulatorAxisLength(); + m_manipulators.m_surfaceManipulatorRadius = AzToolsFramework::SurfaceManipulatorRadius(); + m_manipulators.m_surfaceManipulatorOpacity = AzToolsFramework::SurfaceManipulatorOpacity(); + m_manipulators.m_linearManipulatorConeLength = AzToolsFramework::LinearManipulatorConeLength(); + m_manipulators.m_linearManipulatorConeRadius = AzToolsFramework::LinearManipulatorConeRadius(); + m_manipulators.m_scaleManipulatorBoxHalfExtent = AzToolsFramework::ScaleManipulatorBoxHalfExtent(); + m_manipulators.m_rotationManipulatorRadius = AzToolsFramework::RotationManipulatorRadius(); + m_manipulators.m_flipManipulatorAxesTowardsView = AzToolsFramework::FlipManipulatorAxesTowardsView(); + m_manipulators.m_manipulatorViewBaseScale = AzToolsFramework::ManipulatorViewBaseScale(); } diff --git a/Code/Editor/EditorPreferencesPageViewportManipulator.h b/Code/Editor/EditorPreferencesPageViewportManipulator.h index 93db6a7035..eb76cec2c5 100644 --- a/Code/Editor/EditorPreferencesPageViewportManipulator.h +++ b/Code/Editor/EditorPreferencesPageViewportManipulator.h @@ -41,6 +41,16 @@ private: float m_manipulatorLineBoundWidth = 0.0f; float m_manipulatorCircleBoundWidth = 0.0f; + float m_linearManipulatorAxisLength = 0.0f; + float m_planarManipulatorAxisLength = 0.0f; + float m_surfaceManipulatorRadius = 0.0f; + float m_surfaceManipulatorOpacity = 0.0f; + float m_linearManipulatorConeLength = 0.0f; + float m_linearManipulatorConeRadius = 0.0f; + float m_scaleManipulatorBoxHalfExtent = 0.0f; + float m_rotationManipulatorRadius = 0.0f; + float m_manipulatorViewBaseScale = 0.0f; + bool m_flipManipulatorAxesTowardsView = false; }; Manipulators m_manipulators; diff --git a/Code/Editor/EditorViewportSettings.cpp b/Code/Editor/EditorViewportSettings.cpp index ae188c7d98..e06b9696e1 100644 --- a/Code/Editor/EditorViewportSettings.cpp +++ b/Code/Editor/EditorViewportSettings.cpp @@ -12,6 +12,7 @@ #include #include #include +#include namespace SandboxEditor { @@ -57,31 +58,6 @@ namespace SandboxEditor constexpr AZStd::string_view CameraDefaultStartingPositionY = "/Amazon/Preferences/Editor/Camera/DefaultStartingPosition/y"; constexpr AZStd::string_view CameraDefaultStartingPositionZ = "/Amazon/Preferences/Editor/Camera/DefaultStartingPosition/z"; - template - void SetRegistry(const AZStd::string_view setting, T&& value) - { - if (auto* registry = AZ::SettingsRegistry::Get()) - { - registry->Set(setting, AZStd::forward(value)); - } - } - - template - AZStd::remove_cvref_t GetRegistry(const AZStd::string_view setting, T&& defaultValue) - { - AZStd::remove_cvref_t value = AZStd::forward(defaultValue); - if (const auto* registry = AZ::SettingsRegistry::Get()) - { - T potentialValue; - if (registry->Get(potentialValue, setting)) - { - value = AZStd::move(potentialValue); - } - } - - return value; - } - struct EditorViewportSettingsCallbacksImpl : public EditorViewportSettingsCallbacks { EditorViewportSettingsCallbacksImpl() @@ -118,399 +94,409 @@ namespace SandboxEditor AZ::Vector3 CameraDefaultEditorPosition() { return AZ::Vector3( - aznumeric_cast(GetRegistry(CameraDefaultStartingPositionX, 0.0)), - aznumeric_cast(GetRegistry(CameraDefaultStartingPositionY, -10.0)), - aznumeric_cast(GetRegistry(CameraDefaultStartingPositionZ, 4.0))); + aznumeric_cast(AzToolsFramework::GetRegistry(CameraDefaultStartingPositionX, 0.0)), + aznumeric_cast(AzToolsFramework::GetRegistry(CameraDefaultStartingPositionY, -10.0)), + aznumeric_cast(AzToolsFramework::GetRegistry(CameraDefaultStartingPositionZ, 4.0))); } void SetCameraDefaultEditorPosition(const AZ::Vector3& defaultCameraPosition) { - SetRegistry(CameraDefaultStartingPositionX, defaultCameraPosition.GetX()); - SetRegistry(CameraDefaultStartingPositionY, defaultCameraPosition.GetY()); - SetRegistry(CameraDefaultStartingPositionZ, defaultCameraPosition.GetZ()); + AzToolsFramework::SetRegistry(CameraDefaultStartingPositionX, defaultCameraPosition.GetX()); + AzToolsFramework::SetRegistry(CameraDefaultStartingPositionY, defaultCameraPosition.GetY()); + AzToolsFramework::SetRegistry(CameraDefaultStartingPositionZ, defaultCameraPosition.GetZ()); } AZ::u64 MaxItemsShownInAssetBrowserSearch() { - return GetRegistry(AssetBrowserMaxItemsShownInSearchSetting, aznumeric_cast(50)); + return AzToolsFramework::GetRegistry(AssetBrowserMaxItemsShownInSearchSetting, aznumeric_cast(50)); } void SetMaxItemsShownInAssetBrowserSearch(const AZ::u64 numberOfItemsShown) { - SetRegistry(AssetBrowserMaxItemsShownInSearchSetting, numberOfItemsShown); + AzToolsFramework::SetRegistry(AssetBrowserMaxItemsShownInSearchSetting, numberOfItemsShown); } bool GridSnappingEnabled() { - return GetRegistry(GridSnappingSetting, false); + return AzToolsFramework::GetRegistry(GridSnappingSetting, false); } void SetGridSnapping(const bool enabled) { - SetRegistry(GridSnappingSetting, enabled); + AzToolsFramework::SetRegistry(GridSnappingSetting, enabled); } float GridSnappingSize() { - return aznumeric_cast(GetRegistry(GridSizeSetting, 0.1)); + return aznumeric_cast(AzToolsFramework::GetRegistry(GridSizeSetting, 0.1)); } void SetGridSnappingSize(const float size) { - SetRegistry(GridSizeSetting, size); + AzToolsFramework::SetRegistry(GridSizeSetting, size); } bool AngleSnappingEnabled() { - return GetRegistry(AngleSnappingSetting, false); + return AzToolsFramework::GetRegistry(AngleSnappingSetting, false); } void SetAngleSnapping(const bool enabled) { - SetRegistry(AngleSnappingSetting, enabled); + AzToolsFramework::SetRegistry(AngleSnappingSetting, enabled); } float AngleSnappingSize() { - return aznumeric_cast(GetRegistry(AngleSizeSetting, 5.0)); + return aznumeric_cast(AzToolsFramework::GetRegistry(AngleSizeSetting, 5.0)); } void SetAngleSnappingSize(const float size) { - SetRegistry(AngleSizeSetting, size); + AzToolsFramework::SetRegistry(AngleSizeSetting, size); } bool ShowingGrid() { - return GetRegistry(ShowGridSetting, false); + return AzToolsFramework::GetRegistry(ShowGridSetting, false); } void SetShowingGrid(const bool showing) { - SetRegistry(ShowGridSetting, showing); + AzToolsFramework::SetRegistry(ShowGridSetting, showing); } bool StickySelectEnabled() { - return GetRegistry(StickySelectSetting, false); + return AzToolsFramework::GetRegistry(StickySelectSetting, false); } void SetStickySelectEnabled(const bool enabled) { - SetRegistry(StickySelectSetting, enabled); + AzToolsFramework::SetRegistry(StickySelectSetting, enabled); } float ManipulatorLineBoundWidth() { - return aznumeric_cast(GetRegistry(ManipulatorLineBoundWidthSetting, 0.1)); + return aznumeric_cast(AzToolsFramework::GetRegistry(ManipulatorLineBoundWidthSetting, 0.1)); } void SetManipulatorLineBoundWidth(const float lineBoundWidth) { - SetRegistry(ManipulatorLineBoundWidthSetting, lineBoundWidth); + AzToolsFramework::SetRegistry(ManipulatorLineBoundWidthSetting, lineBoundWidth); } float ManipulatorCircleBoundWidth() { - return aznumeric_cast(GetRegistry(ManipulatorCircleBoundWidthSetting, 0.1)); + return aznumeric_cast(AzToolsFramework::GetRegistry(ManipulatorCircleBoundWidthSetting, 0.1)); } void SetManipulatorCircleBoundWidth(const float circleBoundWidth) { - SetRegistry(ManipulatorCircleBoundWidthSetting, circleBoundWidth); + AzToolsFramework::SetRegistry(ManipulatorCircleBoundWidthSetting, circleBoundWidth); } float CameraTranslateSpeed() { - return aznumeric_cast(GetRegistry(CameraTranslateSpeedSetting, 10.0)); + return aznumeric_cast(AzToolsFramework::GetRegistry(CameraTranslateSpeedSetting, 10.0)); } void SetCameraTranslateSpeed(const float speed) { - SetRegistry(CameraTranslateSpeedSetting, speed); + AzToolsFramework::SetRegistry(CameraTranslateSpeedSetting, speed); } float CameraBoostMultiplier() { - return aznumeric_cast(GetRegistry(CameraBoostMultiplierSetting, 3.0)); + return aznumeric_cast(AzToolsFramework::GetRegistry(CameraBoostMultiplierSetting, 3.0)); } void SetCameraBoostMultiplier(const float multiplier) { - SetRegistry(CameraBoostMultiplierSetting, multiplier); + AzToolsFramework::SetRegistry(CameraBoostMultiplierSetting, multiplier); } float CameraRotateSpeed() { - return aznumeric_cast(GetRegistry(CameraRotateSpeedSetting, 0.005)); + return aznumeric_cast(AzToolsFramework::GetRegistry(CameraRotateSpeedSetting, 0.005)); } void SetCameraRotateSpeed(const float speed) { - SetRegistry(CameraRotateSpeedSetting, speed); + AzToolsFramework::SetRegistry(CameraRotateSpeedSetting, speed); } float CameraScrollSpeed() { - return aznumeric_cast(GetRegistry(CameraScrollSpeedSetting, 0.02)); + return aznumeric_cast(AzToolsFramework::GetRegistry(CameraScrollSpeedSetting, 0.02)); } void SetCameraScrollSpeed(const float speed) { - SetRegistry(CameraScrollSpeedSetting, speed); + AzToolsFramework::SetRegistry(CameraScrollSpeedSetting, speed); } float CameraDollyMotionSpeed() { - return aznumeric_cast(GetRegistry(CameraDollyMotionSpeedSetting, 0.01)); + return aznumeric_cast(AzToolsFramework::GetRegistry(CameraDollyMotionSpeedSetting, 0.01)); } void SetCameraDollyMotionSpeed(const float speed) { - SetRegistry(CameraDollyMotionSpeedSetting, speed); + AzToolsFramework::SetRegistry(CameraDollyMotionSpeedSetting, speed); } bool CameraOrbitYawRotationInverted() { - return GetRegistry(CameraOrbitYawRotationInvertedSetting, false); + return AzToolsFramework::GetRegistry(CameraOrbitYawRotationInvertedSetting, false); } void SetCameraOrbitYawRotationInverted(const bool inverted) { - SetRegistry(CameraOrbitYawRotationInvertedSetting, inverted); + AzToolsFramework::SetRegistry(CameraOrbitYawRotationInvertedSetting, inverted); } bool CameraPanInvertedX() { - return GetRegistry(CameraPanInvertedXSetting, true); + return AzToolsFramework::GetRegistry(CameraPanInvertedXSetting, true); } void SetCameraPanInvertedX(const bool inverted) { - SetRegistry(CameraPanInvertedXSetting, inverted); + AzToolsFramework::SetRegistry(CameraPanInvertedXSetting, inverted); } bool CameraPanInvertedY() { - return GetRegistry(CameraPanInvertedYSetting, true); + return AzToolsFramework::GetRegistry(CameraPanInvertedYSetting, true); } void SetCameraPanInvertedY(const bool inverted) { - SetRegistry(CameraPanInvertedYSetting, inverted); + AzToolsFramework::SetRegistry(CameraPanInvertedYSetting, inverted); } float CameraPanSpeed() { - return aznumeric_cast(GetRegistry(CameraPanSpeedSetting, 0.01)); + return aznumeric_cast(AzToolsFramework::GetRegistry(CameraPanSpeedSetting, 0.01)); } void SetCameraPanSpeed(float speed) { - SetRegistry(CameraPanSpeedSetting, speed); + AzToolsFramework::SetRegistry(CameraPanSpeedSetting, speed); } float CameraRotateSmoothness() { - return aznumeric_cast(GetRegistry(CameraRotateSmoothnessSetting, 5.0)); + return aznumeric_cast(AzToolsFramework::GetRegistry(CameraRotateSmoothnessSetting, 5.0)); } void SetCameraRotateSmoothness(const float smoothness) { - SetRegistry(CameraRotateSmoothnessSetting, smoothness); + AzToolsFramework::SetRegistry(CameraRotateSmoothnessSetting, smoothness); } float CameraTranslateSmoothness() { - return aznumeric_cast(GetRegistry(CameraTranslateSmoothnessSetting, 5.0)); + return aznumeric_cast(AzToolsFramework::GetRegistry(CameraTranslateSmoothnessSetting, 5.0)); } void SetCameraTranslateSmoothness(const float smoothness) { - SetRegistry(CameraTranslateSmoothnessSetting, smoothness); + AzToolsFramework::SetRegistry(CameraTranslateSmoothnessSetting, smoothness); } bool CameraRotateSmoothingEnabled() { - return GetRegistry(CameraRotateSmoothingSetting, true); + return AzToolsFramework::GetRegistry(CameraRotateSmoothingSetting, true); } void SetCameraRotateSmoothingEnabled(const bool enabled) { - SetRegistry(CameraRotateSmoothingSetting, enabled); + AzToolsFramework::SetRegistry(CameraRotateSmoothingSetting, enabled); } bool CameraTranslateSmoothingEnabled() { - return GetRegistry(CameraTranslateSmoothingSetting, true); + return AzToolsFramework::GetRegistry(CameraTranslateSmoothingSetting, true); } void SetCameraTranslateSmoothingEnabled(const bool enabled) { - SetRegistry(CameraTranslateSmoothingSetting, enabled); + AzToolsFramework::SetRegistry(CameraTranslateSmoothingSetting, enabled); } bool CameraCaptureCursorForLook() { - return GetRegistry(CameraCaptureCursorLookSetting, true); + return AzToolsFramework::GetRegistry(CameraCaptureCursorLookSetting, true); } void SetCameraCaptureCursorForLook(const bool capture) { - SetRegistry(CameraCaptureCursorLookSetting, capture); + AzToolsFramework::SetRegistry(CameraCaptureCursorLookSetting, capture); } float CameraDefaultOrbitDistance() { - return aznumeric_cast(GetRegistry(CameraDefaultOrbitDistanceSetting, 20.0)); + return aznumeric_cast(AzToolsFramework::GetRegistry(CameraDefaultOrbitDistanceSetting, 20.0)); } void SetCameraDefaultOrbitDistance(const float distance) { - SetRegistry(CameraDefaultOrbitDistanceSetting, distance); + AzToolsFramework::SetRegistry(CameraDefaultOrbitDistanceSetting, distance); } AzFramework::InputChannelId CameraTranslateForwardChannelId() { return AzFramework::InputChannelId( - GetRegistry(CameraTranslateForwardIdSetting, AZStd::string("keyboard_key_alphanumeric_W")).c_str()); + AzToolsFramework::GetRegistry(CameraTranslateForwardIdSetting, AZStd::string("keyboard_key_alphanumeric_W")).c_str()); } void SetCameraTranslateForwardChannelId(AZStd::string_view cameraTranslateForwardId) { - SetRegistry(CameraTranslateForwardIdSetting, cameraTranslateForwardId); + AzToolsFramework::SetRegistry(CameraTranslateForwardIdSetting, cameraTranslateForwardId); } AzFramework::InputChannelId CameraTranslateBackwardChannelId() { return AzFramework::InputChannelId( - GetRegistry(CameraTranslateBackwardIdSetting, AZStd::string("keyboard_key_alphanumeric_S")).c_str()); + AzToolsFramework::GetRegistry(CameraTranslateBackwardIdSetting, AZStd::string("keyboard_key_alphanumeric_S")).c_str()); } void SetCameraTranslateBackwardChannelId(AZStd::string_view cameraTranslateBackwardId) { - SetRegistry(CameraTranslateBackwardIdSetting, cameraTranslateBackwardId); + AzToolsFramework::SetRegistry(CameraTranslateBackwardIdSetting, cameraTranslateBackwardId); } AzFramework::InputChannelId CameraTranslateLeftChannelId() { - return AzFramework::InputChannelId(GetRegistry(CameraTranslateLeftIdSetting, AZStd::string("keyboard_key_alphanumeric_A")).c_str()); + return AzFramework::InputChannelId( + AzToolsFramework::GetRegistry(CameraTranslateLeftIdSetting, AZStd::string("keyboard_key_alphanumeric_A")).c_str()); } void SetCameraTranslateLeftChannelId(AZStd::string_view cameraTranslateLeftId) { - SetRegistry(CameraTranslateLeftIdSetting, cameraTranslateLeftId); + AzToolsFramework::SetRegistry(CameraTranslateLeftIdSetting, cameraTranslateLeftId); } AzFramework::InputChannelId CameraTranslateRightChannelId() { return AzFramework::InputChannelId( - GetRegistry(CameraTranslateRightIdSetting, AZStd::string("keyboard_key_alphanumeric_D")).c_str()); + AzToolsFramework::GetRegistry(CameraTranslateRightIdSetting, AZStd::string("keyboard_key_alphanumeric_D")).c_str()); } void SetCameraTranslateRightChannelId(AZStd::string_view cameraTranslateRightId) { - SetRegistry(CameraTranslateRightIdSetting, cameraTranslateRightId); + AzToolsFramework::SetRegistry(CameraTranslateRightIdSetting, cameraTranslateRightId); } AzFramework::InputChannelId CameraTranslateUpChannelId() { - return AzFramework::InputChannelId(GetRegistry(CameraTranslateUpIdSetting, AZStd::string("keyboard_key_alphanumeric_E")).c_str()); + return AzFramework::InputChannelId( + AzToolsFramework::GetRegistry(CameraTranslateUpIdSetting, AZStd::string("keyboard_key_alphanumeric_E")).c_str()); } void SetCameraTranslateUpChannelId(AZStd::string_view cameraTranslateUpId) { - SetRegistry(CameraTranslateUpIdSetting, cameraTranslateUpId); + AzToolsFramework::SetRegistry(CameraTranslateUpIdSetting, cameraTranslateUpId); } AzFramework::InputChannelId CameraTranslateDownChannelId() { - return AzFramework::InputChannelId(GetRegistry(CameraTranslateDownIdSetting, AZStd::string("keyboard_key_alphanumeric_Q")).c_str()); + return AzFramework::InputChannelId( + AzToolsFramework::GetRegistry(CameraTranslateDownIdSetting, AZStd::string("keyboard_key_alphanumeric_Q")).c_str()); } void SetCameraTranslateDownChannelId(AZStd::string_view cameraTranslateDownId) { - SetRegistry(CameraTranslateDownIdSetting, cameraTranslateDownId); + AzToolsFramework::SetRegistry(CameraTranslateDownIdSetting, cameraTranslateDownId); } AzFramework::InputChannelId CameraTranslateBoostChannelId() { return AzFramework::InputChannelId( - GetRegistry(CameraTranslateBoostIdSetting, AZStd::string("keyboard_key_modifier_shift_l")).c_str()); + AzToolsFramework::GetRegistry(CameraTranslateBoostIdSetting, AZStd::string("keyboard_key_modifier_shift_l")).c_str()); } void SetCameraTranslateBoostChannelId(AZStd::string_view cameraTranslateBoostId) { - SetRegistry(CameraTranslateBoostIdSetting, cameraTranslateBoostId); + AzToolsFramework::SetRegistry(CameraTranslateBoostIdSetting, cameraTranslateBoostId); } AzFramework::InputChannelId CameraOrbitChannelId() { - return AzFramework::InputChannelId(GetRegistry(CameraOrbitIdSetting, AZStd::string("keyboard_key_modifier_alt_l")).c_str()); + return AzFramework::InputChannelId( + AzToolsFramework::GetRegistry(CameraOrbitIdSetting, AZStd::string("keyboard_key_modifier_alt_l")).c_str()); } void SetCameraOrbitChannelId(AZStd::string_view cameraOrbitId) { - SetRegistry(CameraOrbitIdSetting, cameraOrbitId); + AzToolsFramework::SetRegistry(CameraOrbitIdSetting, cameraOrbitId); } AzFramework::InputChannelId CameraFreeLookChannelId() { - return AzFramework::InputChannelId(GetRegistry(CameraFreeLookIdSetting, AZStd::string("mouse_button_right")).c_str()); + return AzFramework::InputChannelId( + AzToolsFramework::GetRegistry(CameraFreeLookIdSetting, AZStd::string("mouse_button_right")).c_str()); } void SetCameraFreeLookChannelId(AZStd::string_view cameraFreeLookId) { - SetRegistry(CameraFreeLookIdSetting, cameraFreeLookId); + AzToolsFramework::SetRegistry(CameraFreeLookIdSetting, cameraFreeLookId); } AzFramework::InputChannelId CameraFreePanChannelId() { - return AzFramework::InputChannelId(GetRegistry(CameraFreePanIdSetting, AZStd::string("mouse_button_middle")).c_str()); + return AzFramework::InputChannelId( + AzToolsFramework::GetRegistry(CameraFreePanIdSetting, AZStd::string("mouse_button_middle")).c_str()); } void SetCameraFreePanChannelId(AZStd::string_view cameraFreePanId) { - SetRegistry(CameraFreePanIdSetting, cameraFreePanId); + AzToolsFramework::SetRegistry(CameraFreePanIdSetting, cameraFreePanId); } AzFramework::InputChannelId CameraOrbitLookChannelId() { - return AzFramework::InputChannelId(GetRegistry(CameraOrbitLookIdSetting, AZStd::string("mouse_button_left")).c_str()); + return AzFramework::InputChannelId( + AzToolsFramework::GetRegistry(CameraOrbitLookIdSetting, AZStd::string("mouse_button_left")).c_str()); } void SetCameraOrbitLookChannelId(AZStd::string_view cameraOrbitLookId) { - SetRegistry(CameraOrbitLookIdSetting, cameraOrbitLookId); + AzToolsFramework::SetRegistry(CameraOrbitLookIdSetting, cameraOrbitLookId); } AzFramework::InputChannelId CameraOrbitDollyChannelId() { - return AzFramework::InputChannelId(GetRegistry(CameraOrbitDollyIdSetting, AZStd::string("mouse_button_right")).c_str()); + return AzFramework::InputChannelId( + AzToolsFramework::GetRegistry(CameraOrbitDollyIdSetting, AZStd::string("mouse_button_right")).c_str()); } void SetCameraOrbitDollyChannelId(AZStd::string_view cameraOrbitDollyId) { - SetRegistry(CameraOrbitDollyIdSetting, cameraOrbitDollyId); + AzToolsFramework::SetRegistry(CameraOrbitDollyIdSetting, cameraOrbitDollyId); } AzFramework::InputChannelId CameraOrbitPanChannelId() { - return AzFramework::InputChannelId(GetRegistry(CameraOrbitPanIdSetting, AZStd::string("mouse_button_middle")).c_str()); + return AzFramework::InputChannelId( + AzToolsFramework::GetRegistry(CameraOrbitPanIdSetting, AZStd::string("mouse_button_middle")).c_str()); } void SetCameraOrbitPanChannelId(AZStd::string_view cameraOrbitPanId) { - SetRegistry(CameraOrbitPanIdSetting, cameraOrbitPanId); + AzToolsFramework::SetRegistry(CameraOrbitPanIdSetting, cameraOrbitPanId); } AzFramework::InputChannelId CameraFocusChannelId() { - return AzFramework::InputChannelId(GetRegistry(CameraFocusIdSetting, AZStd::string("keyboard_key_alphanumeric_X")).c_str()); + return AzFramework::InputChannelId( + AzToolsFramework::GetRegistry(CameraFocusIdSetting, AZStd::string("keyboard_key_alphanumeric_X")).c_str()); } void SetCameraFocusChannelId(AZStd::string_view cameraFocusId) { - SetRegistry(CameraFocusIdSetting, cameraFocusId); + AzToolsFramework::SetRegistry(CameraFocusIdSetting, cameraFocusId); } } // namespace SandboxEditor diff --git a/Code/Editor/GameEngine.cpp b/Code/Editor/GameEngine.cpp index ed8f30af93..e82832fc21 100644 --- a/Code/Editor/GameEngine.cpp +++ b/Code/Editor/GameEngine.cpp @@ -35,7 +35,6 @@ // CryCommon #include -#include #include // Editor @@ -595,13 +594,6 @@ void CGameEngine::SwitchToInEditor() // Enable accelerators. GetIEditor()->EnableAcceleratos(true); - - // reset UI system - if (gEnv->pLyShine) - { - gEnv->pLyShine->Reset(); - } - // [Anton] - order changed, see comments for CGameEngine::SetSimulationMode //! Send event to switch out of game. GetIEditor()->GetObjectManager()->SendEvent(EVENT_OUTOFGAME); diff --git a/Code/Editor/Plugins/EditorCommon/editorcommon_files.cmake b/Code/Editor/Plugins/EditorCommon/editorcommon_files.cmake index c1f1a531e8..1c6efbdf2c 100644 --- a/Code/Editor/Plugins/EditorCommon/editorcommon_files.cmake +++ b/Code/Editor/Plugins/EditorCommon/editorcommon_files.cmake @@ -13,7 +13,6 @@ set(FILES EditorCommonAPI.h ActionOutput.h ActionOutput.cpp - UiEditorDLLBus.h DockTitleBarWidget.cpp DockTitleBarWidget.h SaveUtilities/AsyncSaveRunner.h diff --git a/Code/Framework/AzCore/AzCore/Component/ComponentApplication.cpp b/Code/Framework/AzCore/AzCore/Component/ComponentApplication.cpp index fb0e4b82b8..06cb2c3740 100644 --- a/Code/Framework/AzCore/AzCore/Component/ComponentApplication.cpp +++ b/Code/Framework/AzCore/AzCore/Component/ComponentApplication.cpp @@ -486,9 +486,11 @@ namespace AZ // Merge Command Line arguments constexpr bool executeRegDumpCommands = false; - SettingsRegistryMergeUtils::MergeSettingsToRegistry_CommandLine(*m_settingsRegistry, m_commandLine, executeRegDumpCommands); +#if defined(AZ_DEBUG_BUILD) || defined(AZ_PROFILE_BUILD) + // Skip over merging the User Registry in non-debug and profile configurations SettingsRegistryMergeUtils::MergeSettingsToRegistry_O3deUserRegistry(*m_settingsRegistry, AZ_TRAIT_OS_PLATFORM_CODENAME, {}); +#endif SettingsRegistryMergeUtils::MergeSettingsToRegistry_CommandLine(*m_settingsRegistry, m_commandLine, executeRegDumpCommands); SettingsRegistryMergeUtils::MergeSettingsToRegistry_AddRuntimeFilePaths(*m_settingsRegistry); diff --git a/Code/Framework/AzCore/Tests/Asset/AssetManagerLoadingTests.cpp b/Code/Framework/AzCore/Tests/Asset/AssetManagerLoadingTests.cpp index 043eb1aee6..c3be9b886a 100644 --- a/Code/Framework/AzCore/Tests/Asset/AssetManagerLoadingTests.cpp +++ b/Code/Framework/AzCore/Tests/Asset/AssetManagerLoadingTests.cpp @@ -914,11 +914,11 @@ namespace UnitTest m_testAssetManager->SetParallelDependentLoadingEnabled(true); } -#if AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS || AZ_TRAIT_DISABLE_FAILED_ASSET_LOAD_TESTS +#if AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS TEST_F(AssetJobsFloodTest, DISABLED_LoadTest_SameAsset_DifferentFilters) #else TEST_F(AssetJobsFloodTest, LoadTest_SameAsset_DifferentFilters) -#endif // AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS || AZ_TRAIT_DISABLE_FAILED_ASSET_LOAD_TESTS +#endif // AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS { m_assetHandlerAndCatalog->AssetCatalogRequestBus::Handler::BusConnect(); @@ -1263,11 +1263,11 @@ namespace UnitTest m_assetHandlerAndCatalog->AssetCatalogRequestBus::Handler::BusDisconnect(); } -#if AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS || AZ_TRAIT_DISABLE_FAILED_ASSET_LOAD_TESTS +#if AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS TEST_F(AssetJobsFloodTest, DISABLED_AssetWithNoLoadReference_LoadDependencies_NoLoadNotLoaded) #else TEST_F(AssetJobsFloodTest, AssetWithNoLoadReference_LoadDependencies_NoLoadNotLoaded) -#endif // AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS || AZ_TRAIT_DISABLE_FAILED_ASSET_LOAD_TESTS +#endif // AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS { m_assetHandlerAndCatalog->AssetCatalogRequestBus::Handler::BusConnect(); // Setup has already created/destroyed assets @@ -1304,11 +1304,11 @@ namespace UnitTest m_assetHandlerAndCatalog->AssetCatalogRequestBus::Handler::BusDisconnect(); } -#if AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS || AZ_TRAIT_DISABLE_FAILED_ASSET_LOAD_TESTS +#if AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS TEST_F(AssetJobsFloodTest, DISABLED_AssetWithNoLoadReference_LoadContainerDependencies_LoadAllLoadsNoLoad) #else TEST_F(AssetJobsFloodTest, AssetWithNoLoadReference_LoadContainerDependencies_LoadAllLoadsNoLoad) -#endif // AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS || AZ_TRAIT_DISABLE_FAILED_ASSET_LOAD_TESTS +#endif // AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS { m_assetHandlerAndCatalog->AssetCatalogRequestBus::Handler::BusConnect(); // Setup has already created/destroyed assets @@ -1343,11 +1343,11 @@ namespace UnitTest m_assetHandlerAndCatalog->AssetCatalogRequestBus::Handler::BusDisconnect(); } -#if AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS || AZ_TRAIT_DISABLE_FAILED_ASSET_LOAD_TESTS +#if AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS TEST_F(AssetJobsFloodTest, DISABLED_AssetWithNoLoadReference_LoadDependencies_BehaviorObeyed) #else TEST_F(AssetJobsFloodTest, AssetWithNoLoadReference_LoadDependencies_BehaviorObeyed) -#endif // AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS || AZ_TRAIT_DISABLE_FAILED_ASSET_LOAD_TESTS +#endif // AZ_TRAIT_DISABLE_FAILED_ASSET_MANAGER_TESTS { m_assetHandlerAndCatalog->AssetCatalogRequestBus::Handler::BusConnect(); // Setup has already created/destroyed assets diff --git a/Code/Framework/AzFramework/AzFramework/Terrain/TerrainDataRequestBus.cpp b/Code/Framework/AzFramework/AzFramework/Terrain/TerrainDataRequestBus.cpp index f803e73462..60c730291f 100644 --- a/Code/Framework/AzFramework/AzFramework/Terrain/TerrainDataRequestBus.cpp +++ b/Code/Framework/AzFramework/AzFramework/Terrain/TerrainDataRequestBus.cpp @@ -12,13 +12,57 @@ namespace AzFramework::Terrain { + // Create a handler that can be accessed from Python scripts to receive terrain change notifications. + class TerrainDataNotificationHandler final + : public AzFramework::Terrain::TerrainDataNotificationBus::Handler + , public AZ::BehaviorEBusHandler + { + public: + AZ_EBUS_BEHAVIOR_BINDER( + TerrainDataNotificationHandler, + "{A83EF103-295A-4653-8279-F30FBF3F9037}", + AZ::SystemAllocator, + OnTerrainDataCreateBegin, + OnTerrainDataCreateEnd, + OnTerrainDataDestroyBegin, + OnTerrainDataDestroyEnd, + OnTerrainDataChanged); + + void OnTerrainDataCreateBegin() override + { + Call(FN_OnTerrainDataCreateBegin); + } + + void OnTerrainDataCreateEnd() override + { + Call(FN_OnTerrainDataCreateEnd); + } + + void OnTerrainDataDestroyBegin() override + { + Call(FN_OnTerrainDataDestroyBegin); + } + + void OnTerrainDataDestroyEnd() override + { + Call(FN_OnTerrainDataDestroyEnd); + } + + void OnTerrainDataChanged( + const AZ::Aabb& dirtyRegion, AzFramework::Terrain::TerrainDataNotifications::TerrainDataChangedMask dataChangedMask) override + { + Call(FN_OnTerrainDataChanged, dirtyRegion, dataChangedMask); + } + }; + void TerrainDataRequests::Reflect(AZ::ReflectContext* context) { if (AZ::BehaviorContext* behaviorContext = azrtti_cast(context)) { behaviorContext->EBus("TerrainDataRequestBus") + ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) ->Attribute(AZ::Script::Attributes::Category, "Terrain") - ->Event("GetHeight", &AzFramework::Terrain::TerrainDataRequestBus::Events::GetHeight) + ->Attribute(AZ::Script::Attributes::Module, "terrain") ->Event("GetNormal", &AzFramework::Terrain::TerrainDataRequestBus::Events::GetNormal) ->Event("GetMaxSurfaceWeight", &AzFramework::Terrain::TerrainDataRequestBus::Events::GetMaxSurfaceWeight) ->Event("GetMaxSurfaceWeightFromVector2", @@ -34,8 +78,24 @@ namespace AzFramework::Terrain ->Event("GetTerrainAabb", &AzFramework::Terrain::TerrainDataRequestBus::Events::GetTerrainAabb) ->Event("GetTerrainHeightQueryResolution", &AzFramework::Terrain::TerrainDataRequestBus::Events::GetTerrainHeightQueryResolution) + ->Event("GetHeight", &AzFramework::Terrain::TerrainDataRequestBus::Events::GetHeightVal) + ->Event("GetHeightFromVector2", &AzFramework::Terrain::TerrainDataRequestBus::Events::GetHeightValFromVector2) + ->Event("GetHeightFromFloats", &AzFramework::Terrain::TerrainDataRequestBus::Events::GetHeightValFromFloats) ; + + behaviorContext->EBus("TerrainDataNotificationBus") + ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) + ->Attribute(AZ::Script::Attributes::Category, "Terrain") + ->Attribute(AZ::Script::Attributes::Module, "terrain") + ->Event("OnTerrainDataCreateBegin", &AzFramework::Terrain::TerrainDataNotifications::OnTerrainDataCreateBegin) + ->Event("OnTerrainDataCreateEnd", &AzFramework::Terrain::TerrainDataNotifications::OnTerrainDataCreateEnd) + ->Event("OnTerrainDataDestroyBegin", &AzFramework::Terrain::TerrainDataNotifications::OnTerrainDataDestroyBegin) + ->Event("OnTerrainDataDestroyEnd", &AzFramework::Terrain::TerrainDataNotifications::OnTerrainDataDestroyEnd) + ->Event("OnTerrainDataChanged", &AzFramework::Terrain::TerrainDataNotifications::OnTerrainDataChanged) + ->Handler() + ; } + //TerrainDataNotificationHandler::Reflect(context); } } // namespace AzFramework::Terrain diff --git a/Code/Framework/AzFramework/AzFramework/Terrain/TerrainDataRequestBus.h b/Code/Framework/AzFramework/AzFramework/Terrain/TerrainDataRequestBus.h index 4c73ddd770..0da1beba77 100644 --- a/Code/Framework/AzFramework/AzFramework/Terrain/TerrainDataRequestBus.h +++ b/Code/Framework/AzFramework/AzFramework/Terrain/TerrainDataRequestBus.h @@ -144,13 +144,31 @@ namespace AzFramework return result; } SurfaceData::SurfacePoint BehaviorContextGetSurfacePointFromVector2( - const AZ::Vector2& inPosition, - Sampler sampleFilter = Sampler::DEFAULT) const + const AZ::Vector2& inPosition, Sampler sampleFilter = Sampler::DEFAULT) const { SurfaceData::SurfacePoint result; GetSurfacePointFromVector2(inPosition, result, sampleFilter); return result; } + + // Functions without the optional bool* parameter that can be used from Python tests. + float GetHeightVal(AZ::Vector3 position, Sampler sampler = Sampler::BILINEAR) const + { + bool terrainExists; + return GetHeight(position, sampler, &terrainExists); + } + + float GetHeightValFromVector2(AZ::Vector2 position, Sampler sampler = Sampler::BILINEAR) const + { + bool terrainExists; + return GetHeightFromVector2(position, sampler, &terrainExists); + } + + float GetHeightValFromFloats(float x, float y, Sampler sampler = Sampler::BILINEAR) const + { + bool terrainExists; + return GetHeightFromFloats(x, y, sampler, &terrainExists); + } }; using TerrainDataRequestBus = AZ::EBus; diff --git a/Code/Framework/AzFramework/AzFramework/UnitTest/TestDebugDisplayRequests.h b/Code/Framework/AzFramework/AzFramework/UnitTest/TestDebugDisplayRequests.h index 72b15c1a69..b71d10c751 100644 --- a/Code/Framework/AzFramework/AzFramework/UnitTest/TestDebugDisplayRequests.h +++ b/Code/Framework/AzFramework/AzFramework/UnitTest/TestDebugDisplayRequests.h @@ -13,6 +13,13 @@ namespace UnitTest { + //! Null implementation of DebugDisplayRequests for dummy draw calls. + class NullDebugDisplayRequests : public AzFramework::DebugDisplayRequests + { + public: + virtual ~NullDebugDisplayRequests() = default; + }; + //! Minimal implementation of DebugDisplayRequests to support testing shapes. //! Stores a list of points based on received draw calls to delineate the exterior of the object requested to be drawn. class TestDebugDisplayRequests : public AzFramework::DebugDisplayRequests diff --git a/Code/Framework/AzFramework/Platform/Common/Xcb/AzFramework/XcbInputDeviceKeyboard.h b/Code/Framework/AzFramework/Platform/Common/Xcb/AzFramework/XcbInputDeviceKeyboard.h index 00383abf6c..d9f077f9d4 100644 --- a/Code/Framework/AzFramework/Platform/Common/Xcb/AzFramework/XcbInputDeviceKeyboard.h +++ b/Code/Framework/AzFramework/Platform/Common/Xcb/AzFramework/XcbInputDeviceKeyboard.h @@ -5,6 +5,7 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ +#pragma once #include #include diff --git a/Code/Framework/AzFramework/Tests/InputTests.cpp b/Code/Framework/AzFramework/Tests/InputTests.cpp index 5fba7f5796..31558250b5 100644 --- a/Code/Framework/AzFramework/Tests/InputTests.cpp +++ b/Code/Framework/AzFramework/Tests/InputTests.cpp @@ -29,6 +29,13 @@ namespace InputUnitTests //////////////////////////////////////////////////////////////////////////////////////////////// class InputTest : public ScopedAllocatorSetupFixture { + public: + InputTest() : ScopedAllocatorSetupFixture() + { + // Many input tests are only valid if the GamePad device is supported on this platform. + m_gamepadSupported = InputDeviceGamepad::GetMaxSupportedGamepads() > 0; + } + protected: //////////////////////////////////////////////////////////////////////////////////////////// void SetUp() override @@ -46,6 +53,7 @@ namespace InputUnitTests //////////////////////////////////////////////////////////////////////////////////////////// AZStd::unique_ptr m_inputSystemComponent; + bool m_gamepadSupported; }; //////////////////////////////////////////////////////////////////////////////////////////////// @@ -78,12 +86,17 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputContext_ActivateDeactivate_Successfull) -#else TEST_F(InputTest, InputContext_ActivateDeactivate_Successfull) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputContext_ActivateDeactivate_Successfull"; + #else + SUCCEED() << "Skipping test InputContext_ActivateDeactivate_Successfull"; + #endif + return; + } // Create an input context (they are inactive by default). InputContext inputContext("TestInputContext"); @@ -148,12 +161,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputContext_AddRemoveInputMapping_Successfull) -#else TEST_F(InputTest, InputContext_AddRemoveInputMapping_Successfull) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputContext_AddRemoveInputMapping_Successfull"; + #else + SUCCEED() << "Skipping test InputContext_AddRemoveInputMapping_Successfull"; + #endif + return; + } + // Create an input context and activate it. InputContext inputContext("TestInputContext"); inputContext.Activate(); @@ -256,12 +275,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputContext_ConsumeProcessedInput_Consumed) -#else TEST_F(InputTest, InputContext_ConsumeProcessedInput_Consumed) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputContext_ConsumeProcessedInput_Consumed"; + #else + SUCCEED() << "Skipping test InputContext_ConsumeProcessedInput_Consumed"; + #endif + return; + } + InputContext::InitData initData; // Create a high priority input context that consumes input processed by any of its mappings. @@ -340,12 +365,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputContext_FilteredInput_Mapped) -#else TEST_F(InputTest, InputContext_FilteredInput_Mapped) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputContext_FilteredInput_Mapped"; + #else + SUCCEED() << "Skipping test InputContext_FilteredInput_Mapped"; + #endif + return; + } + // Create an input context that initially only listens for keyboard input. InputContext::InitData initData; initData.autoActivate = true; @@ -413,12 +444,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputMappingOr_AddRemoveSourceInput_Successful) -#else TEST_F(InputTest, InputMappingOr_AddRemoveSourceInput_Successful) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputMappingOr_AddRemoveSourceInput_Successful"; + #else + SUCCEED() << "Skipping test InputMappingOr_AddRemoveSourceInput_Successful"; + #endif + return; + } + // Create an input context and activate it. InputContext inputContext("TestInputContext"); inputContext.Activate(); @@ -491,12 +528,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputMappingOr_SingleSourceInput_Mapped) -#else TEST_F(InputTest, InputMappingOr_SingleSourceInput_Mapped) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputMappingOr_SingleSourceInput_Mapped"; + #else + SUCCEED() << "Skipping test InputMappingOr_SingleSourceInput_Mapped"; + #endif + return; + } + // Create an input context and activate it. InputContext inputContext("TestInputContext"); inputContext.Activate(); @@ -558,12 +601,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputMappingOr_MultipleSourceInputs_Mapped) -#else TEST_F(InputTest, InputMappingOr_MultipleSourceInputs_Mapped) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputMappingOr_MultipleSourceInputs_Mapped"; + #else + SUCCEED() << "Skipping test InputMappingOr_MultipleSourceInputs_Mapped"; + #endif + return; + } + // Create an input context and activate it. InputContext inputContext("TestInputContext"); inputContext.Activate(); @@ -650,12 +699,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputMappingAnd_AddRemoveSourceInput_Successful) -#else TEST_F(InputTest, InputMappingAnd_AddRemoveSourceInput_Successful) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputMappingAnd_AddRemoveSourceInput_Successful"; + #else + SUCCEED() << "Skipping test InputMappingAnd_AddRemoveSourceInput_Successful"; + #endif + return; + } + // Create an input context and activate it. InputContext inputContext("TestInputContext"); inputContext.Activate(); @@ -728,12 +783,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputMappingAnd_SingleSourceInput_Mapped) -#else TEST_F(InputTest, InputMappingAnd_SingleSourceInput_Mapped) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputMappingAnd_SingleSourceInput_Mapped"; + #else + SUCCEED() << "Skipping test InputMappingAnd_SingleSourceInput_Mapped"; + #endif + return; + } + // Create an input context and activate it. InputContext inputContext("TestInputContext"); inputContext.Activate(); @@ -795,12 +856,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputMappingAnd_MultipleSourceInputs_Mapped) -#else TEST_F(InputTest, InputMappingAnd_MultipleSourceInputs_Mapped) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputMappingAnd_MultipleSourceInputs_Mapped"; + #else + SUCCEED() << "Skipping test InputMappingAnd_MultipleSourceInputs_Mapped"; + #endif + return; + } + // Create an input context and activate it. InputContext inputContext("TestInputContext"); inputContext.Activate(); @@ -909,12 +976,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputMappingAnd_MultipleSourceInputsWithDifferentValues_ValuesAveraged) -#else TEST_F(InputTest, InputMappingAnd_MultipleSourceInputsWithDifferentValues_ValuesAveraged) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputMappingAnd_MultipleSourceInputsWithDifferentValues_ValuesAveraged"; + #else + SUCCEED() << "Skipping test InputMappingAnd_MultipleSourceInputsWithDifferentValues_ValuesAveraged"; + #endif + return; + } + // Create an input context and activate it. InputContext inputContext("TestInputContext"); inputContext.Activate(); @@ -969,12 +1042,18 @@ namespace InputUnitTests } //////////////////////////////////////////////////////////////////////////////////////////////// -#if AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS - TEST_F(InputTest, DISABLED_InputMappingAnd_MultipleSourceInputsFromTheSameInputDeviceTypeWithDifferentIndicies_NotMapped) -#else TEST_F(InputTest, InputMappingAnd_MultipleSourceInputsFromTheSameInputDeviceTypeWithDifferentIndicies_NotMapped) -#endif // AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS { + if (!m_gamepadSupported) + { + #if defined(GTEST_SKIP) + GTEST_SKIP() << "Skipping test InputMappingAnd_MultipleSourceInputsFromTheSameInputDeviceTypeWithDifferentIndicies_NotMapped"; + #else + SUCCEED() << "Skipping test InputMappingAnd_MultipleSourceInputsFromTheSameInputDeviceTypeWithDifferentIndicies_NotMapped"; + #endif + return; + } + // Create an input context and activate it. InputContext inputContext("TestInputContext"); inputContext.Activate(); diff --git a/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/AzManipulatorTestFrameworkTestHelpers.h b/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/AzManipulatorTestFrameworkTestHelpers.h index f87f83c1b2..63392eb82f 100644 --- a/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/AzManipulatorTestFrameworkTestHelpers.h +++ b/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/AzManipulatorTestFrameworkTestHelpers.h @@ -29,7 +29,8 @@ namespace UnitTest void SetUpEditorFixtureImpl() override { ToolsApplicationFixtureT::SetUpEditorFixtureImpl(); - m_viewportManipulatorInteraction = AZStd::make_unique(); + m_viewportManipulatorInteraction = + AZStd::make_unique(ToolsApplicationFixtureT::CreateDebugDisplayRequests()); m_actionDispatcher = AZStd::make_unique(*m_viewportManipulatorInteraction); m_cameraState = AzFramework::CreateIdentityDefaultCamera(AZ::Vector3::CreateZero(), AzManipulatorTestFramework::DefaultViewportSize); diff --git a/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/DirectManipulatorViewportInteraction.h b/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/DirectManipulatorViewportInteraction.h index 7cef7b635d..33afee695b 100644 --- a/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/DirectManipulatorViewportInteraction.h +++ b/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/DirectManipulatorViewportInteraction.h @@ -17,11 +17,10 @@ namespace AzManipulatorTestFramework class ViewportInteraction; //! Implementation of manipulator viewport interaction that manipulates the manager directly. - class DirectCallManipulatorViewportInteraction - : public ManipulatorViewportInteraction + class DirectCallManipulatorViewportInteraction : public ManipulatorViewportInteraction { public: - DirectCallManipulatorViewportInteraction(); + explicit DirectCallManipulatorViewportInteraction(AZStd::shared_ptr debugDisplayRequests); ~DirectCallManipulatorViewportInteraction(); // ManipulatorViewportInteractionInterface ... diff --git a/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/IndirectManipulatorViewportInteraction.h b/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/IndirectManipulatorViewportInteraction.h index a7b1be2c7d..da2804dfd5 100644 --- a/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/IndirectManipulatorViewportInteraction.h +++ b/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/IndirectManipulatorViewportInteraction.h @@ -21,7 +21,7 @@ namespace AzManipulatorTestFramework class IndirectCallManipulatorViewportInteraction : public ManipulatorViewportInteraction { public: - IndirectCallManipulatorViewportInteraction(); + explicit IndirectCallManipulatorViewportInteraction(AZStd::shared_ptr debugDisplayRequests); ~IndirectCallManipulatorViewportInteraction(); // ManipulatorViewportInteractionInterface ... diff --git a/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/ViewportInteraction.h b/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/ViewportInteraction.h index a353140d4c..1568c1a931 100644 --- a/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/ViewportInteraction.h +++ b/Code/Framework/AzManipulatorTestFramework/Include/AzManipulatorTestFramework/ViewportInteraction.h @@ -11,10 +11,13 @@ #include #include -namespace AzManipulatorTestFramework +namespace AzFramework { - class NullDebugDisplayRequests; + class DebugDisplayRequests; +} +namespace AzManipulatorTestFramework +{ //! Implementation of the viewport interaction model to handle viewport interaction requests. class ViewportInteraction : public ViewportInteractionInterface @@ -23,7 +26,7 @@ namespace AzManipulatorTestFramework , private AzToolsFramework::ViewportInteraction::EditorEntityViewportInteractionRequestBus::Handler { public: - ViewportInteraction(); + explicit ViewportInteraction(AZStd::shared_ptr debugDisplayRequests); ~ViewportInteraction(); // ViewportInteractionInterface overrides ... @@ -63,7 +66,7 @@ namespace AzManipulatorTestFramework static constexpr AzFramework::ViewportId m_viewportId = 1234; //!< Arbitrary viewport id for manipulator tests. AzFramework::EntityVisibilityQuery m_entityVisibilityQuery; - AZStd::unique_ptr m_nullDebugDisplayRequests; + AZStd::shared_ptr m_debugDisplayRequests; AzFramework::CameraState m_cameraState; bool m_gridSnapping = false; bool m_angularSnapping = false; diff --git a/Code/Framework/AzManipulatorTestFramework/Source/DirectManipulatorViewportInteraction.cpp b/Code/Framework/AzManipulatorTestFramework/Source/DirectManipulatorViewportInteraction.cpp index c9234fe488..c96840e4c9 100644 --- a/Code/Framework/AzManipulatorTestFramework/Source/DirectManipulatorViewportInteraction.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Source/DirectManipulatorViewportInteraction.cpp @@ -118,10 +118,11 @@ namespace AzManipulatorTestFramework return m_manipulatorManager->Interacting(); } - DirectCallManipulatorViewportInteraction::DirectCallManipulatorViewportInteraction() + DirectCallManipulatorViewportInteraction::DirectCallManipulatorViewportInteraction( + AZStd::shared_ptr debugDisplayRequests) : m_customManager( AZStd::make_unique(AzToolsFramework::ManipulatorManagerId(AZ::Crc32("TestManipulatorManagerId")))) - , m_viewportInteraction(AZStd::make_unique()) + , m_viewportInteraction(AZStd::make_unique(AZStd::move(debugDisplayRequests))) , m_manipulatorManager(AZStd::make_unique(m_viewportInteraction.get(), m_customManager)) { } diff --git a/Code/Framework/AzManipulatorTestFramework/Source/IndirectManipulatorViewportInteraction.cpp b/Code/Framework/AzManipulatorTestFramework/Source/IndirectManipulatorViewportInteraction.cpp index 9bcb8986d5..9c5f84196f 100644 --- a/Code/Framework/AzManipulatorTestFramework/Source/IndirectManipulatorViewportInteraction.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Source/IndirectManipulatorViewportInteraction.cpp @@ -76,8 +76,9 @@ namespace AzManipulatorTestFramework return manipulatorInteracting; } - IndirectCallManipulatorViewportInteraction::IndirectCallManipulatorViewportInteraction() - : m_viewportInteraction(AZStd::make_unique()) + IndirectCallManipulatorViewportInteraction::IndirectCallManipulatorViewportInteraction( + AZStd::shared_ptr debugDisplayRequests) + : m_viewportInteraction(AZStd::make_unique(AZStd::move(debugDisplayRequests))) , m_manipulatorManager(AZStd::make_unique(*m_viewportInteraction)) { } diff --git a/Code/Framework/AzManipulatorTestFramework/Source/ViewportInteraction.cpp b/Code/Framework/AzManipulatorTestFramework/Source/ViewportInteraction.cpp index e56f7d6d72..1a28c8cad1 100644 --- a/Code/Framework/AzManipulatorTestFramework/Source/ViewportInteraction.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Source/ViewportInteraction.cpp @@ -13,15 +13,8 @@ namespace AzManipulatorTestFramework { - // Null debug display for dummy draw calls - class NullDebugDisplayRequests : public AzFramework::DebugDisplayRequests - { - public: - virtual ~NullDebugDisplayRequests() = default; - }; - - ViewportInteraction::ViewportInteraction() - : m_nullDebugDisplayRequests(AZStd::make_unique()) + ViewportInteraction::ViewportInteraction(AZStd::shared_ptr debugDisplayRequests) + : m_debugDisplayRequests(AZStd::move(debugDisplayRequests)) { AzToolsFramework::ViewportInteraction::ViewportInteractionRequestBus::Handler::BusConnect(m_viewportId); AzToolsFramework::ViewportInteraction::ViewportSettingsRequestBus::Handler::BusConnect(m_viewportId); @@ -102,7 +95,7 @@ namespace AzManipulatorTestFramework AzFramework::DebugDisplayRequests& ViewportInteraction::GetDebugDisplay() { - return *m_nullDebugDisplayRequests; + return *m_debugDisplayRequests; } void ViewportInteraction::SetGridSnapping(const bool enabled) diff --git a/Code/Framework/AzManipulatorTestFramework/Tests/GridSnappingTest.cpp b/Code/Framework/AzManipulatorTestFramework/Tests/GridSnappingTest.cpp index 4af66edc0a..8707d08bb3 100644 --- a/Code/Framework/AzManipulatorTestFramework/Tests/GridSnappingTest.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Tests/GridSnappingTest.cpp @@ -26,7 +26,8 @@ namespace UnitTest { public: GridSnappingFixture() - : m_viewportManipulatorInteraction(AZStd::make_unique()) + : m_viewportManipulatorInteraction(AZStd::make_unique( + AZStd::make_shared())) , m_actionDispatcher( AZStd::make_unique(*m_viewportManipulatorInteraction)) { diff --git a/Code/Framework/AzManipulatorTestFramework/Tests/ViewportInteractionTest.cpp b/Code/Framework/AzManipulatorTestFramework/Tests/ViewportInteractionTest.cpp index 38c3e33977..481647f960 100644 --- a/Code/Framework/AzManipulatorTestFramework/Tests/ViewportInteractionTest.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Tests/ViewportInteractionTest.cpp @@ -15,7 +15,8 @@ namespace UnitTest { public: AValidViewportInteraction() - : m_viewportInteraction(AZStd::make_unique()) + : m_viewportInteraction( + AZStd::make_unique(AZStd::make_shared())) { } diff --git a/Code/Framework/AzManipulatorTestFramework/Tests/WorldSpaceBuilderTest.cpp b/Code/Framework/AzManipulatorTestFramework/Tests/WorldSpaceBuilderTest.cpp index 376c18072e..95afe0e47d 100644 --- a/Code/Framework/AzManipulatorTestFramework/Tests/WorldSpaceBuilderTest.cpp +++ b/Code/Framework/AzManipulatorTestFramework/Tests/WorldSpaceBuilderTest.cpp @@ -75,9 +75,11 @@ namespace UnitTest void SetUpEditorFixtureImpl() override { m_directState = - AZStd::make_unique(AZStd::make_unique()); + AZStd::make_unique(AZStd::make_unique( + AZStd::make_shared())); m_busState = - AZStd::make_unique(AZStd::make_unique()); + AZStd::make_unique(AZStd::make_unique( + AZStd::make_shared())); m_cameraState = AzFramework::CreateIdentityDefaultCamera(AZ::Vector3::CreateZero(), AzManipulatorTestFramework::DefaultViewportSize); } diff --git a/Code/Framework/AzTest/AzTest/Platform/Linux/AzTest_Traits_Linux.h b/Code/Framework/AzTest/AzTest/Platform/Linux/AzTest_Traits_Linux.h index b8a604b582..94f3dd004a 100644 --- a/Code/Framework/AzTest/AzTest/Platform/Linux/AzTest_Traits_Linux.h +++ b/Code/Framework/AzTest/AzTest/Platform/Linux/AzTest_Traits_Linux.h @@ -14,7 +14,6 @@ #define AZ_TRAIT_UNIT_TEST_DILLER_TRIGGER_EVENT_COUNT 100000 #define AZ_TRAIT_DISABLE_FAILED_AP_CONNECTION_TESTS true -#define AZ_TRAIT_DISABLE_FAILED_ASSET_LOAD_TESTS true #define AZ_TRAIT_DISABLE_FAILED_ATOM_RPI_TESTS true #define AZ_TRAIT_DISABLE_FAILED_ARCHIVE_TESTS true @@ -23,7 +22,6 @@ #define AZ_TRAIT_DISABLE_FAILED_FRAMEWORK_TESTS true #define AZ_TRAIT_DISABLE_FAILED_GRADIENT_SIGNAL_TESTS true #define AZ_TRAIT_DISABLE_FAILED_MULTIPLAYER_GRIDMATE_TESTS true -#define AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS true #define AZ_TRAIT_DISABLE_FAILED_NATIVE_WINDOWS_TESTS true #define AZ_TRAIT_DISABLE_FAILED_PROCESS_LAUNCHER_TESTS true #define AZ_TRAIT_DISABLE_FAILED_EMOTION_FX_TESTS true diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Entity/ReadOnly/ReadOnlyEntitySystemComponent.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Entity/ReadOnly/ReadOnlyEntitySystemComponent.cpp index f7f36177c9..7536e1e8a5 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Entity/ReadOnly/ReadOnlyEntitySystemComponent.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Entity/ReadOnly/ReadOnlyEntitySystemComponent.cpp @@ -52,7 +52,7 @@ namespace AzToolsFramework void ReadOnlyEntitySystemComponent::RefreshReadOnlyState(const EntityIdList& entityIds) { - for (const AZ::EntityId entityId : entityIds) + for (const AZ::EntityId& entityId : entityIds) { bool wasReadOnly = m_readOnlystates[entityId]; QueryReadOnlyStateForEntity(entityId); @@ -67,10 +67,10 @@ namespace AzToolsFramework void ReadOnlyEntitySystemComponent::RefreshReadOnlyStateForAllEntities() { - for (auto elem : m_readOnlystates) + for (auto& elem : m_readOnlystates) { AZ::EntityId entityId = elem.first; - bool wasReadOnly = m_readOnlystates[entityId]; + bool wasReadOnly = elem.second; QueryReadOnlyStateForEntity(entityId); if (bool isReadOnly = m_readOnlystates[entityId]; wasReadOnly != isReadOnly) diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Logger/TraceLogger.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Logger/TraceLogger.cpp index ce73826388..8c7150f027 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Logger/TraceLogger.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Logger/TraceLogger.cpp @@ -50,7 +50,7 @@ namespace AzToolsFramework return false; } - void TraceLogger::PrepareLogFile(const AZStd::string& logFileName) + void TraceLogger::OpenLogFile(const AZStd::string& logFileName, bool clearLogFile) { using namespace AzFramework; @@ -73,7 +73,7 @@ namespace AzToolsFramework AZStd::string logPath; StringFunc::Path::Join(logDirectory.c_str(), logFileName.c_str(), logPath); - m_logFile.reset(aznew LogFile(logPath.c_str())); + m_logFile.reset(aznew LogFile(logPath.c_str(), clearLogFile)); if (m_logFile) { m_logFile->SetMachineReadable(false); @@ -81,7 +81,7 @@ namespace AzToolsFramework { m_logFile->AppendLog(LogFile::SEV_NORMAL, message.window.c_str(), message.message.c_str()); } - m_startupLogSink = {}; + m_startupLogSink.clear(); m_logFile->FlushLog(); } } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Logger/TraceLogger.h b/Code/Framework/AzToolsFramework/AzToolsFramework/Logger/TraceLogger.h index 10708e3239..639674f69e 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Logger/TraceLogger.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Logger/TraceLogger.h @@ -23,7 +23,7 @@ namespace AzToolsFramework ~TraceLogger(); //! Open log file and dump log sink into it - void PrepareLogFile(const AZStd::string& logFileName); + void OpenLogFile(const AZStd::string& logFileName, bool clearLogFile); //! Add filter to ignore messages for windows with matching names void AddWindowFilter(const AZStd::string& filter); @@ -55,7 +55,8 @@ namespace AzToolsFramework AZStd::string window; AZStd::string message; }; - AZStd::vector m_startupLogSink; + + AZStd::list m_startupLogSink; AZStd::unordered_set m_windowFilters; AZStd::unordered_set m_messageFilters; AZStd::unique_ptr m_logFile; diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/AngularManipulator.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/AngularManipulator.cpp index b8fb4e6a53..29445f6562 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/AngularManipulator.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/AngularManipulator.cpp @@ -191,8 +191,8 @@ namespace AzToolsFramework { m_manipulatorView->Draw( GetManipulatorManagerId(), managerState, GetManipulatorId(), - { ApplySpace(GetLocalTransform()), GetNonUniformScale(), AZ::Vector3::CreateZero(), MouseOver() }, debugDisplay, cameraState, - mouseInteraction); + ManipulatorState{ ApplySpace(GetLocalTransform()), GetNonUniformScale(), AZ::Vector3::CreateZero(), MouseOver() }, debugDisplay, + cameraState, mouseInteraction); } void AngularManipulator::SetAxis(const AZ::Vector3& axis) diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/BaseManipulator.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/BaseManipulator.cpp index b514c3957f..0221d6db8a 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/BaseManipulator.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/BaseManipulator.cpp @@ -14,7 +14,7 @@ namespace AzToolsFramework { - AZ_CVAR(bool, cl_manipulatorDrawDebug, false, nullptr, AZ::ConsoleFunctorFlags::Null, "Enable debug drawing for Manipulators"); + AZ_CVAR(bool, ed_manipulatorDrawDebug, false, nullptr, AZ::ConsoleFunctorFlags::Null, "Enable debug drawing for Manipulators"); const AZ::Color BaseManipulator::s_defaultMouseOverColor = AZ::Color(1.0f, 1.0f, 0.0f, 1.0f); // yellow diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/BaseManipulator.h b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/BaseManipulator.h index 06e9c82e55..07a622c936 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/BaseManipulator.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/BaseManipulator.h @@ -28,7 +28,7 @@ namespace AzFramework namespace AzToolsFramework { - AZ_CVAR_EXTERNED(bool, cl_manipulatorDrawDebug); + AZ_CVAR_EXTERNED(bool, ed_manipulatorDrawDebug); namespace UndoSystem { diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/LineSegmentSelectionManipulator.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/LineSegmentSelectionManipulator.cpp index 2131fdf1cf..4ded50e1ab 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/LineSegmentSelectionManipulator.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/LineSegmentSelectionManipulator.cpp @@ -116,8 +116,8 @@ namespace AzToolsFramework { m_manipulatorView->Draw( GetManipulatorManagerId(), managerState, GetManipulatorId(), - { TransformUniformScale(GetSpace()), GetNonUniformScale(), m_localStart, MouseOver() }, debugDisplay, cameraState, - mouseInteraction); + ManipulatorState{ TransformUniformScale(GetSpace()), GetNonUniformScale(), m_localStart, MouseOver() }, debugDisplay, + cameraState, mouseInteraction); } } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/LinearManipulator.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/LinearManipulator.cpp index 2c85d9df38..8b55480e5a 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/LinearManipulator.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/LinearManipulator.cpp @@ -207,7 +207,7 @@ namespace AzToolsFramework ? AZ::Transform::CreateFromQuaternionAndTranslation(m_visualOrientationOverride, GetLocalPosition()) : GetLocalTransform(); - if (cl_manipulatorDrawDebug) + if (ed_manipulatorDrawDebug) { if (PerformingAction()) { @@ -239,8 +239,8 @@ namespace AzToolsFramework view->Draw( GetManipulatorManagerId(), managerState, GetManipulatorId(), - { ApplySpace(localTransform), GetNonUniformScale(), AZ::Vector3::CreateZero(), MouseOver() }, debugDisplay, cameraState, - mouseInteraction); + ManipulatorState{ ApplySpace(localTransform), GetNonUniformScale(), AZ::Vector3::CreateZero(), MouseOver() }, debugDisplay, + cameraState, mouseInteraction); } } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorManager.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorManager.cpp index b07ac08d87..859bfcab30 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorManager.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorManager.cpp @@ -146,7 +146,7 @@ namespace AzToolsFramework for (const auto& pair : m_manipulatorIdToPtrMap) { - pair.second->Draw({ Interacting() }, debugDisplay, cameraState, mouseInteraction); + pair.second->Draw(ManipulatorManagerState{ Interacting() }, debugDisplay, cameraState, mouseInteraction); } RefreshMouseOverState(mouseInteraction.m_mousePick); diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorSpace.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorSpace.cpp index d42182db92..5e05bea72a 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorSpace.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorSpace.cpp @@ -10,6 +10,15 @@ namespace AzToolsFramework { + AZ::Transform ApplySpace(const AZ::Transform& localTransform, const AZ::Transform& space, const AZ::Vector3& nonUniformScale) + { + AZ::Transform result; + result.SetRotation(space.GetRotation() * localTransform.GetRotation()); + result.SetTranslation(space.TransformPoint(nonUniformScale * localTransform.GetTranslation())); + result.SetUniformScale(space.GetUniformScale() * localTransform.GetUniformScale()); + return result; + } + const AZ::Transform& ManipulatorSpace::GetSpace() const { return m_space; @@ -32,11 +41,7 @@ namespace AzToolsFramework AZ::Transform ManipulatorSpace::ApplySpace(const AZ::Transform& localTransform) const { - AZ::Transform result; - result.SetRotation(m_space.GetRotation() * localTransform.GetRotation()); - result.SetTranslation(m_space.TransformPoint(m_nonUniformScale * localTransform.GetTranslation())); - result.SetUniformScale(m_space.GetUniformScale() * localTransform.GetUniformScale()); - return result; + return AzToolsFramework::ApplySpace(localTransform, m_space, m_nonUniformScale); } const AZ::Vector3& ManipulatorSpaceWithLocalPosition::GetLocalPosition() const diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorSpace.h b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorSpace.h index c372afcf32..5ceb4a36cc 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorSpace.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorSpace.h @@ -17,6 +17,8 @@ namespace AZ namespace AzToolsFramework { + AZ::Transform ApplySpace(const AZ::Transform& localTransform, const AZ::Transform& space, const AZ::Vector3& nonUniformScale); + //! Handles location for manipulators which have a global space but no local transformation. class ManipulatorSpace { diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorView.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorView.cpp index d3c94dc8ab..e4ee75bbf9 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorView.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorView.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include AZ_CVAR( @@ -30,6 +31,13 @@ AZ_CVAR( nullptr, AZ::ConsoleFunctorFlags::Null, "Display additional debug drawing for manipulator bounds"); +AZ_CVAR( + float, + ed_planarManipulatorBoundScaleFactor, + 1.75f, + nullptr, + AZ::ConsoleFunctorFlags::Null, + "The scale factor to apply to the planar manipulator bounds"); namespace AzToolsFramework { @@ -78,7 +86,8 @@ namespace AzToolsFramework { // check if we actually needed to flip the axis, if so, write to shouldCorrect // so we know and are able to draw it differently if we wish (e.g. hollow if flipped) - const bool correcting = ShouldFlipCameraAxis(worldFromLocal, localPosition, axis, cameraState); + const bool correcting = + FlipManipulatorAxesTowardsView() && ShouldFlipCameraAxis(worldFromLocal, localPosition, axis, cameraState); // the corrected axis, if no flip was required, output == input correctedAxis = correcting ? -axis : axis; @@ -325,7 +334,8 @@ namespace AzToolsFramework float ManipulatorView::ManipulatorViewScaleMultiplier( const AZ::Vector3& worldPosition, const AzFramework::CameraState& cameraState) const { - return ScreenSizeFixed() ? CalculateScreenToWorldMultiplier(worldPosition, cameraState) : 1.0f; + const float screenScale = ScreenSizeFixed() ? CalculateScreenToWorldMultiplier(worldPosition, cameraState) : 1.0f; + return screenScale * ManipulatorViewBaseScale(); } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -342,47 +352,77 @@ namespace AzToolsFramework const AZ::Vector3 axis1 = m_axis1; const AZ::Vector3 axis2 = m_axis2; - CameraCorrectAxis( - axis1, m_cameraCorrectedAxis1, managerState, mouseInteraction, manipulatorState.m_worldFromLocal, - manipulatorState.m_localPosition, cameraState); - CameraCorrectAxis( - axis2, m_cameraCorrectedAxis2, managerState, mouseInteraction, manipulatorState.m_worldFromLocal, - manipulatorState.m_localPosition, cameraState); + // support partial application of CameraCorrectAxis to reduce redundant call site parameters + auto cameraCorrectAxisPartialFn = + [&manipulatorState, &managerState, &mouseInteraction, &cameraState](const AZ::Vector3& inAxis, AZ::Vector3& outAxis) + { + CameraCorrectAxis( + inAxis, outAxis, managerState, mouseInteraction, manipulatorState.m_worldFromLocal, manipulatorState.m_localPosition, + cameraState); + }; - const Picking::BoundShapeQuad quadBound = CalculateQuadBound( - manipulatorState.m_localPosition, manipulatorState, m_cameraCorrectedAxis1, m_cameraCorrectedAxis2, - m_size * - ManipulatorViewScaleMultiplier( - manipulatorState.m_worldFromLocal.TransformPoint(manipulatorState.m_localPosition), cameraState)); + cameraCorrectAxisPartialFn(axis1, m_cameraCorrectedAxis1); + cameraCorrectAxisPartialFn(axis2, m_cameraCorrectedAxis2); + cameraCorrectAxisPartialFn(axis1 * axis1.Dot(m_offset), m_cameraCorrectedOffsetAxis1); + cameraCorrectAxisPartialFn(axis2 * axis2.Dot(m_offset), m_cameraCorrectedOffsetAxis2); + + const AZ::Vector3 totalScale = + manipulatorState.m_nonUniformScale * AZ::Vector3(manipulatorState.m_worldFromLocal.GetUniformScale()); + + const auto cameraCorrectedVisualOffset = (m_cameraCorrectedOffsetAxis1 + m_cameraCorrectedOffsetAxis2) * totalScale.GetReciprocal(); + const auto viewScale = + ManipulatorViewScaleMultiplier(manipulatorState.m_worldFromLocal.TransformPoint(manipulatorState.m_localPosition), cameraState); + const Picking::BoundShapeQuad quadBoundVisual = CalculateQuadBound( + manipulatorState.m_localPosition + (cameraCorrectedVisualOffset * viewScale), manipulatorState, m_cameraCorrectedAxis1, + m_cameraCorrectedAxis2, m_size * viewScale); debugDisplay.SetLineWidth(defaultLineWidth(manipulatorState.m_mouseOver)); debugDisplay.SetColor(ViewColor(manipulatorState.m_mouseOver, m_axis1Color, m_mouseOverColor).GetAsVector4()); - debugDisplay.DrawLine(quadBound.m_corner4, quadBound.m_corner3); + debugDisplay.DrawLine(quadBoundVisual.m_corner4, quadBoundVisual.m_corner3); + debugDisplay.DrawLine(quadBoundVisual.m_corner1, quadBoundVisual.m_corner2); debugDisplay.SetColor(ViewColor(manipulatorState.m_mouseOver, m_axis2Color, m_mouseOverColor).GetAsVector4()); - debugDisplay.DrawLine(quadBound.m_corner2, quadBound.m_corner3); + debugDisplay.DrawLine(quadBoundVisual.m_corner4, quadBoundVisual.m_corner1); + debugDisplay.DrawLine(quadBoundVisual.m_corner2, quadBoundVisual.m_corner3); if (manipulatorState.m_mouseOver) { debugDisplay.SetColor(Vector3ToVector4(m_mouseOverColor.GetAsVector3(), 0.5f)); debugDisplay.CullOff(); - debugDisplay.DrawQuad(quadBound.m_corner1, quadBound.m_corner2, quadBound.m_corner3, quadBound.m_corner4); + debugDisplay.DrawQuad( + quadBoundVisual.m_corner1, quadBoundVisual.m_corner2, quadBoundVisual.m_corner3, quadBoundVisual.m_corner4); debugDisplay.CullOn(); } - RefreshBoundInternal(managerId, manipulatorId, quadBound); + // total size of bounds to use for mouse intersection + const float hitSize = m_size * ed_planarManipulatorBoundScaleFactor; + // size of edge bounds (the 'margin/border' outside the visual representation) + const float edgeSize = (hitSize - m_size) * 0.5f; + const AZ::Vector3 edgeOffset = + ((m_cameraCorrectedAxis1 * edgeSize + m_cameraCorrectedAxis2 * edgeSize) * totalScale.GetReciprocal()); + const auto cameraCorrectedHitOffset = cameraCorrectedVisualOffset - edgeOffset; + const Picking::BoundShapeQuad quadBoundHit = CalculateQuadBound( + manipulatorState.m_localPosition + (cameraCorrectedHitOffset * viewScale), manipulatorState, m_cameraCorrectedAxis1, + m_cameraCorrectedAxis2, hitSize * viewScale); + + if (ed_manipulatorDisplayBoundDebug) + { + debugDisplay.DrawQuad(quadBoundHit.m_corner1, quadBoundHit.m_corner2, quadBoundHit.m_corner3, quadBoundHit.m_corner4); + } + + RefreshBoundInternal(managerId, manipulatorId, quadBoundHit); } void ManipulatorViewQuadBillboard::Draw( const ManipulatorManagerId managerId, - const ManipulatorManagerState& /*managerState*/, + [[maybe_unused]] const ManipulatorManagerState& managerState, const ManipulatorId manipulatorId, const ManipulatorState& manipulatorState, AzFramework::DebugDisplayRequests& debugDisplay, const AzFramework::CameraState& cameraState, - const ViewportInteraction::MouseInteraction& /*mouseInteraction*/) + [[maybe_unused]] const ViewportInteraction::MouseInteraction& mouseInteraction) { const Picking::BoundShapeQuad quadBound = CalculateQuadBoundBillboard( manipulatorState.m_localPosition, manipulatorState.m_worldFromLocal, @@ -442,7 +482,7 @@ namespace AzToolsFramework void ManipulatorViewLineSelect::Draw( const ManipulatorManagerId managerId, - const ManipulatorManagerState& /*managerState*/, + [[maybe_unused]] const ManipulatorManagerState& managerState, const ManipulatorId manipulatorId, const ManipulatorState& manipulatorState, AzFramework::DebugDisplayRequests& debugDisplay, @@ -570,7 +610,7 @@ namespace AzToolsFramework void ManipulatorViewSphere::Draw( const ManipulatorManagerId managerId, - const ManipulatorManagerState& /*managerState*/, + [[maybe_unused]] const ManipulatorManagerState& managerState, const ManipulatorId manipulatorId, const ManipulatorState& manipulatorState, AzFramework::DebugDisplayRequests& debugDisplay, @@ -599,12 +639,12 @@ namespace AzToolsFramework void ManipulatorViewCircle::Draw( const ManipulatorManagerId managerId, - const ManipulatorManagerState& /*managerState*/, + [[maybe_unused]] const ManipulatorManagerState& managerState, const ManipulatorId manipulatorId, const ManipulatorState& manipulatorState, AzFramework::DebugDisplayRequests& debugDisplay, const AzFramework::CameraState& cameraState, - const ViewportInteraction::MouseInteraction& /*mouseInteraction*/) + [[maybe_unused]] const ViewportInteraction::MouseInteraction& mouseInteraction) { const float viewScale = ManipulatorViewScaleMultiplier(manipulatorState.m_worldFromLocal.TransformPoint(manipulatorState.m_localPosition), cameraState); @@ -665,7 +705,7 @@ namespace AzToolsFramework void ManipulatorViewSplineSelect::Draw( const ManipulatorManagerId managerId, - const ManipulatorManagerState& /*managerState*/, + [[maybe_unused]] const ManipulatorManagerState& managerState, const ManipulatorId manipulatorId, const ManipulatorState& manipulatorState, AzFramework::DebugDisplayRequests& debugDisplay, @@ -698,12 +738,18 @@ namespace AzToolsFramework /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// AZStd::unique_ptr CreateManipulatorViewQuad( - const PlanarManipulator& planarManipulator, const AZ::Color& axis1Color, const AZ::Color& axis2Color, const float size) + const AZ::Vector3& axis1, + const AZ::Vector3& axis2, + const AZ::Color& axis1Color, + const AZ::Color& axis2Color, + const AZ::Vector3& offset, + const float size) { AZStd::unique_ptr viewQuad = AZStd::make_unique(); - viewQuad->m_axis1 = planarManipulator.GetAxis1(); - viewQuad->m_axis2 = planarManipulator.GetAxis2(); + viewQuad->m_axis1 = axis1; + viewQuad->m_axis2 = axis2; viewQuad->m_size = size; + viewQuad->m_offset = offset; viewQuad->m_axis1Color = axis1Color; viewQuad->m_axis2Color = axis2Color; return viewQuad; diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorView.h b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorView.h index 9eb84c7e0b..8a9514d11a 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorView.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ManipulatorView.h @@ -54,7 +54,7 @@ namespace AzToolsFramework AZ_RTTI(ManipulatorView, "{7529E3E9-39B3-4D15-899A-FA13770113B2}") ManipulatorView(); - ManipulatorView(bool screenSizeFixed); + explicit ManipulatorView(bool screenSizeFixed); virtual ~ManipulatorView(); ManipulatorView(ManipulatorView&&) = default; ManipulatorView& operator=(ManipulatorView&&) = default; @@ -117,13 +117,16 @@ namespace AzToolsFramework AZ::Vector3 m_axis1 = AZ::Vector3(1.0f, 0.0f, 0.0f); AZ::Vector3 m_axis2 = AZ::Vector3(0.0f, 1.0f, 0.0f); + AZ::Vector3 m_offset = AZ::Vector3::CreateZero(); AZ::Color m_axis1Color = AZ::Color(1.0f, 0.0f, 0.0f, 1.0f); AZ::Color m_axis2Color = AZ::Color(1.0f, 0.0f, 0.0f, 1.0f); float m_size = 0.06f; //!< size to render and do mouse ray intersection tests against. private: - AZ::Vector3 m_cameraCorrectedAxis1; - AZ::Vector3 m_cameraCorrectedAxis2; + AZ::Vector3 m_cameraCorrectedAxis1; //!< First axis of quad (should be orthogonal to second axis). + AZ::Vector3 m_cameraCorrectedAxis2; //!< Second axis of quad (should be orthogonal to first axis). + AZ::Vector3 m_cameraCorrectedOffsetAxis1; //!< Offset along first axis (parallel with first axis). + AZ::Vector3 m_cameraCorrectedOffsetAxis2; //!< Offset along second axis (parallel with second axis). }; //! A screen aligned quad, centered at the position of the manipulator, display filled. @@ -379,7 +382,12 @@ namespace AzToolsFramework // Helpers to create various manipulator views. AZStd::unique_ptr CreateManipulatorViewQuad( - const PlanarManipulator& planarManipulator, const AZ::Color& axis1Color, const AZ::Color& axis2Color, float size); + const AZ::Vector3& axis1, + const AZ::Vector3& axis2, + const AZ::Color& axis1Color, + const AZ::Color& axis2Color, + const AZ::Vector3& offset, + float size); AZStd::unique_ptr CreateManipulatorViewQuadBillboard(const AZ::Color& color, float size); diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/MultiLinearManipulator.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/MultiLinearManipulator.cpp index cc8e5d4866..f4dca63d77 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/MultiLinearManipulator.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/MultiLinearManipulator.cpp @@ -132,7 +132,7 @@ namespace AzToolsFramework const AzFramework::CameraState& cameraState, const ViewportInteraction::MouseInteraction& mouseInteraction) { - if (cl_manipulatorDrawDebug) + if (ed_manipulatorDrawDebug) { const AZ::Transform combined = TransformUniformScale(GetSpace()) * GetLocalTransform(); for (const auto& fixed : m_fixedAxes) @@ -145,8 +145,8 @@ namespace AzToolsFramework { view->Draw( GetManipulatorManagerId(), managerState, GetManipulatorId(), - { ApplySpace(GetLocalTransform()), GetNonUniformScale(), AZ::Vector3::CreateZero(), MouseOver() }, debugDisplay, - cameraState, mouseInteraction); + ManipulatorState{ ApplySpace(GetLocalTransform()), GetNonUniformScale(), AZ::Vector3::CreateZero(), MouseOver() }, + debugDisplay, cameraState, mouseInteraction); } } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/PlanarManipulator.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/PlanarManipulator.cpp index 0326e4a07f..9dbb49a1e6 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/PlanarManipulator.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/PlanarManipulator.cpp @@ -171,7 +171,7 @@ namespace AzToolsFramework const AzFramework::CameraState& cameraState, const ViewportInteraction::MouseInteraction& mouseInteraction) { - if (cl_manipulatorDrawDebug) + if (ed_manipulatorDrawDebug) { if (PerformingAction()) { @@ -202,8 +202,8 @@ namespace AzToolsFramework { view->Draw( GetManipulatorManagerId(), managerState, GetManipulatorId(), - { ApplySpace(GetLocalTransform()), GetNonUniformScale(), AZ::Vector3::CreateZero(), MouseOver() }, debugDisplay, - cameraState, mouseInteraction); + ManipulatorState{ ApplySpace(GetLocalTransform()), GetNonUniformScale(), AZ::Vector3::CreateZero(), MouseOver() }, + debugDisplay, cameraState, mouseInteraction); } } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ScaleManipulators.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ScaleManipulators.cpp index d8c43ace9e..4b48512a5c 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ScaleManipulators.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/ScaleManipulators.cpp @@ -9,6 +9,7 @@ #include "ScaleManipulators.h" #include +#include namespace AzToolsFramework { @@ -120,25 +121,25 @@ namespace AzToolsFramework void ScaleManipulators::ConfigureView( const float axisLength, const AZ::Color& axis1Color, const AZ::Color& axis2Color, const AZ::Color& axis3Color) { - const float boxSize = 0.1f; + const float boxHalfExtent = ScaleManipulatorBoxHalfExtent(); const AZ::Color colors[] = { axis1Color, axis2Color, axis3Color }; for (size_t manipulatorIndex = 0; manipulatorIndex < m_axisScaleManipulators.size(); ++manipulatorIndex) { - const auto lineLength = axisLength - boxSize; + const auto lineLength = axisLength - (2.0f * boxHalfExtent); ManipulatorViews views; - views.emplace_back( - CreateManipulatorViewLine(*m_axisScaleManipulators[manipulatorIndex], colors[manipulatorIndex], axisLength, m_lineBoundWidth)); + views.emplace_back(CreateManipulatorViewLine( + *m_axisScaleManipulators[manipulatorIndex], colors[manipulatorIndex], axisLength, m_lineBoundWidth)); views.emplace_back(CreateManipulatorViewBox( AZ::Transform::CreateIdentity(), colors[manipulatorIndex], - m_axisScaleManipulators[manipulatorIndex]->GetAxis() * lineLength, AZ::Vector3(boxSize))); + m_axisScaleManipulators[manipulatorIndex]->GetAxis() * (lineLength + boxHalfExtent), AZ::Vector3(boxHalfExtent))); m_axisScaleManipulators[manipulatorIndex]->SetViews(AZStd::move(views)); } ManipulatorViews views; views.emplace_back(CreateManipulatorViewBox( - AZ::Transform::CreateIdentity(), AZ::Color::CreateOne(), AZ::Vector3::CreateZero(), AZ::Vector3(boxSize))); + AZ::Transform::CreateIdentity(), AZ::Color::CreateOne(), AZ::Vector3::CreateZero(), AZ::Vector3(boxHalfExtent))); m_uniformScaleManipulator->SetViews(AZStd::move(views)); } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SelectionManipulator.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SelectionManipulator.cpp index 9cf97dc213..64496c44d7 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SelectionManipulator.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SelectionManipulator.cpp @@ -90,8 +90,8 @@ namespace AzToolsFramework { view->Draw( GetManipulatorManagerId(), managerState, GetManipulatorId(), - { TransformUniformScale(GetSpace()), GetNonUniformScale(), GetLocalPosition(), MouseOver() }, debugDisplay, cameraState, - mouseInteraction); + ManipulatorState{ TransformUniformScale(GetSpace()), GetNonUniformScale(), GetLocalPosition(), MouseOver() }, debugDisplay, + cameraState, mouseInteraction); } } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SplineSelectionManipulator.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SplineSelectionManipulator.cpp index 4ee965e43a..1da4240bf7 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SplineSelectionManipulator.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SplineSelectionManipulator.cpp @@ -94,8 +94,8 @@ namespace AzToolsFramework { m_manipulatorView->Draw( GetManipulatorManagerId(), managerState, GetManipulatorId(), - { TransformUniformScale(GetSpace()), GetNonUniformScale(), AZ::Vector3::CreateZero(), MouseOver() }, debugDisplay, - cameraState, mouseInteraction); + ManipulatorState{ TransformUniformScale(GetSpace()), GetNonUniformScale(), AZ::Vector3::CreateZero(), MouseOver() }, + debugDisplay, cameraState, mouseInteraction); } } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SurfaceManipulator.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SurfaceManipulator.cpp index 01b8635406..58d579b20c 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SurfaceManipulator.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/SurfaceManipulator.cpp @@ -166,8 +166,8 @@ namespace AzToolsFramework { m_manipulatorView->Draw( GetManipulatorManagerId(), managerState, GetManipulatorId(), - { TransformUniformScale(GetSpace()), GetNonUniformScale(), GetLocalPosition(), MouseOver() }, debugDisplay, cameraState, - mouseInteraction); + ManipulatorState{ TransformUniformScale(GetSpace()), GetNonUniformScale(), GetLocalPosition(), MouseOver() }, debugDisplay, + cameraState, mouseInteraction); } void SurfaceManipulator::InvalidateImpl() diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/TranslationManipulators.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/TranslationManipulators.cpp index 0efe310250..5810662e57 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/TranslationManipulators.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/TranslationManipulators.cpp @@ -10,18 +10,30 @@ #include #include +#include namespace AzToolsFramework { - static const float SurfaceManipulatorTransparency = 0.75f; - static const float LinearManipulatorAxisLength = 2.0f; - static const float SurfaceManipulatorRadius = 0.1f; - static const AZ::Color LinearManipulatorXAxisColor = AZ::Color(1.0f, 0.0f, 0.0f, 1.0f); static const AZ::Color LinearManipulatorYAxisColor = AZ::Color(0.0f, 1.0f, 0.0f, 1.0f); static const AZ::Color LinearManipulatorZAxisColor = AZ::Color(0.0f, 0.0f, 1.0f, 1.0f); static const AZ::Color SurfaceManipulatorColor = AZ::Color(1.0f, 1.0f, 0.0f, 0.5f); + static TranslationManipulatorsViewCreateInfo DefaultTranslationManipulatorViewCreateInfo() + { + TranslationManipulatorsViewCreateInfo createInfo; + createInfo.axis1Color = LinearManipulatorXAxisColor; + createInfo.axis2Color = LinearManipulatorYAxisColor; + createInfo.axis3Color = LinearManipulatorZAxisColor; + createInfo.surfaceColor = SurfaceManipulatorColor; + createInfo.linearAxisLength = LinearManipulatorAxisLength(); + createInfo.linearConeLength = LinearManipulatorConeLength(); + createInfo.linearConeRadius = LinearManipulatorConeRadius(); + createInfo.planarAxisLength = PlanarManipulatorAxisLength(); + createInfo.surfaceRadius = SurfaceManipulatorRadius(); + return createInfo; + } + TranslationManipulators::TranslationManipulators( const Dimensions dimensions, const AZ::Transform& worldFromLocal, const AZ::Vector3& nonUniformScale) : m_dimensions(dimensions) @@ -234,15 +246,32 @@ namespace AzToolsFramework } } + void TranslationManipulators::ConfigureView2d(const TranslationManipulatorsViewCreateInfo& translationManipulatorViewCreateInfo) + { + ConfigureLinearView( + translationManipulatorViewCreateInfo.linearAxisLength, translationManipulatorViewCreateInfo.linearConeLength, + translationManipulatorViewCreateInfo.linearConeRadius, translationManipulatorViewCreateInfo.axis1Color, + translationManipulatorViewCreateInfo.axis2Color, translationManipulatorViewCreateInfo.axis3Color); + ConfigurePlanarView( + translationManipulatorViewCreateInfo.planarAxisLength, translationManipulatorViewCreateInfo.linearAxisLength, + translationManipulatorViewCreateInfo.linearConeLength, translationManipulatorViewCreateInfo.axis1Color, + translationManipulatorViewCreateInfo.axis2Color, translationManipulatorViewCreateInfo.axis3Color); + } + + void TranslationManipulators::ConfigureView3d(const TranslationManipulatorsViewCreateInfo& translationManipulatorViewCreateInfo) + { + ConfigureView2d(translationManipulatorViewCreateInfo); + ConfigureSurfaceView(translationManipulatorViewCreateInfo.surfaceRadius, translationManipulatorViewCreateInfo.surfaceColor); + } + void TranslationManipulators::ConfigureLinearView( const float axisLength, + const float coneLength, + const float coneRadius, const AZ::Color& axis1Color, const AZ::Color& axis2Color, const AZ::Color& axis3Color /*= AZ::Color(0.0f, 0.0f, 1.0f, 0.5f)*/) { - const float coneLength = 0.28f; - const float coneRadius = 0.07f; - const AZ::Color axesColor[] = { axis1Color, axis2Color, axis3Color }; const auto configureLinearView = [lineBoundWidth = m_lineBoundWidth, coneLength, axisLength, @@ -251,7 +280,7 @@ namespace AzToolsFramework const auto lineLength = axisLength - coneLength; ManipulatorViews views; - views.emplace_back(CreateManipulatorViewLine(*linearManipulator, color, lineLength, lineBoundWidth)); + views.emplace_back(CreateManipulatorViewLine(*linearManipulator, color, axisLength, lineBoundWidth)); views.emplace_back( CreateManipulatorViewCone(*linearManipulator, color, linearManipulator->GetAxis() * lineLength, coneLength, coneRadius)); linearManipulator->SetViews(AZStd::move(views)); @@ -264,19 +293,21 @@ namespace AzToolsFramework } void TranslationManipulators::ConfigurePlanarView( + const float planarAxisLength, + const float linearAxisLength, + const float linearConeLength, const AZ::Color& plane1Color, const AZ::Color& plane2Color /*= AZ::Color(0.0f, 1.0f, 0.0f, 0.5f)*/, const AZ::Color& plane3Color /*= AZ::Color(0.0f, 0.0f, 1.0f, 0.5f)*/) { - const float planeSize = 0.6f; const AZ::Color planesColor[] = { plane1Color, plane2Color, plane3Color }; for (size_t manipulatorIndex = 0; manipulatorIndex < m_planarManipulators.size(); ++manipulatorIndex) { - const AZStd::shared_ptr manipulatorView = CreateManipulatorViewQuad( - *m_planarManipulators[manipulatorIndex], planesColor[manipulatorIndex], planesColor[(manipulatorIndex + 1) % 3], planeSize); - - m_planarManipulators[manipulatorIndex]->SetViews(ManipulatorViews{ manipulatorView }); + const auto& planarManipulator = *m_planarManipulators[manipulatorIndex]; + m_planarManipulators[manipulatorIndex]->SetViews(ManipulatorViews{ CreateManipulatorViewQuadForPlanarTranslationManipulator( + planarManipulator.GetAxis1(), planarManipulator.GetAxis2(), planesColor[manipulatorIndex], + planesColor[(manipulatorIndex + 1) % 3], linearAxisLength, linearConeLength, planarAxisLength) }); } } @@ -286,12 +317,11 @@ namespace AzToolsFramework { m_surfaceManipulator->SetView(CreateManipulatorViewSphere( color, radius, - [](const ViewportInteraction::MouseInteraction& /*mouseInteraction*/, bool mouseOver, + []([[maybe_unused]] const ViewportInteraction::MouseInteraction& mouseInteraction, bool mouseOver, const AZ::Color& defaultColor) -> AZ::Color { const AZ::Color color[2] = { - defaultColor, - Vector3ToVector4(BaseManipulator::s_defaultMouseOverColor.GetAsVector3(), SurfaceManipulatorTransparency) + defaultColor, Vector3ToVector4(BaseManipulator::s_defaultMouseOverColor.GetAsVector3(), SurfaceManipulatorOpacity()) }; return color[mouseOver]; @@ -325,16 +355,25 @@ namespace AzToolsFramework void ConfigureTranslationManipulatorAppearance3d(TranslationManipulators* translationManipulators) { translationManipulators->SetAxes(AZ::Vector3::CreateAxisX(), AZ::Vector3::CreateAxisY(), AZ::Vector3::CreateAxisZ()); - translationManipulators->ConfigurePlanarView(LinearManipulatorXAxisColor, LinearManipulatorYAxisColor, LinearManipulatorZAxisColor); - translationManipulators->ConfigureLinearView( - LinearManipulatorAxisLength, LinearManipulatorXAxisColor, LinearManipulatorYAxisColor, LinearManipulatorZAxisColor); - translationManipulators->ConfigureSurfaceView(SurfaceManipulatorRadius, SurfaceManipulatorColor); + translationManipulators->ConfigureView3d(DefaultTranslationManipulatorViewCreateInfo()); } void ConfigureTranslationManipulatorAppearance2d(TranslationManipulators* translationManipulators) { translationManipulators->SetAxes(AZ::Vector3::CreateAxisX(), AZ::Vector3::CreateAxisY()); - translationManipulators->ConfigurePlanarView(LinearManipulatorXAxisColor); - translationManipulators->ConfigureLinearView(LinearManipulatorAxisLength, LinearManipulatorXAxisColor, LinearManipulatorYAxisColor); + translationManipulators->ConfigureView2d(DefaultTranslationManipulatorViewCreateInfo()); + } + + AZStd::shared_ptr CreateManipulatorViewQuadForPlanarTranslationManipulator( + const AZ::Vector3& axis1, + const AZ::Vector3& axis2, + const AZ::Color& axis1Color, + const AZ::Color& axis2Color, + const float linearAxisLength, + const float linearConeLength, + const float planarAxisLength) + { + const AZ::Vector3 offset = (axis1 + axis2) * (((linearAxisLength - linearConeLength) * 0.5f) - (planarAxisLength * 0.5f)); + return CreateManipulatorViewQuad(axis1, axis2, axis1Color, axis2Color, offset, planarAxisLength); } } // namespace AzToolsFramework diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/TranslationManipulators.h b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/TranslationManipulators.h index 65e53f0680..ea8dbb7975 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/TranslationManipulators.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/TranslationManipulators.h @@ -15,6 +15,20 @@ namespace AzToolsFramework { + //! Parameters to configure the appearance of the TranslationManipulators view(s). + struct TranslationManipulatorsViewCreateInfo + { + float linearAxisLength; + float linearConeLength; + float linearConeRadius; + float planarAxisLength; + float surfaceRadius; + AZ::Color axis1Color; + AZ::Color axis2Color; + AZ::Color axis3Color; + AZ::Color surfaceColor; + }; + //! TranslationManipulators is an aggregation of 3 linear manipulators, 3 planar manipulators //! and one surface manipulator who share the same transform. class TranslationManipulators : public Manipulators @@ -23,6 +37,9 @@ namespace AzToolsFramework AZ_RTTI(TranslationManipulators, "{D5E49EA2-30E0-42BC-A51D-6A7F87818260}") AZ_CLASS_ALLOCATOR(TranslationManipulators, AZ::SystemAllocator, 0) + TranslationManipulators(TranslationManipulators&&) = delete; + TranslationManipulators& operator=(TranslationManipulators&&) = delete; + //! How many dimensions does this translation manipulator have. enum class Dimensions { @@ -52,25 +69,31 @@ namespace AzToolsFramework void SetAxes(const AZ::Vector3& axis1, const AZ::Vector3& axis2, const AZ::Vector3& axis3 = AZ::Vector3::CreateAxisZ()); + void ConfigureView2d(const TranslationManipulatorsViewCreateInfo& translationManipulatorViewCreateInfo); + void ConfigureView3d(const TranslationManipulatorsViewCreateInfo& translationManipulatorViewCreateInfo); + + //! Sets the bound width to use for the line/axis of a linear manipulator. + void SetLineBoundWidth(float lineBoundWidth); + + private: void ConfigurePlanarView( + float planeSize, + float linearAxisLength, + float linearConeLength, const AZ::Color& plane1Color, const AZ::Color& plane2Color = AZ::Color(0.0f, 1.0f, 0.0f, 0.5f), const AZ::Color& plane3Color = AZ::Color(0.0f, 0.0f, 1.0f, 0.5f)); void ConfigureLinearView( float axisLength, + float coneLength, + float coneRadius, const AZ::Color& axis1Color, const AZ::Color& axis2Color, const AZ::Color& axis3Color = AZ::Color(0.0f, 0.0f, 1.0f, 0.5f)); void ConfigureSurfaceView(float radius, const AZ::Color& color); - //! Sets the bound width to use for the line/axis of a linear manipulator. - void SetLineBoundWidth(float lineBoundWidth); - - private: - AZ_DISABLE_COPY_MOVE(TranslationManipulators) - // Manipulators void ProcessManipulators(const AZStd::function&) override; @@ -130,4 +153,12 @@ namespace AzToolsFramework void ConfigureTranslationManipulatorAppearance3d(TranslationManipulators* translationManipulators); void ConfigureTranslationManipulatorAppearance2d(TranslationManipulators* translationManipulators); + AZStd::shared_ptr CreateManipulatorViewQuadForPlanarTranslationManipulator( + const AZ::Vector3& axis1, + const AZ::Vector3& axis2, + const AZ::Color& axis1Color, + const AZ::Color& axis2Color, + float linearAxisLength, + float linearConeLength, + float planarAxisLength); } // namespace AzToolsFramework diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabSystemScriptingHandler.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabSystemScriptingHandler.cpp index 9d0d0547ae..93dfca3f13 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabSystemScriptingHandler.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/PrefabSystemScriptingHandler.cpp @@ -8,10 +8,12 @@ #include #include +#include #include +#include +#include #include #include -#include #include #include @@ -72,6 +74,9 @@ namespace AzToolsFramework::Prefab entities, commonRoot, &topLevelEntities); auto containerEntity = AZStd::make_unique(); + containerEntity->CreateComponent(); + containerEntity->CreateComponent(); + containerEntity->CreateComponent(); containerEntity->CreateComponent(); for (AZ::Entity* entity : topLevelEntities) diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/Prefab/PrefabIntegrationManager.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/Prefab/PrefabIntegrationManager.cpp index aa6d82e634..bc6700aca5 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/Prefab/PrefabIntegrationManager.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/Prefab/PrefabIntegrationManager.cpp @@ -565,9 +565,7 @@ namespace AzToolsFramework EditorRequestBus::BroadcastResult(position, &EditorRequestBus::Events::GetWorldPositionAtViewportCenter); } - // Instantiating from context menu always puts the instance at the root level auto createPrefabOutcome = s_prefabPublicInterface->InstantiatePrefab(prefabFilePath, parentId, position); - if (!createPrefabOutcome.IsSuccess()) { WarnUserOfError("Prefab Instantiation Error",createPrefabOutcome.GetError()); @@ -594,15 +592,13 @@ namespace AzToolsFramework } else { - // otherwise return since it needs to be inside an authored prefab - return; + EditorRequestBus::BroadcastResult(position, &EditorRequestBus::Events::GetWorldPositionAtViewportCenter); } - // Instantiating from context menu always puts the instance at the root level auto createPrefabOutcome = s_prefabPublicInterface->InstantiatePrefab(prefabAssetPath, parentId, position); if (!createPrefabOutcome.IsSuccess()) { - WarnUserOfError("Prefab Instantiation Error", createPrefabOutcome.GetError()); + WarnUserOfError("Procedural Prefab Instantiation Error", createPrefabOutcome.GetError()); } } } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.cpp index fa419d5f14..8104aee4fd 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.cpp @@ -45,6 +45,7 @@ AZ_POP_DISABLE_WARNING #include #include #include +#include #include #include #include @@ -497,6 +498,9 @@ namespace AzToolsFramework m_prefabPublicInterface = AZ::Interface::Get(); AZ_Assert(m_prefabPublicInterface != nullptr, "EntityPropertyEditor requires a PrefabPublicInterface instance on Initialize."); + m_readOnlyEntityPublicInterface = AZ::Interface::Get(); + AZ_Assert(m_readOnlyEntityPublicInterface != nullptr, "EntityPropertyEditor requires a ReadOnlyEntityPublicInterface instance on Initialize."); + setObjectName("EntityPropertyEditor"); setAcceptDrops(true); @@ -535,10 +539,6 @@ namespace AzToolsFramework model->setItem(row, 0, m_comboItems[row]); } m_gui->m_statusComboBox->setModel(model); - m_gui->m_statusComboBox->setStyleSheet("QComboBox {border: 0px; border-radius:3px; background-color:#555555; color:white}" - "QComboBox:on {background-color:#e9e9e9; color:black; border:0px}" - "QComboBox::down-arrow:on {image: url(:/stylesheet/img/dropdowns/black_down_arrow.png)}" - "QComboBox::drop-down {border-radius: 3p}"); AzQtComponents::ComboBox::addCustomCheckStateStyle(m_gui->m_statusComboBox); EnableEditor(true); m_sceneIsNew = true; @@ -565,6 +565,12 @@ namespace AzToolsFramework AZ::EntitySystemBus::Handler::BusConnect(); EntityPropertyEditorRequestBus::Handler::BusConnect(); EditorWindowUIRequestBus::Handler::BusConnect(); + + AzFramework::EntityContextId editorEntityContextId = AzFramework::EntityContextId::CreateNull(); + EditorEntityContextRequestBus::BroadcastResult( + editorEntityContextId, &EditorEntityContextRequests::GetEditorEntityContextId); + ReadOnlyEntityPublicNotificationBus::Handler::BusConnect(editorEntityContextId); + m_spacer = nullptr; m_emptyIcon = QIcon(); @@ -614,6 +620,7 @@ namespace AzToolsFramework { qApp->removeEventFilter(this); + ReadOnlyEntityPublicNotificationBus::Handler::BusDisconnect(); EditorWindowUIRequestBus::Handler::BusDisconnect(); EntityPropertyEditorRequestBus::Handler::BusDisconnect(); ToolsApplicationEvents::Bus::Handler::BusDisconnect(); @@ -973,7 +980,7 @@ namespace AzToolsFramework m_gui->m_entityDetailsLabel->setVisible(false); // If we're in edit mode, make the name field editable. - m_gui->m_entityNameEditor->setReadOnly(!m_gui->m_componentListContents->isEnabled()); + m_gui->m_entityNameEditor->setReadOnly(!m_gui->m_componentListContents->isEnabled() || m_selectionContainsReadOnlyEntity); // get the name of the entity. auto entity = GetSelectedEntityById(entityId); @@ -1062,6 +1069,12 @@ namespace AzToolsFramework bool EntityPropertyEditor::CanAddComponentsToSelection(const SelectionEntityTypeInfo& selectionEntityTypeInfo) const { + if (m_selectionContainsReadOnlyEntity) + { + // Can't add components if there is a read only entity in the selection + return false; + } + if (selectionEntityTypeInfo == SelectionEntityTypeInfo::Mixed || selectionEntityTypeInfo == SelectionEntityTypeInfo::None) { @@ -1126,6 +1139,17 @@ namespace AzToolsFramework m_selectedEntityIds.clear(); GetSelectedEntities(m_selectedEntityIds); + // Check if any of the selected entities are marked as read only + m_selectionContainsReadOnlyEntity = false; + for (const auto& entityId : m_selectedEntityIds) + { + if (m_readOnlyEntityPublicInterface->IsReadOnly(entityId)) + { + m_selectionContainsReadOnlyEntity = true; + break; + } + } + SourceControlFileInfo scFileInfo; ToolsApplicationRequests::Bus::BroadcastResult(scFileInfo, &ToolsApplicationRequests::GetSceneSourceControlInfo); @@ -1681,6 +1705,12 @@ namespace AzToolsFramework componentEditor->UpdateExpandability(); componentEditor->InvalidateAll(!componentInFilter ? m_filterString.c_str() : nullptr); + // If we are in read only mode, then show the components as disabled + if (m_selectionContainsReadOnlyEntity) + { + componentEditor->mockDisabledState(true); + } + if (!componentEditor->GetPropertyEditor()->HasFilteredOutNodes() || componentEditor->GetPropertyEditor()->HasVisibleNodes()) { for (AZ::Component* componentInstance : componentInstances) @@ -3077,6 +3107,7 @@ namespace AzToolsFramework } } + m_gui->m_statusComboBox->setDisabled(m_selectionContainsReadOnlyEntity); m_gui->m_statusComboBox->setVisible(!m_isSystemEntityEditor && !m_isLevelEntityEditor); m_gui->m_statusComboBox->style()->unpolish(m_gui->m_statusComboBox); m_gui->m_statusComboBox->style()->polish(m_gui->m_statusComboBox); @@ -3304,7 +3335,8 @@ namespace AzToolsFramework const auto& componentsToEdit = GetSelectedComponents(); const bool hasComponents = !m_selectedEntityIds.empty() && !componentsToEdit.empty(); - const bool allowRemove = hasComponents && AreComponentsRemovable(componentsToEdit); + // Don't allow components to be removed/cut/enabled/disabled if read only + const bool allowRemove = hasComponents && AreComponentsRemovable(componentsToEdit) && !m_selectionContainsReadOnlyEntity; const bool allowCopy = hasComponents && AreComponentsCopyable(componentsToEdit); m_actionToDeleteComponents->setEnabled(allowRemove); @@ -3366,6 +3398,12 @@ namespace AzToolsFramework return false; } + if (m_selectionContainsReadOnlyEntity) + { + // Can't paste components if there is a read only entity in the selection + return false; + } + // Grab component data from clipboard, if exists const QMimeData* mimeData = ComponentMimeData::GetComponentMimeDataFromClipboard(); @@ -5727,6 +5765,14 @@ namespace AzToolsFramework SaveComponentEditorState(); } + void EntityPropertyEditor::OnReadOnlyEntityStatusChanged(const AZ::EntityId& entityId, [[maybe_unused]] bool readOnly) + { + if (IsEntitySelected(entityId)) + { + UpdateContents(); + } + } + void EntityPropertyEditor::OnEditorModeActivated( [[maybe_unused]] const AzToolsFramework::ViewportEditorModesInterface& editorModeState, AzToolsFramework::ViewportEditorMode mode) { diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.hxx b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.hxx index 8dd0ffc4ee..254b70996b 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.hxx +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.hxx @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -62,6 +63,7 @@ namespace AzToolsFramework class ComponentPaletteWidget; class ComponentModeCollectionInterface; struct SourceControlFileInfo; + class ReadOnlyEntityPublicInterface; namespace AssetBrowser { @@ -116,6 +118,7 @@ namespace AzToolsFramework , public AZ::EntitySystemBus::Handler , public AZ::TickBus::Handler , private EditorWindowUIRequestBus::Handler + , private ReadOnlyEntityPublicNotificationBus::Handler { Q_OBJECT; public: @@ -253,6 +256,9 @@ namespace AzToolsFramework // EditorWindowRequestBus overrides void SetEditorUiEnabled(bool enable) override; + // ReadOnlyEntityPublicNotificationBus overrides ... + void OnReadOnlyEntityStatusChanged(const AZ::EntityId& entityId, bool readOnly) override; + bool IsEntitySelected(const AZ::EntityId& id) const; bool IsSingleEntitySelected(const AZ::EntityId& id) const; @@ -623,6 +629,9 @@ namespace AzToolsFramework Prefab::PrefabPublicInterface* m_prefabPublicInterface = nullptr; bool m_prefabsAreEnabled = false; + ReadOnlyEntityPublicInterface* m_readOnlyEntityPublicInterface = nullptr; + bool m_selectionContainsReadOnlyEntity = false; + // Reordering row widgets within the RPE. static constexpr float MoveFadeSeconds = 0.5f; diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.ui b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.ui index 8a86d429f1..b7cb5a0156 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.ui +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.ui @@ -191,7 +191,7 @@ - background-color:rgb(51, 51, 51) + QWidget#m_darkBox { background-color:rgb(51, 51, 51) } @@ -444,6 +444,9 @@ Qt::Horizontal + + background-color:rgb(51, 51, 51) + diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/UnitTest/AzToolsFrameworkTestHelpers.h b/Code/Framework/AzToolsFramework/AzToolsFramework/UnitTest/AzToolsFrameworkTestHelpers.h index 1e29f1dbce..77a3639871 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/UnitTest/AzToolsFrameworkTestHelpers.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/UnitTest/AzToolsFrameworkTestHelpers.h @@ -15,12 +15,14 @@ #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include @@ -235,6 +237,13 @@ namespace UnitTest return toolsApp; } + //! It is possible to override this in classes deriving from ToolsApplicationFixture to provide alternate + //! implementations of the DebugDisplayRequests interface (e.g. TestDebugDisplayRequests). + virtual AZStd::shared_ptr CreateDebugDisplayRequests() + { + return AZStd::make_shared(); + } + protected: TestEditorActions m_editorActions; ToolsApplicationMessageHandler m_messageHandler; // used to suppress trace messages in test output diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportSettings.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportSettings.cpp new file mode 100644 index 0000000000..f8550b1a29 --- /dev/null +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportSettings.cpp @@ -0,0 +1,123 @@ +/* + * 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 AzToolsFramework +{ + constexpr AZStd::string_view FlipManipulatorAxesTowardsViewSetting = "/Amazon/Preferences/Editor/Manipulator/FlipManipulatorAxesTowardsView"; + constexpr AZStd::string_view LinearManipulatorAxisLengthSetting = "/Amazon/Preferences/Editor/Manipulator/LinearManipulatorAxisLength"; + constexpr AZStd::string_view PlanarManipulatorAxisLengthSetting = "/Amazon/Preferences/Editor/Manipulator/PlanarManipulatorAxisLength"; + constexpr AZStd::string_view SurfaceManipulatorRadiusSetting = "/Amazon/Preferences/Editor/Manipulator/SurfaceManipulatorRadius"; + constexpr AZStd::string_view SurfaceManipulatorOpacitySetting = "/Amazon/Preferences/Editor/Manipulator/SurfaceManipulatorOpacity"; + constexpr AZStd::string_view LinearManipulatorConeLengthSetting = "/Amazon/Preferences/Editor/Manipulator/LinearManipulatorConeLength"; + constexpr AZStd::string_view LinearManipulatorConeRadiusSetting = "/Amazon/Preferences/Editor/Manipulator/LinearManipulatorConeRadius"; + constexpr AZStd::string_view ScaleManipulatorBoxHalfExtentSetting = "/Amazon/Preferences/Editor/Manipulator/ScaleManipulatorBoxHalfExtent"; + constexpr AZStd::string_view RotationManipulatorRadiusSetting = "/Amazon/Preferences/Editor/Manipulator/RotationManipulatorRadius"; + constexpr AZStd::string_view ManipulatorViewBaseScaleSetting = "/Amazon/Preferences/Editor/Manipulator/ViewBaseScale"; + + bool FlipManipulatorAxesTowardsView() + { + return GetRegistry(FlipManipulatorAxesTowardsViewSetting, true); + } + + void SetFlipManipulatorAxesTowardsView(const bool enabled) + { + SetRegistry(FlipManipulatorAxesTowardsViewSetting, enabled); + } + + float LinearManipulatorAxisLength() + { + return aznumeric_cast(GetRegistry(LinearManipulatorAxisLengthSetting, 2.0)); + } + + void SetLinearManipulatorAxisLength(const float length) + { + SetRegistry(LinearManipulatorAxisLengthSetting, length); + } + + float PlanarManipulatorAxisLength() + { + return aznumeric_cast(GetRegistry(PlanarManipulatorAxisLengthSetting, 0.6)); + } + + void SetPlanarManipulatorAxisLength(const float length) + { + SetRegistry(PlanarManipulatorAxisLengthSetting, length); + } + + float SurfaceManipulatorRadius() + { + return aznumeric_cast(GetRegistry(SurfaceManipulatorRadiusSetting, 0.1)); + } + + void SetSurfaceManipulatorRadius(const float radius) + { + SetRegistry(SurfaceManipulatorRadiusSetting, radius); + } + + float SurfaceManipulatorOpacity() + { + return aznumeric_cast(GetRegistry(SurfaceManipulatorOpacitySetting, 0.75)); + } + + void SetSurfaceManipulatorOpacity(const float opacity) + { + SetRegistry(SurfaceManipulatorOpacitySetting, opacity); + } + + float LinearManipulatorConeLength() + { + return aznumeric_cast(GetRegistry(LinearManipulatorConeLengthSetting, 0.28)); + } + + void SetLinearManipulatorConeLength(const float length) + { + SetRegistry(LinearManipulatorConeLengthSetting, length); + } + + float LinearManipulatorConeRadius() + { + return aznumeric_cast(GetRegistry(LinearManipulatorConeRadiusSetting, 0.1)); + } + + void SetLinearManipulatorConeRadius(const float radius) + { + SetRegistry(LinearManipulatorConeRadiusSetting, radius); + } + + float ScaleManipulatorBoxHalfExtent() + { + return aznumeric_cast(GetRegistry(ScaleManipulatorBoxHalfExtentSetting, 0.1)); + } + + void SetScaleManipulatorBoxHalfExtent(const float size) + { + SetRegistry(ScaleManipulatorBoxHalfExtentSetting, size); + } + + float RotationManipulatorRadius() + { + return aznumeric_cast(GetRegistry(RotationManipulatorRadiusSetting, 2.0)); + } + + void SetRotationManipulatorRadius(const float radius) + { + SetRegistry(RotationManipulatorRadiusSetting, radius); + } + + float ManipulatorViewBaseScale() + { + return aznumeric_cast(GetRegistry(ManipulatorViewBaseScaleSetting, 1.0)); + } + + void SetManipulatorViewBaseScale(const float scale) + { + SetRegistry(ManipulatorViewBaseScaleSetting, scale); + } +} // namespace AzToolsFramework diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportSettings.h b/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportSettings.h new file mode 100644 index 0000000000..f5371b6035 --- /dev/null +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportSettings.h @@ -0,0 +1,69 @@ +/* + * 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 + +namespace AzToolsFramework +{ + template + void SetRegistry(const AZStd::string_view setting, T&& value) + { + if (auto* registry = AZ::SettingsRegistry::Get()) + { + registry->Set(setting, AZStd::forward(value)); + } + } + + template + AZStd::remove_cvref_t GetRegistry(const AZStd::string_view setting, T&& defaultValue) + { + AZStd::remove_cvref_t value = AZStd::forward(defaultValue); + if (const auto* registry = AZ::SettingsRegistry::Get()) + { + T potentialValue; + if (registry->Get(potentialValue, setting)) + { + value = AZStd::move(potentialValue); + } + } + + return value; + } + + bool FlipManipulatorAxesTowardsView(); + void SetFlipManipulatorAxesTowardsView(bool enabled); + + float LinearManipulatorAxisLength(); + void SetLinearManipulatorAxisLength(float length); + + float PlanarManipulatorAxisLength(); + void SetPlanarManipulatorAxisLength(float length); + + float SurfaceManipulatorRadius(); + void SetSurfaceManipulatorRadius(float radius); + + float SurfaceManipulatorOpacity(); + void SetSurfaceManipulatorOpacity(float opacity); + + float LinearManipulatorConeLength(); + void SetLinearManipulatorConeLength(float length); + + float LinearManipulatorConeRadius(); + void SetLinearManipulatorConeRadius(float radius); + + float ScaleManipulatorBoxHalfExtent(); + void SetScaleManipulatorBoxHalfExtent(float halfExtent); + + float RotationManipulatorRadius(); + void SetRotationManipulatorRadius(float radius); + + float ManipulatorViewBaseScale(); + void SetManipulatorViewBaseScale(float scale); +} // namespace AzToolsFramework diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.cpp index d3cfed4665..f43e8225a6 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorTransformComponentSelection.cpp @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -1376,7 +1377,7 @@ namespace AzToolsFramework // view rotationManipulators->SetLocalAxes(AZ::Vector3::CreateAxisX(), AZ::Vector3::CreateAxisY(), AZ::Vector3::CreateAxisZ()); rotationManipulators->ConfigureView( - 2.0f, AzFramework::ViewportColors::XAxisColor, AzFramework::ViewportColors::YAxisColor, + RotationManipulatorRadius(), AzFramework::ViewportColors::XAxisColor, AzFramework::ViewportColors::YAxisColor, AzFramework::ViewportColors::ZAxisColor); struct SharedRotationState @@ -1535,7 +1536,8 @@ namespace AzToolsFramework RecalculateAverageManipulatorTransform(m_entityIdManipulators.m_lookups, m_pivotOverrideFrame, m_pivotMode, m_referenceFrame)); scaleManipulators->SetAxes(AZ::Vector3::CreateAxisX(), AZ::Vector3::CreateAxisY(), AZ::Vector3::CreateAxisZ()); - scaleManipulators->ConfigureView(2.0f, AZ::Color::CreateOne(), AZ::Color::CreateOne(), AZ::Color::CreateOne()); + scaleManipulators->ConfigureView( + LinearManipulatorAxisLength(), AZ::Color::CreateOne(), AZ::Color::CreateOne(), AZ::Color::CreateOne()); struct SharedScaleState { diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/aztoolsframework_files.cmake b/Code/Framework/AzToolsFramework/AzToolsFramework/aztoolsframework_files.cmake index a6c9adb19e..49eaa9b34a 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/aztoolsframework_files.cmake +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/aztoolsframework_files.cmake @@ -506,6 +506,8 @@ set(FILES Viewport/ViewportMessages.cpp Viewport/ViewportTypes.h Viewport/ViewportTypes.cpp + Viewport/ViewportSettings.h + Viewport/ViewportSettings.cpp ViewportUi/Button.h ViewportUi/Button.cpp ViewportUi/ButtonGroup.h diff --git a/Code/Framework/AzToolsFramework/Tests/ManipulatorViewTests.cpp b/Code/Framework/AzToolsFramework/Tests/ManipulatorViewTests.cpp index 11ec33a995..5f02d9da9c 100644 --- a/Code/Framework/AzToolsFramework/Tests/ManipulatorViewTests.cpp +++ b/Code/Framework/AzToolsFramework/Tests/ManipulatorViewTests.cpp @@ -7,12 +7,16 @@ */ #include +#include +#include +#include +#include #include #include -#include +#include #include -#include - +#include +#include #include #include #include @@ -21,8 +25,7 @@ namespace UnitTest { using namespace AzToolsFramework; - class ManipulatorViewTest - : public AllocatorsTestFixture + class ManipulatorViewTest : public AllocatorsTestFixture { AZStd::unique_ptr m_serializeContext; @@ -32,7 +35,7 @@ namespace UnitTest m_serializeContext = AZStd::make_unique(); m_app.Start(AzFramework::Application::Descriptor()); // Without this, the user settings component would attempt to save on finalize/shutdown. Since the file is - // shared across the whole engine, if multiple tests are run in parallel, the saving could cause a crash + // shared across the whole engine, if multiple tests are run in parallel, the saving could cause a crash // in the unit tests. AZ::UserSettingsComponentRequestBus::Broadcast(&AZ::UserSettingsComponentRequests::DisableSaveOnFinalize); } @@ -51,12 +54,9 @@ namespace UnitTest /////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Given const AZ::Transform orientation = - AZ::Transform::CreateFromQuaternion( - AZ::Quaternion::CreateFromAxisAngle( - AZ::Vector3::CreateAxisX(), AZ::DegToRad(-90.0f))); + AZ::Transform::CreateFromQuaternion(AZ::Quaternion::CreateRotationX(AZ::DegToRad(-90.0f))); - const AZ::Transform translation = - AZ::Transform::CreateTranslation(AZ::Vector3(5.0f, 0.0f, 10.0f)); + const AZ::Transform translation = AZ::Transform::CreateTranslation(AZ::Vector3(5.0f, 0.0f, 10.0f)); const AZ::Transform manipulatorSpace = translation * orientation; // create a rotation manipulator in an arbitrary space @@ -67,8 +67,7 @@ namespace UnitTest // When const AZ::Vector3 worldCameraPosition = AZ::Vector3(5.0f, -10.0f, 10.0f); // transform the view direction to the space of the manipulator (space + local transform) - const AZ::Vector3 viewDirection = - CalculateViewDirection(rotationManipulators, worldCameraPosition); + const AZ::Vector3 viewDirection = CalculateViewDirection(rotationManipulators, worldCameraPosition); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -84,8 +83,7 @@ namespace UnitTest cameraState.m_position = AZ::Vector3::CreateAxisY(20.0f); cameraState.m_forward = -AZ::Vector3::CreateAxisY(); - const float scale = - AzToolsFramework::CalculateScreenToWorldMultiplier(AZ::Vector3::CreateZero(), cameraState); + const float scale = AzToolsFramework::CalculateScreenToWorldMultiplier(AZ::Vector3::CreateZero(), cameraState); EXPECT_NEAR(scale, 2.0f, std::numeric_limits::epsilon()); } @@ -96,9 +94,57 @@ namespace UnitTest cameraState.m_position = AZ::Vector3::CreateAxisY(20.0f); cameraState.m_forward = -AZ::Vector3::CreateAxisY(); - const float scale = - AzToolsFramework::CalculateScreenToWorldMultiplier(AZ::Vector3::CreateAxisX(-10.0f), cameraState); + const float scale = AzToolsFramework::CalculateScreenToWorldMultiplier(AZ::Vector3::CreateAxisX(-10.0f), cameraState); EXPECT_NEAR(scale, 2.0f, std::numeric_limits::epsilon()); } + + TEST_F(ManipulatorViewTest, ManipulatorViewQuadDrawsAtCorrectPositionWhenManipulatorSpaceIsScaledUniformlyAndNonUniformly) + { + // Given + // simulate a custom manipulator space (e.g. entity transform) and a local offset within that space (e.g. spline vertex position) + const AZ::Transform space = + AZ::Transform::CreateTranslation(AZ::Vector3(2.0f, -3.0f, -4.0f)) * AZ::Transform::CreateUniformScale(2.0f); + const AZ::Vector3 localPosition = AZ::Vector3(2.0f, -2.0f, 0.0f); + const AZ::Vector3 nonUniformScale = AZ::Vector3(2.0f, 3.0f, 4.0f); + const AZ::Transform combinedTransform = + AzToolsFramework::ApplySpace(AZ::Transform::CreateTranslation(localPosition), space, nonUniformScale); + + // create a manipulator state based on the space and local position + AzToolsFramework::ManipulatorState manipulatorState{}; + manipulatorState.m_worldFromLocal = combinedTransform; + manipulatorState.m_nonUniformScale = nonUniformScale; + // note: This is zero as the localPosition is already encoded in the combinedTransform + manipulatorState.m_localPosition = AZ::Vector3::CreateZero(); + + // camera (go to position format) - 10.00, -15.00, 6.00, -90.00, 0.00 + const AzFramework::CameraState cameraState = AzFramework::CreateDefaultCamera( + AZ::Transform::CreateFromMatrix3x3AndTranslation( + AZ::Matrix3x3::CreateRotationX(AZ::DegToRad(-90.0f)), AZ::Vector3(10.0f, -15.0f, 6.0f)), + AZ::Vector2(1280, 720)); + + // test debug display instance to record vertices that were output + auto testDebugDisplayRequests = AZStd::make_shared(); + auto planarTranslationViewQuad = CreateManipulatorViewQuadForPlanarTranslationManipulator( + AZ::Vector3::CreateAxisX(), AZ::Vector3::CreateAxisY(), AZ::Color::CreateZero(), AZ::Color::CreateZero(), 2.2f, 0.2f, 1.0f); + + // When + // draw the quad as it would be for a manipulator + planarTranslationViewQuad->Draw( + AzToolsFramework::ManipulatorManagerId(1), AzToolsFramework::ManipulatorManagerState{ false }, + AzToolsFramework::ManipulatorId(1), manipulatorState, *testDebugDisplayRequests, cameraState, + AzToolsFramework::ViewportInteraction::MouseInteraction{}); + + const AZStd::vector expectedDisplayPositions = { + AZ::Vector3(10.5f, -13.5f, -4.0f), AZ::Vector3(11.5f, -13.5f, -4.0f), AZ::Vector3(10.5f, -14.5f, -4.0f), + AZ::Vector3(11.5f, -14.5f, -4.0f), AZ::Vector3(10.5f, -13.5f, -4.0f), AZ::Vector3(10.5f, -14.5f, -4.0f), + AZ::Vector3(11.5f, -14.5f, -4.0f), AZ::Vector3(11.5f, -13.5f, -4.0f) + }; + + // Then + const auto points = testDebugDisplayRequests->GetPoints(); + // quad vertices appear in the expected position (not offset or scaled incorrectly by space scale) + using ::testing::UnorderedPointwise; + EXPECT_THAT(points, UnorderedPointwise(ContainerIsClose(), expectedDisplayPositions)); + } } // namespace UnitTest diff --git a/Code/LauncherUnified/Platform/Android/Launcher_Android.cpp b/Code/LauncherUnified/Platform/Android/Launcher_Android.cpp index de548a49d7..0890b5a193 100644 --- a/Code/LauncherUnified/Platform/Android/Launcher_Android.cpp +++ b/Code/LauncherUnified/Platform/Android/Launcher_Android.cpp @@ -299,7 +299,7 @@ void android_main(android_app* appState) { // Adding a start up banner so you can see when the game is starting up in amongst the logcat spam LOGI("****************************************************************"); - LOGI("* Amazon Lumberyard - Launching Game... *"); + LOGI("* Launching Game... *"); LOGI("****************************************************************"); // setup the system command handler which are guaranteed to be called on the same diff --git a/Code/Legacy/CryCommon/crycommon_files.cmake b/Code/Legacy/CryCommon/crycommon_files.cmake index 68cf579ca8..a4d87c207a 100644 --- a/Code/Legacy/CryCommon/crycommon_files.cmake +++ b/Code/Legacy/CryCommon/crycommon_files.cmake @@ -100,85 +100,8 @@ set(FILES platform_impl.cpp Win32specific.h Win64specific.h - LyShine/IDraw2d.h - LyShine/ILyShine.h - LyShine/ISprite.h - LyShine/IRenderGraph.h LyShine/UiAssetTypes.h - LyShine/UiComponentTypes.h - LyShine/UiBase.h - LyShine/UiEntityContext.h - LyShine/UiLayoutCellBase.h - LyShine/UiSerializeHelpers.h - LyShine/Animation/IUiAnimation.h - LyShine/Bus/UiAnimateEntityBus.h - LyShine/Bus/UiAnimationBus.h - LyShine/Bus/UiButtonBus.h - LyShine/Bus/UiCanvasBus.h - LyShine/Bus/UiCanvasManagerBus.h - LyShine/Bus/UiCanvasUpdateNotificationBus.h - LyShine/Bus/UiCheckboxBus.h LyShine/Bus/UiCursorBus.h - LyShine/Bus/UiDraggableBus.h - LyShine/Bus/UiDropdownBus.h - LyShine/Bus/UiDropdownOptionBus.h - LyShine/Bus/UiDropTargetBus.h - LyShine/Bus/UiDynamicLayoutBus.h - LyShine/Bus/UiDynamicScrollBoxBus.h - LyShine/Bus/UiEditorBus.h - LyShine/Bus/UiEditorCanvasBus.h - LyShine/Bus/UiEditorChangeNotificationBus.h - LyShine/Bus/UiElementBus.h - LyShine/Bus/UiEntityContextBus.h - LyShine/Bus/UiFaderBus.h - LyShine/Bus/UiFlipbookAnimationBus.h - LyShine/Bus/UiGameEntityContextBus.h - LyShine/Bus/UiImageBus.h - LyShine/Bus/UiImageSequenceBus.h - LyShine/Bus/UiIndexableImageBus.h - LyShine/Bus/UiInitializationBus.h - LyShine/Bus/UiInteractableActionsBus.h - LyShine/Bus/UiInteractableBus.h - LyShine/Bus/UiInteractableStatesBus.h - LyShine/Bus/UiInteractionMaskBus.h - LyShine/Bus/UiLayoutBus.h - LyShine/Bus/UiLayoutCellBus.h - LyShine/Bus/UiLayoutCellDefaultBus.h - LyShine/Bus/UiLayoutColumnBus.h - LyShine/Bus/UiLayoutControllerBus.h - LyShine/Bus/UiLayoutFitterBus.h - LyShine/Bus/UiLayoutGridBus.h - LyShine/Bus/UiLayoutManagerBus.h - LyShine/Bus/UiLayoutRowBus.h - LyShine/Bus/UiMarkupButtonBus.h - LyShine/Bus/UiMaskBus.h - LyShine/Bus/UiNavigationBus.h - LyShine/Bus/UiParticleEmitterBus.h - LyShine/Bus/UiRadioButtonBus.h - LyShine/Bus/UiRadioButtonCommunicationBus.h - LyShine/Bus/UiRadioButtonGroupBus.h - LyShine/Bus/UiRadioButtonGroupCommunicationBus.h - LyShine/Bus/UiRenderBus.h - LyShine/Bus/UiRenderControlBus.h - LyShine/Bus/UiScrollableBus.h - LyShine/Bus/UiScrollBarBus.h - LyShine/Bus/UiScrollBoxBus.h - LyShine/Bus/UiScrollerBus.h - LyShine/Bus/UiSliderBus.h - LyShine/Bus/UiSpawnerBus.h - LyShine/Bus/UiSystemBus.h - LyShine/Bus/UiTextBus.h - LyShine/Bus/UiTextInputBus.h - LyShine/Bus/UiTooltipBus.h - LyShine/Bus/UiTooltipDataPopulatorBus.h - LyShine/Bus/UiTooltipDisplayBus.h - LyShine/Bus/UiTransform2dBus.h - LyShine/Bus/UiTransformBus.h - LyShine/Bus/UiVisualBus.h - LyShine/Bus/Sprite/UiSpriteBus.h - LyShine/Bus/World/UiCanvasOnMeshBus.h - LyShine/Bus/World/UiCanvasRefBus.h - LyShine/Bus/Tools/UiSystemToolsBus.h Maestro/Bus/EditorSequenceAgentComponentBus.h Maestro/Bus/EditorSequenceBus.h Maestro/Bus/EditorSequenceComponentBus.h diff --git a/Code/Legacy/CrySystem/LevelSystem/LevelSystem.cpp b/Code/Legacy/CrySystem/LevelSystem/LevelSystem.cpp index 8945761184..6027e9c474 100644 --- a/Code/Legacy/CrySystem/LevelSystem/LevelSystem.cpp +++ b/Code/Legacy/CrySystem/LevelSystem/LevelSystem.cpp @@ -27,7 +27,6 @@ #include #include "MainThreadRenderRequestBus.h" -#include #include #include #include @@ -882,12 +881,6 @@ void CLevelSystem::UnloadLevel() // Normally the GC step is triggered at the end of this method (by the ESYSTEM_EVENT_LEVEL_POST_UNLOAD event). EBUS_EVENT(AZ::ScriptSystemRequestBus, GarbageCollect); - // Perform level unload procedures for the LyShine UI system - if (gEnv && gEnv->pLyShine) - { - gEnv->pLyShine->OnLevelUnload(); - } - m_bLevelLoaded = false; [[maybe_unused]] const AZ::TimeMs unloadTimeMs = AZ::GetRealElapsedTimeMs() - beginTimeMs; diff --git a/Code/Legacy/CrySystem/LevelSystem/SpawnableLevelSystem.cpp b/Code/Legacy/CrySystem/LevelSystem/SpawnableLevelSystem.cpp index b91c8f2ca9..69e0b0c2a6 100644 --- a/Code/Legacy/CrySystem/LevelSystem/SpawnableLevelSystem.cpp +++ b/Code/Legacy/CrySystem/LevelSystem/SpawnableLevelSystem.cpp @@ -19,7 +19,6 @@ #include #include "MainThreadRenderRequestBus.h" -#include #include #include #include @@ -558,12 +557,6 @@ namespace LegacyLevelSystem // Normally the GC step is triggered at the end of this method (by the ESYSTEM_EVENT_LEVEL_POST_UNLOAD event). EBUS_EVENT(AZ::ScriptSystemRequestBus, GarbageCollect); - // Perform level unload procedures for the LyShine UI system - if (gEnv && gEnv->pLyShine) - { - gEnv->pLyShine->OnLevelUnload(); - } - m_bLevelLoaded = false; [[maybe_unused]] const AZ::TimeMs unloadTimeMs = AZ::GetRealElapsedTimeMs() - beginTimeMs; diff --git a/Code/Legacy/CrySystem/System.cpp b/Code/Legacy/CrySystem/System.cpp index 6b985a3f6f..c1ef60414f 100644 --- a/Code/Legacy/CrySystem/System.cpp +++ b/Code/Legacy/CrySystem/System.cpp @@ -116,7 +116,6 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) #include #include #include -#include #include @@ -373,14 +372,7 @@ void CSystem::ShutDown() m_pSystemEventDispatcher->OnSystemEvent(ESYSTEM_EVENT_FULL_SHUTDOWN, 0, 0); } - if (gEnv && gEnv->pLyShine) - { - gEnv->pLyShine->Release(); - gEnv->pLyShine = nullptr; - } - SAFE_RELEASE(m_env.pMovieSystem); - SAFE_RELEASE(m_env.pLyShine); SAFE_RELEASE(m_env.pCryFont); if (m_env.pConsole) { diff --git a/Code/Legacy/CrySystem/SystemInit.cpp b/Code/Legacy/CrySystem/SystemInit.cpp index e0986d3ec9..f612972a1a 100644 --- a/Code/Legacy/CrySystem/SystemInit.cpp +++ b/Code/Legacy/CrySystem/SystemInit.cpp @@ -52,7 +52,6 @@ #include #include -#include #include #include #include @@ -77,7 +76,6 @@ #include #include #include -#include #include #include "XConsole.h" @@ -1105,11 +1103,6 @@ AZ_POP_DISABLE_WARNING InlineInitializationProcessing("CSystem::Init Level System"); - if (m_env.pLyShine) - { - m_env.pLyShine->PostInit(); - } - InlineInitializationProcessing("CSystem::Init InitLmbrAWS"); // Az to Cry console binding diff --git a/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.cpp b/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.cpp index 1d4f354fb5..5bc0b26ca5 100644 --- a/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.cpp +++ b/Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogScreen.cpp @@ -294,7 +294,7 @@ namespace O3DE::ProjectManager } else if (numChangedDependencies > 1) { - notification += tr("%1 Gem %2").arg(QString(numChangedDependencies), tr("dependencies")); + notification += tr("%1 Gem %2").arg(numChangedDependencies).arg(tr("dependencies")); } notification += (added ? tr(" activated") : tr(" deactivated")); diff --git a/Code/Tools/ProjectManager/Source/ProjectButtonWidget.cpp b/Code/Tools/ProjectManager/Source/ProjectButtonWidget.cpp index 3225c14266..39980e1d11 100644 --- a/Code/Tools/ProjectManager/Source/ProjectButtonWidget.cpp +++ b/Code/Tools/ProjectManager/Source/ProjectButtonWidget.cpp @@ -28,6 +28,7 @@ #include #include #include +#include namespace O3DE::ProjectManager { @@ -109,11 +110,11 @@ namespace O3DE::ProjectManager vLayout->addWidget(m_progressBar); } - void LabelButton::mousePressEvent([[maybe_unused]] QMouseEvent* event) + void LabelButton::mousePressEvent(QMouseEvent* event) { if(m_enabled) { - emit triggered(); + emit triggered(event); } } @@ -201,52 +202,64 @@ namespace O3DE::ProjectManager projectNameLabel->setToolTip(m_projectInfo.m_path); hLayout->addWidget(projectNameLabel); - 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(); - menu->addAction(tr("Open Project folder..."), this, [this]() - { - AzQtComponents::ShowFileOnDesktop(m_projectInfo.m_path); - }); - -#if AZ_TRAIT_PROJECT_MANAGER_CREATE_DESKTOP_SHORTCUT - menu->addAction(tr("Create Editor desktop shortcut..."), this, [this]() - { - AZ::IO::FixedMaxPath editorExecutablePath = ProjectUtils::GetEditorExecutablePath(m_projectInfo.m_path.toUtf8().constData()); - - const QString shortcutName = QString("%1 Editor").arg(m_projectInfo.m_displayName); - const QString arg = QString("--regset=\"/Amazon/AzCore/Bootstrap/project_path=%1\"").arg(m_projectInfo.m_path); - - auto result = ProjectUtils::CreateDesktopShortcut(shortcutName, editorExecutablePath.c_str(), { arg }); - if(result.IsSuccess()) - { - QMessageBox::information(this, tr("Desktop Shortcut Created"), result.GetValue()); - } - else - { - QMessageBox::critical(this, tr("Failed to create shortcut"), result.GetError()); - } - }); -#endif // AZ_TRAIT_PROJECT_MANAGER_CREATE_DESKTOP_SHORTCUT - - menu->addSeparator(); - menu->addAction(tr("Duplicate"), this, [this]() { emit CopyProject(m_projectInfo); }); - menu->addSeparator(); - menu->addAction(tr("Remove from O3DE"), this, [this]() { emit RemoveProject(m_projectInfo.m_path); }); - menu->addAction(tr("Delete this Project"), this, [this]() { emit DeleteProject(m_projectInfo.m_path); }); - m_projectMenuButton = new QPushButton(this); m_projectMenuButton->setObjectName("projectMenuButton"); - m_projectMenuButton->setMenu(menu); + m_projectMenuButton->setMenu(CreateProjectMenu()); hLayout->addWidget(m_projectMenuButton); } vLayout->addWidget(projectFooter); connect(m_projectImageLabel->GetOpenEditorButton(), &QPushButton::clicked, [this](){ emit OpenProject(m_projectInfo.m_path); }); + connect(m_projectImageLabel, &LabelButton::triggered, [this](QMouseEvent* event) { + if (event->button() == Qt::RightButton) + { + m_projectMenuButton->menu()->move(event->globalPos()); + m_projectMenuButton->menu()->show(); + } + }); + } + + QMenu* ProjectButton::CreateProjectMenu() + { + 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(); + menu->addAction(tr("Open Project folder..."), this, [this]() + { + AzQtComponents::ShowFileOnDesktop(m_projectInfo.m_path); + }); + +#if AZ_TRAIT_PROJECT_MANAGER_CREATE_DESKTOP_SHORTCUT + menu->addAction(tr("Create Editor desktop shortcut..."), this, [this]() + { + AZ::IO::FixedMaxPath editorExecutablePath = ProjectUtils::GetEditorExecutablePath(m_projectInfo.m_path.toUtf8().constData()); + + const QString shortcutName = QString("%1 Editor").arg(m_projectInfo.m_displayName); + const QString arg = QString("--regset=\"/Amazon/AzCore/Bootstrap/project_path=%1\"").arg(m_projectInfo.m_path); + + auto result = ProjectUtils::CreateDesktopShortcut(shortcutName, editorExecutablePath.c_str(), { arg }); + if(result.IsSuccess()) + { + QMessageBox::information(this, tr("Desktop Shortcut Created"), result.GetValue()); + } + else + { + QMessageBox::critical(this, tr("Failed to create shortcut"), result.GetError()); + } + }); +#endif // AZ_TRAIT_PROJECT_MANAGER_CREATE_DESKTOP_SHORTCUT + + menu->addSeparator(); + menu->addAction(tr("Duplicate"), this, [this]() { emit CopyProject(m_projectInfo); }); + menu->addSeparator(); + menu->addAction(tr("Remove from O3DE"), this, [this]() { emit RemoveProject(m_projectInfo.m_path); }); + menu->addAction(tr("Delete this Project"), this, [this]() { emit DeleteProject(m_projectInfo.m_path); }); + + return menu; } const ProjectInfo& ProjectButton::GetProjectInfo() const diff --git a/Code/Tools/ProjectManager/Source/ProjectButtonWidget.h b/Code/Tools/ProjectManager/Source/ProjectButtonWidget.h index ccb644c458..358c1f249a 100644 --- a/Code/Tools/ProjectManager/Source/ProjectButtonWidget.h +++ b/Code/Tools/ProjectManager/Source/ProjectButtonWidget.h @@ -24,6 +24,7 @@ QT_FORWARD_DECLARE_CLASS(QProgressBar) QT_FORWARD_DECLARE_CLASS(QLayout) QT_FORWARD_DECLARE_CLASS(QVBoxLayout) QT_FORWARD_DECLARE_CLASS(QEvent) +QT_FORWARD_DECLARE_CLASS(QMenu) namespace O3DE::ProjectManager { @@ -49,7 +50,7 @@ namespace O3DE::ProjectManager QLayout* GetBuildOverlayLayout(); signals: - void triggered(); + void triggered(QMouseEvent* event); public slots: void mousePressEvent(QMouseEvent* event) override; @@ -108,6 +109,8 @@ namespace O3DE::ProjectManager void ShowWarning(bool show, const QString& warning); void ShowDefaultBuildButton(); + QMenu* CreateProjectMenu(); + ProjectInfo m_projectInfo; LabelButton* m_projectImageLabel = nullptr; diff --git a/Gems/Atom/Feature/Common/Assets/Passes/NewDepthOfFieldComposite.pass b/Gems/Atom/Feature/Common/Assets/Passes/NewDepthOfFieldComposite.pass index 522ae78fa5..c96039f159 100644 --- a/Gems/Atom/Feature/Common/Assets/Passes/NewDepthOfFieldComposite.pass +++ b/Gems/Atom/Feature/Common/Assets/Passes/NewDepthOfFieldComposite.pass @@ -11,6 +11,11 @@ "Name": "Depth", "SlotType": "Input", "ScopeAttachmentUsage": "Shader", + "ImageViewDesc": { + "AspectFlags": [ + "Depth" + ] + }, "ShaderImageDimensionsConstant": "m_fullResDimensions" }, { diff --git a/Gems/Atom/Feature/Common/Assets/ShaderResourceGroups/PostProcessing/ViewSrg.azsli b/Gems/Atom/Feature/Common/Assets/ShaderResourceGroups/PostProcessing/ViewSrg.azsli index e8501a4a2d..3eff3615f0 100644 --- a/Gems/Atom/Feature/Common/Assets/ShaderResourceGroups/PostProcessing/ViewSrg.azsli +++ b/Gems/Atom/Feature/Common/Assets/ShaderResourceGroups/PostProcessing/ViewSrg.azsli @@ -26,6 +26,7 @@ partial ShaderResourceGroup ViewSrg // circle of confusion to screen ratio; float m_cocToScreenRatio; + [[pad_to(16)]] }; diff --git a/Gems/Atom/Feature/Common/Code/Source/ImGui/ImGuiPass.cpp b/Gems/Atom/Feature/Common/Code/Source/ImGui/ImGuiPass.cpp index 7197b95917..d3615bfaa9 100644 --- a/Gems/Atom/Feature/Common/Code/Source/ImGui/ImGuiPass.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/ImGui/ImGuiPass.cpp @@ -68,6 +68,8 @@ namespace AZ : Base(descriptor) , AzFramework::InputChannelEventListener(AzFramework::InputChannelEventListener::GetPriorityDebugUI() - 1) // Give ImGui manager priority over the pass , AzFramework::InputTextEventListener(AzFramework::InputTextEventListener::GetPriorityDebugUI() - 1) // Give ImGui manager priority over the pass + , m_tickHandlerFrameStart(*this) + , m_tickHandlerFrameEnd(*this) { const ImGuiPassData* imguiPassData = RPI::PassUtils::GetPassData(descriptor); @@ -102,7 +104,6 @@ namespace AZ Init(); ImGui::NewFrame(); - TickBus::Handler::BusConnect(); AzFramework::InputChannelEventListener::Connect(); AzFramework::InputTextEventListener::Connect(); } @@ -127,7 +128,6 @@ namespace AZ AzFramework::InputTextEventListener::BusDisconnect(); AzFramework::InputChannelEventListener::BusDisconnect(); - TickBus::Handler::BusDisconnect(); } ImGuiContext* ImGuiPass::GetContext() @@ -140,23 +140,61 @@ namespace AZ m_drawData.push_back(drawData); } - int ImGuiPass::GetTickOrder() + ImGuiPass::TickHandlerFrameStart::TickHandlerFrameStart(ImGuiPass& imGuiPass) + : m_imGuiPass(imGuiPass) + { + TickBus::Handler::BusConnect(); + } + + int ImGuiPass::TickHandlerFrameStart::GetTickOrder() { - // We have to call ImGui::NewFrame (which happens in ImGuiPass::OnTick) after setting - // ImGui::GetIO().NavInputs (which happens in ImGuiPass::OnInputChannelEventFiltered), - // but before ImGui::Render (which happens in ImGuiPass::SetupFrameGraphDependencies). return AZ::ComponentTickBus::TICK_PRE_RENDER; } - void ImGuiPass::OnTick(float deltaTime, [[maybe_unused]] AZ::ScriptTimePoint timePoint) + void ImGuiPass::TickHandlerFrameStart::OnTick(float deltaTime, [[maybe_unused]] AZ::ScriptTimePoint timePoint) { - auto imguiContextScope = ImguiContextScope(m_imguiContext); + auto imguiContextScope = ImguiContextScope(m_imGuiPass.m_imguiContext); ImGui::NewFrame(); auto& io = ImGui::GetIO(); io.DeltaTime = deltaTime; } + ImGuiPass::TickHandlerFrameEnd::TickHandlerFrameEnd(ImGuiPass& imGuiPass) + : m_imGuiPass(imGuiPass) + { + TickBus::Handler::BusConnect(); + } + + int ImGuiPass::TickHandlerFrameEnd::GetTickOrder() + { + // ImGui::NewFrame() must be called (see ImGuiPass::TickHandlerFrameStart::OnTick) after populating + // ImGui::GetIO().NavInputs (see ImGuiPass::OnInputChannelEventFiltered), and paired with a call to + // ImGui::EndFrame() (see ImGuiPass::TickHandlerFrameEnd::OnTick); if this is not called explicitly + // then it will be called from inside ImGui::Render() (see ImGuiPass::SetupFrameGraphDependencies). + // + // ImGui::Render() gets called (indirectly) from OnSystemTick, so we cannot rely on it being paired + // with a matching call to ImGui::NewFrame() that gets called from OnTick, because OnSystemTick and + // OnTick can be called at different frequencies under some circumstances (namely from the editor). + // + // To account for this we must explicitly call ImGui::EndFrame() once a frame from OnTick to ensure + // that every call to ImGui::NewFrame() has been matched with a call to ImGui::EndFrame(), but only + // after ImGui::Render() has had the chance first (if so calling ImGui::EndFrame() again is benign). + // + // Because ImGui::Render() gets called (indirectly) from OnSystemTick, which usually happens at the + // start of every frame, we give TickHandlerFrameEnd::OnTick() the order of TICK_FIRST such that it + // will be called first on the regular tick bus, which is invoked immediately after the system tick. + // + // So while returning TICK_FIRST is incredibly counter-intuitive, hopefully that all explains why. + return AZ::ComponentTickBus::TICK_FIRST; + } + + void ImGuiPass::TickHandlerFrameEnd::OnTick([[maybe_unused]] float deltaTime, [[maybe_unused]] AZ::ScriptTimePoint timePoint) + { + auto imguiContextScope = ImguiContextScope(m_imGuiPass.m_imguiContext); + ImGui::EndFrame(); + } + bool ImGuiPass::OnInputTextEventFiltered(const AZStd::string& textUTF8) { auto imguiContextScope = ImguiContextScope(m_imguiContext); diff --git a/Gems/Atom/Feature/Common/Code/Source/ImGui/ImGuiPass.h b/Gems/Atom/Feature/Common/Code/Source/ImGui/ImGuiPass.h index 6c9dd11914..b774144ba3 100644 --- a/Gems/Atom/Feature/Common/Code/Source/ImGui/ImGuiPass.h +++ b/Gems/Atom/Feature/Common/Code/Source/ImGui/ImGuiPass.h @@ -54,7 +54,6 @@ namespace AZ //! This pass owns and manages activation of an Imgui context. class ImGuiPass : public RPI::RenderPass - , private TickBus::Handler , private AzFramework::InputChannelEventListener , private AzFramework::InputTextEventListener { @@ -76,10 +75,6 @@ namespace AZ //! Allows draw data from other imgui contexts to be rendered on this context. void RenderImguiDrawData(const ImDrawData& drawData); - // TickBus::Handler overrides... - int GetTickOrder() override; - void OnTick(float deltaTime, AZ::ScriptTimePoint timePoint) override; - // AzFramework::InputTextEventListener overrides... bool OnInputTextEventFiltered(const AZStd::string& textUTF8) override; @@ -99,6 +94,35 @@ namespace AZ void BuildCommandListInternal(const RHI::FrameGraphExecuteContext& context) override; private: + //! Class which connects to the tick handler using the tick order required at the start of an ImGui frame. + class TickHandlerFrameStart : protected TickBus::Handler + { + public: + TickHandlerFrameStart(ImGuiPass& imGuiPass); + + protected: + // TickBus::Handler overrides... + int GetTickOrder() override; + void OnTick(float deltaTime, AZ::ScriptTimePoint timePoint) override; + + private: + ImGuiPass& m_imGuiPass; + }; + + //! Class which connects to the tick handler using the tick order required at the end of an ImGui frame. + class TickHandlerFrameEnd : protected TickBus::Handler + { + public: + TickHandlerFrameEnd(ImGuiPass& imGuiPass); + + protected: + // TickBus::Handler overrides... + int GetTickOrder() override; + void OnTick(float deltaTime, AZ::ScriptTimePoint timePoint) override; + + private: + ImGuiPass& m_imGuiPass; + }; struct DrawInfo { @@ -112,6 +136,8 @@ namespace AZ void Init(); ImGuiContext* m_imguiContext = nullptr; + TickHandlerFrameStart m_tickHandlerFrameStart; + TickHandlerFrameEnd m_tickHandlerFrameEnd; RHI::Ptr m_pipelineState; Data::Instance m_shader; diff --git a/Gems/Atom/RHI/Code/Source/RHI/Factory.cpp b/Gems/Atom/RHI/Code/Source/RHI/Factory.cpp index 9146175252..ce0f4ce44b 100644 --- a/Gems/Atom/RHI/Code/Source/RHI/Factory.cpp +++ b/Gems/Atom/RHI/Code/Source/RHI/Factory.cpp @@ -63,8 +63,9 @@ namespace AZ #if defined(USE_RENDERDOC) // If RenderDoc is requested, we need to load the library as early as possible (before device queries/factories are made) bool enableRenderDoc = RHI::QueryCommandLineOption("enableRenderDoc"); +#if defined(USE_PIX) s_pixGpuMarkersEnabled = s_pixGpuMarkersEnabled || enableRenderDoc; - +#endif if (enableRenderDoc && AZ_TRAIT_RENDERDOC_MODULE && !s_renderDocModule) { s_renderDocModule = DynamicModuleHandle::Create(AZ_TRAIT_RENDERDOC_MODULE); diff --git a/Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/DX12_Windows.h b/Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/DX12_Windows.h index 2eef783932..225b039c66 100644 --- a/Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/DX12_Windows.h +++ b/Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/DX12_Windows.h @@ -56,6 +56,9 @@ AZ_POP_DISABLE_WARNING // This define controls whether DXR ray tracing support is available on the platform. #define AZ_DX12_DXR_SUPPORT +// This define is used to initialize the D3D12_ROOT_SIGNATURE_DESC::Flags property. +#define AZ_DX12_ROOT_SIGNATURE_FLAGS D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT + using ID3D12CommandAllocatorX = ID3D12CommandAllocator; using ID3D12CommandQueueX = ID3D12CommandQueue; using ID3D12DeviceX = ID3D12Device5; diff --git a/Gems/Atom/RHI/DX12/Code/Source/RHI/PipelineLayout.cpp b/Gems/Atom/RHI/DX12/Code/Source/RHI/PipelineLayout.cpp index 3fdeec1c51..5a54282e70 100644 --- a/Gems/Atom/RHI/DX12/Code/Source/RHI/PipelineLayout.cpp +++ b/Gems/Atom/RHI/DX12/Code/Source/RHI/PipelineLayout.cpp @@ -417,7 +417,7 @@ namespace AZ } D3D12_ROOT_SIGNATURE_DESC rootSignatureDesc; - rootSignatureDesc.Flags = D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT; + rootSignatureDesc.Flags = AZ_DX12_ROOT_SIGNATURE_FLAGS; rootSignatureDesc.NumParameters = static_cast(parameters.size()); rootSignatureDesc.pParameters = parameters.data(); rootSignatureDesc.NumStaticSamplers = static_cast(staticSamplers.size()); diff --git a/Gems/Atom/RHI/DX12/Code/Source/RHI/RayTracingShaderTable.cpp b/Gems/Atom/RHI/DX12/Code/Source/RHI/RayTracingShaderTable.cpp index 0a9ea63d2f..c84c440c92 100644 --- a/Gems/Atom/RHI/DX12/Code/Source/RHI/RayTracingShaderTable.cpp +++ b/Gems/Atom/RHI/DX12/Code/Source/RHI/RayTracingShaderTable.cpp @@ -86,7 +86,7 @@ namespace AZ AZStd::wstring shaderExportNameWstring; AZStd::to_wstring(shaderExportNameWstring, record.m_shaderExportName.GetStringView()); - void* shaderIdentifier = stateObjectProperties->GetShaderIdentifier(shaderExportNameWstring.c_str()); + const void* shaderIdentifier = stateObjectProperties->GetShaderIdentifier(shaderExportNameWstring.c_str()); memcpy(mappedData, shaderIdentifier, D3D12_SHADER_IDENTIFIER_SIZE_IN_BYTES); mappedData += D3D12_SHADER_IDENTIFIER_SIZE_IN_BYTES; diff --git a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/Pass/PassDefines.h b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/Pass/PassDefines.h index 9dd1bf6842..89766cccb5 100644 --- a/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/Pass/PassDefines.h +++ b/Gems/Atom/RPI/Code/Include/Atom/RPI.Public/Pass/PassDefines.h @@ -43,6 +43,10 @@ namespace AZ // Rendering -> Idle // -> Queued (Rendering will transition to Queued if a pass was queued with the PassSystem during Rendering) // + // Any State -> Orphaned (transition to Orphaned state can be outside the jurisdiction of the pass and so can happen from any state) + // Orphaned -> Queued (When coming out of Orphaned state, pass will queue itself for build. In practice this + // (almost?) never happens as orphaned passes are re-created in most if not all cases.) + // enum class PassState : u8 { // Default value, you should only ever see this in the Pass constructor @@ -92,7 +96,10 @@ namespace AZ // | // V // Pass is currently rendering. Pass must be in Idle state before entering this state - Rendering + Rendering, + + // Special state: Orphaned State, pass was removed from it's parent and is awaiting deletion + Orphaned }; // This enum keeps track of what actions the pass is queued for with the pass system diff --git a/Gems/Atom/RPI/Code/Source/RPI.Public/Pass/Pass.cpp b/Gems/Atom/RPI/Code/Source/RPI.Public/Pass/Pass.cpp index d04a35a10b..4a135ab6d6 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Public/Pass/Pass.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Public/Pass/Pass.cpp @@ -147,6 +147,11 @@ namespace AZ m_treeDepth = m_parent->m_treeDepth + 1; m_path = ConcatPassName(m_parent->m_path, m_name); m_flags.m_partOfHierarchy = m_parent->m_flags.m_partOfHierarchy; + + if (m_state == PassState::Orphaned) + { + QueueForBuildAndInitialization(); + } } void Pass::RemoveFromParent() @@ -154,7 +159,7 @@ namespace AZ AZ_RPI_PASS_ASSERT(m_parent != nullptr, "Trying to remove pass from parent but pointer to the parent pass is null."); m_parent->RemoveChild(Ptr(this)); m_queueState = PassQueueState::NoQueue; - m_state = PassState::Idle; + m_state = PassState::Orphaned; } void Pass::OnOrphan() @@ -162,6 +167,8 @@ namespace AZ m_parent = nullptr; m_flags.m_partOfHierarchy = false; m_treeDepth = 0; + m_queueState = PassQueueState::NoQueue; + m_state = PassState::Orphaned; } // --- Getters & Setters --- diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Application/AtomToolsApplication.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Application/AtomToolsApplication.cpp index 0f21dcb70e..ec365d7a6a 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Application/AtomToolsApplication.cpp +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Application/AtomToolsApplication.cpp @@ -175,7 +175,8 @@ namespace AtomToolsFramework Base::StartCommon(systemEntity); - m_traceLogger.PrepareLogFile(GetBuildTargetName() + ".log"); + const bool clearLogFile = GetSettingOrDefault("/O3DE/AtomToolsFramework/Application/ClearLogOnStart", false); + m_traceLogger.OpenLogFile(GetBuildTargetName() + ".log", clearLogFile); AzToolsFramework::AssetDatabase::AssetDatabaseRequestsBus::Handler::BusConnect(); AzToolsFramework::AssetBrowser::AssetDatabaseLocationNotificationBus::Broadcast( diff --git a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/RenderViewportWidget.cpp b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/RenderViewportWidget.cpp index f6efdc57b8..505ff70122 100644 --- a/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/RenderViewportWidget.cpp +++ b/Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/RenderViewportWidget.cpp @@ -146,11 +146,17 @@ namespace AtomToolsFramework if (auto existingScene = scene->FindSubsystem()) { m_viewportContext->SetRenderScene(*existingScene); - if (auto auxGeomFP = existingScene->get()->GetFeatureProcessor()) + + // If we have a render pipeline, use it and ensure an AuxGeom feature processor is installed. + // Otherwise, fall through and ensure a render pipeline is installed for this scene. + if (m_viewportContext->GetCurrentPipeline()) { - m_auxGeom = auxGeomFP->GetOrCreateDrawQueueForView(m_defaultCamera.get()); + if (auto auxGeomFP = existingScene->get()->GetFeatureProcessor()) + { + m_auxGeom = auxGeomFP->GetOrCreateDrawQueueForView(m_defaultCamera.get()); + } + return; } - return; } AZ::RPI::ScenePtr atomScene; diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportRenderer.cpp b/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportRenderer.cpp index 4ad87492e3..409674f0bc 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportRenderer.cpp +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Viewport/MaterialViewportRenderer.cpp @@ -306,7 +306,6 @@ namespace MaterialEditor { if (!preset) { - AZ_Warning("MaterialViewportRenderer", false, "Attempting to set invalid lighting preset."); return; } @@ -347,7 +346,6 @@ namespace MaterialEditor { if (!preset) { - AZ_Warning("MaterialViewportRenderer", false, "Attempting to set invalid model preset."); return; } diff --git a/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.cpp b/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.cpp index 82ee19b6a5..421e5828b1 100644 --- a/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.cpp +++ b/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source/AtomActorDebugDraw.cpp @@ -46,6 +46,14 @@ namespace AZ::Render return; } + // Update the mesh deformers (perform cpu skinning and morphing) when needed. + if (renderFlags[EMotionFX::ActorRenderFlag::RENDER_AABB] || renderFlags[EMotionFX::ActorRenderFlag::RENDER_FACENORMALS] || + renderFlags[EMotionFX::ActorRenderFlag::RENDER_TANGENTS] || renderFlags[EMotionFX::ActorRenderFlag::RENDER_VERTEXNORMALS] || + renderFlags[EMotionFX::ActorRenderFlag::RENDER_WIREFRAME]) + { + instance->UpdateMeshDeformers(0.0f, true); + } + const RPI::Scene* scene = RPI::Scene::GetSceneForEntityId(m_entityId); const RPI::ViewportContextPtr viewport = AZ::Interface::Get()->GetViewportContextByScene(scene); AzFramework::DebugDisplayRequests* debugDisplay = GetDebugDisplay(viewport->GetId()); diff --git a/Gems/AudioEngineWwise/Code/Source/Editor/AudioSystemEditor_wwise.cpp b/Gems/AudioEngineWwise/Code/Source/Editor/AudioSystemEditor_wwise.cpp index 5bad3ecf1c..d29bec190e 100644 --- a/Gems/AudioEngineWwise/Code/Source/Editor/AudioSystemEditor_wwise.cpp +++ b/Gems/AudioEngineWwise/Code/Source/Editor/AudioSystemEditor_wwise.cpp @@ -322,6 +322,10 @@ namespace AudioControls connection->m_value = value; return connection; } + case EACEControlType::eACET_ENVIRONMENT: + { + return AZStd::make_shared(control->GetId()); + } } } else @@ -571,11 +575,11 @@ namespace AudioControls case eACET_RTPC: return eWCT_WWISE_RTPC; case eACET_SWITCH: - return AUDIO_IMPL_INVALID_TYPE; + return (eWCT_WWISE_SWITCH | eWCT_WWISE_GAME_STATE); case eACET_SWITCH_STATE: return (eWCT_WWISE_SWITCH | eWCT_WWISE_GAME_STATE | eWCT_WWISE_RTPC); case eACET_ENVIRONMENT: - return (eWCT_WWISE_AUX_BUS | eWCT_WWISE_SWITCH | eWCT_WWISE_GAME_STATE | eWCT_WWISE_RTPC); + return (eWCT_WWISE_AUX_BUS | eWCT_WWISE_RTPC); case eACET_PRELOAD: return eWCT_WWISE_SOUND_BANK; } diff --git a/Gems/AudioSystem/Code/Source/Editor/ATLControlsPanel.cpp b/Gems/AudioSystem/Code/Source/Editor/ATLControlsPanel.cpp index 48a16e54e6..0f22616536 100644 --- a/Gems/AudioSystem/Code/Source/Editor/ATLControlsPanel.cpp +++ b/Gems/AudioSystem/Code/Source/Editor/ATLControlsPanel.cpp @@ -168,6 +168,12 @@ namespace AudioControls m_pATLControlsTree->setModel(pProxyModel); m_pProxyModel = pProxyModel; + QAction* pAction = new QAction(tr("Delete"), this); + pAction->setShortcutContext(Qt::WidgetWithChildrenShortcut); + pAction->setShortcut(QKeySequence::Delete); + connect(pAction, SIGNAL(triggered()), this, SLOT(DeleteSelectedControl())); + m_pATLControlsTree->addAction(pAction); + connect(m_pATLControlsTree->selectionModel(), SIGNAL(selectionChanged(const QItemSelection&, const QItemSelection&)), this, SIGNAL(SelectedControlChanged())); connect(m_pATLControlsTree->selectionModel(), SIGNAL(currentChanged(const QModelIndex&, const QModelIndex&)), this, SLOT(StopControlExecution())); connect(m_pTreeModel, SIGNAL(itemChanged(QStandardItem*)), this, SLOT(ItemModified(QStandardItem*))); @@ -802,6 +808,21 @@ namespace AudioControls { AZ::StringFunc::Path::StripExtension(sControlName); } + else if (eControlType == eACET_SWITCH_STATE) + { + if (!pATLParent->SwitchStateConnectionCheck(pAudioSystemControl)) + { + QMessageBox messageBox(this); + messageBox.setStandardButtons(QMessageBox::Ok); + messageBox.setDefaultButton(QMessageBox::Ok); + messageBox.setWindowTitle("Audio Controls Editor"); + messageBox.setText("Not in the same switch group, connection failed."); + if (messageBox.exec() == QMessageBox::Ok) + { + return; + } + } + } CATLControl* pTargetControl2 = m_pTreeModel->CreateControl(eControlType, sControlName, pATLParent); if (pTargetControl2) { diff --git a/Gems/AudioSystem/Code/Source/Editor/AudioControl.cpp b/Gems/AudioSystem/Code/Source/Editor/AudioControl.cpp index c0a8fb8dde..251cc808f9 100644 --- a/Gems/AudioSystem/Code/Source/Editor/AudioControl.cpp +++ b/Gems/AudioSystem/Code/Source/Editor/AudioControl.cpp @@ -368,4 +368,36 @@ namespace AudioControls } } + bool CATLControl::SwitchStateConnectionCheck(IAudioSystemControl* middlewareControl) + { + if (IAudioSystemEditor* audioSystemImpl = CAudioControlsEditorPlugin::GetImplementationManager()->GetImplementation()) + { + CID parentID = middlewareControl->GetParent()->GetId(); + EACEControlType compatibleType = audioSystemImpl->ImplTypeToATLType(middlewareControl->GetType()); + if (compatibleType == EACEControlType::eACET_SWITCH_STATE && m_type == EACEControlType::eACET_SWITCH) + { + for (auto& child : m_children) + { + for (int j = 0; child && j < child->ConnectionCount(); ++j) + { + TConnectionPtr tmpConnection = child->GetConnectionAt(j); + if (tmpConnection) + { + IAudioSystemControl* tmpMiddlewareControl = audioSystemImpl->GetControl(tmpConnection->GetID()); + EACEControlType controlType = audioSystemImpl->ImplTypeToATLType(tmpMiddlewareControl->GetType()); + if (tmpMiddlewareControl && controlType == EACEControlType::eACET_SWITCH_STATE) + { + if (parentID != ACE_INVALID_CID && tmpMiddlewareControl->GetParent()->GetId() != parentID) + { + return false; + } + } + } + } + } + } + } + return true; + } + } // namespace AudioControls diff --git a/Gems/AudioSystem/Code/Source/Editor/AudioControl.h b/Gems/AudioSystem/Code/Source/Editor/AudioControl.h index 024e8eb6df..187ab757af 100644 --- a/Gems/AudioSystem/Code/Source/Editor/AudioControl.h +++ b/Gems/AudioSystem/Code/Source/Editor/AudioControl.h @@ -144,6 +144,8 @@ namespace AudioControls void SignalConnectionAdded(IAudioSystemControl* middlewareControl); void SignalConnectionRemoved(IAudioSystemControl* middlewareControl); + bool SwitchStateConnectionCheck(IAudioSystemControl* middlewareControl); + private: void SetId(CID id); void SetType(EACEControlType type); diff --git a/Gems/AudioSystem/Code/Source/Editor/AudioControlsEditorUndo.cpp b/Gems/AudioSystem/Code/Source/Editor/AudioControlsEditorUndo.cpp index 062d14addf..311f8a98a0 100644 --- a/Gems/AudioSystem/Code/Source/Editor/AudioControlsEditorUndo.cpp +++ b/Gems/AudioSystem/Code/Source/Editor/AudioControlsEditorUndo.cpp @@ -11,7 +11,7 @@ #include #include - +#include #include #include @@ -273,6 +273,51 @@ namespace AudioControls pControl->m_connectedControls = m_connectedControls; pModel->OnControlModified(pControl); + auto& tmpConnectedControls1 = + connectedControls.size() > m_connectedControls.size() ? connectedControls : m_connectedControls; + auto& tmpConnectedControls2 = + connectedControls.size() > m_connectedControls.size() ? m_connectedControls : connectedControls; + for (auto& connection1 : tmpConnectedControls1) + { + bool bCheck = true; + for (auto& connection2 : tmpConnectedControls2) + { + if (connection1 == connection2) + { + bCheck = false; + break; + } + } + + if (!bCheck) + { + continue; + } + + if (IAudioSystemEditor* audioSystemImpl = CAudioControlsEditorPlugin::GetImplementationManager()->GetImplementation()) + { + if (IAudioSystemControl* middlewareControl = audioSystemImpl->GetControl(connection1->GetID())) + { + if (connectedControls.size() > m_connectedControls.size()) + { + audioSystemImpl->ConnectionRemoved(middlewareControl); + pControl->SignalConnectionRemoved(middlewareControl); + } + else + { + TConnectionPtr connection = + audioSystemImpl->CreateConnectionToControl(pControl->GetType(), middlewareControl); + if (connection) + { + pControl->SignalConnectionAdded(middlewareControl); + } + } + + pControl->SignalControlModified(); + } + } + } + m_name = name; m_scope = scope; m_isAutoLoad = isAutoLoad; diff --git a/Gems/AudioSystem/Code/Source/Editor/QConnectionsWidget.cpp b/Gems/AudioSystem/Code/Source/Editor/QConnectionsWidget.cpp index 25981d2abd..ce7a49ae1e 100644 --- a/Gems/AudioSystem/Code/Source/Editor/QConnectionsWidget.cpp +++ b/Gems/AudioSystem/Code/Source/Editor/QConnectionsWidget.cpp @@ -128,6 +128,22 @@ namespace AudioControls } else { + if (m_control->GetType() == EACEControlType::eACET_SWITCH_STATE) + { + if (!m_control->GetParent()->SwitchStateConnectionCheck(middlewareControl)) + { + QMessageBox messageBox(this); + messageBox.setStandardButtons(QMessageBox::Ok); + messageBox.setDefaultButton(QMessageBox::Ok); + messageBox.setWindowTitle("Audio Controls Editor"); + messageBox.setText("Not in the same switch group, connection failed."); + if (messageBox.exec() == QMessageBox::Ok) + { + return; + } + } + } + connection = audioSystemImpl->CreateConnectionToControl(m_control->GetType(), middlewareControl); if (connection) { diff --git a/Gems/AudioSystem/Code/Source/Editor/QSimpleAudioControlListWidget.cpp b/Gems/AudioSystem/Code/Source/Editor/QSimpleAudioControlListWidget.cpp index de86efb6a7..6dc54ac642 100644 --- a/Gems/AudioSystem/Code/Source/Editor/QSimpleAudioControlListWidget.cpp +++ b/Gems/AudioSystem/Code/Source/Editor/QSimpleAudioControlListWidget.cpp @@ -225,6 +225,36 @@ namespace AudioControls { pItem->setFlags(pItem->flags() & ~Qt::ItemIsDragEnabled); } + + if (compatibleType == EACEControlType::eACET_SWITCH_STATE) + { + IAudioSystemControl* pControl = pAudioSystemEditorImpl->GetControl(GetItemId(pItem)); + if (pControl && !pControl->IsLocalized()) + { + size_t nConnect = 0; + for (int i = 0; i < pControl->GetParent()->ChildCount(); ++i) + { + IAudioSystemControl* child = pControl->GetParent()->GetChildAt(i); + if (child && child->IsConnected()) + { + ++nConnect; + } + } + + QTreeWidgetItem* pParentItem = GetItem(pControl->GetParent()->GetId(), pControl->GetParent()->IsLocalized()); + if (pParentItem) + { + if (nConnect > 0 && nConnect == pControl->GetParent()->ChildCount()) + { + pParentItem->setForeground(0, m_connectedColor); + } + else + { + pParentItem->setForeground(0, m_disconnectedColor); + } + } + } + } } } diff --git a/Gems/GraphCanvas/Code/Source/GraphCanvas.cpp b/Gems/GraphCanvas/Code/Source/GraphCanvas.cpp index dfcb106777..ebc15023cc 100644 --- a/Gems/GraphCanvas/Code/Source/GraphCanvas.cpp +++ b/Gems/GraphCanvas/Code/Source/GraphCanvas.cpp @@ -382,6 +382,9 @@ namespace GraphCanvas m_translationAssets.push_back(assetId); } }; + + m_translationAssets.clear(); + AZ::Data::AssetCatalogRequestBus::Broadcast(&AZ::Data::AssetCatalogRequestBus::Events::EnumerateAssets, nullptr, collectAssetsCb, postEnumerateCb); } diff --git a/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.cpp b/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.cpp index 80e488f3dc..754267b27d 100644 --- a/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.cpp +++ b/Gems/GraphCanvas/Code/Source/Translation/TranslationSerializer.cpp @@ -15,39 +15,39 @@ namespace GraphCanvas void AddEntryToDatabase(const AZStd::string& baseKey, const AZStd::string& name, const rapidjson::Value& it, TranslationFormat* translationFormat) { - AZStd::string finalKey = baseKey; if (it.IsString()) { - if (translationFormat->m_database.find(finalKey) == translationFormat->m_database.end()) + auto translationDbItr = translationFormat->m_database.find(baseKey); + if (translationDbItr == translationFormat->m_database.end()) { - translationFormat->m_database[finalKey] = it.GetString(); + translationFormat->m_database[baseKey] = it.GetString(); } else { - AZStd::string existingValue = translationFormat->m_database[finalKey.c_str()]; + const AZStd::string& existingValue = translationDbItr->second; // There is a name collision - AZStd::string error = AZStd::string::format("Unable to store key: %s with value: %s because that key already exists with value: %s (proposed: %s)", finalKey.c_str(), it.GetString(), existingValue.c_str(), it.GetString()); + const AZStd::string error = AZStd::string::format("Unable to store key: %s with value: %s because that key already exists with value: %s (proposed: %s)", baseKey.c_str(), it.GetString(), existingValue.c_str(), it.GetString()); AZ_Error("TranslationSerializer", false, error.c_str()); } } else if (it.IsObject()) { + AZStd::string finalKey = baseKey; if (!name.empty()) { finalKey.append("."); finalKey.append(name); } - AZStd::string itemKey = finalKey; + AZStd::string itemKey; for (auto objIt = it.MemberBegin(); objIt != it.MemberEnd(); ++objIt) { + itemKey = finalKey; itemKey.append("."); itemKey.append(objIt->name.GetString()); AddEntryToDatabase(itemKey, name, objIt->value, translationFormat); - - itemKey = finalKey; } } @@ -60,18 +60,21 @@ namespace GraphCanvas key.append(name); } - AZStd::string itemKey = key; + AZStd::string itemKey; const rapidjson::Value& array = it; for (rapidjson::SizeType i = 0; i < array.Size(); ++i) { + itemKey = key; + // if there is a "base" member within the object, then use it, otherwise use the index - if (array[i].IsObject()) + const auto& element = array[i]; + if (element.IsObject()) { - if (array[i].HasMember(Schema::Field::key)) + rapidjson::Value::ConstMemberIterator innerKeyItr = element.FindMember(Schema::Field::key); + if (innerKeyItr != element.MemberEnd()) { - AZStd::string innerKey = array[i].FindMember(Schema::Field::key)->value.GetString(); - itemKey.append(AZStd::string::format(".%s", innerKey.c_str())); + itemKey.append(AZStd::string::format(".%s", innerKeyItr->value.GetString())); } else { @@ -79,9 +82,7 @@ namespace GraphCanvas } } - AddEntryToDatabase(itemKey, "", array[i], translationFormat); - - itemKey = key; + AddEntryToDatabase(itemKey, "", element, translationFormat); } } } @@ -114,42 +115,32 @@ namespace GraphCanvas { const rapidjson::Value::ConstMemberIterator entries = inputValue.FindMember(Schema::Field::entries); + AZStd::string keyStr; + AZStd::string contextStr; + AZStd::string variantStr; + AZStd::string baseKey; + rapidjson::SizeType entryCount = entries->value.Size(); for (rapidjson::SizeType i = 0; i < entryCount; ++i) { const rapidjson::Value& entry = entries->value[i]; - AZStd::string keyStr; - rapidjson::Value::ConstMemberIterator keyValue; - if (entry.HasMember(Schema::Field::key)) - { - keyValue = entry.FindMember(Schema::Field::key); - keyStr = keyValue->value.GetString(); - } + rapidjson::Value::ConstMemberIterator keyItr = entry.FindMember(Schema::Field::key); + keyStr = keyItr != entry.MemberEnd() ? keyItr->value.GetString() : ""; - AZStd::string contextStr; - rapidjson::Value::ConstMemberIterator contextValue; - if (entry.HasMember(Schema::Field::context)) - { - contextValue = entry.FindMember(Schema::Field::context); - contextStr = contextValue->value.GetString(); - } + rapidjson::Value::ConstMemberIterator contextItr = entry.FindMember(Schema::Field::context); + contextStr = contextItr != entry.MemberEnd() ? contextItr->value.GetString() : ""; - AZStd::string variantStr; - rapidjson::Value::ConstMemberIterator variantValue; - if (entry.HasMember(Schema::Field::variant)) - { - variantValue = entry.FindMember(Schema::Field::variant); - variantStr = variantValue->value.GetString(); - } + rapidjson::Value::ConstMemberIterator variantItr = entry.FindMember(Schema::Field::variant); + variantStr = variantItr != entry.MemberEnd() ? variantItr->value.GetString() : ""; - AZStd::string baseKey = contextStr; if (keyStr.empty()) { - AZ_Error("TranslationDatabase", false, "Every entry in the Translation data must have a key: %s", baseKey.c_str()); + AZ_Error("TranslationDatabase", false, "Every entry in the Translation data must have a key: %s", contextStr.c_str()); return context.Report(JSR::Tasks::ReadField, JSR::Outcomes::Unsupported, "Every entry in the Translation data must have a key"); } + baseKey = contextStr; if (!baseKey.empty()) { baseKey.append("."); @@ -167,7 +158,7 @@ namespace GraphCanvas for (auto it = entry.MemberBegin(); it != entry.MemberEnd(); ++it) { // Skip the fixed elements - if (it == keyValue || it == contextValue || it == variantValue) + if (it == keyItr || it == contextItr || it == variantItr) { continue; } diff --git a/Gems/LmbrCentral/Code/Source/Audio/AudioListenerComponent.cpp b/Gems/LmbrCentral/Code/Source/Audio/AudioListenerComponent.cpp index 05d8061856..7062f685c2 100644 --- a/Gems/LmbrCentral/Code/Source/Audio/AudioListenerComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Audio/AudioListenerComponent.cpp @@ -96,7 +96,7 @@ namespace LmbrCentral } else { - m_positionEntity = entityId; + m_currentPositionEntity = entityId; } } @@ -221,26 +221,26 @@ namespace LmbrCentral if (rotationEntityId.IsValid()) { - AZ::EntityBus::MultiHandler::BusConnect(rotationEntityId); m_currentRotationEntity = rotationEntityId; + AZ::EntityBus::MultiHandler::BusConnect(rotationEntityId); } else { - AZ::TransformNotificationBus::MultiHandler::BusConnect(GetEntityId()); m_currentRotationEntity = GetEntityId(); + AZ::TransformNotificationBus::MultiHandler::BusConnect(GetEntityId()); } // Lastly, connect to the Entity used for Position if (positionEntityId.IsValid()) { - AZ::EntityBus::MultiHandler::BusConnect(positionEntityId); m_currentPositionEntity = positionEntityId; + AZ::EntityBus::MultiHandler::BusConnect(positionEntityId); } else { - AZ::TransformNotificationBus::MultiHandler::BusConnect(GetEntityId()); m_currentPositionEntity = GetEntityId(); + AZ::TransformNotificationBus::MultiHandler::BusConnect(GetEntityId()); } // Do a fetch of the transforms to sync upon connecting. diff --git a/Gems/LmbrCentral/Code/Tests/EditorPolygonPrismShapeComponentTests.cpp b/Gems/LmbrCentral/Code/Tests/EditorPolygonPrismShapeComponentTests.cpp index a5802ce8d5..41fc6c5624 100644 --- a/Gems/LmbrCentral/Code/Tests/EditorPolygonPrismShapeComponentTests.cpp +++ b/Gems/LmbrCentral/Code/Tests/EditorPolygonPrismShapeComponentTests.cpp @@ -143,7 +143,7 @@ namespace LmbrCentral using EditorPolygonPrismShapeComponentManipulatorFixture = UnitTest::IndirectCallManipulatorViewportInteractionFixtureMixin; - TEST_F(EditorPolygonPrismShapeComponentManipulatorFixture, PolygonPrismNonUniformScale_ManipulatorsScaleCorrectly) + TEST_F(EditorPolygonPrismShapeComponentManipulatorFixture, PolygonPrismNonUniformScaleManipulatorsScaleCorrectly) { // set the non-uniform scale and enter the polygon prism shape component's component mode const AZ::Vector3 nonUniformScale(2.0f, 3.0f, 4.0f); @@ -171,8 +171,8 @@ namespace LmbrCentral const auto screenStart = AzFramework::WorldToScreen(worldStart, m_cameraState); const auto screenEnd = AzFramework::WorldToScreen(worldEnd, m_cameraState); - // small diagonal offset to ensure we interact with the planar manipulator and not one of the linear manipulators - const AzFramework::ScreenVector offset(5, -5); + // diagonal offset to ensure we interact with the planar manipulator and not one of the linear manipulators + const AzFramework::ScreenVector offset(50, -50); m_actionDispatcher ->CameraState(m_cameraState) diff --git a/Gems/LyShine/Code/Editor/Animation/UiAnimViewAnimNode.cpp b/Gems/LyShine/Code/Editor/Animation/UiAnimViewAnimNode.cpp index 5d62f88310..9aee4b10cd 100644 --- a/Gems/LyShine/Code/Editor/Animation/UiAnimViewAnimNode.cpp +++ b/Gems/LyShine/Code/Editor/Animation/UiAnimViewAnimNode.cpp @@ -8,7 +8,7 @@ #include "UiEditorAnimationBus.h" -#include "UiEditorDLLBus.h" +#include #include "UiAnimViewAnimNode.h" #include "UiAnimViewTrack.h" #include "UiAnimViewSequence.h" diff --git a/Gems/LyShine/Code/Editor/Animation/UiAnimViewSequenceManager.cpp b/Gems/LyShine/Code/Editor/Animation/UiAnimViewSequenceManager.cpp index 4cfeeaff6a..2a6c607b24 100644 --- a/Gems/LyShine/Code/Editor/Animation/UiAnimViewSequenceManager.cpp +++ b/Gems/LyShine/Code/Editor/Animation/UiAnimViewSequenceManager.cpp @@ -8,7 +8,7 @@ #include "UiEditorAnimationBus.h" -#include "UiEditorDLLBus.h" +#include #include "UiAnimViewSequenceManager.h" #include "UiAnimViewUndo.h" #include "AnimationContext.h" diff --git a/Gems/LyShine/Code/Editor/EditorWindow.h b/Gems/LyShine/Code/Editor/EditorWindow.h index d9b3e60c32..538e565b7a 100644 --- a/Gems/LyShine/Code/Editor/EditorWindow.h +++ b/Gems/LyShine/Code/Editor/EditorWindow.h @@ -11,7 +11,7 @@ #include "EditorCommon.h" #include "Animation/UiEditorAnimationBus.h" -#include "UiEditorDLLBus.h" +#include #include "UiEditorInternalBus.h" #include "UiEditorEntityContext.h" #include "UiSliceManager.h" diff --git a/Gems/LyShine/Code/Editor/LyShineEditorSystemComponent.cpp b/Gems/LyShine/Code/Editor/LyShineEditorSystemComponent.cpp index f32ba1dbd5..229101d4c0 100644 --- a/Gems/LyShine/Code/Editor/LyShineEditorSystemComponent.cpp +++ b/Gems/LyShine/Code/Editor/LyShineEditorSystemComponent.cpp @@ -103,6 +103,7 @@ namespace LyShineEditor void LyShineEditorSystemComponent::Activate() { AzToolsFramework::EditorEventsBus::Handler::BusConnect(); + AzToolsFramework::EditorEntityContextNotificationBus::Handler::BusConnect(); LyShine::LyShineRequestBus::Handler::BusConnect(); } @@ -118,6 +119,7 @@ namespace LyShineEditor } LyShine::LyShineRequestBus::Handler::BusDisconnect(); AzToolsFramework::EditorEventsBus::Handler::BusDisconnect(); + AzToolsFramework::EditorEntityContextNotificationBus::Handler::BusDisconnect(); } //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -204,4 +206,14 @@ namespace LyShineEditor UiEditorDLLBus::Broadcast(&UiEditorDLLInterface::OpenSourceCanvasFile, absoluteName); } } + + //////////////////////////////////////////////////////////////////////////////////////////////// + void LyShineEditorSystemComponent::OnStopPlayInEditor() + { + // reset UI system + if (gEnv->pLyShine) + { + gEnv->pLyShine->Reset(); + } + } } diff --git a/Gems/LyShine/Code/Editor/LyShineEditorSystemComponent.h b/Gems/LyShine/Code/Editor/LyShineEditorSystemComponent.h index 340c40cc5e..f355f18c3d 100644 --- a/Gems/LyShine/Code/Editor/LyShineEditorSystemComponent.h +++ b/Gems/LyShine/Code/Editor/LyShineEditorSystemComponent.h @@ -11,6 +11,7 @@ #include #include #include +#include #include namespace LyShineEditor @@ -18,6 +19,7 @@ namespace LyShineEditor class LyShineEditorSystemComponent : public AZ::Component , protected AzToolsFramework::EditorEvents::Bus::Handler + , protected AzToolsFramework::EditorEntityContextNotificationBus::Handler , protected AzToolsFramework::AssetBrowser::AssetBrowserInteractionNotificationBus::Handler , protected LyShine::LyShineRequestBus::Handler { @@ -58,5 +60,10 @@ namespace LyShineEditor // LyShineRequestBus interface implementation void EditUICanvas(const AZStd::string_view& canvasPath) override; //////////////////////////////////////////////////////////////////////// + + //////////////////////////////////////////////////////////////////////// + // EditorEntityContextNotificationBus + void OnStopPlayInEditor() override; + //////////////////////////////////////////////////////////////////////// }; } diff --git a/Gems/LyShine/Code/Editor/SpriteBorderEditorCommon.h b/Gems/LyShine/Code/Editor/SpriteBorderEditorCommon.h index 3f4d6b25b9..95e3256160 100644 --- a/Gems/LyShine/Code/Editor/SpriteBorderEditorCommon.h +++ b/Gems/LyShine/Code/Editor/SpriteBorderEditorCommon.h @@ -10,7 +10,6 @@ #include // required to be included before platform.h #include #include -#include #include #include diff --git a/Gems/LyShine/Code/Editor/ViewportWidget.cpp b/Gems/LyShine/Code/Editor/ViewportWidget.cpp index bf7447585c..0746a5213f 100644 --- a/Gems/LyShine/Code/Editor/ViewportWidget.cpp +++ b/Gems/LyShine/Code/Editor/ViewportWidget.cpp @@ -454,29 +454,6 @@ void ViewportWidget::contextMenuEvent(QContextMenuEvent* e) RenderViewportWidget::contextMenuEvent(e); } -#ifdef LYSHINE_ATOM_TODO // check if still needed -void ViewportWidget::HandleSignalRender([[maybe_unused]] const SRenderContext& context) -{ - // Called from QViewport when redrawing the viewport. - // Triggered from a QViewport resize event or from our call to QViewport::Update - if (m_canvasRenderIsEnabled) - { - gEnv->pRenderer->SetSrgbWrite(true); - - UiEditorMode editorMode = m_editorWindow->GetEditorMode(); - - if (editorMode == UiEditorMode::Edit) - { - RenderEditMode(); - } - else // if (editorMode == UiEditorMode::Preview) - { - RenderPreviewMode(); - } - } -} -#endif - void ViewportWidget::UserSelectionChanged(HierarchyItemRawPtrList* items) { Refresh(); @@ -999,13 +976,6 @@ void ViewportWidget::RenderEditMode() m_viewportInteraction->GetCanvasToViewportScale(), m_viewportInteraction->GetCanvasToViewportTranslation()); -#ifdef LYSHINE_ATOM_TODO - // clear the stencil buffer before rendering each canvas - required for masking - // NOTE: the FRT_CLEAR_IMMEDIATE is required since we will not be setting the render target - ColorF viewportBackgroundColor(0, 0, 0, 0); // if clearing color we want to set alpha to zero also - gEnv->pRenderer->ClearTargetsImmediately(FRT_CLEAR_STENCIL, viewportBackgroundColor); -#endif - // Set the target size of the canvas EBUS_EVENT_ID(canvasEntityId, UiCanvasBus, SetTargetCanvasSize, false, canvasSize); diff --git a/Code/Legacy/CryCommon/LyShine/Animation/IUiAnimation.h b/Gems/LyShine/Code/Include/LyShine/Animation/IUiAnimation.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Animation/IUiAnimation.h rename to Gems/LyShine/Code/Include/LyShine/Animation/IUiAnimation.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/Sprite/UiSpriteBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/Sprite/UiSpriteBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/Sprite/UiSpriteBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/Sprite/UiSpriteBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/Tools/UiSystemToolsBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/Tools/UiSystemToolsBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/Tools/UiSystemToolsBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/Tools/UiSystemToolsBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiAnimateEntityBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiAnimateEntityBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiAnimateEntityBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiAnimateEntityBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiAnimationBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiAnimationBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiAnimationBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiAnimationBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiButtonBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiButtonBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiButtonBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiButtonBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiCanvasBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiCanvasBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiCanvasBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiCanvasBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiCanvasManagerBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiCanvasManagerBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiCanvasManagerBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiCanvasManagerBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiCanvasUpdateNotificationBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiCanvasUpdateNotificationBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiCanvasUpdateNotificationBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiCanvasUpdateNotificationBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiCheckboxBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiCheckboxBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiCheckboxBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiCheckboxBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiDraggableBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiDraggableBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiDraggableBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiDraggableBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiDropTargetBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiDropTargetBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiDropTargetBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiDropTargetBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiDropdownBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiDropdownBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiDropdownBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiDropdownBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiDropdownOptionBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiDropdownOptionBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiDropdownOptionBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiDropdownOptionBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiDynamicLayoutBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiDynamicLayoutBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiDynamicLayoutBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiDynamicLayoutBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiDynamicScrollBoxBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiDynamicScrollBoxBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiDynamicScrollBoxBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiDynamicScrollBoxBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiEditorBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiEditorBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiEditorBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiEditorBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiEditorCanvasBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiEditorCanvasBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiEditorCanvasBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiEditorCanvasBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiEditorChangeNotificationBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiEditorChangeNotificationBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiEditorChangeNotificationBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiEditorChangeNotificationBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiElementBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiElementBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiElementBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiElementBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiEntityContextBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiEntityContextBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiEntityContextBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiEntityContextBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiFaderBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiFaderBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiFaderBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiFaderBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiFlipbookAnimationBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiFlipbookAnimationBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiFlipbookAnimationBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiFlipbookAnimationBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiGameEntityContextBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiGameEntityContextBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiGameEntityContextBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiGameEntityContextBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiImageBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiImageBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiImageBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiImageBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiImageSequenceBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiImageSequenceBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiImageSequenceBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiImageSequenceBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiIndexableImageBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiIndexableImageBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiIndexableImageBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiIndexableImageBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiInitializationBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiInitializationBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiInitializationBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiInitializationBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiInteractableActionsBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiInteractableActionsBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiInteractableActionsBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiInteractableActionsBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiInteractableBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiInteractableBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiInteractableBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiInteractableBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiInteractableStatesBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiInteractableStatesBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiInteractableStatesBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiInteractableStatesBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiInteractionMaskBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiInteractionMaskBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiInteractionMaskBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiInteractionMaskBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiLayoutBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiLayoutBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiLayoutCellBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutCellBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiLayoutCellBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutCellBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiLayoutCellDefaultBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutCellDefaultBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiLayoutCellDefaultBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutCellDefaultBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiLayoutColumnBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutColumnBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiLayoutColumnBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutColumnBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiLayoutControllerBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutControllerBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiLayoutControllerBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutControllerBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiLayoutFitterBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutFitterBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiLayoutFitterBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutFitterBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiLayoutGridBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutGridBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiLayoutGridBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutGridBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiLayoutManagerBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutManagerBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiLayoutManagerBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutManagerBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiLayoutRowBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutRowBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiLayoutRowBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiLayoutRowBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiMarkupButtonBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiMarkupButtonBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiMarkupButtonBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiMarkupButtonBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiMaskBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiMaskBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiMaskBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiMaskBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiNavigationBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiNavigationBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiNavigationBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiNavigationBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiParticleEmitterBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiParticleEmitterBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiParticleEmitterBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiParticleEmitterBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiRadioButtonBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiRadioButtonBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiRadioButtonBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiRadioButtonBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiRadioButtonCommunicationBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiRadioButtonCommunicationBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiRadioButtonCommunicationBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiRadioButtonCommunicationBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiRadioButtonGroupBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiRadioButtonGroupBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiRadioButtonGroupBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiRadioButtonGroupBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiRadioButtonGroupCommunicationBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiRadioButtonGroupCommunicationBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiRadioButtonGroupCommunicationBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiRadioButtonGroupCommunicationBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiRenderBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiRenderBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiRenderBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiRenderBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiRenderControlBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiRenderControlBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiRenderControlBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiRenderControlBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiScrollBarBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiScrollBarBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiScrollBarBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiScrollBarBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiScrollBoxBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiScrollBoxBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiScrollBoxBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiScrollBoxBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiScrollableBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiScrollableBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiScrollableBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiScrollableBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiScrollerBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiScrollerBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiScrollerBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiScrollerBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiSliderBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiSliderBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiSliderBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiSliderBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiSpawnerBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiSpawnerBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiSpawnerBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiSpawnerBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiSystemBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiSystemBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiSystemBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiSystemBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiTextBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiTextBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiTextBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiTextBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiTextInputBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiTextInputBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiTextInputBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiTextInputBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiTooltipBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiTooltipBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiTooltipBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiTooltipBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiTooltipDataPopulatorBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiTooltipDataPopulatorBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiTooltipDataPopulatorBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiTooltipDataPopulatorBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiTooltipDisplayBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiTooltipDisplayBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiTooltipDisplayBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiTooltipDisplayBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiTransform2dBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiTransform2dBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiTransform2dBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiTransform2dBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiTransformBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiTransformBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiTransformBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiTransformBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/UiVisualBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/UiVisualBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/UiVisualBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/UiVisualBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/World/UiCanvasOnMeshBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/World/UiCanvasOnMeshBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/World/UiCanvasOnMeshBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/World/UiCanvasOnMeshBus.h diff --git a/Code/Legacy/CryCommon/LyShine/Bus/World/UiCanvasRefBus.h b/Gems/LyShine/Code/Include/LyShine/Bus/World/UiCanvasRefBus.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/Bus/World/UiCanvasRefBus.h rename to Gems/LyShine/Code/Include/LyShine/Bus/World/UiCanvasRefBus.h diff --git a/Code/Legacy/CryCommon/LyShine/IDraw2d.h b/Gems/LyShine/Code/Include/LyShine/IDraw2d.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/IDraw2d.h rename to Gems/LyShine/Code/Include/LyShine/IDraw2d.h diff --git a/Code/Legacy/CryCommon/LyShine/ILyShine.h b/Gems/LyShine/Code/Include/LyShine/ILyShine.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/ILyShine.h rename to Gems/LyShine/Code/Include/LyShine/ILyShine.h diff --git a/Code/Legacy/CryCommon/LyShine/IRenderGraph.h b/Gems/LyShine/Code/Include/LyShine/IRenderGraph.h similarity index 87% rename from Code/Legacy/CryCommon/LyShine/IRenderGraph.h rename to Gems/LyShine/Code/Include/LyShine/IRenderGraph.h index 716e0f7417..0e7c127677 100644 --- a/Code/Legacy/CryCommon/LyShine/IRenderGraph.h +++ b/Gems/LyShine/Code/Include/LyShine/IRenderGraph.h @@ -7,9 +7,8 @@ */ #pragma once -#include -#include #include +#include namespace AZ { @@ -42,10 +41,6 @@ namespace LyShine //! End the setup of a mask render node, this marks the end of adding child primitives virtual void EndMask() = 0; - //! Begin rendering to a texture - virtual void BeginRenderToTexture(int renderTargetHandle, SDepthTexture* renderTargetDepthSurface, - const AZ::Vector2& viewportTopLeft, const AZ::Vector2& viewportSize, const AZ::Color& clearColor) = 0; - //! End rendering to a texture virtual void EndRenderToTexture() = 0; @@ -53,7 +48,7 @@ namespace LyShine //! The graph handles the allocation of this DynUiPrimitive and deletes it when the graph is reset //! This can be used if the UI component doesn't want to own the storage of the primitive. Used infrequently, //! e.g. for the selection rect on a text component. - virtual DynUiPrimitive* GetDynamicQuadPrimitive(const AZ::Vector2* positions, uint32 packedColor) = 0; + virtual LyShine::UiPrimitive* GetDynamicQuadPrimitive(const AZ::Vector2* positions, uint32 packedColor) = 0; //---- Functions for supporting masking (used during creation of the graph, not rendering ) ---- diff --git a/Code/Legacy/CryCommon/LyShine/ISprite.h b/Gems/LyShine/Code/Include/LyShine/ISprite.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/ISprite.h rename to Gems/LyShine/Code/Include/LyShine/ISprite.h diff --git a/Code/Legacy/CryCommon/LyShine/UiBase.h b/Gems/LyShine/Code/Include/LyShine/UiBase.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/UiBase.h rename to Gems/LyShine/Code/Include/LyShine/UiBase.h diff --git a/Code/Legacy/CryCommon/LyShine/UiComponentTypes.h b/Gems/LyShine/Code/Include/LyShine/UiComponentTypes.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/UiComponentTypes.h rename to Gems/LyShine/Code/Include/LyShine/UiComponentTypes.h diff --git a/Code/Editor/Plugins/EditorCommon/UiEditorDLLBus.h b/Gems/LyShine/Code/Include/LyShine/UiEditorDLLBus.h similarity index 100% rename from Code/Editor/Plugins/EditorCommon/UiEditorDLLBus.h rename to Gems/LyShine/Code/Include/LyShine/UiEditorDLLBus.h diff --git a/Code/Legacy/CryCommon/LyShine/UiEntityContext.h b/Gems/LyShine/Code/Include/LyShine/UiEntityContext.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/UiEntityContext.h rename to Gems/LyShine/Code/Include/LyShine/UiEntityContext.h diff --git a/Code/Legacy/CryCommon/LyShine/UiLayoutCellBase.h b/Gems/LyShine/Code/Include/LyShine/UiLayoutCellBase.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/UiLayoutCellBase.h rename to Gems/LyShine/Code/Include/LyShine/UiLayoutCellBase.h diff --git a/Gems/LyShine/Code/Include/LyShine/UiRenderFormats.h b/Gems/LyShine/Code/Include/LyShine/UiRenderFormats.h new file mode 100644 index 0000000000..632642856e --- /dev/null +++ b/Gems/LyShine/Code/Include/LyShine/UiRenderFormats.h @@ -0,0 +1,53 @@ +/* + * 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 + +namespace LyShine +{ + struct UCol + { + union + { + uint32 dcolor; + uint8 bcolor[4]; + + struct + { + uint8 b, g, r, a; + }; + struct + { + uint8 z, y, x, w; + }; + }; + }; + + struct UiPrimitiveVertex + { + Vec2 xy; + UCol color; + Vec2 st; + uint8 texIndex; + uint8 texHasColorChannel; + uint8 texIndex2; + uint8 pad; + }; + + using UiIndice = AZ::u16; + + struct UiPrimitive : public AZStd::intrusive_slist_node + { + UiPrimitiveVertex* m_vertices = nullptr; + uint16* m_indices = nullptr; + int m_numVertices = 0; + int m_numIndices = 0; + }; + using UiPrimitiveList = AZStd::intrusive_slist>; +}; diff --git a/Code/Legacy/CryCommon/LyShine/UiSerializeHelpers.h b/Gems/LyShine/Code/Include/LyShine/UiSerializeHelpers.h similarity index 100% rename from Code/Legacy/CryCommon/LyShine/UiSerializeHelpers.h rename to Gems/LyShine/Code/Include/LyShine/UiSerializeHelpers.h diff --git a/Gems/LyShine/Code/Source/Animation/UiAnimationSystem.cpp b/Gems/LyShine/Code/Source/Animation/UiAnimationSystem.cpp index 13a4ddb425..c8818836d6 100644 --- a/Gems/LyShine/Code/Source/Animation/UiAnimationSystem.cpp +++ b/Gems/LyShine/Code/Source/Animation/UiAnimationSystem.cpp @@ -22,7 +22,6 @@ #include #include #include -#include ////////////////////////////////////////////////////////////////////////// namespace diff --git a/Gems/LyShine/Code/Source/Draw2d.cpp b/Gems/LyShine/Code/Source/Draw2d.cpp index 9a97f27592..f2c7c360d2 100644 --- a/Gems/LyShine/Code/Source/Draw2d.cpp +++ b/Gems/LyShine/Code/Source/Draw2d.cpp @@ -5,9 +5,9 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ -#include // for SVF_P3F_C4B_T2F which will be removed in a coming PR #include +#include #include "LyShinePassDataBus.h" #include @@ -22,15 +22,23 @@ #include #include -//////////////////////////////////////////////////////////////////////////////////////////////////// -// LOCAL STATIC FUNCTIONS -//////////////////////////////////////////////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Color to u32 => 0xAARRGGBB -static AZ::u32 PackARGB8888(const AZ::Color& color) +namespace { - return (color.GetA8() << 24) | (color.GetR8() << 16) | (color.GetG8() << 8) | color.GetB8(); + //////////////////////////////////////////////////////////////////////////////////////////////////// + // Color to u32 => 0xAARRGGBB + AZ::u32 PackARGB8888(const AZ::Color& color) + { + return (color.GetA8() << 24) | (color.GetR8() << 16) | (color.GetG8() << 8) | color.GetB8(); + } + + //////////////////////////////////////////////////////////////////////////////////////////////////// + // Vertex format for Dynamic Draw Context + struct Draw2dVertex + { + Vec3 xyz; + LyShine::UCol color; + Vec2 st; + }; } //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -739,7 +747,7 @@ void CDraw2d::DeferredQuad::Draw(AZ::RHI::Ptr dynam const float z = 1.0f; // depth test disabled, if writing Z this will write at far plane - SVF_P3F_C4B_T2F vertices[NUM_VERTS]; + Draw2dVertex vertices[NUM_VERTS]; const int vertIndex[NUM_VERTS] = { 0, 1, 3, 3, 1, 2 }; @@ -804,7 +812,7 @@ void CDraw2d::DeferredLine::Draw(AZ::RHI::Ptr dynam const int32 NUM_VERTS = 2; - SVF_P3F_C4B_T2F vertices[NUM_VERTS]; + Draw2dVertex vertices[NUM_VERTS]; for (int i = 0; i < NUM_VERTS; ++i) { @@ -857,9 +865,9 @@ void CDraw2d::DeferredRectOutline::Draw(AZ::RHI::PtrSetPrimitiveType(AZ::RHI::PrimitiveTopology::TriangleList); dynamicDraw->DrawIndexed(vertices, NUM_VERTS, indices, NUM_INDICES, AZ::RHI::IndexFormat::Uint16, drawSrg); - } //////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/Gems/LyShine/Code/Source/LyShine.cpp b/Gems/LyShine/Code/Source/LyShine.cpp index 19c6e4281e..d19bc3f92d 100644 --- a/Gems/LyShine/Code/Source/LyShine.cpp +++ b/Gems/LyShine/Code/Source/LyShine.cpp @@ -520,12 +520,6 @@ void CLyShine::OnLoadScreenUnloaded() m_uiCanvasManager->OnLoadScreenUnloaded(); } -//////////////////////////////////////////////////////////////////////////////////////////////////// -void CLyShine::OnDebugDraw() -{ - LyShineDebug::RenderDebug(); -} - //////////////////////////////////////////////////////////////////////////////////////////////////// void CLyShine::IncrementVisibleCounter() { diff --git a/Gems/LyShine/Code/Source/LyShine.h b/Gems/LyShine/Code/Source/LyShine.h index 065ad59f80..82f902a9f8 100644 --- a/Gems/LyShine/Code/Source/LyShine.h +++ b/Gems/LyShine/Code/Source/LyShine.h @@ -7,7 +7,6 @@ */ #pragma once -#include #include #include #include @@ -38,7 +37,6 @@ struct IConsoleCmdArgs; //! CLyShine is the full implementation of the ILyShine interface class CLyShine : public ILyShine - , public IRenderDebugListener , public UiCursorBus::Handler , public AzFramework::InputChannelEventListener , public AzFramework::InputTextEventListener @@ -88,13 +86,6 @@ public: // ~ILyShine - // IRenderDebugListener - - //! Renders any debug displays currently enabled for the UI system - void OnDebugDraw() override; - - // ~IRenderDebugListener - // UiCursorInterface void IncrementVisibleCounter() override; void DecrementVisibleCounter() override; diff --git a/Gems/LyShine/Code/Source/LyShineLoadScreen.cpp b/Gems/LyShine/Code/Source/LyShineLoadScreen.cpp index 831bdb048a..c59cb5cb34 100644 --- a/Gems/LyShine/Code/Source/LyShineLoadScreen.cpp +++ b/Gems/LyShine/Code/Source/LyShineLoadScreen.cpp @@ -10,8 +10,6 @@ #if AZ_LOADSCREENCOMPONENT_ENABLED -#include - #include #include #include diff --git a/Gems/LyShine/Code/Source/LyShineSystemComponent.cpp b/Gems/LyShine/Code/Source/LyShineSystemComponent.cpp index f815e2ddbd..787797e462 100644 --- a/Gems/LyShine/Code/Source/LyShineSystemComponent.cpp +++ b/Gems/LyShine/Code/Source/LyShineSystemComponent.cpp @@ -377,7 +377,7 @@ namespace LyShine } /////////////////////////////////////////////////////////////////////////////////////////////// - void LyShineSystemComponent::OnCrySystemInitialized([[maybe_unused]] ISystem& system, [[maybe_unused]] const SSystemInitParams& startupParams) + void LyShineSystemComponent::OnCrySystemInitialized(ISystem& system, [[maybe_unused]] const SSystemInitParams& startupParams) { #if !defined(AZ_MONOLITHIC_BUILD) // When module is linked dynamically, we must set our gEnv pointer. @@ -387,16 +387,36 @@ namespace LyShine m_pLyShine = new CLyShine(gEnv->pSystem); gEnv->pLyShine = m_pLyShine; + system.GetILevelSystem()->AddListener(this); + BroadcastCursorImagePathname(); + + if (gEnv->pLyShine) + { + gEnv->pLyShine->PostInit(); + } } - void LyShineSystemComponent::OnCrySystemShutdown([[maybe_unused]] ISystem& system) + /////////////////////////////////////////////////////////////////////////////////////////////// + void LyShineSystemComponent::OnCrySystemShutdown(ISystem& system) { + system.GetILevelSystem()->RemoveListener(this); + gEnv->pLyShine = nullptr; delete m_pLyShine; m_pLyShine = nullptr; } + //////////////////////////////////////////////////////////////////////// + void LyShineSystemComponent::OnUnloadComplete([[maybe_unused]] const char* levelName) + { + // Perform level unload procedures for the LyShine UI system + if (gEnv && gEnv->pLyShine) + { + gEnv->pLyShine->OnLevelUnload(); + } + } + //////////////////////////////////////////////////////////////////////////////////////////////////// void LyShineSystemComponent::BroadcastCursorImagePathname() { diff --git a/Gems/LyShine/Code/Source/LyShineSystemComponent.h b/Gems/LyShine/Code/Source/LyShineSystemComponent.h index 5b4086007b..d2cdcf6761 100644 --- a/Gems/LyShine/Code/Source/LyShineSystemComponent.h +++ b/Gems/LyShine/Code/Source/LyShineSystemComponent.h @@ -13,6 +13,7 @@ #include #include +#include #include #include @@ -37,6 +38,7 @@ namespace LyShine , protected LyShineAllocatorScope , protected UiFrameworkBus::Handler , protected CrySystemEventBus::Handler + , public ILevelSystemListener { public: AZ_COMPONENT(LyShineSystemComponent, lyShineSystemComponentUuid); @@ -92,6 +94,10 @@ namespace LyShine void OnCrySystemShutdown(ISystem&) override; //////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////// + // ILevelSystemListener interface implementation + void OnUnloadComplete(const char* levelName) override; + void BroadcastCursorImagePathname(); #if !defined(LYSHINE_BUILDER) && !defined(LYSHINE_TESTS) diff --git a/Gems/LyShine/Code/Source/Particle/UiParticle.cpp b/Gems/LyShine/Code/Source/Particle/UiParticle.cpp index 077e83a696..5354e52724 100644 --- a/Gems/LyShine/Code/Source/Particle/UiParticle.cpp +++ b/Gems/LyShine/Code/Source/Particle/UiParticle.cpp @@ -10,7 +10,6 @@ #include "UiParticleEmitterComponent.h" #include -#include //////////////////////////////////////////////////////////////////////////////////////////////////// void UiParticle::Init(UiParticle::UiParticleInitialParameters* initialParams) @@ -99,7 +98,7 @@ void UiParticle::Update(float deltaTime, const UiParticleUpdateParameters& updat } //////////////////////////////////////////////////////////////////////////////////////////////////// -bool UiParticle::FillVertices(SVF_P2F_C4B_T2F_F4B* outputVertices, const UiParticleRenderParameters& renderParameters, const AZ::Matrix4x4& transform) +bool UiParticle::FillVertices(LyShine::UiPrimitiveVertex* outputVertices, const UiParticleRenderParameters& renderParameters, const AZ::Matrix4x4& transform) { float particleLifetimePercentage = (renderParameters.isParticleInfinite ? 0.0f : m_particleAge / m_particleLifetime); float alphaStrength = 1.0f; diff --git a/Gems/LyShine/Code/Source/Particle/UiParticle.h b/Gems/LyShine/Code/Source/Particle/UiParticle.h index 24509634e1..2b8f83c63b 100644 --- a/Gems/LyShine/Code/Source/Particle/UiParticle.h +++ b/Gems/LyShine/Code/Source/Particle/UiParticle.h @@ -16,7 +16,7 @@ #include #include -#include +#include class UiParticle { @@ -81,7 +81,7 @@ public: //! Fill out the four vertices for the particle. //! Returns false if the vertex was not added because it was fully transparent. - bool FillVertices(SVF_P2F_C4B_T2F_F4B* outputVertices, const UiParticleRenderParameters& renderParameters, const AZ::Matrix4x4& transform); + bool FillVertices(LyShine::UiPrimitiveVertex* outputVertices, const UiParticleRenderParameters& renderParameters, const AZ::Matrix4x4& transform); bool IsActive(bool infiniteLifetime) const; diff --git a/Gems/LyShine/Code/Source/RenderGraph.cpp b/Gems/LyShine/Code/Source/RenderGraph.cpp index 567c29eecd..c7baf82fc0 100644 --- a/Gems/LyShine/Code/Source/RenderGraph.cpp +++ b/Gems/LyShine/Code/Source/RenderGraph.cpp @@ -154,7 +154,7 @@ namespace LyShine // [LYSHINE_ATOM_TODO][ATOM-15073] - need to combine into a single DrawIndexed call to take advantage of the draw call // optimization done by this RenderGraph. This option will be added to DynamicDrawContext. For // now we could combine the vertices ourselves - for (const DynUiPrimitive& primitive : m_primitives) + for (const LyShine::UiPrimitive& primitive : m_primitives) { dynamicDraw->DrawIndexed(primitive.m_vertices, primitive.m_numVertices, primitive.m_indices, primitive.m_numIndices, AZ::RHI::IndexFormat::Uint16, drawSrg); } @@ -163,7 +163,7 @@ namespace LyShine } //////////////////////////////////////////////////////////////////////////////////////////////////// - void PrimitiveListRenderNode::AddPrimitive(DynUiPrimitive* primitive) + void PrimitiveListRenderNode::AddPrimitive(LyShine::UiPrimitive* primitive) { // always clear the next pointer before adding to list primitive->m_next = nullptr; @@ -174,9 +174,9 @@ namespace LyShine } //////////////////////////////////////////////////////////////////////////////////////////////////// - DynUiPrimitiveList& PrimitiveListRenderNode::GetPrimitives() const + LyShine::UiPrimitiveList& PrimitiveListRenderNode::GetPrimitives() const { - return const_cast(m_primitives); + return const_cast(m_primitives); } //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -198,7 +198,7 @@ namespace LyShine } //////////////////////////////////////////////////////////////////////////////////////////////////// - bool PrimitiveListRenderNode::HasSpaceToAddPrimitive(DynUiPrimitive* primitive) const + bool PrimitiveListRenderNode::HasSpaceToAddPrimitive(LyShine::UiPrimitive* primitive) const { return primitive->m_numVertices + m_totalNumVertices < std::numeric_limits::max(); } @@ -222,9 +222,9 @@ namespace LyShine { size_t numPrims = m_primitives.size(); size_t primCount = 0; - const DynUiPrimitive* lastPrim = nullptr; + const LyShine::UiPrimitive* lastPrim = nullptr; int highestTexUnit = 0; - for (const DynUiPrimitive& primitive : m_primitives) + for (const LyShine::UiPrimitive& primitive : m_primitives) { if (primCount > numPrims) { @@ -665,13 +665,6 @@ namespace LyShine } } - //////////////////////////////////////////////////////////////////////////////////////////////////// - void RenderGraph::BeginRenderToTexture([[maybe_unused]] int renderTargetHandle, [[maybe_unused]] SDepthTexture* renderTargetDepthSurface, - [[maybe_unused]] const AZ::Vector2& viewportTopLeft, [[maybe_unused]] const AZ::Vector2& viewportSize, [[maybe_unused]] const AZ::Color& clearColor) - { - // LYSHINE_ATOM_TODO - this function will be removed when all IRenderer references are gone from UI components - } - //////////////////////////////////////////////////////////////////////////////////////////////////// void RenderGraph::BeginRenderToTexture(AZ::Data::Instance attachmentImage, const AZ::Vector2& viewportTopLeft, const AZ::Vector2& viewportSize, const AZ::Color& clearColor) @@ -705,7 +698,7 @@ namespace LyShine } //////////////////////////////////////////////////////////////////////////////////////////////////// - void RenderGraph::AddPrimitiveAtom(DynUiPrimitive* primitive, const AZ::Data::Instance& texture, + void RenderGraph::AddPrimitiveAtom(LyShine::UiPrimitive* primitive, const AZ::Data::Instance& texture, bool isClampTextureMode, bool isTextureSRGB, bool isTexturePremultipliedAlpha, BlendMode blendMode) { AZStd::vector* renderNodeList = m_renderNodeListStack.top(); @@ -778,7 +771,7 @@ namespace LyShine } //////////////////////////////////////////////////////////////////////////////////////////////////// - void RenderGraph::AddAlphaMaskPrimitiveAtom(DynUiPrimitive* primitive, + void RenderGraph::AddAlphaMaskPrimitiveAtom(LyShine::UiPrimitive* primitive, AZ::Data::Instance contentAttachmentImage, AZ::Data::Instance maskAttachmentImage, bool isClampTextureMode, @@ -862,7 +855,7 @@ namespace LyShine } //////////////////////////////////////////////////////////////////////////////////////////////////// - DynUiPrimitive* RenderGraph::GetDynamicQuadPrimitive(const AZ::Vector2* positions, uint32 packedColor) + LyShine::UiPrimitive* RenderGraph::GetDynamicQuadPrimitive(const AZ::Vector2* positions, uint32 packedColor) { const int numVertsInQuad = 4; const int numIndicesInQuad = 6; @@ -1154,10 +1147,10 @@ namespace LyShine const PrimitiveListRenderNode* primListRenderNode = static_cast(renderNode); - DynUiPrimitiveList& primitives = primListRenderNode->GetPrimitives(); + LyShine::UiPrimitiveList& primitives = primListRenderNode->GetPrimitives(); info.m_numPrimitives += static_cast(primitives.size()); { - for (const DynUiPrimitive& primitive : primitives) + for (const LyShine::UiPrimitive& primitive : primitives) { info.m_numTriangles += primitive.m_numIndices / 3; } @@ -1338,10 +1331,10 @@ namespace LyShine previousNodeAlreadyCounted = false; } - DynUiPrimitiveList& primitives = primListRenderNode->GetPrimitives(); + LyShine::UiPrimitiveList& primitives = primListRenderNode->GetPrimitives(); int numPrimitives = static_cast(primitives.size()); int numTriangles = 0; - for (const DynUiPrimitive& primitive : primitives) + for (const LyShine::UiPrimitive& primitive : primitives) { numTriangles += primitive.m_numIndices / 3; } diff --git a/Gems/LyShine/Code/Source/RenderGraph.h b/Gems/LyShine/Code/Source/RenderGraph.h index 9edc1f50e8..36a9e63c5f 100644 --- a/Gems/LyShine/Code/Source/RenderGraph.h +++ b/Gems/LyShine/Code/Source/RenderGraph.h @@ -8,8 +8,8 @@ #pragma once -#include #include +#include #include #include #include @@ -79,8 +79,8 @@ namespace LyShine , const AZ::Matrix4x4& modelViewProjMat , AZ::RHI::Ptr dynamicDraw) override; - void AddPrimitive(DynUiPrimitive* primitive); - DynUiPrimitiveList& GetPrimitives() const; + void AddPrimitive(LyShine::UiPrimitive* primitive); + LyShine::UiPrimitiveList& GetPrimitives() const; int GetOrAddTexture(const AZ::Data::Instance& texture, bool isClampTextureMode); int GetNumTextures() const { return m_numTextures; } @@ -92,7 +92,7 @@ namespace LyShine bool GetIsPremultiplyAlpha() const { return m_preMultiplyAlpha; } AlphaMaskType GetAlphaMaskType() const { return m_alphaMaskType; } - bool HasSpaceToAddPrimitive(DynUiPrimitive* primitive) const; + bool HasSpaceToAddPrimitive(LyShine::UiPrimitive* primitive) const; // Search to see if this texture is already used by this texture unit, returns -1 if not used int FindTexture(const AZ::Data::Instance& texture, bool isClampTextureMode) const; @@ -122,7 +122,7 @@ namespace LyShine int m_totalNumVertices; int m_totalNumIndices; - DynUiPrimitiveList m_primitives; + LyShine::UiPrimitiveList m_primitives; }; // A mask render node handles using one set of render nodes to mask another set of render nodes @@ -262,13 +262,9 @@ namespace LyShine void StartChildrenForMask() override; void EndMask() override; - //! Begin rendering to a texture - void BeginRenderToTexture(int renderTargetHandle, SDepthTexture* renderTargetDepthSurface, - const AZ::Vector2& viewportTopLeft, const AZ::Vector2& viewportSize, const AZ::Color& clearColor) override; - void EndRenderToTexture() override; - DynUiPrimitive* GetDynamicQuadPrimitive(const AZ::Vector2* positions, uint32 packedColor) override; + LyShine::UiPrimitive* GetDynamicQuadPrimitive(const AZ::Vector2* positions, uint32 packedColor) override; bool IsRenderingToMask() const override; void SetIsRenderingToMask(bool isRenderingToMask) override; @@ -280,11 +276,11 @@ namespace LyShine // ~IRenderGraph // LYSHINE_ATOM_TODO - this can be renamed back to AddPrimitive after removal of IRenderer from all UI components - void AddPrimitiveAtom(DynUiPrimitive* primitive, const AZ::Data::Instance& texture, + void AddPrimitiveAtom(LyShine::UiPrimitive* primitive, const AZ::Data::Instance& texture, bool isClampTextureMode, bool isTextureSRGB, bool isTexturePremultipliedAlpha, BlendMode blendMode); //! Add an indexed triangle list primitive to the render graph which will use maskTexture as an alpha (gradient) mask - void AddAlphaMaskPrimitiveAtom(DynUiPrimitive* primitive, + void AddAlphaMaskPrimitiveAtom(LyShine::UiPrimitive* primitive, AZ::Data::Instance contentAttachmentImage, AZ::Data::Instance maskAttachmentImage, bool isClampTextureMode, @@ -333,8 +329,8 @@ namespace LyShine struct DynamicQuad { - SVF_P2F_C4B_T2F_F4B m_quadVerts[4]; - DynUiPrimitive m_primitive; + LyShine::UiPrimitiveVertex m_quadVerts[4]; + LyShine::UiPrimitive m_primitive; }; protected: // member functions diff --git a/Gems/LyShine/Code/Source/Sprite.cpp b/Gems/LyShine/Code/Source/Sprite.cpp index d9a0775cc1..65da7fa159 100644 --- a/Gems/LyShine/Code/Source/Sprite.cpp +++ b/Gems/LyShine/Code/Source/Sprite.cpp @@ -7,7 +7,6 @@ */ #include "Sprite.h" #include -#include #include #include #include diff --git a/Gems/LyShine/Code/Source/UiButtonComponent.cpp b/Gems/LyShine/Code/Source/UiButtonComponent.cpp index 11bb088400..06444cebe4 100644 --- a/Gems/LyShine/Code/Source/UiButtonComponent.cpp +++ b/Gems/LyShine/Code/Source/UiButtonComponent.cpp @@ -13,7 +13,6 @@ #include #include -#include #include #include #include diff --git a/Gems/LyShine/Code/Source/UiCanvasComponent.cpp b/Gems/LyShine/Code/Source/UiCanvasComponent.cpp index d967b88610..964ce1d0fa 100644 --- a/Gems/LyShine/Code/Source/UiCanvasComponent.cpp +++ b/Gems/LyShine/Code/Source/UiCanvasComponent.cpp @@ -16,7 +16,6 @@ #include "UiRenderer.h" #include "LyShine.h" -#include #include #include #include diff --git a/Gems/LyShine/Code/Source/UiCanvasManager.cpp b/Gems/LyShine/Code/Source/UiCanvasManager.cpp index f2397248b6..d17b868bbc 100644 --- a/Gems/LyShine/Code/Source/UiCanvasManager.cpp +++ b/Gems/LyShine/Code/Source/UiCanvasManager.cpp @@ -12,7 +12,6 @@ #include "UiCanvasComponent.h" #include "UiGameEntityContext.h" -#include #include #include diff --git a/Gems/LyShine/Code/Source/UiFaderComponent.cpp b/Gems/LyShine/Code/Source/UiFaderComponent.cpp index cfca774612..62acbc30ef 100644 --- a/Gems/LyShine/Code/Source/UiFaderComponent.cpp +++ b/Gems/LyShine/Code/Source/UiFaderComponent.cpp @@ -503,7 +503,7 @@ void UiFaderComponent::UpdateCachedPrimitive(const AZ::Vector2& pixelAlignedTopL { // verts not yet allocated, allocate them now const int numIndices = 6; - m_cachedPrimitive.m_vertices = new SVF_P2F_C4B_T2F_F4B[numVertices]; + m_cachedPrimitive.m_vertices = new LyShine::UiPrimitiveVertex[numVertices]; m_cachedPrimitive.m_numVertices = numVertices; static uint16 indices[numIndices] = { 0, 1, 2, 2, 3, 0 }; @@ -602,7 +602,7 @@ void UiFaderComponent::RenderRttFader(LyShine::IRenderGraph* renderGraph, UiElem if (m_cachedPrimitive.m_vertices[0].color.a != desiredPackedAlpha) { // go through all the cached vertices and update the alpha values - UCol desiredPackedColor = m_cachedPrimitive.m_vertices[0].color; + LyShine::UCol desiredPackedColor = m_cachedPrimitive.m_vertices[0].color; desiredPackedColor.a = desiredPackedAlpha; for (int i = 0; i < m_cachedPrimitive.m_numVertices; ++i) { diff --git a/Gems/LyShine/Code/Source/UiFaderComponent.h b/Gems/LyShine/Code/Source/UiFaderComponent.h index 218eab3794..3de1514023 100644 --- a/Gems/LyShine/Code/Source/UiFaderComponent.h +++ b/Gems/LyShine/Code/Source/UiFaderComponent.h @@ -169,5 +169,5 @@ private: // data int m_renderTargetHeight = 0; //! cached rendering data for performance optimization of rendering the render target to screen - DynUiPrimitive m_cachedPrimitive; + LyShine::UiPrimitive m_cachedPrimitive; }; diff --git a/Gems/LyShine/Code/Source/UiImageComponent.cpp b/Gems/LyShine/Code/Source/UiImageComponent.cpp index fac8a83c71..c47d4b6ea1 100644 --- a/Gems/LyShine/Code/Source/UiImageComponent.cpp +++ b/Gems/LyShine/Code/Source/UiImageComponent.cpp @@ -13,8 +13,6 @@ #include #include -#include - #include #include #include @@ -188,7 +186,7 @@ namespace //! Set the values for an image vertex //! This helper function is used so that we only have to initialize textIndex and texHasColorChannel in one place - void SetVertex(SVF_P2F_C4B_T2F_F4B& vert, const Vec2& pos, uint32 color, const Vec2& uv) + void SetVertex(LyShine::UiPrimitiveVertex& vert, const Vec2& pos, uint32 color, const Vec2& uv) { vert.xy = pos; vert.color.dcolor = color; @@ -201,7 +199,7 @@ namespace //! Set the values for an image vertex //! This version of the helper function takes AZ vectors - void SetVertex(SVF_P2F_C4B_T2F_F4B& vert, const AZ::Vector2& pos, uint32 color, const AZ::Vector2& uv) + void SetVertex(LyShine::UiPrimitiveVertex& vert, const AZ::Vector2& pos, uint32 color, const AZ::Vector2& uv) { SetVertex(vert, Vec2(pos.GetX(), pos.GetY()), color, Vec2(uv.GetX(), uv.GetY())); } @@ -215,7 +213,7 @@ namespace //! \param packedColor The color value to be put in every vertex //! \param transform The transform to be applied to the points //! \param xValues The x-values for the edges and borders - void FillVerts(SVF_P2F_C4B_T2F_F4B* verts, [[maybe_unused]] uint32 numVerts, uint32 numX, uint32 numY, uint32 packedColor, const AZ::Matrix4x4& transform, + void FillVerts(LyShine::UiPrimitiveVertex* verts, [[maybe_unused]] uint32 numVerts, uint32 numX, uint32 numY, uint32 packedColor, const AZ::Matrix4x4& transform, float* xValues, float* yValues, float* sValues, float* tValues, bool isPixelAligned) { @@ -463,7 +461,7 @@ void UiImageComponent::Render(LyShine::IRenderGraph* renderGraph) if (m_cachedPrimitive.m_vertices[0].color.a != desiredPackedAlpha) { // go through all the cached vertices and update the alpha values - UCol desiredPackedColor = m_cachedPrimitive.m_vertices[0].color; + LyShine::UCol desiredPackedColor = m_cachedPrimitive.m_vertices[0].color; desiredPackedColor.a = desiredPackedAlpha; for (int i = 0; i < m_cachedPrimitive.m_numVertices; ++i) { @@ -1535,7 +1533,7 @@ void UiImageComponent::RenderSingleQuad(const AZ::Vector2* positions, const AZ:: // points are a clockwise quad IDraw2d::Rounding pixelRounding = IsPixelAligned() ? IDraw2d::Rounding::Nearest : IDraw2d::Rounding::None; const uint32 numVertices = 4; - SVF_P2F_C4B_T2F_F4B vertices[numVertices]; + LyShine::UiPrimitiveVertex vertices[numVertices]; for (int i = 0; i < numVertices; ++i) { AZ::Vector2 roundedPoint = Draw2dHelper::RoundXY(positions[i], pixelRounding); @@ -1594,7 +1592,7 @@ void UiImageComponent::RenderLinearFilledQuad(const AZ::Vector2* positions, cons // points are a clockwise quad IDraw2d::Rounding pixelRounding = IsPixelAligned() ? IDraw2d::Rounding::Nearest : IDraw2d::Rounding::None; const uint32 numVertices = 4; - SVF_P2F_C4B_T2F_F4B vertices[numVertices]; + LyShine::UiPrimitiveVertex vertices[numVertices]; for (int i = 0; i < numVertices; ++i) { @@ -1653,7 +1651,7 @@ void UiImageComponent::RenderRadialFilledQuad(const AZ::Vector2* positions, cons // Fill vertices (rotated based on startingEdge). const int numVertices = 7; // The maximum amount of vertices that can be used - SVF_P2F_C4B_T2F_F4B verts[numVertices]; + LyShine::UiPrimitiveVertex verts[numVertices]; for (int i = 1; i < 5; ++i) { int srcIndex = (4 + i + startingEdge) % 4; @@ -1701,7 +1699,7 @@ void UiImageComponent::RenderRadialCornerFilledQuad(const AZ::Vector2* positions { // This fills the vertices (rotating them based on the origin edge) similar to RenderSingleQuad, then edits a vertex based on m_fillAmount. const uint32 numVerts = 4; - SVF_P2F_C4B_T2F_F4B verts[numVerts]; + LyShine::UiPrimitiveVertex verts[numVerts]; int vertexOffset = 0; if (m_fillCornerOrigin == FillCornerOrigin::TopLeft) { @@ -1754,7 +1752,7 @@ void UiImageComponent::RenderRadialEdgeFilledQuad(const AZ::Vector2* positions, { // This fills the vertices (rotating them based on the origin edge) similar to RenderSingleQuad, then edits a vertex based on m_fillAmount. const uint32 numVertices = 5; // Need an extra vertex for the origin. - SVF_P2F_C4B_T2F_F4B verts[numVertices]; + LyShine::UiPrimitiveVertex verts[numVertices]; int vertexOffset = 0; if (m_fillEdgeOrigin == FillEdgeOrigin::Left) { @@ -1916,7 +1914,7 @@ template void UiImageComponent::RenderSlicedFillModeNoneSprite { // fill out the verts const uint32 numVertices = numValues * numValues; - SVF_P2F_C4B_T2F_F4B vertices[numVertices]; + LyShine::UiPrimitiveVertex vertices[numVertices]; FillVerts(vertices, numVertices, numValues, numValues, packedColor, transform, xValues, yValues, sValues, tValues, IsPixelAligned()); int totalIndices = m_fillCenter ? numIndicesIn9Slice : numIndicesIn9SliceExcludingCenter; @@ -1932,7 +1930,7 @@ template void UiImageComponent::RenderSlicedLinearFilledSprite // 2. Fill vertices in the same way as a standard sliced sprite const uint32 numVertices = numValues * numValues; - SVF_P2F_C4B_T2F_F4B vertices[numVertices]; + LyShine::UiPrimitiveVertex vertices[numVertices]; ClipValuesForSlicedLinearFill(numValues, xValues, yValues, sValues, tValues); @@ -1950,7 +1948,7 @@ template void UiImageComponent::RenderSlicedRadialFilledSprite { // build the verts on the stack const uint32 numVertices = numValues * numValues; - SVF_P2F_C4B_T2F_F4B verts[numVertices]; + LyShine::UiPrimitiveVertex verts[numVertices]; // Fill the vertices with the generated xy and st values. FillVerts(verts, numVertices, numValues, numValues, packedColor, transform, xValues, yValues, sValues, tValues, IsPixelAligned()); @@ -1968,7 +1966,7 @@ template void UiImageComponent::RenderSlicedRadialCornerOrEdge { // build the verts on the stack const uint32 numVertices = numValues * numValues; - SVF_P2F_C4B_T2F_F4B verts[numVertices]; + LyShine::UiPrimitiveVertex verts[numVertices]; // Fill the vertices with the generated xy and st values. FillVerts(verts, numVertices, numValues, numValues, packedColor, transform, xValues, yValues, sValues, tValues, IsPixelAligned()); @@ -2053,12 +2051,12 @@ void UiImageComponent::ClipValuesForSlicedLinearFill(uint32 numValues, float* xV } //////////////////////////////////////////////////////////////////////////////////////////////////// -void UiImageComponent::ClipAndRenderForSlicedRadialFill(uint32 numVertsPerSide, uint32 numVerts, const SVF_P2F_C4B_T2F_F4B* verts, uint32 totalIndices, const uint16* indices) +void UiImageComponent::ClipAndRenderForSlicedRadialFill(uint32 numVertsPerSide, uint32 numVerts, const LyShine::UiPrimitiveVertex* verts, uint32 totalIndices, const uint16* indices) { // 1. Calculate two points of lines from the center to a point based on m_fillAmount and m_fillOrigin. // 2. Clip the triangles of the sprite against those lines based on the fill amount. - SVF_P2F_C4B_T2F_F4B renderVerts[numIndicesIn9Slice * 4]; // ClipToLine doesn't check for duplicate vertices for speed, so this is the maximum we'll need. + LyShine::UiPrimitiveVertex renderVerts[numIndicesIn9Slice * 4]; // ClipToLine doesn't check for duplicate vertices for speed, so this is the maximum we'll need. uint16 renderIndices[numIndicesIn9Slice * 4] = { 0 }; float fillOffset = AZ::DegToRad(m_fillStartAngle); @@ -2102,7 +2100,7 @@ void UiImageComponent::ClipAndRenderForSlicedRadialFill(uint32 numVertsPerSide, // Clips against first half line and then rotating line and adds results to render list. for (uint32 currentIndex = 0; currentIndex < totalIndices; currentIndex += 3) { - SVF_P2F_C4B_T2F_F4B intermediateVerts[maxTemporaryVerts]; + LyShine::UiPrimitiveVertex intermediateVerts[maxTemporaryVerts]; uint16 intermediateIndices[maxTemporaryIndices]; int intermedateVertexOffset = 0; int intermediateIndicesUsed = ClipToLine(verts, &indices[currentIndex], intermediateVerts, intermediateIndices, intermedateVertexOffset, 0, lineOrigin, firstHalfFixedLineEnd); @@ -2118,7 +2116,7 @@ void UiImageComponent::ClipAndRenderForSlicedRadialFill(uint32 numVertsPerSide, // Clips against first half line and adds results to render list then clips against the second half line and rotating line and also adds those results to render list. for (uint32 currentIndex = 0; currentIndex < totalIndices; currentIndex += 3) { - SVF_P2F_C4B_T2F_F4B intermediateVerts[maxTemporaryVerts]; + LyShine::UiPrimitiveVertex intermediateVerts[maxTemporaryVerts]; uint16 intermediateIndices[maxTemporaryIndices]; indicesUsed = ClipToLine(verts, &indices[currentIndex], renderVerts, renderIndices, vertexOffset, numIndicesToRender, lineOrigin, firstHalfFixedLineEnd); numIndicesToRender += indicesUsed; @@ -2137,12 +2135,12 @@ void UiImageComponent::ClipAndRenderForSlicedRadialFill(uint32 numVertsPerSide, } //////////////////////////////////////////////////////////////////////////////////////////////////// -void UiImageComponent::ClipAndRenderForSlicedRadialCornerOrEdgeFill(uint32 numVertsPerSide, uint32 numVerts, const SVF_P2F_C4B_T2F_F4B* verts, uint32 totalIndices, const uint16* indices) +void UiImageComponent::ClipAndRenderForSlicedRadialCornerOrEdgeFill(uint32 numVertsPerSide, uint32 numVerts, const LyShine::UiPrimitiveVertex* verts, uint32 totalIndices, const uint16* indices) { // 1. Calculate two points of a line from either the corner or center of an edge to a point based on m_fillAmount. // 2. Clip the triangles of the sprite against that line. - SVF_P2F_C4B_T2F_F4B renderVerts[numIndicesIn9Slice * 2]; // ClipToLine doesn't check for duplicate vertices for speed, so this is the maximum we'll need. + LyShine::UiPrimitiveVertex renderVerts[numIndicesIn9Slice * 2]; // ClipToLine doesn't check for duplicate vertices for speed, so this is the maximum we'll need. uint16 renderIndices[numIndicesIn9Slice * 2] = { 0 }; // Generate the start and direction of the line to clip against based on the fill origin and fill amount. @@ -2209,11 +2207,11 @@ void UiImageComponent::ClipAndRenderForSlicedRadialCornerOrEdgeFill(uint32 numVe } //////////////////////////////////////////////////////////////////////////////////////////////////// -int UiImageComponent::ClipToLine(const SVF_P2F_C4B_T2F_F4B* vertices, const uint16* indices, SVF_P2F_C4B_T2F_F4B* renderVertices, uint16* renderIndices, int& vertexOffset, int renderIndexOffset, const Vec2& lineOrigin, const Vec2& lineEnd) +int UiImageComponent::ClipToLine(const LyShine::UiPrimitiveVertex* vertices, const uint16* indices, LyShine::UiPrimitiveVertex* renderVertices, uint16* renderIndices, int& vertexOffset, int renderIndexOffset, const Vec2& lineOrigin, const Vec2& lineEnd) { Vec2 lineVector = lineEnd - lineOrigin; - SVF_P2F_C4B_T2F_F4B lastVertex = vertices[indices[2]]; - SVF_P2F_C4B_T2F_F4B currentVertex; + LyShine::UiPrimitiveVertex lastVertex = vertices[indices[2]]; + LyShine::UiPrimitiveVertex currentVertex; int verticesAdded = 0; for (int i = 0; i < 3; ++i) @@ -2235,7 +2233,7 @@ int UiImageComponent::ClipToLine(const SVF_P2F_C4B_T2F_F4B* vertices, const uint { //add calculated intersection float intersectionDistance = (vertexToLine.x * perpendicularLineVector.x + vertexToLine.y * perpendicularLineVector.y) / (triangleEdgeDirection.x * perpendicularLineVector.x + triangleEdgeDirection.y * perpendicularLineVector.y); - SVF_P2F_C4B_T2F_F4B intersectPoint; + LyShine::UiPrimitiveVertex intersectPoint; SetVertex(intersectPoint, lastVertex.xy + triangleEdgeDirection * intersectionDistance, lastVertex.color.dcolor, lastVertex.st + (currentVertex.st - lastVertex.st) * intersectionDistance); @@ -2252,7 +2250,7 @@ int UiImageComponent::ClipToLine(const SVF_P2F_C4B_T2F_F4B* vertices, const uint { //add calculated intersection float intersectionDistance = (vertexToLine.x * perpendicularLineVector.x + vertexToLine.y * perpendicularLineVector.y) / (triangleEdgeDirection.x * perpendicularLineVector.x + triangleEdgeDirection.y * perpendicularLineVector.y); - SVF_P2F_C4B_T2F_F4B intersectPoint; + LyShine::UiPrimitiveVertex intersectPoint; SetVertex(intersectPoint, lastVertex.xy + triangleEdgeDirection * intersectionDistance, lastVertex.color.dcolor, lastVertex.st + (currentVertex.st - lastVertex.st) * intersectionDistance); @@ -2288,12 +2286,12 @@ int UiImageComponent::ClipToLine(const SVF_P2F_C4B_T2F_F4B* vertices, const uint } //////////////////////////////////////////////////////////////////////////////////////////////////// -void UiImageComponent::RenderTriangleList(const SVF_P2F_C4B_T2F_F4B* vertices, const uint16* indices, int numVertices, int numIndices) +void UiImageComponent::RenderTriangleList(const LyShine::UiPrimitiveVertex* vertices, const uint16* indices, int numVertices, int numIndices) { if (numVertices != m_cachedPrimitive.m_numVertices) { ClearCachedVertices(); - m_cachedPrimitive.m_vertices = new SVF_P2F_C4B_T2F_F4B[numVertices]; + m_cachedPrimitive.m_vertices = new LyShine::UiPrimitiveVertex[numVertices]; m_cachedPrimitive.m_numVertices = numVertices; } @@ -2304,7 +2302,7 @@ void UiImageComponent::RenderTriangleList(const SVF_P2F_C4B_T2F_F4B* vertices, c m_cachedPrimitive.m_numIndices = numIndices; } - memcpy(m_cachedPrimitive.m_vertices, vertices, sizeof(SVF_P2F_C4B_T2F_F4B) * numVertices); + memcpy(m_cachedPrimitive.m_vertices, vertices, sizeof(LyShine::UiPrimitiveVertex) * numVertices); memcpy(m_cachedPrimitive.m_indices, indices, sizeof(uint16) * numIndices); m_isRenderCacheDirty = false; diff --git a/Gems/LyShine/Code/Source/UiImageComponent.h b/Gems/LyShine/Code/Source/UiImageComponent.h index 0b93d5f8e5..bac8d8e455 100644 --- a/Gems/LyShine/Code/Source/UiImageComponent.h +++ b/Gems/LyShine/Code/Source/UiImageComponent.h @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -26,8 +27,6 @@ #include -#include - class ITexture; class ISprite; @@ -200,12 +199,12 @@ private: // member functions template void RenderSlicedRadialCornerOrEdgeFilledSprite(uint32 packedColor, const AZ::Matrix4x4& transform, float* xValues, float* yValues, float* sValues, float* tValues); void ClipValuesForSlicedLinearFill(uint32 numValues, float* xValues, float* yValues, float* sValues, float* tValues); - void ClipAndRenderForSlicedRadialFill(uint32 numVertsPerside, uint32 numVerts, const SVF_P2F_C4B_T2F_F4B* verts, uint32 totalIndices, const uint16* indices); - void ClipAndRenderForSlicedRadialCornerOrEdgeFill(uint32 numVertsPerside, uint32 numVerts, const SVF_P2F_C4B_T2F_F4B* verts, uint32 totalIndices, const uint16* indices); + void ClipAndRenderForSlicedRadialFill(uint32 numVertsPerside, uint32 numVerts, const LyShine::UiPrimitiveVertex* verts, uint32 totalIndices, const uint16* indices); + void ClipAndRenderForSlicedRadialCornerOrEdgeFill(uint32 numVertsPerside, uint32 numVerts, const LyShine::UiPrimitiveVertex* verts, uint32 totalIndices, const uint16* indices); - int ClipToLine(const SVF_P2F_C4B_T2F_F4B* vertices, const uint16* indices, SVF_P2F_C4B_T2F_F4B* newVertex, uint16* renderIndices, int& vertexOffset, int idxOffset, const Vec2& lineOrigin, const Vec2& lineEnd); + int ClipToLine(const LyShine::UiPrimitiveVertex* vertices, const uint16* indices, LyShine::UiPrimitiveVertex* newVertex, uint16* renderIndices, int& vertexOffset, int idxOffset, const Vec2& lineOrigin, const Vec2& lineEnd); - void RenderTriangleList(const SVF_P2F_C4B_T2F_F4B* vertices, const uint16* indices, int numVertices, int numIndices); + void RenderTriangleList(const LyShine::UiPrimitiveVertex* vertices, const uint16* indices, int numVertices, int numIndices); void ClearCachedVertices(); void ClearCachedIndices(); void MarkRenderCacheDirty(); @@ -294,6 +293,6 @@ private: // data bool m_isAlphaOverridden; // cached rendering data for performance optimization - DynUiPrimitive m_cachedPrimitive; + LyShine::UiPrimitive m_cachedPrimitive; bool m_isRenderCacheDirty = true; }; diff --git a/Gems/LyShine/Code/Source/UiImageSequenceComponent.cpp b/Gems/LyShine/Code/Source/UiImageSequenceComponent.cpp index d954cf2747..554a0383c1 100644 --- a/Gems/LyShine/Code/Source/UiImageSequenceComponent.cpp +++ b/Gems/LyShine/Code/Source/UiImageSequenceComponent.cpp @@ -26,7 +26,7 @@ namespace { //! Set the values for an image vertex //! This helper function is used so that we only have to initialize textIndex and texHasColorChannel in one place - void SetVertex(SVF_P2F_C4B_T2F_F4B& vert, const Vec2& pos, uint32 color, const Vec2& uv) + void SetVertex(LyShine::UiPrimitiveVertex& vert, const Vec2& pos, uint32 color, const Vec2& uv) { vert.xy = pos; vert.color.dcolor = color; @@ -39,7 +39,7 @@ namespace //! Set the values for an image vertex //! This version of the helper function takes AZ vectors - void SetVertex(SVF_P2F_C4B_T2F_F4B& vert, const AZ::Vector2& pos, uint32 color, const AZ::Vector2& uv) + void SetVertex(LyShine::UiPrimitiveVertex& vert, const AZ::Vector2& pos, uint32 color, const AZ::Vector2& uv) { SetVertex(vert, Vec2(pos.GetX(), pos.GetY()), color, Vec2(uv.GetX(), uv.GetY())); } @@ -146,7 +146,7 @@ void UiImageSequenceComponent::Render(LyShine::IRenderGraph* renderGraph) if (m_cachedPrimitive.m_vertices[0].color.a != desiredPackedAlpha) { // go through all the cached vertices and update the alpha values - UCol desiredPackedColor = m_cachedPrimitive.m_vertices[0].color; + LyShine::UCol desiredPackedColor = m_cachedPrimitive.m_vertices[0].color; desiredPackedColor.a = desiredPackedAlpha; for (int i = 0; i < m_cachedPrimitive.m_numVertices; ++i) { @@ -540,7 +540,7 @@ void UiImageSequenceComponent::RenderSingleQuad(const AZ::Vector2* positions, co // points are a clockwise quad IDraw2d::Rounding pixelRounding = IsPixelAligned() ? IDraw2d::Rounding::Nearest : IDraw2d::Rounding::None; const uint32 numVertices = 4; - SVF_P2F_C4B_T2F_F4B vertices[numVertices]; + LyShine::UiPrimitiveVertex vertices[numVertices]; for (int i = 0; i < numVertices; ++i) { AZ::Vector2 roundedPoint = Draw2dHelper::RoundXY(positions[i], pixelRounding); @@ -554,12 +554,12 @@ void UiImageSequenceComponent::RenderSingleQuad(const AZ::Vector2* positions, co } //////////////////////////////////////////////////////////////////////////////////////////////////// -void UiImageSequenceComponent::RenderTriangleList(const SVF_P2F_C4B_T2F_F4B* vertices, const uint16* indices, int numVertices, int numIndices) +void UiImageSequenceComponent::RenderTriangleList(const LyShine::UiPrimitiveVertex* vertices, const uint16* indices, int numVertices, int numIndices) { if (numVertices != m_cachedPrimitive.m_numVertices) { ClearCachedVertices(); - m_cachedPrimitive.m_vertices = new SVF_P2F_C4B_T2F_F4B[numVertices]; + m_cachedPrimitive.m_vertices = new LyShine::UiPrimitiveVertex[numVertices]; m_cachedPrimitive.m_numVertices = numVertices; } @@ -570,7 +570,7 @@ void UiImageSequenceComponent::RenderTriangleList(const SVF_P2F_C4B_T2F_F4B* ver m_cachedPrimitive.m_numIndices = numIndices; } - memcpy(m_cachedPrimitive.m_vertices, vertices, sizeof(SVF_P2F_C4B_T2F_F4B) * numVertices); + memcpy(m_cachedPrimitive.m_vertices, vertices, sizeof(LyShine::UiPrimitiveVertex) * numVertices); memcpy(m_cachedPrimitive.m_indices, indices, sizeof(uint16) * numIndices); m_isRenderCacheDirty = false; diff --git a/Gems/LyShine/Code/Source/UiImageSequenceComponent.h b/Gems/LyShine/Code/Source/UiImageSequenceComponent.h index 84be0021f4..063bd836ff 100644 --- a/Gems/LyShine/Code/Source/UiImageSequenceComponent.h +++ b/Gems/LyShine/Code/Source/UiImageSequenceComponent.h @@ -17,12 +17,12 @@ #include #include #include +#include #include #include #include -#include //! \brief Image component capable of indexing and displaying from multiple image files in a directory. //! @@ -137,7 +137,7 @@ private: // member functions void RenderStretchedToFitOrFillSprite(ISprite* sprite, int cellIndex, uint32 packedColor, bool toFit); void RenderSingleQuad(const AZ::Vector2* positions, const AZ::Vector2* uvs, uint32 packedColor); bool IsPixelAligned(); - void RenderTriangleList(const SVF_P2F_C4B_T2F_F4B* vertices, const uint16* indices, int numVertices, int numIndices); + void RenderTriangleList(const LyShine::UiPrimitiveVertex* vertices, const uint16* indices, int numVertices, int numIndices); void ClearCachedVertices(); void ClearCachedIndices(); void MarkRenderCacheDirty(); @@ -157,6 +157,6 @@ private: // data ImageType m_imageType = ImageType::Fixed; //!< Affects how the texture/sprite is mapped to the image rectangle // cached rendering data for performance optimization - DynUiPrimitive m_cachedPrimitive; + LyShine::UiPrimitive m_cachedPrimitive; bool m_isRenderCacheDirty = true; }; diff --git a/Gems/LyShine/Code/Source/UiInteractableState.cpp b/Gems/LyShine/Code/Source/UiInteractableState.cpp index 6027ecf3d7..d2c09201c6 100644 --- a/Gems/LyShine/Code/Source/UiInteractableState.cpp +++ b/Gems/LyShine/Code/Source/UiInteractableState.cpp @@ -21,9 +21,8 @@ #include #include #include -#include +#include -#include #include "EditorPropertyTypes.h" #include "Sprite.h" diff --git a/Gems/LyShine/Code/Source/UiMaskComponent.cpp b/Gems/LyShine/Code/Source/UiMaskComponent.cpp index b6ffc2ae89..ebe611d547 100644 --- a/Gems/LyShine/Code/Source/UiMaskComponent.cpp +++ b/Gems/LyShine/Code/Source/UiMaskComponent.cpp @@ -13,7 +13,6 @@ #include #include -#include "IRenderer.h" #include "RenderToTextureBus.h" #include "RenderGraph.h" #include @@ -624,7 +623,7 @@ void UiMaskComponent::UpdateCachedPrimitive(const AZ::Vector2& pixelAlignedTopLe { // verts not yet allocated, allocate them now const int numIndices = 6; - m_cachedPrimitive.m_vertices = new SVF_P2F_C4B_T2F_F4B[numVertices]; + m_cachedPrimitive.m_vertices = new LyShine::UiPrimitiveVertex[numVertices]; m_cachedPrimitive.m_numVertices = numVertices; static uint16 indices[numIndices] = { 0, 1, 2, 2, 3, 0 }; @@ -761,7 +760,7 @@ void UiMaskComponent::RenderUsingGradientMask(LyShine::IRenderGraph* renderGraph if (m_cachedPrimitive.m_vertices[0].color.a != desiredPackedAlpha) { // go through all the cached vertices and update the alpha values - UCol desiredPackedColor = m_cachedPrimitive.m_vertices[0].color; + LyShine::UCol desiredPackedColor = m_cachedPrimitive.m_vertices[0].color; desiredPackedColor.a = static_cast(desiredPackedAlpha); for (int i = 0; i < m_cachedPrimitive.m_numVertices; ++i) { diff --git a/Gems/LyShine/Code/Source/UiMaskComponent.h b/Gems/LyShine/Code/Source/UiMaskComponent.h index 8e04fa0b4f..33f7f93124 100644 --- a/Gems/LyShine/Code/Source/UiMaskComponent.h +++ b/Gems/LyShine/Code/Source/UiMaskComponent.h @@ -13,6 +13,7 @@ #include #include #include +#include #include #include @@ -187,10 +188,6 @@ private: // data //! When rendering to a texture this is the attachment image for the render target AZ::RHI::AttachmentId m_contentAttachmentImageId; - - //! When rendering to a texture this is our depth surface, we use the same one for rendering the mask elements - //! and the content elements - it is cleared in between. - SDepthTexture* m_renderTargetDepthSurface = nullptr; //! When rendering to a texture this is the texture ID of the render target //! When rendering to a texture this is the attachment image for the render target @@ -205,7 +202,7 @@ private: // data int m_renderTargetHeight = 0; //! cached rendering data for performance optimization of rendering the render target to screen - DynUiPrimitive m_cachedPrimitive; + LyShine::UiPrimitive m_cachedPrimitive; #ifndef _RELEASE //! This variable is only used to prevent spamming a warning message each frame (for nested stencil masks) diff --git a/Gems/LyShine/Code/Source/UiNavigationHelpers.h b/Gems/LyShine/Code/Source/UiNavigationHelpers.h index 5b655b531f..98191b3da4 100644 --- a/Gems/LyShine/Code/Source/UiNavigationHelpers.h +++ b/Gems/LyShine/Code/Source/UiNavigationHelpers.h @@ -9,7 +9,7 @@ #include #include -#include +#include namespace AzFramework { diff --git a/Gems/LyShine/Code/Source/UiNavigationSettings.h b/Gems/LyShine/Code/Source/UiNavigationSettings.h index 829ff8d817..09a327f9c2 100644 --- a/Gems/LyShine/Code/Source/UiNavigationSettings.h +++ b/Gems/LyShine/Code/Source/UiNavigationSettings.h @@ -8,7 +8,7 @@ #pragma once #include -#include +#include /////////////////////////////////////////////////////////////////////////////////////////////////// class UiNavigationSettings diff --git a/Gems/LyShine/Code/Source/UiParticleEmitterComponent.cpp b/Gems/LyShine/Code/Source/UiParticleEmitterComponent.cpp index 25498fc316..e55b310e4a 100644 --- a/Gems/LyShine/Code/Source/UiParticleEmitterComponent.cpp +++ b/Gems/LyShine/Code/Source/UiParticleEmitterComponent.cpp @@ -833,7 +833,7 @@ void UiParticleEmitterComponent::Render(LyShine::IRenderGraph* renderGraph) // particlesToRender is the max particles we will render, we could render less if some have zero alpha for (AZ::u32 i = 0; i < particlesToRender; ++i) { - SVF_P2F_C4B_T2F_F4B* firstVertexOfParticle = &m_cachedPrimitive.m_vertices[totalVerticesInserted]; + LyShine::UiPrimitiveVertex* firstVertexOfParticle = &m_cachedPrimitive.m_vertices[totalVerticesInserted]; if (m_particleContainer[i].FillVertices(firstVertexOfParticle, renderParameters, transform)) { @@ -1845,7 +1845,7 @@ void UiParticleEmitterComponent::ResetParticleBuffers() { delete [] m_cachedPrimitive.m_vertices; } - m_cachedPrimitive.m_vertices = new SVF_P2F_C4B_T2F_F4B[numVertices]; + m_cachedPrimitive.m_vertices = new LyShine::UiPrimitiveVertex[numVertices]; m_particleContainer.clear(); m_particleContainer.reserve(m_particleBufferSize); diff --git a/Gems/LyShine/Code/Source/UiParticleEmitterComponent.h b/Gems/LyShine/Code/Source/UiParticleEmitterComponent.h index 452e0ad01a..51db5cebef 100644 --- a/Gems/LyShine/Code/Source/UiParticleEmitterComponent.h +++ b/Gems/LyShine/Code/Source/UiParticleEmitterComponent.h @@ -25,8 +25,6 @@ #include -#include - //////////////////////////////////////////////////////////////////////////////////////////////////// class UiParticleEmitterComponent : public AZ::Component @@ -349,5 +347,5 @@ protected: // data AZStd::vector m_particleContainer; AZ::u32 m_particleBufferSize = 0; - DynUiPrimitive m_cachedPrimitive; + LyShine::UiPrimitive m_cachedPrimitive; }; diff --git a/Gems/LyShine/Code/Source/UiTextComponent.cpp b/Gems/LyShine/Code/Source/UiTextComponent.cpp index ec17e93529..825f3869fd 100644 --- a/Gems/LyShine/Code/Source/UiTextComponent.cpp +++ b/Gems/LyShine/Code/Source/UiTextComponent.cpp @@ -1053,6 +1053,23 @@ namespace return maxLinesElementCanHold; } + //! Converts the vertex format used by FFont to the format being used by the dynamic draw context in LyShine. + //! + //! Note that the formats are currently identical, but this may change with the removal of more legacy code + void FontVertexToUiVertex(const SVF_P2F_C4B_T2F_F4B* fontVertices, LyShine::UiPrimitiveVertex* uiVertices, int numVertices) + { + for (int i = 0; i < numVertices; ++i) + { + uiVertices[i].xy = fontVertices[i].xy; + uiVertices[i].color.dcolor = fontVertices[i].color.dcolor; + uiVertices[i].st = fontVertices[i].st; + uiVertices[i].texIndex = fontVertices[i].texIndex; + uiVertices[i].texHasColorChannel = fontVertices[i].texHasColorChannel; + uiVertices[i].texIndex2 = fontVertices[i].texIndex2; + uiVertices[i].pad = fontVertices[i].pad; + } + } + } // anonymous namespace //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -1823,7 +1840,7 @@ void UiTextComponent::Render(LyShine::IRenderGraph* renderGraph) for (UiTransformInterface::RectPoints& rect : rectPoints) { - DynUiPrimitive* primitive = renderGraph->GetDynamicQuadPrimitive(rect.pt, packedColor); + LyShine::UiPrimitive* primitive = renderGraph->GetDynamicQuadPrimitive(rect.pt, packedColor); primitive->m_next = nullptr; LyShine::RenderGraph* lyRenderGraph = static_cast(renderGraph); // LYSHINE_ATOM_TODO - find a different solution from downcasting - GHI #3570 @@ -4078,16 +4095,19 @@ void UiTextComponent::RenderDrawBatchLines( cacheBatch->m_font = drawBatch.font; cacheBatch->m_color = batchColor; - cacheBatch->m_cachedPrimitive.m_vertices = new SVF_P2F_C4B_T2F_F4B[numQuads * 4]; + cacheBatch->m_cachedPrimitive.m_vertices = new LyShine::UiPrimitiveVertex[numQuads * 4]; cacheBatch->m_cachedPrimitive.m_indices = new uint16[numQuads * 6]; + AZStd::vector vertices(numQuads * 4); uint32 numQuadsWritten = cacheBatch->m_font->WriteTextQuadsToBuffers( - cacheBatch->m_cachedPrimitive.m_vertices, cacheBatch->m_cachedPrimitive.m_indices, numQuads, + vertices.data(), cacheBatch->m_cachedPrimitive.m_indices, numQuads, cacheBatch->m_position.GetX(), cacheBatch->m_position.GetY(), 1.0f, cacheBatch->m_text.c_str(), true, fontContext); AZ_Assert(numQuadsWritten <= numQuads, "value returned from WriteTextQuadsToBuffers is larger than size allocated"); - cacheBatch->m_cachedPrimitive.m_numVertices = numQuadsWritten * 4; + int numVertices = numQuadsWritten * 4; + FontVertexToUiVertex(vertices.data(), cacheBatch->m_cachedPrimitive.m_vertices, numVertices); + cacheBatch->m_cachedPrimitive.m_numVertices = numVertices; cacheBatch->m_cachedPrimitive.m_numIndices = numQuadsWritten * 6; cacheBatch->m_fontTextureVersion = drawBatch.font->GetFontTextureVersion(); @@ -4148,7 +4168,7 @@ void UiTextComponent::RenderDrawBatchLines( cacheImageBatch->m_texture = drawBatch.image->m_texture; - cacheImageBatch->m_cachedPrimitive.m_vertices = new SVF_P2F_C4B_T2F_F4B[4]; + cacheImageBatch->m_cachedPrimitive.m_vertices = new LyShine::UiPrimitiveVertex[4]; for (int i = 0; i < 4; ++i) { cacheImageBatch->m_cachedPrimitive.m_vertices[i].xy = Vec2(imageQuad[i].GetX(), imageQuad[i].GetY()); @@ -4197,15 +4217,19 @@ void UiTextComponent::UpdateTextRenderBatchesForFontTextureChange() delete [] cacheBatch->m_cachedPrimitive.m_vertices; delete [] cacheBatch->m_cachedPrimitive.m_indices; - cacheBatch->m_cachedPrimitive.m_vertices = new SVF_P2F_C4B_T2F_F4B[numQuads * 4]; + cacheBatch->m_cachedPrimitive.m_vertices = new LyShine::UiPrimitiveVertex[numQuads * 4]; cacheBatch->m_cachedPrimitive.m_indices = new uint16[numQuads * 6]; } + AZStd::vector vertices(numQuads * 4); uint32 numQuadsWritten = cacheBatch->m_font->WriteTextQuadsToBuffers( - cacheBatch->m_cachedPrimitive.m_vertices, cacheBatch->m_cachedPrimitive.m_indices, numQuads, + vertices.data(), cacheBatch->m_cachedPrimitive.m_indices, numQuads, cacheBatch->m_position.GetX(), cacheBatch->m_position.GetY(), 1.0f, cacheBatch->m_text.c_str(), true, fontContext); - cacheBatch->m_cachedPrimitive.m_numVertices = numQuadsWritten * 4; + int numVertices = numQuadsWritten * 4; + FontVertexToUiVertex(vertices.data(), cacheBatch->m_cachedPrimitive.m_vertices, numVertices); + + cacheBatch->m_cachedPrimitive.m_numVertices = numVertices; cacheBatch->m_cachedPrimitive.m_numIndices = numQuadsWritten * 6; cacheBatch->m_fontTextureVersion = cacheBatch->m_font->GetFontTextureVersion(); diff --git a/Gems/LyShine/Code/Source/UiTextComponent.h b/Gems/LyShine/Code/Source/UiTextComponent.h index cc1f9bf393..6c75c13941 100644 --- a/Gems/LyShine/Code/Source/UiTextComponent.h +++ b/Gems/LyShine/Code/Source/UiTextComponent.h @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -31,7 +32,6 @@ #include #include -#include #include #include #include @@ -608,13 +608,13 @@ private: // types ColorB m_color; IFFont* m_font; uint32 m_fontTextureVersion; - DynUiPrimitive m_cachedPrimitive; + LyShine::UiPrimitive m_cachedPrimitive; }; struct RenderCacheImageBatch { AZ::Data::Instance m_texture; - DynUiPrimitive m_cachedPrimitive; + LyShine::UiPrimitive m_cachedPrimitive; }; struct RenderCacheData diff --git a/Gems/LyShine/Code/Source/UiTextInputComponent.cpp b/Gems/LyShine/Code/Source/UiTextInputComponent.cpp index 9a55a3feeb..0e65256b92 100644 --- a/Gems/LyShine/Code/Source/UiTextInputComponent.cpp +++ b/Gems/LyShine/Code/Source/UiTextInputComponent.cpp @@ -17,7 +17,6 @@ #include -#include #include #include #include diff --git a/Gems/LyShine/Code/Source/UiTransform2dComponent.cpp b/Gems/LyShine/Code/Source/UiTransform2dComponent.cpp index 40839fac66..d169e4ee68 100644 --- a/Gems/LyShine/Code/Source/UiTransform2dComponent.cpp +++ b/Gems/LyShine/Code/Source/UiTransform2dComponent.cpp @@ -12,8 +12,6 @@ #include #include -#include - #include #include #include diff --git a/Gems/LyShine/Code/Source/World/UiCanvasAssetRefComponent.cpp b/Gems/LyShine/Code/Source/World/UiCanvasAssetRefComponent.cpp index 59d764f297..933cca424a 100644 --- a/Gems/LyShine/Code/Source/World/UiCanvasAssetRefComponent.cpp +++ b/Gems/LyShine/Code/Source/World/UiCanvasAssetRefComponent.cpp @@ -11,7 +11,7 @@ #include #include #include -#include +#include //////////////////////////////////////////////////////////////////////////////////////////////////// //! UiCanvasAssetRefNotificationBus Behavior context handler class diff --git a/Gems/LyShine/Code/lyshine_static_files.cmake b/Gems/LyShine/Code/lyshine_static_files.cmake index 0c934eb057..1adbe1b796 100644 --- a/Gems/LyShine/Code/lyshine_static_files.cmake +++ b/Gems/LyShine/Code/lyshine_static_files.cmake @@ -9,6 +9,85 @@ set(FILES Source/Draw2d.cpp Include/LyShine/Draw2d.h + Include/LyShine/IDraw2d.h + Include/LyShine/IRenderGraph.h + Include/LyShine/ISprite.h + Include/LyShine/ILyShine.h + Include/LyShine/UiBase.h + Include/LyShine/UiLayoutCellBase.h + Include/LyShine/UiSerializeHelpers.h + Include/LyShine/UiComponentTypes.h + Include/LyShine/UiEntityContext.h + Include/LyShine/UiEditorDLLBus.h + Include/LyShine/UiRenderFormats.h + Include/LyShine/Animation/IUiAnimation.h + Include/LyShine/Bus/UiAnimationBus.h + Include/LyShine/Bus/UiAnimateEntityBus.h + Include/LyShine/Bus/UiButtonBus.h + Include/LyShine/Bus/UiCanvasBus.h + Include/LyShine/Bus/UiCanvasManagerBus.h + Include/LyShine/Bus/UiCanvasUpdateNotificationBus.h + Include/LyShine/Bus/UiCheckboxBus.h + Include/LyShine/Bus/UiDraggableBus.h + Include/LyShine/Bus/UiDropdownBus.h + Include/LyShine/Bus/UiDropdownOptionBus.h + Include/LyShine/Bus/UiDropTargetBus.h + Include/LyShine/Bus/UiDynamicLayoutBus.h + Include/LyShine/Bus/UiDynamicScrollBoxBus.h + Include/LyShine/Bus/UiEditorBus.h + Include/LyShine/Bus/UiEditorCanvasBus.h + Include/LyShine/Bus/UiEditorChangeNotificationBus.h + Include/LyShine/Bus/UiElementBus.h + Include/LyShine/Bus/UiEntityContextBus.h + Include/LyShine/Bus/UiFaderBus.h + Include/LyShine/Bus/UiFlipbookAnimationBus.h + Include/LyShine/Bus/UiGameEntityContextBus.h + Include/LyShine/Bus/UiImageBus.h + Include/LyShine/Bus/UiImageSequenceBus.h + Include/LyShine/Bus/UiIndexableImageBus.h + Include/LyShine/Bus/UiInitializationBus.h + Include/LyShine/Bus/UiInteractableActionsBus.h + Include/LyShine/Bus/UiInteractableBus.h + Include/LyShine/Bus/UiInteractableStatesBus.h + Include/LyShine/Bus/UiInteractionMaskBus.h + Include/LyShine/Bus/UiLayoutBus.h + Include/LyShine/Bus/UiLayoutCellBus.h + Include/LyShine/Bus/UiLayoutCellDefaultBus.h + Include/LyShine/Bus/UiLayoutColumnBus.h + Include/LyShine/Bus/UiLayoutControllerBus.h + Include/LyShine/Bus/UiLayoutFitterBus.h + Include/LyShine/Bus/UiLayoutGridBus.h + Include/LyShine/Bus/UiLayoutManagerBus.h + Include/LyShine/Bus/UiLayoutRowBus.h + Include/LyShine/Bus/UiMarkupButtonBus.h + Include/LyShine/Bus/UiMaskBus.h + Include/LyShine/Bus/UiNavigationBus.h + Include/LyShine/Bus/UiParticleEmitterBus.h + Include/LyShine/Bus/UiRadioButtonBus.h + Include/LyShine/Bus/UiRadioButtonCommunicationBus.h + Include/LyShine/Bus/UiRadioButtonGroupBus.h + Include/LyShine/Bus/UiRadioButtonGroupCommunicationBus.h + Include/LyShine/Bus/UiRenderBus.h + Include/LyShine/Bus/UiRenderControlBus.h + Include/LyShine/Bus/UiScrollableBus.h + Include/LyShine/Bus/UiScrollBarBus.h + Include/LyShine/Bus/UiScrollBoxBus.h + Include/LyShine/Bus/UiScrollerBus.h + Include/LyShine/Bus/UiSliderBus.h + Include/LyShine/Bus/UiSpawnerBus.h + Include/LyShine/Bus/UiSystemBus.h + Include/LyShine/Bus/UiTextBus.h + Include/LyShine/Bus/UiTextInputBus.h + Include/LyShine/Bus/UiTooltipBus.h + Include/LyShine/Bus/UiTooltipDataPopulatorBus.h + Include/LyShine/Bus/UiTooltipDisplayBus.h + Include/LyShine/Bus/UiTransform2dBus.h + Include/LyShine/Bus/UiTransformBus.h + Include/LyShine/Bus/UiVisualBus.h + Include/LyShine/Bus/Sprite/UiSpriteBus.h + Include/LyShine/Bus/World/UiCanvasOnMeshBus.h + Include/LyShine/Bus/World/UiCanvasRefBus.h + Include/LyShine/Bus/Tools/UiSystemToolsBus.h Source/LyShine.cpp Source/LyShine.h Source/LyShinePassDataBus.h diff --git a/Gems/LyShineExamples/Code/Source/UiCustomImageComponent.cpp b/Gems/LyShineExamples/Code/Source/UiCustomImageComponent.cpp index d5320d182e..2c8cb3df49 100644 --- a/Gems/LyShineExamples/Code/Source/UiCustomImageComponent.cpp +++ b/Gems/LyShineExamples/Code/Source/UiCustomImageComponent.cpp @@ -14,8 +14,6 @@ #include #include -#include - #include #include #include @@ -371,7 +369,7 @@ namespace LyShineExamples delete [] m_cachedPrimitive.m_vertices; } - m_cachedPrimitive.m_vertices = new SVF_P2F_C4B_T2F_F4B[numVertices]; + m_cachedPrimitive.m_vertices = new LyShine::UiPrimitiveVertex[numVertices]; m_cachedPrimitive.m_numVertices = numVertices; } diff --git a/Gems/LyShineExamples/Code/Source/UiCustomImageComponent.h b/Gems/LyShineExamples/Code/Source/UiCustomImageComponent.h index f696228f5a..774cdd1809 100644 --- a/Gems/LyShineExamples/Code/Source/UiCustomImageComponent.h +++ b/Gems/LyShineExamples/Code/Source/UiCustomImageComponent.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -136,7 +137,7 @@ namespace LyShineExamples float m_overrideAlpha; // cached rendering data for performance optimization - DynUiPrimitive m_cachedPrimitive; + LyShine::UiPrimitive m_cachedPrimitive; bool m_isRenderCacheDirty = true; }; } diff --git a/Gems/MessagePopup/Code/CMakeLists.txt b/Gems/MessagePopup/Code/CMakeLists.txt index 73cd7ce8d6..51ec1a3bd1 100644 --- a/Gems/MessagePopup/Code/CMakeLists.txt +++ b/Gems/MessagePopup/Code/CMakeLists.txt @@ -19,6 +19,7 @@ ly_add_target( BUILD_DEPENDENCIES PUBLIC Legacy::CryCommon + Gem::LyShine ) ly_add_target( diff --git a/Gems/Multiplayer/Code/Source/Editor/MultiplayerEditorSystemComponent.cpp b/Gems/Multiplayer/Code/Source/Editor/MultiplayerEditorSystemComponent.cpp index ec783808a2..0657b2306e 100644 --- a/Gems/Multiplayer/Code/Source/Editor/MultiplayerEditorSystemComponent.cpp +++ b/Gems/Multiplayer/Code/Source/Editor/MultiplayerEditorSystemComponent.cpp @@ -60,6 +60,12 @@ namespace Multiplayer void PythonEditorFuncs::Reflect(AZ::ReflectContext* context) { + if (AZ::SerializeContext* serialize = azrtti_cast(context)) + { + serialize->Class() + ->Version(0); + } + if (AZ::BehaviorContext* behaviorContext = azrtti_cast(context)) { // This will create static python methods in the 'azlmbr.multiplayer' module diff --git a/Gems/Multiplayer/Code/Source/MultiplayerToolsSystemComponent.cpp b/Gems/Multiplayer/Code/Source/MultiplayerToolsSystemComponent.cpp index 058517d5dc..c1e4d22b50 100644 --- a/Gems/Multiplayer/Code/Source/MultiplayerToolsSystemComponent.cpp +++ b/Gems/Multiplayer/Code/Source/MultiplayerToolsSystemComponent.cpp @@ -17,6 +17,12 @@ namespace Multiplayer void MultiplayerToolsSystemComponent::Reflect(AZ::ReflectContext* context) { + if (AZ::SerializeContext* serialize = azrtti_cast(context)) + { + serialize->Class() + ->Version(0); + } + NetworkPrefabProcessor::Reflect(context); } diff --git a/Gems/Multiplayer/Code/Tests/CommonBenchmarkSetup.h b/Gems/Multiplayer/Code/Tests/CommonBenchmarkSetup.h index c352dc2bbf..380a344f6d 100644 --- a/Gems/Multiplayer/Code/Tests/CommonBenchmarkSetup.h +++ b/Gems/Multiplayer/Code/Tests/CommonBenchmarkSetup.h @@ -198,7 +198,7 @@ namespace Multiplayer } }; - class BenchmarkNetworkEntityManager : public MockNetworkEntityManager + class BenchmarkNetworkEntityManager : public Multiplayer::INetworkEntityManager { public: BenchmarkNetworkEntityManager() : m_authorityTracker(*this) {} @@ -235,6 +235,54 @@ namespace Multiplayer return InvalidNetEntityId; } + void Initialize([[maybe_unused]] const HostId& hostId, [[maybe_unused]] AZStd::unique_ptr entityDomain) override {} + bool IsInitialized() const override { return false; } + IEntityDomain* GetEntityDomain() const override { return nullptr; } + EntityList CreateEntitiesImmediate( + [[maybe_unused]] const PrefabEntityId& prefabEntryId, + [[maybe_unused]] NetEntityRole netEntityRole, + [[maybe_unused]] const AZ::Transform& transform, + [[maybe_unused]] AutoActivate autoActivate) override { + return {}; + } + EntityList CreateEntitiesImmediate( + [[maybe_unused]] const PrefabEntityId& prefabEntryId, + [[maybe_unused]] NetEntityId netEntityId, + [[maybe_unused]] NetEntityRole netEntityRole, + [[maybe_unused]] AutoActivate autoActivate, + [[maybe_unused]] const AZ::Transform& transform) override { + return {}; + } + [[nodiscard]] AZStd::unique_ptr RequestNetSpawnableInstantiation( + [[maybe_unused]] const AZ::Data::Asset& netSpawnable, + [[maybe_unused]] const AZ::Transform& transform) override { + return {}; + } + void SetupNetEntity([[maybe_unused]] AZ::Entity* netEntity, [[maybe_unused]] PrefabEntityId prefabEntityId, [[maybe_unused]] NetEntityRole netEntityRole) override {} + uint32_t GetEntityCount() const override { + return 0; + } + void MarkForRemoval([[maybe_unused]] const ConstNetworkEntityHandle& entityHandle) override {} + bool IsMarkedForRemoval([[maybe_unused]] const ConstNetworkEntityHandle& entityHandle) const override { + return false; + } + void ClearEntityFromRemovalList([[maybe_unused]] const ConstNetworkEntityHandle& entityHandle) override {} + void ClearAllEntities() override {} + void AddEntityMarkedDirtyHandler([[maybe_unused]] AZ::Event<>::Handler& entityMarkedDirtyHandle) override {} + void AddEntityNotifyChangesHandler([[maybe_unused]] AZ::Event<>::Handler& entityNotifyChangesHandle) override {} + void AddEntityExitDomainHandler([[maybe_unused]] EntityExitDomainEvent::Handler& entityExitDomainHandler) override {} + void AddControllersActivatedHandler([[maybe_unused]] ControllersActivatedEvent::Handler& controllersActivatedHandler) override {} + void AddControllersDeactivatedHandler([[maybe_unused]] ControllersDeactivatedEvent::Handler& controllersDeactivatedHandler) override {} + void NotifyEntitiesDirtied() override {} + void NotifyEntitiesChanged() override {} + void NotifyControllersActivated([[maybe_unused]] const ConstNetworkEntityHandle& entityHandle, [[maybe_unused]] EntityIsMigrating entityIsMigrating) override {} + void NotifyControllersDeactivated([[maybe_unused]] const ConstNetworkEntityHandle& entityHandle, [[maybe_unused]] EntityIsMigrating entityIsMigrating) override {} + void HandleLocalRpcMessage([[maybe_unused]] NetworkEntityRpcMessage& message) override {} + void HandleEntitiesExitDomain([[maybe_unused]] const NetEntityIdSet& entitiesNotInDomain) override {} + void ForceAssumeAuthority([[maybe_unused]] const ConstNetworkEntityHandle& entityHandle) override {} + void SetMigrateTimeoutTimeMs([[maybe_unused]] AZ::TimeMs timeoutTimeMs) override {} + void DebugDraw() const override {} + NetworkEntityTracker m_tracker; NetworkEntityAuthorityTracker m_authorityTracker; MultiplayerComponentRegistry m_multiplayerComponentRegistry; diff --git a/Gems/PhysX/Code/Editor/Source/ComponentModes/Joints/JointsSubComponentModeAngleCone.cpp b/Gems/PhysX/Code/Editor/Source/ComponentModes/Joints/JointsSubComponentModeAngleCone.cpp index 11abe0fa2a..b229c9d020 100644 --- a/Gems/PhysX/Code/Editor/Source/ComponentModes/Joints/JointsSubComponentModeAngleCone.cpp +++ b/Gems/PhysX/Code/Editor/Source/ComponentModes/Joints/JointsSubComponentModeAngleCone.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include @@ -34,22 +35,22 @@ namespace PhysX const float XRotationManipulatorWidth = 0.05f; } // namespace Internal - JointsSubComponentModeAngleCone::JointsSubComponentModeAngleCone( - const AZStd::string& propertyName, float max, float min) + JointsSubComponentModeAngleCone::JointsSubComponentModeAngleCone(const AZStd::string& propertyName, float max, float min) : m_propertyName(propertyName) , m_max(max) , m_min(min) { - } void JointsSubComponentModeAngleCone::Setup(const AZ::EntityComponentIdPair& idPair) { m_entityComponentIdPair = idPair; EditorJointRequestBus::EventResult( - m_resetPostion, m_entityComponentIdPair, &PhysX::EditorJointRequests::GetVector3Value, JointsComponentModeCommon::ParamaterNames::Position); + m_resetPostion, m_entityComponentIdPair, &PhysX::EditorJointRequests::GetVector3Value, + JointsComponentModeCommon::ParamaterNames::Position); EditorJointRequestBus::EventResult( - m_resetRotation, m_entityComponentIdPair, &PhysX::EditorJointRequests::GetVector3Value, JointsComponentModeCommon::ParamaterNames::Rotation); + m_resetRotation, m_entityComponentIdPair, &PhysX::EditorJointRequests::GetVector3Value, + JointsComponentModeCommon::ParamaterNames::Rotation); EditorJointRequestBus::EventResult( m_resetLimits, m_entityComponentIdPair, &EditorJointRequests::GetLinearValuePair, m_propertyName); @@ -57,7 +58,8 @@ namespace PhysX AZ::Transform localTransform = AZ::Transform::CreateIdentity(); EditorJointRequestBus::EventResult( - localTransform, m_entityComponentIdPair, &EditorJointRequests::GetTransformValue, JointsComponentModeCommon::ParamaterNames::Transform); + localTransform, m_entityComponentIdPair, &EditorJointRequests::GetTransformValue, + JointsComponentModeCommon::ParamaterNames::Transform); const AZ::Quaternion localRotation = localTransform.GetRotation(); // Initialize manipulators used to resize the base of the cone. @@ -105,10 +107,10 @@ namespace PhysX { AngleLimitsFloatPair m_startValues; }; - auto sharedState = AZStd::make_shared(); + auto sharedState = AZStd::make_shared(); m_yLinearManipulator->InstallLeftMouseDownCallback( - [this, sharedState](const AzToolsFramework::LinearManipulator::Action& /*action*/) mutable + [this, sharedState](const AzToolsFramework::LinearManipulator::Action& /*action*/) { AngleLimitsFloatPair currentValue; EditorJointRequestBus::EventResult( @@ -137,7 +139,7 @@ namespace PhysX }); m_zLinearManipulator->InstallLeftMouseDownCallback( - [this, sharedState](const AzToolsFramework::LinearManipulator::Action& /*action*/) mutable + [this, sharedState](const AzToolsFramework::LinearManipulator::Action& /*action*/) { AngleLimitsFloatPair currentValue; EditorJointRequestBus::EventResult( @@ -166,7 +168,7 @@ namespace PhysX }); m_yzPlanarManipulator->InstallLeftMouseDownCallback( - [this, sharedState]([[maybe_unused]]const AzToolsFramework::PlanarManipulator::Action& action) mutable + [this, sharedState]([[maybe_unused]] const AzToolsFramework::PlanarManipulator::Action& action) { AngleLimitsFloatPair currentValue; EditorJointRequestBus::EventResult( @@ -207,9 +209,8 @@ namespace PhysX { AZ::Transform m_startTM; }; - auto sharedStateXRotate = AZStd::make_shared(); - auto mouseDownCallback = [this, sharedRotationState](const AzToolsFramework::AngularManipulator::Action& action) mutable -> void + auto mouseDownCallback = [this, sharedRotationState](const AzToolsFramework::AngularManipulator::Action& action) { AZ::Quaternion normalizedStart = action.m_start.m_rotation.GetNormalized(); sharedRotationState->m_axis = AZ::Vector3(normalizedStart.GetX(), normalizedStart.GetY(), normalizedStart.GetZ()); @@ -222,8 +223,9 @@ namespace PhysX sharedRotationState->m_valuePair = currentValue; }; + auto sharedStateXRotate = AZStd::make_shared(); auto mouseDownRotateXCallback = - [this, sharedStateXRotate]([[maybe_unused]] const AzToolsFramework::AngularManipulator::Action& action) mutable -> void + [this, sharedStateXRotate]([[maybe_unused]] const AzToolsFramework::AngularManipulator::Action& action) { PhysX::EditorJointRequestBus::EventResult( sharedStateXRotate->m_startTM, m_entityComponentIdPair, &PhysX::EditorJointRequests::GetTransformValue, @@ -233,7 +235,7 @@ namespace PhysX m_xRotationManipulator->InstallLeftMouseDownCallback(mouseDownRotateXCallback); m_xRotationManipulator->InstallMouseMoveCallback( - [this, sharedStateXRotate](const AzToolsFramework::AngularManipulator::Action& action) mutable -> void + [this, sharedStateXRotate](const AzToolsFramework::AngularManipulator::Action& action) { const AZ::Quaternion manipulatorOrientation = action.m_start.m_rotation * action.m_current.m_delta; @@ -241,11 +243,11 @@ namespace PhysX newTransform = sharedStateXRotate->m_startTM * AZ::Transform::CreateFromQuaternion(action.m_current.m_delta); PhysX::EditorJointRequestBus::Event( - m_entityComponentIdPair, &PhysX::EditorJointRequests::SetVector3Value, JointsComponentModeCommon::ParamaterNames::Position, - newTransform.GetTranslation()); + m_entityComponentIdPair, &PhysX::EditorJointRequests::SetVector3Value, + JointsComponentModeCommon::ParamaterNames::Position, newTransform.GetTranslation()); PhysX::EditorJointRequestBus::Event( - m_entityComponentIdPair, &PhysX::EditorJointRequests::SetVector3Value, JointsComponentModeCommon::ParamaterNames::Rotation, - newTransform.GetRotation().GetEulerDegrees()); + m_entityComponentIdPair, &PhysX::EditorJointRequests::SetVector3Value, + JointsComponentModeCommon::ParamaterNames::Rotation, newTransform.GetRotation().GetEulerDegrees()); m_yLinearManipulator->SetLocalOrientation(manipulatorOrientation); m_zLinearManipulator->SetLocalOrientation(manipulatorOrientation); @@ -332,8 +334,7 @@ namespace PhysX { AzToolsFramework::ManipulatorViews views; views.emplace_back(CreateManipulatorViewLine( - *linearManipulator, color, axisLength, - AzToolsFramework::ManipulatorLineBoundWidth(AzFramework::InvalidViewportId))); + *linearManipulator, color, axisLength, AzToolsFramework::ManipulatorLineBoundWidth(AzFramework::InvalidViewportId))); views.emplace_back(CreateManipulatorViewCone( *linearManipulator, color, linearManipulator->GetAxis() * (axisLength - coneLength), coneLength, coneRadius)); linearManipulator->SetViews(AZStd::move(views)); @@ -345,9 +346,10 @@ namespace PhysX void JointsSubComponentModeAngleCone::ConfigurePlanarView(const AZ::Color& planeColor, const AZ::Color& plane2Color) { - const float planeSize = 0.6f; AzToolsFramework::ManipulatorViews views; - views.emplace_back(CreateManipulatorViewQuad(*m_yzPlanarManipulator, planeColor, plane2Color, planeSize)); + views.emplace_back(AzToolsFramework::CreateManipulatorViewQuad( + m_yzPlanarManipulator->GetAxis1(), m_yzPlanarManipulator->GetAxis2(), planeColor, plane2Color, AZ::Vector3::CreateZero(), + AzToolsFramework::PlanarManipulatorAxisLength())); m_yzPlanarManipulator->SetViews(AZStd::move(views)); } diff --git a/Gems/PhysX/Code/Source/Pipeline/MeshGroup.cpp b/Gems/PhysX/Code/Source/Pipeline/MeshGroup.cpp index d0ff4008b2..24bfeef1be 100644 --- a/Gems/PhysX/Code/Source/Pipeline/MeshGroup.cpp +++ b/Gems/PhysX/Code/Source/Pipeline/MeshGroup.cpp @@ -864,7 +864,8 @@ namespace PhysX { if (auto* physicsSystem = AZ::Interface::Get()) { - if (const auto* physicsConfiguration = physicsSystem->GetConfiguration()) + if (const auto* physicsConfiguration = physicsSystem->GetConfiguration(); + physicsConfiguration && physicsConfiguration->m_materialLibraryAsset) { const auto& materials = physicsConfiguration->m_materialLibraryAsset->GetMaterialsData(); diff --git a/Gems/PythonAssetBuilder/Code/Include/PythonAssetBuilder/PythonBuilderRequestBus.h b/Gems/PythonAssetBuilder/Code/Include/PythonAssetBuilder/PythonBuilderRequestBus.h deleted file mode 100644 index e88d793189..0000000000 --- a/Gems/PythonAssetBuilder/Code/Include/PythonAssetBuilder/PythonBuilderRequestBus.h +++ /dev/null @@ -1,38 +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 PythonAssetBuilder -{ - //! A request bus to help produce Open 3D Engine asset data - class PythonBuilderRequests - : public AZ::EBusTraits - { - public: - ////////////////////////////////////////////////////////////////////////// - // EBusTraits overrides - static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single; - static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single; - ////////////////////////////////////////////////////////////////////////// - - //! Creates an AZ::Entity populated with Editor components and a name - virtual AZ::Outcome CreateEditorEntity(const AZStd::string& name) = 0; - - //! Writes out a .SLICE file with a given list of entities; optionally can be set to dynamic - virtual AZ::Outcome WriteSliceFile( - AZStd::string_view filename, - AZStd::vector entityList, - bool makeDynamic) = 0; - }; - - using PythonBuilderRequestBus = AZ::EBus; -} diff --git a/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderModule.cpp b/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderModule.cpp index 1d330c90df..2675855e4b 100644 --- a/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderModule.cpp +++ b/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderModule.cpp @@ -34,9 +34,7 @@ namespace PythonAssetBuilder // Add required SystemComponents to the SystemEntity. AZ::ComponentTypeList GetRequiredSystemComponents() const override { - return AZ::ComponentTypeList { - azrtti_typeid(), - }; + return AZ::ComponentTypeList{}; } }; } diff --git a/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderSystemComponent.cpp b/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderSystemComponent.cpp index 5a233e6656..36822bc656 100644 --- a/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderSystemComponent.cpp +++ b/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderSystemComponent.cpp @@ -8,7 +8,6 @@ #include #include -#include #include #include @@ -57,13 +56,6 @@ namespace PythonAssetBuilder ->Event("RegisterAssetBuilder", &PythonAssetBuilderRequestBus::Events::RegisterAssetBuilder) ->Event("GetExecutableFolder", &PythonAssetBuilderRequestBus::Events::GetExecutableFolder) ; - - behaviorContext->EBus("PythonBuilderRequestBus") - ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Automation) - ->Attribute(AZ::Script::Attributes::Module, "asset.entity") - ->Event("WriteSliceFile", &PythonBuilderRequestBus::Events::WriteSliceFile) - ->Event("CreateEditorEntity", &PythonBuilderRequestBus::Events::CreateEditorEntity) - ; } } @@ -97,13 +89,10 @@ namespace PythonAssetBuilder { pythonInterface->StartPython(true); } - - PythonBuilderRequestBus::Handler::BusConnect(); } void PythonAssetBuilderSystemComponent::Deactivate() { - PythonBuilderRequestBus::Handler::BusDisconnect(); m_messageSink.reset(); if (PythonAssetBuilderRequestBus::HasHandlers()) @@ -148,109 +137,4 @@ namespace PythonAssetBuilder } return AZ::Failure(AZStd::string("GetExecutableFolder access is missing.")); } - - AZ::Outcome PythonAssetBuilderSystemComponent::CreateEditorEntity(const AZStd::string& name) - { - AZ::EntityId entityId; - AzToolsFramework::EditorEntityContextRequestBus::BroadcastResult( - entityId, - &AzToolsFramework::EditorEntityContextRequestBus::Events::CreateNewEditorEntity, - name.c_str()); - - if (entityId.IsValid() == false) - { - return AZ::Failure("Failed to CreateNewEditorEntity."); - } - - AZ::Entity* entity = nullptr; - AZ::ComponentApplicationBus::BroadcastResult(entity, &AZ::ComponentApplicationRequests::FindEntity, entityId); - - if (entity == nullptr) - { - return AZ::Failure(AZStd::string::format("Failed to find created entityId %s", entityId.ToString().c_str())); - } - - entity->Deactivate(); - - AzToolsFramework::EditorEntityContextRequestBus::Broadcast( - &AzToolsFramework::EditorEntityContextRequestBus::Events::AddRequiredComponents, - *entity); - - entity->Activate(); - - return AZ::Success(entityId); - } - - AZ::Outcome PythonAssetBuilderSystemComponent::WriteSliceFile( - AZStd::string_view filename, - AZStd::vector entityList, - bool makeDynamic) - { - using namespace AzToolsFramework::SliceUtilities; - - AZ::SerializeContext* serializeContext = nullptr; - AZ::ComponentApplicationBus::BroadcastResult(serializeContext, &AZ::ComponentApplicationBus::Events::GetSerializeContext); - if (serializeContext == nullptr) - { - return AZ::Failure("GetSerializeContext failed"); - } - - // transaction->Commit() requires the "@user@" alias - auto settingsRegistry = AZ::SettingsRegistry::Get(); - auto ioBase = AZ::IO::FileIOBase::GetInstance(); - if (ioBase->GetAlias("@user@") == nullptr) - { - if (AZ::IO::Path userPath; settingsRegistry->Get(userPath.Native(), AZ::SettingsRegistryMergeUtils::FilePathKey_ProjectUserPath)) - { - userPath /= "AssetProcessorTemp"; - ioBase->SetAlias("@user@", userPath.c_str()); - } - } - - // transaction->Commit() expects the file to exist and write-able - AZ::IO::HandleType fileHandle; - AZ::IO::LocalFileIO::GetInstance()->Open(filename.data(), AZ::IO::OpenMode::ModeWrite, fileHandle); - if (fileHandle == AZ::IO::InvalidHandle) - { - return AZ::Failure( - AZStd::string::format("Failed to create slice file %.*s", aznumeric_cast(filename.size()), filename.data())); - } - AZ::IO::LocalFileIO::GetInstance()->Close(fileHandle); - - AZ::u32 creationFlags = 0; - if (makeDynamic) - { - creationFlags |= SliceTransaction::CreateAsDynamic; - } - - SliceTransaction::TransactionPtr transaction = SliceTransaction::BeginNewSlice(nullptr, serializeContext, creationFlags); - - // add entities - for (const AZ::EntityId& entityId : entityList) - { - auto addResult = transaction->AddEntity(entityId, SliceTransaction::SliceAddEntityFlags::DiscardSliceAncestry); - if (!addResult) - { - return AZ::Failure(AZStd::string::format("Failed slice add entity: %s", addResult.GetError().c_str())); - } - } - - // commit to a file - AZ::Data::AssetType sliceAssetType; - auto resultCommit = transaction->Commit(filename.data(), nullptr, [&sliceAssetType]( - SliceTransaction::TransactionPtr transactionPtr, - [[maybe_unused]] const char* fullPath, - const SliceTransaction::SliceAssetPtr& sliceAssetPtr) - { - sliceAssetType = sliceAssetPtr->GetType(); - return AZ::Success(); - }); - - if (!resultCommit) - { - return AZ::Failure(AZStd::string::format("Failed commit slice: %s", resultCommit.GetError().c_str())); - } - - return AZ::Success(sliceAssetType); - } } diff --git a/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderSystemComponent.h b/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderSystemComponent.h index 8bb2512308..278df0873d 100644 --- a/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderSystemComponent.h +++ b/Gems/PythonAssetBuilder/Code/Source/PythonAssetBuilderSystemComponent.h @@ -11,7 +11,6 @@ #include #include -#include namespace PythonAssetBuilder { @@ -21,7 +20,6 @@ namespace PythonAssetBuilder class PythonAssetBuilderSystemComponent : public AZ::Component , protected PythonAssetBuilderRequestBus::Handler - , protected PythonBuilderRequestBus::Handler { public: AZ_COMPONENT(PythonAssetBuilderSystemComponent, "{E2872C13-D103-4534-9A95-76A66C8DDB5D}"); @@ -42,13 +40,6 @@ namespace PythonAssetBuilder AZ::Outcome RegisterAssetBuilder(const AssetBuilderSDK::AssetBuilderDesc& desc) override; AZ::Outcome GetExecutableFolder() const override; - // PythonBuilderRequestBus - AZ::Outcome CreateEditorEntity(const AZStd::string& name) override; - AZ::Outcome WriteSliceFile( - AZStd::string_view filename, - AZStd::vector entityList, - bool makeDynamic) override; - private: using PythonBuilderWorkerPointer = AZStd::shared_ptr; using PythonBuilderWorkerMap = AZStd::unordered_map; diff --git a/Gems/PythonAssetBuilder/Code/Tests/PythonAssetBuilderTest.cpp b/Gems/PythonAssetBuilder/Code/Tests/PythonAssetBuilderTest.cpp index fb30264b66..ee9ff71b5a 100644 --- a/Gems/PythonAssetBuilder/Code/Tests/PythonAssetBuilderTest.cpp +++ b/Gems/PythonAssetBuilder/Code/Tests/PythonAssetBuilderTest.cpp @@ -14,7 +14,6 @@ #include "Source/PythonAssetBuilderSystemComponent.h" #include -#include #include #include @@ -87,65 +86,6 @@ namespace UnitTest &PythonAssetBuilderRequestBus::Events::GetExecutableFolder); EXPECT_TRUE(result.IsSuccess()); } - - // test bus API exists - - TEST_F(PythonAssetBuilderTest, PythonBuilderRequestBus_CreateEditorEntity_Exists) - { - using namespace PythonAssetBuilder; - - EXPECT_FALSE(PythonBuilderRequestBus::HasHandlers()); - - // Some static tests to make sure the public API has not changed since that - // would break Python asset builders using this EBus - { - AZ::Outcome result; - AZStd::string name; - PythonBuilderRequestBus::BroadcastResult( - result, - &PythonBuilderRequestBus::Events::CreateEditorEntity, - name); - EXPECT_FALSE(result.IsSuccess()); - } - - m_app->RegisterComponentDescriptor(PythonAssetBuilderSystemComponent::CreateDescriptor()); - m_systemEntity->CreateComponent(); - m_systemEntity->Init(); - m_systemEntity->Activate(); - - EXPECT_TRUE(PythonBuilderRequestBus::HasHandlers()); - } - - TEST_F(PythonAssetBuilderTest, PythonBuilderRequestBus_WriteSliceFile_Exists) - { - using namespace PythonAssetBuilder; - - EXPECT_FALSE(PythonBuilderRequestBus::HasHandlers()); - - // Some static tests to make sure the public API has not changed since that - // would break Python asset builders using this EBus - { - AZ::Outcome result; - AZStd::string_view filename; - AZStd::vector entities; - bool makeDynamic = {}; - PythonBuilderRequestBus::BroadcastResult( - result, - &PythonBuilderRequestBus::Events::WriteSliceFile, - filename, - entities, - makeDynamic); - EXPECT_FALSE(result.IsSuccess()); - } - - m_app->RegisterComponentDescriptor(PythonAssetBuilderSystemComponent::CreateDescriptor()); - m_systemEntity->CreateComponent(); - m_systemEntity->Init(); - m_systemEntity->Activate(); - - EXPECT_TRUE(PythonBuilderRequestBus::HasHandlers()); - } - } AZ_UNIT_TEST_HOOK(DEFAULT_UNIT_TEST_ENV); diff --git a/Gems/PythonAssetBuilder/Code/Tests/PythonBuilderProcessJobTest.cpp b/Gems/PythonAssetBuilder/Code/Tests/PythonBuilderProcessJobTest.cpp index c8cfd4264f..c7ea5f3df3 100644 --- a/Gems/PythonAssetBuilder/Code/Tests/PythonBuilderProcessJobTest.cpp +++ b/Gems/PythonAssetBuilder/Code/Tests/PythonBuilderProcessJobTest.cpp @@ -106,17 +106,4 @@ namespace UnitTest PythonBuilderNotificationBus::Event(builderId, &PythonBuilderNotificationBus::Events::OnCancel); EXPECT_EQ(1, mockJobHandler.m_onCancelCount); } - - TEST_F(PythonBuilderProcessJobTest, PythonBuilderRequestBus_Behavior_Exists) - { - using namespace PythonAssetBuilder; - using namespace AssetBuilderSDK; - - RegisterAssetBuilder(m_app.get(), m_systemEntity); - - auto entry = m_app->GetBehaviorContext()->m_ebuses.find("PythonBuilderRequestBus"); - ASSERT_NE(m_app->GetBehaviorContext()->m_ebuses.end(), entry); - EXPECT_NE(entry->second->m_events.end(), entry->second->m_events.find("WriteSliceFile")); - EXPECT_NE(entry->second->m_events.end(), entry->second->m_events.find("CreateEditorEntity")); - } } diff --git a/Gems/PythonAssetBuilder/Code/pythonassetbuilder_common_files.cmake b/Gems/PythonAssetBuilder/Code/pythonassetbuilder_common_files.cmake index 171c6b5357..35e512c97e 100644 --- a/Gems/PythonAssetBuilder/Code/pythonassetbuilder_common_files.cmake +++ b/Gems/PythonAssetBuilder/Code/pythonassetbuilder_common_files.cmake @@ -9,7 +9,6 @@ set(FILES Include/PythonAssetBuilder/PythonAssetBuilderBus.h Include/PythonAssetBuilder/PythonBuilderNotificationBus.h - Include/PythonAssetBuilder/PythonBuilderRequestBus.h Source/PythonAssetBuilderSystemComponent.cpp Source/PythonAssetBuilderSystemComponent.h Source/PythonBuilderMessageSink.cpp diff --git a/Gems/PythonAssetBuilder/Code/pythonassetbuilder_editor_files.cmake b/Gems/PythonAssetBuilder/Code/pythonassetbuilder_editor_files.cmake index 171c6b5357..35e512c97e 100644 --- a/Gems/PythonAssetBuilder/Code/pythonassetbuilder_editor_files.cmake +++ b/Gems/PythonAssetBuilder/Code/pythonassetbuilder_editor_files.cmake @@ -9,7 +9,6 @@ set(FILES Include/PythonAssetBuilder/PythonAssetBuilderBus.h Include/PythonAssetBuilder/PythonBuilderNotificationBus.h - Include/PythonAssetBuilder/PythonBuilderRequestBus.h Source/PythonAssetBuilderSystemComponent.cpp Source/PythonAssetBuilderSystemComponent.h Source/PythonBuilderMessageSink.cpp diff --git a/Gems/PythonAssetBuilder/Editor/Scripts/scene_api/scene_data.py b/Gems/PythonAssetBuilder/Editor/Scripts/scene_api/scene_data.py index d105ecdb43..173558d784 100755 --- a/Gems/PythonAssetBuilder/Editor/Scripts/scene_api/scene_data.py +++ b/Gems/PythonAssetBuilder/Editor/Scripts/scene_api/scene_data.py @@ -4,8 +4,11 @@ For complete copyright and license terms please see the LICENSE at the root of t SPDX-License-Identifier: Apache-2.0 OR MIT """ -import azlmbr.scene as sceneApi +import typing import json +import azlmbr.scene as sceneApi +from enum import Enum, IntEnum + # Wraps the AZ.SceneAPI.Containers.SceneGraph.NodeIndex internal class class SceneGraphNodeIndex: @@ -24,6 +27,7 @@ class SceneGraphNodeIndex: def equal(self, other) -> bool: return self.nodeIndex.Equal(other) + # Wraps AZ.SceneAPI.Containers.SceneGraph.Name internal class class SceneGraphName(): def __init__(self, sceneGraphName) -> None: @@ -35,6 +39,7 @@ class SceneGraphName(): def get_name(self) -> str: return self.name.GetName() + # Wraps AZ.SceneAPI.Containers.SceneGraph class class SceneGraph(): def __init__(self, sceneGraphInstance) -> None: @@ -90,13 +95,26 @@ class SceneGraph(): def get_node_content(self, node): return self.sceneGraph.GetNodeContent(node) + +class PrimitiveShape(IntEnum): + BEST_FIT = 0 + SPHERE = 1 + BOX = 2 + CAPSULE = 3 + + +class DecompositionMode(IntEnum): + VOXEL = 0 + TETRAHEDRON = 1 + + # Contains a dictionary to contain and export AZ.SceneAPI.Containers.SceneManifest class SceneManifest(): def __init__(self): self.manifest = {'values': []} def add_mesh_group(self, name: str) -> dict: - meshGroup = {} + meshGroup = {} meshGroup['$type'] = '{07B356B7-3635-40B5-878A-FAC4EFD5AD86} MeshGroup' meshGroup['name'] = name meshGroup['nodeSelectionList'] = {'selectedNodes': [], 'unselectedNodes': []} @@ -272,5 +290,242 @@ class SceneManifest(): mesh_group['rules']['rules'].append(rule) + def __add_physx_base_mesh_group(self, name: str, physics_material: typing.Optional[str]) -> dict: + import azlmbr.math + group = { + '$type': '{5B03C8E6-8CEE-4DA0-A7FA-CD88689DD45B} MeshGroup', + 'id': azlmbr.math.Uuid_CreateRandom().ToString(), + 'name': name, + 'NodeSelectionList': { + 'selectedNodes': [], + 'unselectedNodes': [] + }, + "MaterialSlots": [ + "Material" + ], + "PhysicsMaterials": [ + self.__default_or_value(physics_material, "") + ], + "rules": { + "rules": [] + } + } + self.manifest['values'].append(group) + + return group + + def add_physx_triangle_mesh_group(self, name: str, merge_meshes: bool = True, weld_vertices: bool = False, + disable_clean_mesh: bool = False, + force_32bit_indices: bool = False, + suppress_triangle_mesh_remap_table: bool = False, + build_triangle_adjacencies: bool = False, + mesh_weld_tolerance: float = 0.0, + num_tris_per_leaf: int = 4, + physics_material: typing.Optional[str] = None) -> dict: + """ + Adds a Triangle type PhysX Mesh Group to the scene. + + :param name: Name of the mesh group. + :param merge_meshes: When true, all selected nodes will be merged into a single collision mesh. + :param weld_vertices: When true, mesh welding is performed. Clean mesh must be enabled. + :param disable_clean_mesh: When true, mesh cleaning is disabled. This makes cooking faster. + :param force_32bit_indices: When true, 32-bit indices will always be created regardless of triangle count. + :param suppress_triangle_mesh_remap_table: When true, the face remap table is not created. + This saves a significant amount of memory, but the SDK will not be able to provide the remap + information for internal mesh triangles returned by collisions, sweeps or raycasts hits. + :param build_triangle_adjacencies: When true, the triangle adjacency information is created. + :param mesh_weld_tolerance: If mesh welding is enabled, this controls the distance at + which vertices are welded. If mesh welding is not enabled, this value defines the + acceptance distance for mesh validation. Provided no two vertices are within this + distance, the mesh is considered to be clean. If not, a warning will be emitted. + :param num_tris_per_leaf: Mesh cooking hint for max triangles per leaf limit. Fewer triangles per leaf + produces larger meshes with better runtime performance and worse cooking performance. + :param physics_material: Configure which physics material to use. + :return: The newly created mesh group. + """ + group = self.__add_physx_base_mesh_group(name, physics_material) + group["export method"] = 0 + group["TriangleMeshAssetParams"] = { + "MergeMeshes": merge_meshes, + "WeldVertices": weld_vertices, + "DisableCleanMesh": disable_clean_mesh, + "Force32BitIndices": force_32bit_indices, + "SuppressTriangleMeshRemapTable": suppress_triangle_mesh_remap_table, + "BuildTriangleAdjacencies": build_triangle_adjacencies, + "MeshWeldTolerance": mesh_weld_tolerance, + "NumTrisPerLeaf": num_tris_per_leaf + } + + return group + + def add_physx_convex_mesh_group(self, name: str, area_test_epsilon: float = 0.059, plane_tolerance: float = 0.0006, + use_16bit_indices: bool = False, + check_zero_area_triangles: bool = False, + quantize_input: bool = False, + use_plane_shifting: bool = False, + shift_vertices: bool = False, + gauss_map_limit: int = 32, + build_gpu_data: bool = False, + physics_material: typing.Optional[str] = None) -> dict: + """ + Adds a Convex type PhysX Mesh Group to the scene. + + :param name: Name of the mesh group. + :param area_test_epsilon: If the area of a triangle of the hull is below this value, the triangle will be + rejected. This test is done only if Check Zero Area Triangles is used. + :param plane_tolerance: The value is used during hull construction. When a new point is about to be added + to the hull it gets dropped when the point is closer to the hull than the planeTolerance. + :param use_16bit_indices: Denotes the use of 16-bit vertex indices in Convex triangles or polygons. + :param check_zero_area_triangles: Checks and removes almost zero-area triangles during convex hull computation. + The rejected area size is specified in Area Test Epsilon. + :param quantize_input: Quantizes the input vertices using the k-means clustering. + :param use_plane_shifting: Enables plane shifting vertex limit algorithm. Plane shifting is an alternative + algorithm for the case when the computed hull has more vertices than the specified vertex + limit. + :param shift_vertices: Convex hull input vertices are shifted to be around origin to provide better + computation stability + :param gauss_map_limit: Vertex limit beyond which additional acceleration structures are computed for each + convex mesh. Increase that limit to reduce memory usage. Computing the extra structures + all the time does not guarantee optimal performance. + :param build_gpu_data: When true, additional information required for GPU-accelerated rigid body + simulation is created. This can increase memory usage and cooking times for convex meshes + and triangle meshes. Convex hulls are created with respect to GPU simulation limitations. + Vertex limit is set to 64 and vertex limit per face is internally set to 32. + :param physics_material: Configure which physics material to use. + :return: The newly created mesh group. + """ + group = self.__add_physx_base_mesh_group(name, physics_material) + group["export method"] = 1 + group["ConvexAssetParams"] = { + "AreaTestEpsilon": area_test_epsilon, + "PlaneTolerance": plane_tolerance, + "Use16bitIndices": use_16bit_indices, + "CheckZeroAreaTriangles": check_zero_area_triangles, + "QuantizeInput": quantize_input, + "UsePlaneShifting": use_plane_shifting, + "ShiftVertices": shift_vertices, + "GaussMapLimit": gauss_map_limit, + "BuildGpuData": build_gpu_data + } + + return group + + def add_physx_primitive_mesh_group(self, name: str, + primitive_shape_target: PrimitiveShape = PrimitiveShape.BEST_FIT, + volume_term_coefficient: float = 0.0, + physics_material: typing.Optional[str] = None) -> dict: + """ + Adds a Primitive Shape type PhysX Mesh Group to the scene + + :param name: Name of the mesh group. + :param primitive_shape_target: The shape that should be fitted to this mesh. If BEST_FIT is selected, the + algorithm will determine which of the shapes fits best. + :param volume_term_coefficient: This parameter controls how aggressively the primitive fitting algorithm will try + to minimize the volume of the fitted primitive. A value of 0 (no volume minimization) is + recommended for most meshes, especially those with moderate to high vertex counts. + :param physics_material: Configure which physics material to use. + :return: The newly created mesh group. + """ + group = self.__add_physx_base_mesh_group(name, physics_material) + group["export method"] = 2 + group["PrimitiveAssetParams"] = { + "PrimitiveShapeTarget": int(primitive_shape_target), + "VolumeTermCoefficient": volume_term_coefficient + } + + return group + + def physx_mesh_group_decompose_meshes(self, mesh_group: dict, max_convex_hulls: int = 1024, + max_num_vertices_per_convex_hull: int = 64, + concavity: float = .001, + resolution: float = 100000, + mode: DecompositionMode = DecompositionMode.VOXEL, + alpha: float = .05, + beta: float = .05, + min_volume_per_convex_hull: float = 0.0001, + plane_downsampling: int = 4, + convex_hull_downsampling: int = 4, + pca: bool = False, + project_hull_vertices: bool = True) -> None: + """ + Enables and configures mesh decomposition for a PhysX Mesh Group. + Only valid for convex or primitive mesh types. + + :param mesh_group: Mesh group to configure decomposition for. + :param max_convex_hulls: Controls the maximum number of hulls to generate. + :param max_num_vertices_per_convex_hull: Controls the maximum number of triangles per convex hull. + :param concavity: Maximum concavity of each approximate convex hull. + :param resolution: Maximum number of voxels generated during the voxelization stage. + :param mode: Select voxel-based approximate convex decomposition or tetrahedron-based + approximate convex decomposition. + :param alpha: Controls the bias toward clipping along symmetry planes. + :param beta: Controls the bias toward clipping along revolution axes. + :param min_volume_per_convex_hull: Controls the adaptive sampling of the generated convex hulls. + :param plane_downsampling: Controls the granularity of the search for the best clipping plane. + :param convex_hull_downsampling: Controls the precision of the convex hull generation process + during the clipping plane selection stage. + :param pca: Enable or disable normalizing the mesh before applying the convex decomposition. + :param project_hull_vertices: Project the output convex hull vertices onto the original source mesh to increase + the floating point accuracy of the results. + """ + mesh_group['DecomposeMeshes'] = True + mesh_group['ConvexDecompositionParams'] = { + "MaxConvexHulls": max_convex_hulls, + "MaxNumVerticesPerConvexHull": max_num_vertices_per_convex_hull, + "Concavity": concavity, + "Resolution": resolution, + "Mode": int(mode), + "Alpha": alpha, + "Beta": beta, + "MinVolumePerConvexHull": min_volume_per_convex_hull, + "PlaneDownsampling": plane_downsampling, + "ConvexHullDownsampling": convex_hull_downsampling, + "PCA": pca, + "ProjectHullVertices": project_hull_vertices + } + + def physx_mesh_group_add_selected_node(self, mesh_group: dict, node: str) -> None: + """ + Adds a node to the selected nodes list + + :param mesh_group: Mesh group to add to. + :param node: Node path to add. + """ + mesh_group['NodeSelectionList']['selectedNodes'].append(node) + + def physx_mesh_group_add_unselected_node(self, mesh_group: dict, node: str) -> None: + """ + Adds a node to the unselected nodes list + + :param mesh_group: Mesh group to add to. + :param node: Node path to add. + """ + mesh_group['NodeSelectionList']['unselectedNodes'].append(node) + + def physx_mesh_group_add_selected_unselected_nodes(self, mesh_group: dict, selected: typing.List[str], + unselected: typing.List[str]) -> None: + """ + Adds a set of nodes to the selected/unselected node lists + + :param mesh_group: Mesh group to add to. + :param selected: List of node paths to add to the selected list. + :param unselected: List of node paths to add to the unselected list. + """ + mesh_group['NodeSelectionList']['selectedNodes'].extend(selected) + mesh_group['NodeSelectionList']['unselectedNodes'].extend(unselected) + + def physx_mesh_group_add_comment(self, mesh_group: dict, comment: str) -> None: + """ + Adds a comment rule + + :param mesh_group: Mesh group to add the rule to. + :param comment: Comment string. + """ + rule = { + "$type": "CommentRule", + "comment": comment + } + mesh_group['rules']['rules'].append(rule) + def export(self): return json.dumps(self.manifest) diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToAutonomousNoParamsNotifyEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToAutonomousNoParamsNotifyEvent.names new file mode 100644 index 0000000000..216212ca4a --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToAutonomousNoParamsNotifyEvent.names @@ -0,0 +1,50 @@ +{ + "entries": [ + { + "base": "AuthorityToAutonomousNoParams Notify Event", + "context": "AZEventHandler", + "variant": "", + "details": { + "name": "Authority To Autonomous No Params Notify Event" + }, + "slots": [ + { + "base": "AuthorityToAutonomousNoParams Notify Event", + "details": { + "name": "AuthorityToAutonomousNoParams Notify Event" + } + }, + { + "base": "Connect", + "details": { + "name": "Connect" + } + }, + { + "base": "Disconnect", + "details": { + "name": "Disconnect" + } + }, + { + "base": "On Connected", + "details": { + "name": "On Connected" + } + }, + { + "base": "On Disconnected", + "details": { + "name": "On Disconnected" + } + }, + { + "base": "OnEvent", + "details": { + "name": "OnEvent" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToAutonomousNotifyEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToAutonomousNotifyEvent.names new file mode 100644 index 0000000000..50c0ec6013 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToAutonomousNotifyEvent.names @@ -0,0 +1,56 @@ +{ + "entries": [ + { + "base": "AuthorityToAutonomous Notify Event", + "context": "AZEventHandler", + "variant": "", + "details": { + "name": "Authority To Autonomous Notify Event" + }, + "slots": [ + { + "base": "someFloat", + "details": { + "name": "someFloat" + } + }, + { + "base": "AuthorityToAutonomous Notify Event", + "details": { + "name": "AuthorityToAutonomous Notify Event" + } + }, + { + "base": "Connect", + "details": { + "name": "Connect" + } + }, + { + "base": "Disconnect", + "details": { + "name": "Disconnect" + } + }, + { + "base": "On Connected", + "details": { + "name": "On Connected" + } + }, + { + "base": "On Disconnected", + "details": { + "name": "On Disconnected" + } + }, + { + "base": "OnEvent", + "details": { + "name": "OnEvent" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToClientNoParamsNotifyEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToClientNoParamsNotifyEvent.names new file mode 100644 index 0000000000..bf5b975d63 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToClientNoParamsNotifyEvent.names @@ -0,0 +1,50 @@ +{ + "entries": [ + { + "base": "AuthorityToClientNoParams Notify Event", + "context": "AZEventHandler", + "variant": "", + "details": { + "name": "Authority To Client No Params Notify Event" + }, + "slots": [ + { + "base": "AuthorityToClientNoParams Notify Event", + "details": { + "name": "AuthorityToClientNoParams Notify Event" + } + }, + { + "base": "Connect", + "details": { + "name": "Connect" + } + }, + { + "base": "Disconnect", + "details": { + "name": "Disconnect" + } + }, + { + "base": "On Connected", + "details": { + "name": "On Connected" + } + }, + { + "base": "On Disconnected", + "details": { + "name": "On Disconnected" + } + }, + { + "base": "OnEvent", + "details": { + "name": "OnEvent" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToClientNotifyEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToClientNotifyEvent.names new file mode 100644 index 0000000000..d3ba2e9299 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AuthorityToClientNotifyEvent.names @@ -0,0 +1,56 @@ +{ + "entries": [ + { + "base": "AuthorityToClient Notify Event", + "context": "AZEventHandler", + "variant": "", + "details": { + "name": "Authority To Client Notify Event" + }, + "slots": [ + { + "base": "someFloat", + "details": { + "name": "someFloat" + } + }, + { + "base": "AuthorityToClient Notify Event", + "details": { + "name": "AuthorityToClient Notify Event" + } + }, + { + "base": "Connect", + "details": { + "name": "Connect" + } + }, + { + "base": "Disconnect", + "details": { + "name": "Disconnect" + } + }, + { + "base": "On Connected", + "details": { + "name": "On Connected" + } + }, + { + "base": "On Disconnected", + "details": { + "name": "On Disconnected" + } + }, + { + "base": "OnEvent", + "details": { + "name": "OnEvent" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AutonomousToAuthorityNoParamsNotifyEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AutonomousToAuthorityNoParamsNotifyEvent.names new file mode 100644 index 0000000000..ba5f7aec0c --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AutonomousToAuthorityNoParamsNotifyEvent.names @@ -0,0 +1,50 @@ +{ + "entries": [ + { + "base": "AutonomousToAuthorityNoParams Notify Event", + "context": "AZEventHandler", + "variant": "", + "details": { + "name": "Autonomous To Authority No Params Notify Event" + }, + "slots": [ + { + "base": "AutonomousToAuthorityNoParams Notify Event", + "details": { + "name": "AutonomousToAuthorityNoParams Notify Event" + } + }, + { + "base": "Connect", + "details": { + "name": "Connect" + } + }, + { + "base": "Disconnect", + "details": { + "name": "Disconnect" + } + }, + { + "base": "On Connected", + "details": { + "name": "On Connected" + } + }, + { + "base": "On Disconnected", + "details": { + "name": "On Disconnected" + } + }, + { + "base": "OnEvent", + "details": { + "name": "OnEvent" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AutonomousToAuthorityNotifyEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AutonomousToAuthorityNotifyEvent.names new file mode 100644 index 0000000000..73566d177e --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/AutonomousToAuthorityNotifyEvent.names @@ -0,0 +1,56 @@ +{ + "entries": [ + { + "base": "AutonomousToAuthority Notify Event", + "context": "AZEventHandler", + "variant": "", + "details": { + "name": "Autonomous To Authority Notify Event" + }, + "slots": [ + { + "base": "someFloat", + "details": { + "name": "someFloat" + } + }, + { + "base": "AutonomousToAuthority Notify Event", + "details": { + "name": "AutonomousToAuthority Notify Event" + } + }, + { + "base": "Connect", + "details": { + "name": "Connect" + } + }, + { + "base": "Disconnect", + "details": { + "name": "Disconnect" + } + }, + { + "base": "On Connected", + "details": { + "name": "On Connected" + } + }, + { + "base": "On Disconnected", + "details": { + "name": "On Disconnected" + } + }, + { + "base": "OnEvent", + "details": { + "name": "OnEvent" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/ServerToAuthorityNoParamNotifyEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/ServerToAuthorityNoParamNotifyEvent.names new file mode 100644 index 0000000000..b6694211cd --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/ServerToAuthorityNoParamNotifyEvent.names @@ -0,0 +1,50 @@ +{ + "entries": [ + { + "base": "ServerToAuthorityNoParam Notify Event", + "context": "AZEventHandler", + "variant": "", + "details": { + "name": "Server To Authority No Param Notify Event" + }, + "slots": [ + { + "base": "ServerToAuthorityNoParam Notify Event", + "details": { + "name": "ServerToAuthorityNoParam Notify Event" + } + }, + { + "base": "Connect", + "details": { + "name": "Connect" + } + }, + { + "base": "Disconnect", + "details": { + "name": "Disconnect" + } + }, + { + "base": "On Connected", + "details": { + "name": "On Connected" + } + }, + { + "base": "On Disconnected", + "details": { + "name": "On Disconnected" + } + }, + { + "base": "OnEvent", + "details": { + "name": "OnEvent" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/ServerToAuthorityNotifyEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/ServerToAuthorityNotifyEvent.names new file mode 100644 index 0000000000..71ab303260 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/AZEvents/ServerToAuthorityNotifyEvent.names @@ -0,0 +1,56 @@ +{ + "entries": [ + { + "base": "ServerToAuthority Notify Event", + "context": "AZEventHandler", + "variant": "", + "details": { + "name": "Server To Authority Notify Event" + }, + "slots": [ + { + "base": "someFloat", + "details": { + "name": "someFloat" + } + }, + { + "base": "ServerToAuthority Notify Event", + "details": { + "name": "ServerToAuthority Notify Event" + } + }, + { + "base": "Connect", + "details": { + "name": "Connect" + } + }, + { + "base": "Disconnect", + "details": { + "name": "Disconnect" + } + }, + { + "base": "On Connected", + "details": { + "name": "On Connected" + } + }, + { + "base": "On Disconnected", + "details": { + "name": "On Disconnected" + } + }, + { + "base": "OnEvent", + "details": { + "name": "OnEvent" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity Transform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity Transform.names deleted file mode 100644 index 389c88d709..0000000000 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Entity Transform.names +++ /dev/null @@ -1,45 +0,0 @@ -{ - "entries": [ - { - "base": "Entity Transform", - "context": "BehaviorClass", - "variant": "", - "details": { - "name": "Entity Transform" - }, - "methods": [ - { - "base": "Rotate", - "context": "Entity Transform", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke Rotate" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after Rotate is invoked" - }, - "details": { - "name": "Entity Transform::Rotate", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "const EntityId&", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", - "details": { - "name": "const Vector3&" - } - } - ] - } - ] - } - ] -} \ 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 c7e5b5814d..9f6af426d0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialData.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/MaterialData.names @@ -5,8 +5,7 @@ "context": "BehaviorClass", "variant": "", "details": { - "name": "Material Data", - "category": "Rendering" + "name": "Material Data" }, "methods": [ { @@ -433,6 +432,7 @@ }, { "base": "GetNormal", + "context": "Getter", "details": { "name": "Get Normal" }, @@ -440,13 +440,14 @@ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Normal" } } ] }, { "base": "GetDiffuse", + "context": "Getter", "details": { "name": "Get Diffuse" }, @@ -454,13 +455,14 @@ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Diffuse" } } ] }, { "base": "GetSpecular", + "context": "Getter", "details": { "name": "Get Specular" }, @@ -468,13 +470,14 @@ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Specular" } } ] }, { "base": "GetBump", + "context": "Getter", "details": { "name": "Get Bump" }, @@ -482,13 +485,14 @@ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Bump" } } ] }, { "base": "GetEmissive", + "context": "Getter", "details": { "name": "Get Emissive" }, @@ -496,13 +500,14 @@ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Emissive" } } ] }, { "base": "GetRoughness", + "context": "Getter", "details": { "name": "Get Roughness" }, @@ -510,13 +515,14 @@ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Roughness" } } ] }, { "base": "GetBaseColor", + "context": "Getter", "details": { "name": "Get Base Color" }, @@ -524,13 +530,14 @@ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Base Color" } } ] }, { "base": "GetAmbientOcclusion", + "context": "Getter", "details": { "name": "Get Ambient Occlusion" }, @@ -538,13 +545,14 @@ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Ambient Occlusion" } } ] }, { "base": "GetMetallic", + "context": "Getter", "details": { "name": "Get Metallic" }, @@ -552,7 +560,7 @@ { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "int" + "name": "Metallic" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Matrix3x4.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Matrix3x4.names index 4b529d8dda..bfa6c885cb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Matrix3x4.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Matrix3x4.names @@ -5,7 +5,7 @@ "context": "BehaviorClass", "variant": "", "details": { - "name": "Matrix3x4" + "name": "Matrix 3x 4" }, "methods": [ { @@ -13,21 +13,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke CreateZero" + "tooltip": "When signaled, this will invoke Create Zero" }, "exit": { "name": "Out", - "tooltip": "Signaled after CreateZero is invoked" + "tooltip": "Signaled after Create Zero is invoked" }, "details": { - "name": "Create Zero", - "tooltip": "Creates a Matrix3x4 with all values zero" + "name": "Create Zero" }, "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -44,14 +43,13 @@ "tooltip": "Signaled after Set Rotation Part From Quaternion is invoked" }, "details": { - "name": "Set Rotation Part From Quaternion", - "tooltip": "Sets the 3x3 part of the matrix from a quaternion" + "name": "Set Rotation Part From Quaternion" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { @@ -74,32 +72,25 @@ "tooltip": "Signaled after Create From Columns is invoked" }, "details": { - "name": "Create From Columns", - "tooltip": "Constructs from individual columns" + "name": "Create From Columns" }, "params": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 1" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 2" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 3" - } - }, - { - "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", - "details": { - "name": "Column 4" + "name": "Vector 3" } } ], @@ -107,7 +98,7 @@ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -124,26 +115,19 @@ "tooltip": "Signaled after Is Close is invoked" }, "details": { - "name": "Is Close", - "tooltip": "Tests element-wise whether this matrix is close to another matrix, within the specified tolerance" + "name": "Is Close" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "A" - } - }, - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "B" + "name": "Matrix 3x 4" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Tolerance" + "name": "float" } } ], @@ -151,7 +135,7 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Is Close" + "name": "bool" } } ] @@ -168,20 +152,13 @@ "tooltip": "Signaled after Is Orthogonal is invoked" }, "details": { - "name": "Is Orthogonal", - "tooltip": "Tests if the 3x3 part of the matrix is orthogonal" + "name": "Is Orthogonal" }, "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Tolerance" + "name": "float" } } ], @@ -189,7 +166,7 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Is Orthogonal" + "name": "bool" } } ] @@ -206,14 +183,13 @@ "tooltip": "Signaled after Orthogonalize is invoked" }, "details": { - "name": "Orthogonalize", - "tooltip": "Modifies the basis vectors of the matrix to be orthogonal and unit length" + "name": "Orthogonalize" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } } ] @@ -223,29 +199,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Create From Matrix3x3" + "tooltip": "When signaled, this will invoke Create From Matrix 3x 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after Create From Matrix3x3 is invoked" + "tooltip": "Signaled after Create From Matrix 3x 3 is invoked" }, "details": { - "name": "Create From Matrix3x3", - "tooltip": "Constructs from a Matrix3x3, with translation set to zero" + "name": "Create From Matrix 3x 3" }, - "params": [ - { - "typeid": "{15A4332F-7C3F-4A58-AC35-50E1CE53FB9C}", - "details": { - "name": "Matrix3x3" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -262,22 +229,13 @@ "tooltip": "Signaled after Retrieve Scale is invoked" }, "details": { - "name": "Retrieve Scale", - "tooltip": "Gets the scale part of the transformation (the length of the basis vectors)" + "name": "Retrieve Scale" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Scale" + "name": "Vector 3" } } ] @@ -287,29 +245,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Create Rotation X" + "tooltip": "When signaled, this will invoke Create RotationX" }, "exit": { "name": "Out", - "tooltip": "Signaled after Create Rotation X is invoked" + "tooltip": "Signaled after Create RotationX is invoked" }, "details": { - "name": "Create Rotation X", - "tooltip": "Sets the matrix to be a rotation around the X-axis, specified in radians" + "name": "Create RotationX" }, - "params": [ - { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", - "details": { - "name": "Angle (Radians)" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -319,26 +268,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Create From Matrix3x3 And Translation" + "tooltip": "When signaled, this will invoke Create From Matrix 3x 3 And Translation" }, "exit": { "name": "Out", - "tooltip": "Signaled after Create From Matrix3x3 And Translation is invoked" + "tooltip": "Signaled after Create From Matrix 3x 3 And Translation is invoked" }, "details": { - "name": "Create From Matrix3x3 And Translation" + "name": "Create From Matrix 3x 3 And Translation" }, "params": [ - { - "typeid": "{15A4332F-7C3F-4A58-AC35-50E1CE53FB9C}", - "details": { - "name": "Matrix3x3" - } - }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Translation" + "name": "Vector 3" } } ], @@ -346,7 +289,7 @@ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -356,28 +299,20 @@ "context": "Matrix3x4", "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": "To String" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", "details": { - "name": "String" + "name": "AZ Std::basic_string, allocator>" } } ] @@ -394,22 +329,13 @@ "tooltip": "Signaled after Extract Scale is invoked" }, "details": { - "name": "Extract Scale", - "tooltip": "Gets the scale part of the transformation as in RetrieveScale, and also removes this scaling from the matrix" + "name": "Extract Scale" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Scale" + "name": "Vector 3" } } ] @@ -428,19 +354,11 @@ "details": { "name": "Get Transpose" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Transpose" + "name": "Matrix 3x 4" } } ] @@ -457,14 +375,13 @@ "tooltip": "Signaled after Invert Fast is invoked" }, "details": { - "name": "Invert Fast", - "tooltip": "Inverts the transformation represented by the matrix, assuming the 3x3 part is orthogonal" + "name": "Invert Fast" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Inverted" + "name": "Matrix 3x 4" } } ] @@ -481,26 +398,19 @@ "tooltip": "Signaled after Create From Rows is invoked" }, "details": { - "name": "Create From Rows", - "tooltip": "Constructs from individual rows" + "name": "Create From Rows" }, "params": [ { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Row 1" + "name": "Vector 4" } }, { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Row 2" - } - }, - { - "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", - "details": { - "name": "Row 3" + "name": "Vector 4" } } ], @@ -508,7 +418,7 @@ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -525,22 +435,13 @@ "tooltip": "Signaled after Create Translation is invoked" }, "details": { - "name": "Create Translation", - "tooltip": "Sets the matrix to be a translation matrix, with 3x3 part set to the identity" + "name": "Create Translation" }, - "params": [ - { - "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", - "details": { - "name": "Translation" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -550,29 +451,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetTranspose3x3" + "tooltip": "When signaled, this will invoke Get Transpose 3x 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetTranspose3x3 is invoked" + "tooltip": "Signaled after Get Transpose 3x 3 is invoked" }, "details": { - "name": "Get Transpose 3x3", - "tooltip": "Gets the matrix obtained by transposing the 3x3 part of the matrix, leaving the translation untouched" + "name": "Get Transpose 3x 3" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Transpose" + "name": "Matrix 3x 4" } } ] @@ -589,26 +481,25 @@ "tooltip": "Signaled after Set Column is invoked" }, "details": { - "name": "Set Column", - "tooltip": "Sets the specified column" + "name": "Set Column" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Column Index" + "name": "int" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Vector 3" } } ] @@ -625,20 +516,13 @@ "tooltip": "Signaled after Get Row is invoked" }, "details": { - "name": "Get Row", - "tooltip": "Gets the specified row" + "name": "Get Row" }, "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Row Index" + "name": "int" } } ], @@ -646,7 +530,7 @@ { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Vector4" + "name": "Vector 4" } } ] @@ -656,29 +540,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetInverseFast" + "tooltip": "When signaled, this will invoke Get Inverse Fast" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetInverseFast is invoked" + "tooltip": "Signaled after Get Inverse Fast is invoked" }, "details": { - "name": "GetInverseFast", - "tooltip": "Gets the inverse of the transformation represented by the matrix.\nThis function works for any matrix, even if they have scaling or skew.\nIf the 3x3 part of the matrix is orthogonal then \ref GetInverseFast is much faster" + "name": "Get Inverse Fast" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Inverse" + "name": "Matrix 3x 4" } } ] @@ -695,23 +570,13 @@ "tooltip": "Signaled after Get Orthogonalized is invoked" }, "details": { - "name": "Get Orthogonalized", - "tooltip": "Returns an orthogonal matrix based on this matrix" - + "name": "Get Orthogonalized" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Orthogonalized" + "name": "Matrix 3x 4" } } ] @@ -721,27 +586,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Multiply3x3" + "tooltip": "When signaled, this will invoke Multiply 3x 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after Multiply3x3 is invoked" + "tooltip": "Signaled after Multiply 3x 3 is invoked" }, "details": { - "name": "Multiply 3x3", - "tooltip": "Post-multiplies the matrix by a vector, using only the 3x3 part of the matrix" + "name": "Multiply 3x 3" }, "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Vector 3" } } ], @@ -749,7 +607,7 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Result" + "name": "Vector 3" } } ] @@ -766,22 +624,13 @@ "tooltip": "Signaled after Is Finite is invoked" }, "details": { - "name": "Is Finite", - "tooltip": "Checks whether the elements of the matrix are all finite" + "name": "Is Finite" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Is Finite" + "name": "bool" } } ] @@ -798,22 +647,13 @@ "tooltip": "Signaled after Create From Quaternion is invoked" }, "details": { - "name": "Create From Quaternion", - "tooltip": "Sets the matrix from a quaternion, with translation set to zero" + "name": "Create From Quaternion" }, - "params": [ - { - "typeid": "{73103120-3DD3-4873-BAB3-9713FA2804FB}", - "details": { - "name": "Quaternion" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -830,38 +670,37 @@ "tooltip": "Signaled after Set Basis And Translation is invoked" }, "details": { - "name": "Set Basis And Translation", - "tooltip": "Sets the three basis vectors and the translation" + "name": "Set Basis And Translation" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis X" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis Y" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis Z" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Translation" + "name": "Vector 3" } } ] @@ -871,27 +710,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Multiply Vector4" + "tooltip": "When signaled, this will invoke Multiply Vector 4" }, "exit": { "name": "Out", - "tooltip": "Signaled after Multiply Vector4 is invoked" + "tooltip": "Signaled after Multiply Vector 4 is invoked" }, "details": { - "name": "Multiply Vector4", - "tooltip": "Operator for transforming a Vector4" + "name": "Multiply Vector 4" }, "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - }, { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Vector4" + "name": "Vector 4" } } ], @@ -899,7 +731,7 @@ { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Result" + "name": "Vector 4" } } ] @@ -916,22 +748,13 @@ "tooltip": "Signaled after Create Scale is invoked" }, "details": { - "name": "Create Scale", - "tooltip": "Sets the matrix to be a scale matrix, with translation set to zero" + "name": "Create Scale" }, - "params": [ - { - "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", - "details": { - "name": "Scale" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -948,22 +771,13 @@ "tooltip": "Signaled after Create Diagonal is invoked" }, "details": { - "name": "Create Diagonal", - "tooltip": "Sets the matrix to be a diagonal matrix, with translation set to zero" + "name": "Create Diagonal" }, - "params": [ - { - "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", - "details": { - "name": "Diagonal" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -980,22 +794,13 @@ "tooltip": "Signaled after Get Translation is invoked" }, "details": { - "name": "Get Translation", - "tooltip": "Gets the translation" + "name": "Get Translation" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Translation" + "name": "Vector 3" } } ] @@ -1012,14 +817,13 @@ "tooltip": "Signaled after Invert Full is invoked" }, "details": { - "name": "Invert Full", - "tooltip": "Inverts the transformation represented by the matrix\nThis function works for any matrix, even if they have scaling or skew\nIf the 3x3 part of the matrix is orthogonal then \ref InvertFast is much faster" + "name": "Invert Full" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Inverted" + "name": "Matrix 3x 4" } } ] @@ -1036,38 +840,37 @@ "tooltip": "Signaled after Set Columns is invoked" }, "details": { - "name": "Set Columns", - "tooltip": "Sets all the columns of the matrix" + "name": "Set Columns" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 1" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 2" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 3" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 4" + "name": "Vector 3" } } ] @@ -1084,32 +887,31 @@ "tooltip": "Signaled after Set Element is invoked" }, "details": { - "name": "Set Element", - "tooltip": "Sets the element in the specified row and column\nAccessing individual elements can be slower than working with entire rows" + "name": "Set Element" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Row" + "name": "int" } }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Column" + "name": "int" } }, { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Value" + "name": "float" } } ] @@ -1126,20 +928,13 @@ "tooltip": "Signaled after Equal is invoked" }, "details": { - "name": "Equal", - "tooltip": "Compares if two Matrix3x4 are equal" + "name": "Equal" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "A" - } - }, - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "B" + "name": "Matrix 3x 4" } } ], @@ -1147,7 +942,7 @@ { "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", "details": { - "name": "Equal" + "name": "bool" } } ] @@ -1157,29 +952,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Determinant 3x3" + "tooltip": "When signaled, this will invoke Get Determinant 3x 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Determinant 3x3 is invoked" + "tooltip": "Signaled after Get Determinant 3x 3 is invoked" }, "details": { - "name": "Get Determinant 3x3", - "tooltip": "Calculates the determinant of the 3x3 part of the matrix" + "name": "Get Determinant 3x 3" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Determinant" + "name": "float" } } ] @@ -1196,38 +982,37 @@ "tooltip": "Signaled after Get Columns is invoked" }, "details": { - "name": "Get Columns", - "tooltip": "Gets all the columns of the matrix" + "name": "Get Columns" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 1" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 2" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 3" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column 4" + "name": "Vector 3" } } ] @@ -1237,39 +1022,38 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetRows" + "tooltip": "When signaled, this will invoke Set Rows" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetRows is invoked" + "tooltip": "Signaled after Set Rows is invoked" }, "details": { - "name": "SetRows", - "tooltip": "Sets all rows of the matrix" + "name": "Set Rows" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Row 1" + "name": "Vector 4" } }, { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Row 2" + "name": "Vector 4" } }, { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Row 3" + "name": "Vector 4" } } ] @@ -1286,20 +1070,13 @@ "tooltip": "Signaled after Get Multiplied By Scale is invoked" }, "details": { - "name": "Get Multiplied By Scale", - "tooltip": "Gets a copy of the Matrix3x4 and multiplies it by the specified scale" + "name": "Get Multiplied By Scale" }, "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Scale" + "name": "Vector 3" } } ], @@ -1307,7 +1084,7 @@ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -1317,29 +1094,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Create Rotation Z" + "tooltip": "When signaled, this will invoke Create RotationZ" }, "exit": { "name": "Out", - "tooltip": "Signaled after Create Rotation Z is invoked" + "tooltip": "Signaled after Create RotationZ is invoked" }, "details": { - "name": "CreateRotationZ", - "tooltip": "Sets the matrix to be a rotation around the Z-axis, specified in radians" + "name": "Create RotationZ" }, - "params": [ - { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", - "details": { - "name": "Angle (Radians)" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -1356,20 +1124,13 @@ "tooltip": "Signaled after Create From Quaternion And Translation is invoked" }, "details": { - "name": "Create From Quaternion And Translation", - "tooltip": "Sets the matrix from a quaternion and a translation" + "name": "Create From Quaternion And Translation" }, "params": [ - { - "typeid": "{73103120-3DD3-4873-BAB3-9713FA2804FB}", - "details": { - "name": "Quaternion" - } - }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Translation" + "name": "Vector 3" } } ], @@ -1377,7 +1138,7 @@ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -1387,27 +1148,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Get Row As Vector3" + "tooltip": "When signaled, this will invoke Get Row As Vector 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after Get Row As Vector3 is invoked" + "tooltip": "Signaled after Get Row As Vector 3 is invoked" }, "details": { - "name": "Get Row As Vector3", - "tooltip": "Gets the specified row as a Vector3" + "name": "Get Row As Vector 3" }, "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Row" + "name": "int" } } ], @@ -1415,7 +1169,7 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Result" + "name": "Vector 3" } } ] @@ -1425,35 +1179,51 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Multiply Matrix3x4" + "tooltip": "When signaled, this will invoke Multiply Matrix 3x 4" }, "exit": { "name": "Out", - "tooltip": "Signaled after Multiply Matrix3x4 is invoked" + "tooltip": "Signaled after Multiply Matrix 3x 4 is invoked" }, "details": { - "name": "Multiply Matrix3x4", - "tooltip": "Operator for matrix-matrix multiplication" + "name": "Multiply Matrix 3x 4" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } - }, + } + ], + "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Multiplicand" + "name": "Matrix 3x 4" } } - ], + ] + }, + { + "base": "UnsafeCreateFromMatrix4x4", + "context": "Matrix3x4", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Unsafe Create From Matrix 4x 4" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Unsafe Create From Matrix 4x 4 is invoked" + }, + "details": { + "name": "Unsafe Create From Matrix 4x 4" + }, "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -1470,32 +1240,31 @@ "tooltip": "Signaled after Get Rows is invoked" }, "details": { - "name": "GetRows", - "tooltip": "Gets all rows of the matrix" + "name": "Get Rows" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Row 1" + "name": "Vector 4" } }, { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Row 2" + "name": "Vector 4" } }, { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Row 3" + "name": "Vector 4" } } ] @@ -1512,22 +1281,13 @@ "tooltip": "Signaled after Clone is invoked" }, "details": { - "name": "Clone", - "tooltip": "Returns a deep copy of the provided Matrix3x4" + "name": "Clone" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Clone" + "name": "Matrix 3x 4" } } ] @@ -1537,27 +1297,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Multiply Vector3" + "tooltip": "When signaled, this will invoke Multiply Vector 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after Multiply Vector3 is invoked" + "tooltip": "Signaled after Multiply Vector 3 is invoked" }, "details": { - "name": "Multiply Vector3", - "tooltip": "perator for transforming a Vector3" + "name": "Multiply Vector 3" }, "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Vector3" + "name": "Vector 3" } } ], @@ -1565,7 +1318,7 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Result" + "name": "Vector 3" } } ] @@ -1582,14 +1335,13 @@ "tooltip": "Signaled after Create Identity is invoked" }, "details": { - "name": "Create Identity", - "tooltip": "Creates an identity Matrix3x4" + "name": "Create Identity" }, "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -1599,45 +1351,44 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke GetBasisAndTranslation" + "tooltip": "When signaled, this will invoke Get Basis And Translation" }, "exit": { "name": "Out", - "tooltip": "Signaled after GetBasisAndTranslation is invoked" + "tooltip": "Signaled after Get Basis And Translation is invoked" }, "details": { - "name": "GetBasisAndTranslation", - "tooltip": "Gets the three basis vectors and the translation" + "name": "Get Basis And Translation" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis X" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis Y" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis Z" + "name": "Vector 3" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Translation" + "name": "Vector 3" } } ] @@ -1654,22 +1405,13 @@ "tooltip": "Signaled after Create From Value is invoked" }, "details": { - "name": "Create From Value", - "tooltip": "Constructs a matrix with all components set to the specified value" + "name": "Create From Value" }, - "params": [ - { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", - "details": { - "name": "Value" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -1686,26 +1428,19 @@ "tooltip": "Signaled after Get Element is invoked" }, "details": { - "name": "Get Element", - "tooltip": "Gets the element in the specified row and column\nAccessing individual elements can be slower than working with entire rows" + "name": "Get Element" }, "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Row" + "name": "int" } }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Column" + "name": "int" } } ], @@ -1713,7 +1448,7 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Value" + "name": "float" } } ] @@ -1723,21 +1458,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Transpose 3x3" + "tooltip": "When signaled, this will invoke Transpose 3x 3" }, "exit": { "name": "Out", - "tooltip": "Signaled after Transpose 3x3 is invoked" + "tooltip": "Signaled after Transpose 3x 3 is invoked" }, "details": { - "name": "Transpose 3x3", - "tooltip": "Gets the matrix obtained by transposing the 3x3 part of the matrix, leaving the translation untouched" + "name": "Transpose 3x 3" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } } ] @@ -1754,14 +1488,13 @@ "tooltip": "Signaled after Transpose is invoked" }, "details": { - "name": "Transpose", - "tooltip": "Transposes the 3x3 part of the matrix, and sets the translation part to zero" + "name": "Transpose" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } } ] @@ -1771,29 +1504,20 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke Create Rotation Y" + "tooltip": "When signaled, this will invoke Create RotationY" }, "exit": { "name": "Out", - "tooltip": "Signaled after Create Rotation Y is invoked" + "tooltip": "Signaled after Create RotationY is invoked" }, "details": { - "name": "Create Rotation Y", - "tooltip": "Sets the matrix to be a rotation around the Y-axis, specified in radians" + "name": "Create RotationY" }, - "params": [ - { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", - "details": { - "name": "Angle (Radians)" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -1803,33 +1527,32 @@ "context": "Matrix3x4", "entry": { "name": "In", - "tooltip": "When signaled, this will invoke SetRow" + "tooltip": "When signaled, this will invoke Set Row" }, "exit": { "name": "Out", - "tooltip": "Signaled after SetRow is invoked" + "tooltip": "Signaled after Set Row is invoked" }, "details": { - "name": "Set Row", - "tooltip": "Sets the specified row" + "name": "Set Row" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Row Index" + "name": "int" } }, { "typeid": "{0CE9FA36-1E3A-4C06-9254-B7C73A732053}", "details": { - "name": "Vector4" + "name": "Vector 4" } } ] @@ -1846,22 +1569,13 @@ "tooltip": "Signaled after Get Inverse Full is invoked" }, "details": { - "name": "Get Inverse Full", - "tooltip": "Gets the inverse of the transformation represented by the matrix\nThis function works for any matrix, even if they have scaling or skew\nIf the 3x3 part of the matrix is orthogonal then \ref GetInverseFast is much faster" + "name": "Get Inverse Full" }, - "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - } - ], "results": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Result" + "name": "Matrix 3x 4" } } ] @@ -1878,20 +1592,13 @@ "tooltip": "Signaled after Get Column is invoked" }, "details": { - "name": "Get Column", - "tooltip": "Gets the specified column" + "name": "Get Column" }, "params": [ - { - "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", - "details": { - "name": "Source" - } - }, { "typeid": "{72039442-EB38-4D42-A1AD-CB68F7E0EEF6}", "details": { - "name": "Column Index" + "name": "int" } } ], @@ -1899,7 +1606,7 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Column" + "name": "Vector 3" } } ] @@ -1916,35 +1623,46 @@ "tooltip": "Signaled after Set Translation is invoked" }, "details": { - "name": "Set Translation", - "tooltip": "Sets the translation" + "name": "Set Translation" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Translation" + "name": "Vector 3" } } ] }, { - "base": "basisX", + "base": "GetbasisX", "context": "Getter", "details": { - "name": "Get Basis X" + "name": "GetbasisX" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" + } + }, + { + "typeid": "", + "details": { + "name": "basisX" + } + }, + { + "typeid": "", + "details": { + "name": "" } } ], @@ -1952,43 +1670,55 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis X" + "name": "Vector 3" } } ] }, { - "base": "basisX", + "base": "SetbasisX", "context": "Setter", "details": { - "name": "Set Basis X" + "name": "SetbasisX" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis X" + "name": "basisX" } } ] }, { - "base": "basisY", + "base": "GetbasisY", "context": "Getter", "details": { - "name": "Get Basis Y" + "name": "GetbasisY" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" + } + }, + { + "typeid": "", + "details": { + "name": "basisY" + } + }, + { + "typeid": "", + "details": { + "name": "" } } ], @@ -1996,43 +1726,55 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis Y" + "name": "Vector 3" } } ] }, { - "base": "basisY", + "base": "SetbasisY", "context": "Setter", "details": { - "name": "Set Basis Y" + "name": "SetbasisY" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis Y" + "name": "basisY" } } ] }, { - "base": "basisZ", + "base": "GetbasisZ", "context": "Getter", "details": { - "name": "Get Basis Z" + "name": "GetbasisZ" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" + } + }, + { + "typeid": "", + "details": { + "name": "basisZ" + } + }, + { + "typeid": "", + "details": { + "name": "" } } ], @@ -2040,43 +1782,55 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis Z" + "name": "Vector 3" } } ] }, { - "base": "basisZ", + "base": "SetbasisZ", "context": "Setter", "details": { - "name": "Set Basis Z" + "name": "SetbasisZ" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Basis Z" + "name": "basisZ" } } ] }, { - "base": "translation", + "base": "Gettranslation", "context": "Getter", "details": { - "name": "Get Translation" + "name": "Gettranslation" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" + } + }, + { + "typeid": "", + "details": { + "name": "translation" + } + }, + { + "typeid": "", + "details": { + "name": "" } } ], @@ -2084,28 +1838,28 @@ { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Translation" + "name": "Vector 3" } } ] }, { - "base": "translation", + "base": "Settranslation", "context": "Setter", "details": { - "name": "Set Translation" + "name": "Settranslation" }, "params": [ { "typeid": "{1906D8A5-7DEC-4DE3-A606-9E53BB3459E7}", "details": { - "name": "Source" + "name": "Matrix 3x 4" } }, { "typeid": "{8379EB7D-01FA-4538-B64B-A6543B4BE73D}", "details": { - "name": "Translation" + "name": "translation" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponent.names new file mode 100644 index 0000000000..22636e0453 --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponent.names @@ -0,0 +1,438 @@ +{ + "entries": [ + { + "base": "NetworkTestPlayerComponent", + "context": "BehaviorClass", + "variant": "", + "details": { + "name": "Network Test Player Component" + }, + "methods": [ + { + "base": "AutonomousToAuthority", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Autonomous To Authority" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Autonomous To Authority is invoked" + }, + "details": { + "name": "Autonomous To Authority" + }, + "params": [ + { + "typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}", + "details": { + "name": "Network Test Player Component" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "float" + } + } + ] + }, + { + "base": "ServerToAuthority", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Server To Authority" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Server To Authority is invoked" + }, + "details": { + "name": "Server To Authority" + }, + "params": [ + { + "typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}", + "details": { + "name": "Network Test Player Component" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "float" + } + } + ] + }, + { + "base": "AutonomousToAuthorityByEntityId", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Autonomous To Authority By Entity Id" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Autonomous To Authority By Entity Id is invoked" + }, + "details": { + "name": "Autonomous To Authority By Entity Id" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Source", + "tooltip": "The Source containing the NetworkTestPlayerComponentController" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "some Float" + } + } + ] + }, + { + "base": "ServerToAuthorityByEntityId", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Server To Authority By Entity Id" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Server To Authority By Entity Id is invoked" + }, + "details": { + "name": "Server To Authority By Entity Id" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Source", + "tooltip": "The Source containing the NetworkTestPlayerComponentController" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "some Float" + } + } + ] + }, + { + "base": "AutonomousToAuthorityNoParams", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Autonomous To Authority No Params" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Autonomous To Authority No Params is invoked" + }, + "details": { + "name": "Autonomous To Authority No Params" + }, + "params": [ + { + "typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}", + "details": { + "name": "Network Test Player Component" + } + } + ] + }, + { + "base": "AuthorityToAutonomous", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Authority To Autonomous" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Authority To Autonomous is invoked" + }, + "details": { + "name": "Authority To Autonomous" + }, + "params": [ + { + "typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}", + "details": { + "name": "Network Test Player Component" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "float" + } + } + ] + }, + { + "base": "AuthorityToClientNoParams", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Authority To Client No Params" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Authority To Client No Params is invoked" + }, + "details": { + "name": "Authority To Client No Params" + }, + "params": [ + { + "typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}", + "details": { + "name": "Network Test Player Component" + } + } + ] + }, + { + "base": "AuthorityToClientByEntityId", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Authority To Client By Entity Id" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Authority To Client By Entity Id is invoked" + }, + "details": { + "name": "Authority To Client By Entity Id" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Source", + "tooltip": "The Source containing the NetworkTestPlayerComponentController" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "some Float" + } + } + ] + }, + { + "base": "AuthorityToClient", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Authority To Client" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Authority To Client is invoked" + }, + "details": { + "name": "Authority To Client" + }, + "params": [ + { + "typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}", + "details": { + "name": "Network Test Player Component" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "float" + } + } + ] + }, + { + "base": "AuthorityToAutonomousNoParams", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Authority To Autonomous No Params" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Authority To Autonomous No Params is invoked" + }, + "details": { + "name": "Authority To Autonomous No Params" + }, + "params": [ + { + "typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}", + "details": { + "name": "Network Test Player Component" + } + } + ] + }, + { + "base": "ServerToAuthorityNoParamByEntityId", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Server To Authority No Param By Entity Id" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Server To Authority No Param By Entity Id is invoked" + }, + "details": { + "name": "Server To Authority No Param By Entity Id" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Source", + "tooltip": "The Source containing the NetworkTestPlayerComponentController" + } + } + ] + }, + { + "base": "AuthorityToClientNoParamsByEntityId", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Authority To Client No Params By Entity Id" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Authority To Client No Params By Entity Id is invoked" + }, + "details": { + "name": "Authority To Client No Params By Entity Id" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Source", + "tooltip": "The Source containing the NetworkTestPlayerComponentController" + } + } + ] + }, + { + "base": "AuthorityToAutonomousByEntityId", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Authority To Autonomous By Entity Id" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Authority To Autonomous By Entity Id is invoked" + }, + "details": { + "name": "Authority To Autonomous By Entity Id" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Source", + "tooltip": "The Source containing the NetworkTestPlayerComponentController" + } + }, + { + "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", + "details": { + "name": "some Float" + } + } + ] + }, + { + "base": "AutonomousToAuthorityNoParamsByEntityId", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Autonomous To Authority No Params By Entity Id" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Autonomous To Authority No Params By Entity Id is invoked" + }, + "details": { + "name": "Autonomous To Authority No Params By Entity Id" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Source", + "tooltip": "The Source containing the NetworkTestPlayerComponentController" + } + } + ] + }, + { + "base": "AuthorityToAutonomousNoParamsByEntityId", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Authority To Autonomous No Params By Entity Id" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Authority To Autonomous No Params By Entity Id is invoked" + }, + "details": { + "name": "Authority To Autonomous No Params By Entity Id" + }, + "params": [ + { + "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", + "details": { + "name": "Source", + "tooltip": "The Source containing the NetworkTestPlayerComponentController" + } + } + ] + }, + { + "base": "ServerToAuthorityNoParam", + "context": "NetworkTestPlayerComponent", + "entry": { + "name": "In", + "tooltip": "When signaled, this will invoke Server To Authority No Param" + }, + "exit": { + "name": "Out", + "tooltip": "Signaled after Server To Authority No Param is invoked" + }, + "details": { + "name": "Server To Authority No Param" + }, + "params": [ + { + "typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}", + "details": { + "name": "Network Test Player Component" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponentNetworkInput.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponentNetworkInput.names index 011315360d..d8c016db0f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponentNetworkInput.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/NetworkTestPlayerComponentNetworkInput.names @@ -5,8 +5,7 @@ "context": "BehaviorClass", "variant": "", "details": { - "name": "Network Test Player Component Network Input", - "category": "Automated Testing" + "name": "Network Test Player Component Network Input" }, "methods": [ { @@ -27,13 +26,7 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Forward Back" - } - }, - { - "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", - "details": { - "name": "Left Right" + "name": "left Right" } } ], @@ -47,9 +40,9 @@ ] }, { - "base": "FwdBack", + "base": "GetFwdBack", "details": { - "name": "Get Forward Back" + "name": "Get Fwd Back" }, "params": [ { @@ -63,15 +56,15 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Forward Back" + "name": "Fwd Back" } } ] }, { - "base": "FwdBack", + "base": "SetFwdBack", "details": { - "name": "Set Forward Back" + "name": "Set Fwd Back" }, "params": [ { @@ -83,13 +76,13 @@ { "typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}", "details": { - "name": "Forward Back" + "name": "Fwd Back" } } ] }, { - "base": "LeftRight", + "base": "GetLeftRight", "details": { "name": "Get Left Right" }, @@ -111,7 +104,7 @@ ] }, { - "base": "LeftRight", + "base": "SetLeftRight", "details": { "name": "Set Left Right" }, diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceShapeConfig.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceShapeConfig.names index c312519f02..d52ef119df 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceShapeConfig.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/ReferenceShapeConfig.names @@ -5,19 +5,32 @@ "context": "BehaviorClass", "variant": "", "details": { - "name": "ReferenceShapeConfig" + "name": "Reference Shape Config" }, "methods": [ { - "base": "shapeEntityId", + "base": "GetshapeEntityId", + "context": "Getter", "details": { - "name": "ReferenceShapeConfig::shapeEntityId::Getter" + "name": "Getshape Entity Id" }, "params": [ { "typeid": "{3E49974D-2EE0-4AF9-92B9-229A22B515C3}", "details": { - "name": "ReferenceShapeConfig*" + "name": "Vegetation Reference Shape" + } + }, + { + "typeid": "", + "details": { + "name": "shape Entity Id" + } + }, + { + "typeid": "", + "details": { + "name": "" } } ], @@ -25,28 +38,29 @@ { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "EntityId&", + "name": "Entity Id", "tooltip": "Entity Unique Id" } } ] }, { - "base": "shapeEntityId", + "base": "SetshapeEntityId", + "context": "Setter", "details": { - "name": "ReferenceShapeConfig::shapeEntityId::Setter" + "name": "Setshape Entity Id" }, "params": [ { "typeid": "{3E49974D-2EE0-4AF9-92B9-229A22B515C3}", "details": { - "name": "ReferenceShapeConfig*" + "name": "Vegetation Reference Shape" } }, { "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", "details": { - "name": "const EntityId&", + "name": "shape Entity Id", "tooltip": "Entity Unique Id" } } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Unit Testing.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Unit Testing.names deleted file mode 100644 index 160f0563c1..0000000000 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Classes/Unit Testing.names +++ /dev/null @@ -1,471 +0,0 @@ -{ - "entries": [ - { - "base": "Unit Testing", - "context": "BehaviorClass", - "variant": "", - "details": { - "name": "Unit Testing", - "category": "Tests" - }, - "methods": [ - { - "base": "ExpectLessThanEqual", - "context": "Unit Testing", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke ExpectLessThanEqual" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after ExpectLessThanEqual is invoked" - }, - "details": { - "name": "Expect Less Than Equal", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", - "details": { - "name": "Candidate" - } - }, - { - "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", - "details": { - "name": "Reference" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "Report" - } - } - ] - }, - { - "base": "ExpectGreaterThanEqual", - "context": "Unit Testing", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke ExpectGreaterThanEqual" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after ExpectGreaterThanEqual is invoked" - }, - "details": { - "name": "Unit Testing::Expect Greater Than Equal", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", - "details": { - "name": "Candidate" - } - }, - { - "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", - "details": { - "name": "Reference" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "Report" - } - } - ] - }, - { - "base": "MarkComplete", - "context": "Unit Testing", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke MarkComplete" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after MarkComplete is invoked" - }, - "details": { - "name": "Mark Complete", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "Report" - } - } - ] - }, - { - "base": "ExpectTrue", - "context": "Unit Testing", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke ExpectTrue" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after ExpectTrue is invoked" - }, - "details": { - "name": "Expect True", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", - "details": { - "name": "Candidate" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "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", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "Report" - } - } - ] - }, - { - "base": "ExpectFalse", - "context": "Unit Testing", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke ExpectFalse" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after ExpectFalse is invoked" - }, - "details": { - "name": "Expect False", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{A0CA880C-AFE4-43CB-926C-59AC48496112}", - "details": { - "name": "Candidate" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "Report" - } - } - ] - }, - { - "base": "ExpectEqual", - "context": "Unit Testing", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke ExpectEqual" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after ExpectEqual is invoked" - }, - "details": { - "name": "Expect Equal", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", - "details": { - "name": "Candidate" - } - }, - { - "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", - "details": { - "name": "Reference" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "Report" - } - } - ] - }, - { - "base": "ExpectLessThan", - "context": "Unit Testing", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke ExpectLessThan" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after ExpectLessThan is invoked" - }, - "details": { - "name": "Expect Less Than", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", - "details": { - "name": "Candidate" - } - }, - { - "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", - "details": { - "name": "Reference" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "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", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "Report" - } - } - ] - }, - { - "base": "ExpectNotEqual", - "context": "Unit Testing", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke ExpectNotEqual" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after ExpectNotEqual is invoked" - }, - "details": { - "name": "Expect Not Equal", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", - "details": { - "name": "Aabb" - } - }, - { - "typeid": "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}", - "details": { - "name": "Aabb" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "Report" - } - } - ] - }, - { - "base": "ExpectGreaterThan", - "context": "Unit Testing", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke ExpectGreaterThan" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after ExpectGreaterThan is invoked" - }, - "details": { - "name": "Expect Greater Than", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", - "details": { - "name": "double" - } - }, - { - "typeid": "{110C4B14-11A8-4E9D-8638-5051013A56AC}", - "details": { - "name": "double" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "Report" - } - } - ] - }, - { - "base": "AddFailure", - "context": "Unit Testing", - "entry": { - "name": "In", - "tooltip": "When signaled, this will invoke AddFailure" - }, - "exit": { - "name": "Out", - "tooltip": "Signaled after AddFailure is invoked" - }, - "details": { - "name": "Add Failure", - "category": "Other" - }, - "params": [ - { - "typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}", - "details": { - "name": "Entity Id", - "tooltip": "Entity Unique Id" - } - }, - { - "typeid": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9}", - "details": { - "name": "Report" - } - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_AddElementatEnd.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_AddElementatEnd.names index 30d402f254..2b32364681 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_AddElementatEnd.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_AddElementatEnd.names @@ -7,31 +7,30 @@ "details": { "name": "Add Element at End", "category": "Containers", - "tooltip": "Adds the provided element at the end of the container", - "subtitle": "Containers" + "tooltip": "Adds the provided element at the end of the container" }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Container", + "base": "DataOutput_Container_0", "details": { "name": "Container" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 4e071c5e32..fad702a8f4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ClearAllElements.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ClearAllElements.names @@ -7,30 +7,29 @@ "details": { "name": "Clear All Elements", "category": "Containers", - "tooltip": "Eliminates all the elements in the container", - "subtitle": "Containers" + "tooltip": "Eliminates all the elements in the container" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Container", + "base": "DataOutput_Container_0", "details": { "name": "Container" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Erase.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Erase.names index 601836b23d..eb5c846fc8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Erase.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Erase.names @@ -7,38 +7,37 @@ "details": { "name": "Erase", "category": "Containers", - "tooltip": "Erase the element at the specified Index or with the specified Key", - "subtitle": "Containers" + "tooltip": "Erase the element at the specified Index or with the specified Key" }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Container", + "base": "DataOutput_Container_0", "details": { "name": "Container" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Output signal" } }, { - "base": "Output_Element Not Found", + "base": "Output_Element Not Found_1", "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 817bbf8e17..d20095fcf4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ForEach.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_ForEach.names @@ -11,34 +11,34 @@ }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signaled upon node entry" } }, { - "base": "Input_Break", + "base": "Input_Break_1", "details": { "name": "Break", "tooltip": "Stops the iteration when signaled" } }, { - "base": "Output_Each", + "base": "Output_Each_0", "details": { "name": "Each", "tooltip": "Signalled after each element of the container" } }, { - "base": "Output_Finished", + "base": "Output_Finished_1", "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 fab464a029..0eba48907e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetElement.names @@ -7,32 +7,31 @@ "details": { "name": "Get Element", "category": "Containers", - "tooltip": "Returns the element at the specified Index or Key", - "subtitle": "Containers" + "tooltip": "Returns the element at the specified Index or Key" }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Output signal" } }, { - "base": "Output_Key Not Found", + "base": "Output_Key Not Found_1", "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 fa616642b4..ebbbcfeb31 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetFirstElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetFirstElement.names @@ -7,25 +7,24 @@ "details": { "name": "Get First Element", "category": "Containers", - "tooltip": "Retrieves the first element in the container", - "subtitle": "Containers" + "tooltip": "Retrieves the first element in the container" }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 2c13a87d7b..715fedfff5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetLastElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetLastElement.names @@ -7,25 +7,24 @@ "details": { "name": "Get Last Element", "category": "Containers", - "tooltip": "Get Last Element", - "subtitle": "Containers" + "tooltip": "Get Last Element" }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 1f7dbdad03..20c6ae2825 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetSize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_GetSize.names @@ -7,30 +7,29 @@ "details": { "name": "Get Size", "category": "Containers", - "tooltip": "Get the number of elements in the specified container", - "subtitle": "Containers" + "tooltip": "Get the number of elements in the specified container" }, "slots": [ { - "base": "DataOutput_Size", + "base": "DataOutput_Size_0", "details": { "name": "Size" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Insert.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Insert.names index 347510eeeb..abf140df6f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Insert.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_Insert.names @@ -7,31 +7,30 @@ "details": { "name": "Insert", "category": "Containers", - "tooltip": "Inserts an element into the container at the specified Index or Key", - "subtitle": "Containers" + "tooltip": "Inserts an element into the container at the specified Index or Key" }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Container", + "base": "DataOutput_Container_0", "details": { "name": "Container" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 a3254521e2..9b87e1d329 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_IsEmpty.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Containers_IsEmpty.names @@ -7,44 +7,43 @@ "details": { "name": "Is Empty", "category": "Containers", - "tooltip": "Returns whether the container is empty", - "subtitle": "Containers" + "tooltip": "Returns whether the container is empty" }, "slots": [ { - "base": "DataOutput_Is Empty", + "base": "DataOutput_Is Empty_0", "details": { "name": "Is Empty" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "Output_True", + "base": "Output_True_1", "details": { "name": "True", "tooltip": "The container is empty" } }, { - "base": "Output_False", + "base": "Output_False_2", "details": { "name": "False", "tooltip": "The container is not empty" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_AZEventHandler.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_AZEventHandler.names index af1e8efe7a..bfd0c9954a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_AZEventHandler.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_AZEventHandler.names @@ -11,35 +11,35 @@ }, "slots": [ { - "base": "Input_Connect", + "base": "Input_Connect_0", "details": { "name": "Connect", "tooltip": "Connect the AZ Event to this AZ Event Handler." } }, { - "base": "Input_Disconnect", + "base": "Input_Disconnect_1", "details": { "name": "Disconnect", "tooltip": "Disconnect current AZ Event from this AZ Event Handler." } }, { - "base": "Output_On Connected", + "base": "Output_On Connected_0", "details": { "name": "On Connected", "tooltip": "Signaled when a connection has taken place." } }, { - "base": "Output_On Disconnected", + "base": "Output_On Disconnected_1", "details": { "name": "On Disconnected", "tooltip": "Signaled when this event handler is disconnected." } }, { - "base": "Output_OnEvent", + "base": "Output_OnEvent_2", "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 1a09bb23d9..1cde29ec96 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_EventHandler.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_EventHandler.names @@ -11,35 +11,35 @@ }, "slots": [ { - "base": "Input_Connect", + "base": "Input_Connect_0", "details": { "name": "Connect", "tooltip": "Connect this event handler to the specified entity." } }, { - "base": "Input_Disconnect", + "base": "Input_Disconnect_1", "details": { "name": "Disconnect", "tooltip": "Disconnect this event handler." } }, { - "base": "Output_OnConnected", + "base": "Output_OnConnected_0", "details": { "name": "OnConnected", "tooltip": "Signaled when a connection has taken place." } }, { - "base": "Output_OnDisconnected", + "base": "Output_OnDisconnected_1", "details": { "name": "OnDisconnected", "tooltip": "Signaled when this event handler is disconnected." } }, { - "base": "Output_OnFailure", + "base": "Output_OnFailure_2", "details": { "name": "OnFailure", "tooltip": "Signaled when it is not possible to connect this handler." diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionDefinition.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionDefinition.names index da666253e6..3c9379ef22 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionDefinition.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_FunctionDefinition.names @@ -7,18 +7,17 @@ "details": { "name": "Function Definition", "category": "Core", - "tooltip": "Represents either an execution entry or exit node.", - "subtitle": "Core" + "tooltip": "Represents either an execution entry or exit node." }, "slots": [ { - "base": "Input_ ", + "base": "Input_ _0", "details": { "name": " " } }, { - "base": "Output_ ", + "base": "Output_ _0", "details": { "name": " " } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_MethodOverloaded.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_MethodOverloaded.names index 8c778bf0b6..62a4d815a5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_MethodOverloaded.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_MethodOverloaded.names @@ -5,7 +5,7 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "MethodOverloaded", + "name": "Method Overloaded", "category": "Core", "tooltip": "MethodOverloaded" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Nodeling.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Nodeling.names index 58dd499c58..99ed9ebda3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Nodeling.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_Nodeling.names @@ -7,8 +7,7 @@ "details": { "name": "Nodeling", "category": "Core", - "tooltip": "Represents either an execution entry or exit node", - "subtitle": "Core" + "tooltip": "Represents either an execution entry or exit node" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_ReceiveScriptEvent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_ReceiveScriptEvent.names index ee0a92ccae..685dd56da2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_ReceiveScriptEvent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_ReceiveScriptEvent.names @@ -11,35 +11,35 @@ }, "slots": [ { - "base": "Input_Connect", + "base": "Input_Connect_0", "details": { "name": "Connect", "tooltip": "Connect this event handler to the specified entity." } }, { - "base": "Input_Disconnect", + "base": "Input_Disconnect_1", "details": { "name": "Disconnect", "tooltip": "Disconnect this event handler." } }, { - "base": "Output_OnConnected", + "base": "Output_OnConnected_0", "details": { "name": "OnConnected", "tooltip": "Signaled when a connection has taken place." } }, { - "base": "Output_OnDisconnected", + "base": "Output_OnDisconnected_1", "details": { "name": "OnDisconnected", "tooltip": "Signaled when this event handler is disconnected." } }, { - "base": "Output_OnFailure", + "base": "Output_OnFailure_2", "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 d5faa52c52..52d949446c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_SendScriptEvent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Core_SendScriptEvent.names @@ -11,14 +11,14 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Fires the specified ScriptEvent when signaled" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 e78805904d..46833c3e0c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Add.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Add.names @@ -7,38 +7,37 @@ "details": { "name": "Add", "category": "Deprecated", - "tooltip": "This node is deprecated, use Add (+), it provides contextual type and slots", - "subtitle": "Deprecated" + "tooltip": "This node is deprecated, use Add (+), it provides contextual type and slots" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Matrix3x3: A", + "base": "DataInput_A_0", "details": { - "name": "Matrix3x3: A" + "name": "A" } }, { - "base": "DataInput_Matrix3x3: B", + "base": "DataInput_B_1", "details": { - "name": "Matrix3x3: B" + "name": "B" } }, { - "base": "DataOutput_Result: Matrix3x3", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Matrix3x3" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByNumber.names index 32e7e9b9ca..be77f24b3d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByNumber.names @@ -5,40 +5,39 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "DivideByNumber", + "name": "Divide By Number", "category": "Deprecated", - "tooltip": "returns matrix created from multiply the source matrix by 1/Divisor", - "subtitle": "Deprecated" + "tooltip": "returns matrix created from multiply the source matrix by 1/Divisor" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Matrix3x3: Source", + "base": "DataInput_Source_0", "details": { - "name": "Matrix3x3: Source" + "name": "Source" } }, { - "base": "DataInput_Number: Divisor", + "base": "DataInput_Divisor_1", "details": { - "name": "Number: Divisor" + "name": "Divisor" } }, { - "base": "DataOutput_Result: Matrix3x3", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Matrix3x3" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByVector.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByVector.names index d0fbd8fefb..9eebba003c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByVector.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_DivideByVector.names @@ -1,44 +1,43 @@ { "entries": [ { - "base": "{57BA2085-2225-5E7E-B132-9CCD0AFC55EA}", + "base": "{DF3A38B7-2C72-5CE5-BB8C-3293C7431F60}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "DivideByVector", + "name": "Divide By Vector", "category": "Deprecated", - "tooltip": "This node is deprecated, use Divide (/), it provides contextual type and slot configurations.", - "subtitle": "Deprecated" + "tooltip": "This node is deprecated, use Divide (/), it provides contextual type and slots" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector3: Numerator", + "base": "DataInput_Numerator_0", "details": { - "name": "Vector3: Numerator" + "name": "Numerator" } }, { - "base": "DataInput_Vector3: Divisor", + "base": "DataInput_Divisor_1", "details": { - "name": "Vector3: Divisor" + "name": "Divisor" } }, { - "base": "DataOutput_Result: Vector3", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Vector3" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Length.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Length.names index 1f534b7480..4e38b41d29 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Length.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Length.names @@ -7,32 +7,31 @@ "details": { "name": "Length", "category": "Deprecated", - "tooltip": "This node is deprecated, use the Length node, it provides contextual type and slot configurations", - "subtitle": "Deprecated" + "tooltip": "This node is deprecated, use the Length node, it provides contextual type and slot configurations" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Quaternion: Source", + "base": "DataInput_Source_0", "details": { - "name": "Quaternion: Source" + "name": "Source" } }, { - "base": "DataOutput_Result: Number", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Number" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByColor.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByColor.names index b5330e253a..b25bb7779d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByColor.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByColor.names @@ -5,40 +5,39 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "MultiplyByColor", + "name": "Multiply By Color", "category": "Deprecated", - "tooltip": "This node is deprecated, use Multiply (*), it provides contextual type and slots", - "subtitle": "Deprecated" + "tooltip": "This node is deprecated, use Multiply (*), it provides contextual type and slots" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Color: A", + "base": "DataInput_A_0", "details": { - "name": "Color: A" + "name": "A" } }, { - "base": "DataInput_Color: B", + "base": "DataInput_B_1", "details": { - "name": "Color: B" + "name": "B" } }, { - "base": "DataOutput_Result: Color", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Color" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByMatrix.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByMatrix.names index 934d7deea7..82002c339e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByMatrix.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByMatrix.names @@ -1,44 +1,43 @@ { "entries": [ { - "base": "{FDB0FF00-F185-5CCF-851A-BBD5116C43EC}", + "base": "{29187DB1-2573-5243-86EB-190B64E00C54}", "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "MultiplyByMatrix", + "name": "Multiply By Matrix", "category": "Deprecated", - "tooltip": "This node is deprecated, use Multiply (*), it provides contextual type and slots", - "subtitle": "Deprecated" + "tooltip": "This node is deprecated, use Multiply (*), it provides contextual type and slots" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Matrix3x3: A", + "base": "DataInput_A_0", "details": { - "name": "Matrix3x3: A" + "name": "A" } }, { - "base": "DataInput_Matrix3x3: B", + "base": "DataInput_B_1", "details": { - "name": "Matrix3x3: B" + "name": "B" } }, { - "base": "DataOutput_Result: Matrix3x3", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Matrix3x3" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByRotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByRotation.names index fa8a381927..5427a3bc28 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByRotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByRotation.names @@ -5,40 +5,39 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "MultiplyByRotation", + "name": "Multiply By Rotation", "category": "Deprecated", - "tooltip": "This node is deprecated, use Multiply (*), it provides contextual type and slots", - "subtitle": "Deprecated" + "tooltip": "This node is deprecated, use Multiply (*), it provides contextual type and slots" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Quaternion: A", + "base": "DataInput_A_0", "details": { - "name": "Quaternion: A" + "name": "A" } }, { - "base": "DataInput_Quaternion: B", + "base": "DataInput_B_1", "details": { - "name": "Quaternion: B" + "name": "B" } }, { - "base": "DataOutput_Result: Quaternion", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Quaternion" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByTransform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByTransform.names index 946f79aa5e..85c90f19b5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByTransform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByTransform.names @@ -5,40 +5,39 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "MultiplyByTransform", + "name": "Multiply By Transform", "category": "Deprecated", - "tooltip": "This node is deprecated, use Multiply (*), it provides contextual type and slots", - "subtitle": "Deprecated" + "tooltip": "This node is deprecated, use Multiply (*), it provides contextual type and slots" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Transform: A", + "base": "DataInput_A_0", "details": { - "name": "Transform: A" + "name": "A" } }, { - "base": "DataInput_Transform: B", + "base": "DataInput_B_1", "details": { - "name": "Transform: B" + "name": "B" } }, { - "base": "DataOutput_Result: Transform", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Transform" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByVector.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByVector.names index 70747caf68..1ec5c980e7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByVector.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_MultiplyByVector.names @@ -5,40 +5,39 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "MultiplyByVector", + "name": "Multiply By Vector", "category": "Deprecated", - "tooltip": "This node is deprecated, use Multiply (*), it provides contextual type and slots", - "subtitle": "Deprecated" + "tooltip": "This node is deprecated, use Multiply (*), it provides contextual type and slots" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector4: Source", + "base": "DataInput_Source_0", "details": { - "name": "Vector4: Source" + "name": "Source" } }, { - "base": "DataInput_Vector4: Multiplier", + "base": "DataInput_Multiplier_1", "details": { - "name": "Vector4: Multiplier" + "name": "Multiplier" } }, { - "base": "DataOutput_Result: Vector4", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Vector4" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Negate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Negate.names index 4f209d49d4..134425dd02 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Negate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Negate.names @@ -7,32 +7,31 @@ "details": { "name": "Negate", "category": "Deprecated", - "tooltip": "returns Source with every element multiplied by -1", - "subtitle": "Deprecated" + "tooltip": "returns Source with every element multiplied by -1" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Color: Source", + "base": "DataInput_Source_0", "details": { - "name": "Color: Source" + "name": "Source" } }, { - "base": "DataOutput_Result: Color", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Color" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Subtract.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Subtract.names index ddd6536be0..3190e11862 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Subtract.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Deprecated_Subtract.names @@ -1,44 +1,43 @@ { "entries": [ { - "base": "{C94009EE-73ED-5CA2-B1AC-026EB08D1EF5}", + "base": "{36F01867-D157-5540-ADB8-3E71F96D2187}", "context": "ScriptCanvas::Node", "variant": "", "details": { "name": "Subtract", "category": "Deprecated", - "tooltip": "This node is deprecated, use Subtract (-), it provides contextual type and slots", - "subtitle": "Deprecated" + "tooltip": "This node is deprecated, use Subtract (-), it provides contextual type and slots" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector3: A", + "base": "DataInput_A_0", "details": { - "name": "Vector3: A" + "name": "A" } }, { - "base": "DataInput_Vector3: B", + "base": "DataInput_B_1", "details": { - "name": "Vector3: B" + "name": "B" } }, { - "base": "DataOutput_Result: Vector3", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Vector3" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_WrapperMock.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_WrapperMock.names index de6117ff88..f62869bbd5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_WrapperMock.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Developer_WrapperMock.names @@ -5,7 +5,7 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "WrapperMock", + "name": "Wrapper Mock", "category": "Developer", "tooltip": "Node for Mocking Wrapper Node visuals" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityForward.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityForward.names index 582552020f..02ef0059da 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityForward.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityForward.names @@ -7,35 +7,35 @@ "details": { "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)" + "tooltip": "returns the forward direction vector from the specified entity' world transform, scaled by a given value (O3DE uses Z up, right handed)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_EntityId", + "base": "DataInput_EntityId_0", "details": { "name": "EntityId" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_1", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityRight.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityRight.names index 1d8a2958e5..24aa7f38ab 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityRight.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityRight.names @@ -7,35 +7,35 @@ "details": { "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)" + "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": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_EntityId", + "base": "DataInput_EntityId_0", "details": { "name": "EntityId" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_1", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityUp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityUp.names index 55e4e5c419..ae8642dd03 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityUp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_GetEntityUp.names @@ -7,35 +7,35 @@ "details": { "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)" + "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": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_EntityId", + "base": "DataInput_EntityId_0", "details": { "name": "EntityId" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_1", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsActive.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsActive.names index 5969f5e851..3908523dfd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsActive.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsActive.names @@ -7,29 +7,29 @@ "details": { "name": "Is Active", "category": "Entity/Entity", - "tooltip": "Returns true if entity with the provided Id is valid and active." + "tooltip": "returns true if entity with the provided Id is valid and active." }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Entity Id", + "base": "DataInput_Entity Id_0", "details": { "name": "Entity Id" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsValid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsValid.names index 5f8783a4d6..577938d029 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsValid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_IsValid.names @@ -7,29 +7,29 @@ "details": { "name": "Is Valid", "category": "Entity/Entity", - "tooltip": "Returns true if Source is valid, else false" + "tooltip": "returns true if Source is valid, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_ToString.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_ToString.names index 1c2d36859d..a26df73e86 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_ToString.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/EntityEntity_ToString.names @@ -7,29 +7,29 @@ "details": { "name": "To String", "category": "Entity/Entity", - "tooltip": "Returns a string representation of Source" + "tooltip": "returns a string representation of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_BranchInputTypeExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_BranchInputTypeExample.names new file mode 100644 index 0000000000..714992620f --- /dev/null +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_BranchInputTypeExample.names @@ -0,0 +1,70 @@ +{ + "entries": [ + { + "base": "{FDD3D684-2C9A-0C05-D2A3-FD67685D8F26}", + "context": "ScriptCanvas::Node", + "variant": "", + "details": { + "name": "Branch Input Type Example", + "category": "Examples", + "tooltip": "Example of branch passing as input by value, pointer and reference." + }, + "slots": [ + { + "base": "Input_Get Internal Vector_0", + "details": { + "name": "Get Internal Vector" + } + }, + { + "base": "Output_On Get Internal Vector_0", + "details": { + "name": "On Get Internal Vector" + } + }, + { + "base": "DataOutput_Result_0", + "details": { + "name": "Result" + } + }, + { + "base": "Input_Branches On Input Type_1", + "details": { + "name": "Branches On Input Type" + } + }, + { + "base": "DataInput_Input Type_0", + "details": { + "name": "Input Type" + } + }, + { + "base": "Output_By Value_1", + "details": { + "name": "By Value" + } + }, + { + "base": "DataOutput_Value Input_1", + "details": { + "name": "Value Input" + } + }, + { + "base": "Output_By Pointer_2", + "details": { + "name": "By Pointer" + } + }, + { + "base": "DataOutput_Pointer Input_2", + "details": { + "name": "Pointer Input" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputTypeExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_InputTypeExample.names similarity index 71% rename from Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputTypeExample.names rename to Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_InputTypeExample.names index 0497af8efc..6ebd476fb1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputTypeExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_InputTypeExample.names @@ -5,62 +5,61 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "InputTypeExample", - "category": "Tests", - "tooltip": "Example of passing as input by value, pointer and reference.", - "subtitle": "Tests" + "name": "Input Type Example", + "category": "Examples", + "tooltip": "Example of passing as input by value, pointer and reference." }, "slots": [ { - "base": "Input_Clear By Value", + "base": "Input_Clear By Value_0", "details": { "name": "Clear By Value" } }, { - "base": "DataInput_Value Input", + "base": "DataInput_Value Input_0", "details": { "name": "Value Input" } }, { - "base": "Output_On Clear By Value", + "base": "Output_On Clear By Value_0", "details": { "name": "On Clear By Value" } }, { - "base": "Input_Clear By Pointer", + "base": "Input_Clear By Pointer_1", "details": { "name": "Clear By Pointer" } }, { - "base": "DataInput_Pointer Input", + "base": "DataInput_Pointer Input_1", "details": { "name": "Pointer Input" } }, { - "base": "Output_On Clear By Pointer", + "base": "Output_On Clear By Pointer_1", "details": { "name": "On Clear By Pointer" } }, { - "base": "Input_Clear By Reference", + "base": "Input_Clear By Reference_2", "details": { "name": "Clear By Reference" } }, { - "base": "DataInput_Reference Input", + "base": "DataInput_Reference Input_2", "details": { "name": "Reference Input" } }, { - "base": "Output_On Clear By Reference", + "base": "Output_On Clear By Reference_2", "details": { "name": "On Clear By Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_PropertyExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_PropertyExample.names similarity index 66% rename from Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_PropertyExample.names rename to Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_PropertyExample.names index 8360f6b541..d547017e44 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_PropertyExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_PropertyExample.names @@ -5,20 +5,19 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "PropertyExample", - "category": "Tests", - "tooltip": "Example of using properties.", - "subtitle": "Tests" + "name": "Property Example", + "category": "Examples", + "tooltip": "Example of using properties." }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_On In", + "base": "Output_On In_0", "details": { "name": "On In" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_ReturnTypeExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_ReturnTypeExample.names similarity index 71% rename from Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_ReturnTypeExample.names rename to Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_ReturnTypeExample.names index 555fc92580..4122975929 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_ReturnTypeExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Examples_ReturnTypeExample.names @@ -5,62 +5,61 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "ReturnTypeExample", - "category": "Tests", - "tooltip": "Example of returning by value, pointer and reference.", - "subtitle": "Tests" + "name": "Return Type Example", + "category": "Examples", + "tooltip": "Example of returning by value, pointer and reference." }, "slots": [ { - "base": "Input_Return By Value", + "base": "Input_Return By Value_0", "details": { "name": "Return By Value" } }, { - "base": "Output_On Return By Value", + "base": "Output_On Return By Value_0", "details": { "name": "On Return By Value" } }, { - "base": "DataOutput_Value", + "base": "DataOutput_Value_0", "details": { "name": "Value" } }, { - "base": "Input_Return By Pointer", + "base": "Input_Return By Pointer_1", "details": { "name": "Return By Pointer" } }, { - "base": "Output_On Return By Pointer", + "base": "Output_On Return By Pointer_1", "details": { "name": "On Return By Pointer" } }, { - "base": "DataOutput_Pointer", + "base": "DataOutput_Pointer_1", "details": { "name": "Pointer" } }, { - "base": "Input_Return By Reference", + "base": "Input_Return By Reference_2", "details": { "name": "Return By Reference" } }, { - "base": "Output_On Return By Reference", + "base": "Output_On Return By Reference_2", "details": { "name": "On Return By Reference" } }, { - "base": "DataOutput_Reference", + "base": "DataOutput_Reference_2", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Input_InputHandler.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Input_InputHandler.names index e11a54b639..8ce3fd36df 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Input_InputHandler.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Input_InputHandler.names @@ -1,57 +1,43 @@ { "entries": [ { - "base": "{0A2EB488-5A6A-E166-BB62-23FF81499E33}", + "base": "{0B0AC61B-4BBA-42BF-BDCD-DAF2D3CA41A8}", "context": "ScriptCanvas::Node", "variant": "", "details": { "name": "Input Handler", - "category": "Input/Input System", + "category": "Input", "tooltip": "Handle processed input events found in input binding assets" }, "slots": [ { - "base": "Input_Connect Event", - "details": { - "name": "Connect Event", - "tooltip": "Connect to input event name as defined in an input binding asset." - } - }, - { - "base": "DataInput_Event Name", + "base": "DataInput_Event Name_0", "details": { "name": "Event Name" } }, { - "base": "Output_On Connect Event", + "base": "DataOutput_Value_0", "details": { - "name": "On Connect Event", - "tooltip": "Connect to input event name as defined in an input binding asset." + "name": "Value" } }, { - "base": "Output_Pressed", + "base": "Output_Pressed_0", "details": { "name": "Pressed", "tooltip": "Signaled when the input event begins." } }, { - "base": "DataOutput_value", - "details": { - "name": "value" - } - }, - { - "base": "Output_Held", + "base": "Output_Held_1", "details": { "name": "Held", "tooltip": "Signaled while the input event is active." } }, { - "base": "Output_Released", + "base": "Output_Released_2", "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 2d9711106c..d68e675a1b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ExpressionNodeBase.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ExpressionNodeBase.names @@ -5,14 +5,13 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "ExpressionNodeBase", + "name": "Expression Node Base", "category": "Internal", - "tooltip": "Base class for any node that wants to evaluate user given expressions.", - "subtitle": "Internal" + "tooltip": "Base class for any node that wants to evaluate user given expressions." }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "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 d475d33102..3ba54b226b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ScriptEvent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_ScriptEvent.names @@ -7,8 +7,7 @@ "details": { "name": "Script Event", "category": "Internal", - "tooltip": "Base class for Script Events.", - "subtitle": "Internal" + "tooltip": "Base class for Script Events." } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_StringFormatted.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_StringFormatted.names index 12ad68d7e3..8affe52662 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_StringFormatted.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Internal_StringFormatted.names @@ -5,27 +5,26 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "StringFormatted", + "name": "String Formatted", "category": "Internal", - "tooltip": "Base class for any nodes that use string formatting capabilities.", - "subtitle": "Internal" + "tooltip": "Base class for any nodes that use string formatting capabilities." }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/LogicDeprecated_Indexer.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/LogicDeprecated_Indexer.names index 21b990bd6e..0c75b39c96 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/LogicDeprecated_Indexer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/LogicDeprecated_Indexer.names @@ -7,68 +7,67 @@ "details": { "name": "Indexer", "category": "Logic/Deprecated", - "tooltip": "An execution flow gate that activates each input flow in sequential order", - "subtitle": "Deprecated" + "tooltip": "An execution flow gate that activates each input flow in sequential order" }, "slots": [ { - "base": "Input_In0", + "base": "Input_In0_0", "details": { "name": "In0", "tooltip": "Input 0" } }, { - "base": "Input_In1", + "base": "Input_In1_1", "details": { "name": "In1", "tooltip": "Input 1" } }, { - "base": "Input_In2", + "base": "Input_In2_2", "details": { "name": "In2", "tooltip": "Input 2" } }, { - "base": "Input_In3", + "base": "Input_In3_3", "details": { "name": "In3", "tooltip": "Input 3" } }, { - "base": "Input_In4", + "base": "Input_In4_4", "details": { "name": "In4", "tooltip": "Input 4" } }, { - "base": "Input_In5", + "base": "Input_In5_5", "details": { "name": "In5", "tooltip": "Input 5" } }, { - "base": "Input_In6", + "base": "Input_In6_6", "details": { "name": "In6", "tooltip": "Input 6" } }, { - "base": "Input_In7", + "base": "Input_In7_7", "details": { "name": "In7", "tooltip": "Input 7" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 a98ca0b451..4638153291 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_And.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_And.names @@ -11,40 +11,40 @@ }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 d323290c96..d049db83ba 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Any.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Any.names @@ -11,13 +11,13 @@ }, "slots": [ { - "base": "Input_Input 0", + "base": "Input_Input 0_0", "details": { "name": "Input 0" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 9763a75d7c..3c490572fe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Break.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Break.names @@ -7,18 +7,17 @@ "details": { "name": "Break", "category": "Logic", - "tooltip": "Used to exit a looping structure", - "subtitle": "Logic" + "tooltip": "Used to exit a looping structure" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out 0", + "base": "Output_Out 0_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 0f7c401571..54084c6388 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Cycle.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Cycle.names @@ -6,18 +6,17 @@ "variant": "", "details": { "name": "Cycle", - "category": "Logic", - "subtitle": "Logic" + "category": "Logic" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out 0", + "base": "Output_Out 0_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 34d7c6b746..3f24114234 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_If.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_If.names @@ -11,27 +11,27 @@ }, "slots": [ { - "base": "DataInput_Condition", + "base": "DataInput_Condition_0", "details": { "name": "Condition" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the condition provided evaluates to true." } }, { - "base": "Output_False", + "base": "Output_False_1", "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 b36abc7903..c7d0c93d12 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_IsNull.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_IsNull.names @@ -11,33 +11,33 @@ }, "slots": [ { - "base": "DataInput_Reference", + "base": "DataInput_Reference_0", "details": { "name": "Reference" } }, { - "base": "DataOutput_Is Null", + "base": "DataOutput_Is Null_0", "details": { "name": "Is Null" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the reference provided is null." } }, { - "base": "Output_False", + "base": "Output_False_1", "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 a0c6110b96..89789a406d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Multiplexer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Multiplexer.names @@ -11,69 +11,69 @@ }, "slots": [ { - "base": "DataInput_Index", + "base": "DataInput_Index_0", "details": { "name": "Index" } }, { - "base": "Input_In0", + "base": "Input_In0_0", "details": { "name": "In0", "tooltip": "Input 0" } }, { - "base": "Input_In1", + "base": "Input_In1_1", "details": { "name": "In1", "tooltip": "Input 1" } }, { - "base": "Input_In2", + "base": "Input_In2_2", "details": { "name": "In2", "tooltip": "Input 2" } }, { - "base": "Input_In3", + "base": "Input_In3_3", "details": { "name": "In3", "tooltip": "Input 3" } }, { - "base": "Input_In4", + "base": "Input_In4_4", "details": { "name": "In4", "tooltip": "Input 4" } }, { - "base": "Input_In5", + "base": "Input_In5_5", "details": { "name": "In5", "tooltip": "Input 5" } }, { - "base": "Input_In6", + "base": "Input_In6_6", "details": { "name": "In6", "tooltip": "Input 6" } }, { - "base": "Input_In7", + "base": "Input_In7_7", "details": { "name": "In7", "tooltip": "Input 7" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 37104685a0..471d1a5660 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Not.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Not.names @@ -11,33 +11,33 @@ }, "slots": [ { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "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 f35f338941..113e1da29f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Once.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Once.names @@ -11,28 +11,28 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Input_Reset", + "base": "Input_Reset_1", "details": { "name": "Reset", "tooltip": "Reset signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Output signal" } }, { - "base": "Output_On Reset", + "base": "Output_On Reset_1", "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 492f4d2a44..e68230a2b1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Or.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Or.names @@ -11,40 +11,40 @@ }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 c82ae5b04f..0d2c73a0d8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_OrderedSequencer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_OrderedSequencer.names @@ -7,18 +7,17 @@ "details": { "name": "Ordered Sequencer", "category": "Logic", - "tooltip": "Triggers the execution outputs in the specified ordered. The next line will trigger once the first line reaches a break in execution(either through latent node, or a terminal endpoint)", - "subtitle": "Logic" + "tooltip": "Triggers the execution outputs in the specified ordered. The next line will trigger once the first line reaches a break in execution(either through latent node, or a terminal endpoint)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out 0", + "base": "Output_Out 0_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 75094119a8..bd94410c07 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_RandomSignal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_RandomSignal.names @@ -7,24 +7,23 @@ "details": { "name": "Random Signal", "category": "Logic", - "tooltip": "Triggers one of the selected outputs at Random depending on the weights provided.", - "subtitle": "Logic" + "tooltip": "Triggers one of the selected outputs at Random depending on the weights provided." }, "slots": [ { - "base": "DataInput_Weight 1", + "base": "DataInput_Weight 1_0", "details": { "name": "Weight 1" } }, { - "base": "Output_Out 1", + "base": "Output_Out 1_0", "details": { "name": "Out 1" } }, { - "base": "Input_In", + "base": "Input_In_0", "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 8856ddd2ac..067a064123 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Sequencer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Sequencer.names @@ -11,82 +11,82 @@ }, "slots": [ { - "base": "DataInput_Index", + "base": "DataInput_Index_0", "details": { "name": "Index" } }, { - "base": "DataInput_Order", + "base": "DataInput_Order_1", "details": { "name": "Order" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Input_Next", + "base": "Input_Next_1", "details": { "name": "Next", "tooltip": "When next is activated, it enables the next output" } }, { - "base": "Output_Out0", + "base": "Output_Out0_0", "details": { "name": "Out0", "tooltip": "Output 0" } }, { - "base": "Output_Out1", + "base": "Output_Out1_1", "details": { "name": "Out1", "tooltip": "Output 1" } }, { - "base": "Output_Out2", + "base": "Output_Out2_2", "details": { "name": "Out2", "tooltip": "Output 2" } }, { - "base": "Output_Out3", + "base": "Output_Out3_3", "details": { "name": "Out3", "tooltip": "Output 3" } }, { - "base": "Output_Out4", + "base": "Output_Out4_4", "details": { "name": "Out4", "tooltip": "Output 4" } }, { - "base": "Output_Out5", + "base": "Output_Out5_5", "details": { "name": "Out5", "tooltip": "Output 5" } }, { - "base": "Output_Out6", + "base": "Output_Out6_6", "details": { "name": "Out6", "tooltip": "Output 6" } }, { - "base": "Output_Out7", + "base": "Output_Out7_7", "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 3791eb864e..c1e9f956af 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Switch.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_Switch.names @@ -11,19 +11,19 @@ }, "slots": [ { - "base": "DataInput_Index", + "base": "DataInput_Index_0", "details": { "name": "Index" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out 0", + "base": "Output_Out 0_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 a1bd16a211..7cedbd76a4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_While.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Logic_While.names @@ -6,31 +6,30 @@ "variant": "", "details": { "name": "While", - "category": "Logic", - "subtitle": "Logic" + "category": "Logic" }, "slots": [ { - "base": "DataInput_Condition", + "base": "DataInput_Condition_0", "details": { "name": "Condition" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Signalled if the condition is false, or if the loop calls the break node" } }, { - "base": "Output_Loop", + "base": "Output_Loop_1", "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 81545f0ba2..738beb9967 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddAABB.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddAABB.names @@ -5,38 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Add Axis Aligned Bounding Boxes", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the AABB that is the (min(min(A), min(B)), max(max(A), max(B)))", - "subtitle": "Axis Aligned Bounding Box" + "name": "AddAABB", + "category": "Math/AABB", + "tooltip": "returns the AABB that is the (min(min(A), min(B)), max(max(A), max(B)))" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: A", + "base": "DataInput_A_0", "details": { - "name": "First" + "name": "A" } }, { - "base": "DataInput_AABB: B", + "base": "DataInput_B_1", "details": { - "name": "Second" + "name": "B" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddPoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddPoint.names index fd88952e19..9269e2f51c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddPoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_AddPoint.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "Add Point", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the AABB that is the (min(min(Source), Point), max(max(Source), Point))", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the AABB that is the (min(min(Source), Point), max(max(Source), Point))" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Vector3: Point", + "base": "DataInput_Point_1", "details": { "name": "Point" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ApplyTransform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ApplyTransform.names index 874cd39c9f..d658ab4c88 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ApplyTransform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ApplyTransform.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "Apply Transform", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the AABB translated and possibly scaled by the Transform", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the AABB translated and possibly scaled by the Transform" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Transform: Transform", + "base": "DataInput_Transform_1", "details": { "name": "Transform" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Center.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Center.names index c9118de014..c32001636a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Center.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Center.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "Center", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the center of Source", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the center of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result: Vector3", + "base": "DataOutput_Result_0", "details": { - "name": "Center" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Clamp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Clamp.names index 2062682005..0addcf10ae 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Clamp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Clamp.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "Clamp", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the largest version of Source that can fit entirely within Clamp", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the largest version of Source that can fit entirely within Clamp" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_AABB: Clamp", + "base": "DataInput_Clamp_1", "details": { "name": "Clamp" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsAABB.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsAABB.names index 7c208bcdd6..7af4e39a1b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsAABB.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsAABB.names @@ -5,40 +5,39 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Contains Axis Aligned Bounding Box", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns true if Source contains all of the bounds of Candidate, else false", - "subtitle": "Axis Aligned Bounding Box" + "name": "ContainsAABB", + "category": "Math/AABB", + "tooltip": "returns true if Source contains all of the bounds of Candidate, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_AABB: Candidate", + "base": "DataInput_Candidate_1", "details": { "name": "Candidate" } }, { - "base": "DataOutput_Result: Boolean", + "base": "DataOutput_Result_0", "details": { - "name": "Contains" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsVector3.names index c3d7c00e94..b2745c2608 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ContainsVector3.names @@ -5,40 +5,39 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Contains Vector3", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns true if Source contains the Candidate, else false", - "subtitle": "Axis Aligned Bounding Box" + "name": "Contains Vector 3", + "category": "Math/AABB", + "tooltip": "returns true if Source contains the Candidate, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Vector3: Candidate", + "base": "DataInput_Candidate_1", "details": { "name": "Candidate" } }, { - "base": "DataOutput_Result: Boolean", + "base": "DataOutput_Result_0", "details": { - "name": "Contains" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Distance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Distance.names index 7c8e0ebb3a..3113b03864 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Distance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Distance.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "Distance", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the shortest distance from Point to Source, or zero of Point is contained in Source", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the shortest distance from Point to Source, or zero of Point is contained in Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Vector3: Point", + "base": "DataInput_Point_1", "details": { "name": "Point" } }, { - "base": "DataOutput_Result: Number", + "base": "DataOutput_Result_0", "details": { - "name": "Distance" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Expand.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Expand.names index 05390a20e5..6f7cc2934c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Expand.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Expand.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "Expand", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the Source expanded in each axis by the absolute value of each axis in Delta", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the Source expanded in each axis by the absolute value of each axis in Delta" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Vector3: Delta", + "base": "DataInput_Delta_1", "details": { "name": "Delta" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Extents.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Extents.names index db3ddc567f..5cb269e3de 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Extents.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Extents.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "Extents", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the Vector3(Source.Width, Source.Height, Source.Depth)", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the Vector3(Source.Width, Source.Height, Source.Depth)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result: Vector3", + "base": "DataOutput_Result_0", "details": { - "name": "Extents" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterHalfExtents.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterHalfExtents.names index d1c6a9ca27..5dbba72465 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterHalfExtents.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterHalfExtents.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "From Center Half Extents", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the AABB with Min = Center - HalfExtents, Max = Center + HalfExtents", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the AABB with Min = Center - HalfExtents, Max = Center + HalfExtents" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector3: Center", + "base": "DataInput_Center_0", "details": { "name": "Center" } }, { - "base": "DataInput_Vector3: HalfExtents", + "base": "DataInput_HalfExtents_1", "details": { - "name": "Half Extents" + "name": "HalfExtents" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterRadius.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterRadius.names index 06a369986d..a6eac59710 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterRadius.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromCenterRadius.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "From Center Radius", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the AABB with Min = Center - Vector3(radius, radius, radius), Max = Center + Vector3(radius, radius, radius)", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the AABB with Min = Center - Vector3(radius, radius, radius), Max = Center + Vector3(radius, radius, radius)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector3: Center", + "base": "DataInput_Center_0", "details": { "name": "Center" } }, { - "base": "DataInput_Number: Radius", + "base": "DataInput_Radius_1", "details": { "name": "Radius" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromMinMax.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromMinMax.names index 982b3b8342..7e638dfd5d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromMinMax.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromMinMax.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "From Min Max", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the AABB from Min and Max if Min <= Max, else returns FromPoint(max)", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the AABB from Min and Max if Min <= Max, else returns FromPoint(max)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector3: Min", + "base": "DataInput_Min_0", "details": { "name": "Min" } }, { - "base": "DataInput_Vector3: Max", + "base": "DataInput_Max_1", "details": { "name": "Max" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromOBB.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromOBB.names index 205f2373e4..17404286f0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromOBB.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromOBB.names @@ -5,34 +5,33 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Oriented Bounding Box", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the AABB which contains Source", - "subtitle": "Axis Aligned Bounding Box" + "name": "FromOBB", + "category": "Math/AABB", + "tooltip": "returns the AABB which contains Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_OBB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromPoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromPoint.names index 7bd74f5e61..6d862421ae 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromPoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_FromPoint.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "From Point", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the AABB with min and max set to Source", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the AABB with min and max set to Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector3: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMax.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMax.names index 0eb6d80940..fdeb6fb6b7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMax.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMax.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "Get Max", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the Vector3 that is the max value on each axis of Source", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the Vector3 that is the max value on each axis of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result: Vector3", + "base": "DataOutput_Result_0", "details": { - "name": "Max" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMin.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMin.names index 8bcf1804db..b73fe74b31 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMin.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_GetMin.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "Get Min", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the Vector3 that is the min value on each axis of Source", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the Vector3 that is the min value on each axis of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result: Vector3", + "base": "DataOutput_Result_0", "details": { - "name": "Min" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsFinite.names index 14a10d9b46..ff2e716d2b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsFinite.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "Is Finite", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns true if Source is finite, else false", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns true if Source is finite, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result: Boolean", + "base": "DataOutput_Result_0", "details": { - "name": "Is Finite" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsValid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsValid.names index 9c6d0dc8ff..2eec8a0a6e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsValid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_IsValid.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "Is Valid", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns ture if Source is valid, that is if Source.min <= Source.max, else false", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns ture if Source is valid, that is if Source.min <= Source.max, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { - "name": "AABB: Source" + "name": "Source" } }, { - "base": "DataOutput_Result: Boolean", + "base": "DataOutput_Result_0", "details": { - "name": "Is Valid" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Null.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Null.names index 48c6bd2b60..a4f5209cba 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Null.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Null.names @@ -5,28 +5,27 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Invalid Axis Aligned Bounding Box", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns an invalid AABB (min > max), adding any point to it will make it valid", - "subtitle": "Axis Aligned Bounding Box" + "name": "Null", + "category": "Math/AABB", + "tooltip": "returns an invalid AABB (min > max), adding any point to it will make it valid" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "Invalid AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Overlaps.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Overlaps.names index 56b83a6eb8..1a69a2d819 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Overlaps.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Overlaps.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "Overlaps", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns true if A overlaps B, else false", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns true if A overlaps B, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: A", + "base": "DataInput_A_0", "details": { - "name": "AABB: A" + "name": "A" } }, { - "base": "DataInput_AABB: B", + "base": "DataInput_B_1", "details": { - "name": "AABB: B" + "name": "B" } }, { - "base": "DataOutput_Result: Boolean", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Boolean" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_SurfaceArea.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_SurfaceArea.names index b0e2985fbb..22152bd4a6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_SurfaceArea.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_SurfaceArea.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "Surface Area", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the sum of the surface area of all six faces of Source", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the sum of the surface area of all six faces of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { - "name": "AABB: Source" + "name": "Source" } }, { - "base": "DataOutput_Result: Number", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Number" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ToSphere.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ToSphere.names index e77bde466f..30d54f3e14 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ToSphere.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ToSphere.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "To Sphere", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the center and radius of smallest sphere that contains Source", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the center and radius of smallest sphere that contains Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { - "name": "AABB: Source" + "name": "Source" } }, { - "base": "DataOutput_Center: Vector3", + "base": "DataOutput_Center_0", "details": { - "name": "Center: Vector3" + "name": "Center" } }, { - "base": "DataOutput_Radius: Number", + "base": "DataOutput_Radius_1", "details": { - "name": "Radius: Number" + "name": "Radius" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Translate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Translate.names index 0be4731085..34c66d8e43 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Translate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_Translate.names @@ -6,39 +6,38 @@ "variant": "", "details": { "name": "Translate", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the Source with each point added with Translation", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the Source with each point added with Translation" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { - "name": "AABB: Source" + "name": "Source" } }, { - "base": "DataInput_Vector3: Translation", + "base": "DataInput_Translation_1", "details": { - "name": "Vector3: Translation" + "name": "Translation" } }, { - "base": "DataOutput_Result: AABB", + "base": "DataOutput_Result_0", "details": { - "name": "Result: AABB" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_XExtent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_XExtent.names index f6051e7dc8..0795654fa1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_XExtent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_XExtent.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "X Extent", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the X extent (max X - min X) of Source", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the X extent (max X - min X) of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { - "name": "AABB: Source" + "name": "Source" } }, { - "base": "DataOutput_Result: Number", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Number" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_YExtent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_YExtent.names index eab2924849..277ba3cef5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_YExtent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_YExtent.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "Y Extent", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the Y extent (max Y - min Y) of Source", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the Y extent (max Y - min Y) of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { - "name": "AABB: Source" + "name": "Source" } }, { - "base": "DataOutput_Result: Number", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Number" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ZExtent.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ZExtent.names index 4a107a844d..8f477f3325 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ZExtent.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathAABB_ZExtent.names @@ -6,33 +6,32 @@ "variant": "", "details": { "name": "Z Extent", - "category": "Math/Axis Aligned Bounding Box", - "tooltip": "returns the Z extent (max Z - min Z) of Source", - "subtitle": "Axis Aligned Bounding Box" + "category": "Math/AABB", + "tooltip": "returns the Z extent (max Z - min Z) of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_AABB: Source", + "base": "DataInput_Source_0", "details": { - "name": "AABB: Source" + "name": "Source" } }, { - "base": "DataOutput_Result: Number", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Number" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot.names index a3eef6a2e7..c3d3a759ab 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot.names @@ -7,38 +7,37 @@ "details": { "name": "Dot", "category": "Math/Color", - "tooltip": "returns the 4-element dot product of A and B", - "subtitle": "Color" + "tooltip": "returns the 4-element dot product of A and B" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Color: A", + "base": "DataInput_A_0", "details": { - "name": "Color: A" + "name": "A" } }, { - "base": "DataInput_Color: B", + "base": "DataInput_B_1", "details": { - "name": "Color: B" + "name": "B" } }, { - "base": "DataOutput_Result: Number", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Number" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot3.names index 7ddb05f4dd..5e548beccf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_Dot3.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Dot (RGB)", + "name": "Dot 3", "category": "Math/Color", "tooltip": "returns the 3-element dot product of A and B, using only the R, G, B elements" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromValues.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromValues.names index 45e436bce6..327b08382e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromValues.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromValues.names @@ -7,47 +7,47 @@ "details": { "name": "From Values", "category": "Math/Color", - "tooltip": "Returns a Color from the R, G, B, A inputs" + "tooltip": "returns a Color from the R, G, B, A inputs" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_R", + "base": "DataInput_R_0", "details": { "name": "R" } }, { - "base": "DataInput_G", + "base": "DataInput_G_1", "details": { "name": "G" } }, { - "base": "DataInput_B", + "base": "DataInput_B_2", "details": { "name": "B" } }, { - "base": "DataInput_A", + "base": "DataInput_A_3", "details": { "name": "A" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3.names index c709935b7c..c5ae0aa32e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Vector3", + "name": "From Vector 3", "category": "Math/Color", - "tooltip": "Returns a Color with R, G, B set to X, Y, Z values of RGB, respectively. A is set to 1.0" + "tooltip": "returns a Color with R, G, B set to X, Y, Z values of RGB, respectively. A is set to 1.0" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_RGB", + "base": "DataInput_RGB_0", "details": { "name": "RGB" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3AndNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3AndNumber.names index 61004481db..9364547804 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3AndNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_FromVector3AndNumber.names @@ -5,40 +5,39 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Vector3 And Number", + "name": "From Vector 3 And Number", "category": "Math/Color", - "tooltip": "returns a Color with R, G, B set to X, Y, Z values of RGB, respectively. A is set to A", - "subtitle": "Color" + "tooltip": "returns a Color with R, G, B set to X, Y, Z values of RGB, respectively. A is set to A" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector3: RGB", + "base": "DataInput_RGB_0", "details": { - "name": "Red, Green, Blue" + "name": "RGB" } }, { - "base": "DataInput_Number: A", + "base": "DataInput_A_1", "details": { - "name": "Alpha" + "name": "A" } }, { - "base": "DataOutput_Result: Color", + "base": "DataOutput_Result_0", "details": { - "name": "Color" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_GammaToLinear.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_GammaToLinear.names index b02a810b0f..5c94cfdc4e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_GammaToLinear.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_GammaToLinear.names @@ -7,30 +7,29 @@ "details": { "name": "Gamma To Linear", "category": "Math/Color", - "tooltip": "returns Source converted from gamma corrected to linear space", - "subtitle": "Color" + "tooltip": "returns Source converted from gamma corrected to linear space" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Color: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result: Color", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsClose.names index 7f7038d383..1b3e666878 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsClose.names @@ -7,44 +7,43 @@ "details": { "name": "Is Close", "category": "Math/Color", - "tooltip": "Returns true if A is within Tolerance of B, else false", - "subtitle": "Color" + "tooltip": "returns true if A is within Tolerance of B, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Color: A", + "base": "DataInput_A_0", "details": { - "name": "First" + "name": "A" } }, { - "base": "DataInput_Color: B", + "base": "DataInput_B_1", "details": { - "name": "Second" + "name": "B" } }, { - "base": "DataInput_Number: Tolerance", + "base": "DataInput_Tolerance_2", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result: Boolean", + "base": "DataOutput_Result_0", "details": { - "name": "Is Close" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsZero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsZero.names index 31b2a61f3d..a2efd6ad06 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsZero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_IsZero.names @@ -7,38 +7,37 @@ "details": { "name": "Is Zero", "category": "Math/Color", - "tooltip": "returns true if Source is within Tolerance of zero", - "subtitle": "Color" + "tooltip": "returns true if Source is within Tolerance of zero" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Color: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Number: Tolerance", + "base": "DataInput_Tolerance_1", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result: Boolean", + "base": "DataOutput_Result_0", "details": { - "name": "Is Zero" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_LinearToGamma.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_LinearToGamma.names index ba7118a997..79de306912 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_LinearToGamma.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_LinearToGamma.names @@ -7,29 +7,29 @@ "details": { "name": "Linear To Gamma", "category": "Math/Color", - "tooltip": "Returns Source converted from linear to gamma corrected space" + "tooltip": "returns Source converted from linear to gamma corrected space" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_MultiplyByNumber.names index 7f67402d65..588c0fd3d6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_MultiplyByNumber.names @@ -7,38 +7,37 @@ "details": { "name": "Multiply By Number", "category": "Math/Color", - "tooltip": "Returns Source with every elemented multiplied by Multiplier", - "subtitle": "Color" + "tooltip": "returns Source with every elemented multiplied by Multiplier" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Color: Source", + "base": "DataInput_Source_0", "details": { - "name": "Color: Source" + "name": "Source" } }, { - "base": "DataInput_Number: Multiplier", + "base": "DataInput_Multiplier_1", "details": { - "name": "Number: Multiplier" + "name": "Multiplier" } }, { - "base": "DataOutput_Result: Color", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Color" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_One.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_One.names index 7034549282..9ea9b55a68 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_One.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathColor_One.names @@ -7,26 +7,25 @@ "details": { "name": "One", "category": "Math/Color", - "tooltip": "returns a Color with every element set to 1", - "subtitle": "Color" + "tooltip": "returns a Color with every element set to 1" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataOutput_Result: Color", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Color" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_EqualTo_==_.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_EqualTo_==_.names index e3c8499aee..7ee72caed6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_EqualTo_==_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_EqualTo_==_.names @@ -11,40 +11,40 @@ }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 36f3163ae4..aad4fffa7c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThan__.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThan__.names @@ -11,40 +11,40 @@ }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 68dc66c790..5dd48b7df6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThanorEqualTo_=_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_GreaterThanorEqualTo_=_.names @@ -11,40 +11,40 @@ }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 1247a766f5..8d74f9f791 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThan___.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThan___.names @@ -11,40 +11,40 @@ }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 f0e9e1602f..48329b3495 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThanorEqualTo__=_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_LessThanorEqualTo__=_.names @@ -11,40 +11,40 @@ }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 6be7dfcbf6..8fedb7632d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_NotEqualTo_!=_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathComparisons_NotEqualTo_!=_.names @@ -11,40 +11,40 @@ }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 a3682b3751..636371c087 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathCrc32_FromString.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathCrc32_FromString.names @@ -6,30 +6,30 @@ "variant": "", "details": { "name": "From String", - "category": "Math/Tag", - "tooltip": "Returns a Tag from the string" + "category": "Math/Crc32", + "tooltip": "returns a Crc32 from the string" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { - "name": "Text" + "name": "Value" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromColumns.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromColumns.names index 3d2cd9186f..90ba23eaf8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromColumns.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromColumns.names @@ -7,41 +7,41 @@ "details": { "name": "From Columns", "category": "Math/Matrix3x3", - "tooltip": "Returns a rotation matrix based on angle around Z axis" + "tooltip": "returns a rotation matrix based on angle around Z axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Column1", + "base": "DataInput_Column1_0", "details": { - "name": "Column 1" + "name": "Column1" } }, { - "base": "DataInput_Column2", + "base": "DataInput_Column2_1", "details": { - "name": "Column 2" + "name": "Column2" } }, { - "base": "DataInput_Column3", + "base": "DataInput_Column3_2", "details": { - "name": "Column 3" + "name": "Column3" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromCrossProduct.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromCrossProduct.names index 03cfbb8526..a5660a3c6f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromCrossProduct.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromCrossProduct.names @@ -7,29 +7,29 @@ "details": { "name": "From Cross Product", "category": "Math/Matrix3x3", - "tooltip": "Returns a skew-symmetric cross product matrix based on supplied vector" + "tooltip": "returns a skew-symmetric cross product matrix based on supplied vector" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromDiagonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromDiagonal.names index 9725855cf1..b92cdef563 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromDiagonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromDiagonal.names @@ -7,29 +7,29 @@ "details": { "name": "From Diagonal", "category": "Math/Matrix3x3", - "tooltip": "Returns a diagonal matrix using the supplied vector" + "tooltip": "returns a diagonal matrix using the supplied vector" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromMatrix4x4.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromMatrix4x4.names index 4f8d7ec9d9..3040b5b8ed 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromMatrix4x4.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromMatrix4x4.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Matrix4x4", + "name": "From Matrix 4x 4", "category": "Math/Matrix3x3", - "tooltip": "Returns a matrix from the first 3 rows of a Matrix3x3" + "tooltip": "returns a matrix from the first 3 rows of a Matrix3x3" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromQuaternion.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromQuaternion.names index 64c63a37e2..3b381ff3b5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromQuaternion.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromQuaternion.names @@ -7,29 +7,29 @@ "details": { "name": "From Quaternion", "category": "Math/Matrix3x3", - "tooltip": "Returns a rotation matrix using the supplied quaternion" + "tooltip": "returns a rotation matrix using the supplied quaternion" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationXDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationXDegrees.names index 23275a718e..2289885994 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationXDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationXDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Rotation X Degrees", + "name": "From RotationX Degrees", "category": "Math/Matrix3x3", - "tooltip": "Returns a rotation matrix representing a rotation in degrees around X-axis" + "tooltip": "returns a rotation matrix representing a rotation in degrees around X-axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationYDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationYDegrees.names index e52288fade..362ff04556 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationYDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationYDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Rotation Y Degrees", + "name": "From RotationY Degrees", "category": "Math/Matrix3x3", - "tooltip": "Returns a rotation matrix representing a rotation in degrees around Y-axis" + "tooltip": "returns a rotation matrix representing a rotation in degrees around Y-axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationZDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationZDegrees.names index 888a75aff2..bf51a84455 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationZDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRotationZDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Rotation Z Degrees", + "name": "From RotationZ Degrees", "category": "Math/Matrix3x3", - "tooltip": "Returns a rotation matrix representing a rotation in degrees around Z-axis" + "tooltip": "returns a rotation matrix representing a rotation in degrees around Z-axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRows.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRows.names index 3a3cdb722d..879e73fa67 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRows.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromRows.names @@ -7,41 +7,41 @@ "details": { "name": "From Rows", "category": "Math/Matrix3x3", - "tooltip": "Returns a matrix from three row" + "tooltip": "returns a matrix from three row" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Row1", + "base": "DataInput_Row1_0", "details": { - "name": "Row 1" + "name": "Row1" } }, { - "base": "DataInput_Row2", + "base": "DataInput_Row2_1", "details": { - "name": "Row 2" + "name": "Row2" } }, { - "base": "DataInput_Row3", + "base": "DataInput_Row3_2", "details": { - "name": "Row 3" + "name": "Row3" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromScale.names index 3040759f1f..d331aa7cd1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromScale.names @@ -7,29 +7,29 @@ "details": { "name": "From Scale", "category": "Math/Matrix3x3", - "tooltip": "Returns a scale matrix using the supplied vector" + "tooltip": "returns a scale matrix using the supplied vector" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_0", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromTransform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromTransform.names index 11a310374e..69982d93ab 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromTransform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_FromTransform.names @@ -7,29 +7,29 @@ "details": { "name": "From Transform", "category": "Math/Matrix3x3", - "tooltip": "Returns a matrix using the supplied transform" + "tooltip": "returns a matrix using the supplied transform" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Transform", + "base": "DataInput_Transform_0", "details": { "name": "Transform" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumn.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumn.names index 60a538ecd7..7e5e053278 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumn.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumn.names @@ -7,35 +7,35 @@ "details": { "name": "Get Column", "category": "Math/Matrix3x3", - "tooltip": "Returns vector from matrix corresponding to the Column index" + "tooltip": "returns vector from matrix corresponding to the Column index" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Column", + "base": "DataInput_Column_1", "details": { "name": "Column" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumns.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumns.names index 5cb723836e..4fe70dce73 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumns.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetColumns.names @@ -7,43 +7,43 @@ "details": { "name": "Get Columns", "category": "Math/Matrix3x3", - "tooltip": "Returns all columns from matrix" + "tooltip": "returns all columns from matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Column1", + "base": "DataOutput_Column1_0", "details": { - "name": "Column 1" + "name": "Column1" } }, { - "base": "DataOutput_Column2", + "base": "DataOutput_Column2_1", "details": { - "name": "Column 2" + "name": "Column2" } }, { - "base": "DataOutput_Column3", + "base": "DataOutput_Column3_2", "details": { - "name": "Column 3" + "name": "Column3" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetDiagonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetDiagonal.names index 3516b89257..ab47e40a1f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetDiagonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetDiagonal.names @@ -7,29 +7,29 @@ "details": { "name": "Get Diagonal", "category": "Math/Matrix3x3", - "tooltip": "Returns vector of matrix diagonal values" + "tooltip": "returns vector of matrix diagonal values" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetElement.names index 7d9f46c441..efe3dd4ae6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetElement.names @@ -7,41 +7,41 @@ "details": { "name": "Get Element", "category": "Math/Matrix3x3", - "tooltip": "Returns scalar from matrix corresponding to the (Row,Column) pair" + "tooltip": "returns scalar from matrix corresponding to the (Row,Column) pair" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Row", + "base": "DataInput_Row_1", "details": { "name": "Row" } }, { - "base": "DataInput_Column", + "base": "DataInput_Column_2", "details": { "name": "Column" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRow.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRow.names index f85577a201..e6e954f231 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRow.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRow.names @@ -7,35 +7,35 @@ "details": { "name": "Get Row", "category": "Math/Matrix3x3", - "tooltip": "Returns vector from matrix corresponding to the Row index" + "tooltip": "returns vector from matrix corresponding to the Row index" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Row", + "base": "DataInput_Row_1", "details": { "name": "Row" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRows.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRows.names index 98834cbfe4..1896cb9da3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRows.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_GetRows.names @@ -7,43 +7,43 @@ "details": { "name": "Get Rows", "category": "Math/Matrix3x3", - "tooltip": "Returns all rows from matrix" + "tooltip": "returns all rows from matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Row1", + "base": "DataOutput_Row1_0", "details": { - "name": "Row 1" + "name": "Row1" } }, { - "base": "DataOutput_Row2", + "base": "DataOutput_Row2_1", "details": { - "name": "Row 2" + "name": "Row2" } }, { - "base": "DataOutput_Row3", + "base": "DataOutput_Row3_2", "details": { - "name": "Row 3" + "name": "Row3" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Invert.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Invert.names index c128a22337..33491ec876 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Invert.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Invert.names @@ -7,29 +7,29 @@ "details": { "name": "Invert", "category": "Math/Matrix3x3", - "tooltip": "Returns inverse of Matrix" + "tooltip": "returns inverse of Matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsClose.names index 03d72efaf8..7852102617 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsClose.names @@ -7,41 +7,41 @@ "details": { "name": "Is Close", "category": "Math/Matrix3x3", - "tooltip": "Returns true if each element of both Matrix are equal within some tolerance" + "tooltip": "returns true if each element of both Matrix are equal within some tolerance" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_2", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsFinite.names index 11cf183614..96cd01c1f6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsFinite.names @@ -7,29 +7,29 @@ "details": { "name": "Is Finite", "category": "Math/Matrix3x3", - "tooltip": "Returns true if all numbers in matrix is finite" + "tooltip": "returns true if all numbers in matrix is finite" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsOrthogonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsOrthogonal.names index f0e0fba7e1..134e985d08 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsOrthogonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_IsOrthogonal.names @@ -7,29 +7,29 @@ "details": { "name": "Is Orthogonal", "category": "Math/Matrix3x3", - "tooltip": "Returns true if the matrix is orthogonal" + "tooltip": "returns true if the matrix is orthogonal" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByNumber.names index 79f5fee679..82442a675d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByNumber.names @@ -7,35 +7,35 @@ "details": { "name": "Multiply By Number", "category": "Math/Matrix3x3", - "tooltip": "Returns matrix created from multiply the source matrix by Multiplier" + "tooltip": "returns matrix created from multiply the source matrix by Multiplier" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Multiplier", + "base": "DataInput_Multiplier_1", "details": { "name": "Multiplier" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByVector.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByVector.names index bd4f2c6ece..35b4b06bc6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByVector.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_MultiplyByVector.names @@ -7,35 +7,35 @@ "details": { "name": "Multiply By Vector", "category": "Math/Matrix3x3", - "tooltip": "Returns vector created by right left multiplying matrix by supplied vector" + "tooltip": "returns vector created by right left multiplying matrix by supplied vector" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Vector", + "base": "DataInput_Vector_1", "details": { "name": "Vector" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Orthogonalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Orthogonalize.names index cb1a2ffc69..4d5778ce63 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Orthogonalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Orthogonalize.names @@ -7,29 +7,29 @@ "details": { "name": "Orthogonalize", "category": "Math/Matrix3x3", - "tooltip": "Returns an orthogonal matrix from the Source matrix" + "tooltip": "returns an orthogonal matrix from the Source matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToAdjugate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToAdjugate.names index 32dc94b070..7e78ac305f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToAdjugate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToAdjugate.names @@ -7,29 +7,29 @@ "details": { "name": "To Adjugate", "category": "Math/Matrix3x3", - "tooltip": "Returns the transpose of Matrix of cofactors" + "tooltip": "returns the transpose of Matrix of cofactors" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToDeterminant.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToDeterminant.names index eecd614044..8296a2177e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToDeterminant.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToDeterminant.names @@ -7,29 +7,29 @@ "details": { "name": "To Determinant", "category": "Math/Matrix3x3", - "tooltip": "Returns determinant of Matrix" + "tooltip": "returns determinant of Matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Determinant", + "base": "DataOutput_Determinant_0", "details": { "name": "Determinant" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToScale.names index 27680a0107..dc2816e915 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_ToScale.names @@ -7,29 +7,29 @@ "details": { "name": "To Scale", "category": "Math/Matrix3x3", - "tooltip": "Returns scale part of the transformation matrix" + "tooltip": "returns scale part of the transformation matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Transpose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Transpose.names index 495a34df7c..a95931218a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Transpose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Transpose.names @@ -11,25 +11,25 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Zero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Zero.names index 036dd90b45..7a65f849a8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Zero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix3x3_Zero.names @@ -7,23 +7,23 @@ "details": { "name": "Zero", "category": "Math/Matrix3x3", - "tooltip": "Returns the zero matrix" + "tooltip": "returns the zero matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromColumns.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromColumns.names index 8ff9f22184..ac4641b312 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromColumns.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromColumns.names @@ -5,52 +5,51 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "FromColumns", + "name": "From Columns", "category": "Math/Matrix4x4", - "tooltip": "returns a rotation matrix based on angle around Z axis", - "subtitle": "Matrix4x4" + "tooltip": "returns a rotation matrix based on angle around Z axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector4: Column1", + "base": "DataInput_Column1_0", "details": { - "name": "Vector4: Column1" + "name": "Column1" } }, { - "base": "DataInput_Vector4: Column2", + "base": "DataInput_Column2_1", "details": { - "name": "Vector4: Column2" + "name": "Column2" } }, { - "base": "DataInput_Vector4: Column3", + "base": "DataInput_Column3_2", "details": { - "name": "Vector4: Column3" + "name": "Column3" } }, { - "base": "DataInput_Vector4: Column4", + "base": "DataInput_Column4_3", "details": { - "name": "Vector4: Column4" + "name": "Column4" } }, { - "base": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Matrix4x4" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromDiagonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromDiagonal.names index 60d8c29b6d..f041a0304c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromDiagonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromDiagonal.names @@ -7,29 +7,29 @@ "details": { "name": "From Diagonal", "category": "Math/Matrix4x4", - "tooltip": "Returns a diagonal matrix using the supplied vector" + "tooltip": "returns a diagonal matrix using the supplied vector" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromMatrix3x3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromMatrix3x3.names index 634489bc27..36a8f92060 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromMatrix3x3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromMatrix3x3.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Matrix3x3", + "name": "From Matrix 3x 3", "category": "Math/Matrix4x4", - "tooltip": "Returns a matrix from the from the Matrix3x3" + "tooltip": "returns a matrix from the from the Matrix3x3" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternion.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternion.names index abdd77ac84..59acee1602 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternion.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternion.names @@ -5,34 +5,33 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "FromQuaternion", + "name": "From Quaternion", "category": "Math/Matrix4x4", - "tooltip": "returns a rotation matrix using the supplied quaternion", - "subtitle": "Matrix4x4" + "tooltip": "returns a rotation matrix using the supplied quaternion" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Quaternion: Source", + "base": "DataInput_Source_0", "details": { - "name": "Quaternion: Source" + "name": "Source" } }, { - "base": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result_0", "details": { - "name": "Result: Matrix4x4" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternionAndTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternionAndTranslation.names index a922fb957d..74aacf6e19 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternionAndTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromQuaternionAndTranslation.names @@ -7,35 +7,35 @@ "details": { "name": "From Quaternion And Translation", "category": "Math/Matrix4x4", - "tooltip": "Returns a skew-symmetric cross product matrix based on supplied vector" + "tooltip": "returns a skew-symmetric cross product matrix based on supplied vector" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Rotation", + "base": "DataInput_Rotation_0", "details": { "name": "Rotation" } }, { - "base": "DataInput_Translation", + "base": "DataInput_Translation_1", "details": { "name": "Translation" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationXDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationXDegrees.names index 092564c7c2..fcd02e86ac 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationXDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationXDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Rotation X Degrees", + "name": "From RotationX Degrees", "category": "Math/Matrix4x4", - "tooltip": "Returns a rotation matrix representing a rotation in degrees around X-axis" + "tooltip": "returns a rotation matrix representing a rotation in degrees around X-axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationYDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationYDegrees.names index 1b1796ed2f..62a5e6f877 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationYDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationYDegrees.names @@ -5,34 +5,33 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Rotation Y Degrees", + "name": "From RotationY Degrees", "category": "Math/Matrix4x4", - "tooltip": "Returns a rotation matrix representing a rotation in degrees around Y-axis", - "subtitle": "Matrix4x4" + "tooltip": "returns a rotation matrix representing a rotation in degrees around Y-axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Number: Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result_0", "details": { - "name": "Matrix4x4" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationZDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationZDegrees.names index 8b449f02a7..f41b0edc7d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationZDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRotationZDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Rotation Z Degrees", + "name": "From RotationZ Degrees", "category": "Math/Matrix4x4", - "tooltip": "Returns a rotation matrix representing a rotation in degrees around Z-axis" + "tooltip": "returns a rotation matrix representing a rotation in degrees around Z-axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRows.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRows.names index fba64d8d32..0f90d8ba79 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRows.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromRows.names @@ -7,47 +7,47 @@ "details": { "name": "From Rows", "category": "Math/Matrix4x4", - "tooltip": "Returns a matrix from three row" + "tooltip": "returns a matrix from three row" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Row1", + "base": "DataInput_Row1_0", "details": { - "name": "Row 1" + "name": "Row1" } }, { - "base": "DataInput_Row2", + "base": "DataInput_Row2_1", "details": { - "name": "Row 2" + "name": "Row2" } }, { - "base": "DataInput_Row3", + "base": "DataInput_Row3_2", "details": { - "name": "Row 3" + "name": "Row3" } }, { - "base": "DataInput_Row4", + "base": "DataInput_Row4_3", "details": { - "name": "Row 4" + "name": "Row4" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromScale.names index 314a856dbe..9d3e41426c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromScale.names @@ -7,32 +7,31 @@ "details": { "name": "From Scale", "category": "Math/Matrix4x4", - "tooltip": "Returns a scale matrix using the supplied vector", - "subtitle": "Matrix4x4" + "tooltip": "returns a scale matrix using the supplied vector" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector3: Scale", + "base": "DataInput_Scale_0", "details": { - "name": "Vector3: Scale" + "name": "Scale" } }, { - "base": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result_0", "details": { - "name": "Matrix4x4" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTransform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTransform.names index a9e0062987..adff3f7877 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTransform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTransform.names @@ -7,32 +7,31 @@ "details": { "name": "From Transform", "category": "Math/Matrix4x4", - "tooltip": "Returns a matrix using the supplied transform", - "subtitle": "Matrix4x4" + "tooltip": "returns a matrix using the supplied transform" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Transform: Transform", + "base": "DataInput_Transform_0", "details": { "name": "Transform" } }, { - "base": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result_0", "details": { - "name": "Matrix4x4" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTranslation.names index 45af601aea..28288fa217 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_FromTranslation.names @@ -7,32 +7,31 @@ "details": { "name": "From Translation", "category": "Math/Matrix4x4", - "tooltip": "Returns a skew-symmetric cross product matrix based on supplied vector", - "subtitle": "Matrix4x4" + "tooltip": "returns a skew-symmetric cross product matrix based on supplied vector" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector3: Source", + "base": "DataInput_Source_0", "details": { - "name": "Translation" + "name": "Source" } }, { - "base": "DataOutput_Result: Matrix4x4", + "base": "DataOutput_Result_0", "details": { - "name": "Matrix4x4" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumn.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumn.names index fbf0e8d1c2..39572748ab 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumn.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumn.names @@ -7,38 +7,37 @@ "details": { "name": "Get Column", "category": "Math/Matrix4x4", - "tooltip": "Returns vector from matrix corresponding to the Column index", - "subtitle": "Matrix4x4" + "tooltip": "returns vector from matrix corresponding to the Column index" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Matrix4x4: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Number: Column", + "base": "DataInput_Column_1", "details": { "name": "Column" } }, { - "base": "DataOutput_Result: Vector4", + "base": "DataOutput_Result_0", "details": { - "name": "Column" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumns.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumns.names index d9f7201afc..9a8c298188 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumns.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetColumns.names @@ -7,50 +7,49 @@ "details": { "name": "Get Columns", "category": "Math/Matrix4x4", - "tooltip": "Returns all columns from matrix", - "subtitle": "Matrix4x4" + "tooltip": "returns all columns from matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Matrix4x4: Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Column1: Vector4", + "base": "DataOutput_Column1_0", "details": { - "name": "Column 1" + "name": "Column1" } }, { - "base": "DataOutput_Column2: Vector4", + "base": "DataOutput_Column2_1", "details": { - "name": "Column 2" + "name": "Column2" } }, { - "base": "DataOutput_Column3: Vector4", + "base": "DataOutput_Column3_2", "details": { - "name": "Column 3" + "name": "Column3" } }, { - "base": "DataOutput_Column4: Vector4", + "base": "DataOutput_Column4_3", "details": { - "name": "Column 4" + "name": "Column4" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetDiagonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetDiagonal.names index e1b0efe63c..d1c60e00a7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetDiagonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetDiagonal.names @@ -7,29 +7,29 @@ "details": { "name": "Get Diagonal", "category": "Math/Matrix4x4", - "tooltip": "Returns vector of matrix diagonal values" + "tooltip": "returns vector of matrix diagonal values" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetElement.names index c5409e7d8f..20eae66177 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetElement.names @@ -7,41 +7,41 @@ "details": { "name": "Get Element", "category": "Math/Matrix4x4", - "tooltip": "Returns scalar from matrix corresponding to the (Row,Column) pair" + "tooltip": "returns scalar from matrix corresponding to the (Row,Column) pair" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Row", + "base": "DataInput_Row_1", "details": { "name": "Row" } }, { - "base": "DataInput_Column", + "base": "DataInput_Column_2", "details": { "name": "Column" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRow.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRow.names index 09a624c5f3..fcf7b55e3c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRow.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRow.names @@ -7,35 +7,35 @@ "details": { "name": "Get Row", "category": "Math/Matrix4x4", - "tooltip": "Returns vector from matrix corresponding to the Row index" + "tooltip": "returns vector from matrix corresponding to the Row index" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Row", + "base": "DataInput_Row_1", "details": { "name": "Row" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRows.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRows.names index c189d8f68a..47f4681441 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRows.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetRows.names @@ -7,47 +7,47 @@ "details": { "name": "Get Rows", "category": "Math/Matrix4x4", - "tooltip": "Returns all rows from matrix" + "tooltip": "returns all rows from matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Row1", + "base": "DataOutput_Row1_0", "details": { "name": "Row1" } }, { - "base": "DataOutput_Row2", + "base": "DataOutput_Row2_1", "details": { "name": "Row2" } }, { - "base": "DataOutput_Row3", + "base": "DataOutput_Row3_2", "details": { "name": "Row3" } }, { - "base": "DataOutput_Row4", + "base": "DataOutput_Row4_3", "details": { "name": "Row4" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetTranslation.names index b035564d83..9ee8dbb79e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_GetTranslation.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "GetTranslation", + "name": "Get Translation", "category": "Math/Matrix4x4", "tooltip": "returns translation vector from the matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Invert.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Invert.names index 89adc7d466..d69062c969 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Invert.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Invert.names @@ -7,29 +7,29 @@ "details": { "name": "Invert", "category": "Math/Matrix4x4", - "tooltip": "Returns inverse of Matrix" + "tooltip": "returns inverse of Matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsClose.names index 9bf12495f9..466f9e3c83 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsClose.names @@ -7,41 +7,41 @@ "details": { "name": "Is Close", "category": "Math/Matrix4x4", - "tooltip": "Returns true if each element of both Matrix are equal within some tolerance" + "tooltip": "returns true if each element of both Matrix are equal within some tolerance" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_2", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsFinite.names index 9fea9efe33..2438332ba5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_IsFinite.names @@ -7,29 +7,29 @@ "details": { "name": "Is Finite", "category": "Math/Matrix4x4", - "tooltip": "Returns true if all numbers in matrix is finite" + "tooltip": "returns true if all numbers in matrix is finite" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_MultiplyByVector.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_MultiplyByVector.names index 79bb32bbf3..5c6ff232cd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_MultiplyByVector.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_MultiplyByVector.names @@ -7,35 +7,35 @@ "details": { "name": "Multiply By Vector", "category": "Math/Matrix4x4", - "tooltip": "Returns vector created by right left multiplying matrix by supplied vector" + "tooltip": "returns vector created by right left multiplying matrix by supplied vector" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Vector", + "base": "DataInput_Vector_1", "details": { "name": "Vector" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_ToScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_ToScale.names index eeae11fc39..35b40a84ab 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_ToScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_ToScale.names @@ -7,29 +7,29 @@ "details": { "name": "To Scale", "category": "Math/Matrix4x4", - "tooltip": "Returns scale part of the transformation matrix" + "tooltip": "returns scale part of the transformation matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Transpose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Transpose.names index 621a831e9a..5552f5743d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Transpose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Transpose.names @@ -11,25 +11,25 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Zero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Zero.names index 3a208bbab5..f131e57d79 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Zero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathMatrix4x4_Zero.names @@ -11,19 +11,19 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Add.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Add.names index 9e3a0728d6..06a74eb189 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Add.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Add.names @@ -7,38 +7,37 @@ "details": { "name": "Add", "category": "Math/Number/Deprecated", - "tooltip": "Add", - "subtitle": "Deprecated" + "tooltip": "Add" }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Signaled after the arithmetic operation is done." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 7f4e449aad..db5af885f4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Divide.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Divide.names @@ -7,38 +7,37 @@ "details": { "name": "Divide", "category": "Math/Number/Deprecated", - "tooltip": "Divide", - "subtitle": "Deprecated" + "tooltip": "Divide" }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Signaled after the arithmetic operation is done." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 57be0e3fb3..d1755f18c8 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Multiply.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Multiply.names @@ -7,38 +7,37 @@ "details": { "name": "Multiply", "category": "Math/Number/Deprecated", - "tooltip": "Multiply", - "subtitle": "Deprecated" + "tooltip": "Multiply" }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Signaled after the arithmetic operation is done." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 4fa1764fde..8f963de916 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Subtract.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathNumberDeprecated_Subtract.names @@ -7,38 +7,37 @@ "details": { "name": "Subtract", "category": "Math/Number/Deprecated", - "tooltip": "Subtract", - "subtitle": "Deprecated" + "tooltip": "Subtract" }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Signaled after the arithmetic operation is done." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 9280f009e8..8776fb9f9a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromAabb.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromAabb.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Axis Aligned Bounding Box", - "category": "Math/Oriented Bounding Box", - "tooltip": "Converts the Source to an Oriented Bounding Box" + "name": "From Aabb", + "category": "Math/OBB", + "tooltip": "converts the Source to an OBB" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromPositionRotationAndHalfLengths.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromPositionRotationAndHalfLengths.names index bc125f2c9d..6bd745fc00 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromPositionRotationAndHalfLengths.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_FromPositionRotationAndHalfLengths.names @@ -6,42 +6,42 @@ "variant": "", "details": { "name": "From Position Rotation And Half Lengths", - "category": "Math/Oriented Bounding Box", - "tooltip": "returns an Oriented Bounding Box from the position, rotation and half lengths" + "category": "Math/OBB", + "tooltip": "returns an OBB from the position, rotation and half lengths" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Position", + "base": "DataInput_Position_0", "details": { "name": "Position" } }, { - "base": "DataInput_Rotation", + "base": "DataInput_Rotation_1", "details": { "name": "Rotation" } }, { - "base": "DataInput_HalfLengths", + "base": "DataInput_HalfLengths_2", "details": { - "name": "Half Lengths" + "name": "HalfLengths" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisX.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisX.names index 5c2860e739..acc9b81354 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisX.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisX.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Get Axis X", - "category": "Math/Oriented Bounding Box", - "tooltip": "Returns the X-Axis of Source" + "name": "Get AxisX", + "category": "Math/OBB", + "tooltip": "returns the X-Axis of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisY.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisY.names index d8d58baa9b..6e5fdd5fe0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisY.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisY.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Get Axis Y", - "category": "Math/Oriented Bounding Box", - "tooltip": "Returns the Y-Axis of Source" + "name": "Get AxisY", + "category": "Math/OBB", + "tooltip": "returns the Y-Axis of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisZ.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisZ.names index 3f10c5cb1b..fd17b6ab97 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisZ.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetAxisZ.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Get Axis Z", - "category": "Math/Oriented Bounding Box", - "tooltip": "Returns the Z-Axis of Source" + "name": "Get AxisZ", + "category": "Math/OBB", + "tooltip": "returns the Z-Axis of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetPosition.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetPosition.names index 8165f22a9c..d1f99364fb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetPosition.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_GetPosition.names @@ -6,30 +6,30 @@ "variant": "", "details": { "name": "Get Position", - "category": "Math/Oriented Bounding Box", - "tooltip": "Returns the position of Source" + "category": "Math/OBB", + "tooltip": "returns the position of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_IsFinite.names index 6a60006d56..eb0f6401c5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathOBB_IsFinite.names @@ -6,30 +6,30 @@ "variant": "", "details": { "name": "Is Finite", - "category": "Math/Oriented Bounding Box", - "tooltip": "Returns true if every element in Source is finite, is false" + "category": "Math/OBB", + "tooltip": "returns true if every element in Source is finite, is false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_DistanceToPoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_DistanceToPoint.names index 5353e147be..9a11d578ab 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_DistanceToPoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_DistanceToPoint.names @@ -7,35 +7,35 @@ "details": { "name": "Distance To Point", "category": "Math/Plane", - "tooltip": "Returns the closest distance from Source to Point" + "tooltip": "returns the closest distance from Source to Point" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Point", + "base": "DataInput_Point_1", "details": { "name": "Point" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromCoefficients.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromCoefficients.names index 8fc08635fd..9e201a9994 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromCoefficients.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromCoefficients.names @@ -7,47 +7,47 @@ "details": { "name": "From Coefficients", "category": "Math/Plane", - "tooltip": "Returns the plane that satisfies the equation Ax + By + Cz + D = 0" + "tooltip": "returns the plane that satisfies the equation Ax + By + Cz + D = 0" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataInput_C", + "base": "DataInput_C_2", "details": { "name": "C" } }, { - "base": "DataInput_D", + "base": "DataInput_D_3", "details": { "name": "D" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndDistance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndDistance.names index 52e5389e0f..4a0689cd17 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndDistance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndDistance.names @@ -7,35 +7,35 @@ "details": { "name": "From Normal And Distance", "category": "Math/Plane", - "tooltip": "Returns the plane with the specified Normal and Distance from the origin" + "tooltip": "returns the plane with the specified Normal and Distance from the origin" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Normal", + "base": "DataInput_Normal_0", "details": { "name": "Normal" } }, { - "base": "DataInput_Distance", + "base": "DataInput_Distance_1", "details": { "name": "Distance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndPoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndPoint.names index 3c33889597..a1b4402320 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndPoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_FromNormalAndPoint.names @@ -7,35 +7,35 @@ "details": { "name": "From Normal And Point", "category": "Math/Plane", - "tooltip": "Returns the plane which includes the Point with the specified Normal" + "tooltip": "returns the plane which includes the Point with the specified Normal" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Normal", + "base": "DataInput_Normal_0", "details": { "name": "Normal" } }, { - "base": "DataInput_Point", + "base": "DataInput_Point_1", "details": { "name": "Point" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetDistance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetDistance.names index 5673a596f7..f2af07c680 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetDistance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetDistance.names @@ -7,29 +7,29 @@ "details": { "name": "Get Distance", "category": "Math/Plane", - "tooltip": "Returns the Source's distance from the origin" + "tooltip": "returns the Source's distance from the origin" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetNormal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetNormal.names index 4db582ee90..a8e548c0c9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetNormal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetNormal.names @@ -7,29 +7,29 @@ "details": { "name": "Get Normal", "category": "Math/Plane", - "tooltip": "Returns the surface normal of Source" + "tooltip": "returns the surface normal of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetPlaneEquationCoefficients.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetPlaneEquationCoefficients.names index 36c6e35769..82162af98c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetPlaneEquationCoefficients.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_GetPlaneEquationCoefficients.names @@ -7,47 +7,47 @@ "details": { "name": "Get Plane Equation Coefficients", "category": "Math/Plane", - "tooltip": "Returns Source's coefficient's (A, B, C, D) in the equation Ax + By + Cz + D = 0" + "tooltip": "returns Source's coefficient's (A, B, C, D) in the equation Ax + By + Cz + D = 0" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_A", + "base": "DataOutput_A_0", "details": { "name": "A" } }, { - "base": "DataOutput_B", + "base": "DataOutput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_C", + "base": "DataOutput_C_2", "details": { "name": "C" } }, { - "base": "DataOutput_D", + "base": "DataOutput_D_3", "details": { "name": "D" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_IsFinite.names index 6bf24dfac5..ec8d1c181b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_IsFinite.names @@ -7,29 +7,29 @@ "details": { "name": "Is Finite", "category": "Math/Plane", - "tooltip": "Returns true if Source is finite, else false" + "tooltip": "returns true if Source is finite, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Project.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Project.names index 8ff3251e3b..49d1fe077b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Project.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Project.names @@ -7,35 +7,35 @@ "details": { "name": "Project", "category": "Math/Plane", - "tooltip": "Returns the projection of Point onto Source" + "tooltip": "returns the projection of Point onto Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Point", + "base": "DataInput_Point_1", "details": { "name": "Point" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Transform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Transform.names index d06be76f8c..f1a7d85fd0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Transform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathPlane_Transform.names @@ -7,35 +7,35 @@ "details": { "name": "Transform", "category": "Math/Plane", - "tooltip": "Returns Source transformed by Transform" + "tooltip": "returns Source transformed by Transform" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Transform", + "base": "DataInput_Transform_1", "details": { "name": "Transform" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Conjugate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Conjugate.names index 13f58a276b..cf5021610f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Conjugate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Conjugate.names @@ -7,29 +7,29 @@ "details": { "name": "Conjugate", "category": "Math/Quaternion", - "tooltip": "Returns the conjugate of the source, (-x, -y, -z, w)" + "tooltip": "returns the conjugate of the source, (-x, -y, -z, w)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ConvertTransformToRotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ConvertTransformToRotation.names index bdf1980570..52a1be1d0c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ConvertTransformToRotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ConvertTransformToRotation.names @@ -10,25 +10,25 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Transform", + "base": "DataInput_Transform_0", "details": { "name": "Transform" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_CreateFromEulerAngles.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_CreateFromEulerAngles.names index 3ea8425186..f8c8f89710 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_CreateFromEulerAngles.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_CreateFromEulerAngles.names @@ -11,37 +11,37 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Pitch", + "base": "DataInput_Pitch_0", "details": { "name": "Pitch" } }, { - "base": "DataInput_Roll", + "base": "DataInput_Roll_1", "details": { "name": "Roll" } }, { - "base": "DataInput_Yaw", + "base": "DataInput_Yaw_2", "details": { "name": "Yaw" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Dot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Dot.names index dce76a8cc0..d17ba8d861 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Dot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Dot.names @@ -7,35 +7,35 @@ "details": { "name": "Dot", "category": "Math/Quaternion", - "tooltip": "Returns the Dot product of A and B" + "tooltip": "returns the Dot product of A and B" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromAxisAngleDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromAxisAngleDegrees.names index 2007847335..6921811814 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromAxisAngleDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromAxisAngleDegrees.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Axis Angle (Degrees)", + "name": "From Axis Angle Degrees", "category": "Math/Quaternion", - "tooltip": "Returns the rotation created from Axis the angle Degrees" + "tooltip": "returns the rotation created from Axis the angle Degrees" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Axis", + "base": "DataInput_Axis_0", "details": { "name": "Axis" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_1", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix3x3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix3x3.names index 646714b48d..00dea8ed2c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix3x3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix3x3.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Matrix3x3", + "name": "From Matrix 3x 3", "category": "Math/Quaternion", - "tooltip": "Returns a rotation created from the 3x3 matrix source" + "tooltip": "returns a rotation created from the 3x3 matrix source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix4x4.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix4x4.names index b6b38f7297..793b3535e7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix4x4.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromMatrix4x4.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Matrix4x4", + "name": "From Matrix 4x 4", "category": "Math/Quaternion", - "tooltip": "Returns a rotation created from the 4x4 matrix source" + "tooltip": "returns a rotation created from the 4x4 matrix source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromTransform.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromTransform.names index 9fb08ffa2b..7961a836fe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromTransform.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_FromTransform.names @@ -7,29 +7,29 @@ "details": { "name": "From Transform", "category": "Math/Quaternion", - "tooltip": "Returns a rotation created from the rotation part of the transform source" + "tooltip": "returns a rotation created from the rotation part of the transform source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_InvertFull.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_InvertFull.names index ceeebae083..80bf8b6d94 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_InvertFull.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_InvertFull.names @@ -7,29 +7,29 @@ "details": { "name": "Invert Full", "category": "Math/Quaternion", - "tooltip": "Returns the inverse for any rotation, not just unit rotations" + "tooltip": "returns the inverse for any rotation, not just unit rotations" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsClose.names index 302acb0e94..962de452f1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsClose.names @@ -7,41 +7,41 @@ "details": { "name": "Is Close", "category": "Math/Quaternion", - "tooltip": "Returns true if A and B are within Tolerance of each other" + "tooltip": "returns true if A and B are within Tolerance of each other" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_2", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsFinite.names index deda4ab105..53e98df1ca 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsFinite.names @@ -7,29 +7,29 @@ "details": { "name": "Is Finite", "category": "Math/Quaternion", - "tooltip": "Returns true if every element in Source is finite" + "tooltip": "returns true if every element in Source is finite" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsIdentity.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsIdentity.names index b4cda49248..dbede4c06f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsIdentity.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsIdentity.names @@ -7,35 +7,35 @@ "details": { "name": "Is Identity", "category": "Math/Quaternion", - "tooltip": "Returns true if Source is within Tolerance of the Identity rotation" + "tooltip": "returns true if Source is within Tolerance of the Identity rotation" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_1", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsZero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsZero.names index 99bde6bd2b..94158d1744 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsZero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_IsZero.names @@ -7,35 +7,35 @@ "details": { "name": "Is Zero", "category": "Math/Quaternion", - "tooltip": "Returns true if Source is within Tolerance of the Zero rotation" + "tooltip": "returns true if Source is within Tolerance of the Zero rotation" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_1", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthReciprocal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthReciprocal.names index 591b61fb3a..00b3b45081 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthReciprocal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthReciprocal.names @@ -7,29 +7,29 @@ "details": { "name": "Length Reciprocal", "category": "Math/Quaternion", - "tooltip": "Returns the reciprocal length of Source" + "tooltip": "returns the reciprocal length of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthSquared.names index 1c50bdc5e6..4a5dff7480 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_LengthSquared.names @@ -7,29 +7,29 @@ "details": { "name": "Length Squared", "category": "Math/Quaternion", - "tooltip": "Returns the square of the length of Source" + "tooltip": "returns the square of the length of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Lerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Lerp.names index 11bb5d0816..c85e98643f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Lerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Lerp.names @@ -7,41 +7,41 @@ "details": { "name": "Lerp", "category": "Math/Quaternion", - "tooltip": "Returns a the linear interpolation between From and To by the amount T" + "tooltip": "returns a the linear interpolation between From and To by the amount T" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataInput_T", + "base": "DataInput_T_2", "details": { "name": "T" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_MultiplyByNumber.names index d632a64250..0515825242 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_MultiplyByNumber.names @@ -7,35 +7,35 @@ "details": { "name": "Multiply By Number", "category": "Math/Quaternion", - "tooltip": "Returns the Source with each element multiplied by Multiplier" + "tooltip": "returns the Source with each element multiplied by Multiplier" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Multiplier", + "base": "DataInput_Multiplier_1", "details": { "name": "Multiplier" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Negate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Negate.names index effceed57e..bfb9c642bd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Negate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Negate.names @@ -7,29 +7,29 @@ "details": { "name": "Negate", "category": "Math/Quaternion", - "tooltip": "Returns the Source with each element negated" + "tooltip": "returns the Source with each element negated" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Normalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Normalize.names index 83adfd8e38..38d4ab42ec 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Normalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Normalize.names @@ -7,29 +7,29 @@ "details": { "name": "Normalize", "category": "Math/Quaternion", - "tooltip": "Returns the normalized version of Source" + "tooltip": "returns the normalized version of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotateVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotateVector3.names index a18c86703c..17098ac745 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotateVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotateVector3.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Rotate Vector3", + "name": "Rotate Vector 3", "category": "Math/Quaternion", "tooltip": "Returns a new Vector3 that is the source vector3 rotated by the given Quaternion" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Quaternion", + "base": "DataInput_Quaternion_0", "details": { "name": "Quaternion" } }, { - "base": "DataInput_Vector", + "base": "DataInput_Vector_1", "details": { "name": "Vector" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationXDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationXDegrees.names index ad554e2364..6b44d7cb7b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationXDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationXDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Rotation X (Degrees)", + "name": "RotationX Degrees", "category": "Math/Quaternion", - "tooltip": "Creates a rotation of Degrees around the x-axis" + "tooltip": "creates a rotation of Degrees around the x-axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationYDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationYDegrees.names index 047af94ec0..5821211706 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationYDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationYDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Rotation Y (Degrees)", + "name": "RotationY Degrees", "category": "Math/Quaternion", - "tooltip": "Creates a rotation of Degrees around the y-axis" + "tooltip": "creates a rotation of Degrees around the y-axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationZDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationZDegrees.names index abd872aa1c..0e48e214a1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationZDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_RotationZDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Rotation Z (Degrees)", + "name": "RotationZ Degrees", "category": "Math/Quaternion", - "tooltip": "Creates a rotation of Degrees around the z-axis" + "tooltip": "creates a rotation of Degrees around the z-axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ShortestArc.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ShortestArc.names index 7bed39e779..e08982faeb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ShortestArc.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ShortestArc.names @@ -7,35 +7,35 @@ "details": { "name": "Shortest Arc", "category": "Math/Quaternion", - "tooltip": "Creates a rotation representing the shortest arc between From and To" + "tooltip": "creates a rotation representing the shortest arc between From and To" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Slerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Slerp.names index f5a9f2333c..eccaf84a6f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Slerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Slerp.names @@ -7,41 +7,41 @@ "details": { "name": "Slerp", "category": "Math/Quaternion", - "tooltip": "Returns the spherical linear interpolation between From and To by the amount T, the result is NOT normalized" + "tooltip": "returns the spherical linear interpolation between From and To by the amount T, the result is NOT normalized" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataInput_T", + "base": "DataInput_T_2", "details": { "name": "T" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Squad.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Squad.names index 2c0915cb83..1205b6cb84 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Squad.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_Squad.names @@ -7,53 +7,53 @@ "details": { "name": "Squad", "category": "Math/Quaternion", - "tooltip": "Returns the quadratic interpolation, that is: Squad(From, To, In, Out, T) = Slerp(Slerp(From, Out, T), Slerp(To, In, T), 2(1 - T)T)" + "tooltip": "returns the quadratic interpolation, that is: Squad(From, To, In, Out, T) = Slerp(Slerp(From, Out, T), Slerp(To, In, T), 2(1 - T)T)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataInput_In", + "base": "DataInput_In_2", "details": { "name": "In" } }, { - "base": "DataInput_Out", + "base": "DataInput_Out_3", "details": { "name": "Out" } }, { - "base": "DataInput_T", + "base": "DataInput_T_4", "details": { "name": "T" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ToAngleDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ToAngleDegrees.names index cdfeaaa8e7..cc57f52606 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ToAngleDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathQuaternion_ToAngleDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "To Angle (Degrees)", + "name": "To Angle Degrees", "category": "Math/Quaternion", - "tooltip": "Returns the angle of angle-axis pair that Source represents in degrees" + "tooltip": "returns the angle of angle-axis pair that Source represents in degrees" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomColor.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomColor.names index 74c0f7e2e3..74a47ea568 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomColor.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomColor.names @@ -11,31 +11,31 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Min", + "base": "DataInput_Min_0", "details": { "name": "Min" } }, { - "base": "DataInput_Max", + "base": "DataInput_Max_1", "details": { "name": "Max" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomGrayscale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomGrayscale.names index 3fa603ca9a..3b32743229 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomGrayscale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomGrayscale.names @@ -11,31 +11,31 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Min", + "base": "DataInput_Min_0", "details": { "name": "Min" } }, { - "base": "DataInput_Max", + "base": "DataInput_Max_1", "details": { "name": "Max" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomInteger.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomInteger.names index 0e3131a398..009fd55a8a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomInteger.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomInteger.names @@ -7,35 +7,35 @@ "details": { "name": "Random Integer", "category": "Math/Random", - "tooltip": "Returns a random integer [Min, Max]" + "tooltip": "returns a random integer [Min, Max]" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Min", + "base": "DataInput_Min_0", "details": { "name": "Min" } }, { - "base": "DataInput_Max", + "base": "DataInput_Max_1", "details": { "name": "Max" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomNumber.names index f2208525d2..e441a5011e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomNumber.names @@ -7,35 +7,35 @@ "details": { "name": "Random Number", "category": "Math/Random", - "tooltip": "Returns a random real number [Min, Max]" + "tooltip": "returns a random real number [Min, Max]" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Min", + "base": "DataInput_Min_0", "details": { "name": "Min" } }, { - "base": "DataInput_Max", + "base": "DataInput_Max_1", "details": { "name": "Max" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInArc.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInArc.names index fb23ddf7c2..fc877f24aa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInArc.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInArc.names @@ -7,53 +7,53 @@ "details": { "name": "Random Point In Arc", "category": "Math/Random", - "tooltip": "Returns a random point in the specified arc" + "tooltip": "returns a random point in the specified arc" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Origin", + "base": "DataInput_Origin_0", "details": { "name": "Origin" } }, { - "base": "DataInput_Direction", + "base": "DataInput_Direction_1", "details": { "name": "Direction" } }, { - "base": "DataInput_Normal", + "base": "DataInput_Normal_2", "details": { "name": "Normal" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_3", "details": { "name": "Radius" } }, { - "base": "DataInput_Angle", + "base": "DataInput_Angle_4", "details": { "name": "Angle" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInBox.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInBox.names index a5cd2fdeac..6b65ca9940 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInBox.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInBox.names @@ -7,29 +7,29 @@ "details": { "name": "Random Point In Box", "category": "Math/Random", - "tooltip": "Returns a random point in a box" + "tooltip": "returns a random point in a box" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Dimensions", + "base": "DataInput_Dimensions_0", "details": { "name": "Dimensions" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCircle.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCircle.names index e4dbeb4dd3..c87ca2880a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCircle.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCircle.names @@ -7,29 +7,29 @@ "details": { "name": "Random Point In Circle", "category": "Math/Random", - "tooltip": "Returns a random point inside the area of a circle" + "tooltip": "returns a random point inside the area of a circle" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_0", "details": { "name": "Radius" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCone.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCone.names index 4c7270d0f4..756ae87ce1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCone.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCone.names @@ -7,35 +7,35 @@ "details": { "name": "Random Point In Cone", "category": "Math/Random", - "tooltip": "Returns a random point in a cone" + "tooltip": "returns a random point in a cone" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_0", "details": { "name": "Radius" } }, { - "base": "DataInput_Angle", + "base": "DataInput_Angle_1", "details": { "name": "Angle" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCylinder.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCylinder.names index 92dcefe8c7..655e5512ee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCylinder.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInCylinder.names @@ -7,35 +7,35 @@ "details": { "name": "Random Point In Cylinder", "category": "Math/Random", - "tooltip": "Returns a random point in a cylinder" + "tooltip": "returns a random point in a cylinder" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_0", "details": { "name": "Radius" } }, { - "base": "DataInput_Height", + "base": "DataInput_Height_1", "details": { "name": "Height" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInEllipsoid.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInEllipsoid.names index 21d3ca2f96..67e9387d22 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInEllipsoid.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInEllipsoid.names @@ -7,29 +7,29 @@ "details": { "name": "Random Point In Ellipsoid", "category": "Math/Random", - "tooltip": "Returns a random point in an ellipsoid" + "tooltip": "returns a random point in an ellipsoid" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Dimensions", + "base": "DataInput_Dimensions_0", "details": { "name": "Dimensions" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSphere.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSphere.names index 60d4a9cbd8..b135084d49 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSphere.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSphere.names @@ -7,29 +7,29 @@ "details": { "name": "Random Point In Sphere", "category": "Math/Random", - "tooltip": "Returns a random point in a sphere" + "tooltip": "returns a random point in a sphere" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_0", "details": { "name": "Radius" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSquare.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSquare.names index 82d6f6e156..0c176a2897 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSquare.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInSquare.names @@ -7,29 +7,29 @@ "details": { "name": "Random Point In Square", "category": "Math/Random", - "tooltip": "Returns a random point in a square" + "tooltip": "returns a random point in a square" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Dimensions", + "base": "DataInput_Dimensions_0", "details": { "name": "Dimensions" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInWedge.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInWedge.names index 401c3afcb4..33c2b9eec3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInWedge.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointInWedge.names @@ -7,59 +7,59 @@ "details": { "name": "Random Point In Wedge", "category": "Math/Random", - "tooltip": "Returns a random point in the specified wedge" + "tooltip": "returns a random point in the specified wedge" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Origin", + "base": "DataInput_Origin_0", "details": { "name": "Origin" } }, { - "base": "DataInput_Direction", + "base": "DataInput_Direction_1", "details": { "name": "Direction" } }, { - "base": "DataInput_Normal", + "base": "DataInput_Normal_2", "details": { "name": "Normal" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_3", "details": { "name": "Radius" } }, { - "base": "DataInput_Height", + "base": "DataInput_Height_4", "details": { "name": "Height" } }, { - "base": "DataInput_Angle", + "base": "DataInput_Angle_5", "details": { "name": "Angle" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnCircle.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnCircle.names index 39433c405e..16a3a0f396 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnCircle.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnCircle.names @@ -7,29 +7,29 @@ "details": { "name": "Random Point On Circle", "category": "Math/Random", - "tooltip": "Returns a random point on the circumference of a circle" + "tooltip": "returns a random point on the circumference of a circle" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_0", "details": { "name": "Radius" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnSphere.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnSphere.names index 6e54bb7d72..e2f6db1112 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnSphere.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomPointOnSphere.names @@ -7,29 +7,29 @@ "details": { "name": "Random Point On Sphere", "category": "Math/Random", - "tooltip": "Returns a random point on the surface of a sphere" + "tooltip": "returns a random point on the surface of a sphere" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_0", "details": { "name": "Radius" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomQuaternion.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomQuaternion.names index ccae17450c..e4813c0dc5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomQuaternion.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomQuaternion.names @@ -7,35 +7,35 @@ "details": { "name": "Random Quaternion", "category": "Math/Random", - "tooltip": "Returns a random quaternion" + "tooltip": "returns a random quaternion" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Min", + "base": "DataInput_Min_0", "details": { "name": "Min" } }, { - "base": "DataInput_Max", + "base": "DataInput_Max_1", "details": { "name": "Max" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector2.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector2.names index e1b9340392..22c7e14c01 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector2.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector2.names @@ -5,25 +5,25 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Random Unit Vector2", + "name": "Random Unit Vector 2", "category": "Math/Random", - "tooltip": "Returns a random Vector2 direction" + "tooltip": "returns a random Vector2 direction" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector3.names index 06990bde99..e5a11144d9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomUnitVector3.names @@ -5,25 +5,25 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Random Unit Vector3", + "name": "Random Unit Vector 3", "category": "Math/Random", - "tooltip": "Returns a random Vector3 direction" + "tooltip": "returns a random Vector3 direction" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector2.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector2.names index 0128628cb4..07b1d1930d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector2.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector2.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Random Vector2", + "name": "Random Vector 2", "category": "Math/Random", - "tooltip": "Returns a random Vector2" + "tooltip": "returns a random Vector2" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Min", + "base": "DataInput_Min_0", "details": { "name": "Min" } }, { - "base": "DataInput_Max", + "base": "DataInput_Max_1", "details": { "name": "Max" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector3.names index d77f6e96c6..8711307413 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector3.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Random Vector3", + "name": "Random Vector 3", "category": "Math/Random", - "tooltip": "Returns a random Vector3" + "tooltip": "returns a random Vector3" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Min", + "base": "DataInput_Min_0", "details": { "name": "Min" } }, { - "base": "DataInput_Max", + "base": "DataInput_Max_1", "details": { "name": "Max" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector4.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector4.names index df7bd9384f..045f653c45 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector4.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathRandom_RandomVector4.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Random Vector4", + "name": "Random Vector 4", "category": "Math/Random", - "tooltip": "Returns a random Vector4" + "tooltip": "returns a random Vector4" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Min", + "base": "DataInput_Min_0", "details": { "name": "Min" } }, { - "base": "DataInput_Max", + "base": "DataInput_Max_1", "details": { "name": "Max" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3.names index 70826cd581..8c3f7f8cfa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Matrix3x3", + "name": "From Matrix 3x 3", "category": "Math/Transform", - "tooltip": "Returns a transform with from 3x3 matrix and with the translation set to zero" + "tooltip": "returns a transform with from 3x3 matrix and with the translation set to zero" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3AndTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3AndTranslation.names index a64be79b93..583e0aa059 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3AndTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromMatrix3x3AndTranslation.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "From Matrix3x3 And Translation", + "name": "From Matrix 3x 3 And Translation", "category": "Math/Transform", - "tooltip": "Returns a transform from the 3x3 matrix and the translation" + "tooltip": "returns a transform from the 3x3 matrix and the translation" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Matrix", + "base": "DataInput_Matrix_0", "details": { "name": "Matrix" } }, { - "base": "DataInput_Translation", + "base": "DataInput_Translation_1", "details": { "name": "Translation" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotation.names index db1f5d7706..f8cb3a7033 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotation.names @@ -7,29 +7,29 @@ "details": { "name": "From Rotation", "category": "Math/Transform", - "tooltip": "Returns a transform from the rotation and with the translation set to zero" + "tooltip": "returns a transform from the rotation and with the translation set to zero" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotationAndTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotationAndTranslation.names index 0a44bbe29f..3474a53f52 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotationAndTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromRotationAndTranslation.names @@ -7,35 +7,35 @@ "details": { "name": "From Rotation And Translation", "category": "Math/Transform", - "tooltip": "Returns a transform from the rotation and the translation" + "tooltip": "returns a transform from the rotation and the translation" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Rotation", + "base": "DataInput_Rotation_0", "details": { "name": "Rotation" } }, { - "base": "DataInput_Translation", + "base": "DataInput_Translation_1", "details": { "name": "Translation" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromScale.names index 071ead3598..59bbce441f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromScale.names @@ -7,29 +7,29 @@ "details": { "name": "From Scale", "category": "Math/Transform", - "tooltip": "Returns a transform which applies the specified uniform Scale, but no rotation or translation" + "tooltip": "returns a transform which applies the specified uniform Scale, but no rotation or translation" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_0", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromTranslation.names index 391dfd9bee..20cad0b8f5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_FromTranslation.names @@ -7,29 +7,29 @@ "details": { "name": "From Translation", "category": "Math/Transform", - "tooltip": "Returns a translation matrix and the rotation set to zero" + "tooltip": "returns a translation matrix and the rotation set to zero" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Translation", + "base": "DataInput_Translation_0", "details": { "name": "Translation" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetForward.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetForward.names index 9356423bc4..1894819e38 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetForward.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetForward.names @@ -7,35 +7,35 @@ "details": { "name": "Get Forward", "category": "Math/Transform", - "tooltip": "Returns the forward direction vector from the specified transform scaled by a given value (O3DE uses Z up, right handed)" + "tooltip": "returns the forward direction vector from the specified transform scaled by a given value (O3DE uses Z up, right handed)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_1", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetRight.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetRight.names index 8723a54349..5a3d979a9d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetRight.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetRight.names @@ -7,35 +7,35 @@ "details": { "name": "Get Right", "category": "Math/Transform", - "tooltip": "Returns the right direction vector from the specified transform scaled by a given value (O3DE uses Z up, right handed)" + "tooltip": "returns the right direction vector from the specified transform scaled by a given value (O3DE uses Z up, right handed)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_1", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetTranslation.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetTranslation.names index 276db70fa1..0d56cee4df 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetTranslation.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetTranslation.names @@ -7,29 +7,29 @@ "details": { "name": "Get Translation", "category": "Math/Transform", - "tooltip": "Returns the translation of Source" + "tooltip": "returns the translation of Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetUp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetUp.names index cf3dbd3e8c..a1baecdfdb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetUp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_GetUp.names @@ -7,35 +7,35 @@ "details": { "name": "Get Up", "category": "Math/Transform", - "tooltip": "Returns the up direction vector from the specified transform scaled by a given value (O3DE uses Z up, right handed)" + "tooltip": "returns the up direction vector from the specified transform scaled by a given value (O3DE uses Z up, right handed)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_1", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsClose.names index 65af93c3d0..936f1f52cb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsClose.names @@ -7,41 +7,41 @@ "details": { "name": "Is Close", "category": "Math/Transform", - "tooltip": "Returns true if every row of A is within Tolerance of corresponding row in B, else false" + "tooltip": "returns true if every row of A is within Tolerance of corresponding row in B, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_2", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsFinite.names index f98506dd62..38a8b05377 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsFinite.names @@ -7,29 +7,29 @@ "details": { "name": "Is Finite", "category": "Math/Transform", - "tooltip": "Returns true if every row of source is finite, else false" + "tooltip": "returns true if every row of source is finite, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsOrthogonal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsOrthogonal.names index f4dd80a4a2..f55e2af0bd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsOrthogonal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_IsOrthogonal.names @@ -7,35 +7,35 @@ "details": { "name": "Is Orthogonal", "category": "Math/Transform", - "tooltip": "Returns true if the upper 3x3 matrix of Source is within Tolerance of orthogonal, else false" + "tooltip": "returns true if the upper 3x3 matrix of Source is within Tolerance of orthogonal, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_1", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByUniformScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByUniformScale.names index f8bcbc41a7..6e38a48fee 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByUniformScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByUniformScale.names @@ -7,35 +7,35 @@ "details": { "name": "Multiply By Uniform Scale", "category": "Math/Transform", - "tooltip": "Returns Source multiplied uniformly by Scale" + "tooltip": "returns Source multiplied uniformly by Scale" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_1", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector3.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector3.names index d51e766840..ae3f713886 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector3.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector3.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Multiply By Vector3", + "name": "Multiply By Vector 3", "category": "Math/Transform", - "tooltip": "Returns Source post multiplied by Multiplier" + "tooltip": "returns Source post multiplied by Multiplier" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Multiplier", + "base": "DataInput_Multiplier_1", "details": { "name": "Multiplier" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector4.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector4.names index 2e11891d0f..9ccc2c12ff 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector4.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_MultiplyByVector4.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Multiply By Vector4", + "name": "Multiply By Vector 4", "category": "Math/Transform", - "tooltip": "Returns Source post multiplied by Multiplier" + "tooltip": "returns Source post multiplied by Multiplier" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Multiplier", + "base": "DataInput_Multiplier_1", "details": { "name": "Multiplier" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_Orthogonalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_Orthogonalize.names index 94598629b6..6a4691eb4d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_Orthogonalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_Orthogonalize.names @@ -7,29 +7,29 @@ "details": { "name": "Orthogonalize", "category": "Math/Transform", - "tooltip": "Returns an orthogonal matrix if the Source is almost orthogonal" + "tooltip": "returns an orthogonal matrix if the Source is almost orthogonal" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationXDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationXDegrees.names index 353eb26615..3483c6b3ce 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationXDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationXDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Rotation X (Degrees)", + "name": "RotationX Degrees", "category": "Math/Transform", - "tooltip": "Returns a transform representing a rotation Degrees around the X-Axis" + "tooltip": "returns a transform representing a rotation Degrees around the X-Axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationYDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationYDegrees.names index d5f5469593..57d72f8e16 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationYDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationYDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Rotation Y (Degrees)", + "name": "RotationY Degrees", "category": "Math/Transform", - "tooltip": "Returns a transform representing a rotation Degrees around the Y-Axis" + "tooltip": "returns a transform representing a rotation Degrees around the Y-Axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationZDegrees.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationZDegrees.names index 8431b15578..8564b42541 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationZDegrees.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_RotationZDegrees.names @@ -5,31 +5,31 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Rotation Z (Degrees)", + "name": "RotationZ Degrees", "category": "Math/Transform", - "tooltip": "Returns a transform representing a rotation Degrees around the Z-Axis" + "tooltip": "returns a transform representing a rotation Degrees around the Z-Axis" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Degrees", + "base": "DataInput_Degrees_0", "details": { "name": "Degrees" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_ToScale.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_ToScale.names index 531f0b1b38..a18853d95d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_ToScale.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathTransform_ToScale.names @@ -7,29 +7,29 @@ "details": { "name": "To Scale", "category": "Math/Transform", - "tooltip": "Returns the uniform scale of the Source" + "tooltip": "returns the uniform scale of the Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Absolute.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Absolute.names index bd72341c6d..49c80b7cab 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Absolute.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Absolute.names @@ -7,29 +7,29 @@ "details": { "name": "Absolute", "category": "Math/Vector2", - "tooltip": "Returns a vector with the absolute values of the elements of the source" + "tooltip": "returns a vector with the absolute values of the elements of the source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Angle.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Angle.names index 7efe070c80..cdf2bbcdb7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Angle.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Angle.names @@ -7,29 +7,29 @@ "details": { "name": "Angle", "category": "Math/Vector2", - "tooltip": "Returns a unit length vector from an angle in radians" + "tooltip": "returns a unit length vector from an angle in radians" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Angle", + "base": "DataInput_Angle_0", "details": { "name": "Angle" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Clamp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Clamp.names index 2a4f580d95..57e7569bc2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Clamp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Clamp.names @@ -7,41 +7,41 @@ "details": { "name": "Clamp", "category": "Math/Vector2", - "tooltip": "Returns vector clamped to [min, max] and equal to source if possible" + "tooltip": "returns vector clamped to [min, max] and equal to source if possible" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Min", + "base": "DataInput_Min_1", "details": { "name": "Min" } }, { - "base": "DataInput_Max", + "base": "DataInput_Max_2", "details": { "name": "Max" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DirectionTo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DirectionTo.names index 58ef596560..d6eb1a6b5f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DirectionTo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DirectionTo.names @@ -11,37 +11,37 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_2", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Distance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Distance.names index 5d6b79ef69..787b44de82 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Distance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Distance.names @@ -7,35 +7,35 @@ "details": { "name": "Distance", "category": "Math/Vector2", - "tooltip": "Returns the distance from B to A, that is the magnitude of the vector (A - B)" + "tooltip": "returns the distance from B to A, that is the magnitude of the vector (A - B)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DistanceSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DistanceSquared.names index cc12b409ee..43fab99734 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DistanceSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_DistanceSquared.names @@ -7,35 +7,35 @@ "details": { "name": "Distance Squared", "category": "Math/Vector2", - "tooltip": "Returns the distance squared from B to A, (generally faster than the actual distance if only needed for comparison)" + "tooltip": "returns the distance squared from B to A, (generally faster than the actual distance if only needed for comparison)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Dot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Dot.names index 19db3eb635..08578bdf77 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Dot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Dot.names @@ -7,35 +7,35 @@ "details": { "name": "Dot", "category": "Math/Vector2", - "tooltip": "Returns the vector dot product of A dot B" + "tooltip": "returns the vector dot product of A dot B" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_FromValues.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_FromValues.names index d68a9ffc30..b6078271fe 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_FromValues.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_FromValues.names @@ -7,35 +7,35 @@ "details": { "name": "From Values", "category": "Math/Vector2", - "tooltip": "Returns a vector from elements" + "tooltip": "returns a vector from elements" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_X", + "base": "DataInput_X_0", "details": { "name": "X" } }, { - "base": "DataInput_Y", + "base": "DataInput_Y_1", "details": { "name": "Y" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_GetElement.names index bcd119556c..fb5cc44f25 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_GetElement.names @@ -7,35 +7,35 @@ "details": { "name": "Get Element", "category": "Math/Vector2", - "tooltip": "Returns the element corresponding to the index (0 -> x) (1 -> y)" + "tooltip": "returns the element corresponding to the index (0 -> x) (1 -> y)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Index", + "base": "DataInput_Index_1", "details": { "name": "Index" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsClose.names index 4146bc08de..caf90e9d61 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsClose.names @@ -7,41 +7,41 @@ "details": { "name": "Is Close", "category": "Math/Vector2", - "tooltip": "Returns true if the difference between A and B is less than tolerance, else false" + "tooltip": "returns true if the difference between A and B is less than tolerance, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_2", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsFinite.names index 9b45bb21b7..050662feff 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsFinite.names @@ -7,29 +7,29 @@ "details": { "name": "Is Finite", "category": "Math/Vector2", - "tooltip": "Returns true if every element in the source is finite, else false" + "tooltip": "returns true if every element in the source is finite, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsNormalized.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsNormalized.names index 151baa29b0..9d8dbff14d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsNormalized.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsNormalized.names @@ -7,35 +7,35 @@ "details": { "name": "Is Normalized", "category": "Math/Vector2", - "tooltip": "Returns true if the length of the source is within tolerance of 1.0, else false" + "tooltip": "returns true if the length of the source is within tolerance of 1.0, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_1", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsZero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsZero.names index 3f183cfe56..f0b7d32768 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsZero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_IsZero.names @@ -7,35 +7,35 @@ "details": { "name": "Is Zero", "category": "Math/Vector2", - "tooltip": "Returns true if A is within tolerance of the zero vector, else false" + "tooltip": "returns true if A is within tolerance of the zero vector, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_1", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Length.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Length.names index cb76ac347b..f88ed3b3f7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Length.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Length.names @@ -7,29 +7,29 @@ "details": { "name": "Length", "category": "Math/Vector2", - "tooltip": "Returns the magnitude of source" + "tooltip": "returns the magnitude of source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_LengthSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_LengthSquared.names index 112d82d5e3..8691e634d2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_LengthSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_LengthSquared.names @@ -7,29 +7,29 @@ "details": { "name": "Length Squared", "category": "Math/Vector2", - "tooltip": "Returns the magnitude squared of the source, generally faster than getting the exact length" + "tooltip": "returns the magnitude squared of the source, generally faster than getting the exact length" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Lerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Lerp.names index 49711526b7..a1e6ebf739 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Lerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Lerp.names @@ -7,41 +7,41 @@ "details": { "name": "Lerp", "category": "Math/Vector2", - "tooltip": "Returns the linear interpolation (From + ((To - From) * T)" + "tooltip": "returns the linear interpolation (From + ((To - From) * T)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataInput_T", + "base": "DataInput_T_2", "details": { "name": "T" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Max.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Max.names index d6ff44c21c..5f76551e9d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Max.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Max.names @@ -7,35 +7,35 @@ "details": { "name": "Max", "category": "Math/Vector2", - "tooltip": "Returns the vector (max(A.x, B.x), max(A.y, B.y))" + "tooltip": "returns the vector (max(A.x, B.x), max(A.y, B.y))" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Min.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Min.names index 5563f69c00..737ae89554 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Min.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Min.names @@ -7,35 +7,35 @@ "details": { "name": "Min", "category": "Math/Vector2", - "tooltip": "Returns the vector (min(A.x, B.x), min(A.y, B.y))" + "tooltip": "returns the vector (min(A.x, B.x), min(A.y, B.y))" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_MultiplyByNumber.names index f63137d25f..cf592cd151 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_MultiplyByNumber.names @@ -7,35 +7,35 @@ "details": { "name": "Multiply By Number", "category": "Math/Vector2", - "tooltip": "Returns the vector Source with each element multiplied by Multiplier" + "tooltip": "returns the vector Source with each element multiplied by Multiplier" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Multiplier", + "base": "DataInput_Multiplier_1", "details": { "name": "Multiplier" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Negate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Negate.names index 1eb48cf3a5..5aa72fe327 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Negate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Negate.names @@ -7,29 +7,29 @@ "details": { "name": "Negate", "category": "Math/Vector2", - "tooltip": "Returns the vector Source with each element multiplied by -1" + "tooltip": "returns the vector Source with each element multiplied by -1" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Normalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Normalize.names index ae4ee365ef..1dc7e0ac99 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Normalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Normalize.names @@ -7,29 +7,29 @@ "details": { "name": "Normalize", "category": "Math/Vector2", - "tooltip": "Returns a unit length vector in the same direction as the source, or (1,0,0) if the source length is too small" + "tooltip": "returns a unit length vector in the same direction as the source, or (1,0,0) if the source length is too small" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Project.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Project.names index e6bd531852..2aba28f2ed 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Project.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Project.names @@ -7,35 +7,35 @@ "details": { "name": "Project", "category": "Math/Vector2", - "tooltip": "Returns the vector of A projected onto B, (Dot(A, B)/(Dot(B, B)) * B" + "tooltip": "returns the vector of A projected onto B, (Dot(A, B)/(Dot(B, B)) * B" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetX.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetX.names index 4a96a8154e..d2e7b90095 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetX.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetX.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Set X", + "name": "SetX", "category": "Math/Vector2", - "tooltip": "Returns a the vector(X, Source.Y)" + "tooltip": "returns a the vector(X, Source.Y)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_X", + "base": "DataInput_X_1", "details": { "name": "X" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetY.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetY.names index bdde07b53c..db6c5072a4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetY.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_SetY.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Set Y", + "name": "SetY", "category": "Math/Vector2", - "tooltip": "Returns a the vector(Source.X, Y)" + "tooltip": "returns a the vector(Source.X, Y)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Y", + "base": "DataInput_Y_1", "details": { "name": "Y" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Slerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Slerp.names index 26b5579174..24ad2a5b8e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Slerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_Slerp.names @@ -7,41 +7,41 @@ "details": { "name": "Slerp", "category": "Math/Vector2", - "tooltip": "Returns a vector that is the spherical linear interpolation T, between From and To" + "tooltip": "returns a vector that is the spherical linear interpolation T, between From and To" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataInput_T", + "base": "DataInput_T_2", "details": { "name": "T" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_ToPerpendicular.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_ToPerpendicular.names index f78ec6a232..64488f330a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_ToPerpendicular.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector2_ToPerpendicular.names @@ -7,29 +7,29 @@ "details": { "name": "To Perpendicular", "category": "Math/Vector2", - "tooltip": "Returns the vector (-Source.y, Source.x), a 90 degree, positive rotation" + "tooltip": "returns the vector (-Source.y, Source.x), a 90 degree, positive rotation" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Absolute.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Absolute.names index a20c7413d7..4281eb162b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Absolute.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Absolute.names @@ -7,29 +7,29 @@ "details": { "name": "Absolute", "category": "Math/Vector3", - "tooltip": "Returns a vector with the absolute values of the elements of the source" + "tooltip": "returns a vector with the absolute values of the elements of the source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_BuildTangentBasis.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_BuildTangentBasis.names index 8f08fb24c2..7f93c15e41 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_BuildTangentBasis.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_BuildTangentBasis.names @@ -7,35 +7,35 @@ "details": { "name": "Build Tangent Basis", "category": "Math/Vector3", - "tooltip": "Returns a tangent basis from the normal" + "tooltip": "returns a tangent basis from the normal" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Normal", + "base": "DataInput_Normal_0", "details": { "name": "Normal" } }, { - "base": "DataOutput_Tangent", + "base": "DataOutput_Tangent_0", "details": { "name": "Tangent" } }, { - "base": "DataOutput_Bitangent", + "base": "DataOutput_Bitangent_1", "details": { "name": "Bitangent" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Clamp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Clamp.names index 15109364fd..a5ccbaa27d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Clamp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Clamp.names @@ -7,41 +7,41 @@ "details": { "name": "Clamp", "category": "Math/Vector3", - "tooltip": "Returns vector clamped to [min, max] and equal to source if possible" + "tooltip": "returns vector clamped to [min, max] and equal to source if possible" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Min", + "base": "DataInput_Min_1", "details": { "name": "Min" } }, { - "base": "DataInput_Max", + "base": "DataInput_Max_2", "details": { "name": "Max" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Cross.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Cross.names index a23b88920e..c14d744da9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Cross.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Cross.names @@ -7,35 +7,35 @@ "details": { "name": "Cross", "category": "Math/Vector3", - "tooltip": "Returns the vector cross product of A X B" + "tooltip": "returns the vector cross product of A X B" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DirectionTo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DirectionTo.names index 5071b5d52c..4d663478aa 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DirectionTo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DirectionTo.names @@ -11,37 +11,37 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_2", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Distance.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Distance.names index 3d38a8d9d1..f21bd649b9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Distance.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Distance.names @@ -7,35 +7,35 @@ "details": { "name": "Distance", "category": "Math/Vector3", - "tooltip": "Returns the distance from B to A, that is the magnitude of the vector (A - B)" + "tooltip": "returns the distance from B to A, that is the magnitude of the vector (A - B)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DistanceSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DistanceSquared.names index 56f45fbec4..d955098b71 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DistanceSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_DistanceSquared.names @@ -7,35 +7,35 @@ "details": { "name": "Distance Squared", "category": "Math/Vector3", - "tooltip": "Returns the distance squared from B to A, (generally faster than the actual distance if only needed for comparison)" + "tooltip": "returns the distance squared from B to A, (generally faster than the actual distance if only needed for comparison)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Dot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Dot.names index c86dac30a0..95ab3e2d3d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Dot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Dot.names @@ -7,35 +7,35 @@ "details": { "name": "Dot", "category": "Math/Vector3", - "tooltip": "Returns the vector dot product of A dot B" + "tooltip": "returns the vector dot product of A dot B" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_FromValues.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_FromValues.names index 10831f85ed..e640a3b0e0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_FromValues.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_FromValues.names @@ -7,41 +7,41 @@ "details": { "name": "From Values", "category": "Math/Vector3", - "tooltip": "Returns a vector from elements" + "tooltip": "returns a vector from elements" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_X", + "base": "DataInput_X_0", "details": { "name": "X" } }, { - "base": "DataInput_Y", + "base": "DataInput_Y_1", "details": { "name": "Y" } }, { - "base": "DataInput_Z", + "base": "DataInput_Z_2", "details": { "name": "Z" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_GetElement.names index ae6ce083ac..1e683d24a2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_GetElement.names @@ -7,35 +7,35 @@ "details": { "name": "Get Element", "category": "Math/Vector3", - "tooltip": "Returns the element corresponding to the index (0 -> x) (1 -> y) (2 -> z)" + "tooltip": "returns the element corresponding to the index (0 -> x) (1 -> y) (2 -> z)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Index", + "base": "DataInput_Index_1", "details": { "name": "Index" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsClose.names index 5e5c09923c..e1278a293d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsClose.names @@ -7,41 +7,41 @@ "details": { "name": "Is Close", "category": "Math/Vector3", - "tooltip": "Returns true if the difference between A and B is less than tolerance, else false" + "tooltip": "returns true if the difference between A and B is less than tolerance, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_2", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsFinite.names index e527e8bf35..c916809a96 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsFinite.names @@ -7,29 +7,29 @@ "details": { "name": "Is Finite", "category": "Math/Vector3", - "tooltip": "Returns true if every element in the source is finite, else false" + "tooltip": "returns true if every element in the source is finite, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsNormalized.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsNormalized.names index e9f64e84fb..84ffdc22f2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsNormalized.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsNormalized.names @@ -7,35 +7,35 @@ "details": { "name": "Is Normalized", "category": "Math/Vector3", - "tooltip": "Returns true if the length of the source is within tolerance of 1.0, else false" + "tooltip": "returns true if the length of the source is within tolerance of 1.0, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_1", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsPerpendicular.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsPerpendicular.names index c4adec6436..2a08ec2a0f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsPerpendicular.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsPerpendicular.names @@ -7,41 +7,41 @@ "details": { "name": "Is Perpendicular", "category": "Math/Vector3", - "tooltip": "Returns true if A is within tolerance of perpendicular with B, that is if Dot(A, B) < tolerance, else false" + "tooltip": "returns true if A is within tolerance of perpendicular with B, that is if Dot(A, B) < tolerance, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_2", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsZero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsZero.names index f65485eb78..22369c83eb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsZero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_IsZero.names @@ -7,35 +7,35 @@ "details": { "name": "Is Zero", "category": "Math/Vector3", - "tooltip": "Returns true if A is within tolerance of the zero vector, else false" + "tooltip": "returns true if A is within tolerance of the zero vector, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_1", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Length.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Length.names index 6861dab138..1048e34e55 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Length.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Length.names @@ -7,29 +7,29 @@ "details": { "name": "Length", "category": "Math/Vector3", - "tooltip": "Returns the magnitude of source" + "tooltip": "returns the magnitude of source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthReciprocal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthReciprocal.names index 12ded27f2e..26d305ab5a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthReciprocal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthReciprocal.names @@ -7,29 +7,29 @@ "details": { "name": "Length Reciprocal", "category": "Math/Vector3", - "tooltip": "Returns the 1 / magnitude of the source" + "tooltip": "returns the 1 / magnitude of the source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthSquared.names index 9a97dbb263..81bc413403 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_LengthSquared.names @@ -7,29 +7,29 @@ "details": { "name": "Length Squared", "category": "Math/Vector3", - "tooltip": "Returns the magnitude squared of the source, generally faster than getting the exact length" + "tooltip": "returns the magnitude squared of the source, generally faster than getting the exact length" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Lerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Lerp.names index c320ce31a5..4dfc86f953 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Lerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Lerp.names @@ -7,41 +7,41 @@ "details": { "name": "Lerp", "category": "Math/Vector3", - "tooltip": "Returns the linear interpolation (From + ((To - From) * T)" + "tooltip": "returns the linear interpolation (From + ((To - From) * T)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataInput_T", + "base": "DataInput_T_2", "details": { "name": "T" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Max.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Max.names index d429e45202..9377255408 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Max.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Max.names @@ -7,35 +7,35 @@ "details": { "name": "Max", "category": "Math/Vector3", - "tooltip": "Returns the vector (max(A.x, B.x), max(A.y, B.y), max(A.z, B.z))" + "tooltip": "returns the vector (max(A.x, B.x), max(A.y, B.y), max(A.z, B.z))" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Min.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Min.names index eef2baf012..ae84d7da5e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Min.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Min.names @@ -7,35 +7,35 @@ "details": { "name": "Min", "category": "Math/Vector3", - "tooltip": "Returns the vector (min(A.x, B.x), min(A.y, B.y), min(A.z, B.z))" + "tooltip": "returns the vector (min(A.x, B.x), min(A.y, B.y), min(A.z, B.z))" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_MultiplyByNumber.names index 9637449b22..d000076f9c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_MultiplyByNumber.names @@ -7,35 +7,35 @@ "details": { "name": "Multiply By Number", "category": "Math/Vector3", - "tooltip": "Returns the vector Source with each element multiplied by Multipler" + "tooltip": "returns the vector Source with each element multiplied by Multipler" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Multiplier", + "base": "DataInput_Multiplier_1", "details": { "name": "Multiplier" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Negate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Negate.names index b0fa0beae4..4e71256752 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Negate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Negate.names @@ -7,29 +7,29 @@ "details": { "name": "Negate", "category": "Math/Vector3", - "tooltip": "Returns the vector Source with each element multiplied by -1" + "tooltip": "returns the vector Source with each element multiplied by -1" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Normalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Normalize.names index a0f535b4d4..73cbdbb7b3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Normalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Normalize.names @@ -7,29 +7,29 @@ "details": { "name": "Normalize", "category": "Math/Vector3", - "tooltip": "Returns a unit length vector in the same direction as the source, or (1,0,0) if the source length is too small" + "tooltip": "returns a unit length vector in the same direction as the source, or (1,0,0) if the source length is too small" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Project.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Project.names index ff18755ecb..862d7c06a6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Project.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Project.names @@ -7,35 +7,35 @@ "details": { "name": "Project", "category": "Math/Vector3", - "tooltip": "Returns the vector of A projected onto B, (Dot(A, B)/(Dot(B, B)) * B" + "tooltip": "returns the vector of A projected onto B, (Dot(A, B)/(Dot(B, B)) * B" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Reciprocal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Reciprocal.names index de65bf82ea..a5120d6279 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Reciprocal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Reciprocal.names @@ -7,29 +7,29 @@ "details": { "name": "Reciprocal", "category": "Math/Vector3", - "tooltip": "Returns the vector (1/x, 1/y, 1/z) with elements from Source" + "tooltip": "returns the vector (1/x, 1/y, 1/z) with elements from Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetX.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetX.names index 7db313ffca..a70f83b745 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetX.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetX.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Set X", + "name": "SetX", "category": "Math/Vector3", - "tooltip": "Returns a the vector(X, Source.Y, Source.Z)" + "tooltip": "returns a the vector(X, Source.Y, Source.Z)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_X", + "base": "DataInput_X_1", "details": { "name": "X" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetY.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetY.names index db5299df5b..f5c78805c2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetY.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetY.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Set Y", + "name": "SetY", "category": "Math/Vector3", - "tooltip": "Returns a the vector(Source.X, Y, Source.Z)" + "tooltip": "returns a the vector(Source.X, Y, Source.Z)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Y", + "base": "DataInput_Y_1", "details": { "name": "Y" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetZ.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetZ.names index c8239d2d46..870826d84b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetZ.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_SetZ.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Set Z", + "name": "SetZ", "category": "Math/Vector3", - "tooltip": "Returns a the vector(Source.X, Source.Y, Z)" + "tooltip": "returns a the vector(Source.X, Source.Y, Z)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Z", + "base": "DataInput_Z_1", "details": { "name": "Z" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Slerp.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Slerp.names index 5052d03400..3eee6e3d05 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Slerp.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector3_Slerp.names @@ -7,41 +7,41 @@ "details": { "name": "Slerp", "category": "Math/Vector3", - "tooltip": "Returns a vector that is the spherical linear interpolation T, between From and To" + "tooltip": "returns a vector that is the spherical linear interpolation T, between From and To" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataInput_T", + "base": "DataInput_T_2", "details": { "name": "T" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Absolute.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Absolute.names index c5ebee0f5a..5f955d54b6 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Absolute.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Absolute.names @@ -7,29 +7,29 @@ "details": { "name": "Absolute", "category": "Math/Vector4", - "tooltip": "Returns a vector with the absolute values of the elements of the source" + "tooltip": "returns a vector with the absolute values of the elements of the source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_DirectionTo.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_DirectionTo.names index e8ab09461e..55c3f0dc5f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_DirectionTo.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_DirectionTo.names @@ -11,37 +11,37 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_From", + "base": "DataInput_From_0", "details": { "name": "From" } }, { - "base": "DataInput_To", + "base": "DataInput_To_1", "details": { "name": "To" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_2", "details": { "name": "Scale" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Dot.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Dot.names index d780f4379b..b4022c9aad 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Dot.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Dot.names @@ -7,35 +7,35 @@ "details": { "name": "Dot", "category": "Math/Vector4", - "tooltip": "Returns the vector dot product of A dot B" + "tooltip": "returns the vector dot product of A dot B" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_FromValues.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_FromValues.names index 1f362d71f9..8e0f291742 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_FromValues.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_FromValues.names @@ -7,47 +7,47 @@ "details": { "name": "From Values", "category": "Math/Vector4", - "tooltip": "Returns a vector from elements" + "tooltip": "returns a vector from elements" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_X", + "base": "DataInput_X_0", "details": { "name": "X" } }, { - "base": "DataInput_Y", + "base": "DataInput_Y_1", "details": { "name": "Y" } }, { - "base": "DataInput_Z", + "base": "DataInput_Z_2", "details": { "name": "Z" } }, { - "base": "DataInput_W", + "base": "DataInput_W_3", "details": { "name": "W" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_GetElement.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_GetElement.names index f09bda9acf..4d8ee5cc43 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_GetElement.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_GetElement.names @@ -7,35 +7,35 @@ "details": { "name": "Get Element", "category": "Math/Vector4", - "tooltip": "Returns the element corresponding to the index (0 -> x) (1 -> y) (2 -> z) (3 -> w)" + "tooltip": "returns the element corresponding to the index (0 -> x) (1 -> y) (2 -> z) (3 -> w)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Index", + "base": "DataInput_Index_1", "details": { "name": "Index" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsClose.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsClose.names index 5881c02adb..a94b2e24fd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsClose.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsClose.names @@ -7,41 +7,41 @@ "details": { "name": "Is Close", "category": "Math/Vector4", - "tooltip": "Returns true if the difference between A and B is less than tolerance, else false" + "tooltip": "returns true if the difference between A and B is less than tolerance, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_A", + "base": "DataInput_A_0", "details": { "name": "A" } }, { - "base": "DataInput_B", + "base": "DataInput_B_1", "details": { "name": "B" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_2", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsFinite.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsFinite.names index 9e1c8e5ba0..6a24bbc17a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsFinite.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsFinite.names @@ -7,29 +7,29 @@ "details": { "name": "Is Finite", "category": "Math/Vector4", - "tooltip": "Returns true if every element in the source is finite, else false" + "tooltip": "returns true if every element in the source is finite, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsNormalized.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsNormalized.names index 92b367b6e2..800ff856e2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsNormalized.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsNormalized.names @@ -7,35 +7,35 @@ "details": { "name": "Is Normalized", "category": "Math/Vector4", - "tooltip": "Returns true if the length of the source is within tolerance of 1.0, else false" + "tooltip": "returns true if the length of the source is within tolerance of 1.0, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_1", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsZero.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsZero.names index 6d2bacb0b2..2d6526e973 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsZero.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_IsZero.names @@ -7,35 +7,35 @@ "details": { "name": "Is Zero", "category": "Math/Vector4", - "tooltip": "Returns true if A is within tolerance of the zero vector, else false" + "tooltip": "returns true if A is within tolerance of the zero vector, else false" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Tolerance", + "base": "DataInput_Tolerance_1", "details": { "name": "Tolerance" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Length.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Length.names index 2aa5585b43..c9c6c5fb45 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Length.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Length.names @@ -7,29 +7,29 @@ "details": { "name": "Length", "category": "Math/Vector4", - "tooltip": "Returns the magnitude of source" + "tooltip": "returns the magnitude of source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthReciprocal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthReciprocal.names index 4affd32f7c..9f34b605c0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthReciprocal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthReciprocal.names @@ -7,29 +7,29 @@ "details": { "name": "Length Reciprocal", "category": "Math/Vector4", - "tooltip": "Returns the 1 / magnitude of the source" + "tooltip": "returns the 1 / magnitude of the source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthSquared.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthSquared.names index 1abb6d4e9b..2404613170 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthSquared.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_LengthSquared.names @@ -7,29 +7,29 @@ "details": { "name": "Length Squared", "category": "Math/Vector4", - "tooltip": "Returns the magnitude squared of the source, generally faster than getting the exact length" + "tooltip": "returns the magnitude squared of the source, generally faster than getting the exact length" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_MultiplyByNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_MultiplyByNumber.names index c9cd4b2513..68624b8316 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_MultiplyByNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_MultiplyByNumber.names @@ -7,35 +7,35 @@ "details": { "name": "Multiply By Number", "category": "Math/Vector4", - "tooltip": "Returns the vector Source with each element multiplied by Multipler" + "tooltip": "returns the vector Source with each element multiplied by Multipler" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Multiplier", + "base": "DataInput_Multiplier_1", "details": { "name": "Multiplier" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Negate.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Negate.names index 74da5c724d..d2cf095379 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Negate.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Negate.names @@ -7,29 +7,29 @@ "details": { "name": "Negate", "category": "Math/Vector4", - "tooltip": "Returns the vector Source with each element multiplied by -1" + "tooltip": "returns the vector Source with each element multiplied by -1" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Normalize.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Normalize.names index 9d51b0e78d..b8159887c2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Normalize.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Normalize.names @@ -7,29 +7,29 @@ "details": { "name": "Normalize", "category": "Math/Vector4", - "tooltip": "Returns a unit length vector in the same direction as the source, or (1,0,0,0) if the source length is too small" + "tooltip": "returns a unit length vector in the same direction as the source, or (1,0,0,0) if the source length is too small" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Reciprocal.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Reciprocal.names index f493b7bf20..502cd22c37 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Reciprocal.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_Reciprocal.names @@ -7,29 +7,29 @@ "details": { "name": "Reciprocal", "category": "Math/Vector4", - "tooltip": "Returns the vector (1/x, 1/y, 1/z, 1/w) with elements from Source" + "tooltip": "returns the vector (1/x, 1/y, 1/z, 1/w) with elements from Source" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetW.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetW.names index c89ebd7840..1797b85b69 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetW.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetW.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Set W", + "name": "SetW", "category": "Math/Vector4", - "tooltip": "Returns a the vector(Source.X, Source.Y, Source.Z, W)" + "tooltip": "returns a the vector(Source.X, Source.Y, Source.Z, W)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_W", + "base": "DataInput_W_1", "details": { "name": "W" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetX.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetX.names index b9b9e96845..b1a2f8d94f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetX.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetX.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Set X", + "name": "SetX", "category": "Math/Vector4", - "tooltip": "Returns a the vector(X, Source.Y, Source.Z, Source.W)" + "tooltip": "returns a the vector(X, Source.Y, Source.Z, Source.W)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_X", + "base": "DataInput_X_1", "details": { "name": "X" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetY.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetY.names index f0f2b04cf8..533a7178bd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetY.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetY.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Set Y", + "name": "SetY", "category": "Math/Vector4", - "tooltip": "Returns a the vector(Source.X, Y, Source.Z, Source.W)" + "tooltip": "returns a the vector(Source.X, Y, Source.Z, Source.W)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Y", + "base": "DataInput_Y_1", "details": { "name": "Y" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetZ.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetZ.names index 3467d2ca52..d631cef009 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetZ.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/MathVector4_SetZ.names @@ -5,37 +5,37 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "Set Z", + "name": "SetZ", "category": "Math/Vector4", - "tooltip": "Returns a the vector(Source.X, Source.Y, Z, Source.W)" + "tooltip": "returns a the vector(Source.X, Source.Y, Z, Source.W)" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Z", + "base": "DataInput_Z_1", "details": { "name": "Z" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Add_+_.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Add_+_.names index fb9b199a4d..b50bb39aaf 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Add_+_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Add_+_.names @@ -7,36 +7,35 @@ "details": { "name": "Add (+)", "category": "Math", - "tooltip": "Adds two or more values", - "subtitle": "Math" + "tooltip": "Adds two or more values" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_1", "details": { "name": "Value" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Divide__.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Divide__.names index 40d1552274..c0891eb923 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Divide__.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Divide__.names @@ -7,36 +7,35 @@ "details": { "name": "Divide (/)", "category": "Math", - "tooltip": "Divides two or more values", - "subtitle": "Math" + "tooltip": "Divides two or more values" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_1", "details": { "name": "Value" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_DividebyNumber__.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_DividebyNumber__.names index 45005dc5c4..01a061eae9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_DividebyNumber__.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_DividebyNumber__.names @@ -7,36 +7,35 @@ "details": { "name": "Divide by Number (/)", "category": "Math", - "tooltip": "Divides certain types by a given number", - "subtitle": "Math" + "tooltip": "Divides certain types by a given number" }, "slots": [ { - "base": "DataInput_Divisor", + "base": "DataInput_Divisor_0", "details": { "name": "Divisor" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_1", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Length.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Length.names index 3f2a833f95..80a5a6a356 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Length.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Length.names @@ -7,30 +7,29 @@ "details": { "name": "Length", "category": "Math", - "tooltip": "Given a vector this returns the magnitude (length) of the vector. For a quaternion, magnitude is the cosine of half the angle of rotation.", - "subtitle": "Math" + "tooltip": "Given a vector this returns the magnitude (length) of the vector. For a quaternion, magnitude is the cosine of half the angle of rotation." }, "slots": [ { - "base": "DataOutput_Length", + "base": "DataOutput_Length_0", "details": { "name": "Length" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_LerpBetween.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_LerpBetween.names index 53eaa8ebb6..1cb015b756 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_LerpBetween.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_LerpBetween.names @@ -6,83 +6,82 @@ "variant": "", "details": { "name": "Lerp Between", - "category": "Math", - "subtitle": "Math" + "category": "Math" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Starts the lerp action from the beginning." } }, { - "base": "DataInput_Start", + "base": "DataInput_Start_0", "details": { "name": "Start" } }, { - "base": "DataInput_Stop", + "base": "DataInput_Stop_1", "details": { "name": "Stop" } }, { - "base": "DataInput_Speed", + "base": "DataInput_Speed_2", "details": { "name": "Speed" } }, { - "base": "DataInput_Maximum Duration", + "base": "DataInput_Maximum Duration_3", "details": { "name": "Maximum Duration" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Executes immediately after the lerp action is started." } }, { - "base": "Input_Cancel", + "base": "Input_Cancel_1", "details": { "name": "Cancel", "tooltip": "Stops the lerp action immediately." } }, { - "base": "Output_Canceled", + "base": "Output_Canceled_1", "details": { "name": "Canceled", "tooltip": "Executes immediately after the operation is canceled." } }, { - "base": "Output_Tick", + "base": "Output_Tick_2", "details": { "name": "Tick", "tooltip": "Signaled at each step of the lerp." } }, { - "base": "DataOutput_Step", + "base": "DataOutput_Step_0", "details": { "name": "Step" } }, { - "base": "DataOutput_Percent", + "base": "DataOutput_Percent_1", "details": { "name": "Percent" } }, { - "base": "Output_Lerp Complete", + "base": "Output_Lerp Complete_3", "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 4928054d0e..36d0aeac01 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MathExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MathExpression.names @@ -7,25 +7,24 @@ "details": { "name": "Math Expression", "category": "Math", - "tooltip": "Will evaluate a series of math operations, allowing users to specify inputs using {}.", - "subtitle": "Math" + "tooltip": "Will evaluate a series of math operations, allowing users to specify inputs using {}." }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 f8af2d0c67..0e452f6f36 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MultiplyAndAdd.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_MultiplyAndAdd.names @@ -10,37 +10,37 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Multiplicand", + "base": "DataInput_Multiplicand_0", "details": { "name": "Multiplicand" } }, { - "base": "DataInput_Multiplier", + "base": "DataInput_Multiplier_1", "details": { "name": "Multiplier" } }, { - "base": "DataInput_Addend", + "base": "DataInput_Addend_2", "details": { "name": "Addend" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "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 6293bab799..3ce427647d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Multiply_x_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Multiply_x_.names @@ -7,36 +7,35 @@ "details": { "name": "Multiply (*)", "category": "Math", - "tooltip": "Multiplies two of more values", - "subtitle": "Math" + "tooltip": "Multiplies two of more values" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_1", "details": { "name": "Value" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_StringToNumber.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_StringToNumber.names index 534d469271..45b8ba8cb5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_StringToNumber.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_StringToNumber.names @@ -11,19 +11,19 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Subtract_-_.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Subtract_-_.names index 423ec056ea..cec6c3ec91 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Subtract_-_.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_Subtract_-_.names @@ -7,36 +7,35 @@ "details": { "name": "Subtract (-)", "category": "Math", - "tooltip": "Subtracts two of more elements", - "subtitle": "Math" + "tooltip": "Subtracts two of more elements" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_1", "details": { "name": "Value" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_ThreeGeneric.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_ThreeGeneric.names index 9b73829ea8..b76b0099d3 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_ThreeGeneric.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Math_ThreeGeneric.names @@ -5,58 +5,57 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "ThreeGeneric", + "name": "Three Generic", "category": "Math", - "tooltip": "returns all columns from matrix", - "subtitle": "Math" + "tooltip": "returns all columns from matrix" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Vector3: One", + "base": "DataInput_One_0", "details": { - "name": "Vector3: One" + "name": "One" } }, { - "base": "DataInput_String: Two", + "base": "DataInput_Two_1", "details": { - "name": "String: Two" + "name": "Two" } }, { - "base": "DataInput_Boolean: Three", + "base": "DataInput_Three_2", "details": { - "name": "Boolean: Three" + "name": "Three" } }, { - "base": "DataOutput_One: Vector3", + "base": "DataOutput_One_0", "details": { - "name": "One: Vector3" + "name": "One" } }, { - "base": "DataOutput_Two: String", + "base": "DataOutput_Two_1", "details": { - "name": "Two: String" + "name": "Two" } }, { - "base": "DataOutput_Three: Boolean", + "base": "DataOutput_Three_2", "details": { - "name": "Three: Boolean" + "name": "Three" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Duration.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Duration.names index a1153b6eac..009ef7cd75 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Duration.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Duration.names @@ -6,43 +6,43 @@ "variant": "", "details": { "name": "Duration", - "category": "Timing", + "category": "Nodeables", "tooltip": "Triggers a signal every frame during the specified duration." }, "slots": [ { - "base": "Input_Start", + "base": "Input_Start_0", "details": { "name": "Start" } }, { - "base": "DataInput_Duration", + "base": "DataInput_Duration_0", "details": { "name": "Duration" } }, { - "base": "Output_On Start", + "base": "Output_On Start_0", "details": { "name": "On Start" } }, { - "base": "Output_OnTick", + "base": "Output_OnTick_1", "details": { "name": "OnTick", "tooltip": "Signaled every frame while the duration is active." } }, { - "base": "DataOutput_Elapsed", + "base": "DataOutput_Elapsed_0", "details": { "name": "Elapsed" } }, { - "base": "Output_Done", + "base": "Output_Done_2", "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 21f18b994f..ae4868ad60 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Repeater.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_Repeater.names @@ -6,43 +6,43 @@ "variant": "", "details": { "name": "Repeater", - "category": "Timing", + "category": "Nodeables", "tooltip": "Repeats the output signal the given number of times using the specified delay to space the signals out." }, "slots": [ { - "base": "Input_Start", + "base": "Input_Start_0", "details": { "name": "Start" } }, { - "base": "DataInput_Repetitions", + "base": "DataInput_Repetitions_0", "details": { "name": "Repetitions" } }, { - "base": "DataInput_Interval", + "base": "DataInput_Interval_1", "details": { "name": "Interval" } }, { - "base": "Output_On Start", + "base": "Output_On Start_0", "details": { "name": "On Start" } }, { - "base": "Output_Complete", + "base": "Output_Complete_1", "details": { "name": "Complete", "tooltip": "Signaled upon node exit" } }, { - "base": "Output_Action", + "base": "Output_Action_2", "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 dd4c6412f3..618f0c3378 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_TimeDelay.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Nodeables_TimeDelay.names @@ -6,30 +6,30 @@ "variant": "", "details": { "name": "Time Delay", - "category": "Timing", + "category": "Nodeables", "tooltip": "Delays all incoming execution for the specified number of ticks" }, "slots": [ { - "base": "Input_Start", + "base": "Input_Start_0", "details": { "name": "Start" } }, { - "base": "DataInput_Delay", + "base": "DataInput_Delay_0", "details": { "name": "Delay" } }, { - "base": "Output_On Start", + "base": "Output_On Start_0", "details": { "name": "On Start" } }, { - "base": "Output_Done", + "base": "Output_Done_1", "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 8f3826e4f0..c7bfae7988 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/OperatorsMath_OperatorArithmeticUnary.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/OperatorsMath_OperatorArithmeticUnary.names @@ -5,37 +5,36 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "OperatorArithmeticUnary", - "category": "Operators/Math", - "subtitle": "Math" + "name": "Operator Arithmetic Unary", + "category": "Operators/Math" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_1", "details": { "name": "Value" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorArithmetic.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorArithmetic.names index 20913eedaf..6f3ef18469 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorArithmetic.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorArithmetic.names @@ -5,37 +5,36 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "OperatorArithmetic", - "category": "Operators", - "subtitle": "Operators" + "name": "Operator Arithmetic", + "category": "Operators" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_1", "details": { "name": "Value" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorBase.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorBase.names index 9b62348cdc..179ead79e9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorBase.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Operators_OperatorBase.names @@ -5,20 +5,19 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "OperatorBase", - "category": "Operators", - "subtitle": "Operators" + "name": "Operator Base", + "category": "Operators" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 index 671fdd730e..62f08e481e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_BoxCastWithGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_BoxCastWithGroup.names @@ -7,89 +7,89 @@ "details": { "name": "Box Cast With Group", "category": "PhysX/World", - "tooltip": "Box Cast" + "tooltip": "BoxCast" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Distance", + "base": "DataInput_Distance_0", "details": { "name": "Distance" } }, { - "base": "DataInput_Pose", + "base": "DataInput_Pose_1", "details": { "name": "Pose" } }, { - "base": "DataInput_Direction", + "base": "DataInput_Direction_2", "details": { "name": "Direction" } }, { - "base": "DataInput_Dimensions", + "base": "DataInput_Dimensions_3", "details": { "name": "Dimensions" } }, { - "base": "DataInput_Collision group", + "base": "DataInput_Collision group_4", "details": { "name": "Collision group" } }, { - "base": "DataInput_Ignore", + "base": "DataInput_Ignore_5", "details": { "name": "Ignore" } }, { - "base": "DataOutput_Object Hit", + "base": "DataOutput_Object Hit_0", "details": { "name": "Object Hit" } }, { - "base": "DataOutput_Position", + "base": "DataOutput_Position_1", "details": { "name": "Position" } }, { - "base": "DataOutput_Normal", + "base": "DataOutput_Normal_2", "details": { "name": "Normal" } }, { - "base": "DataOutput_Distance", + "base": "DataOutput_Distance_3", "details": { "name": "Distance" } }, { - "base": "DataOutput_EntityId", + "base": "DataOutput_EntityId_4", "details": { "name": "EntityId" } }, { - "base": "DataOutput_Surface", + "base": "DataOutput_Surface_5", "details": { "name": "Surface" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_CapsuleCastWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_CapsuleCastWithGroup.names index 4dfca63478..cd8fd7f240 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_CapsuleCastWithGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_CapsuleCastWithGroup.names @@ -11,91 +11,91 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Distance", + "base": "DataInput_Distance_0", "details": { "name": "Distance" } }, { - "base": "DataInput_Pose", + "base": "DataInput_Pose_1", "details": { "name": "Pose" } }, { - "base": "DataInput_Direction", + "base": "DataInput_Direction_2", "details": { "name": "Direction" } }, { - "base": "DataInput_Height", + "base": "DataInput_Height_3", "details": { "name": "Height" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_4", "details": { "name": "Radius" } }, { - "base": "DataInput_Collision group", + "base": "DataInput_Collision group_5", "details": { "name": "Collision group" } }, { - "base": "DataInput_Ignore", + "base": "DataInput_Ignore_6", "details": { "name": "Ignore" } }, { - "base": "DataOutput_Object Hit", + "base": "DataOutput_Object Hit_0", "details": { "name": "Object Hit" } }, { - "base": "DataOutput_Position", + "base": "DataOutput_Position_1", "details": { "name": "Position" } }, { - "base": "DataOutput_Normal", + "base": "DataOutput_Normal_2", "details": { "name": "Normal" } }, { - "base": "DataOutput_Distance", + "base": "DataOutput_Distance_3", "details": { "name": "Distance" } }, { - "base": "DataOutput_EntityId", + "base": "DataOutput_EntityId_4", "details": { "name": "EntityId" } }, { - "base": "DataOutput_Surface", + "base": "DataOutput_Surface_5", "details": { "name": "Surface" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapBoxWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapBoxWithGroup.names index f49e3d2461..d01ae23354 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapBoxWithGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapBoxWithGroup.names @@ -11,43 +11,43 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Pose", + "base": "DataInput_Pose_0", "details": { "name": "Pose" } }, { - "base": "DataInput_Dimensions", + "base": "DataInput_Dimensions_1", "details": { "name": "Dimensions" } }, { - "base": "DataInput_Collision group", + "base": "DataInput_Collision group_2", "details": { "name": "Collision group" } }, { - "base": "DataInput_Ignore", + "base": "DataInput_Ignore_3", "details": { "name": "Ignore" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapCapsuleWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapCapsuleWithGroup.names index 291dc8ea75..e1ac954107 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapCapsuleWithGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapCapsuleWithGroup.names @@ -11,49 +11,49 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Pose", + "base": "DataInput_Pose_0", "details": { "name": "Pose" } }, { - "base": "DataInput_Height", + "base": "DataInput_Height_1", "details": { "name": "Height" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_2", "details": { "name": "Radius" } }, { - "base": "DataInput_Collision group", + "base": "DataInput_Collision group_3", "details": { "name": "Collision group" } }, { - "base": "DataInput_Ignore", + "base": "DataInput_Ignore_4", "details": { "name": "Ignore" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapSphereWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapSphereWithGroup.names index bd48cbf7ad..2d7cad3dce 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapSphereWithGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_OverlapSphereWithGroup.names @@ -11,43 +11,43 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Position", + "base": "DataInput_Position_0", "details": { "name": "Position" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_1", "details": { "name": "Radius" } }, { - "base": "DataInput_Collision group", + "base": "DataInput_Collision group_2", "details": { "name": "Collision group" } }, { - "base": "DataInput_Ignore", + "base": "DataInput_Ignore_3", "details": { "name": "Ignore" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastLocalSpaceWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastLocalSpaceWithGroup.names index a61a7a1579..68a432668f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastLocalSpaceWithGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastLocalSpaceWithGroup.names @@ -11,79 +11,79 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Direction", + "base": "DataInput_Direction_1", "details": { "name": "Direction" } }, { - "base": "DataInput_Distance", + "base": "DataInput_Distance_2", "details": { "name": "Distance" } }, { - "base": "DataInput_Collision group", + "base": "DataInput_Collision group_3", "details": { "name": "Collision group" } }, { - "base": "DataInput_Ignore", + "base": "DataInput_Ignore_4", "details": { "name": "Ignore" } }, { - "base": "DataOutput_Object hit", + "base": "DataOutput_Object hit_0", "details": { "name": "Object hit" } }, { - "base": "DataOutput_Position", + "base": "DataOutput_Position_1", "details": { "name": "Position" } }, { - "base": "DataOutput_Normal", + "base": "DataOutput_Normal_2", "details": { "name": "Normal" } }, { - "base": "DataOutput_Distance", + "base": "DataOutput_Distance_3", "details": { "name": "Distance" } }, { - "base": "DataOutput_EntityId", + "base": "DataOutput_EntityId_4", "details": { "name": "EntityId" } }, { - "base": "DataOutput_Surface", + "base": "DataOutput_Surface_5", "details": { "name": "Surface" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastMultipleLocalSpaceWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastMultipleLocalSpaceWithGroup.names index f2d2934035..2744ac87d5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastMultipleLocalSpaceWithGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastMultipleLocalSpaceWithGroup.names @@ -11,49 +11,49 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Direction", + "base": "DataInput_Direction_1", "details": { "name": "Direction" } }, { - "base": "DataInput_Distance", + "base": "DataInput_Distance_2", "details": { "name": "Distance" } }, { - "base": "DataInput_Collision group", + "base": "DataInput_Collision group_3", "details": { "name": "Collision group" } }, { - "base": "DataInput_Ignore", + "base": "DataInput_Ignore_4", "details": { "name": "Ignore" } }, { - "base": "DataOutput_Objects hit", + "base": "DataOutput_Objects hit_0", "details": { "name": "Objects hit" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastWorldSpaceWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastWorldSpaceWithGroup.names index 8051204ab7..98b20ea4f5 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastWorldSpaceWithGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_RayCastWorldSpaceWithGroup.names @@ -11,79 +11,79 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Start", + "base": "DataInput_Start_0", "details": { "name": "Start" } }, { - "base": "DataInput_Direction", + "base": "DataInput_Direction_1", "details": { "name": "Direction" } }, { - "base": "DataInput_Distance", + "base": "DataInput_Distance_2", "details": { "name": "Distance" } }, { - "base": "DataInput_Collision group", + "base": "DataInput_Collision group_3", "details": { "name": "Collision group" } }, { - "base": "DataInput_Ignore", + "base": "DataInput_Ignore_4", "details": { "name": "Ignore" } }, { - "base": "DataOutput_Object hit", + "base": "DataOutput_Object hit_0", "details": { "name": "Object hit" } }, { - "base": "DataOutput_Position", + "base": "DataOutput_Position_1", "details": { "name": "Position" } }, { - "base": "DataOutput_Normal", + "base": "DataOutput_Normal_2", "details": { "name": "Normal" } }, { - "base": "DataOutput_Distance", + "base": "DataOutput_Distance_3", "details": { "name": "Distance" } }, { - "base": "DataOutput_EntityId", + "base": "DataOutput_EntityId_4", "details": { "name": "EntityId" } }, { - "base": "DataOutput_Surface", + "base": "DataOutput_Surface_5", "details": { "name": "Surface" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_SphereCastWithGroup.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_SphereCastWithGroup.names index 705fa25d66..7b6c389171 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_SphereCastWithGroup.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/PhysXWorld_SphereCastWithGroup.names @@ -11,85 +11,85 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Distance", + "base": "DataInput_Distance_0", "details": { "name": "Distance" } }, { - "base": "DataInput_Pose", + "base": "DataInput_Pose_1", "details": { "name": "Pose" } }, { - "base": "DataInput_Direction", + "base": "DataInput_Direction_2", "details": { "name": "Direction" } }, { - "base": "DataInput_Radius", + "base": "DataInput_Radius_3", "details": { "name": "Radius" } }, { - "base": "DataInput_Collision group", + "base": "DataInput_Collision group_4", "details": { "name": "Collision group" } }, { - "base": "DataInput_Ignore", + "base": "DataInput_Ignore_5", "details": { "name": "Ignore" } }, { - "base": "DataOutput_Object Hit", + "base": "DataOutput_Object Hit_0", "details": { "name": "Object Hit" } }, { - "base": "DataOutput_Position", + "base": "DataOutput_Position_1", "details": { "name": "Position" } }, { - "base": "DataOutput_Normal", + "base": "DataOutput_Normal_2", "details": { "name": "Normal" } }, { - "base": "DataOutput_Distance", + "base": "DataOutput_Distance_3", "details": { "name": "Distance" } }, { - "base": "DataOutput_EntityId", + "base": "DataOutput_EntityId_4", "details": { "name": "EntityId" } }, { - "base": "DataOutput_Surface", + "base": "DataOutput_Surface_5", "details": { "name": "Surface" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Spawning_Spawn.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Spawning_Spawn.names index 3f099577f9..5588c71675 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Spawning_Spawn.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Spawning_Spawn.names @@ -7,48 +7,47 @@ "details": { "name": "Spawn", "category": "Spawning", - "tooltip": "Spawns a selected prefab, positioned using the provided transform inputs", - "subtitle": "Spawning" + "tooltip": "Spawns a selected prefab, positioned using the provided transform inputs" }, "slots": [ { - "base": "Input_Request Spawn", + "base": "Input_Request Spawn_0", "details": { "name": "Request Spawn" } }, { - "base": "DataInput_Translation", + "base": "DataInput_Translation_0", "details": { "name": "Translation" } }, { - "base": "DataInput_Rotation", + "base": "DataInput_Rotation_1", "details": { "name": "Rotation" } }, { - "base": "DataInput_Scale", + "base": "DataInput_Scale_2", "details": { "name": "Scale" } }, { - "base": "Output_Spawn Requested", + "base": "Output_Spawn Requested_0", "details": { "name": "Spawn Requested" } }, { - "base": "Output_On Spawn", + "base": "Output_On Spawn_1", "details": { "name": "On Spawn" } }, { - "base": "DataOutput_SpawnedEntitiesList", + "base": "DataOutput_SpawnedEntitiesList_0", "details": { "name": "SpawnedEntitiesList" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_BuildString.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_BuildString.names index 4576c21318..6eaa6a08b4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_BuildString.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_BuildString.names @@ -7,31 +7,30 @@ "details": { "name": "Build String", "category": "String", - "tooltip": "Formats and creates a string from the provided text.\nAny word within {} will create a data pin on this node.", - "subtitle": "String" + "tooltip": "Formats and creates a string from the provided text.\nAny word within {} will create a data pin on this node." }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "DataOutput_String", + "base": "DataOutput_String_0", "details": { "name": "String" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ContainsString.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ContainsString.names index 7cb1b668d4..b882e8a505 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ContainsString.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ContainsString.names @@ -7,56 +7,55 @@ "details": { "name": "Contains String", "category": "String", - "tooltip": "Checks if a string contains an instance of a specified string, if true, it returns the index to the first instance matched.", - "subtitle": "String" + "tooltip": "Checks if a string contains an instance of a specified string, if true, it returns the index to the first instance matched." }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Pattern", + "base": "DataInput_Pattern_1", "details": { "name": "Pattern" } }, { - "base": "DataInput_Search From End", + "base": "DataInput_Search From End_2", "details": { "name": "Search From End" } }, { - "base": "DataInput_Case Sensitive", + "base": "DataInput_Case Sensitive_3", "details": { "name": "Case Sensitive" } }, { - "base": "DataOutput_Index", + "base": "DataOutput_Index_0", "details": { "name": "Index" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "The string contains the provided pattern." } }, { - "base": "Output_False", + "base": "Output_False_1", "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 35ba6f17b4..22857d3f5e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_EndsWith.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_EndsWith.names @@ -7,43 +7,42 @@ "details": { "name": "Ends With", "category": "String", - "tooltip": ".", - "subtitle": "String" + "tooltip": "." }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Pattern", + "base": "DataInput_Pattern_1", "details": { "name": "Pattern" } }, { - "base": "DataInput_Case Sensitive", + "base": "DataInput_Case Sensitive_2", "details": { "name": "Case Sensitive" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True" } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Join.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Join.names index fd379e063c..ef38e1a991 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Join.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Join.names @@ -7,37 +7,36 @@ "details": { "name": "Join", "category": "String", - "tooltip": ".", - "subtitle": "String" + "tooltip": "." }, "slots": [ { - "base": "DataInput_String Array", + "base": "DataInput_String Array_0", "details": { "name": "String Array" } }, { - "base": "DataInput_Separator", + "base": "DataInput_Separator_1", "details": { "name": "Separator" } }, { - "base": "DataOutput_String", + "base": "DataOutput_String_0", "details": { "name": "String" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ReplaceString.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ReplaceString.names index 2edaaa842e..601c05c89c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ReplaceString.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ReplaceString.names @@ -7,49 +7,48 @@ "details": { "name": "Replace String", "category": "String", - "tooltip": "Allows replacing a substring from a given string.", - "subtitle": "String" + "tooltip": "Allows replacing a substring from a given string." }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Replace", + "base": "DataInput_Replace_1", "details": { "name": "Replace" } }, { - "base": "DataInput_With", + "base": "DataInput_With_2", "details": { "name": "With" } }, { - "base": "DataInput_Case Sensitive", + "base": "DataInput_Case Sensitive_3", "details": { "name": "Case Sensitive" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Split.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Split.names index a16adf32b8..6a2943bf0f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Split.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Split.names @@ -7,37 +7,36 @@ "details": { "name": "Split", "category": "String", - "tooltip": ".", - "subtitle": "String" + "tooltip": "." }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Delimiters", + "base": "DataInput_Delimiters_1", "details": { "name": "Delimiters" } }, { - "base": "DataOutput_String Array", + "base": "DataOutput_String Array_0", "details": { "name": "String Array" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_StartsWith.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_StartsWith.names index 0538597e7a..a3a17b4ff7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_StartsWith.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_StartsWith.names @@ -7,43 +7,42 @@ "details": { "name": "Starts With", "category": "String", - "tooltip": ".", - "subtitle": "String" + "tooltip": "." }, "slots": [ { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataInput_Pattern", + "base": "DataInput_Pattern_1", "details": { "name": "Pattern" } }, { - "base": "DataInput_Case Sensitive", + "base": "DataInput_Case Sensitive_2", "details": { "name": "Case Sensitive" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True" } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Substring.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Substring.names index ff14a4fe42..5f489934bd 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Substring.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_Substring.names @@ -7,44 +7,43 @@ "details": { "name": "Substring", "category": "String", - "tooltip": "Returns a sub string from a given string", - "subtitle": "String" + "tooltip": "Returns a sub string from a given string" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_String: Source", + "base": "DataInput_Source_0", "details": { - "name": "String: Source" + "name": "Source" } }, { - "base": "DataInput_Number: From", + "base": "DataInput_From_1", "details": { - "name": "Number: From" + "name": "From" } }, { - "base": "DataInput_Number: Length", + "base": "DataInput_Length_2", "details": { - "name": "Number: Length" + "name": "Length" } }, { - "base": "DataOutput_Result: String", + "base": "DataOutput_Result_0", "details": { - "name": "Result: String" + "name": "Result" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToLower.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToLower.names index 1d761cd3cf..3ec07352e0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToLower.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToLower.names @@ -11,25 +11,25 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToUpper.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToUpper.names index bee39e0683..62089de059 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToUpper.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/String_ToUpper.names @@ -11,25 +11,25 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchMethodSharedDataSlotExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchMethodSharedDataSlotExample.names index cb1b376ffa..6b966bfb55 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchMethodSharedDataSlotExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_BranchMethodSharedDataSlotExample.names @@ -5,68 +5,67 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "BranchMethodSharedDataSlotExample", + "name": "Branch Method Shared Data Slot Example", "category": "Tests", - "tooltip": "Branch Test", - "subtitle": "Tests" + "tooltip": "Branch Test" }, "slots": [ { - "base": "Output_One String", + "base": "Output_One String_0", "details": { "name": "One String" } }, { - "base": "DataOutput_string", + "base": "DataOutput_string_0", "details": { "name": "string" } }, { - "base": "Output_Two Strings", + "base": "Output_Two Strings_1", "details": { "name": "Two Strings" } }, { - "base": "DataOutput_string1", + "base": "DataOutput_string1_1", "details": { "name": "string1" } }, { - "base": "DataOutput_string2", + "base": "DataOutput_string2_2", "details": { "name": "string2" } }, { - "base": "Output_Three Strings", + "base": "Output_Three Strings_2", "details": { "name": "Three Strings" } }, { - "base": "DataOutput_string3", + "base": "DataOutput_string3_3", "details": { "name": "string3" } }, { - "base": "Output_Square", + "base": "Output_Square_3", "details": { "name": "Square" } }, { - "base": "Output_Pants", + "base": "Output_Pants_4", "details": { "name": "Pants" } }, { - "base": "Output_Hello", + "base": "Output_Hello_5", "details": { "name": "Hello" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputMethodSharedDataSlotExample.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputMethodSharedDataSlotExample.names index 2ea2b7c637..c88f0fea97 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputMethodSharedDataSlotExample.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Tests_InputMethodSharedDataSlotExample.names @@ -5,74 +5,73 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "InputMethodSharedDataSlotExample", + "name": "Input Method Shared Data Slot Example", "category": "Tests", - "tooltip": "Input Method Shared Data", - "subtitle": "Tests" + "tooltip": "Input Method Shared Data" }, "slots": [ { - "base": "Input_Append Hello", + "base": "Input_Append Hello_0", "details": { "name": "Append Hello" } }, { - "base": "DataInput_str", + "base": "DataInput_str_0", "details": { "name": "str" } }, { - "base": "Output_On Append Hello", + "base": "Output_On Append Hello_0", "details": { "name": "On Append Hello" } }, { - "base": "DataOutput_Output", + "base": "DataOutput_Output_0", "details": { "name": "Output" } }, { - "base": "Input_Concatenate Two", + "base": "Input_Concatenate Two_1", "details": { "name": "Concatenate Two" } }, { - "base": "DataInput_a", + "base": "DataInput_a_1", "details": { "name": "a" } }, { - "base": "DataInput_b", + "base": "DataInput_b_2", "details": { "name": "b" } }, { - "base": "Output_On Concatenate Two", + "base": "Output_On Concatenate Two_1", "details": { "name": "On Concatenate Two" } }, { - "base": "Input_Concatenate Three", + "base": "Input_Concatenate Three_2", "details": { "name": "Concatenate Three" } }, { - "base": "DataInput_c", + "base": "DataInput_c_3", "details": { "name": "c" } }, { - "base": "Output_On Concatenate Three", + "base": "Output_On Concatenate Three_2", "details": { "name": "On Concatenate Three" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Delay.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Delay.names index 7d9f1d9d64..ac6387256c 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Delay.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Delay.names @@ -7,97 +7,96 @@ "details": { "name": "Delay", "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": [ { - "base": "Input_Start", + "base": "Input_Start_0", "details": { "name": "Start", "tooltip": "When signaled, execution is delayed at this node according to the specified properties." } }, { - "base": "DataInput_Start: Time", + "base": "DataInput_Start: Time_0", "details": { "name": "Start: Time" } }, { - "base": "DataInput_Start: Loop", + "base": "DataInput_Start: Loop_1", "details": { "name": "Start: Loop" } }, { - "base": "DataInput_Start: Hold", + "base": "DataInput_Start: Hold_2", "details": { "name": "Start: Hold" } }, { - "base": "Output_On Start", + "base": "Output_On Start_0", "details": { "name": "On Start", "tooltip": "When signaled, execution is delayed at this node according to the specified properties." } }, { - "base": "Input_Reset", + "base": "Input_Reset_1", "details": { "name": "Reset", "tooltip": "When signaled, execution is delayed at this node according to the specified properties." } }, { - "base": "DataInput_Reset: Time", + "base": "DataInput_Reset: Time_3", "details": { "name": "Reset: Time" } }, { - "base": "DataInput_Reset: Loop", + "base": "DataInput_Reset: Loop_4", "details": { "name": "Reset: Loop" } }, { - "base": "DataInput_Reset: Hold", + "base": "DataInput_Reset: Hold_5", "details": { "name": "Reset: Hold" } }, { - "base": "Output_On Reset", + "base": "Output_On Reset_1", "details": { "name": "On Reset", "tooltip": "When signaled, execution is delayed at this node according to the specified properties." } }, { - "base": "Input_Cancel", + "base": "Input_Cancel_2", "details": { "name": "Cancel", "tooltip": "Cancels the current delay." } }, { - "base": "Output_On Cancel", + "base": "Output_On Cancel_2", "details": { "name": "On Cancel", "tooltip": "Cancels the current delay." } }, { - "base": "Output_Done", + "base": "Output_Done_3", "details": { "name": "Done", "tooltip": "Signaled when the delay reaches zero." } }, { - "base": "DataOutput_Elapsed", + "base": "DataOutput_Elapsed_0", "details": { "name": "Elapsed" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Duration.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Duration.names index d3ef973ec7..280ef54ea0 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Duration.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Duration.names @@ -11,33 +11,33 @@ }, "slots": [ { - "base": "DataInput_Duration", + "base": "DataInput_Duration_0", "details": { "name": "Duration" } }, { - "base": "DataOutput_Elapsed", + "base": "DataOutput_Elapsed_0", "details": { "name": "Elapsed" } }, { - "base": "Input_Start", + "base": "Input_Start_0", "details": { "name": "Start", "tooltip": "Starts the countdown" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Signaled every frame while the duration is active." } }, { - "base": "Output_Done", + "base": "Output_Done_1", "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 c024e58c31..6f5f2a3f24 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_HeartBeat.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_HeartBeat.names @@ -1,7 +1,7 @@ { "entries": [ { - "base": "{E73DB180-A325-763B-A1FE-517B548AF66E}", + "base": "{BA107060-249D-4818-9CEC-7573718273FC}", "context": "ScriptCanvas::Node", "variant": "", "details": { @@ -11,40 +11,27 @@ }, "slots": [ { - "base": "Input_Start", + "base": "Input_Start_0", "details": { "name": "Start" } }, { - "base": "DataInput_Interval", - "details": { - "name": "Interval" - } - }, - { - "base": "Output_On Start", - "details": { - "name": "On Start" - } - }, - { - "base": "Input_Stop", + "base": "Input_Stop_1", "details": { "name": "Stop" } }, { - "base": "Output_On Stop", + "base": "Output_Pulse_0", "details": { - "name": "On Stop" + "name": "Pulse" } }, { - "base": "Output_Pulse", + "base": "DataInput_Interval_0", "details": { - "name": "Pulse", - "tooltip": "Signaled at each specified interval." + "name": "Interval" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_OnGraphStart.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_OnGraphStart.names index d5162caf05..b723bc06e1 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_OnGraphStart.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_OnGraphStart.names @@ -7,12 +7,11 @@ "details": { "name": "On Graph Start", "category": "Timing", - "tooltip": "Starts executing the graph when the entity that owns the graph is fully activated.", - "subtitle": "Timing" + "tooltip": "Starts executing the graph when the entity that owns the graph is fully activated." }, "slots": [ { - "base": "Output_Out", + "base": "Output_Out_0", "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 a682f2b7ec..d0dcd75f85 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TickDelay.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TickDelay.names @@ -11,26 +11,26 @@ }, "slots": [ { - "base": "DataInput_Ticks", + "base": "DataInput_Ticks_0", "details": { "name": "Ticks" } }, { - "base": "DataInput_Tick Order", + "base": "DataInput_Tick Order_1", "details": { "name": "Tick Order" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "When signaled, execution is delayed at this node for the specified amount of frames." } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 bfe267f227..3a83df9031 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TimeDelay.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_TimeDelay.names @@ -11,21 +11,21 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "When signaled, execution is delayed at this node for the specified amount of times." } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Signaled after waiting for the specified amount of times." } }, { - "base": "DataInput_Delay", + "base": "DataInput_Delay_0", "details": { "name": "Delay" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Timer.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Timer.names index 87b2c1cefa..8d5bc6e536 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Timer.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Timing_Timer.names @@ -1,46 +1,60 @@ { "entries": [ { - "base": "{60CF8540-E51A-434D-A32C-461C41D68AF9}", + "base": "{32A4BEDC-C207-4472-61DE-9A716402620A}", "context": "ScriptCanvas::Node", "variant": "", "details": { "name": "Timer", "category": "Timing", - "tooltip": "Provides a time value." + "tooltip": "While active, will signal the output at the given interval." }, "slots": [ { - "base": "DataOutput_Milliseconds", + "base": "Input_Start_0", "details": { - "name": "Milliseconds" + "name": "Start", + "tooltip": "Starts the timer" } }, { - "base": "DataOutput_Seconds", + "base": "Output_On Start_0", "details": { - "name": "Seconds" + "name": "On Start", + "tooltip": "Starts the timer" } }, { - "base": "Input_Start", + "base": "Input_Stop_1", "details": { - "name": "Start", - "tooltip": "Starts the timer." + "name": "Stop", + "tooltip": "Stops the timer" } }, { - "base": "Input_Stop", + "base": "Output_On Stop_1", "details": { - "name": "Stop", - "tooltip": "Stops the timer." + "name": "On Stop", + "tooltip": "Stops the timer" + } + }, + { + "base": "Output_On Tick_2", + "details": { + "name": "On Tick", + "tooltip": "Signaled at each tick while the timer is in operation." + } + }, + { + "base": "DataOutput_Milliseconds_0", + "details": { + "name": "Milliseconds" } }, { - "base": "Output_Out", + "base": "DataOutput_Seconds_1", "details": { - "name": "Out", - "tooltip": "Signaled every frame while the timer is running." + "name": "Seconds" } } ] diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ArithmeticExpression.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ArithmeticExpression.names index 8412a5383d..4b867599f9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ArithmeticExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ArithmeticExpression.names @@ -5,38 +5,38 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "ArithmeticExpression", + "name": "Arithmetic Expression", "tooltip": "ArithmeticExpression" }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Signaled after the arithmetic operation is done." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 e07670e988..44eaa0b48f 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BinaryOperator.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BinaryOperator.names @@ -5,12 +5,12 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "BinaryOperator", + "name": "Binary Operator", "tooltip": "BinaryOperator" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "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 7df3ca9423..6309542f71 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BooleanExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_BooleanExpression.names @@ -5,32 +5,32 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "BooleanExpression", + "name": "Boolean Expression", "tooltip": "BooleanExpression" }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "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 f59d822ffb..a99ea08c00 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ComparisonExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_ComparisonExpression.names @@ -5,45 +5,45 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "ComparisonExpression", + "name": "Comparison Expression", "tooltip": "ComparisonExpression" }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 f8404345b7..d53cb9357a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_EqualityExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_EqualityExpression.names @@ -5,45 +5,45 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "EqualityExpression", + "name": "Equality Expression", "tooltip": "EqualityExpression" }, "slots": [ { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "details": { "name": "False", "tooltip": "Signaled if the result of the operation is false." } }, { - "base": "DataInput_Value A", + "base": "DataInput_Value A_0", "details": { "name": "Value A" } }, { - "base": "DataInput_Value B", + "base": "DataInput_Value B_1", "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 a2a6475525..1f2b2061f4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_GetVariable.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_GetVariable.names @@ -10,14 +10,14 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "When signaled sends the property referenced by this node to a Data Output slot" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 d884e287da..3122d622eb 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNode.names @@ -5,7 +5,7 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "NodeableNode", + "name": "Nodeable Node", "tooltip": "NodeableNode" } } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNodeOverloaded.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNodeOverloaded.names index fa7c4723e1..0628ef14b2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNodeOverloaded.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_NodeableNodeOverloaded.names @@ -5,7 +5,7 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "NodeableNodeOverloaded", + "name": "Nodeable Node Overloaded", "tooltip": "NodeableNode" } } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_SetVariable.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_SetVariable.names index b4e5f12867..e4050ce1f7 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_SetVariable.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_SetVariable.names @@ -10,14 +10,14 @@ }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "When signaled sends the variable referenced by this node to a Data Output slot" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "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 4933d2d9bc..33fab189e4 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryExpression.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryExpression.names @@ -5,38 +5,38 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "UnaryExpression", + "name": "Unary Expression", "tooltip": "UnaryExpression" }, "slots": [ { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "DataOutput_Result", + "base": "DataOutput_Result_0", "details": { "name": "Result" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Signal to perform the evaluation when desired." } }, { - "base": "Output_True", + "base": "Output_True_0", "details": { "name": "True", "tooltip": "Signaled if the result of the operation is true." } }, { - "base": "Output_False", + "base": "Output_False_1", "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 b18fe07c1f..6b51a011d9 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryOperator.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Uncategorized_UnaryOperator.names @@ -5,12 +5,12 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "UnaryOperator", + "name": "Unary Operator", "tooltip": "UnaryOperator" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "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 0b238ad007..a78f033284 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesDebug_Print.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesDebug_Print.names @@ -7,25 +7,24 @@ "details": { "name": "Print", "category": "Utilities/Debug", - "tooltip": "Formats and prints the provided text in the debug console.\nAny word within {} will create a data pin on this node.", - "subtitle": "Debug" + "tooltip": "Formats and prints the provided text in the debug console.\nAny word within {} will create a data pin on this node." }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "DataInput_Value", + "base": "DataInput_Value_0", "details": { "name": "Value" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddFailure.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddFailure.names index f1e851bd4d..7029cc839b 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddFailure.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddFailure.names @@ -11,20 +11,20 @@ }, "slots": [ { - "base": "DataInput_Report", + "base": "DataInput_Report_0", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddSuccess.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddSuccess.names index 5ebb61abdb..fb81c2fdef 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddSuccess.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_AddSuccess.names @@ -11,20 +11,20 @@ }, "slots": [ { - "base": "DataInput_Report", + "base": "DataInput_Report_0", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_Checkpoint.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_Checkpoint.names index c87e917ec6..c80f59964a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_Checkpoint.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_Checkpoint.names @@ -11,20 +11,20 @@ }, "slots": [ { - "base": "DataInput_Report", + "base": "DataInput_Report_0", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectEqual.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectEqual.names index 82e29a3761..1ce3b3b1f2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectEqual.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectEqual.names @@ -11,32 +11,32 @@ }, "slots": [ { - "base": "DataInput_Report", + "base": "DataInput_Report_0", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Candidate", + "base": "DataInput_Candidate_1", "details": { "name": "Candidate" } }, { - "base": "DataInput_Reference", + "base": "DataInput_Reference_2", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectFalse.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectFalse.names index 0ece11c5d3..cd6aca7679 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectFalse.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectFalse.names @@ -11,26 +11,26 @@ }, "slots": [ { - "base": "DataInput_Candidate", + "base": "DataInput_Candidate_0", "details": { "name": "Candidate" } }, { - "base": "DataInput_Report", + "base": "DataInput_Report_1", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThan.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThan.names index b5e85fc361..fd1feee008 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThan.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThan.names @@ -11,32 +11,32 @@ }, "slots": [ { - "base": "DataInput_Report", + "base": "DataInput_Report_0", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Candidate", + "base": "DataInput_Candidate_1", "details": { "name": "Candidate" } }, { - "base": "DataInput_Reference", + "base": "DataInput_Reference_2", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThanEqual.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThanEqual.names index 3d82f05c18..35a1123f77 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThanEqual.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectGreaterThanEqual.names @@ -11,32 +11,32 @@ }, "slots": [ { - "base": "DataInput_Report", + "base": "DataInput_Report_0", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Candidate", + "base": "DataInput_Candidate_1", "details": { "name": "Candidate" } }, { - "base": "DataInput_Reference", + "base": "DataInput_Reference_2", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThan.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThan.names index f3a875700a..e2d3cb289d 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThan.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThan.names @@ -11,32 +11,32 @@ }, "slots": [ { - "base": "DataInput_Report", + "base": "DataInput_Report_0", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Candidate", + "base": "DataInput_Candidate_1", "details": { "name": "Candidate" } }, { - "base": "DataInput_Reference", + "base": "DataInput_Reference_2", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThanEqual.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThanEqual.names index 1897bf12fe..e5078ea233 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThanEqual.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectLessThanEqual.names @@ -11,32 +11,32 @@ }, "slots": [ { - "base": "DataInput_Report", + "base": "DataInput_Report_0", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Candidate", + "base": "DataInput_Candidate_1", "details": { "name": "Candidate" } }, { - "base": "DataInput_Reference", + "base": "DataInput_Reference_2", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectNotEqual.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectNotEqual.names index cbe4045c11..518adf430e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectNotEqual.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectNotEqual.names @@ -11,32 +11,32 @@ }, "slots": [ { - "base": "DataInput_Report", + "base": "DataInput_Report_0", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } }, { - "base": "DataInput_Candidate", + "base": "DataInput_Candidate_1", "details": { "name": "Candidate" } }, { - "base": "DataInput_Reference", + "base": "DataInput_Reference_2", "details": { "name": "Reference" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectTrue.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectTrue.names index 71bf43b22a..b78afd825a 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectTrue.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_ExpectTrue.names @@ -11,26 +11,26 @@ }, "slots": [ { - "base": "DataInput_Candidate", + "base": "DataInput_Candidate_0", "details": { "name": "Candidate" } }, { - "base": "DataInput_Report", + "base": "DataInput_Report_1", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_MarkComplete.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_MarkComplete.names index 67c838c832..b8b33eeff2 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_MarkComplete.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/UtilitiesUnitTesting_MarkComplete.names @@ -11,20 +11,20 @@ }, "slots": [ { - "base": "DataInput_Report", + "base": "DataInput_Report_0", "details": { "name": "Report" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_BaseTimerNode.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_BaseTimerNode.names index 4a46770857..88167b2d3e 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_BaseTimerNode.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_BaseTimerNode.names @@ -5,14 +5,13 @@ "context": "ScriptCanvas::Node", "variant": "", "details": { - "name": "BaseTimerNode", + "name": "Base Timer Node", "category": "Utilities", - "tooltip": "Provides a basic interaction layer for all time based nodes for users(handles swapping between ticks and seconds).", - "subtitle": "Utilities" + "tooltip": "Provides a basic interaction layer for all time based nodes for users(handles swapping between ticks and seconds)." }, "slots": [ { - "base": "DataInput_Delay", + "base": "DataInput_Delay_0", "details": { "name": "Delay" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_ExtractProperties.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_ExtractProperties.names index 3ce4ed1f67..6a2884f972 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_ExtractProperties.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_ExtractProperties.names @@ -7,26 +7,25 @@ "details": { "name": "Extract Properties", "category": "Utilities", - "tooltip": "Extracts property values from connected input", - "subtitle": "Utilities" + "tooltip": "Extracts property values from connected input" }, "slots": [ { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "When signaled assigns property values using the supplied source input" } }, { - "base": "Output_Out", + "base": "Output_Out_0", "details": { "name": "Out", "tooltip": "Signaled after all property haves have been pushed to the output slots" } }, { - "base": "DataInput_Source", + "base": "DataInput_Source_0", "details": { "name": "Source" } diff --git a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_Repeater.names b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_Repeater.names index e34c059680..ee6eacf751 100644 --- a/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_Repeater.names +++ b/Gems/ScriptCanvas/Assets/TranslationAssets/Nodes/Utilities_Repeater.names @@ -7,39 +7,38 @@ "details": { "name": "Repeater", "category": "Utilities", - "tooltip": "Repeats the output signal the given number of times using the specified delay to space the signals out", - "subtitle": "Utilities" + "tooltip": "Repeats the output signal the given number of times using the specified delay to space the signals out" }, "slots": [ { - "base": "DataInput_Repetitions", + "base": "DataInput_Repetitions_0", "details": { "name": "Repetitions" } }, { - "base": "Input_In", + "base": "Input_In_0", "details": { "name": "In", "tooltip": "Input signal" } }, { - "base": "Output_Complete", + "base": "Output_Complete_0", "details": { "name": "Complete", "tooltip": "Signaled upon node exit" } }, { - "base": "Output_Action", + "base": "Output_Action_1", "details": { "name": "Action", "tooltip": "The signal that will be repeated" } }, { - "base": "DataInput_Interval", + "base": "DataInput_Interval_1", "details": { "name": "Interval" } diff --git a/Gems/ScriptCanvas/Code/Editor/GraphCanvas/Components/NodeDescriptors/EBusHandlerEventNodeDescriptorComponent.cpp b/Gems/ScriptCanvas/Code/Editor/GraphCanvas/Components/NodeDescriptors/EBusHandlerEventNodeDescriptorComponent.cpp index 29db0c52cc..e1450c0aa8 100644 --- a/Gems/ScriptCanvas/Code/Editor/GraphCanvas/Components/NodeDescriptors/EBusHandlerEventNodeDescriptorComponent.cpp +++ b/Gems/ScriptCanvas/Code/Editor/GraphCanvas/Components/NodeDescriptors/EBusHandlerEventNodeDescriptorComponent.cpp @@ -188,7 +188,7 @@ namespace ScriptCanvasEditor if (scriptCanvasSlot && scriptCanvasSlot->IsVisible()) { - auto graphCanvasSlotId = Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot)); + auto graphCanvasSlotId = Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot), 0); GraphCanvas::TranslationKey key; key << "EBusHandler" << eventHandler->GetEBusName() << "methods" << m_eventName; @@ -219,9 +219,10 @@ namespace ScriptCanvasEditor if (scriptCanvasSlot && scriptCanvasSlot->IsVisible()) { - auto graphCanvasSlotId = Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot)); int& index = (scriptCanvasSlot->IsData() && scriptCanvasSlot->IsOutput()) ? paramIndex : outputIndex; + auto graphCanvasSlotId = Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot), index); + GraphCanvas::TranslationRequests::Details details; if (scriptCanvasSlot->IsData()) @@ -254,7 +255,7 @@ namespace ScriptCanvasEditor if (scriptCanvasSlot && scriptCanvasSlot->IsVisible()) { - Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot)); + Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot), 0); } } diff --git a/Gems/ScriptCanvas/Code/Editor/GraphCanvas/Components/NodeDescriptors/ScriptEventReceiverEventNodeDescriptorComponent.cpp b/Gems/ScriptCanvas/Code/Editor/GraphCanvas/Components/NodeDescriptors/ScriptEventReceiverEventNodeDescriptorComponent.cpp index 7881a9886b..ab231ae637 100644 --- a/Gems/ScriptCanvas/Code/Editor/GraphCanvas/Components/NodeDescriptors/ScriptEventReceiverEventNodeDescriptorComponent.cpp +++ b/Gems/ScriptCanvas/Code/Editor/GraphCanvas/Components/NodeDescriptors/ScriptEventReceiverEventNodeDescriptorComponent.cpp @@ -177,9 +177,11 @@ namespace ScriptCanvasEditor if (scriptCanvasSlot && scriptCanvasSlot->IsVisible()) { - Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot)); + Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot), 0); } + int paramIndex = 0; + int outputIndex = 0; // // inputCount and outputCount work because the order of the slots is maintained from the BehaviorContext, if this changes // in the future then we should consider storing the actual offset or key name at that time. @@ -188,10 +190,14 @@ namespace ScriptCanvasEditor { scriptCanvasSlot = eventHandler->GetSlot(slotId); + int& index = (scriptCanvasSlot->IsData() && scriptCanvasSlot->IsInput()) ? paramIndex : outputIndex; + if (scriptCanvasSlot && scriptCanvasSlot->IsVisible()) { - Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot)); + Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot), index); } + + ++index; } if (myEvent.m_resultSlotId.IsValid()) @@ -200,7 +206,7 @@ namespace ScriptCanvasEditor if (scriptCanvasSlot && scriptCanvasSlot->IsVisible()) { - Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot)); + Nodes::DisplayScriptCanvasSlot(GetEntityId(), (*scriptCanvasSlot), 0); } } diff --git a/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.cpp b/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.cpp index 26caa5fc2f..7913069243 100644 --- a/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.cpp +++ b/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.cpp @@ -110,12 +110,17 @@ namespace ScriptCanvasEditor::Nodes GraphCanvas::TranslationRequests::Details details; GraphCanvas::TranslationRequestBus::BroadcastResult(details, &GraphCanvas::TranslationRequests::GetDetails, key, details); + int paramIndex = 0; + int outputIndex = 0; + // Create the GraphCanvas slots for (const auto& slot : node->GetSlots()) { GraphCanvas::TranslationKey slotKey; slotKey << "ScriptCanvas::Node" << azrtti_typeid(node).ToString() << "slots"; + int& index = (slot.IsData() && slot.IsInput()) ? paramIndex : outputIndex; + if (slot.IsVisible()) { AZStd::string slotKeyStr; @@ -150,11 +155,13 @@ namespace ScriptCanvasEditor::Nodes slotDetails.m_tooltip = slot.GetToolTip(); } - AZ::EntityId graphCanvasSlotId = DisplayScriptCanvasSlot(graphCanvasEntity->GetId(), slot); + AZ::EntityId graphCanvasSlotId = DisplayScriptCanvasSlot(graphCanvasEntity->GetId(), slot, index); GraphCanvas::SlotRequestBus::Event(graphCanvasSlotId, &GraphCanvas::SlotRequests::SetName, slotDetails.m_name); GraphCanvas::SlotRequestBus::Event(graphCanvasSlotId, &GraphCanvas::SlotRequests::SetTooltip, slotDetails.m_tooltip); } + + ++index; } const auto& visualExtensions = node->GetVisualExtensions(); @@ -328,6 +335,7 @@ namespace ScriptCanvasEditor::Nodes // Set the class' name as the subtitle fallback details.m_subtitle = details.m_name; + AZStd::string methodContext; // Get the method's text data GraphCanvas::TranslationRequests::Details methodDetails; methodDetails.m_name = details.m_name; // fallback @@ -338,14 +346,16 @@ namespace ScriptCanvasEditor::Nodes if (methodNode->GetMethodType() == ScriptCanvas::MethodType::Getter || methodNode->GetMethodType() == ScriptCanvas::MethodType::Free) { updatedMethodName = "Get"; + methodContext = "Getter"; } else { updatedMethodName = "Set"; + methodContext = "Setter"; } updatedMethodName.append(methodName); } - key << updatedMethodName; + key << methodContext << updatedMethodName; GraphCanvas::TranslationRequestBus::BroadcastResult(methodDetails, &GraphCanvas::TranslationRequests::GetDetails, key + ".details", methodDetails); @@ -372,9 +382,11 @@ namespace ScriptCanvasEditor::Nodes { GraphCanvas::TranslationKey slotKey = key; + int& index = (slot.IsData() && slot.IsInput()) ? paramIndex : outputIndex; + if (slot.IsVisible()) { - AZ::EntityId graphCanvasSlotId = DisplayScriptCanvasSlot(graphCanvasNodeId, slot); + AZ::EntityId graphCanvasSlotId = DisplayScriptCanvasSlot(graphCanvasNodeId, slot, index); details.m_name = slot.GetName(); details.m_tooltip = slot.GetToolTip(); @@ -386,7 +398,7 @@ namespace ScriptCanvasEditor::Nodes } else { - int& index = (slot.IsData() && slot.IsInput()) ? paramIndex : outputIndex; + if (slot.IsData()) { @@ -416,6 +428,8 @@ namespace ScriptCanvasEditor::Nodes UpdateSlotDatumLabel(graphCanvasNodeId, slot.GetId(), details.m_name); } + + ++index; } // Set the name @@ -471,6 +485,9 @@ namespace ScriptCanvasEditor::Nodes AZStd::vector< ScriptCanvas::SlotId > scriptCanvasSlots = busNode->GetNonEventSlotIds(); + int paramIndex = 0; + int outputIndex = 0; + for (const auto& slotId : scriptCanvasSlots) { ScriptCanvas::Slot* slot = busNode->GetSlot(slotId); @@ -484,6 +501,8 @@ namespace ScriptCanvasEditor::Nodes if (slot->IsVisible()) { + int& index = (slot->IsData() && slot->IsInput()) ? paramIndex : outputIndex; + AZ::EntityId gcSlotId = DisplayScriptCanvasSlot(graphCanvasNodeId, (*slot), group); if (busNode->IsIDRequired() && slot->GetDescriptor() == ScriptCanvas::SlotDescriptors::DataIn()) @@ -497,6 +516,8 @@ namespace ScriptCanvasEditor::Nodes GraphCanvas::SlotRequestBus::Event(gcSlotId, &GraphCanvas::SlotRequests::SetDetails, details.m_name, details.m_tooltip); } + + ++index; } } @@ -594,12 +615,17 @@ namespace ScriptCanvasEditor::Nodes *graphCanvasUserData = azEventNode->GetEntityId(); } + int paramIndex = 0; + int outputIndex = 0; + for (const ScriptCanvas::Slot& slot: azEventNode->GetSlots()) { GraphCanvas::SlotGroup group = GraphCanvas::SlotGroups::Invalid; if (slot.IsVisible()) { + int& index = (slot.IsData() && slot.IsInput()) ? paramIndex : outputIndex; + AZ::EntityId gcSlotId = DisplayScriptCanvasSlot(graphCanvasNodeId, slot, group); GraphCanvas::TranslationKey key; @@ -610,6 +636,8 @@ namespace ScriptCanvasEditor::Nodes GraphCanvas::SlotRequestBus::Event(gcSlotId, &GraphCanvas::SlotRequests::SetName, details.m_name); GraphCanvas::SlotRequestBus::Event(gcSlotId, &GraphCanvas::SlotRequests::SetTooltip, details.m_tooltip);; + + ++index; } } @@ -675,6 +703,9 @@ namespace ScriptCanvasEditor::Nodes AZStd::vector< ScriptCanvas::SlotId > scriptCanvasSlots = busNode->GetNonEventSlotIds(); + int paramIndex = 0; + int outputIndex = 0; + for (const auto& slotId : scriptCanvasSlots) { ScriptCanvas::Slot* slot = busNode->GetSlot(slotId); @@ -688,6 +719,8 @@ namespace ScriptCanvasEditor::Nodes if (slot->IsVisible()) { + int& index = (slot->IsData() && slot->IsInput()) ? paramIndex : outputIndex; + AZ::EntityId gcSlotId = DisplayScriptCanvasSlot(graphCanvasNodeId, (*slot), group); if (busNode->IsIDRequired() && slot->GetDescriptor() == ScriptCanvas::SlotDescriptors::DataIn()) @@ -698,6 +731,8 @@ namespace ScriptCanvasEditor::Nodes GraphCanvas::TranslationRequestBus::BroadcastResult(details, &GraphCanvas::TranslationRequests::GetDetails, key, details); GraphCanvas::SlotRequestBus::Event(gcSlotId, &GraphCanvas::SlotRequests::SetDetails, details.m_name, details.m_tooltip); } + + ++index; } } @@ -783,17 +818,24 @@ namespace ScriptCanvasEditor::Nodes return graphCanvasNodeId; } + int paramIndex = 0; + int outputIndex = 0; + for (const auto& slot : senderNode->GetSlots()) { + int& index = (slot.IsData() && slot.IsInput()) ? paramIndex : outputIndex; + if (slot.IsVisible()) { - AZ::EntityId graphCanvasSlotId = DisplayScriptCanvasSlot(graphCanvasNodeId, slot); + AZ::EntityId graphCanvasSlotId = DisplayScriptCanvasSlot(graphCanvasNodeId, slot, index); GraphCanvas::SlotRequestBus::Event(graphCanvasSlotId, &GraphCanvas::SlotRequests::SetName, slot.GetName()); GraphCanvas::SlotRequestBus::Event(graphCanvasSlotId, &GraphCanvas::SlotRequests::SetTooltip, slot.GetToolTip()); UpdateSlotDatumLabel(graphCanvasNodeId, slot.GetId(), slot.GetName()); } + + ++index; } // Set the name @@ -871,14 +913,21 @@ namespace ScriptCanvasEditor::Nodes return graphCanvasNodeId; } + int paramIndex = 0; + int outputIndex = 0; + for (const auto& slot : functionNode->GetSlots()) { - AZ::EntityId graphCanvasSlotId = DisplayScriptCanvasSlot(graphCanvasNodeId, slot); + int& index = (slot.IsData() && slot.IsInput()) ? paramIndex : outputIndex; + + AZ::EntityId graphCanvasSlotId = DisplayScriptCanvasSlot(graphCanvasNodeId, slot, index); GraphCanvas::SlotRequestBus::Event(graphCanvasSlotId, &GraphCanvas::SlotRequests::SetName, slot.GetName()); GraphCanvas::SlotRequestBus::Event(graphCanvasSlotId, &GraphCanvas::SlotRequests::SetTooltip, slot.GetToolTip()); UpdateSlotDatumLabel(graphCanvasNodeId, slot.GetId(), slot.GetName()); + + ++index; } if (asset) @@ -1141,7 +1190,7 @@ namespace ScriptCanvasEditor::Nodes return graphCanvasConnectionType; } - AZ::EntityId DisplayScriptCanvasSlot(AZ::EntityId graphCanvasNodeId, const ScriptCanvas::Slot& slot, GraphCanvas::SlotGroup slotGroup) + AZ::EntityId DisplayScriptCanvasSlot(AZ::EntityId graphCanvasNodeId, const ScriptCanvas::Slot& slot, int slotIndex, GraphCanvas::SlotGroup slotGroup) { if (!slot.IsVisible()) { @@ -1244,6 +1293,7 @@ namespace ScriptCanvasEditor::Nodes } slotKeyStr.append(slot.GetName()); + slotKeyStr.append(AZStd::string::format("_%d", slotIndex)); slotKey << slotKeyStr << "details"; GraphCanvas::TranslationRequests::Details slotDetails; diff --git a/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.h b/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.h index 6d0b125b7a..8dbc5cd2c7 100644 --- a/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.h +++ b/Gems/ScriptCanvas/Code/Editor/Nodes/NodeDisplayUtils.h @@ -63,5 +63,5 @@ namespace ScriptCanvasEditor::Nodes // SlotGroup will control how elements are grouped. // Invalid will cause the slots to put themselves into whatever category they belong to by default. - AZ::EntityId DisplayScriptCanvasSlot(AZ::EntityId graphCanvasNodeId, const ScriptCanvas::Slot& slot, GraphCanvas::SlotGroup group = GraphCanvas::SlotGroups::Invalid); + AZ::EntityId DisplayScriptCanvasSlot(AZ::EntityId graphCanvasNodeId, const ScriptCanvas::Slot& slot, int slotIndex, GraphCanvas::SlotGroup group = GraphCanvas::SlotGroups::Invalid); } diff --git a/Gems/ScriptCanvas/Code/Editor/View/Widgets/NodePalette/NodePaletteModel.cpp b/Gems/ScriptCanvas/Code/Editor/View/Widgets/NodePalette/NodePaletteModel.cpp index dc221deec0..c5be5cb4c6 100644 --- a/Gems/ScriptCanvas/Code/Editor/View/Widgets/NodePalette/NodePaletteModel.cpp +++ b/Gems/ScriptCanvas/Code/Editor/View/Widgets/NodePalette/NodePaletteModel.cpp @@ -1023,13 +1023,15 @@ namespace ScriptCanvasEditor GraphCanvas::TranslationKey key; + AZStd::string context; AZStd::string updatedMethodName; if (propertyStatus != ScriptCanvas::PropertyStatus::None) { updatedMethodName = (propertyStatus == ScriptCanvas::PropertyStatus::Getter) ? "Get" : "Set"; + context = (propertyStatus == ScriptCanvas::PropertyStatus::Getter) ? "Getter" : "Setter"; } updatedMethodName += methodName; - key << "BehaviorClass" << methodClass.c_str() << "methods" << updatedMethodName << "details"; + key << "BehaviorClass" << context << methodClass << "methods" << updatedMethodName << "details"; GraphCanvas::TranslationRequests::Details details; GraphCanvas::TranslationRequestBus::BroadcastResult(details, &GraphCanvas::TranslationRequests::GetDetails, key, details); diff --git a/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.cpp b/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.cpp index a0f26bcec9..25a4b58a74 100644 --- a/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.cpp +++ b/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.cpp @@ -188,7 +188,7 @@ namespace ScriptCanvasEditorTools } } - AZ::Entity* TranslationGeneration::TranslateAZEvent(const AZ::BehaviorMethod& method) + AZ::Entity* TranslationGeneration::GetAZEventNode(const AZ::BehaviorMethod& method) { // Make sure the method returns an AZ::Event by reference or pointer if (AZ::MethodReturnsAzEventByReferenceOrPointer(method)) @@ -248,6 +248,11 @@ namespace ScriptCanvasEditorTools { const AZ::BehaviorMethod* behaviorMethod = methodPair.second; + if (TranslateSingleAZEvent(behaviorMethod)) + { + continue; + } + Method methodEntry; AZStd::string cleanName = GraphCanvas::TranslationKey::Sanitize(methodPair.first); @@ -363,87 +368,94 @@ namespace ScriptCanvasEditorTools return true; } - void TranslationGeneration::TranslateAZEvents() + //! Generate the translation data for a specific AZ::Event + bool TranslationGeneration::TranslateSingleAZEvent(const AZ::BehaviorMethod* method) { - GraphCanvas::TranslationKey translationKey; - AZStd::vector nodes; - - // Methods - for (const auto& behaviorMethod : m_behaviorContext->m_methods) + AZ::Entity* node = GetAZEventNode(*method); + if (!node) { - const auto& method = *behaviorMethod.second; - AZ::Entity* node = TranslateAZEvent(method); - if (node) - { - nodes.push_back(node); - } + return false; } - // Methods in classes - for (auto behaviorClass : m_behaviorContext->m_classes) + TranslationFormat translationRoot; + + ScriptCanvas::Nodes::Core::AzEventHandler* nodeComponent = node->FindComponent(); + nodeComponent->Init(); + nodeComponent->Configure(); + + const ScriptCanvas::Nodes::Core::AzEventEntry& azEventEntry{ nodeComponent->GetEventEntry() }; + + Entry entry; + entry.m_key = azEventEntry.m_eventName; + 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()) { - for (auto behaviorMethod : behaviorClass.second->m_methods) + Slot slotEntry; + + if (slot.IsVisible()) { - const auto& method = *behaviorMethod.second; - AZ::Entity* node = TranslateAZEvent(method); - if (node) + slotEntry.m_key = slot.GetName(); + + if (slot.GetId() == azEventEntry.m_azEventInputSlotId) + { + slotEntry.m_details.m_name = azEventEntry.m_eventName; + } + else { - nodes.push_back(node); + slotEntry.m_details.m_name = slot.GetName(); } + + entry.m_slots.push_back(slotEntry); } } - TranslationFormat translationRoot; - - for (auto& node : nodes) - { - ScriptCanvas::Nodes::Core::AzEventHandler* nodeComponent = node->FindComponent(); - nodeComponent->Init(); - nodeComponent->Configure(); - - const ScriptCanvas::Nodes::Core::AzEventEntry& azEventEntry{ nodeComponent->GetEventEntry() }; - - Entry entry; - entry.m_key = azEventEntry.m_eventName; - entry.m_context = "AZEventHandler"; - entry.m_details.m_name = azEventEntry.m_eventName; + translationRoot.m_entries.push_back(entry); - SplitCamelCase(entry.m_details.m_name); + // delete the node, don't need to keep it beyond this point + delete node; - for (const ScriptCanvas::Slot& slot : nodeComponent->GetSlots()) - { - Slot slotEntry; - if (slot.IsVisible()) - { - slotEntry.m_key = slot.GetName(); + AZStd::string filename = GraphCanvas::TranslationKey::Sanitize(entry.m_key); - if (slot.GetId() == azEventEntry.m_azEventInputSlotId) - { - slotEntry.m_details.m_name = azEventEntry.m_eventName; - } - else - { - slotEntry.m_details.m_name = slot.GetName(); - } + AZStd::string targetFile = AZStd::string::format("AZEvents/%s", filename.c_str()); - entry.m_slots.push_back(slotEntry); - } - } + SaveJSONData(targetFile, translationRoot); - translationRoot.m_entries.push_back(entry); + translationRoot.m_entries.clear(); - // delete the node, don't need to keep it beyond this point - delete node; + return true; + } - AZStd::string filename = GraphCanvas::TranslationKey::Sanitize(entry.m_key); + void TranslationGeneration::TranslateAZEvents() + { + GraphCanvas::TranslationKey translationKey; + AZStd::vector methods; - AZStd::string targetFile = AZStd::string::format("AZEvents/%s", filename.c_str()); + // Methods + for (const auto& behaviorMethod : m_behaviorContext->m_methods) + { + const auto method = behaviorMethod.second; + methods.push_back(method); + } - SaveJSONData(targetFile, translationRoot); + // Methods in classes + for (auto behaviorClass : m_behaviorContext->m_classes) + { + for (auto behaviorMethod : behaviorClass.second->m_methods) + { + const auto method = behaviorMethod.second; + methods.push_back(method); + } + } - translationRoot.m_entries.clear(); + for (auto& method : methods) + { + TranslateSingleAZEvent(method); } } @@ -484,6 +496,7 @@ namespace ScriptCanvasEditorTools { TranslateNode(node); } + } void TranslationGeneration::TranslateNode(const AZ::TypeId& nodeTypeId) @@ -558,8 +571,11 @@ namespace ScriptCanvasEditorTools nodeComponent->Init(); nodeComponent->Configure(); - int inputIndex = 0; - int outputIndex = 0; + int exeInputIndex = 0; + int exeOutputIndex = 0; + + int dataInputIndex = 0; + int dataOutputIndex = 0; const auto& allSlots = nodeComponent->GetAllSlots(); for (const auto& slot : allSlots) @@ -570,16 +586,16 @@ namespace ScriptCanvasEditorTools { if (slot->GetDescriptor().IsInput()) { - slotEntry.m_key = AZStd::string::format("Input_%s", slot->GetName().c_str()); - inputIndex++; + slotEntry.m_key = AZStd::string::format("Input_%s_%d", slot->GetName().c_str(), exeInputIndex); + exeInputIndex++; slotEntry.m_details.m_name = slot->GetName(); slotEntry.m_details.m_tooltip = slot->GetToolTip(); } else if (slot->GetDescriptor().IsOutput()) { - slotEntry.m_key = AZStd::string::format("Output_%s", slot->GetName().c_str()); - outputIndex++; + slotEntry.m_key = AZStd::string::format("Output_%s_%d", slot->GetName().c_str(), exeOutputIndex); + exeOutputIndex++; slotEntry.m_details.m_name = slot->GetName(); slotEntry.m_details.m_tooltip = slot->GetToolTip(); @@ -618,8 +634,8 @@ namespace ScriptCanvasEditorTools if (slot->GetDescriptor().IsInput()) { - slotEntry.m_key = AZStd::string::format("DataInput_%s", slot->GetName().c_str()); - inputIndex++; + slotEntry.m_key = AZStd::string::format("DataInput_%s_%d", slot->GetName().c_str(), dataInputIndex); + dataInputIndex++; AZStd::string argumentKey = slotTypeKey; AZStd::string argumentName = slot->GetName(); @@ -632,8 +648,8 @@ namespace ScriptCanvasEditorTools } else if (slot->GetDescriptor().IsOutput()) { - slotEntry.m_key = AZStd::string::format("DataOutput_%s", slot->GetName().c_str()); - outputIndex++; + slotEntry.m_key = AZStd::string::format("DataOutput_%s_%d", slot->GetName().c_str(), dataOutputIndex); + dataOutputIndex++; AZStd::string resultKey = slotTypeKey; AZStd::string resultName = slot->GetName(); @@ -943,6 +959,7 @@ namespace ScriptCanvasEditorTools AZStd::string methodName = "Get"; methodName.append(cleanName); method.m_key = methodName; + method.m_context = "Getter"; method.m_details.m_name = methodName; method.m_details.m_tooltip = behaviorProperty->m_getter->m_debugDescription ? behaviorProperty->m_getter->m_debugDescription : ""; @@ -953,7 +970,7 @@ namespace ScriptCanvasEditorTools // We know this is a getter, so there will only be one parameter, we will use the method name as a best // guess for the argument name SplitCamelCase(cleanName); - method.m_arguments[1].m_details.m_name = cleanName; + method.m_results[0].m_details.m_name = cleanName; entry->m_methods.push_back(method); @@ -970,6 +987,7 @@ namespace ScriptCanvasEditorTools methodName.append(cleanName); method.m_key = methodName; + method.m_context = "Setter"; method.m_details.m_name = methodName; method.m_details.m_tooltip = behaviorProperty->m_setter->m_debugDescription ? behaviorProperty->m_getter->m_debugDescription : ""; @@ -1345,7 +1363,7 @@ namespace ScriptCanvasEditorTools scratchBuffer.Clear(); - AzQtComponents::ShowFileOnDesktop(endPath.c_str()); + // AzQtComponents::ShowFileOnDesktop(endPath.c_str()); } diff --git a/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.h b/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.h index c6d482e115..a5fec82361 100644 --- a/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.h +++ b/Gems/ScriptCanvas/Code/Tools/TranslationGeneration.h @@ -108,7 +108,7 @@ namespace ScriptCanvasEditorTools void TranslateEBus(const AZ::BehaviorEBus* behaviorEBus); //! Generate the translation data for a specific AZ::Event - AZ::Entity* TranslateAZEvent(const AZ::BehaviorMethod& method); + bool TranslateSingleAZEvent(const AZ::BehaviorMethod* method); //! Generate the translation data for AZ::Events void TranslateAZEvents(); @@ -136,6 +136,9 @@ namespace ScriptCanvasEditorTools private: + //! Returns the entity for a valid AZ::Event + AZ::Entity* GetAZEventNode(const AZ::BehaviorMethod& method); + //! Utility to populate a BehaviorMethod's translation data void TranslateMethod(AZ::BehaviorMethod* behaviorMethod, Method& methodEntry); diff --git a/Gems/ScriptCanvasTesting/Assets/ScriptCanvas/UnitTests/LY_SC_UnitTest_NodeableDelay.scriptcanvas b/Gems/ScriptCanvasTesting/Assets/ScriptCanvas/UnitTests/LY_SC_UnitTest_NodeableDelay.scriptcanvas index a5d22135c7..b9ccf8d42b 100644 --- a/Gems/ScriptCanvasTesting/Assets/ScriptCanvas/UnitTests/LY_SC_UnitTest_NodeableDelay.scriptcanvas +++ b/Gems/ScriptCanvasTesting/Assets/ScriptCanvas/UnitTests/LY_SC_UnitTest_NodeableDelay.scriptcanvas @@ -1,3436 +1,2173 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +{ + "Type": "JsonSerialization", + "Version": 1, + "ClassName": "ScriptCanvasData", + "ClassData": { + "m_scriptCanvas": { + "Id": { + "id": 7992795709152 + }, + "Name": "LY_SC_UnitTest_NodeableDelay", + "Components": { + "Component_[13769957497174641973]": { + "$type": "EditorGraphVariableManagerComponent", + "Id": 13769957497174641973, + "m_variableData": { + "m_nameVariableMap": [ + { + "Key": { + "m_id": "{13A4B0B3-756F-403C-A9E0-CC40DA27EE2C}" + }, + "Value": { + "Datum": { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 3 + }, + "isNullPointer": false, + "$type": "double", + "value": 2.0, + "label": "Number" + }, + "VariableId": { + "m_id": "{13A4B0B3-756F-403C-A9E0-CC40DA27EE2C}" + }, + "VariableName": "Two" + } + }, + { + "Key": { + "m_id": "{A3A19E5B-D7BE-46D4-B876-9832C1D26D0B}" + }, + "Value": { + "Datum": { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 3 + }, + "isNullPointer": false, + "$type": "double", + "value": 1.0, + "label": "Number" + }, + "VariableId": { + "m_id": "{A3A19E5B-D7BE-46D4-B876-9832C1D26D0B}" + }, + "VariableName": "One" + } + }, + { + "Key": { + "m_id": "{AD81163D-DA91-4E66-AE45-ADEDC64CAAF0}" + }, + "Value": { + "Datum": { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 0 + }, + "isNullPointer": false, + "$type": "bool", + "value": true, + "label": "Boolean" + }, + "VariableId": { + "m_id": "{AD81163D-DA91-4E66-AE45-ADEDC64CAAF0}" + }, + "VariableName": "Switch" + } + } + ] + }, + "CopiedVariableRemapping": [ + { + "Key": { + "m_id": "{53E25781-037F-4D34-905C-0151A205EC74}" + }, + "Value": { + "m_id": "{AD81163D-DA91-4E66-AE45-ADEDC64CAAF0}" + } + }, + { + "Key": { + "m_id": "{6ACE5B7C-104E-4B49-8386-8718283621A5}" + }, + "Value": { + "m_id": "{A3A19E5B-D7BE-46D4-B876-9832C1D26D0B}" + } + }, + { + "Key": { + "m_id": "{DA754EF7-9F41-46E5-A603-751C5AECABC1}" + }, + "Value": { + "m_id": "{13A4B0B3-756F-403C-A9E0-CC40DA27EE2C}" + } + } + ] + }, + "Component_[6702463496795695700]": { + "$type": "{4D755CA9-AB92-462C-B24F-0B3376F19967} Graph", + "Id": 6702463496795695700, + "m_graphData": { + "m_nodes": [ + { + "Id": { + "id": 8022860480224 + }, + "Name": "SC Node(GetVariable)", + "Components": { + "Component_[10003864966711545946]": { + "$type": "GetVariableNode", + "Id": 10003864966711545946, + "Slots": [ + { + "id": { + "m_id": "{8650478F-4E17-40B5-B13C-E8C02A524201}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "In", + "toolTip": "When signaled sends the property referenced by this node to a Data Output slot", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{273B6C2E-CBE7-479A-B6C6-4CC6E51636B6}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Out", + "toolTip": "Signaled after the referenced property has been pushed to the Data Output slot", + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{12714A1C-FDCF-4A0C-8127-1B6B17A804CC}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Number", + "DisplayDataType": { + "m_type": 3 + }, + "Descriptor": { + "ConnectionType": 2, + "SlotType": 2 + }, + "DataType": 1 + } + ], + "m_variableId": { + "m_id": "{A3A19E5B-D7BE-46D4-B876-9832C1D26D0B}" + }, + "m_variableDataOutSlotId": { + "m_id": "{12714A1C-FDCF-4A0C-8127-1B6B17A804CC}" + } + } + } + }, + { + "Id": { + "id": 8005680611040 + }, + "Name": "SC-Node(Mark Complete)", + "Components": { + "Component_[1561479662366255748]": { + "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method", + "Id": 1561479662366255748, + "Slots": [ + { + "isVisibile": false, + "id": { + "m_id": "{C1E634E4-B55F-46D0-95EB-B3947D5E99ED}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "EntityID: 0", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{A585F499-C8AE-4B8A-9EB2-46C95DA2BFC8}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Report", + "toolTip": "additional notes for the test report", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{1A41311D-2629-4A55-8469-AB6EA8F8E00F}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "In", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{B0C71D36-F38C-48FC-80B7-58641E38A45F}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Out", + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + } + ], + "Datums": [ + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 1 + }, + "isNullPointer": false, + "$type": "EntityId", + "value": { + "id": 4276206253 + } + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 5 + }, + "isNullPointer": false, + "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string", + "value": "Delay test complete", + "label": "Report" + } + ], + "methodType": 2, + "methodName": "Mark Complete", + "className": "Unit Testing", + "resultSlotIDs": [ + {} + ], + "prettyClassName": "Unit Testing" + } + } + }, + { + "Id": { + "id": 8018565512928 + }, + "Name": "SC-Node(DelayNodeableNode)", + "Components": { + "Component_[18208529655338450188]": { + "$type": "DelayNodeableNode", + "Id": 18208529655338450188, + "Slots": [ + { + "id": { + "m_id": "{F8445BAB-538D-411E-B386-51DA322E636F}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + { + "$type": "DisallowReentrantExecutionContract" + } + ], + "slotName": "Start", + "toolTip": "When signaled, execution is delayed at this node according to the specified properties.", + "DisplayGroup": { + "Value": 2675529103 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{FCE9085E-1FBB-4C65-BF21-A4886EE2B83B}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Start: Time", + "toolTip": "Amount of time to delay, in seconds.", + "DisplayGroup": { + "Value": 2675529103 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{AB0955E5-BC42-4C62-BB8D-C14ECE24AA28}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Start: Loop", + "toolTip": "If true, the delay will restart after triggering the Out slot.", + "DisplayGroup": { + "Value": 2675529103 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{00BF555A-CCC7-45F0-BDA1-7FCA587F5DF6}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Start: Hold", + "toolTip": "Amount of time to wait before restarting, in seconds.", + "DisplayGroup": { + "Value": 2675529103 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{6C92F041-AD12-4EDB-BD7D-2A1B126A0AE1}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "On Start", + "toolTip": "When signaled, execution is delayed at this node according to the specified properties.", + "DisplayGroup": { + "Value": 2675529103 + }, + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{C84ED69D-1250-441D-99EC-1FA09EBD4A33}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + { + "$type": "DisallowReentrantExecutionContract" + } + ], + "slotName": "Reset", + "toolTip": "When signaled, execution is delayed at this node according to the specified properties.", + "DisplayGroup": { + "Value": 1352515405 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{24A2AD52-B382-4875-B3F7-45072F3D95DC}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Reset: Time", + "toolTip": "Amount of time to delay, in seconds.", + "DisplayGroup": { + "Value": 1352515405 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{6CCC46D4-1ACA-4ED3-8F41-CE21DBB074BE}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Reset: Loop", + "toolTip": "If true, the delay will restart after triggering the Out slot.", + "DisplayGroup": { + "Value": 1352515405 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{3BA65C96-1800-44A7-9132-E8618EC309CE}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Reset: Hold", + "toolTip": "Amount of time to wait before restarting, in seconds.", + "DisplayGroup": { + "Value": 1352515405 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{7B52E7FE-906E-4E96-9025-DFD220C9A532}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "On Reset", + "toolTip": "When signaled, execution is delayed at this node according to the specified properties.", + "DisplayGroup": { + "Value": 1352515405 + }, + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{7311AE3A-E23F-476D-BCC5-2D6A7B39AD53}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + { + "$type": "DisallowReentrantExecutionContract" + } + ], + "slotName": "Cancel", + "toolTip": "Cancels the current delay.", + "DisplayGroup": { + "Value": 1444332914 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{017884F2-6FB0-4E88-BBE8-FE9277108BD3}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "On Cancel", + "toolTip": "Cancels the current delay.", + "DisplayGroup": { + "Value": 1444332914 + }, + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{6249B81E-1341-41B1-B843-F4658C1EAE31}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Done", + "toolTip": "Signaled when the delay reaches zero.", + "DisplayGroup": { + "Value": 271442091 + }, + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + }, + "IsLatent": true + }, + { + "id": { + "m_id": "{1A0F9D41-14F3-4CF0-8C00-7E2374129768}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Elapsed", + "toolTip": "The amount of time that has elapsed since the delay began.", + "DisplayDataType": { + "m_type": 3 + }, + "DisplayGroup": { + "Value": 271442091 + }, + "Descriptor": { + "ConnectionType": 2, + "SlotType": 2 + }, + "DataType": 1 + } + ], + "Datums": [ + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 3 + }, + "isNullPointer": false, + "$type": "double", + "value": 0.0, + "label": "Start: Time" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 0 + }, + "isNullPointer": false, + "$type": "bool", + "value": false, + "label": "Start: Loop" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 3 + }, + "isNullPointer": false, + "$type": "double", + "value": 0.0, + "label": "Start: Hold" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 3 + }, + "isNullPointer": false, + "$type": "double", + "value": 0.0, + "label": "Reset: Time" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 0 + }, + "isNullPointer": false, + "$type": "bool", + "value": false, + "label": "Reset: Loop" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 3 + }, + "isNullPointer": false, + "$type": "double", + "value": 0.0, + "label": "Reset: Hold" + } + ], + "slotExecutionMap": { + "ins": [ + { + "_slotId": { + "m_id": "{F8445BAB-538D-411E-B386-51DA322E636F}" + }, + "_inputs": [ + { + "_slotId": { + "m_id": "{FCE9085E-1FBB-4C65-BF21-A4886EE2B83B}" + } + }, + { + "_slotId": { + "m_id": "{AB0955E5-BC42-4C62-BB8D-C14ECE24AA28}" + } + }, + { + "_slotId": { + "m_id": "{00BF555A-CCC7-45F0-BDA1-7FCA587F5DF6}" + } + } + ], + "_outs": [ + { + "_slotId": { + "m_id": "{6C92F041-AD12-4EDB-BD7D-2A1B126A0AE1}" + }, + "_name": "On Start", + "_interfaceSourceId": "{33362E36-3930-0000-0000-D138AF020000}" + } + ], + "_interfaceSourceId": "{B86FAF85-CA00-0000-296D-0737FD7F0000}" + }, + { + "_slotId": { + "m_id": "{C84ED69D-1250-441D-99EC-1FA09EBD4A33}" + }, + "_inputs": [ + { + "_slotId": { + "m_id": "{24A2AD52-B382-4875-B3F7-45072F3D95DC}" + } + }, + { + "_slotId": { + "m_id": "{6CCC46D4-1ACA-4ED3-8F41-CE21DBB074BE}" + } + }, + { + "_slotId": { + "m_id": "{3BA65C96-1800-44A7-9132-E8618EC309CE}" + } + } + ], + "_outs": [ + { + "_slotId": { + "m_id": "{7B52E7FE-906E-4E96-9025-DFD220C9A532}" + }, + "_name": "On Reset", + "_interfaceSourceId": "{33362E36-3930-0000-0000-D138AF020000}" + } + ], + "_interfaceSourceId": "{B86FAF85-CA00-0000-296D-0737FD7F0000}" + }, + { + "_slotId": { + "m_id": "{7311AE3A-E23F-476D-BCC5-2D6A7B39AD53}" + }, + "_outs": [ + { + "_slotId": { + "m_id": "{017884F2-6FB0-4E88-BBE8-FE9277108BD3}" + }, + "_name": "On Cancel", + "_interfaceSourceId": "{33362E36-3930-0000-0000-D138AF020000}" + } + ], + "_interfaceSourceId": "{B86FAF85-CA00-0000-296D-0737FD7F0000}" + } + ], + "latents": [ + { + "_slotId": { + "m_id": "{6249B81E-1341-41B1-B843-F4658C1EAE31}" + }, + "_name": "Done", + "_outputs": [ + { + "_slotId": { + "m_id": "{1A0F9D41-14F3-4CF0-8C00-7E2374129768}" + } + } + ], + "_interfaceSourceId": "{B86FAF85-CA00-0000-296D-0737FD7F0000}" + } + ] + } + } + } + }, + { + "Id": { + "id": 8031450414816 + }, + "Name": "SC-Node(Expect Greater Than Equal)", + "Components": { + "Component_[408430974986181037]": { + "$type": "MethodOverloaded", + "Id": 408430974986181037, + "Slots": [ + { + "isVisibile": false, + "id": { + "m_id": "{2EABD0D3-B2DE-4AED-9069-ACC8A92B54DE}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "EntityID: 0", + "DisplayDataType": { + "m_type": 1 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "IsOverload": true, + "id": { + "m_id": "{B9873274-15A8-4642-BCB8-423D302618FD}" + }, + "DynamicTypeOverride": 3, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Candidate", + "toolTip": "left of >=", + "DisplayDataType": { + "m_type": 3 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "IsOverload": true, + "id": { + "m_id": "{DCB3BEE9-00E3-4421-BC84-5B1380607AA5}" + }, + "DynamicTypeOverride": 3, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Reference", + "toolTip": "right of >=", + "DisplayDataType": { + "m_type": 3 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1, + "IsReference": true, + "VariableReference": { + "m_id": "{A3A19E5B-D7BE-46D4-B876-9832C1D26D0B}" + } + }, + { + "id": { + "m_id": "{01E90D0B-05A6-4C3F-9E86-FEC7139E4322}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Report", + "toolTip": "additional notes for the test report", + "DisplayDataType": { + "m_type": 5 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{5BB85516-23AA-4860-8D8E-4E25F83AAF27}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "In", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{21EA60AA-6B22-4623-997C-22363E687A4B}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Out", + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + } + ], + "Datums": [ + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 1 + }, + "isNullPointer": false, + "$type": "EntityId", + "value": { + "id": 4276206253 + }, + "label": "EntityID: 0" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 3 + }, + "isNullPointer": false, + "$type": "double", + "value": 0.0, + "label": "Candidate" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 3 + }, + "isNullPointer": false, + "$type": "double", + "value": 0.0, + "label": "Reference" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 5 + }, + "isNullPointer": false, + "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string", + "value": "Elapsed should be more than 1 after start", + "label": "Report" + } + ], + "methodType": 2, + "methodName": "Expect Greater Than Equal", + "className": "Unit Testing", + "resultSlotIDs": [ + {} + ], + "prettyClassName": "Unit Testing", + "orderedInputSlotIds": [ + { + "m_id": "{2EABD0D3-B2DE-4AED-9069-ACC8A92B54DE}" + }, + { + "m_id": "{B9873274-15A8-4642-BCB8-423D302618FD}" + }, + { + "m_id": "{DCB3BEE9-00E3-4421-BC84-5B1380607AA5}" + }, + { + "m_id": "{01E90D0B-05A6-4C3F-9E86-FEC7139E4322}" + } + ] + } + } + }, + { + "Id": { + "id": 8009975578336 + }, + "Name": "SC-Node(Gate)", + "Components": { + "Component_[5398707513550245442]": { + "$type": "Gate", + "Id": 5398707513550245442, + "Slots": [ + { + "id": { + "m_id": "{BF03B031-321A-4DD1-A00A-ECFF9E03518F}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "In", + "toolTip": "Input signal", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{B1583C42-4290-4016-B123-A8F3CBFDE3D1}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "True", + "toolTip": "Signaled if the condition provided evaluates to true.", + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{BD9FC7E9-30C7-4155-AB5A-A09819A44FD5}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "False", + "toolTip": "Signaled if the condition provided evaluates to false.", + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{4B14B289-18EA-4BFA-B35C-D307A6F64B37}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Condition", + "toolTip": "If true the node will signal the Output and proceed execution", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1, + "IsReference": true, + "VariableReference": { + "m_id": "{AD81163D-DA91-4E66-AE45-ADEDC64CAAF0}" + } + } + ], + "Datums": [ + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 0 + }, + "isNullPointer": false, + "$type": "bool", + "value": false, + "label": "Condition" + } + ] + } + } + }, + { + "Id": { + "id": 8001385643744 + }, + "Name": "SC-Node(Expect Greater Than Equal)", + "Components": { + "Component_[7351797194887752307]": { + "$type": "MethodOverloaded", + "Id": 7351797194887752307, + "Slots": [ + { + "isVisibile": false, + "id": { + "m_id": "{34C9C07C-C858-4F59-A249-AAC3C29B587E}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "EntityID: 0", + "DisplayDataType": { + "m_type": 1 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "IsOverload": true, + "id": { + "m_id": "{38A5CD98-69C7-4DA5-BF7D-C562F7458B07}" + }, + "DynamicTypeOverride": 3, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Candidate", + "toolTip": "left of >=", + "DisplayDataType": { + "m_type": 3 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "IsOverload": true, + "id": { + "m_id": "{3B50E608-A44A-4DBC-A34C-C2ECA322DAD6}" + }, + "DynamicTypeOverride": 3, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Reference", + "toolTip": "right of >=", + "DisplayDataType": { + "m_type": 3 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1, + "IsReference": true, + "VariableReference": { + "m_id": "{13A4B0B3-756F-403C-A9E0-CC40DA27EE2C}" + } + }, + { + "id": { + "m_id": "{628B2C9B-841D-4E63-ABBB-2AA8601B5C7A}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Report", + "toolTip": "additional notes for the test report", + "DisplayDataType": { + "m_type": 5 + }, + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{95EA03BD-BE8E-4DC1-8291-D8127AD75A37}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "In", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{9617463C-E5F5-4292-99C3-C7C92891246F}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Out", + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + } + ], + "Datums": [ + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 1 + }, + "isNullPointer": false, + "$type": "EntityId", + "value": { + "id": 4276206253 + }, + "label": "EntityID: 0" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 3 + }, + "isNullPointer": false, + "$type": "double", + "value": 0.0, + "label": "Candidate" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 3 + }, + "isNullPointer": false, + "$type": "double", + "value": 0.0, + "label": "Reference" + }, + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 5 + }, + "isNullPointer": false, + "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string", + "value": "Elapsed should be more than 2 after reset", + "label": "Report" + } + ], + "methodType": 2, + "methodName": "Expect Greater Than Equal", + "className": "Unit Testing", + "resultSlotIDs": [ + {} + ], + "prettyClassName": "Unit Testing", + "orderedInputSlotIds": [ + { + "m_id": "{34C9C07C-C858-4F59-A249-AAC3C29B587E}" + }, + { + "m_id": "{38A5CD98-69C7-4DA5-BF7D-C562F7458B07}" + }, + { + "m_id": "{3B50E608-A44A-4DBC-A34C-C2ECA322DAD6}" + }, + { + "m_id": "{628B2C9B-841D-4E63-ABBB-2AA8601B5C7A}" + } + ] + } + } + }, + { + "Id": { + "id": 7997090676448 + }, + "Name": "SC Node(SetVariable)", + "Components": { + "Component_[8054056332975461684]": { + "$type": "SetVariableNode", + "Id": 8054056332975461684, + "Slots": [ + { + "id": { + "m_id": "{D29241A9-9B27-42C0-9A30-A75AA4AA3F0F}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "In", + "toolTip": "When signaled sends the variable referenced by this node to a Data Output slot", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{49682E58-579D-474A-A3E0-52E7DDDA4A7C}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Out", + "toolTip": "Signaled after the referenced variable has been pushed to the Data Output slot", + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{CCE01CC2-4E14-4F15-AC5A-219A4509CE94}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + }, + null + ], + "slotName": "Boolean", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 2 + }, + "DataType": 1 + }, + { + "id": { + "m_id": "{CC6D2BF3-87BC-4B14-A27B-82D5C0E3DF2D}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Boolean", + "DisplayDataType": { + "m_type": 0 + }, + "Descriptor": { + "ConnectionType": 2, + "SlotType": 2 + }, + "DataType": 1 + } + ], + "Datums": [ + { + "isOverloadedStorage": false, + "scriptCanvasType": { + "m_type": 0 + }, + "isNullPointer": false, + "$type": "bool", + "value": false, + "label": "Boolean" + } + ], + "m_variableId": { + "m_id": "{AD81163D-DA91-4E66-AE45-ADEDC64CAAF0}" + }, + "m_variableDataInSlotId": { + "m_id": "{CCE01CC2-4E14-4F15-AC5A-219A4509CE94}" + }, + "m_variableDataOutSlotId": { + "m_id": "{CC6D2BF3-87BC-4B14-A27B-82D5C0E3DF2D}" + } + } + } + }, + { + "Id": { + "id": 8027155447520 + }, + "Name": "SC Node(GetVariable)", + "Components": { + "Component_[8637439810651459247]": { + "$type": "GetVariableNode", + "Id": 8637439810651459247, + "Slots": [ + { + "id": { + "m_id": "{C8560B11-DD0D-4A18-98A1-228FB7911DD1}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "In", + "toolTip": "When signaled sends the property referenced by this node to a Data Output slot", + "Descriptor": { + "ConnectionType": 1, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{AB6805D8-5CAA-446B-8C36-CB8A2C30347D}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Out", + "toolTip": "Signaled after the referenced property has been pushed to the Data Output slot", + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + }, + { + "id": { + "m_id": "{D9BC724B-4BDF-4F62-AF73-238559A85E94}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Number", + "DisplayDataType": { + "m_type": 3 + }, + "Descriptor": { + "ConnectionType": 2, + "SlotType": 2 + }, + "DataType": 1 + } + ], + "m_variableId": { + "m_id": "{13A4B0B3-756F-403C-A9E0-CC40DA27EE2C}" + }, + "m_variableDataOutSlotId": { + "m_id": "{D9BC724B-4BDF-4F62-AF73-238559A85E94}" + } + } + } + }, + { + "Id": { + "id": 8014270545632 + }, + "Name": "SC-Node(Start)", + "Components": { + "Component_[9134219784961524494]": { + "$type": "Start", + "Id": 9134219784961524494, + "Slots": [ + { + "id": { + "m_id": "{11EB8AA6-BB4E-480D-93DA-85D5969F4ECB}" + }, + "contracts": [ + { + "$type": "SlotTypeContract" + } + ], + "slotName": "Out", + "toolTip": "Signaled when the entity that owns this graph is fully activated.", + "Descriptor": { + "ConnectionType": 2, + "SlotType": 1 + } + } + ] + } + } + } + ], + "m_connections": [ + { + "Id": { + "id": 8035745382112 + }, + "Name": "srcEndpoint=(If: True), destEndpoint=(Expect Greater Than Equal: In)", + "Components": { + "Component_[5647411303754655744]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 5647411303754655744, + "sourceEndpoint": { + "nodeId": { + "id": 8009975578336 + }, + "slotId": { + "m_id": "{B1583C42-4290-4016-B123-A8F3CBFDE3D1}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8031450414816 + }, + "slotId": { + "m_id": "{5BB85516-23AA-4860-8D8E-4E25F83AAF27}" + } + } + } + } + }, + { + "Id": { + "id": 8040040349408 + }, + "Name": "srcEndpoint=(Expect Greater Than Equal: Out), destEndpoint=(Set Variable: In)", + "Components": { + "Component_[15155445988139558066]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 15155445988139558066, + "sourceEndpoint": { + "nodeId": { + "id": 8031450414816 + }, + "slotId": { + "m_id": "{21EA60AA-6B22-4623-997C-22363E687A4B}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 7997090676448 + }, + "slotId": { + "m_id": "{D29241A9-9B27-42C0-9A30-A75AA4AA3F0F}" + } + } + } + } + }, + { + "Id": { + "id": 8044335316704 + }, + "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(Get Variable: In)", + "Components": { + "Component_[2459001120525165713]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 2459001120525165713, + "sourceEndpoint": { + "nodeId": { + "id": 8014270545632 + }, + "slotId": { + "m_id": "{11EB8AA6-BB4E-480D-93DA-85D5969F4ECB}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8022860480224 + }, + "slotId": { + "m_id": "{8650478F-4E17-40B5-B13C-E8C02A524201}" + } + } + } + } + }, + { + "Id": { + "id": 8048630284000 + }, + "Name": "srcEndpoint=(If: False), destEndpoint=(Expect Greater Than Equal: In)", + "Components": { + "Component_[10745739214458161764]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 10745739214458161764, + "sourceEndpoint": { + "nodeId": { + "id": 8009975578336 + }, + "slotId": { + "m_id": "{BD9FC7E9-30C7-4155-AB5A-A09819A44FD5}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8001385643744 + }, + "slotId": { + "m_id": "{95EA03BD-BE8E-4DC1-8291-D8127AD75A37}" + } + } + } + } + }, + { + "Id": { + "id": 8052925251296 + }, + "Name": "srcEndpoint=(Set Variable: Out), destEndpoint=(Get Variable: In)", + "Components": { + "Component_[7371956956721983493]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 7371956956721983493, + "sourceEndpoint": { + "nodeId": { + "id": 7997090676448 + }, + "slotId": { + "m_id": "{49682E58-579D-474A-A3E0-52E7DDDA4A7C}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8027155447520 + }, + "slotId": { + "m_id": "{C8560B11-DD0D-4A18-98A1-228FB7911DD1}" + } + } + } + } + }, + { + "Id": { + "id": 8057220218592 + }, + "Name": "srcEndpoint=(Expect Greater Than Equal: Out), destEndpoint=(Mark Complete: In)", + "Components": { + "Component_[14854123337262345427]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 14854123337262345427, + "sourceEndpoint": { + "nodeId": { + "id": 8001385643744 + }, + "slotId": { + "m_id": "{9617463C-E5F5-4292-99C3-C7C92891246F}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8005680611040 + }, + "slotId": { + "m_id": "{1A41311D-2629-4A55-8469-AB6EA8F8E00F}" + } + } + } + } + }, + { + "Id": { + "id": 8061515185888 + }, + "Name": "srcEndpoint=(Get Variable: Out), destEndpoint=(Delay: Start)", + "Components": { + "Component_[18301940095446866928]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 18301940095446866928, + "sourceEndpoint": { + "nodeId": { + "id": 8022860480224 + }, + "slotId": { + "m_id": "{273B6C2E-CBE7-479A-B6C6-4CC6E51636B6}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8018565512928 + }, + "slotId": { + "m_id": "{F8445BAB-538D-411E-B386-51DA322E636F}" + } + } + } + } + }, + { + "Id": { + "id": 8065810153184 + }, + "Name": "srcEndpoint=(Get Variable: Out), destEndpoint=(Delay: Reset)", + "Components": { + "Component_[14359507626343113257]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 14359507626343113257, + "sourceEndpoint": { + "nodeId": { + "id": 8027155447520 + }, + "slotId": { + "m_id": "{AB6805D8-5CAA-446B-8C36-CB8A2C30347D}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8018565512928 + }, + "slotId": { + "m_id": "{C84ED69D-1250-441D-99EC-1FA09EBD4A33}" + } + } + } + } + }, + { + "Id": { + "id": 8070105120480 + }, + "Name": "srcEndpoint=(Get Variable: Number), destEndpoint=(Delay: Start: Time)", + "Components": { + "Component_[6761547457125237874]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 6761547457125237874, + "sourceEndpoint": { + "nodeId": { + "id": 8022860480224 + }, + "slotId": { + "m_id": "{12714A1C-FDCF-4A0C-8127-1B6B17A804CC}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8018565512928 + }, + "slotId": { + "m_id": "{FCE9085E-1FBB-4C65-BF21-A4886EE2B83B}" + } + } + } + } + }, + { + "Id": { + "id": 8074400087776 + }, + "Name": "srcEndpoint=(Get Variable: Number), destEndpoint=(Delay: Reset: Time)", + "Components": { + "Component_[8979388687790412978]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 8979388687790412978, + "sourceEndpoint": { + "nodeId": { + "id": 8027155447520 + }, + "slotId": { + "m_id": "{D9BC724B-4BDF-4F62-AF73-238559A85E94}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8018565512928 + }, + "slotId": { + "m_id": "{24A2AD52-B382-4875-B3F7-45072F3D95DC}" + } + } + } + } + }, + { + "Id": { + "id": 8078695055072 + }, + "Name": "srcEndpoint=(Delay: Done), destEndpoint=(If: In)", + "Components": { + "Component_[14625041809622283132]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 14625041809622283132, + "sourceEndpoint": { + "nodeId": { + "id": 8018565512928 + }, + "slotId": { + "m_id": "{6249B81E-1341-41B1-B843-F4658C1EAE31}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8009975578336 + }, + "slotId": { + "m_id": "{BF03B031-321A-4DD1-A00A-ECFF9E03518F}" + } + } + } + } + }, + { + "Id": { + "id": 8082990022368 + }, + "Name": "srcEndpoint=(Delay: Elapsed), destEndpoint=(Expect Greater Than Equal: Candidate)", + "Components": { + "Component_[12771954348451341510]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 12771954348451341510, + "sourceEndpoint": { + "nodeId": { + "id": 8018565512928 + }, + "slotId": { + "m_id": "{1A0F9D41-14F3-4CF0-8C00-7E2374129768}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8001385643744 + }, + "slotId": { + "m_id": "{38A5CD98-69C7-4DA5-BF7D-C562F7458B07}" + } + } + } + } + }, + { + "Id": { + "id": 8087284989664 + }, + "Name": "srcEndpoint=(Delay: Elapsed), destEndpoint=(Expect Greater Than Equal: Candidate)", + "Components": { + "Component_[1854855865676689941]": { + "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", + "Id": 1854855865676689941, + "sourceEndpoint": { + "nodeId": { + "id": 8018565512928 + }, + "slotId": { + "m_id": "{1A0F9D41-14F3-4CF0-8C00-7E2374129768}" + } + }, + "targetEndpoint": { + "nodeId": { + "id": 8031450414816 + }, + "slotId": { + "m_id": "{B9873274-15A8-4642-BCB8-423D302618FD}" + } + } + } + } + } + ] + }, + "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}", + "versionData": { + "_grammarVersion": 1, + "_runtimeVersion": 1, + "_fileVersion": 1 + }, + "GraphCanvasData": [ + { + "Key": { + "id": 7992795709152 + }, + "Value": { + "ComponentData": { + "{5F84B500-8C45-40D1-8EFC-A5306B241444}": { + "$type": "SceneComponentSaveData", + "ViewParams": { + "Scale": 0.8886388, + "AnchorX": -310.5873718261719, + "AnchorY": 346.5975036621094 + } + } + } + } + }, + { + "Key": { + "id": 7997090676448 + }, + "Value": { + "ComponentData": { + "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { + "$type": "NodeSaveData" + }, + "{328FF15C-C302-458F-A43D-E1794DE0904E}": { + "$type": "GeneralNodeTitleComponentSaveData", + "PaletteOverride": "SetVariableNodeTitlePalette" + }, + "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { + "$type": "GeometrySaveData", + "Position": [ + 1280.0, + 380.0 + ] + }, + "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { + "$type": "StylingComponentSaveData", + "SubStyle": ".setVariable" + }, + "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { + "$type": "PersistentIdComponentSaveData", + "PersistentId": "{404AE5EA-7F73-4B52-9B4C-DA5712B7E2E2}" + } + } + } + }, + { + "Key": { + "id": 8001385643744 + }, + "Value": { + "ComponentData": { + "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { + "$type": "NodeSaveData" + }, + "{328FF15C-C302-458F-A43D-E1794DE0904E}": { + "$type": "GeneralNodeTitleComponentSaveData", + "PaletteOverride": "MethodNodeTitlePalette" + }, + "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { + "$type": "GeometrySaveData", + "Position": [ + 840.0, + 880.0 + ] + }, + "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { + "$type": "StylingComponentSaveData", + "SubStyle": ".method" + }, + "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { + "$type": "PersistentIdComponentSaveData", + "PersistentId": "{153AFB90-173C-4090-B709-DA73D04A8F62}" + } + } + } + }, + { + "Key": { + "id": 8005680611040 + }, + "Value": { + "ComponentData": { + "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { + "$type": "NodeSaveData" + }, + "{328FF15C-C302-458F-A43D-E1794DE0904E}": { + "$type": "GeneralNodeTitleComponentSaveData", + "PaletteOverride": "MethodNodeTitlePalette" + }, + "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { + "$type": "GeometrySaveData", + "Position": [ + 1280.0, + 880.0 + ] + }, + "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { + "$type": "StylingComponentSaveData", + "SubStyle": ".method" + }, + "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { + "$type": "PersistentIdComponentSaveData", + "PersistentId": "{9ED03175-1B9D-4E72-A6A5-C089ABF0FF81}" + } + } + } + }, + { + "Key": { + "id": 8009975578336 + }, + "Value": { + "ComponentData": { + "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { + "$type": "NodeSaveData" + }, + "{328FF15C-C302-458F-A43D-E1794DE0904E}": { + "$type": "GeneralNodeTitleComponentSaveData", + "PaletteOverride": "LogicNodeTitlePalette" + }, + "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { + "$type": "GeometrySaveData", + "Position": [ + 460.0, + 640.0 + ] + }, + "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { + "$type": "StylingComponentSaveData" + }, + "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { + "$type": "PersistentIdComponentSaveData", + "PersistentId": "{BCF7E6DA-F30B-4AB8-96A3-B7948455532C}" + } + } + } + }, + { + "Key": { + "id": 8014270545632 + }, + "Value": { + "ComponentData": { + "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { + "$type": "NodeSaveData" + }, + "{328FF15C-C302-458F-A43D-E1794DE0904E}": { + "$type": "GeneralNodeTitleComponentSaveData", + "PaletteOverride": "TimeNodeTitlePalette" + }, + "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { + "$type": "GeometrySaveData", + "Position": [ + -280.0, + 480.0 + ] + }, + "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { + "$type": "StylingComponentSaveData" + }, + "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { + "$type": "PersistentIdComponentSaveData", + "PersistentId": "{6F87177E-AF30-42E2-BD5F-1DCF623B7235}" + } + } + } + }, + { + "Key": { + "id": 8018565512928 + }, + "Value": { + "ComponentData": { + "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { + "$type": "NodeSaveData" + }, + "{328FF15C-C302-458F-A43D-E1794DE0904E}": { + "$type": "GeneralNodeTitleComponentSaveData", + "PaletteOverride": "TimeNodeTitlePalette" + }, + "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { + "$type": "GeometrySaveData", + "Position": [ + 100.0, + 500.0 + ] + }, + "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { + "$type": "StylingComponentSaveData" + }, + "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { + "$type": "PersistentIdComponentSaveData", + "PersistentId": "{C812E74B-E34B-40D5-B0AE-5A1D21FEB7D4}" + } + } + } + }, + { + "Key": { + "id": 8022860480224 + }, + "Value": { + "ComponentData": { + "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { + "$type": "NodeSaveData" + }, + "{328FF15C-C302-458F-A43D-E1794DE0904E}": { + "$type": "GeneralNodeTitleComponentSaveData", + "PaletteOverride": "GetVariableNodeTitlePalette" + }, + "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { + "$type": "GeometrySaveData", + "Position": [ + -80.0, + 480.0 + ] + }, + "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { + "$type": "StylingComponentSaveData", + "SubStyle": ".getVariable" + }, + "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { + "$type": "PersistentIdComponentSaveData", + "PersistentId": "{3BCB878A-9CB7-4370-9903-52FC5505138C}" + } + } + } + }, + { + "Key": { + "id": 8027155447520 + }, + "Value": { + "ComponentData": { + "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { + "$type": "NodeSaveData" + }, + "{328FF15C-C302-458F-A43D-E1794DE0904E}": { + "$type": "GeneralNodeTitleComponentSaveData", + "PaletteOverride": "GetVariableNodeTitlePalette" + }, + "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { + "$type": "GeometrySaveData", + "Position": [ + -100.0, + 640.0 + ] + }, + "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { + "$type": "StylingComponentSaveData", + "SubStyle": ".getVariable" + }, + "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { + "$type": "PersistentIdComponentSaveData", + "PersistentId": "{6FC2D332-3653-4AD6-BB34-098CC4BD9F32}" + } + } + } + }, + { + "Key": { + "id": 8031450414816 + }, + "Value": { + "ComponentData": { + "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { + "$type": "NodeSaveData" + }, + "{328FF15C-C302-458F-A43D-E1794DE0904E}": { + "$type": "GeneralNodeTitleComponentSaveData", + "PaletteOverride": "MethodNodeTitlePalette" + }, + "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { + "$type": "GeometrySaveData", + "Position": [ + 820.0, + 380.0 + ] + }, + "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { + "$type": "StylingComponentSaveData", + "SubStyle": ".method" + }, + "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { + "$type": "PersistentIdComponentSaveData", + "PersistentId": "{6898E2CC-0226-4598-A801-BE4527FA0010}" + } + } + } + } + ], + "StatisticsHelper": { + "InstanceCounter": [ + { + "Key": 4199610336680704683, + "Value": 1 + }, + { + "Key": 4693003892664749777, + "Value": 1 + }, + { + "Key": 5235960430898951644, + "Value": 1 + }, + { + "Key": 5789802440471445818, + "Value": 2 + }, + { + "Key": 8348694667250199036, + "Value": 1 + }, + { + "Key": 8452971738487658154, + "Value": 1 + }, + { + "Key": 10204019744198319120, + "Value": 1 + }, + { + "Key": 16802392214997617505, + "Value": 1 + } + ] + } + } + } + } + } +} \ No newline at end of file diff --git a/Gems/Terrain/Code/Source/Components/TerrainHeightGradientListComponent.cpp b/Gems/Terrain/Code/Source/Components/TerrainHeightGradientListComponent.cpp index e9c9874af5..108ae70632 100644 --- a/Gems/Terrain/Code/Source/Components/TerrainHeightGradientListComponent.cpp +++ b/Gems/Terrain/Code/Source/Components/TerrainHeightGradientListComponent.cpp @@ -48,6 +48,15 @@ namespace Terrain ->Attribute(AZ::Edit::Attributes::RequiredService, AZ_CRC_CE("GradientService")) ; } + + if (auto behaviorContext = azrtti_cast(context)) + { + behaviorContext->Class() + ->Attribute(AZ::Script::Attributes::Category, "Terrain") + ->Constructor() + ->Property("gradientEntities", BehaviorValueProperty(&TerrainHeightGradientListConfig::m_gradientEntities)) + ; + } } } diff --git a/Gems/Terrain/Code/Source/Components/TerrainHeightGradientListComponent.h b/Gems/Terrain/Code/Source/Components/TerrainHeightGradientListComponent.h index b5b1a44192..12a51b2ac1 100644 --- a/Gems/Terrain/Code/Source/Components/TerrainHeightGradientListComponent.h +++ b/Gems/Terrain/Code/Source/Components/TerrainHeightGradientListComponent.h @@ -44,6 +44,7 @@ namespace Terrain AZStd::vector m_gradientEntities; }; + static const AZ::Uuid TerrainHeightGradientListComponentTypeId = "{1BB3BA6C-6D4A-4636-B542-F23ECBA8F2AB}"; class TerrainHeightGradientListComponent : public AZ::Component @@ -54,7 +55,7 @@ namespace Terrain public: template friend class LmbrCentral::EditorWrappedComponentBase; - AZ_COMPONENT(TerrainHeightGradientListComponent, "{1BB3BA6C-6D4A-4636-B542-F23ECBA8F2AB}"); + AZ_COMPONENT(TerrainHeightGradientListComponent, TerrainHeightGradientListComponentTypeId); static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& services); static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& services); static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& services); @@ -64,6 +65,8 @@ namespace Terrain TerrainHeightGradientListComponent() = default; ~TerrainHeightGradientListComponent() = default; + ////////////////////////////////////////////////////////////////////////// + // TerrainAreaHeightRequestBus void GetHeight(const AZ::Vector3& inPosition, AZ::Vector3& outPosition, bool& terrainExists) override; ////////////////////////////////////////////////////////////////////////// diff --git a/Gems/Terrain/Code/Source/Components/TerrainLayerSpawnerComponent.cpp b/Gems/Terrain/Code/Source/Components/TerrainLayerSpawnerComponent.cpp index c3803c25e8..83259415bd 100644 --- a/Gems/Terrain/Code/Source/Components/TerrainLayerSpawnerComponent.cpp +++ b/Gems/Terrain/Code/Source/Components/TerrainLayerSpawnerComponent.cpp @@ -54,6 +54,17 @@ namespace Terrain ->DataElement(AZ::Edit::UIHandlers::Default, &TerrainLayerSpawnerConfig::m_useGroundPlane, "Use Ground Plane", "Determines whether or not to provide a default ground plane") ; } + + if (auto behaviorContext = azrtti_cast(context)) + { + behaviorContext->Class() + ->Attribute(AZ::Script::Attributes::Category, "Terrain") + ->Constructor() + ->Property("layer", BehaviorValueProperty(&TerrainLayerSpawnerConfig::m_layer)) + ->Property("priority", BehaviorValueProperty(&TerrainLayerSpawnerConfig::m_priority)) + ->Property("useGroundPlane", BehaviorValueProperty(&TerrainLayerSpawnerConfig::m_useGroundPlane)) + ->Method("GetSelectableLayers", &TerrainLayerSpawnerConfig::GetSelectableLayers); + } } } diff --git a/Gems/Terrain/Code/Source/Components/TerrainLayerSpawnerComponent.h b/Gems/Terrain/Code/Source/Components/TerrainLayerSpawnerComponent.h index 683f9e9f06..3ce73b7a5a 100644 --- a/Gems/Terrain/Code/Source/Components/TerrainLayerSpawnerComponent.h +++ b/Gems/Terrain/Code/Source/Components/TerrainLayerSpawnerComponent.h @@ -52,6 +52,7 @@ namespace Terrain bool m_useGroundPlane = true; }; + static const AZ::Uuid TerrainLayerSpawnerComponentTypeId = "{3848605F-A4EA-478C-B710-84AB8DCA9EC5}"; class TerrainLayerSpawnerComponent : public AZ::Component @@ -61,7 +62,7 @@ namespace Terrain public: template friend class LmbrCentral::EditorWrappedComponentBase; - AZ_COMPONENT(TerrainLayerSpawnerComponent, "{3848605F-A4EA-478C-B710-84AB8DCA9EC5}"); + AZ_COMPONENT(TerrainLayerSpawnerComponent, TerrainLayerSpawnerComponentTypeId); static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& services); static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& services); static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& services); diff --git a/Gems/VirtualGamepad/Code/CMakeLists.txt b/Gems/VirtualGamepad/Code/CMakeLists.txt index f493190071..d32834633f 100644 --- a/Gems/VirtualGamepad/Code/CMakeLists.txt +++ b/Gems/VirtualGamepad/Code/CMakeLists.txt @@ -21,6 +21,7 @@ ly_add_target( AZ::AzCore AZ::AzFramework Legacy::CryCommon + Gem::LyShine ) ly_add_target( diff --git a/Gems/WhiteBox/Code/Tests/WhiteBoxComponentTest.cpp b/Gems/WhiteBox/Code/Tests/WhiteBoxComponentTest.cpp index 0e93f38195..ce592ee2ed 100644 --- a/Gems/WhiteBox/Code/Tests/WhiteBoxComponentTest.cpp +++ b/Gems/WhiteBox/Code/Tests/WhiteBoxComponentTest.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -38,10 +39,6 @@ namespace UnitTest static const AzToolsFramework::ManipulatorManagerId TestManipulatorManagerId = AzToolsFramework::ManipulatorManagerId(AZ::Crc32("TestManipulatorManagerId")); - class NullDebugDisplayRequests : public AzFramework::DebugDisplayRequests - { - }; - class WhiteBoxManipulatorFixture : public WhiteBoxTestFixture { public: @@ -67,7 +64,8 @@ namespace UnitTest // create the direct call manipulator viewport interaction and an immediate mode dispatcher AZStd::unique_ptr viewportManipulatorInteraction = - AZStd::make_unique(); + AZStd::make_unique( + AZStd::make_shared()); AZStd::unique_ptr actionDispatcher = AZStd::make_unique( *viewportManipulatorInteraction); diff --git a/Registry/AssetProcessorPlatformConfig.setreg b/Registry/AssetProcessorPlatformConfig.setreg index cf793a9802..30e19762ac 100644 --- a/Registry/AssetProcessorPlatformConfig.setreg +++ b/Registry/AssetProcessorPlatformConfig.setreg @@ -457,6 +457,7 @@ "RC physmaterial": { "glob": "*.physmaterial", "params": "copy", + "critical": "true", "productAssetType": "{9E366D8C-33BB-4825-9A1F-FA3ADBE11D0F}" }, "RC ocm": { diff --git a/Tools/LyTestTools/ly_test_tools/_internal/managers/abstract_resource_locator.py b/Tools/LyTestTools/ly_test_tools/_internal/managers/abstract_resource_locator.py index d11980658d..4514e5d812 100755 --- a/Tools/LyTestTools/ly_test_tools/_internal/managers/abstract_resource_locator.py +++ b/Tools/LyTestTools/ly_test_tools/_internal/managers/abstract_resource_locator.py @@ -384,3 +384,14 @@ class AbstractResourceLocator(object): "editor_log() is not implemented on the base AbstractResourceLocator() class. " "It must be defined by the inheriting class - " "i.e. _WindowsResourceLocator(AbstractResourceLocator).editor_log()") + + @abstractmethod + def crash_log(self): + """ + Return path to the project's crash log dir using the builds project and platform + :return: path to error.log/crash.log + """ + raise NotImplementedError( + "crash_log() is not implemented on the base AbstractResourceLocator() class. " + "It must be defined by the inheriting class - " + "i.e. _WindowsResourceLocator(AbstractResourceLocator).crash_log()") diff --git a/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/linux.py b/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/linux.py index 151a4a3e2b..ec88dce7c3 100644 --- a/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/linux.py +++ b/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/linux.py @@ -53,6 +53,12 @@ class _LinuxResourceManager(AbstractResourceLocator): """ return os.path.join(self.project_log(), "Editor.log") + def crash_log(self): + """ + Return path to the project's crash log dir using the builds project and platform + :return: path to Crash.log + """ + return os.path.join(self.project_log(), "crash.log") class LinuxWorkspaceManager(AbstractWorkspaceManager): """ diff --git a/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/mac.py b/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/mac.py index 4a187b188c..673bfa5050 100755 --- a/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/mac.py +++ b/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/mac.py @@ -62,6 +62,12 @@ class _MacResourceLocator(AbstractResourceLocator): """ return os.path.join(self.project_log(), "Editor.log") + def crash_log(self): + """ + Return path to the project's crash log dir using the builds project and platform + :return: path to crash.log + """ + return os.path.join(self.project_log(), "crash.log") class MacWorkspaceManager(AbstractWorkspaceManager): """ diff --git a/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/windows.py b/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/windows.py index 29289166d4..b31cc6bb5c 100755 --- a/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/windows.py +++ b/Tools/LyTestTools/ly_test_tools/_internal/managers/platforms/windows.py @@ -68,6 +68,12 @@ class _WindowsResourceLocator(AbstractResourceLocator): """ return os.path.join(self.project_log(), "Editor.log") + def crash_log(self): + """ + Return path to the project's crash log dir using the builds project and platform + :return: path to Error.log + """ + return os.path.join(self.project_log(), "error.log") class WindowsWorkspaceManager(AbstractWorkspaceManager): """ diff --git a/Tools/LyTestTools/ly_test_tools/environment/file_system.py b/Tools/LyTestTools/ly_test_tools/environment/file_system.py index c67ecc5b23..e8fb1d13cf 100755 --- a/Tools/LyTestTools/ly_test_tools/environment/file_system.py +++ b/Tools/LyTestTools/ly_test_tools/environment/file_system.py @@ -293,61 +293,75 @@ def delete(file_list, del_files, del_dirs): return True -def create_backup(source, backup_dir): +def create_backup(source, backup_dir, backup_name=None): """ Creates a backup of a single source file by creating a copy of it with the same name + '.bak' in backup_dir e.g.: foo.txt is stored as backup_dir/foo.txt.bak + If backup_name is provided, it will create a copy of the source file named "backup_name + .bak" instead. :param source: Full path to file to backup :param backup_dir: Path to the directory to store backup. + :param backup_name: [Optional] Name of the backed up file to use instead or the source name. """ if not backup_dir or not os.path.isdir(backup_dir): logger.error(f'Cannot create backup due to invalid backup directory {backup_dir}') - return + return False if not os.path.exists(source): logger.warning(f'Source file {source} does not exist, aborting backup creation.') - return + return False - source_filename = os.path.basename(source) - dest = os.path.join(backup_dir, f'{source_filename}.bak') + dest = None + if backup_name is None: + source_filename = os.path.basename(source) + dest = os.path.join(backup_dir, f'{source_filename}.bak') + else: + dest = os.path.join(backup_dir, f'{backup_name}.bak') logger.info(f'Saving backup of {source} in {dest}') if os.path.exists(dest): logger.warning(f'Backup file already exists at {dest}, it will be overwritten.') try: - shutil.copy(source, dest) + shutil.copy2(source, dest) except Exception: # intentionally broad logger.warning('Could not create backup, exception occurred while copying.', exc_info=True) + return False + return True -def restore_backup(original_file, backup_dir): +def restore_backup(original_file, backup_dir, backup_name=None): """ Restores a backup file to its original location. Works with a single file only. :param original_file: Full path to file to overwrite. :param backup_dir: Path to the directory storing the backup. + :param backup_name: [Optional] Provide if the backup file name is different from source. eg backup file = myFile_1.txt.bak original file = myfile.txt """ if not backup_dir or not os.path.isdir(backup_dir): logger.error(f'Cannot restore backup due to invalid or nonexistent directory {backup_dir}.') - return + return False - source_filename = os.path.basename(original_file) - backup = os.path.join(backup_dir, f'{source_filename}.bak') + backup = None + if backup_name is None: + source_filename = os.path.basename(original_file) + backup = os.path.join(backup_dir, f'{source_filename}.bak') + else: + backup = os.path.join(backup_dir, f'{backup_name}.bak') if not os.path.exists(backup): logger.warning(f'Backup file {backup} does not exist, aborting backup restoration.') - return + return False logger.info(f'Restoring backup of {original_file} from {backup}') try: - shutil.copy(backup, original_file) + shutil.copy2(backup, original_file) except Exception: # intentionally broad logger.warning('Could not restore backup, exception occurred while copying.', exc_info=True) - + return False + return True def delete_oldest(path_glob, keep_num, del_files=True, del_dirs=False): """ Delete oldest builds, keeping a specific number """ diff --git a/Tools/LyTestTools/ly_test_tools/launchers/platforms/android/launcher.py b/Tools/LyTestTools/ly_test_tools/launchers/platforms/android/launcher.py index 75eaa65e94..9433f426b5 100755 --- a/Tools/LyTestTools/ly_test_tools/launchers/platforms/android/launcher.py +++ b/Tools/LyTestTools/ly_test_tools/launchers/platforms/android/launcher.py @@ -163,9 +163,23 @@ class AndroidLauncher(Launcher): return True - def setup(self): + def setup(self, backupFiles=True, launch_ap=True, configure_settings=True): + """ + Perform setup of this launcher, must be called before launching. + Subclasses should call its parent's setup() before calling its own code, unless it changes configuration files + + :param backupFiles: Bool to backup setup files + :param launch_ap: Bool to launch the asset processor + :param configure_settings: Bool to update settings caches + :return: None + """ # Backup - self.backup_settings() + if backupFiles: + self.backup_settings() + + # None reverts to function default + if launch_ap is None: + launch_ap = True # Enable Android capabilities and verify environment is setup before continuing. self._is_valid_android_environment() @@ -174,7 +188,7 @@ class AndroidLauncher(Launcher): # Modify and re-configure self.configure_settings() self.workspace.shader_compiler.start() - super(AndroidLauncher, self).setup() + super(AndroidLauncher, self).setup(backupFiles, launch_ap, configure_settings) def teardown(self): ly_test_tools.mobile.android.undo_tcp_port_changes(self._device_id) diff --git a/Tools/LyTestTools/ly_test_tools/launchers/platforms/base.py b/Tools/LyTestTools/ly_test_tools/launchers/platforms/base.py index c9458899b4..c47b9c8b67 100755 --- a/Tools/LyTestTools/ly_test_tools/launchers/platforms/base.py +++ b/Tools/LyTestTools/ly_test_tools/launchers/platforms/base.py @@ -75,6 +75,8 @@ class Launcher(object): ~/ly_test_tools/devices.ini (a.k.a. %USERPROFILE%/ly_test_tools/devices.ini) :param backupFiles: Bool to backup setup files + :param launch_ap: Bool to launch the asset processor + :param configure_settings: Bool to update settings caches :return: None """ # Remove existing logs and dmp files before launching for self.save_project_log_files() @@ -153,7 +155,6 @@ class Launcher(object): :return: None """ self.workspace.asset_processor.stop() - self.save_project_log_files() def save_project_log_files(self): # type: () -> None diff --git a/Tools/LyTestTools/ly_test_tools/launchers/platforms/linux/launcher.py b/Tools/LyTestTools/ly_test_tools/launchers/platforms/linux/launcher.py index 112629b349..377121f2e0 100644 --- a/Tools/LyTestTools/ly_test_tools/launchers/platforms/linux/launcher.py +++ b/Tools/LyTestTools/ly_test_tools/launchers/platforms/linux/launcher.py @@ -52,7 +52,7 @@ class LinuxLauncher(Launcher): if backupFiles: self.backup_settings() - # Base setup defaults to None + # None reverts to function default if launch_ap is None: launch_ap = True @@ -162,7 +162,7 @@ class LinuxLauncher(Launcher): def configure_settings(self): """ - Configures system level settings and syncs the launcher to the targeted console IP. + Configures system level settings :return: None """ @@ -170,7 +170,6 @@ class LinuxLauncher(Launcher): host_ip = '127.0.0.1' self.args.append(f'--regset="/Amazon/AzCore/Bootstrap/project_path={self.workspace.paths.project()}"') self.args.append(f'--regset="/Amazon/AzCore/Bootstrap/remote_ip={host_ip}"') - self.args.append('--regset="/Amazon/AzCore/Bootstrap/wait_for_connect=1"') self.args.append(f'--regset="/Amazon/AzCore/Bootstrap/allowed_list={host_ip}"') self.workspace.settings.modify_platform_setting("r_ShaderCompilerServer", host_ip) @@ -179,20 +178,25 @@ class LinuxLauncher(Launcher): class DedicatedLinuxLauncher(LinuxLauncher): - def setup(self, backupFiles=True, launch_ap=False): + def setup(self, backupFiles=True, launch_ap=False, configure_settings=True): """ Perform setup of this launcher, must be called before launching. Subclasses should call its parent's setup() before calling its own code, unless it changes configuration files :param backupFiles: Bool to backup setup files - :param lauch_ap: Bool to lauch the asset processor + :param launch_ap: Bool to launch the asset processor + :param configure_settings: Bool to update settings caches :return: None """ - # Base setup defaults to None + # Backup + if backupFiles: + self.backup_settings() + + # None reverts to function default if launch_ap is None: launch_ap = False - super(DedicatedLinuxLauncher, self).setup(backupFiles, launch_ap) + super(DedicatedLinuxLauncher, self).setup(backupFiles, launch_ap, configure_settings) def binary_path(self): """ diff --git a/Tools/LyTestTools/ly_test_tools/launchers/platforms/win/launcher.py b/Tools/LyTestTools/ly_test_tools/launchers/platforms/win/launcher.py index d18431ba82..c29aa7b10b 100755 --- a/Tools/LyTestTools/ly_test_tools/launchers/platforms/win/launcher.py +++ b/Tools/LyTestTools/ly_test_tools/launchers/platforms/win/launcher.py @@ -44,21 +44,22 @@ class WinLauncher(Launcher): Subclasses should call its parent's setup() before calling its own code, unless it changes configuration files :param backupFiles: Bool to backup setup files - :param lauch_ap: Bool to lauch the asset processor + :param launch_ap: Bool to lauch the asset processor + :param configure_settings: Bool to update settings caches :return: None """ # Backup if backupFiles: self.backup_settings() - # Base setup defaults to None + # None reverts to function default if launch_ap is None: launch_ap = True # Modify and re-configure if configure_settings: self.configure_settings() - super(WinLauncher, self).setup(backupFiles, launch_ap) + super(WinLauncher, self).setup(backupFiles, launch_ap, configure_settings) def launch(self): """ @@ -161,7 +162,7 @@ class WinLauncher(Launcher): def configure_settings(self): """ - Configures system level settings and syncs the launcher to the targeted console IP. + Configures system level settings :return: None """ @@ -169,7 +170,6 @@ class WinLauncher(Launcher): host_ip = '127.0.0.1' self.args.append(f'--regset="/Amazon/AzCore/Bootstrap/project_path={self.workspace.paths.project()}"') self.args.append(f'--regset="/Amazon/AzCore/Bootstrap/remote_ip={host_ip}"') - self.args.append('--regset="/Amazon/AzCore/Bootstrap/wait_for_connect=1"') self.args.append(f'--regset="/Amazon/AzCore/Bootstrap/allowed_list={host_ip}"') self.workspace.settings.modify_platform_setting("log_RemoteConsoleAllowedAddresses", host_ip) @@ -177,20 +177,25 @@ class WinLauncher(Launcher): class DedicatedWinLauncher(WinLauncher): - def setup(self, backupFiles=True, launch_ap=False): + def setup(self, backupFiles=True, launch_ap=False, configure_settings=True): """ Perform setup of this launcher, must be called before launching. Subclasses should call its parent's setup() before calling its own code, unless it changes configuration files :param backupFiles: Bool to backup setup files - :param lauch_ap: Bool to lauch the asset processor + :param launch_ap: Bool to launch the asset processor + :param configure_settings: Bool to update settings caches :return: None """ - # Base setup defaults to None + # Backup + if backupFiles: + self.backup_settings() + + # None reverts to function default if launch_ap is None: launch_ap = False - super(DedicatedWinLauncher, self).setup(backupFiles, launch_ap) + super(DedicatedWinLauncher, self).setup(backupFiles, launch_ap, configure_settings) def binary_path(self): """ diff --git a/Tools/LyTestTools/ly_test_tools/o3de/asset_processor_utils.py b/Tools/LyTestTools/ly_test_tools/o3de/asset_processor_utils.py index f30ed2f233..8551e5c0ef 100644 --- a/Tools/LyTestTools/ly_test_tools/o3de/asset_processor_utils.py +++ b/Tools/LyTestTools/ly_test_tools/o3de/asset_processor_utils.py @@ -8,11 +8,12 @@ SPDX-License-Identifier: Apache-2.0 OR MIT import logging import os import subprocess +import psutil import ly_test_tools.environment.process_utils as process_utils logger = logging.getLogger(__name__) - +processList = ["AssetProcessor_tmp","AssetProcessor","AssetProcessorBatch","AssetBuilder","rc","Lua Editor"] def start_asset_processor(bin_dir): """ @@ -39,9 +40,16 @@ def kill_asset_processor(): :return: None """ - process_utils.kill_processes_named('AssetProcessor_tmp', ignore_extensions=True) - process_utils.kill_processes_named('AssetProcessor', ignore_extensions=True) - process_utils.kill_processes_named('AssetProcessorBatch', ignore_extensions=True) - process_utils.kill_processes_named('AssetBuilder', ignore_extensions=True) - process_utils.kill_processes_named('rc', ignore_extensions=True) - process_utils.kill_processes_named('Lua Editor', ignore_extensions=True) + for n in processList: + process_utils.kill_processes_named(n, ignore_extensions=True) + + +# Uses psutil to check if a specified process is running. +def check_ap_running(processName): + for proc in psutil.process_iter(): + try: + if processName.lower() in proc.name().lower(): + return True + except (psutil.AccessDenied, psutil.NoSuchProcess, psutil.ZombieProcess): + pass + return False diff --git a/Tools/LyTestTools/ly_test_tools/o3de/editor_test.py b/Tools/LyTestTools/ly_test_tools/o3de/editor_test.py index 29b6573f7a..f29a22002e 100644 --- a/Tools/LyTestTools/ly_test_tools/o3de/editor_test.py +++ b/Tools/LyTestTools/ly_test_tools/o3de/editor_test.py @@ -48,6 +48,7 @@ import ly_test_tools.environment.waiter as waiter import ly_test_tools.environment.process_utils as process_utils import ly_test_tools.o3de.editor_test import ly_test_tools.o3de.editor_test_utils as editor_utils +import ly_test_tools._internal.pytest_plugin from ly_test_tools.o3de.asset_processor import AssetProcessor from ly_test_tools.launchers.exceptions import WaitTimeoutError @@ -757,7 +758,7 @@ class EditorTestSuite(): cmdline = [ "--runpythontest", test_filename, "-logfile", f"@log@/{log_name}", - "-project-log-path", editor_utils.retrieve_log_path(run_id, workspace)] + test_cmdline_args + "-project-log-path", ly_test_tools._internal.pytest_plugin.output_path] + test_cmdline_args editor.args.extend(cmdline) editor.start(backupFiles = False, launch_ap = False, configure_settings=False) @@ -823,7 +824,7 @@ class EditorTestSuite(): cmdline = [ "--runpythontest", test_filenames_str, "-logfile", f"@log@/{log_name}", - "-project-log-path", editor_utils.retrieve_log_path(run_id, workspace)] + test_cmdline_args + "-project-log-path", ly_test_tools._internal.pytest_plugin.output_path] + test_cmdline_args editor.args.extend(cmdline) editor.start(backupFiles = False, launch_ap = False, configure_settings=False) @@ -900,7 +901,6 @@ class EditorTestSuite(): results[test_spec_name] = Result.Timeout.create(timed_out_result.test_spec, results[test_spec_name].output, self.timeout_editor_shared_test, result.editor_log) - return results def _run_single_test(self, request: Request, workspace: AbstractWorkspace, editor: Editor, diff --git a/Tools/LyTestTools/tests/unit/test_file_system.py b/Tools/LyTestTools/tests/unit/test_file_system.py index 2ddd3f8934..2fdcf8131e 100755 --- a/Tools/LyTestTools/tests/unit/test_file_system.py +++ b/Tools/LyTestTools/tests/unit/test_file_system.py @@ -751,7 +751,7 @@ class TestFileBackup(unittest.TestCase): self._dummy_file = 'dummy.txt' self._dummy_backup_file = os.path.join(self._dummy_dir, '{}.bak'.format(self._dummy_file)) - @mock.patch('shutil.copy') + @mock.patch('shutil.copy2') @mock.patch('os.path.exists') @mock.patch('os.path.isdir') def test_BackupSettings_SourceExists_BackupCreated(self, mock_path_isdir, mock_backup_exists, mock_copy): @@ -763,7 +763,7 @@ class TestFileBackup(unittest.TestCase): mock_copy.assert_called_with(self._dummy_file, self._dummy_backup_file) @mock.patch('ly_test_tools.environment.file_system.logger.warning') - @mock.patch('shutil.copy') + @mock.patch('shutil.copy2') @mock.patch('os.path.exists') @mock.patch('os.path.isdir') def test_BackupSettings_BackupExists_WarningLogged(self, mock_path_isdir, mock_backup_exists, mock_copy, mock_logger_warning): @@ -776,7 +776,7 @@ class TestFileBackup(unittest.TestCase): mock_logger_warning.assert_called_once() @mock.patch('ly_test_tools.environment.file_system.logger.warning') - @mock.patch('shutil.copy') + @mock.patch('shutil.copy2') @mock.patch('os.path.exists') @mock.patch('os.path.isdir') def test_BackupSettings_SourceNotExists_WarningLogged(self, mock_path_isdir, mock_backup_exists, mock_copy, mock_logger_warning): @@ -789,7 +789,7 @@ class TestFileBackup(unittest.TestCase): mock_logger_warning.assert_called_once() @mock.patch('ly_test_tools.environment.file_system.logger.warning') - @mock.patch('shutil.copy') + @mock.patch('shutil.copy2') @mock.patch('os.path.exists') @mock.patch('os.path.isdir') def test_BackupSettings_CannotCopy_WarningLogged(self, mock_path_isdir, mock_backup_exists, mock_copy, mock_logger_warning): @@ -821,7 +821,7 @@ class TestFileBackupRestore(unittest.TestCase): self._dummy_file = 'dummy.txt' self._dummy_backup_file = os.path.join(self._dummy_dir, '{}.bak'.format(self._dummy_file)) - @mock.patch('shutil.copy') + @mock.patch('shutil.copy2') @mock.patch('os.path.exists') @mock.patch('os.path.isdir') def test_RestoreSettings_BackupRestore_Success(self, mock_path_isdir, mock_exists, mock_copy): @@ -832,7 +832,7 @@ class TestFileBackupRestore(unittest.TestCase): mock_copy.assert_called_with(self._dummy_backup_file, self._dummy_file) @mock.patch('ly_test_tools.environment.file_system.logger.warning') - @mock.patch('shutil.copy') + @mock.patch('shutil.copy2') @mock.patch('os.path.exists') @mock.patch('os.path.isdir') def test_RestoreSettings_CannotCopy_WarningLogged(self, mock_path_isdir, mock_exists, mock_copy, mock_logger_warning): @@ -846,7 +846,7 @@ class TestFileBackupRestore(unittest.TestCase): mock_logger_warning.assert_called_once() @mock.patch('ly_test_tools.environment.file_system.logger.warning') - @mock.patch('shutil.copy') + @mock.patch('shutil.copy2') @mock.patch('os.path.exists') @mock.patch('os.path.isdir') def test_RestoreSettings_BackupNotExists_WarningLogged(self, mock_path_isdir, mock_exists, mock_copy, mock_logger_warning): diff --git a/Tools/LyTestTools/tests/unit/test_launcher_base.py b/Tools/LyTestTools/tests/unit/test_launcher_base.py index 5264e1bc28..4fe72b889e 100755 --- a/Tools/LyTestTools/tests/unit/test_launcher_base.py +++ b/Tools/LyTestTools/tests/unit/test_launcher_base.py @@ -146,15 +146,6 @@ class TestBaseLauncher: mock_stop_ap.assert_called_once() - @mock.patch('ly_test_tools.launchers.platforms.base.Launcher.save_project_log_files') - def test_Teardown_TeardownCalled_CallsSaveProjectLogFiles(self, under_test): - mock_workspace = mock.MagicMock() - mock_args = ['foo'] - mock_launcher = ly_test_tools.launchers.Launcher(mock_workspace, mock_args) - - mock_launcher.teardown() - under_test.assert_called_once() - @mock.patch('os.path.exists', mock.MagicMock(return_value=True)) @mock.patch('ly_test_tools._internal.managers.artifact_manager.ArtifactManager.save_artifact') @mock.patch('os.listdir') diff --git a/cmake/3rdParty/Platform/Mac/BuiltInPackages_mac.cmake b/cmake/3rdParty/Platform/Mac/BuiltInPackages_mac.cmake index 3f2dc8cedf..a7dcf115eb 100644 --- a/cmake/3rdParty/Platform/Mac/BuiltInPackages_mac.cmake +++ b/cmake/3rdParty/Platform/Mac/BuiltInPackages_mac.cmake @@ -26,7 +26,7 @@ ly_associate_package(PACKAGE_NAME DirectXShaderCompilerDxc-1.6.2104-o3de-rev3-ma ly_associate_package(PACKAGE_NAME SPIRVCross-2021.04.29-rev1-mac TARGETS SPIRVCross PACKAGE_HASH 78c6376ed2fd195b9b1f5fb2b56e5267a32c3aa21fb399e905308de470eb4515) ly_associate_package(PACKAGE_NAME tiff-4.2.0.15-rev3-mac TARGETS TIFF PACKAGE_HASH c2615ccdadcc0e1d6c5ed61e5965c4d3a82193d206591b79b805c3b3ff35a4bf) 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 AWSNativeSDK-1.7.167-rev6-mac TARGETS AWSNativeSDK PACKAGE_HASH 9b058376dec042ace98e198e902b399739adeb9e9398a6c210171fb530164577) 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-rev5-mac TARGETS PhysX PACKAGE_HASH 83940b3876115db82cd8ffcb9e902278e75846d6ad94a41e135b155cee1ee186) ly_associate_package(PACKAGE_NAME mcpp-2.7.2_az.2-rev1-mac TARGETS mcpp PACKAGE_HASH be9558905c9c49179ef3d7d84f0a5472415acdf7fe2d76eb060d9431723ddf2e) diff --git a/cmake/LYTestWrappers.cmake b/cmake/LYTestWrappers.cmake index 9b139645fb..03146b6045 100644 --- a/cmake/LYTestWrappers.cmake +++ b/cmake/LYTestWrappers.cmake @@ -32,6 +32,7 @@ endif() # Set and create folders for PyTest and GTest xml output ly_set(PYTEST_XML_OUTPUT_DIR ${CMAKE_BINARY_DIR}/Testing/Pytest) ly_set(GTEST_XML_OUTPUT_DIR ${CMAKE_BINARY_DIR}/Testing/Gtest) +ly_set(LYTESTTOOLS_OUTPUT_DIR ${CMAKE_BINARY_DIR}/Testing/LyTestTools) file(MAKE_DIRECTORY ${PYTEST_XML_OUTPUT_DIR}) file(MAKE_DIRECTORY ${GTEST_XML_OUTPUT_DIR}) @@ -309,6 +310,7 @@ function(ly_add_pytest) endif() string(REPLACE "::" "_" pytest_report_directory "${PYTEST_XML_OUTPUT_DIR}/${ly_add_pytest_NAME}.xml") + string(REPLACE "::" "_" pytest_output_directory "${LYTESTTOOLS_OUTPUT_DIR}/${ly_add_pytest_NAME}") # Add the script path to the test target params set(LY_TEST_PARAMS "${ly_add_pytest_PATH}") @@ -318,7 +320,7 @@ function(ly_add_pytest) PARENT_NAME ${ly_add_pytest_NAME} TEST_SUITE ${ly_add_pytest_TEST_SUITE} LABELS FRAMEWORK_pytest - TEST_COMMAND ${LY_PYTEST_EXECUTABLE} ${ly_add_pytest_PATH} ${ly_add_pytest_EXTRA_ARGS} --junitxml=${pytest_report_directory} ${custom_marks_args} + TEST_COMMAND ${LY_PYTEST_EXECUTABLE} ${ly_add_pytest_PATH} ${ly_add_pytest_EXTRA_ARGS} --output-path ${pytest_output_directory} --junitxml=${pytest_report_directory} ${custom_marks_args} TEST_LIBRARY pytest COMPONENT ${ly_add_pytest_COMPONENT} ${ly_add_pytest_UNPARSED_ARGUMENTS} diff --git a/cmake/Version.cmake b/cmake/Version.cmake index de93ebefef..c5504ec62a 100644 --- a/cmake/Version.cmake +++ b/cmake/Version.cmake @@ -16,3 +16,8 @@ if("$ENV{O3DE_VERSION}") # Overriding through environment set(LY_VERSION_STRING "$ENV{O3DE_VERSION}") endif() + +if("$ENV{O3DE_BUILD_VERSION}") + # Overriding through environment + set(LY_VERSION_BUILD_NUMBER "$ENV{O3DE_BUILD_VERSION}") +endif() diff --git a/scripts/build/Platform/Linux/build_config.json b/scripts/build/Platform/Linux/build_config.json index b6fcd5b0ba..5290a32f6d 100644 --- a/scripts/build/Platform/Linux/build_config.json +++ b/scripts/build/Platform/Linux/build_config.json @@ -84,7 +84,7 @@ "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "all", "CTEST_OPTIONS": "-E (AutomatedTesting::Atom_TestSuite_Main|AutomatedTesting::TerrainTests_Main|Gem::EMotionFX.Editor.Tests) -L (SUITE_smoke|SUITE_main) -LE (REQUIRES_gpu) --no-tests=error", - "TEST_RESULTS": "True" + "TEST_RESULTS": "False" } }, "test_profile_nounity": { @@ -97,7 +97,7 @@ "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "all", "CTEST_OPTIONS": "-E (AutomatedTesting::Atom_TestSuite_Main|AutomatedTesting::TerrainTests_Main|Gem::EMotionFX.Editor.Tests) -L (SUITE_smoke|SUITE_main) -LE (REQUIRES_gpu) --no-tests=error", - "TEST_RESULTS": "True" + "TEST_RESULTS": "False" } }, "asset_profile": { @@ -146,7 +146,7 @@ "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "TEST_SUITE_periodic", "CTEST_OPTIONS": "-L (SUITE_periodic) --no-tests=error", - "TEST_RESULTS": "True" + "TEST_RESULTS": "False" } }, "sandbox_test_profile": { @@ -182,7 +182,7 @@ "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "TEST_SUITE_benchmark", "CTEST_OPTIONS": "-L (SUITE_benchmark) --no-tests=error", - "TEST_RESULTS": "True" + "TEST_RESULTS": "False" } }, "release": { diff --git a/scripts/build/Platform/Mac/build_config.json b/scripts/build/Platform/Mac/build_config.json index 34b02a1aec..fb960a96fa 100644 --- a/scripts/build/Platform/Mac/build_config.json +++ b/scripts/build/Platform/Mac/build_config.json @@ -103,7 +103,7 @@ "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "TEST_SUITE_periodic", "CTEST_OPTIONS": "-L \"(SUITE_periodic)\"", - "TEST_RESULTS": "True" + "TEST_RESULTS": "False" } }, "benchmark_test_profile": { @@ -120,7 +120,7 @@ "CMAKE_LY_PROJECTS": "AutomatedTesting", "CMAKE_TARGET": "TEST_SUITE_benchmark", "CTEST_OPTIONS": "-L \"(SUITE_benchmark)\"", - "TEST_RESULTS": "True" + "TEST_RESULTS": "False" } }, "release": { diff --git a/scripts/o3de/o3de/register.py b/scripts/o3de/o3de/register.py index 2500df1568..62a342f948 100644 --- a/scripts/o3de/o3de/register.py +++ b/scripts/o3de/o3de/register.py @@ -411,7 +411,7 @@ def register_project_path(json_data: dict, if not remove: # registering a project has the additional step of setting the project.json 'engine' field - this_engine_json = manifest.get_engine_json_data(engine_path=manifest.get_this_engine_path()) + this_engine_json = manifest.get_engine_json_data(engine_path=engine_path if engine_path else manifest.get_this_engine_path()) if not this_engine_json: return 1 project_json_data = manifest.get_project_json_data(project_path=project_path)