@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c1d04d687bdce69965965c290c907b3f9a730a7ea73874b734e1c7ff41426d9
|
||||
size 3832768
|
||||
@@ -0,0 +1,66 @@
|
||||
#
|
||||
# Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
#
|
||||
#
|
||||
import traceback, sys, uuid, os, json
|
||||
|
||||
import scene_export_utils
|
||||
import scene_api.motion_group
|
||||
|
||||
#
|
||||
# Example for exporting MotionGroup scene rules
|
||||
#
|
||||
|
||||
def update_manifest(scene):
|
||||
import azlmbr.scene.graph
|
||||
import scene_api.scene_data
|
||||
|
||||
# create a SceneManifest
|
||||
sceneManifest = scene_api.scene_data.SceneManifest()
|
||||
|
||||
# create a MotionGroup
|
||||
motionGroup = scene_api.motion_group.MotionGroup()
|
||||
motionGroup.name = os.path.basename(scene.sourceFilename.replace('.', '_'))
|
||||
|
||||
motionAdditiveRule = scene_api.motion_group.MotionAdditiveRule()
|
||||
motionAdditiveRule.sampleFrame = 2
|
||||
motionGroup.add_rule(motionAdditiveRule)
|
||||
|
||||
motionScaleRule = motionGroup.create_rule(scene_api.motion_group.MotionScaleRule())
|
||||
motionScaleRule.scaleFactor = 1.1
|
||||
motionGroup.add_rule(motionScaleRule)
|
||||
|
||||
# add motion group to scene manifest
|
||||
sceneManifest.add_motion_group(motionGroup)
|
||||
|
||||
# Convert the manifest to a JSON string and return it
|
||||
return sceneManifest.export()
|
||||
|
||||
sceneJobHandler = None
|
||||
|
||||
def on_update_manifest(args):
|
||||
try:
|
||||
scene = args[0]
|
||||
return update_manifest(scene)
|
||||
except RuntimeError as err:
|
||||
print (f'ERROR - {err}')
|
||||
scene_export_utils.log_exception_traceback()
|
||||
except:
|
||||
scene_export_utils.log_exception_traceback()
|
||||
|
||||
global sceneJobHandler
|
||||
sceneJobHandler.disconnect()
|
||||
sceneJobHandler = None
|
||||
|
||||
# try to create SceneAPI handler for processing
|
||||
try:
|
||||
import azlmbr.scene
|
||||
|
||||
sceneJobHandler = azlmbr.scene.ScriptBuildingNotificationBusHandler()
|
||||
sceneJobHandler.connect()
|
||||
sceneJobHandler.add_callback('OnUpdateManifest', on_update_manifest)
|
||||
except:
|
||||
sceneJobHandler = None
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"values": [
|
||||
{
|
||||
"$type": "ScriptProcessorRule",
|
||||
"scriptFilename": "Assets/TestAnim/scene_export_motion.py"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
#
|
||||
#
|
||||
import traceback, sys, uuid, os, json
|
||||
|
||||
#
|
||||
# Utility methods for processing scenes
|
||||
#
|
||||
|
||||
def log_exception_traceback():
|
||||
exc_type, exc_value, exc_tb = sys.exc_info()
|
||||
data = traceback.format_exception(exc_type, exc_value, exc_tb)
|
||||
print(str(data))
|
||||
|
||||
def get_node_names(sceneGraph, nodeTypeName, testEndPoint = False, validList = None):
|
||||
import azlmbr.scene.graph
|
||||
import scene_api.scene_data
|
||||
|
||||
node = sceneGraph.get_root()
|
||||
nodeList = []
|
||||
children = []
|
||||
paths = []
|
||||
|
||||
while node.IsValid():
|
||||
# store children to process after siblings
|
||||
if sceneGraph.has_node_child(node):
|
||||
children.append(sceneGraph.get_node_child(node))
|
||||
|
||||
nodeName = scene_api.scene_data.SceneGraphName(sceneGraph.get_node_name(node))
|
||||
paths.append(nodeName.get_path())
|
||||
|
||||
include = True
|
||||
|
||||
if (validList is not None):
|
||||
include = False # if a valid list filter provided, assume to not include node name
|
||||
name_parts = nodeName.get_path().split('.')
|
||||
for valid in validList:
|
||||
if (valid in name_parts[-1]):
|
||||
include = True
|
||||
break
|
||||
|
||||
# store any node that has provides specifc data content
|
||||
nodeContent = sceneGraph.get_node_content(node)
|
||||
if include and nodeContent.CastWithTypeName(nodeTypeName):
|
||||
if testEndPoint is not None:
|
||||
include = sceneGraph.is_node_end_point(node) is testEndPoint
|
||||
if include:
|
||||
if (len(nodeName.get_path())):
|
||||
nodeList.append(scene_api.scene_data.SceneGraphName(sceneGraph.get_node_name(node)))
|
||||
|
||||
# advance to next node
|
||||
if sceneGraph.has_node_sibling(node):
|
||||
node = sceneGraph.get_node_sibling(node)
|
||||
elif children:
|
||||
node = children.pop()
|
||||
else:
|
||||
node = azlmbr.scene.graph.NodeIndex()
|
||||
|
||||
return nodeList, paths
|
||||
@@ -1,10 +1,10 @@
|
||||
"""
|
||||
Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
|
||||
SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
"""
|
||||
|
||||
#
|
||||
# Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
#
|
||||
#
|
||||
import traceback, logging, json
|
||||
from typing import Tuple, List
|
||||
|
||||
@@ -14,30 +14,44 @@ from scene_api.scene_data import SceneGraphName
|
||||
|
||||
|
||||
def log_exception_traceback():
|
||||
"""
|
||||
Outputs an exception stacktrace.
|
||||
"""
|
||||
"""Outputs an exception stacktrace."""
|
||||
data = traceback.format_exc()
|
||||
logger = logging.getLogger('python')
|
||||
logger.error(data)
|
||||
|
||||
|
||||
def sanitize_name_for_disk(name: str):
|
||||
"""
|
||||
Removes illegal filename characters from a string.
|
||||
def sanitize_name_for_disk(name: str) -> str:
|
||||
"""Removes illegal filename characters from a string.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
name :
|
||||
String to clean.
|
||||
|
||||
|
||||
Returns
|
||||
-------
|
||||
str
|
||||
Name with illegal characters removed.
|
||||
|
||||
:param name: String to clean.
|
||||
:return: Name with illegal characters removed.
|
||||
"""
|
||||
return "".join(char for char in name if char not in "|<>:\"/?*\\")
|
||||
|
||||
|
||||
def get_mesh_node_names(scene_graph: sceneData.SceneGraph) -> Tuple[List[SceneGraphName], List[str]]:
|
||||
"""
|
||||
Returns a tuple of all the mesh nodes as well as all the node paths
|
||||
"""Returns a tuple of all the mesh nodes as well as all the node paths
|
||||
|
||||
Parameters
|
||||
----------
|
||||
scene_graph :
|
||||
Scene graph to search
|
||||
|
||||
|
||||
Returns
|
||||
-------
|
||||
Tuple[List[SceneGraphName], List[str]]
|
||||
Tuple of [Mesh Nodes, All Node Paths]
|
||||
|
||||
:param scene_graph: Scene graph to search
|
||||
:return: Tuple of [Mesh Nodes, All Node Paths]
|
||||
"""
|
||||
import azlmbr.scene as sceneApi
|
||||
import azlmbr.scene.graph
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import azlmbr.bus
|
||||
import azlmbr.math
|
||||
|
||||
from scene_api.scene_data import PrimitiveShape, DecompositionMode
|
||||
from scene_api.scene_data import PrimitiveShape, DecompositionMode, ColorChannel, TangentSpaceSource, TangentSpaceMethod
|
||||
from scene_helpers import *
|
||||
|
||||
|
||||
@@ -71,6 +71,7 @@ def add_physx_meshes(scene_manifest: sceneData.SceneManifest, source_file_name:
|
||||
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
|
||||
@@ -114,10 +115,11 @@ def update_manifest(scene):
|
||||
if node != mesh_path:
|
||||
scene_manifest.mesh_group_unselect_node(mesh_group, node)
|
||||
|
||||
scene_manifest.mesh_group_add_cloth_rule(mesh_group, mesh_path, "Col0", 1, "Col0", 2, "Col0", 2, 3)
|
||||
scene_manifest.mesh_group_add_cloth_rule(mesh_group, mesh_path, "Col0", ColorChannel.GREEN, "Col0",
|
||||
ColorChannel.BLUE, "Col0", ColorChannel.BLUE, ColorChannel.ALPHA)
|
||||
scene_manifest.mesh_group_add_advanced_mesh_rule(mesh_group, True, False, True, "Col0")
|
||||
scene_manifest.mesh_group_add_skin_rule(mesh_group, 3, 0.002)
|
||||
scene_manifest.mesh_group_add_tangent_rule(mesh_group, 1, 0)
|
||||
scene_manifest.mesh_group_add_tangent_rule(mesh_group, TangentSpaceSource.MIKKT_GENERATION, TangentSpaceMethod.TSPACE_BASIC)
|
||||
|
||||
# Create an editor entity
|
||||
entity_id = azlmbr.entity.EntityUtilityBus(azlmbr.bus.Broadcast, "CreateEditorReadyEntity", mesh_group_name)
|
||||
|
||||
@@ -39,10 +39,6 @@ class TestAutomation(EditorTestSuite):
|
||||
class AtomEditorComponents_DirectionalLightAdded(EditorSharedTest):
|
||||
from Atom.tests import hydra_AtomEditorComponents_DirectionalLightAdded as test_module
|
||||
|
||||
@pytest.mark.test_case_id("C36525660")
|
||||
class AtomEditorComponents_DisplayMapperAdded(EditorSharedTest):
|
||||
from Atom.tests import hydra_AtomEditorComponents_DisplayMapperAdded as test_module
|
||||
|
||||
@pytest.mark.test_case_id("C36525661")
|
||||
class AtomEditorComponents_EntityReferenceAdded(EditorSharedTest):
|
||||
from Atom.tests import hydra_AtomEditorComponents_EntityReferenceAdded as test_module
|
||||
|
||||
@@ -19,13 +19,6 @@ logger = logging.getLogger(__name__)
|
||||
TEST_DIRECTORY = os.path.join(os.path.dirname(__file__), "tests")
|
||||
|
||||
|
||||
class TestAtomEditorComponentsSandbox(object):
|
||||
|
||||
# It requires at least one test
|
||||
def test_Dummy(self, request, editor, level, workspace, project, launcher_platform):
|
||||
pass
|
||||
|
||||
|
||||
@pytest.mark.parametrize("project", ["AutomatedTesting"])
|
||||
@pytest.mark.parametrize("launcher_platform", ['windows_editor'])
|
||||
@pytest.mark.parametrize("level", ["auto_test"])
|
||||
@@ -167,10 +160,17 @@ class TestAutomation(EditorTestSuite):
|
||||
|
||||
enable_prefab_system = False
|
||||
|
||||
#this test is intermittently timing out without ever having executed. sandboxing while we investigate cause.
|
||||
@pytest.mark.test_case_id("C36525660")
|
||||
class AtomEditorComponents_DisplayMapperAdded(EditorSharedTest):
|
||||
from Atom.tests import hydra_AtomEditorComponents_DisplayMapperAdded as test_module
|
||||
|
||||
# this test causes editor to crash when using slices. once automation transitions to prefabs it should pass
|
||||
@pytest.mark.test_case_id("C36529666")
|
||||
class AtomEditorComponentsLevel_DiffuseGlobalIlluminationAdded(EditorSharedTest):
|
||||
from Atom.tests import hydra_AtomEditorComponentsLevel_DiffuseGlobalIlluminationAdded as test_module
|
||||
|
||||
# this test causes editor to crash when using slices. once automation transitions to prefabs it should pass
|
||||
@pytest.mark.test_case_id("C36525660")
|
||||
class AtomEditorComponentsLevel_DisplayMapperAdded(EditorSharedTest):
|
||||
from Atom.tests import hydra_AtomEditorComponentsLevel_DisplayMapperAdded as test_module
|
||||
|
||||
+4
-1
@@ -58,7 +58,10 @@ def launch_and_validate_results(request, test_directory, editor, editor_script,
|
||||
if null_renderer:
|
||||
editor.args.extend(["-rhi=Null"])
|
||||
if enable_prefab_system:
|
||||
editor.args.extend(["--regset=/Amazon/Preferences/EnablePrefabSystem=true"])
|
||||
from os import path
|
||||
editor.args.extend([
|
||||
"--regset=/Amazon/Preferences/EnablePrefabSystem=true",
|
||||
f"--regset-file={os.path.join(workspace.paths.engine_root(), 'Registry', 'prefab.test.setreg')}"])
|
||||
else:
|
||||
editor.args.extend(["--regset=/Amazon/Preferences/EnablePrefabSystem=false"])
|
||||
|
||||
|
||||
-1
@@ -39,7 +39,6 @@ def get_prefab_file_path(prefab_path):
|
||||
prefab_path = name + ".prefab"
|
||||
return prefab_path
|
||||
|
||||
|
||||
def get_all_entity_ids():
|
||||
return entity.SearchBus(bus.Broadcast, 'SearchEntities', entity.SearchFilter())
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@ import sys
|
||||
import pytest
|
||||
import time
|
||||
|
||||
from os import path
|
||||
|
||||
import ly_test_tools.environment.file_system as file_system
|
||||
import ly_test_tools.environment.process_utils as process_utils
|
||||
import ly_test_tools.environment.waiter as waiter
|
||||
@@ -98,7 +100,9 @@ class TestAutomationBase:
|
||||
if autotest_mode:
|
||||
pycmd += ["-autotest_mode"]
|
||||
if enable_prefab_system:
|
||||
pycmd += ["--regset=/Amazon/Preferences/EnablePrefabSystem=true"]
|
||||
pycmd += [
|
||||
"--regset=/Amazon/Preferences/EnablePrefabSystem=true",
|
||||
f"--regset-file={path.join(workspace.paths.engine_root(), 'Registry', 'prefab.test.setreg')}"]
|
||||
else:
|
||||
pycmd += ["--regset=/Amazon/Preferences/EnablePrefabSystem=false"]
|
||||
|
||||
|
||||
@@ -40,11 +40,12 @@ def Menus_EditMenuOptions_Work():
|
||||
("Toggle Pivot Location",),
|
||||
("Reset Entity Transform",),
|
||||
("Reset Manipulator",),
|
||||
("Reset Transform (Local)",),
|
||||
("Reset Transform (World)",),
|
||||
("Hide Selection",),
|
||||
("Show All",),
|
||||
("Modify", "Snap", "Snap angle"),
|
||||
("Lock Selection",),
|
||||
("Unlock All Entities",),
|
||||
("Modify", "Snap", "Angle snapping"),
|
||||
("Modify", "Snap", "Grid snapping"),
|
||||
("Modify", "Transform Mode", "Move"),
|
||||
("Modify", "Transform Mode", "Rotate"),
|
||||
("Modify", "Transform Mode", "Scale"),
|
||||
|
||||
@@ -39,7 +39,8 @@ def Menus_ViewMenuOptions_Work():
|
||||
("Viewport", "Go to Location"),
|
||||
("Viewport", "Remember Location"),
|
||||
("Viewport", "Switch Camera"),
|
||||
("Viewport", "Show/Hide Helpers"),
|
||||
("Viewport", "Show Helpers"),
|
||||
("Viewport", "Show Icons"),
|
||||
("Refresh Style",),
|
||||
]
|
||||
|
||||
|
||||
+9
-3
@@ -51,19 +51,22 @@ def AltitudeFilter_ComponentAndOverrides_InstancesPlantAtSpecifiedAltitude():
|
||||
|
||||
import os
|
||||
|
||||
import azlmbr.asset as asset
|
||||
import azlmbr.editor as editor
|
||||
import azlmbr.legacy.general as general
|
||||
import azlmbr.bus as bus
|
||||
import azlmbr.math as math
|
||||
import azlmbr.prefab as prefab
|
||||
|
||||
import editor_python_test_tools.hydra_editor_utils as hydra
|
||||
from editor_python_test_tools.prefab_utils import Prefab
|
||||
from largeworlds.large_worlds_utils import editor_dynveg_test_helper as dynveg
|
||||
from editor_python_test_tools.utils import Report
|
||||
from editor_python_test_tools.utils import TestHelper as helper
|
||||
|
||||
# 1) Open an existing simple level
|
||||
helper.init_idle()
|
||||
helper.open_level("Physics", "Base")
|
||||
helper.open_level("", "Base")
|
||||
|
||||
# Set view of planting area for visual debugging
|
||||
general.set_current_view_position(512.0, 500.0, 38.0)
|
||||
@@ -71,8 +74,11 @@ def AltitudeFilter_ComponentAndOverrides_InstancesPlantAtSpecifiedAltitude():
|
||||
|
||||
# 2) Create a new entity with required vegetation area components
|
||||
center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", center_point, 32.0, 32.0, 32.0, asset_path)
|
||||
|
||||
flower_asset_path = os.path.join("assets", "objects", "foliage", "grass_flower_pink.azmodel")
|
||||
flower_prefab = dynveg.create_temp_mesh_prefab(flower_asset_path, "PinkFlower")[0]
|
||||
|
||||
spawner_entity = dynveg.create_prefab_vegetation_area("Instance Spawner", center_point, 32.0, 32.0, 32.0, flower_prefab)
|
||||
|
||||
# Add a Vegetation Altitude Filter
|
||||
spawner_entity.add_component("Vegetation Altitude Filter")
|
||||
|
||||
+8
-3
@@ -32,7 +32,9 @@ def AltitudeFilter_FilterStageToggle():
|
||||
import os
|
||||
|
||||
import azlmbr.legacy.general as general
|
||||
import azlmbr.bus as bus
|
||||
import azlmbr.math as math
|
||||
import azlmbr.prefab as prefab
|
||||
|
||||
import editor_python_test_tools.hydra_editor_utils as hydra
|
||||
from largeworlds.large_worlds_utils import editor_dynveg_test_helper as dynveg
|
||||
@@ -44,13 +46,16 @@ def AltitudeFilter_FilterStageToggle():
|
||||
|
||||
# Open an existing simple level
|
||||
helper.init_idle()
|
||||
helper.open_level("Physics", "Base")
|
||||
helper.open_level("", "Base")
|
||||
general.set_current_view_position(512.0, 480.0, 38.0)
|
||||
|
||||
# Create basic vegetation entity
|
||||
position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
vegetation = dynveg.create_vegetation_area("vegetation", position, 16.0, 16.0, 16.0, asset_path)
|
||||
|
||||
flower_asset_path = os.path.join("assets", "objects", "foliage", "grass_flower_pink.azmodel")
|
||||
flower_prefab = dynveg.create_temp_mesh_prefab(flower_asset_path, "PinkFlower")[0]
|
||||
|
||||
vegetation = dynveg.create_prefab_vegetation_area("vegetation", position, 16.0, 16.0, 16.0, flower_prefab)
|
||||
|
||||
# Add a Vegetation Altitude Filter to the vegetation area entity
|
||||
vegetation.add_component("Vegetation Altitude Filter")
|
||||
|
||||
+6
-3
@@ -57,7 +57,7 @@ def AltitudeFilter_ShapeSample_InstancesPlantAtSpecifiedAltitude():
|
||||
|
||||
# 1) Open an existing simple level
|
||||
helper.init_idle()
|
||||
helper.open_level("Physics", "Base")
|
||||
helper.open_level("", "Base")
|
||||
|
||||
# Set view of planting area for visual debugging
|
||||
general.set_current_view_position(512.0, 500.0, 38.0)
|
||||
@@ -65,8 +65,11 @@ def AltitudeFilter_ShapeSample_InstancesPlantAtSpecifiedAltitude():
|
||||
|
||||
# 2) Create a new entity with required vegetation area components
|
||||
center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", center_point, 16.0, 16.0, 16.0, asset_path)
|
||||
|
||||
flower_asset_path = os.path.join("assets", "objects", "foliage", "grass_flower_pink.azmodel")
|
||||
flower_prefab = dynveg.create_temp_mesh_prefab(flower_asset_path, "PinkFlower")[0]
|
||||
|
||||
spawner_entity = dynveg.create_prefab_vegetation_area("Instance Spawner", center_point, 16.0, 16.0, 16.0, flower_prefab)
|
||||
|
||||
# Add a Vegetation Altitude Filter
|
||||
spawner_entity.add_component("Vegetation Altitude Filter")
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ def AssetListCombiner_CombinedDescriptorsExpressInConfiguredArea():
|
||||
|
||||
# 4) Create a spawner using a Vegetation Asset List Combiner component and a Weight Selector, and disallow
|
||||
# spawning empty assets
|
||||
spawner_entity = dynveg.create_vegetation_area("Spawner Entity", center_point, 16.0, 16.0, 16.0, None)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Spawner Entity", center_point, 16.0, 16.0, 16.0, None)
|
||||
spawner_entity.remove_component("Vegetation Asset List")
|
||||
spawner_entity.add_component("Vegetation Asset List Combiner")
|
||||
spawner_entity.add_component("Vegetation Asset Weight Selector")
|
||||
|
||||
+2
-2
@@ -67,8 +67,8 @@ def AssetWeightSelector_InstancesExpressBasedOnWeight():
|
||||
# valid slice entity, and one set to None
|
||||
spawner_center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
desc_asset = hydra.get_component_property_value(spawner_entity.components[2],
|
||||
"Configuration|Embedded Assets")[0]
|
||||
desc_list = [desc_asset, desc_asset]
|
||||
|
||||
+2
-2
@@ -72,8 +72,8 @@ def DistanceBetweenFilterOverrides_InstancesPlantAtSpecifiedRadius():
|
||||
# 2) Create a new entity with required vegetation area components
|
||||
spawner_center_point = math.Vector3(520.0, 520.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "1m_cube.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
|
||||
# 3) Create a surface to plant on
|
||||
surface_center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
|
||||
+2
-2
@@ -70,8 +70,8 @@ def DistanceBetweenFilter_InstancesPlantAtSpecifiedRadius():
|
||||
# 2) Create a new entity with required vegetation area components
|
||||
spawner_center_point = math.Vector3(520.0, 520.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "1m_cube.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
|
||||
# 3) Create a surface to plant on
|
||||
surface_center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ def DynamicSliceInstanceSpawner_Embedded_E2E():
|
||||
# 2) Create a new entity with required vegetation area components and Script Canvas component for launcher test
|
||||
center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", center_point, 16.0, 16.0, 1.0, asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", center_point, 16.0, 16.0, 1.0, asset_path)
|
||||
spawner_entity.add_component("Script Canvas")
|
||||
instance_counter_path = os.path.join("scriptcanvas", "instance_counter.scriptcanvas")
|
||||
instance_counter_script = asset.AssetCatalogRequestBus(bus.Broadcast, "GetAssetIdByPath", instance_counter_path,
|
||||
|
||||
+2
-2
@@ -70,8 +70,8 @@ def InstanceSpawnerPriority_LayerAndSubPriority():
|
||||
# 2) Create overlapping areas: 1 instance spawner area, and 1 blocker area
|
||||
spawner_center_point = math.Vector3(508.0, 508.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 1.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 1.0,
|
||||
asset_path)
|
||||
blocker_center_point = math.Vector3(516.0, 516.0, 32.0)
|
||||
blocker_entity = dynveg.create_blocker_area("Instance Blocker", blocker_center_point, 16.0, 16.0, 1.0)
|
||||
|
||||
|
||||
+8
-8
@@ -86,17 +86,17 @@ def LayerBlender_E2E_Editor():
|
||||
# 2) Create 2 vegetation areas with different meshes
|
||||
purple_position = math.Vector3(504.0, 512.0, 32.0)
|
||||
purple_asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
spawner_entity_1 = dynveg.create_vegetation_area("Purple Spawner",
|
||||
purple_position,
|
||||
16.0, 16.0, 1.0,
|
||||
purple_asset_path)
|
||||
spawner_entity_1 = dynveg.create_dynamic_slice_vegetation_area("Purple Spawner",
|
||||
purple_position,
|
||||
16.0, 16.0, 1.0,
|
||||
purple_asset_path)
|
||||
|
||||
pink_position = math.Vector3(520.0, 512.0, 32.0)
|
||||
pink_asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity_2 = dynveg.create_vegetation_area("Pink Spawner",
|
||||
pink_position,
|
||||
16.0, 16.0, 1.0,
|
||||
pink_asset_path)
|
||||
spawner_entity_2 = dynveg.create_dynamic_slice_vegetation_area("Pink Spawner",
|
||||
pink_position,
|
||||
16.0, 16.0, 1.0,
|
||||
pink_asset_path)
|
||||
|
||||
base_position = math.Vector3(512.0, 512.0, 32.0)
|
||||
dynveg.create_surface_entity("Surface Entity",
|
||||
|
||||
+2
-2
@@ -68,8 +68,8 @@ def LayerBlocker_InstancesBlockedInConfiguredArea():
|
||||
# 2) Create a new instance spawner entity
|
||||
spawner_center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
|
||||
# 3) Create surface for planting on
|
||||
dynveg.create_surface_entity("Surface Entity", spawner_center_point, 32.0, 32.0, 1.0)
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ def LayerSpawner_FilterStageToggle():
|
||||
# Create a vegetation area with all needed components
|
||||
position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
vegetation_entity = dynveg.create_vegetation_area("vegetation", position, 16.0, 16.0, 16.0, asset_path)
|
||||
vegetation_entity = dynveg.create_dynamic_slice_vegetation_area("vegetation", position, 16.0, 16.0, 16.0, asset_path)
|
||||
vegetation_entity.add_component("Vegetation Altitude Filter")
|
||||
vegetation_entity.add_component("Vegetation Position Modifier")
|
||||
|
||||
|
||||
+4
-4
@@ -62,10 +62,10 @@ def LayerSpawner_InstancesPlantInAllSupportedShapes():
|
||||
# 2) Create basic vegetation area entity and set the properties
|
||||
entity_position = math.Vector3(125.0, 136.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
vegetation = dynveg.create_vegetation_area("Instance Spawner",
|
||||
entity_position,
|
||||
10.0, 10.0, 10.0,
|
||||
asset_path)
|
||||
vegetation = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner",
|
||||
entity_position,
|
||||
10.0, 10.0, 10.0,
|
||||
asset_path)
|
||||
vegetation.remove_component("Box Shape")
|
||||
vegetation.add_component("Shape Reference")
|
||||
|
||||
|
||||
+4
-4
@@ -101,10 +101,10 @@ def LayerSpawner_InstancesRefreshUsingCorrectViewportCamera():
|
||||
|
||||
# Create the two vegetation areas
|
||||
test_slice_asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
first_veg_entity = dynveg.create_vegetation_area("Veg Area 1", first_entity_center_point, box_size, box_size,
|
||||
box_size, test_slice_asset_path)
|
||||
second_veg_entity = dynveg.create_vegetation_area("Veg Area 2", second_entity_center_point, box_size, box_size,
|
||||
box_size, test_slice_asset_path)
|
||||
first_veg_entity = dynveg.create_dynamic_slice_vegetation_area("Veg Area 1", first_entity_center_point, box_size, box_size,
|
||||
box_size, test_slice_asset_path)
|
||||
second_veg_entity = dynveg.create_dynamic_slice_vegetation_area("Veg Area 2", second_entity_center_point, box_size, box_size,
|
||||
box_size, test_slice_asset_path)
|
||||
|
||||
# When the first viewport is active, the first area should be full of instances, and the second should be empty
|
||||
general.set_active_viewport(0)
|
||||
|
||||
+4
-4
@@ -59,10 +59,10 @@ def MeshBlocker_InstancesBlockedByMesh():
|
||||
# Create entity with components "Vegetation Layer Spawner", "Vegetation Asset List", "Box Shape"
|
||||
entity_position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner",
|
||||
entity_position,
|
||||
10.0, 10.0, 10.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner",
|
||||
entity_position,
|
||||
10.0, 10.0, 10.0,
|
||||
asset_path)
|
||||
|
||||
# Create surface entity to plant on
|
||||
dynveg.create_surface_entity("Surface Entity", entity_position, 10.0, 10.0, 1.0)
|
||||
|
||||
+4
-4
@@ -62,10 +62,10 @@ def MeshBlocker_InstancesBlockedByMeshHeightTuning():
|
||||
# 2) Create entity with components "Vegetation Layer Spawner", "Vegetation Asset List", "Box Shape"
|
||||
entity_position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner",
|
||||
entity_position,
|
||||
10.0, 10.0, 10.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner",
|
||||
entity_position,
|
||||
10.0, 10.0, 10.0,
|
||||
asset_path)
|
||||
|
||||
# 3) Create surface entity to plant on
|
||||
dynveg.create_surface_entity("Surface Entity", entity_position, 10.0, 10.0, 1.0)
|
||||
|
||||
+1
-1
@@ -91,7 +91,7 @@ def PhysXColliderSurfaceTagEmitter_E2E_Editor():
|
||||
|
||||
# Create a new entity with required vegetation area components
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Veg Area", entity_center_point, 32.0, 32.0, 32.0, asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Veg Area", entity_center_point, 32.0, 32.0, 32.0, asset_path)
|
||||
|
||||
# Add a Vegetation Surface Mask Filter component to the spawner entity and set it to include the "test" tag
|
||||
spawner_entity.add_component("Vegetation Surface Mask Filter")
|
||||
|
||||
+2
-2
@@ -74,8 +74,8 @@ def PositionModifier_AutoSnapToSurfaceWorks():
|
||||
# 2) Create a new entity with required vegetation area components and a Position Modifier
|
||||
spawner_center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
|
||||
# Add a Vegetation Position Modifier and set offset values to 0
|
||||
spawner_entity.add_component("Vegetation Position Modifier")
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ def PositionModifier_ComponentAndOverrides_InstancesPlantAtSpecifiedOffsets():
|
||||
# 2) Create a new entity with required vegetation area components
|
||||
spawner_center_point = math.Vector3(16.0, 16.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", spawner_center_point, 1.0, 1.0, 1.0, asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", spawner_center_point, 1.0, 1.0, 1.0, asset_path)
|
||||
|
||||
# Add a Vegetation Position Modifier and set offset values to 0
|
||||
spawner_entity.add_component("Vegetation Position Modifier")
|
||||
|
||||
+1
-1
@@ -88,7 +88,7 @@ def RotationModifierOverrides_InstancesRotateWithinRange():
|
||||
# 2) Create vegetation entity and add components
|
||||
entity_position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Spawner Entity", entity_position, 16.0, 16.0, 16.0, asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Spawner Entity", entity_position, 16.0, 16.0, 16.0, asset_path)
|
||||
spawner_entity.add_component("Vegetation Rotation Modifier")
|
||||
# Our default vegetation settings places 20 instances per 16 meters, so we expect 20 * 20 total instances.
|
||||
num_expected = 20 * 20
|
||||
|
||||
+1
-1
@@ -126,7 +126,7 @@ def RotationModifier_InstancesRotateWithinRange():
|
||||
|
||||
# 2) Set up vegetation entities
|
||||
asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Spawner Entity", LEVEL_CENTER, 2.0, 2.0, 2.0, asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Spawner Entity", LEVEL_CENTER, 2.0, 2.0, 2.0, asset_path)
|
||||
|
||||
additional_components = [
|
||||
"Vegetation Rotation Modifier"
|
||||
|
||||
+1
-1
@@ -100,7 +100,7 @@ def ScaleModifierOverrides_InstancesProperlyScale():
|
||||
# 2) Create a new entity with components "Vegetation Layer Spawner", "Vegetation Asset List", "Box Shape"
|
||||
entity_position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Spawner Entity", entity_position, 16.0, 16.0, 10.0, asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Spawner Entity", entity_position, 16.0, 16.0, 10.0, asset_path)
|
||||
|
||||
# Create a surface to plant on and add a Vegetation Debugger Level component to allow refreshes
|
||||
dynveg.create_surface_entity("Surface Entity", entity_position, 20.0, 20.0, 1.0)
|
||||
|
||||
+2
-2
@@ -94,8 +94,8 @@ def ScaleModifier_InstancesProperlyScale():
|
||||
# Vegetation Scale Modifier
|
||||
entity_position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Spawner Entity", entity_position, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Spawner Entity", entity_position, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
spawner_entity.add_component("Vegetation Scale Modifier")
|
||||
|
||||
# Create a surface to plant on and add a Vegetation Debugger Level component to allow refreshes
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ def ShapeIntersectionFilter_FilterStageToggle():
|
||||
# Create basic vegetation entity
|
||||
position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
vegetation = dynveg.create_vegetation_area("vegetation", position, 16.0, 16.0, 16.0, asset_path)
|
||||
vegetation = dynveg.create_dynamic_slice_vegetation_area("vegetation", position, 16.0, 16.0, 16.0, asset_path)
|
||||
|
||||
# Create Surface for instances to plant on
|
||||
dynveg.create_surface_entity("Surface_Entity_Parent", position, 16.0, 16.0, 1.0)
|
||||
|
||||
+2
-2
@@ -70,8 +70,8 @@ def ShapeIntersectionFilter_InstancesPlantInAssignedShape():
|
||||
# 2) Create a new entity with required vegetation area components and Vegetation Shape Intersection Filter
|
||||
center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", center_point, 16.0, 16.0, 1.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", center_point, 16.0, 16.0, 1.0,
|
||||
asset_path)
|
||||
spawner_entity.add_component("Vegetation Shape Intersection Filter")
|
||||
|
||||
# Create a planting surface
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ def SlopeAlignmentModifierOverrides_InstanceSurfaceAlignment():
|
||||
# Create a spawner entity setup with all needed components
|
||||
center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", center_point, 16.0, 16.0, 32.0, asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", center_point, 16.0, 16.0, 32.0, asset_path)
|
||||
|
||||
# Create a sloped mesh surface for the instances to plant on
|
||||
center_point = math.Vector3(502.0, 512.0, 24.0)
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ def SlopeAlignmentModifier_InstanceSurfaceAlignment():
|
||||
# Create a spawner entity setup with all needed components
|
||||
center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", center_point, 16.0, 16.0, 32.0, asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", center_point, 16.0, 16.0, 32.0, asset_path)
|
||||
|
||||
# Create a sloped mesh surface for the instances to plant on
|
||||
center_point = math.Vector3(502.0, 512.0, 24.0)
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ def SlopeFilter_ComponentAndOverrides_InstancesPlantOnValidSlopes():
|
||||
# 2) Create a new entity with required vegetation area components
|
||||
center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", center_point, 32.0, 32.0, 32.0, asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", center_point, 32.0, 32.0, 32.0, asset_path)
|
||||
|
||||
# Add a Vegetation Slope Filter
|
||||
spawner_entity.add_component("Vegetation Slope Filter")
|
||||
|
||||
+2
-2
@@ -66,7 +66,7 @@ def SpawnerSlices_SliceCreationAndVisibilityToggleWorks():
|
||||
# 2.1) Create basic vegetation entity
|
||||
position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
veg_1 = dynveg.create_vegetation_area("vegetation_1", position, 16.0, 16.0, 16.0, asset_path)
|
||||
veg_1 = dynveg.create_dynamic_slice_vegetation_area("vegetation_1", position, 16.0, 16.0, 16.0, asset_path)
|
||||
|
||||
# 2.2) Create slice from the entity
|
||||
slice_path = os.path.join("slices", "TestSlice_1.slice")
|
||||
@@ -94,7 +94,7 @@ def SpawnerSlices_SliceCreationAndVisibilityToggleWorks():
|
||||
|
||||
# 4) C2627905 A slice containing the Vegetation Layer Blender component can be created.
|
||||
# 4.1) Create another vegetation entity to add to blender component
|
||||
veg_2 = dynveg.create_vegetation_area("vegetation_2", position, 1.0, 1.0, 1.0, "")
|
||||
veg_2 = dynveg.create_dynamic_slice_vegetation_area("vegetation_2", position, 1.0, 1.0, 1.0, "")
|
||||
|
||||
# 4.2) Create entity with Vegetation Layer Blender
|
||||
components_to_add = ["Box Shape", "Vegetation Layer Blender"]
|
||||
|
||||
+2
-2
@@ -77,8 +77,8 @@ def SurfaceMaskFilterOverrides_MultipleDescriptorOverridesPlantAsExpected():
|
||||
# 2) Create a new instance spawner entity with multiple Dynamic Slice Instance Spawner descriptors
|
||||
spawner_center_point = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner", spawner_center_point, 16.0, 16.0, 16.0,
|
||||
asset_path)
|
||||
asset_list_component = spawner_entity.components[2]
|
||||
desc_asset = hydra.get_component_property_value(asset_list_component,
|
||||
"Configuration|Embedded Assets")[0]
|
||||
|
||||
+4
-4
@@ -99,10 +99,10 @@ def SurfaceMaskFilter_ExclusionList():
|
||||
# 2) Create entity with components "Vegetation Layer Spawner", "Vegetation Asset List", "Box Shape"
|
||||
entity_position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner",
|
||||
entity_position,
|
||||
10.0, 10.0, 10.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner",
|
||||
entity_position,
|
||||
10.0, 10.0, 10.0,
|
||||
asset_path)
|
||||
|
||||
# 3) Add a Vegetation Surface Mask Filter component to the entity.
|
||||
spawner_entity.add_component("Vegetation Surface Mask Filter")
|
||||
|
||||
+4
-4
@@ -100,10 +100,10 @@ def SurfaceMaskFilter_InclusionList():
|
||||
# 2) Create entity with components "Vegetation Layer Spawner", "Vegetation Asset List", "Box Shape"
|
||||
entity_position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Instance Spawner",
|
||||
entity_position,
|
||||
10.0, 10.0, 10.0,
|
||||
asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Instance Spawner",
|
||||
entity_position,
|
||||
10.0, 10.0, 10.0,
|
||||
asset_path)
|
||||
|
||||
# 3) Add a Vegetation Surface Mask Filter component to the entity.
|
||||
spawner_entity.add_component("Vegetation Surface Mask Filter")
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ def SystemSettings_SectorPointDensity():
|
||||
# Create basic vegetation entity
|
||||
position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
dynveg.create_vegetation_area("vegetation", position, 16.0, 16.0, 1.0, asset_path)
|
||||
dynveg.create_dynamic_slice_vegetation_area("vegetation", position, 16.0, 16.0, 1.0, asset_path)
|
||||
dynveg.create_surface_entity("Surface_Entity", position, 16.0, 16.0, 1.0)
|
||||
|
||||
# Count the number of vegetation instances in the vegetation area
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ def SystemSettings_SectorSize():
|
||||
# Create basic vegetation entity
|
||||
position = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PinkFlower.dynamicslice")
|
||||
vegetation = dynveg.create_vegetation_area("vegetation", position, 16.0, 16.0, 1.0, asset_path)
|
||||
vegetation = dynveg.create_dynamic_slice_vegetation_area("vegetation", position, 16.0, 16.0, 1.0, asset_path)
|
||||
dynveg.create_surface_entity("Surface_Entity", position, 16.0, 16.0, 1.0)
|
||||
|
||||
# Add the Vegetation Debugger component to the Level Inspector
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ def VegetationInstances_DespawnWhenOutOfRange():
|
||||
# Create vegetation layer spawner
|
||||
world_center = math.Vector3(512.0, 512.0, 32.0)
|
||||
asset_path = os.path.join("Slices", "PurpleFlower.dynamicslice")
|
||||
spawner_entity = dynveg.create_vegetation_area("Spawner Instance", world_center, 16.0, 16.0, 16.0, asset_path)
|
||||
spawner_entity = dynveg.create_dynamic_slice_vegetation_area("Spawner Instance", world_center, 16.0, 16.0, 16.0, asset_path)
|
||||
|
||||
# Create a surface to spawn on
|
||||
dynveg.create_surface_entity("Spawner Entity", world_center, 16.0, 16.0, 1.0)
|
||||
|
||||
@@ -16,6 +16,20 @@ from ly_test_tools.o3de.editor_test import EditorSingleTest, EditorSharedTest, E
|
||||
@pytest.mark.parametrize("launcher_platform", ['windows_editor'])
|
||||
@pytest.mark.parametrize("project", ["AutomatedTesting"])
|
||||
class TestAutomation(EditorTestSuite):
|
||||
class test_AltitudeFilter_ComponentAndOverrides_InstancesPlantAtSpecifiedAltitude(EditorParallelTest):
|
||||
from .EditorScripts import AltitudeFilter_ComponentAndOverrides_InstancesPlantAtSpecifiedAltitude as test_module
|
||||
|
||||
class test_AltitudeFilter_FilterStageToggle(EditorParallelTest):
|
||||
from .EditorScripts import AltitudeFilter_FilterStageToggle as test_module
|
||||
|
||||
class test_AltitudeFilter_ShapeSample_InstancesPlantAtSpecifiedAltitude(EditorParallelTest):
|
||||
from .EditorScripts import AltitudeFilter_ShapeSample_InstancesPlantAtSpecifiedAltitude as test_module
|
||||
|
||||
|
||||
@pytest.mark.SUITE_main
|
||||
@pytest.mark.parametrize("launcher_platform", ['windows_editor'])
|
||||
@pytest.mark.parametrize("project", ["AutomatedTesting"])
|
||||
class TestAutomation_PrefabNotEnabled(EditorTestSuite):
|
||||
|
||||
enable_prefab_system = False
|
||||
|
||||
@@ -36,19 +50,10 @@ class TestAutomation(EditorTestSuite):
|
||||
class test_EmptyInstanceSpawner_EmptySpawnerWorks(EditorParallelTest):
|
||||
from .EditorScripts import EmptyInstanceSpawner_EmptySpawnerWorks as test_module
|
||||
|
||||
class test_AltitudeFilter_ComponentAndOverrides_InstancesPlantAtSpecifiedAltitude(EditorParallelTest):
|
||||
from .EditorScripts import AltitudeFilter_ComponentAndOverrides_InstancesPlantAtSpecifiedAltitude as test_module
|
||||
|
||||
class test_AltitudeFilter_ShapeSample_InstancesPlantAtSpecifiedAltitude(EditorParallelTest):
|
||||
from .EditorScripts import AltitudeFilter_ShapeSample_InstancesPlantAtSpecifiedAltitude as test_module
|
||||
|
||||
class test_AltitudeFilter_FilterStageToggle(EditorParallelTest):
|
||||
from .EditorScripts import AltitudeFilter_FilterStageToggle as test_module
|
||||
|
||||
class test_SpawnerSlices_SliceCreationAndVisibilityToggleWorks(EditorSingleTest):
|
||||
# Custom teardown to remove slice asset created during test
|
||||
def teardown(self, request, workspace, editor, editor_test_results, launcher_platform):
|
||||
TestAutomation.cleanup_test_slices(self, workspace)
|
||||
TestAutomation_PrefabNotEnabled.cleanup_test_slices(self, workspace)
|
||||
from .EditorScripts import SpawnerSlices_SliceCreationAndVisibilityToggleWorks as test_module
|
||||
|
||||
class test_AssetListCombiner_CombinedDescriptorsExpressInConfiguredArea(EditorParallelTest):
|
||||
@@ -161,27 +166,27 @@ class TestAutomation(EditorTestSuite):
|
||||
|
||||
# Custom setup/teardown to remove test level created during test
|
||||
def setup(self, request, workspace, editor, editor_test_results, launcher_platform):
|
||||
TestAutomation.cleanup_test_level(self, workspace)
|
||||
TestAutomation_PrefabNotEnabled.cleanup_test_level(self, workspace)
|
||||
|
||||
def teardown(self, request, workspace, editor, editor_test_results, launcher_platform):
|
||||
TestAutomation.cleanup_test_level(self, workspace)
|
||||
TestAutomation_PrefabNotEnabled.cleanup_test_level(self, workspace)
|
||||
|
||||
class test_DynamicSliceInstanceSpawner_External_E2E_Editor(EditorSingleTest):
|
||||
from .EditorScripts import DynamicSliceInstanceSpawner_External_E2E as test_module
|
||||
|
||||
# Custom setup/teardown to remove test level created during test
|
||||
def setup(self, request, workspace, editor, editor_test_results, launcher_platform):
|
||||
TestAutomation.cleanup_test_level(self, workspace)
|
||||
TestAutomation_PrefabNotEnabled.cleanup_test_level(self, workspace)
|
||||
|
||||
def teardown(self, request, workspace, editor, editor_test_results, launcher_platform):
|
||||
TestAutomation.cleanup_test_level(self, workspace)
|
||||
TestAutomation_PrefabNotEnabled.cleanup_test_level(self, workspace)
|
||||
|
||||
class test_LayerBlender_E2E_Editor(EditorSingleTest):
|
||||
from .EditorScripts import LayerBlender_E2E_Editor as test_module
|
||||
|
||||
# Custom setup/teardown to remove test level created during test
|
||||
def setup(self, request, workspace, editor, editor_test_results, launcher_platform):
|
||||
TestAutomation.cleanup_test_level(self, workspace)
|
||||
TestAutomation_PrefabNotEnabled.cleanup_test_level(self, workspace)
|
||||
|
||||
def teardown(self, request, workspace, editor, editor_test_results, launcher_platform):
|
||||
TestAutomation.cleanup_test_level(self, workspace)
|
||||
TestAutomation_PrefabNotEnabled.cleanup_test_level(self, workspace)
|
||||
|
||||
@@ -52,15 +52,15 @@ class TestAutomation(TestAutomationBase):
|
||||
|
||||
def test_AltitudeFilter_ComponentAndOverrides_InstancesPlantAtSpecifiedAltitude(self, request, workspace, editor, launcher_platform):
|
||||
from .EditorScripts import AltitudeFilter_ComponentAndOverrides_InstancesPlantAtSpecifiedAltitude as test_module
|
||||
self._run_test(request, workspace, editor, test_module, enable_prefab_system=False)
|
||||
self._run_test(request, workspace, editor, test_module)
|
||||
|
||||
def test_AltitudeFilter_ShapeSample_InstancesPlantAtSpecifiedAltitude(self, request, workspace, editor, launcher_platform):
|
||||
from .EditorScripts import AltitudeFilter_ShapeSample_InstancesPlantAtSpecifiedAltitude as test_module
|
||||
self._run_test(request, workspace, editor, test_module, enable_prefab_system=False)
|
||||
self._run_test(request, workspace, editor, test_module)
|
||||
|
||||
def test_AltitudeFilter_FilterStageToggle(self, request, workspace, editor, launcher_platform):
|
||||
from .EditorScripts import AltitudeFilter_FilterStageToggle as test_module
|
||||
self._run_test(request, workspace, editor, test_module, enable_prefab_system=False)
|
||||
self._run_test(request, workspace, editor, test_module)
|
||||
|
||||
def test_SpawnerSlices_SliceCreationAndVisibilityToggleWorks(self, request, workspace, editor, remove_test_slice, launcher_platform):
|
||||
from .EditorScripts import SpawnerSlices_SliceCreationAndVisibilityToggleWorks as test_module
|
||||
|
||||
+40
-4
@@ -8,14 +8,16 @@
|
||||
|
||||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
import azlmbr.areasystem as areasystem
|
||||
import azlmbr.asset as asset
|
||||
import azlmbr.bus as bus
|
||||
import azlmbr.components as components
|
||||
import azlmbr.math as math
|
||||
import azlmbr.vegetation as vegetation
|
||||
import azlmbr.areasystem as areasystem
|
||||
import azlmbr.paths
|
||||
import azlmbr.prefab as prefab
|
||||
import azlmbr.vegetation as vegetation
|
||||
|
||||
sys.path.append(os.path.join(azlmbr.paths.projectroot, 'Gem', 'PythonTests'))
|
||||
import editor_python_test_tools.hydra_editor_utils as hydra
|
||||
@@ -91,7 +93,7 @@ def create_mesh_surface_entity_with_slopes(name, center_point, uniform_scale):
|
||||
return surface_entity
|
||||
|
||||
|
||||
def create_vegetation_area(name, center_point, box_size_x, box_size_y, box_size_z, dynamic_slice_asset_path):
|
||||
def create_dynamic_slice_vegetation_area(name, center_point, box_size_x, box_size_y, box_size_z, dynamic_slice_asset_path):
|
||||
# Create a vegetation area entity to use as our test vegetation spawner
|
||||
spawner_entity = hydra.Entity(name)
|
||||
spawner_entity.create_entity(
|
||||
@@ -104,14 +106,48 @@ def create_vegetation_area(name, center_point, box_size_x, box_size_y, box_size_
|
||||
box_size_z))
|
||||
|
||||
# Set the vegetation area to a Dynamic Slice spawner with a specific slice asset selected
|
||||
descriptor = hydra.get_component_property_value(spawner_entity.components[2], 'Configuration|Embedded Assets|[0]')
|
||||
dynamic_slice_spawner = vegetation.DynamicSliceInstanceSpawner()
|
||||
dynamic_slice_spawner.SetSliceAssetPath(dynamic_slice_asset_path)
|
||||
descriptor = hydra.get_component_property_value(spawner_entity.components[2], 'Configuration|Embedded Assets|[0]')
|
||||
descriptor.spawner = dynamic_slice_spawner
|
||||
spawner_entity.get_set_test(2, "Configuration|Embedded Assets|[0]", descriptor)
|
||||
return spawner_entity
|
||||
|
||||
|
||||
def create_prefab_vegetation_area(name, center_point, box_size_x, box_size_y, box_size_z, target_prefab):
|
||||
# Create a vegetation area entity to use as our test vegetation spawner
|
||||
spawner_entity = hydra.Entity(name)
|
||||
spawner_entity.create_entity(
|
||||
center_point,
|
||||
["Vegetation Layer Spawner", "Box Shape", "Vegetation Asset List"]
|
||||
)
|
||||
if spawner_entity.id.IsValid():
|
||||
print(f"'{spawner_entity.name}' created")
|
||||
spawner_entity.get_set_test(1, "Box Shape|Box Configuration|Dimensions", math.Vector3(box_size_x, box_size_y,
|
||||
box_size_z))
|
||||
# Get the in-memory spawnable asset id if exists
|
||||
spawnable_name = Path(target_prefab.file_path).stem
|
||||
spawnable_asset_id = prefab.PrefabPublicRequestBus(bus.Broadcast, 'GetInMemorySpawnableAssetId',
|
||||
spawnable_name)
|
||||
|
||||
# Create the in-memory spawnable asset from given prefab if the spawnable does not exist
|
||||
if not spawnable_asset_id.is_valid():
|
||||
create_spawnable_result = prefab.PrefabPublicRequestBus(bus.Broadcast, 'CreateInMemorySpawnableAsset',
|
||||
target_prefab.file_path,
|
||||
spawnable_name)
|
||||
assert create_spawnable_result.IsSuccess(), \
|
||||
f"Prefab operation 'CreateInMemorySpawnableAssets' failed. Error: {create_spawnable_result.GetError()}"
|
||||
spawnable_asset_id = create_spawnable_result.GetValue()
|
||||
|
||||
# Set the vegetation area to a prefab instance spawner with a specific prefab asset selected
|
||||
descriptor = hydra.get_component_property_value(spawner_entity.components[2], 'Configuration|Embedded Assets|[0]')
|
||||
prefab_spawner = vegetation.PrefabInstanceSpawner()
|
||||
prefab_spawner.SetPrefabAssetId(spawnable_asset_id)
|
||||
descriptor.spawner = prefab_spawner
|
||||
spawner_entity.get_set_test(2, "Configuration|Embedded Assets|[0]", descriptor)
|
||||
return spawner_entity
|
||||
|
||||
|
||||
def create_blocker_area(name, center_point, box_size_x, box_size_y, box_size_z):
|
||||
# Create a Vegetation Layer Blocker area
|
||||
blocker_entity = hydra.Entity(name)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"baseColor": {
|
||||
"color": [ 1.0, 1.0, 1.0 ],
|
||||
"factor": 0.75,
|
||||
"useTexture": false,
|
||||
"textureMap": ""
|
||||
},
|
||||
"metallic": {
|
||||
"factor": 0.0,
|
||||
"useTexture": false,
|
||||
"textureMap": ""
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.0,
|
||||
"useTexture": false,
|
||||
"textureMap": ""
|
||||
},
|
||||
"specularF0": {
|
||||
"factor": 0.5,
|
||||
"useTexture": false,
|
||||
"textureMap": ""
|
||||
},
|
||||
"normal": {
|
||||
"factor": 1.0,
|
||||
"useTexture": false,
|
||||
"textureMap": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.3
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.4
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.6
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.7
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.8
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.9
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 0.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.3
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.4
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.6
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.7
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.8
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 0.9
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parentMaterial": "./basic.material",
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"propertyLayoutVersion": 1,
|
||||
"properties": {
|
||||
"metallic": {
|
||||
"factor": 1.0
|
||||
},
|
||||
"roughness": {
|
||||
"factor": 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
+1032
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,12 @@
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,12 @@
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
0,0,0,0,0,0
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a476e99b55cf2a76fef6775c5a57dad29f8ffcb942c625bab04c89051a72a560
|
||||
size 62626
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeAluminumPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[1006636009791072742]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 1006636009791072742,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[1076262440422199293]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 1076262440422199293,
|
||||
"Child Entity Order": [
|
||||
"Entity_[1040185651401]"
|
||||
]
|
||||
},
|
||||
"Component_[10918235158079012184]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 10918235158079012184
|
||||
},
|
||||
"Component_[14325323304581185195]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 14325323304581185195
|
||||
},
|
||||
"Component_[15952647410502679667]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 15952647410502679667
|
||||
},
|
||||
"Component_[1646402264018781142]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 1646402264018781142
|
||||
},
|
||||
"Component_[2017972571432187012]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 2017972571432187012
|
||||
},
|
||||
"Component_[478000835478069459]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 478000835478069459
|
||||
},
|
||||
"Component_[7132130710158542124]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 7132130710158542124
|
||||
},
|
||||
"Component_[7457311619910333402]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 7457311619910333402
|
||||
},
|
||||
"Component_[8761313808145525748]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 8761313808145525748
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[1040185651401]": {
|
||||
"Id": "Entity_[1040185651401]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{64C1F6A6-6BDA-551A-BE56-1829E5913278}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_aluminum_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeBrassPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[11392538078593907718]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 11392538078593907718
|
||||
},
|
||||
"Component_[15271285664593091377]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 15271285664593091377
|
||||
},
|
||||
"Component_[16445950008096288691]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 16445950008096288691
|
||||
},
|
||||
"Component_[17031759897155285515]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 17031759897155285515
|
||||
},
|
||||
"Component_[17333992135029064645]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 17333992135029064645,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[2440848159410013062]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 2440848159410013062
|
||||
},
|
||||
"Component_[4872690920600271776]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 4872690920600271776
|
||||
},
|
||||
"Component_[8105157811055641931]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 8105157811055641931
|
||||
},
|
||||
"Component_[8121804356127130254]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 8121804356127130254
|
||||
},
|
||||
"Component_[9156467458085058309]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 9156467458085058309
|
||||
},
|
||||
"Component_[998572165026441124]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 998572165026441124,
|
||||
"Child Entity Order": [
|
||||
"Entity_[1169034670281]"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[1169034670281]": {
|
||||
"Id": "Entity_[1169034670281]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{FC69F2F8-F73B-5A0C-B8B7-94BAA45780FC}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_brass_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeChromePolishedPBR",
|
||||
"Components": {
|
||||
"Component_[10194322458002226643]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 10194322458002226643
|
||||
},
|
||||
"Component_[12036481316264753863]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 12036481316264753863
|
||||
},
|
||||
"Component_[12378089635489881977]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 12378089635489881977
|
||||
},
|
||||
"Component_[14430665156325163680]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 14430665156325163680
|
||||
},
|
||||
"Component_[15205683346512266293]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 15205683346512266293,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[16051828087924530008]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 16051828087924530008
|
||||
},
|
||||
"Component_[3910753277078082783]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 3910753277078082783
|
||||
},
|
||||
"Component_[4999195701117409226]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 4999195701117409226
|
||||
},
|
||||
"Component_[5435519106043975119]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 5435519106043975119,
|
||||
"Child Entity Order": [
|
||||
"Entity_[1315063558345]"
|
||||
]
|
||||
},
|
||||
"Component_[6762050164377989214]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 6762050164377989214
|
||||
},
|
||||
"Component_[7395721573111063938]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 7395721573111063938
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[1315063558345]": {
|
||||
"Id": "Entity_[1315063558345]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{CAF50181-3384-5DF2-9304-C6E48E83C72D}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_chrome_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeCobaltPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[12811832964126776693]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 12811832964126776693,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[13295886036381057017]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 13295886036381057017
|
||||
},
|
||||
"Component_[13767840970182343359]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 13767840970182343359
|
||||
},
|
||||
"Component_[16269039178417460408]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 16269039178417460408
|
||||
},
|
||||
"Component_[16338942903899315753]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 16338942903899315753
|
||||
},
|
||||
"Component_[16938354010512315058]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 16938354010512315058
|
||||
},
|
||||
"Component_[18087692989611771228]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 18087692989611771228,
|
||||
"Child Entity Order": [
|
||||
"Entity_[1478272315593]"
|
||||
]
|
||||
},
|
||||
"Component_[2408892657833094901]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 2408892657833094901
|
||||
},
|
||||
"Component_[3273159330768091937]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 3273159330768091937
|
||||
},
|
||||
"Component_[8251134042453350781]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8251134042453350781
|
||||
},
|
||||
"Component_[9830348537229676775]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 9830348537229676775
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[1478272315593]": {
|
||||
"Id": "Entity_[1478272315593]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{93DF55AE-8D1B-5AD1-A609-05F1BD9F6EA0}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_cobalt_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeCopperPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[14120317269315619433]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 14120317269315619433
|
||||
},
|
||||
"Component_[143917687187100454]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 143917687187100454
|
||||
},
|
||||
"Component_[15260876699496078513]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 15260876699496078513
|
||||
},
|
||||
"Component_[1746418914802949089]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 1746418914802949089
|
||||
},
|
||||
"Component_[18443523081045072277]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 18443523081045072277
|
||||
},
|
||||
"Component_[4010874908443542212]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4010874908443542212
|
||||
},
|
||||
"Component_[4271734532103635304]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4271734532103635304
|
||||
},
|
||||
"Component_[4383829137523954163]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 4383829137523954163
|
||||
},
|
||||
"Component_[5749675910289562089]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 5749675910289562089,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[6232920837132171119]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 6232920837132171119
|
||||
},
|
||||
"Component_[7306146920796854544]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 7306146920796854544,
|
||||
"Child Entity Order": [
|
||||
"Entity_[1658660942025]"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[1658660942025]": {
|
||||
"Id": "Entity_[1658660942025]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{CF5C7B01-4912-58AE-991A-F25251E505AC}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_copper_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeGoldPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[10011820011377711118]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 10011820011377711118
|
||||
},
|
||||
"Component_[10068789746496377466]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 10068789746496377466
|
||||
},
|
||||
"Component_[11570676153379582500]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11570676153379582500,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[13003038310843603631]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 13003038310843603631
|
||||
},
|
||||
"Component_[15807328745370882636]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 15807328745370882636
|
||||
},
|
||||
"Component_[2750440106393392905]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 2750440106393392905,
|
||||
"Child Entity Order": [
|
||||
"Entity_[1856229437641]"
|
||||
]
|
||||
},
|
||||
"Component_[2761752922494043610]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 2761752922494043610
|
||||
},
|
||||
"Component_[3027606009106407466]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 3027606009106407466
|
||||
},
|
||||
"Component_[4326682049246572673]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4326682049246572673
|
||||
},
|
||||
"Component_[5821381882600148312]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821381882600148312
|
||||
},
|
||||
"Component_[6068739143830165037]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 6068739143830165037
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[1856229437641]": {
|
||||
"Id": "Entity_[1856229437641]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{FB4657EB-FB3A-5EC3-A772-DC36D6F733C3}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_gold_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeIronPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[10744633821142630765]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 10744633821142630765
|
||||
},
|
||||
"Component_[15160812085690623525]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 15160812085690623525
|
||||
},
|
||||
"Component_[17506200912680653288]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 17506200912680653288,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[1779514216896114299]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 1779514216896114299
|
||||
},
|
||||
"Component_[2089200513910230823]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 2089200513910230823
|
||||
},
|
||||
"Component_[3904312129158421170]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 3904312129158421170
|
||||
},
|
||||
"Component_[5126366677360310098]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 5126366677360310098
|
||||
},
|
||||
"Component_[6443652007083636420]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 6443652007083636420,
|
||||
"Child Entity Order": [
|
||||
"Entity_[2070977802441]"
|
||||
]
|
||||
},
|
||||
"Component_[8531209872369121358]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 8531209872369121358
|
||||
},
|
||||
"Component_[8558242753126803571]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 8558242753126803571
|
||||
},
|
||||
"Component_[8938179055081804896]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 8938179055081804896
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[2070977802441]": {
|
||||
"Id": "Entity_[2070977802441]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{A7F03135-ECAD-5440-99DB-E84ABA3D50DA}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_iron_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeMercuryPBR",
|
||||
"Components": {
|
||||
"Component_[11796219437064669544]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11796219437064669544
|
||||
},
|
||||
"Component_[12551667429170676889]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 12551667429170676889
|
||||
},
|
||||
"Component_[12693460746131498096]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 12693460746131498096
|
||||
},
|
||||
"Component_[14262931207267008977]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 14262931207267008977
|
||||
},
|
||||
"Component_[18045441039226816973]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 18045441039226816973,
|
||||
"Child Entity Order": [
|
||||
"Entity_[928516501705]"
|
||||
]
|
||||
},
|
||||
"Component_[2268958959705742396]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 2268958959705742396,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[3379321424051234761]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 3379321424051234761
|
||||
},
|
||||
"Component_[3967973434353405611]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 3967973434353405611
|
||||
},
|
||||
"Component_[6260092263143569388]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 6260092263143569388
|
||||
},
|
||||
"Component_[6596926416684557718]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 6596926416684557718
|
||||
},
|
||||
"Component_[9068640134216835201]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 9068640134216835201
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[928516501705]": {
|
||||
"Id": "Entity_[928516501705]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{F2AD0EBF-7137-58D1-9991-9552FAD41B19}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_mercury.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeNickelPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[10826024012928681054]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 10826024012928681054
|
||||
},
|
||||
"Component_[12821987693261496174]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 12821987693261496174,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[1347237730046420905]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 1347237730046420905
|
||||
},
|
||||
"Component_[13962868105035894085]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 13962868105035894085
|
||||
},
|
||||
"Component_[17956955568472089321]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 17956955568472089321
|
||||
},
|
||||
"Component_[1982369816302736367]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 1982369816302736367
|
||||
},
|
||||
"Component_[2765278216943439310]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 2765278216943439310
|
||||
},
|
||||
"Component_[2823302329697962266]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 2823302329697962266
|
||||
},
|
||||
"Component_[5490362878017390612]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 5490362878017390612
|
||||
},
|
||||
"Component_[7468073145776592577]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 7468073145776592577,
|
||||
"Child Entity Order": [
|
||||
"Entity_[2302906036425]"
|
||||
]
|
||||
},
|
||||
"Component_[7692885660975737763]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 7692885660975737763
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[2302906036425]": {
|
||||
"Id": "Entity_[2302906036425]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E66E4343-F45A-536D-AAE1-C4D096420640}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_nickel_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubePalladiumPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[10678536274818457672]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 10678536274818457672
|
||||
},
|
||||
"Component_[12041428694628704247]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 12041428694628704247
|
||||
},
|
||||
"Component_[12143022343588526078]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 12143022343588526078
|
||||
},
|
||||
"Component_[15178316190409605112]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 15178316190409605112
|
||||
},
|
||||
"Component_[16012620721047170064]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 16012620721047170064,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[1646888921009876369]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 1646888921009876369
|
||||
},
|
||||
"Component_[17677550467282239311]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 17677550467282239311,
|
||||
"Child Entity Order": [
|
||||
"Entity_[2552014139593]"
|
||||
]
|
||||
},
|
||||
"Component_[4972639499125068141]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4972639499125068141
|
||||
},
|
||||
"Component_[5526570610744382545]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 5526570610744382545
|
||||
},
|
||||
"Component_[6509459924043770606]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 6509459924043770606
|
||||
},
|
||||
"Component_[7268409859686144269]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 7268409859686144269
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[2552014139593]": {
|
||||
"Id": "Entity_[2552014139593]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{D0E9960A-4B31-5136-BAC6-5482B203D3B4}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_palladium_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubePlatinumPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[12172311178585433096]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 12172311178585433096
|
||||
},
|
||||
"Component_[14133734575774270778]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 14133734575774270778
|
||||
},
|
||||
"Component_[1499102502234135899]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 1499102502234135899,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[17753826932279572795]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 17753826932279572795
|
||||
},
|
||||
"Component_[3472150728361446089]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 3472150728361446089
|
||||
},
|
||||
"Component_[5413614787652013946]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 5413614787652013946
|
||||
},
|
||||
"Component_[6608132617418028580]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 6608132617418028580,
|
||||
"Child Entity Order": [
|
||||
"Entity_[2818302111945]"
|
||||
]
|
||||
},
|
||||
"Component_[6809102061425149362]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 6809102061425149362
|
||||
},
|
||||
"Component_[6916818921856882722]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 6916818921856882722
|
||||
},
|
||||
"Component_[7486700682637381880]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 7486700682637381880
|
||||
},
|
||||
"Component_[7993011597330638847]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 7993011597330638847
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[2818302111945]": {
|
||||
"Id": "Entity_[2818302111945]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{79419183-FFCE-5A89-AA16-C2789D81AF75}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_platinum_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeSilverPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[10846467226799581471]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 10846467226799581471
|
||||
},
|
||||
"Component_[11321068769303258722]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11321068769303258722
|
||||
},
|
||||
"Component_[14255141886015898000]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 14255141886015898000
|
||||
},
|
||||
"Component_[14442599743555977836]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 14442599743555977836
|
||||
},
|
||||
"Component_[15390328167304917483]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 15390328167304917483
|
||||
},
|
||||
"Component_[16667892946203958068]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16667892946203958068
|
||||
},
|
||||
"Component_[17957849336986334052]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 17957849336986334052
|
||||
},
|
||||
"Component_[18049054501916401618]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 18049054501916401618,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[362051120594559781]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 362051120594559781
|
||||
},
|
||||
"Component_[5852346937789040993]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 5852346937789040993,
|
||||
"Child Entity Order": [
|
||||
"Entity_[3101769953481]"
|
||||
]
|
||||
},
|
||||
"Component_[7250311833503679341]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 7250311833503679341
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[3101769953481]": {
|
||||
"Id": "Entity_[3101769953481]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{2AC06FA3-7670-542E-8996-DF346AFF1B61}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_silver_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"ContainerEntity": {
|
||||
"Id": "ContainerEntity",
|
||||
"Name": "CubeTitaniumPolishedPBR",
|
||||
"Components": {
|
||||
"Component_[11835136016071721229]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 11835136016071721229
|
||||
},
|
||||
"Component_[14924371629431224666]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 14924371629431224666,
|
||||
"Parent Entity": ""
|
||||
},
|
||||
"Component_[15534521734777674027]": {
|
||||
"$type": "EditorPrefabComponent",
|
||||
"Id": 15534521734777674027
|
||||
},
|
||||
"Component_[16612248066971579226]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 16612248066971579226
|
||||
},
|
||||
"Component_[16806731875899878085]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 16806731875899878085
|
||||
},
|
||||
"Component_[3294763415970396682]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 3294763415970396682
|
||||
},
|
||||
"Component_[3871617444656658973]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 3871617444656658973,
|
||||
"Child Entity Order": [
|
||||
"Entity_[3406712631497]"
|
||||
]
|
||||
},
|
||||
"Component_[6604961087017250006]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 6604961087017250006
|
||||
},
|
||||
"Component_[6721284225512452216]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 6721284225512452216
|
||||
},
|
||||
"Component_[8673188027501037544]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 8673188027501037544
|
||||
},
|
||||
"Component_[9993323762911548658]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 9993323762911548658
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entities": {
|
||||
"Entity_[3406712631497]": {
|
||||
"Id": "Entity_[3406712631497]",
|
||||
"Name": "Entity1",
|
||||
"Components": {
|
||||
"Component_[11024839750215572075]": {
|
||||
"$type": "SelectionComponent",
|
||||
"Id": 11024839750215572075
|
||||
},
|
||||
"Component_[11384176886283708819]": {
|
||||
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
|
||||
"Id": 11384176886283708819,
|
||||
"Parent Entity": "ContainerEntity"
|
||||
},
|
||||
"Component_[1606410272595503925]": {
|
||||
"$type": "EditorMaterialComponent",
|
||||
"Id": 1606410272595503925,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"materials": [
|
||||
{
|
||||
"Key": {
|
||||
"materialSlotStableId": 2418540911
|
||||
},
|
||||
"Value": {
|
||||
"MaterialAsset": {
|
||||
"assetId": {
|
||||
"guid": "{3F0DF0C4-5F23-5EB1-B762-7344AFFDC011}"
|
||||
},
|
||||
"assetHint": "materials/presets/pbr/metal_titanium_polished.azmaterial"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Component_[16470114336751653654]": {
|
||||
"$type": "EditorInspectorComponent",
|
||||
"Id": 16470114336751653654,
|
||||
"ComponentOrderEntryArray": [
|
||||
{
|
||||
"ComponentId": 11384176886283708819
|
||||
},
|
||||
{
|
||||
"ComponentId": 89717634602996901,
|
||||
"SortIndex": 1
|
||||
},
|
||||
{
|
||||
"ComponentId": 1606410272595503925,
|
||||
"SortIndex": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"Component_[4303036201889516060]": {
|
||||
"$type": "EditorLockComponent",
|
||||
"Id": 4303036201889516060
|
||||
},
|
||||
"Component_[44336138790150350]": {
|
||||
"$type": "EditorEntitySortComponent",
|
||||
"Id": 44336138790150350
|
||||
},
|
||||
"Component_[4558973254917759795]": {
|
||||
"$type": "EditorDisabledCompositionComponent",
|
||||
"Id": 4558973254917759795
|
||||
},
|
||||
"Component_[4674030476408790307]": {
|
||||
"$type": "EditorPendingCompositionComponent",
|
||||
"Id": 4674030476408790307
|
||||
},
|
||||
"Component_[4802851695039968062]": {
|
||||
"$type": "EditorVisibilityComponent",
|
||||
"Id": 4802851695039968062
|
||||
},
|
||||
"Component_[5821006029055754615]": {
|
||||
"$type": "EditorOnlyEntityComponent",
|
||||
"Id": 5821006029055754615
|
||||
},
|
||||
"Component_[8587156575497792590]": {
|
||||
"$type": "EditorEntityIconComponent",
|
||||
"Id": 8587156575497792590
|
||||
},
|
||||
"Component_[89717634602996901]": {
|
||||
"$type": "AZ::Render::EditorMeshComponent",
|
||||
"Id": 89717634602996901,
|
||||
"Controller": {
|
||||
"Configuration": {
|
||||
"ModelAsset": {
|
||||
"assetId": {
|
||||
"guid": "{E14975EF-E676-51A4-B826-3EF59CB645AA}",
|
||||
"subId": 285127096
|
||||
},
|
||||
"assetHint": "testdata/objects/cube/cube.azmodel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,5 +10,7 @@
|
||||
"version_name": "1.0.0.0",
|
||||
"orientation": "landscape"
|
||||
},
|
||||
"engine": "o3de"
|
||||
}
|
||||
"engine": "o3de",
|
||||
"display_name": "AutomatedTesting",
|
||||
"icon_path": "preview.png"
|
||||
}
|
||||
|
||||
@@ -538,6 +538,7 @@ void LevelEditorMenuHandler::PopulateEditMenu(ActionManager::MenuWrapper& editMe
|
||||
auto snapMenu = modifyMenu.AddMenu(tr("Snap"));
|
||||
|
||||
snapMenu.AddAction(AzToolsFramework::SnapAngle);
|
||||
snapMenu.AddAction(AzToolsFramework::SnapToGrid);
|
||||
|
||||
auto transformModeMenu = modifyMenu.AddMenu(tr("Transform Mode"));
|
||||
transformModeMenu.AddAction(AzToolsFramework::EditModeMove);
|
||||
@@ -723,7 +724,8 @@ QMenu* LevelEditorMenuHandler::CreateViewMenu()
|
||||
// MISSING AVIRECORDER
|
||||
|
||||
viewportViewsMenuWrapper.AddSeparator();
|
||||
viewportViewsMenuWrapper.AddAction(ID_DISPLAY_SHOWHELPERS);
|
||||
viewportViewsMenuWrapper.AddAction(AzToolsFramework::Helpers);
|
||||
viewportViewsMenuWrapper.AddAction(AzToolsFramework::Icons);
|
||||
|
||||
// Refresh Style
|
||||
viewMenu.AddAction(ID_SKINS_REFRESH);
|
||||
|
||||
@@ -445,7 +445,6 @@ void CCryEditApp::RegisterActionHandlers()
|
||||
ON_COMMAND(ID_OPEN_ASSET_BROWSER, OnOpenAssetBrowserView)
|
||||
ON_COMMAND(ID_OPEN_AUDIO_CONTROLS_BROWSER, OnOpenAudioControlsEditor)
|
||||
|
||||
ON_COMMAND(ID_DISPLAY_SHOWHELPERS, OnShowHelpers)
|
||||
ON_COMMAND(ID_OPEN_TRACKVIEW, OnOpenTrackView)
|
||||
ON_COMMAND(ID_OPEN_UICANVASEDITOR, OnOpenUICanvasEditor)
|
||||
|
||||
@@ -2617,12 +2616,6 @@ void CCryEditApp::OnUpdateSelected(QAction* action)
|
||||
action->setEnabled(!GetIEditor()->GetSelection()->IsEmpty());
|
||||
}
|
||||
|
||||
void CCryEditApp::OnShowHelpers()
|
||||
{
|
||||
GetIEditor()->GetDisplaySettings()->DisplayHelpers(!GetIEditor()->GetDisplaySettings()->IsDisplayHelpers());
|
||||
GetIEditor()->Notify(eNotify_OnDisplayRenderUpdate);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void CCryEditApp::OnEditLevelData()
|
||||
{
|
||||
|
||||
@@ -237,7 +237,6 @@ public:
|
||||
void OnSyncPlayerUpdate(QAction* action);
|
||||
void OnResourcesReduceworkingset();
|
||||
void OnDummyCommand() {};
|
||||
void OnShowHelpers();
|
||||
void OnFileSave();
|
||||
void OnUpdateDocumentReady(QAction* action);
|
||||
void OnUpdateFileOpen(QAction* action);
|
||||
|
||||
@@ -68,8 +68,6 @@ void CDisplaySettings::SetObjectHideMask(int hideMask)
|
||||
m_objectHideMask = hideMask;
|
||||
|
||||
gSettings.objectHideMask = m_objectHideMask;
|
||||
|
||||
GetIEditor()->Notify(eNotify_OnDisplayRenderUpdate);
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user